From 9e17fd6095fdd50c5d919972af70e7dea1175252 Mon Sep 17 00:00:00 2001 From: Tim B <79199034+timbrinded@users.noreply.github.com> Date: Fri, 13 Dec 2024 13:29:28 +0000 Subject: [PATCH] =?UTF-8?q?chore:=20=E2=99=BB=EF=B8=8F=20Replace=20Prettie?= =?UTF-8?q?r=20&=20EsLint=20with=20Biome=20(#3096)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * refactor: :sparkles: Dual publish typesbundle properly * refactor: :sparkles: ApiAugment fixed paths * feat: :sparkles: Added new ScrapeMetadata script * build: :building_construction: add built `/dist` to repo * style: :lipstick: lint * style: :lipstick: Exclude dist from editorconfig * fix: :bug: Fix typegen check CI * refactor: :recycle: Tidy script call * fix: :bug: Fix tracing CI * refactor: :recycle: Remove dist from repo * remove dist * fix: :package: Fix packages! * fix: :green_heart: Fix typegen CI * style: :rotating_light: pretty * style: :lipstick: Replace Prettier with Biome * style: :lipstick: Replace Prettier with Biome * style: :fire: get rid of editor config * style: :recycle: Regen types (with formatting) * fix: :white_check_mark: Fix Test * merge fixes * fmt --- .github/workflows/build.yml | 63 +- .gitignore | 5 +- .vscode/launch.json | 50 - .vscode/settings.json | 21 - .vscode/tasks.json | 50 - CONTRIBUTIONS.md | 3 +- biome.json | 65 + moonbeam-types-bundle/package.json | 5 +- package.json | 8 +- pnpm-lock.yaml | 788 +--- precompiles/identity/src/lib.rs | 2 - runtime/moonbase/tests/integration_test.rs | 2 - runtime/moonbeam/tests/integration_test.rs | 2 - runtime/moonriver/tests/integration_test.rs | 2 - test/.eslintrc.cjs | 30 - test/biome.json | 9 + test/helpers/accounts.ts | 10 +- test/helpers/assets.ts | 39 +- test/helpers/block.ts | 42 +- test/helpers/common.ts | 10 +- test/helpers/constants.ts | 2 +- test/helpers/contracts.ts | 2 +- test/helpers/crowdloan.ts | 2 +- test/helpers/eth-transactions.ts | 24 +- test/helpers/expect.ts | 26 +- test/helpers/foreign-chains.ts | 3 +- test/helpers/modexp.ts | 1 - test/helpers/precompile-contract-calls.ts | 22 +- test/helpers/precompiles.ts | 10 +- test/helpers/providers.ts | 4 +- test/helpers/randomness.ts | 4 +- test/helpers/referenda.ts | 19 +- test/helpers/round.ts | 6 +- test/helpers/staking.ts | 2 +- test/helpers/storageQueries.ts | 8 +- test/helpers/tracingFns.ts | 8 +- test/helpers/transactions.ts | 16 +- test/helpers/voting.ts | 10 +- test/helpers/wormhole.ts | 22 +- test/helpers/xcm.ts | 61 +- test/package.json | 15 +- test/scripts/combine-imports.ts | 9 +- test/scripts/compile-contracts.ts | 54 +- test/scripts/compile-wasm.ts | 8 +- .../fast-execute-chopstick-proposal.ts | 5 +- test/scripts/get-sample-evm-txs.ts | 10 +- test/scripts/modify-plain-specs.ts | 2 +- test/scripts/preapprove-rt-rawspec.ts | 2 +- .../scripts/prepare-lazy-loading-overrides.ts | 2 +- test/scripts/update-local-types.ts | 25 +- test/suites/chopsticks/test-upgrade-chain.ts | 8 +- .../test-block/test-block-mocked-relay.ts | 2 +- .../test-transaction-with-metadata-hash.ts | 4 +- .../dev/moonbase/sample/sample_basic.ts | 4 +- .../test-assets/test-assets-drain-both.ts | 4 +- .../test-assets/test-assets-insufficients.ts | 4 +- .../test-assets/test-assets-transfer.ts | 4 +- ...test-foreign-assets-change-xcm-location.ts | 2 +- .../test-author-double-registration.ts | 2 +- .../test-author-failed-association.ts | 2 +- .../test-author-first-time-keys.ts | 6 +- .../test-author-missing-deposit-fail.ts | 2 +- .../test-author-non-author-rotate.ts | 2 +- .../test-author-removing-author.ts | 6 +- .../test-author/test-author-removing-keys.ts | 4 +- .../test-author-same-key-rotation.ts | 4 +- .../test-author-simple-association.ts | 2 +- .../test-author-update-diff-keys.ts | 4 +- .../test-author-update-nimbus-key.ts | 4 +- .../test-balance/test-balance-extrinsics.ts | 4 +- .../test-balance/test-balance-genesis.ts | 6 +- .../test-balance/test-balance-transfer.ts | 6 +- .../test-contract-delegate-call.ts | 4 +- .../test-contract/test-contract-error.ts | 2 +- .../test-contract/test-contract-evm-limits.ts | 4 +- .../test-contract/test-contract-methods.ts | 2 +- ...st-conviction-batch-delegate-undelegate.ts | 2 +- .../test-conviction-delegate-weight-fit.ts | 2 +- .../test-conviction-undelegate-weight-fit.ts | 2 +- .../test-conviction-voting/test-delegate.ts | 25 +- .../test-conviction-voting/test-delegate2.ts | 23 +- .../test-crowdloan-democracy.ts | 2 +- .../test-crowdloan-register-accs.ts | 6 +- .../test-crowdloan-register-batch.ts | 2 +- .../test-eth-call-state-override.ts | 2 +- .../test-eth-fee/test-eth-fee-history.ts | 11 +- .../moonbase/test-eth-fee/test-eth-paysFee.ts | 2 +- .../test-eth-fee/test-eth-txn-weights.ts | 2 +- .../test-eth-rpc/test-eth-rpc-deprecated.ts | 2 +- .../test-eth-rpc-log-filtering.ts | 2 +- .../test-eth-rpc-transaction-receipt.ts | 2 +- .../moonbase/test-eth-tx/test-eth-tx-types.ts | 8 +- .../test-evm/test-pallet-evm-overflow.ts | 3 +- .../test-evm/test-pallet-evm-transfer.ts | 3 +- .../test-fees/test-fee-multiplier-max.ts | 6 +- .../test-fees/test-fee-multiplier-xcm.ts | 6 +- .../moonbase/test-fees/test-length-fees.ts | 2 +- .../test-gas-estimation-allcontracts.ts | 36 +- .../test-gas/test-gas-estimation-multiply.ts | 2 +- .../test-gas-estimation-subcall-oog.ts | 2 +- .../test-locks/test-locks-multiple-locks.ts | 2 +- .../test-maintenance-filter.ts | 2 +- .../test-maintenance-filter2.ts | 6 +- .../test-maintenance-filter3.ts | 2 +- .../test-maintenance/test-maintenance-mode.ts | 4 +- .../test-foreign-assets-migration.ts | 6 +- .../moonbase/test-multisigs/test-multisigs.ts | 6 +- .../test-parameters/test-parameters.ts | 2 +- .../moonbase/test-pov/test-evm-over-pov.ts | 4 +- .../moonbase/test-pov/test-evm-over-pov2.ts | 4 +- .../test-pov/test-precompile-over-pov.ts | 4 +- .../test-pov/test-precompile-over-pov2.ts | 4 +- .../moonbase/test-pov/test-xcm-to-evm-pov.ts | 6 +- ...mpile-assets-erc20-local-assets-removal.ts | 2 +- .../test-precompile-assets-erc20-low-level.ts | 6 +- .../test-precompile-assets-erc20.ts | 6 +- .../test-precompile-assets-erc20a.ts | 6 +- .../test-precompile-assets-erc20b.ts | 6 +- .../test-precompile-assets-erc20c.ts | 6 +- .../test-precompile-assets-erc20d.ts | 6 +- .../test-precompile-assets-erc20e.ts | 6 +- .../test-precompile-assets-erc20f.ts | 6 +- .../test-precompile-author-mapping-keys.ts | 6 +- .../test-precompile-author-mapping-keys2.ts | 4 +- .../test-precompile-author-mapping-keys3.ts | 4 +- .../test-precompile-author-mapping-keys4.ts | 4 +- .../test-precompile-author-mapping-keys5.ts | 6 +- .../test-precompile-author-mapping-keys6.ts | 8 +- .../test-precompile-author-mapping-keys7.ts | 2 +- .../test-precompile-author-mapping-keys8.ts | 2 +- .../test-precompile-author-mapping2.ts | 2 +- .../test-precompile-author-mapping3.ts | 2 +- .../test-precompile/test-precompile-batch.ts | 6 +- .../test-precompile-call-permit-demo.ts | 2 +- .../test-precompile-clear-suicided-storage.ts | 4 +- .../test-precompile-conviction-voting.ts | 2 +- .../test-precompile-conviction-voting2.ts | 2 +- .../test-precompile-conviction-voting3.ts | 2 +- .../test-precompile-conviction-voting4.ts | 2 +- .../test-precompile-democracy.ts | 2 +- .../test-precompile/test-precompile-erc20.ts | 2 +- .../test-precompile-identity.ts | 4 +- .../test-precompile/test-precompile-modexp.ts | 36 +- .../test-precompile-pallet-xcm.ts | 4 +- .../test-precompile-preimage.ts | 2 +- .../test-precompile-referenda-demo.ts | 2 +- .../test-precompile-relay-verifier.ts | 34 +- .../test-precompile-wormhole.ts | 9 +- .../test-precompile-xcm-transactor.ts | 2 +- .../test-precompile-xcm-transactor11.ts | 2 +- .../test-precompile-xcm-transactor12.ts | 2 +- .../test-precompile-xcm-transactor2.ts | 2 +- .../test-precompile-xcm-transactor7.ts | 2 +- .../test-precompile-xcm-transactor8.ts | 2 +- .../test-precompile-xcm-utils.ts | 2 +- .../test-proxy/test-proxy-identity.ts | 2 +- .../dev/moonbase/test-proxy/test-proxy.ts | 4 +- .../test-randomness-babe-lottery2.ts | 2 +- .../test-randomness-babe-request2.ts | 2 +- .../test-randomness/test-randomness-result.ts | 4 +- .../test-randomness-result2.ts | 4 +- .../test-randomness-result4.ts | 4 +- .../test-randomness-vrf-lottery5.ts | 2 +- .../test-randomness-vrf-lottery6.ts | 2 +- .../test-randomness-vrf-request2.ts | 2 +- .../test-receipt/test-receipt-root.ts | 4 +- .../test-referenda-fast-general-admin.ts | 2 +- .../test-referenda-general-admin.ts | 2 +- .../test-referenda/test-referenda-submit.ts | 2 +- .../test-rewards-auto-compound-pov.ts | 2 +- .../test-rewards-auto-compound10.ts | 2 +- .../dev/moonbase/test-staking/test-rewards.ts | 2 +- .../moonbase/test-staking/test-rewards2.ts | 2 +- .../moonbase/test-staking/test-rewards3.ts | 2 +- .../moonbase/test-staking/test-rewards4.ts | 6 +- .../moonbase/test-staking/test-rewards5.ts | 4 +- .../test-staking/test-staking-consts.ts | 2 +- .../test-staking/test-staking-locks11.ts | 8 +- .../test-staking/test-staking-locks12.ts | 6 +- .../test-staking/test-staking-locks9.ts | 2 +- .../test-evm-store-storage-growth.ts | 2 +- .../test-subscription-logs2.ts | 2 +- .../test-subscription-pending.ts | 2 +- .../test-subscription/test-subscription.ts | 2 +- .../test-treasury/test-treasury-pallet.ts | 2 +- .../test-txpool/test-txpool-fairness.ts | 4 +- .../test-txpool/test-txpool-limits3.ts | 2 +- .../test-txpool/test-txpool-limits4.ts | 2 +- .../test-mock-hrmp-asset-transfer-2.ts | 6 +- .../test-mock-hrmp-asset-transfer-3.ts | 6 +- .../test-mock-hrmp-asset-transfer-4.ts | 6 +- .../test-mock-hrmp-asset-transfer-5.ts | 6 +- .../test-mock-hrmp-asset-transfer-6.ts | 6 +- .../test-mock-hrmp-asset-transfer-8.ts | 6 +- .../test-xcm-v3/test-mock-hrmp-transact-1.ts | 6 +- .../test-xcm-v3/test-mock-hrmp-transact-2.ts | 6 +- .../test-xcm-v3/test-mock-hrmp-transact-3.ts | 6 +- .../test-xcm-v3/test-mock-hrmp-transact-4.ts | 6 +- .../test-mock-hrmp-transact-ethereum-1.ts | 6 +- .../test-mock-hrmp-transact-ethereum-10.ts | 8 +- .../test-mock-hrmp-transact-ethereum-11.ts | 8 +- .../test-mock-hrmp-transact-ethereum-12.ts | 6 +- .../test-mock-hrmp-transact-ethereum-2.ts | 6 +- .../test-mock-hrmp-transact-ethereum-3.ts | 8 +- .../test-mock-hrmp-transact-ethereum-4.ts | 6 +- .../test-mock-hrmp-transact-ethereum-5.ts | 6 +- .../test-mock-hrmp-transact-ethereum-6.ts | 8 +- .../test-mock-hrmp-transact-ethereum-7.ts | 8 +- .../test-mock-hrmp-transact-ethereum-8.ts | 6 +- .../test-xcm-erc20-data-field-size.ts | 2 +- .../test-xcm-v3/test-xcm-erc20-excess-gas.ts | 12 +- .../test-xcm-erc20-fees-and-trap.ts | 12 +- .../test-xcm-v3/test-xcm-erc20-v3-filter.ts | 8 +- .../moonbase/test-xcm-v3/test-xcm-erc20-v3.ts | 8 +- .../test-xcmv3-max-weight-instructions.ts | 6 +- .../test-xcmv3-new-instructions.ts | 6 +- .../test-xcm-v4/test-auto-pause-xcm.ts | 6 +- .../test-mock-hrmp-asset-transfer-1.ts | 6 +- .../test-mock-hrmp-asset-transfer-2.ts | 6 +- .../test-mock-hrmp-asset-transfer-3.ts | 6 +- .../test-mock-hrmp-asset-transfer-4.ts | 6 +- .../test-mock-hrmp-asset-transfer-5.ts | 6 +- .../test-mock-hrmp-asset-transfer-6.ts | 6 +- .../test-xcm-v4/test-mock-hrmp-transact-1.ts | 6 +- .../test-xcm-v4/test-mock-hrmp-transact-2.ts | 6 +- .../test-xcm-v4/test-mock-hrmp-transact-3.ts | 6 +- .../test-xcm-v4/test-mock-hrmp-transact-4.ts | 6 +- .../test-mock-hrmp-transact-ethereum-1.ts | 6 +- .../test-mock-hrmp-transact-ethereum-10.ts | 8 +- .../test-mock-hrmp-transact-ethereum-2.ts | 6 +- .../test-mock-hrmp-transact-ethereum-4.ts | 6 +- .../test-mock-hrmp-transact-ethereum-5.ts | 6 +- .../test-mock-hrmp-transact-ethereum-6.ts | 8 +- .../test-mock-hrmp-transact-ethereum-7.ts | 8 +- .../test-mock-hrmp-transact-ethereum-8.ts | 6 +- .../test-xcm-v4/test-xcm-dry-run-api.ts | 4 +- .../test-xcm-erc20-transfer-two-ERC20.ts | 8 +- .../test-xcm-v4/test-xcm-erc20-transfer.ts | 8 +- .../test-xcm-evm-fee-with-origin-token.ts | 8 +- .../test-xcm-v4/test-xcm-evm-with-dot.ts | 12 +- .../test-xcm-payment-api-transact-foreign.ts | 8 +- .../test-xcm-payment-api-transact-native.ts | 6 +- .../test-xcm-v4/test-xcm-payment-api.ts | 2 +- .../test-xcm-v4/test-xcm-ver-conversion-1.ts | 6 +- .../test-xcm-v4/test-xcm-ver-conversion-2.ts | 6 +- ...mpile-assets-erc20-local-assets-removal.ts | 2 +- .../lazy-loading/test-runtime-upgrade.ts | 22 +- .../smoke/test-author-filter-consistency.ts | 8 +- .../smoke/test-author-mapping-consistency.ts | 14 +- .../suites/smoke/test-balances-consistency.ts | 110 +- test/suites/smoke/test-block-finalized.ts | 4 +- test/suites/smoke/test-block-weights.ts | 29 +- test/suites/smoke/test-dynamic-fees.ts | 67 +- .../test-eth-parent-hash-bad-block-fix.ts | 2 +- .../smoke/test-ethereum-contract-code.ts | 4 +- .../test-ethereum-current-consistency.ts | 8 +- test/suites/smoke/test-ethereum-failures.ts | 11 +- .../smoke/test-foreign-asset-consistency.ts | 10 +- .../suites/smoke/test-foreign-xcm-failures.ts | 28 +- .../smoke/test-historic-compatibility.ts | 31 +- test/suites/smoke/test-old-regressions.ts | 6 +- test/suites/smoke/test-orbiter-consistency.ts | 28 +- test/suites/smoke/test-polkadot-decoding.ts | 14 +- test/suites/smoke/test-proxy-consistency.ts | 16 +- .../smoke/test-randomness-consistency.ts | 31 +- test/suites/smoke/test-relay-indices.ts | 4 +- test/suites/smoke/test-relay-xcm-fees.ts | 25 +- test/suites/smoke/test-staking-consistency.ts | 49 +- test/suites/smoke/test-staking-rewards.ts | 80 +- .../smoke/test-staking-round-cleanup.ts | 20 +- test/suites/smoke/test-state-v1-migration.ts | 2 +- .../suites/smoke/test-treasury-consistency.ts | 6 +- test/suites/smoke/test-xcm-autopause.ts | 2 +- test/suites/smoke/test-xcm-failures.ts | 10 +- test/suites/tracing-tests/test-trace-1.ts | 6 +- test/suites/tracing-tests/test-trace-2.ts | 4 +- test/suites/tracing-tests/test-trace-3.ts | 4 +- test/suites/tracing-tests/test-trace-6.ts | 30 +- test/suites/tracing-tests/test-trace-call.ts | 4 +- .../tracing-tests/test-trace-concurrency.ts | 2 +- .../tracing-tests/test-trace-erc20-xcm.ts | 6 +- .../test-trace-ethereum-xcm-1.ts | 6 +- .../test-trace-ethereum-xcm-2.ts | 6 +- .../test-trace-ethereum-xcm-3.ts | 6 +- .../suites/tracing-tests/test-trace-filter.ts | 2 +- test/suites/tracing-tests/test-trace-gas.ts | 2 +- test/suites/zombie/test_para.ts | 2 +- tools/extract-migration-logs.ts | 2 +- tools/get-binary.ts | 4 +- tools/github/generate-runtimes-body.ts | 8 +- tools/github/github-utils.ts | 4 +- tools/load-testing/load-gas-loop.ts | 8 +- tools/pov/index.ts | 8 +- typescript-api/.gitignore | 3 - typescript-api/.npmignore | 5 +- typescript-api/biome.json | 22 + typescript-api/package.json | 8 +- typescript-api/scripts/scrapeMetadata.ts | 15 +- .../moonbase/interfaces/augment-api-consts.ts | 568 ++- .../moonbase/interfaces/augment-api-errors.ts | 1345 ++++-- .../moonbase/interfaces/augment-api-events.ts | 1312 ++++-- .../moonbase/interfaces/augment-api-query.ts | 1023 ++-- .../moonbase/interfaces/augment-api-rpc.ts | 577 ++- .../interfaces/augment-api-runtime.ts | 248 +- .../src/moonbase/interfaces/augment-api-tx.ts | 2093 +++++---- .../src/moonbase/interfaces/augment-types.ts | 90 +- .../src/moonbase/interfaces/lookup.ts | 4105 ++++++++++------- .../moonbase/interfaces/moon/definitions.ts | 4 +- .../src/moonbase/interfaces/registry.ts | 2 +- .../src/moonbase/interfaces/types-lookup.ts | 4 +- .../moonbeam/interfaces/augment-api-consts.ts | 568 ++- .../moonbeam/interfaces/augment-api-errors.ts | 1337 ++++-- .../moonbeam/interfaces/augment-api-events.ts | 1292 ++++-- .../moonbeam/interfaces/augment-api-query.ts | 1015 ++-- .../moonbeam/interfaces/augment-api-rpc.ts | 577 ++- .../interfaces/augment-api-runtime.ts | 248 +- .../src/moonbeam/interfaces/augment-api-tx.ts | 2039 ++++---- .../src/moonbeam/interfaces/augment-types.ts | 90 +- .../src/moonbeam/interfaces/lookup.ts | 4045 +++++++++------- .../moonbeam/interfaces/moon/definitions.ts | 4 +- .../src/moonbeam/interfaces/registry.ts | 2 +- .../src/moonbeam/interfaces/types-lookup.ts | 4 +- .../interfaces/augment-api-consts.ts | 568 ++- .../interfaces/augment-api-errors.ts | 1337 ++++-- .../interfaces/augment-api-events.ts | 1292 ++++-- .../moonriver/interfaces/augment-api-query.ts | 1015 ++-- .../moonriver/interfaces/augment-api-rpc.ts | 577 ++- .../interfaces/augment-api-runtime.ts | 248 +- .../moonriver/interfaces/augment-api-tx.ts | 2039 ++++---- .../src/moonriver/interfaces/augment-types.ts | 90 +- .../src/moonriver/interfaces/lookup.ts | 4045 +++++++++------- .../moonriver/interfaces/moon/definitions.ts | 4 +- .../src/moonriver/interfaces/registry.ts | 2 +- .../src/moonriver/interfaces/types-lookup.ts | 4 +- typescript-api/tsup.config.ts | 42 +- 335 files changed, 22976 insertions(+), 14275 deletions(-) delete mode 100644 .vscode/launch.json delete mode 100644 .vscode/settings.json delete mode 100644 .vscode/tasks.json create mode 100644 biome.json delete mode 100644 test/.eslintrc.cjs create mode 100644 test/biome.json create mode 100644 typescript-api/biome.json diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e2693d86c2..317ab7d26f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -151,8 +151,8 @@ jobs: use-quiet-mode: "yes" max-depth: 4 - check-editorconfig: - name: "Check editorconfig" + check-biome: + name: "Check with Biome" runs-on: ubuntu-latest permissions: contents: read @@ -162,68 +162,17 @@ jobs: uses: actions/checkout@v4 with: ref: ${{ needs.set-tags.outputs.git_ref }} - - name: Setup editorconfig checker - run: | - ls /tmp/bin/ec-linux-amd64 || \ - cd /tmp && \ - wget https://github.com/editorconfig-checker/editorconfig-checker/releases/download/2.7.0/ec-linux-amd64.tar.gz && \ - tar xvf ec-linux-amd64.tar.gz && \ - chmod +x bin/ec-linux-amd64 - - name: Check files - # Prettier and editorconfig-checker have different ideas about indentation - run: /tmp/bin/ec-linux-amd64 --exclude "(typescript-api\/)|(test\/contracts\/lib\/.*)|(\/?dist\/)" -disable-indent-size - - check-prettier: - name: "Check with Prettier" - runs-on: ubuntu-latest - permissions: - contents: read - needs: ["set-tags"] - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - ref: ${{ needs.set-tags.outputs.git_ref }} - - uses: oven-sh/setup-bun@v2 - with: - bun-version: latest - - name: Check with Prettier - run: | - bun x prettier@2 --check --ignore-path .prettierignore '**/*.(yml|js|ts|json)' \ - || (git diff --quiet \ - || (echo 'Unable to show a diff because there are unstaged changes'; false) \ - && (bun x prettier@2 --ignore-path \ - .prettierignore '**/*.(yml|js|ts|json)' -w --loglevel silent \ - && git --no-pager diff; git restore .) && false) - - bun x prettier@2 --check --ignore-path .prettierignore '**/*.(yml|js|ts|json)' - - check-eslint: - name: "Check with EsLint" - runs-on: ubuntu-latest - permissions: - contents: read - needs: ["set-tags"] - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - ref: ${{ needs.set-tags.outputs.git_ref }} - - name: Use pnpm - uses: pnpm/action-setup@v4 + - uses: pnpm/action-setup@v4 with: version: 9 - - name: Use Node.js + - name: Setup Node.js uses: actions/setup-node@v4 with: node-version-file: "test/.nvmrc" cache: "pnpm" cache-dependency-path: pnpm-lock.yaml - - name: Run Eslint check - run: | - cd test - pnpm i - pnpm lint + - run: pnpm install + - run: pnpm check check-cargo-toml-format: name: "Check Cargo.toml files format" diff --git a/.gitignore b/.gitignore index 6c16d0836b..2a1db21706 100644 --- a/.gitignore +++ b/.gitignore @@ -20,5 +20,6 @@ tools/*-local.json tools/*-local-raw.json tools/build -# RustRover -.idea/ \ No newline at end of file +# IDEs +.idea/ +.vscode/ \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json deleted file mode 100644 index c05d3d8b28..0000000000 --- a/.vscode/launch.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "version": "0.2.0", - "configurations": [ - { - "type": "lldb", - "request": "launch", - "name": "Build & Launch Moonbeam Node (Linux)", - "preLaunchTask": "Build Moonbeam (debug symbols)", - "program": "${workspaceFolder}/target/release/moonbeam", - "args": [ - "--execution=Native", - "--no-telemetry", - "--no-prometheus", - "--dev", - "--sealing=manual", - "-linfo", - "--port=${dbgconfig:port_p2p}", - "--rpc-port=${dbgconfig:port_rpc}", - "--tmp" - ], - "cwd": "${workspaceFolder}", - "sourceLanguages": ["rust"], - "sourceMap": { - "/rustc/*": "${dbgconfig:rustc_path}" - } - }, - { - "type": "lldb", - "request": "launch", - "name": "Launch Moonbeam Node (Linux)", - "program": "${workspaceFolder}/target/release/moonbeam", - "args": [ - "--execution=Native", - "--no-telemetry", - "--no-prometheus", - "--dev", - "--sealing=manual", - "-linfo", - "--port=${dbgconfig:port_p2p}", - "--rpc-port=${dbgconfig:port_rpc}", - "--tmp" - ], - "cwd": "${workspaceFolder}", - "sourceLanguages": ["rust"], - "sourceMap": { - "/rustc/*": "${dbgconfig:rustc_path}" - } - } - ] -} diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index ec8bf3b29a..0000000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "editor.formatOnSave": true, - "editor.rulers": [100], - "[typescript]": { - "editor.defaultFormatter": "vscode.typescript-language-features" - }, - "[json]": { - "editor.defaultFormatter": "esbenp.prettier-vscode" - }, - "[javascript]": { - "editor.defaultFormatter": "esbenp.prettier-vscode" - }, - "[yaml]": { - "editor.defaultFormatter": "esbenp.prettier-vscode" - }, - "lldb.dbgconfig": { - "rustc_path": "${env:HOME}/.rustup/toolchains/nightly-2021-01-13-x86_64-unknown-linux-gnu/lib/rustlib/src/rust", - "port_p2p": 30333, - "port_rpc": 9944 - } -} diff --git a/.vscode/tasks.json b/.vscode/tasks.json deleted file mode 100644 index fe087c1a16..0000000000 --- a/.vscode/tasks.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "version": "2.0.0", - "tasks": [ - { - "label": "Build Moonbeam (debug symbols)", - "type": "shell", - "command": "RUSTFLAGS=-g cargo build --release", - "presentation": { - "reveal": "always", - "panel": "new" - } - }, - { - "label": "Build Moonbeam (debug symbols + tracing)", - "type": "shell", - "command": "RUSTFLAGS=-g cargo build --release --features=evm-tracing", - "presentation": { - "reveal": "always", - "panel": "new" - } - }, - { - "label": "Run single test file in debug mode", - "type": "shell", - "command": "cd tests && DEBUG_MODE=true npm run test-single", - "presentation": { - "reveal": "always", - "panel": "new" - } - }, - { - "label": "Run current test file in debug mode", - "type": "shell", - "command": "cd tests && DEBUG_MODE=true npm run current-test -- '${fileDirname}/${fileBasename}'", - "presentation": { - "reveal": "always", - "panel": "new" - } - }, - { - "label": "Run current test file", - "type": "shell", - "command": "cd tests && npm run current-test -- '${fileDirname}/${fileBasename}'", - "presentation": { - "reveal": "always", - "panel": "new" - } - } - ] -} diff --git a/CONTRIBUTIONS.md b/CONTRIBUTIONS.md index 66ed5f7a09..e41f03a84a 100644 --- a/CONTRIBUTIONS.md +++ b/CONTRIBUTIONS.md @@ -25,8 +25,7 @@ and are expected to pass before a PR is considered mergeable. They can also be r - [clippy](https://github.com/rust-lang/rust-clippy) - run with `cargo clippy --release --workspace` - [rustfmt](https://github.com/rust-lang/rustfmt) - run with `cargo fmt -- --check` -- [editorconfig](https://editorconfig.org/) - integrate into your text editor / IDE -- [prettier](https://prettier.io/) - run with `npx prettier --check --ignore-path .gitignore '**/*.(yml|js|ts|json)'` (runs against `typescript` code) +- [biome](https://biomejs.dev/) - run with `pnpm check` (runs against `typescript` code) ### Directory Structure diff --git a/biome.json b/biome.json new file mode 100644 index 0000000000..4bd34690ec --- /dev/null +++ b/biome.json @@ -0,0 +1,65 @@ +{ + "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json", + "files": { + "include": [ + "*.js", + "*.ts", + "*.yml", + "*.md" + ], + "ignore": [ + "./node_modules/*", + "./dist/*", + "./target/*", + "**/tmp/*", + "*.spec.json" + ] + }, + "organizeImports": { + "enabled": false + }, + "formatter": { + "enabled": true, + "lineWidth": 100, + "attributePosition": "multiline" + }, + "json": { + "formatter": { + "enabled": false + } + }, + "javascript": { + "formatter": { + "trailingCommas": "es5", + "semicolons": "always", + "indentStyle": "space", + "lineWidth": 100, + "quoteStyle": "double" + } + }, + "linter": { + "enabled": true, + "rules": { + "recommended": true, + "suspicious": { + "noExplicitAny": "off", + "noImplicitAnyLet": "off", + "noAsyncPromiseExecutor": "off" + }, + "performance": { + "noAccumulatingSpread": "off", + "noDelete": "off" + }, + "complexity": { + "useArrowFunction": "off", + "useLiteralKeys": "off", + "noForEach": "off" + }, + "style": { + "noNonNullAssertion": "off", + "noUnusedTemplateLiteral": "off", + "useTemplate": "off" + } + } + } +} \ No newline at end of file diff --git a/moonbeam-types-bundle/package.json b/moonbeam-types-bundle/package.json index 3f21ac9eb6..64aeafbc39 100644 --- a/moonbeam-types-bundle/package.json +++ b/moonbeam-types-bundle/package.json @@ -33,7 +33,8 @@ "tsc": "tsc --noEmit --pretty", "build": "tsup src --format cjs,esm --dts --no-splitting", "publish-package": "npm run build && npm publish", - "fmt:fix": "prettier --write --ignore-path .gitignore '**/*.(yml|js|ts|json)'" + "check":"biome check .", + "check:fix": "biome check . --write" }, "keywords": [ "moonbeam", @@ -50,13 +51,13 @@ "url": "git+https://github.com/moonbeam-foundation/moonbeam.git" }, "dependencies": { + "@biomejs/biome": "*", "@polkadot/api": "*", "@polkadot/api-base": "*", "@polkadot/rpc-core": "*", "@polkadot/typegen": "*", "@polkadot/types": "*", "@polkadot/types-codec": "*", - "prettier": "*", "tsup": "*", "typescript": "*" } diff --git a/package.json b/package.json index a227aad828..229d3e2b0d 100644 --- a/package.json +++ b/package.json @@ -13,9 +13,8 @@ "clean-all": "rm -rf node_modules && pnpm -r clean", "build": "pnpm -r build", "postinstall": "pnpm build", - "lint": "pnpm -r lint", - "fmt": "pnpm -r fmt", - "fmt:fix": "pnpm -r fmt:fix" + "check": "pnpm -r check", + "check:fix": "pnpm -r check:fix" }, "dependencies": { "@polkadot/api": "14.3.1", @@ -31,9 +30,8 @@ "tsup": "8.3.5" }, "devDependencies": { + "@biomejs/biome": "1.9.4", "@types/node": "^22.10.1", - "eslint": "^8.55.0", - "prettier": "2.8.8", "tsx": "^4.19.2", "typescript": "^5.3.3" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6edb9727f6..0a6dc5600f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -42,15 +42,12 @@ importers: specifier: 8.3.5 version: 8.3.5(postcss@8.4.49)(tsx@4.19.2)(typescript@5.6.3)(yaml@2.6.0) devDependencies: + '@biomejs/biome': + specifier: 1.9.4 + version: 1.9.4 '@types/node': specifier: ^22.10.1 version: 22.10.1 - eslint: - specifier: ^8.55.0 - version: 8.57.0 - prettier: - specifier: 2.8.8 - version: 2.8.8 tsx: specifier: ^4.19.2 version: 4.19.2 @@ -60,6 +57,9 @@ importers: moonbeam-types-bundle: dependencies: + '@biomejs/biome': + specifier: '*' + version: 1.9.4 '@polkadot/api': specifier: '*' version: 14.0.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) @@ -78,9 +78,6 @@ importers: '@polkadot/types-codec': specifier: '*' version: 14.0.1 - prettier: - specifier: '*' - version: 2.8.8 tsup: specifier: '*' version: 8.3.5(postcss@8.4.49)(tsx@4.19.2)(typescript@5.6.2)(yaml@2.6.0) @@ -93,6 +90,9 @@ importers: '@acala-network/chopsticks': specifier: 1.0.1 version: 1.0.1(bufferutil@4.0.8)(debug@4.3.7)(ts-node@10.9.2(@types/node@22.10.1)(typescript@5.6.3))(utf-8-validate@5.0.10) + '@biomejs/biome': + specifier: '*' + version: 1.9.4 '@moonbeam-network/api-augment': specifier: workspace:* version: link:../typescript-api @@ -217,30 +217,15 @@ importers: '@types/yargs': specifier: 17.0.33 version: 17.0.33 - '@typescript-eslint/eslint-plugin': - specifier: 7.5.0 - version: 7.5.0(@typescript-eslint/parser@7.5.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0)(typescript@5.6.3) - '@typescript-eslint/parser': - specifier: 7.5.0 - version: 7.5.0(eslint@8.57.0)(typescript@5.6.3) bottleneck: specifier: 2.19.5 version: 2.19.5 debug: specifier: 4.3.7 version: 4.3.7(supports-color@8.1.1) - eslint: - specifier: 8.57.0 - version: 8.57.0 - eslint-plugin-unused-imports: - specifier: 3.1.0 - version: 3.1.0(@typescript-eslint/eslint-plugin@7.5.0(@typescript-eslint/parser@7.5.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0) inquirer: specifier: 12.2.0 version: 12.2.0(@types/node@22.10.1) - prettier: - specifier: '*' - version: 2.8.8 typescript: specifier: '*' version: 5.6.3 @@ -250,6 +235,9 @@ importers: typescript-api: dependencies: + '@biomejs/biome': + specifier: '*' + version: 1.9.4 '@polkadot/api': specifier: '*' version: 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) @@ -274,12 +262,6 @@ importers: moonbeam-types-bundle: specifier: workspace:* version: link:../moonbeam-types-bundle - prettier: - specifier: '*' - version: 2.8.8 - prettier-plugin-jsdoc: - specifier: ^0.3.38 - version: 0.3.38(prettier@2.8.8) tsup: specifier: '*' version: 8.3.5(postcss@8.4.49)(tsx@4.19.2)(typescript@5.6.3)(yaml@2.6.0) @@ -340,6 +322,59 @@ packages: peerDependencies: '@polkadot/api': ^10.7.3 + '@biomejs/biome@1.9.4': + resolution: {integrity: sha512-1rkd7G70+o9KkTn5KLmDYXihGoTaIGO9PIIN2ZB7UJxFrWw04CZHPYiMRjYsaDvVV7hP1dYNRLxSANLaBFGpog==} + engines: {node: '>=14.21.3'} + hasBin: true + + '@biomejs/cli-darwin-arm64@1.9.4': + resolution: {integrity: sha512-bFBsPWrNvkdKrNCYeAp+xo2HecOGPAy9WyNyB/jKnnedgzl4W4Hb9ZMzYNbf8dMCGmUdSavlYHiR01QaYR58cw==} + engines: {node: '>=14.21.3'} + cpu: [arm64] + os: [darwin] + + '@biomejs/cli-darwin-x64@1.9.4': + resolution: {integrity: sha512-ngYBh/+bEedqkSevPVhLP4QfVPCpb+4BBe2p7Xs32dBgs7rh9nY2AIYUL6BgLw1JVXV8GlpKmb/hNiuIxfPfZg==} + engines: {node: '>=14.21.3'} + cpu: [x64] + os: [darwin] + + '@biomejs/cli-linux-arm64-musl@1.9.4': + resolution: {integrity: sha512-v665Ct9WCRjGa8+kTr0CzApU0+XXtRgwmzIf1SeKSGAv+2scAlW6JR5PMFo6FzqqZ64Po79cKODKf3/AAmECqA==} + engines: {node: '>=14.21.3'} + cpu: [arm64] + os: [linux] + + '@biomejs/cli-linux-arm64@1.9.4': + resolution: {integrity: sha512-fJIW0+LYujdjUgJJuwesP4EjIBl/N/TcOX3IvIHJQNsAqvV2CHIogsmA94BPG6jZATS4Hi+xv4SkBBQSt1N4/g==} + engines: {node: '>=14.21.3'} + cpu: [arm64] + os: [linux] + + '@biomejs/cli-linux-x64-musl@1.9.4': + resolution: {integrity: sha512-gEhi/jSBhZ2m6wjV530Yy8+fNqG8PAinM3oV7CyO+6c3CEh16Eizm21uHVsyVBEB6RIM8JHIl6AGYCv6Q6Q9Tg==} + engines: {node: '>=14.21.3'} + cpu: [x64] + os: [linux] + + '@biomejs/cli-linux-x64@1.9.4': + resolution: {integrity: sha512-lRCJv/Vi3Vlwmbd6K+oQ0KhLHMAysN8lXoCI7XeHlxaajk06u7G+UsFSO01NAs5iYuWKmVZjmiOzJ0OJmGsMwg==} + engines: {node: '>=14.21.3'} + cpu: [x64] + os: [linux] + + '@biomejs/cli-win32-arm64@1.9.4': + resolution: {integrity: sha512-tlbhLk+WXZmgwoIKwHIHEBZUwxml7bRJgk0X2sPyNR3S93cdRq6XulAZRQJ17FYGGzWne0fgrXBKpl7l4M87Hg==} + engines: {node: '>=14.21.3'} + cpu: [arm64] + os: [win32] + + '@biomejs/cli-win32-x64@1.9.4': + resolution: {integrity: sha512-8Y5wMhVIPaWe6jw2H+KlEm4wP/f7EW3810ZLmDlrEEy5KvBsb9ECEfu/kMWD484ijfQ8+nIi0giMgu9g1UAuuA==} + engines: {node: '>=14.21.3'} + cpu: [x64] + os: [win32] + '@colors/colors@1.5.0': resolution: {integrity: sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==} engines: {node: '>=0.1.90'} @@ -811,24 +846,6 @@ packages: cpu: [x64] os: [win32] - '@eslint-community/eslint-utils@4.4.1': - resolution: {integrity: sha512-s3O3waFUrMV8P/XaF/+ZTp1X9XBZW1a4B97ZnjQF2KYWaFD2A8KyFBsrsfSjEmjn3RGWAIuvlneuZm3CUK3jbA==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 - - '@eslint-community/regexpp@4.12.1': - resolution: {integrity: sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==} - engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0} - - '@eslint/eslintrc@2.1.4': - resolution: {integrity: sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - - '@eslint/js@8.57.0': - resolution: {integrity: sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - '@ethereumjs/common@2.6.5': resolution: {integrity: sha512-lRyVQOeCDaIVtgfbowla32pzeDv2Obr8oR8Put5RdUBNRGr1VGPGQNGP6elWIpgK3YdpzqTOh4GyUGOureVeeA==} @@ -912,19 +929,6 @@ packages: '@gar/promisify@1.1.3': resolution: {integrity: sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==} - '@humanwhocodes/config-array@0.11.14': - resolution: {integrity: sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==} - engines: {node: '>=10.10.0'} - deprecated: Use @eslint/config-array instead - - '@humanwhocodes/module-importer@1.0.1': - resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==} - engines: {node: '>=12.22'} - - '@humanwhocodes/object-schema@2.0.3': - resolution: {integrity: sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==} - deprecated: Use @eslint/object-schema instead - '@inquirer/checkbox@4.0.3': resolution: {integrity: sha512-CEt9B4e8zFOGtc/LYeQx5m8nfqQeG/4oNNv0PUvXGG0mys+wR/WbJ3B4KfSQ4Fcr3AQfpiuFOi3fVvmPfvNbxw==} engines: {node: '>=18'} @@ -1108,18 +1112,6 @@ packages: '@noble/secp256k1@1.7.1': resolution: {integrity: sha512-hOUk6AyBFmqVrv7k5WAw/LpszxVbj9gGN4JRkIX52fdFAj1UA61KXmZDvqVEm+pOyec3+fIeZB02LYa/pWOArw==} - '@nodelib/fs.scandir@2.1.5': - resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} - engines: {node: '>= 8'} - - '@nodelib/fs.stat@2.0.5': - resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==} - engines: {node: '>= 8'} - - '@nodelib/fs.walk@1.2.8': - resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} - engines: {node: '>= 8'} - '@npmcli/fs@1.1.1': resolution: {integrity: sha512-8KG5RD0GVP4ydEzRn/I4BNDuxDtqVbOdm8675T49OIG/NGhaK0pjPX7ZcDlvKYbA+ulvVK3ztfcF4uBdOxuJbQ==} @@ -2418,9 +2410,6 @@ packages: '@types/json-bigint@1.0.4': resolution: {integrity: sha512-ydHooXLbOmxBbubnA7Eh+RpBzuaIiQjh8WGJYQB50JFGFrdxW7JzVlyEV7fAXw0T2sqJ1ysTneJbiyNLqZRAag==} - '@types/json-schema@7.0.15': - resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} - '@types/keyv@3.1.4': resolution: {integrity: sha512-BQ5aZNSCpj7D6K2ksrRCTmKRLEpnPvWDiLPfoGyhZ++8YtiK9d/3DBKPJgry359X/P1PfruyYwvnvwFjuEiEIg==} @@ -2499,67 +2488,6 @@ packages: '@types/yargs@17.0.33': resolution: {integrity: sha512-WpxBCKWPLr4xSsHgz511rFJAM+wS28w2zEO1QDNY5zM/S8ok70NNfztH0xwhqKyaK0OHCbN98LDAZuy1ctxDkA==} - '@typescript-eslint/eslint-plugin@7.5.0': - resolution: {integrity: sha512-HpqNTH8Du34nLxbKgVMGljZMG0rJd2O9ecvr2QLYp+7512ty1j42KnsFwspPXg1Vh8an9YImf6CokUBltisZFQ==} - engines: {node: ^18.18.0 || >=20.0.0} - peerDependencies: - '@typescript-eslint/parser': ^7.0.0 - eslint: ^8.56.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - - '@typescript-eslint/parser@7.5.0': - resolution: {integrity: sha512-cj+XGhNujfD2/wzR1tabNsidnYRaFfEkcULdcIyVBYcXjBvBKOes+mpMBP7hMpOyk+gBcfXsrg4NBGAStQyxjQ==} - engines: {node: ^18.18.0 || >=20.0.0} - peerDependencies: - eslint: ^8.56.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - - '@typescript-eslint/scope-manager@7.5.0': - resolution: {integrity: sha512-Z1r7uJY0MDeUlql9XJ6kRVgk/sP11sr3HKXn268HZyqL7i4cEfrdFuSSY/0tUqT37l5zT0tJOsuDP16kio85iA==} - engines: {node: ^18.18.0 || >=20.0.0} - - '@typescript-eslint/type-utils@7.5.0': - resolution: {integrity: sha512-A021Rj33+G8mx2Dqh0nMO9GyjjIBK3MqgVgZ2qlKf6CJy51wY/lkkFqq3TqqnH34XyAHUkq27IjlUkWlQRpLHw==} - engines: {node: ^18.18.0 || >=20.0.0} - peerDependencies: - eslint: ^8.56.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - - '@typescript-eslint/types@7.5.0': - resolution: {integrity: sha512-tv5B4IHeAdhR7uS4+bf8Ov3k793VEVHd45viRRkehIUZxm0WF82VPiLgHzA/Xl4TGPg1ZD49vfxBKFPecD5/mg==} - engines: {node: ^18.18.0 || >=20.0.0} - - '@typescript-eslint/typescript-estree@7.5.0': - resolution: {integrity: sha512-YklQQfe0Rv2PZEueLTUffiQGKQneiIEKKnfIqPIOxgM9lKSZFCjT5Ad4VqRKj/U4+kQE3fa8YQpskViL7WjdPQ==} - engines: {node: ^18.18.0 || >=20.0.0} - peerDependencies: - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - - '@typescript-eslint/utils@7.5.0': - resolution: {integrity: sha512-3vZl9u0R+/FLQcpy2EHyRGNqAS/ofJ3Ji8aebilfJe+fobK8+LbIFmrHciLVDxjDoONmufDcnVSF38KwMEOjzw==} - engines: {node: ^18.18.0 || >=20.0.0} - peerDependencies: - eslint: ^8.56.0 - - '@typescript-eslint/visitor-keys@7.5.0': - resolution: {integrity: sha512-mcuHM/QircmA6O7fy6nn2w/3ditQkj+SgtOc8DW3uQ10Yfj42amm2i+6F2K4YAOPNNTmE6iM1ynM6lrSwdendA==} - engines: {node: ^18.18.0 || >=20.0.0} - - '@ungap/structured-clone@1.2.0': - resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} - '@unique-nft/opal-testnet-types@1003.70.0': resolution: {integrity: sha512-vXJoV7cqwO21svd03DFL7bl8H77zFbJzgkUgNPLPbVA6YkZt+ZeDmbP9lKKPbNadB1DP84kOZPVvsbmzx7+Jxg==} peerDependencies: @@ -2683,11 +2611,6 @@ packages: resolution: {integrity: sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==} engines: {node: '>= 0.6'} - acorn-jsx@5.3.2: - resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} - peerDependencies: - acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 - acorn-walk@8.3.4: resolution: {integrity: sha512-ueEepnujpqee2o5aIYnvHU6C0A42MNdsIDeqy5BydrkuC5R1ZuUFnm27EeFJGoEHJQgn3uleRvmTXaJgfXbt4g==} engines: {node: '>=0.4.0'} @@ -2780,10 +2703,6 @@ packages: array-flatten@1.1.1: resolution: {integrity: sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==} - array-union@2.1.0: - resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==} - engines: {node: '>=8'} - asap@2.0.6: resolution: {integrity: sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==} @@ -2966,10 +2885,6 @@ packages: resolution: {integrity: sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==} engines: {node: '>= 0.4'} - callsites@3.1.0: - resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} - engines: {node: '>=6'} - camelcase@5.3.1: resolution: {integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==} engines: {node: '>=6'} @@ -3327,9 +3242,6 @@ packages: resolution: {integrity: sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==} engines: {node: '>=4.0.0'} - deep-is@0.1.4: - resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} - deepmerge-ts@7.1.3: resolution: {integrity: sha512-qCSH6I0INPxd9Y1VtAiLpnYvz5O//6rCfJXKk0z66Up9/VOSr+1yS8XSKA5IWRxjocFGlzPyaZYe+jxq7OOLtQ==} engines: {node: '>=16.0.0'} @@ -3396,14 +3308,6 @@ packages: resolution: {integrity: sha512-uIFDxqpRZGZ6ThOk84hEfqWoHx2devRFvpTZcTHur85vImfaxUbTW9Ryh4CpCuDnToOP1CEtXKIgytHBPVff5A==} engines: {node: '>=0.3.1'} - dir-glob@3.0.1: - resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==} - engines: {node: '>=8'} - - doctrine@3.0.0: - resolution: {integrity: sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==} - engines: {node: '>=6.0.0'} - dom-walk@0.1.2: resolution: {integrity: sha512-6QvTW9mrGeIegrFXdtQi9pk7O/nSK6lSdXW2eqUspN5LWD7UTji2Fqw5V2YLjBpHEoU9Xl/eUWNpDeZvoyOv2w==} @@ -3548,61 +3452,13 @@ packages: resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==} engines: {node: '>=10'} - eslint-plugin-unused-imports@3.1.0: - resolution: {integrity: sha512-9l1YFCzXKkw1qtAru1RWUtG2EVDZY0a0eChKXcL+EZ5jitG7qxdctu4RnvhOJHv4xfmUf7h+JJPINlVpGhZMrw==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - peerDependencies: - '@typescript-eslint/eslint-plugin': 6 - 7 - eslint: '8' - peerDependenciesMeta: - '@typescript-eslint/eslint-plugin': - optional: true - - eslint-rule-composer@0.3.0: - resolution: {integrity: sha512-bt+Sh8CtDmn2OajxvNO+BX7Wn4CIWMpTRm3MaiKPCQcnnlm0CS2mhui6QaoeQugs+3Kj2ESKEEGJUdVafwhiCg==} - engines: {node: '>=4.0.0'} - - eslint-scope@7.2.2: - resolution: {integrity: sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - - eslint-visitor-keys@3.4.3: - resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - - eslint@8.57.0: - resolution: {integrity: sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - deprecated: This version is no longer supported. Please see https://eslint.org/version-support for other options. - hasBin: true - esniff@2.0.1: resolution: {integrity: sha512-kTUIGKQ/mDPFoJ0oVfcmyJn4iBDRptjNVIzwIFR7tqWXdVI9xfA2RMwY/gbSpJG3lkdWNEjLap/NqVHZiJsdfg==} engines: {node: '>=0.10'} - espree@9.6.1: - resolution: {integrity: sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - - esquery@1.6.0: - resolution: {integrity: sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==} - engines: {node: '>=0.10'} - - esrecurse@4.3.0: - resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==} - engines: {node: '>=4.0'} - - estraverse@5.3.0: - resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==} - engines: {node: '>=4.0'} - estree-walker@3.0.3: resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==} - esutils@2.0.3: - resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} - engines: {node: '>=0.10.0'} - etag@1.8.1: resolution: {integrity: sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==} engines: {node: '>= 0.6'} @@ -3711,16 +3567,9 @@ packages: fast-deep-equal@3.1.3: resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} - fast-glob@3.3.2: - resolution: {integrity: sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==} - engines: {node: '>=8.6.0'} - fast-json-stable-stringify@2.1.0: resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==} - fast-levenshtein@2.0.6: - resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} - fast-redact@3.5.0: resolution: {integrity: sha512-dwsoQlS7h9hMeYUq1W++23NDcBLV4KqONnITDV9DjfS3q1SgDGVrBdvvTLUotWtPSD7asWDV9/CmsZPy8Hf70A==} engines: {node: '>=6'} @@ -3731,9 +3580,6 @@ packages: fast-sha256@1.3.0: resolution: {integrity: sha512-n11RGP/lrWEFI/bWdygLxhI+pVeo1ZYIVwvvPkW7azl/rOy+F3HYRZ2K5zeE9mmkhQppyv9sQFx0JM9UabnpPQ==} - fastq@1.17.1: - resolution: {integrity: sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==} - fdir@6.4.2: resolution: {integrity: sha512-KnhMXsKSPZlAhp7+IjUkRZKPb4fUyccpDrdFXbi4QL1qkmFh9kVY09Yox+n4MaOb3lHZ1Tv829C3oaaXoMYPDQ==} peerDependencies: @@ -3757,10 +3603,6 @@ packages: resolution: {integrity: sha512-d+l3qxjSesT4V7v2fh+QnmFnUWv9lSpjarhShNTgBOfA0ttejbQUAlHLitbjkoRiDulW0OPoQPYIGhIC8ohejg==} engines: {node: '>=18'} - file-entry-cache@6.0.1: - resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==} - engines: {node: ^10.12.0 || >=12.0.0} - file-uri-to-path@1.0.0: resolution: {integrity: sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==} @@ -3776,10 +3618,6 @@ packages: resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==} engines: {node: '>=10'} - flat-cache@3.2.0: - resolution: {integrity: sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==} - engines: {node: ^10.12.0 || >=12.0.0} - flat@5.0.2: resolution: {integrity: sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==} hasBin: true @@ -3915,10 +3753,6 @@ packages: resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} engines: {node: '>= 6'} - glob-parent@6.0.2: - resolution: {integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==} - engines: {node: '>=10.13.0'} - glob@10.4.5: resolution: {integrity: sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==} hasBin: true @@ -3939,18 +3773,10 @@ packages: global@4.4.0: resolution: {integrity: sha512-wv/LAoHdRE3BeTGz53FAamhGlPLhlssK45usmGFThIi4XqnBmjKQ16u+RNbP7WvigRZDxUsM0J3gcQ5yicaL0w==} - globals@13.24.0: - resolution: {integrity: sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==} - engines: {node: '>=8'} - globalthis@1.0.4: resolution: {integrity: sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==} engines: {node: '>= 0.4'} - globby@11.1.0: - resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==} - engines: {node: '>=10'} - gopd@1.0.1: resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==} @@ -3971,9 +3797,6 @@ packages: graceful-readlink@1.0.1: resolution: {integrity: sha512-8tLu60LgxF6XpdbK8OW3FA+IfTNBn1ZHGHKF4KQbEeSkajYw5PlYJcKluntgegDPTg8UkHjpet1T82vk6TQ68w==} - graphemer@1.4.0: - resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==} - handlebars@4.7.8: resolution: {integrity: sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ==} engines: {node: '>=0.4.7'} @@ -4109,20 +3932,12 @@ packages: ieee754@1.2.1: resolution: {integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==} - ignore@5.3.2: - resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==} - engines: {node: '>= 4'} - immediate@3.2.3: resolution: {integrity: sha512-RrGCXRm/fRVqMIhqXrGEX9rRADavPiDFSoMb/k64i9XMk8uH4r/Omi5Ctierj6XzNecwDbO4WuFbDD1zmpl3Tg==} immediate@3.3.0: resolution: {integrity: sha512-HR7EVodfFUdQCTIeySw+WDRFJlPcLOJbXfwwZ7Oom6tjsvZ3bOkCDJHehQC3nxJrv7+f9XecwazynjU8e4Vw3Q==} - import-fresh@3.3.0: - resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==} - engines: {node: '>=6'} - imurmurhash@0.1.4: resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==} engines: {node: '>=0.8.19'} @@ -4261,10 +4076,6 @@ packages: resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} engines: {node: '>=0.12.0'} - is-path-inside@3.0.3: - resolution: {integrity: sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==} - engines: {node: '>=8'} - is-plain-obj@2.1.0: resolution: {integrity: sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==} engines: {node: '>=8'} @@ -4384,9 +4195,6 @@ packages: json-schema@0.4.0: resolution: {integrity: sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA==} - json-stable-stringify-without-jsonify@1.0.1: - resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==} - json-stable-stringify@1.1.1: resolution: {integrity: sha512-SU/971Kt5qVQfJpyDveVhQ/vya+5hvrjClFOcr8c0Fq5aODJjMwutrOfCU+eCnVD5gpx1Q3fEqkyom77zH1iIg==} engines: {node: '>= 0.4'} @@ -4473,10 +4281,6 @@ packages: engines: {node: '>=6'} deprecated: Superseded by abstract-level (https://github.com/Level/community#faq) - levn@0.4.1: - resolution: {integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==} - engines: {node: '>= 0.8.0'} - libp2p-crypto@0.21.2: resolution: {integrity: sha512-EXFrhSpiHtJ+/L8xXDvQNK5VjUMG51u878jzZcaT5XhuN/zFg6PWJFnl/qB2Y2j7eMWnvCRP7Kp+ua2H36cG4g==} engines: {node: '>=12.0.0'} @@ -4607,10 +4411,6 @@ packages: merge-stream@2.0.0: resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} - merge2@1.4.1: - resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} - engines: {node: '>= 8'} - merkle-patricia-tree@4.2.4: resolution: {integrity: sha512-eHbf/BG6eGNsqqfbLED9rIqbsF4+sykEaBn6OLNs71tjclbMcMOk1tEPmJKcNcNCLkvbpY/lwyOlizWsqPNo8w==} @@ -4684,10 +4484,6 @@ packages: micromark@3.2.0: resolution: {integrity: sha512-uD66tJj54JLYq0De10AhWycZWGQNUvDI55xPgk2sQM5kn1JYlhbCMTtEeT27+vAhW2FBQxLlOmS3pmA7/2z4aA==} - micromatch@4.0.8: - resolution: {integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==} - engines: {node: '>=8.6'} - mime-db@1.52.0: resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==} engines: {node: '>= 0.6'} @@ -4733,10 +4529,6 @@ packages: resolution: {integrity: sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==} engines: {node: '>=10'} - minimatch@9.0.3: - resolution: {integrity: sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==} - engines: {node: '>=16 || 14 >=14.17'} - minimatch@9.0.5: resolution: {integrity: sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==} engines: {node: '>=16 || 14 >=14.17'} @@ -4910,9 +4702,6 @@ packages: resolution: {integrity: sha512-1dj4ET34TfEes0+josVLvwpJe337Jk6txd3XUjVmVs3budSo2eEjvN6pX4myYE1pS4x/k2Av57n/ypRl2u++AQ==} engines: {node: '>= 10'} - natural-compare@1.4.0: - resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} - negotiator@0.6.3: resolution: {integrity: sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==} engines: {node: '>= 0.6'} @@ -5060,10 +4849,6 @@ packages: resolution: {integrity: sha512-VXJjc87FScF88uafS3JllDgvAm+c/Slfz06lorj2uAY34rlUu0Nt+v8wreiImcrgAjjIHp1rXpTDlLOGw29WwQ==} engines: {node: '>=18'} - optionator@0.9.4: - resolution: {integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==} - engines: {node: '>= 0.8.0'} - ora@8.1.1: resolution: {integrity: sha512-YWielGi1XzG1UTvOaCFaNgEnuhZVMSHYkW/FQ7UX8O26PtlpdM84c0f7wLPlkvx2RfiQmnzd61d/MGxmpQeJPw==} engines: {node: '>=18'} @@ -5106,10 +4891,6 @@ packages: pako@2.1.0: resolution: {integrity: sha512-w+eufiZ1WuJYgPXbV/PO3NCMEc3xqylkKHzp8bxp1uW4qaSNQUkwmLLEc3kKsfz8lpV1F8Ht3U1Cm+9Srog2ug==} - parent-module@1.0.1: - resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} - engines: {node: '>=6'} - parse-headers@2.0.5: resolution: {integrity: sha512-ft3iAoLOB/MlwbNXgzy43SWGP6sQki2jQvAyBg/zDFAgr9bfNWZIUj42Kw2eJIl8kEi4PbgE6U1Zau/HwI75HA==} @@ -5164,10 +4945,6 @@ packages: path-to-regexp@0.1.10: resolution: {integrity: sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w==} - path-type@4.0.0: - resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} - engines: {node: '>=8'} - pathe@1.1.2: resolution: {integrity: sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ==} @@ -5268,10 +5045,6 @@ packages: engines: {node: '>=10'} hasBin: true - prelude-ls@1.2.1: - resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} - engines: {node: '>= 0.8.0'} - prettier-plugin-jsdoc@0.3.38: resolution: {integrity: sha512-h81ZV/nFk5gr3fzWMWzWoz/M/8FneAZxscT7DVSy+5jMIuWYnBFZfSswVKYZyTaZ5r6+6k4hpFTDWhRp85C1tg==} engines: {node: '>=12.0.0'} @@ -5359,9 +5132,6 @@ packages: querystringify@2.2.0: resolution: {integrity: sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==} - queue-microtask@1.2.3: - resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} - quick-format-unescaped@4.0.4: resolution: {integrity: sha512-tYC1Q1hgyRuHgloV/YXs2w15unPVh8qfu/qCTfhTYamaw7fyhumKa2yGpdSo87vY32rIclj+4fWYQXUMs9EHvg==} @@ -5463,10 +5233,6 @@ packages: resolve-alpn@1.2.1: resolution: {integrity: sha512-0a1F4l73/ZFZOakJnQ3FvkJ2+gSTQWz/r2KE5OdDY0TxPm5h4GkqkWWfM47T7HsbnOtcJVEF4epCVy6u7Q3K+g==} - resolve-from@4.0.0: - resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==} - engines: {node: '>=4'} - resolve-from@5.0.0: resolution: {integrity: sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==} engines: {node: '>=8'} @@ -5489,10 +5255,6 @@ packages: resolution: {integrity: sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==} engines: {node: '>= 4'} - reusify@1.0.4: - resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==} - engines: {iojs: '>=1.0.0', node: '>=0.10.0'} - rimraf@3.0.2: resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==} deprecated: Rimraf versions prior to v4 are no longer supported @@ -5528,9 +5290,6 @@ packages: resolution: {integrity: sha512-540WwVDOMxA6dN6We19EcT9sc3hkXPw5mzRNGM3FkdN/vtE9NFvj5lFAPNwUDmJjXidm3v7TC1cTE7t17Ulm1Q==} engines: {node: '>=0.12.0'} - run-parallel@1.2.0: - resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} - rxjs@6.6.7: resolution: {integrity: sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ==} engines: {npm: '>=2.0.0'} @@ -5671,10 +5430,6 @@ packages: resolution: {integrity: sha512-BPwJGUeDaDCHihkORDchNyyTvWFhcusy1XMmhEVTQTwGeybFbp8YEmB+njbPnth1FibULBSBVwCQni25XlCUDg==} engines: {node: '>=18'} - slash@3.0.0: - resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} - engines: {node: '>=8'} - slice-ansi@5.0.0: resolution: {integrity: sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ==} engines: {node: '>=12'} @@ -5871,9 +5626,6 @@ packages: resolution: {integrity: sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A==} engines: {node: '>=10'} - text-table@0.2.0: - resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==} - thenify-all@1.6.0: resolution: {integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==} engines: {node: '>=0.8'} @@ -5974,12 +5726,6 @@ packages: resolution: {integrity: sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==} hasBin: true - ts-api-utils@1.4.0: - resolution: {integrity: sha512-032cPxaEKwM+GT3vA5JXNzIaizx388rhsSW79vGRNGXfRRAdEAn2mvk36PvK5HnOchyWZ7afLEXqYCvPCrzuzQ==} - engines: {node: '>=16'} - peerDependencies: - typescript: '>=4.2.0' - ts-interface-checker@0.1.13: resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==} @@ -6048,10 +5794,6 @@ packages: tweetnacl@1.0.3: resolution: {integrity: sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw==} - type-check@0.4.0: - resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==} - engines: {node: '>= 0.8.0'} - type-detect@4.1.0: resolution: {integrity: sha512-Acylog8/luQ8L7il+geoSxhEkazvkslg7PSNKOX59mbB9cOveP5aq9h74Y7YU8yDpJwetzQQrfIwtf4Wp4LKcw==} engines: {node: '>=4'} @@ -6060,10 +5802,6 @@ packages: resolution: {integrity: sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg==} engines: {node: '>=10'} - type-fest@0.20.2: - resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==} - engines: {node: '>=10'} - type-fest@0.21.3: resolution: {integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==} engines: {node: '>=10'} @@ -6570,10 +6308,6 @@ packages: engines: {node: '>= 0.10.0'} hasBin: true - word-wrap@1.2.5: - resolution: {integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==} - engines: {node: '>=0.10.0'} - wordwrap@1.0.0: resolution: {integrity: sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==} @@ -6872,6 +6606,41 @@ snapshots: dependencies: '@polkadot/api': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) + '@biomejs/biome@1.9.4': + optionalDependencies: + '@biomejs/cli-darwin-arm64': 1.9.4 + '@biomejs/cli-darwin-x64': 1.9.4 + '@biomejs/cli-linux-arm64': 1.9.4 + '@biomejs/cli-linux-arm64-musl': 1.9.4 + '@biomejs/cli-linux-x64': 1.9.4 + '@biomejs/cli-linux-x64-musl': 1.9.4 + '@biomejs/cli-win32-arm64': 1.9.4 + '@biomejs/cli-win32-x64': 1.9.4 + + '@biomejs/cli-darwin-arm64@1.9.4': + optional: true + + '@biomejs/cli-darwin-x64@1.9.4': + optional: true + + '@biomejs/cli-linux-arm64-musl@1.9.4': + optional: true + + '@biomejs/cli-linux-arm64@1.9.4': + optional: true + + '@biomejs/cli-linux-x64-musl@1.9.4': + optional: true + + '@biomejs/cli-linux-x64@1.9.4': + optional: true + + '@biomejs/cli-win32-arm64@1.9.4': + optional: true + + '@biomejs/cli-win32-x64@1.9.4': + optional: true + '@colors/colors@1.5.0': optional: true @@ -7126,29 +6895,6 @@ snapshots: '@esbuild/win32-x64@0.24.0': optional: true - '@eslint-community/eslint-utils@4.4.1(eslint@8.57.0)': - dependencies: - eslint: 8.57.0 - eslint-visitor-keys: 3.4.3 - - '@eslint-community/regexpp@4.12.1': {} - - '@eslint/eslintrc@2.1.4': - dependencies: - ajv: 6.12.6 - debug: 4.3.7(supports-color@8.1.1) - espree: 9.6.1 - globals: 13.24.0 - ignore: 5.3.2 - import-fresh: 3.3.0 - js-yaml: 4.1.0 - minimatch: 3.1.2 - strip-json-comments: 3.1.1 - transitivePeerDependencies: - - supports-color - - '@eslint/js@8.57.0': {} - '@ethereumjs/common@2.6.5': dependencies: crc-32: 1.2.2 @@ -7315,18 +7061,6 @@ snapshots: '@gar/promisify@1.1.3': optional: true - '@humanwhocodes/config-array@0.11.14': - dependencies: - '@humanwhocodes/object-schema': 2.0.3 - debug: 4.3.7(supports-color@8.1.1) - minimatch: 3.1.2 - transitivePeerDependencies: - - supports-color - - '@humanwhocodes/module-importer@1.0.1': {} - - '@humanwhocodes/object-schema@2.0.3': {} - '@inquirer/checkbox@4.0.3(@types/node@22.10.1)': dependencies: '@inquirer/core': 10.1.1(@types/node@22.10.1) @@ -7846,18 +7580,6 @@ snapshots: '@noble/secp256k1@1.7.1': {} - '@nodelib/fs.scandir@2.1.5': - dependencies: - '@nodelib/fs.stat': 2.0.5 - run-parallel: 1.2.0 - - '@nodelib/fs.stat@2.0.5': {} - - '@nodelib/fs.walk@1.2.8': - dependencies: - '@nodelib/fs.scandir': 2.1.5 - fastq: 1.17.1 - '@npmcli/fs@1.1.1': dependencies: '@gar/promisify': 1.1.3 @@ -10297,8 +10019,6 @@ snapshots: '@types/json-bigint@1.0.4': {} - '@types/json-schema@7.0.15': {} - '@types/keyv@3.1.4': dependencies: '@types/node': 22.10.1 @@ -10383,94 +10103,6 @@ snapshots: dependencies: '@types/yargs-parser': 21.0.3 - '@typescript-eslint/eslint-plugin@7.5.0(@typescript-eslint/parser@7.5.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0)(typescript@5.6.3)': - dependencies: - '@eslint-community/regexpp': 4.12.1 - '@typescript-eslint/parser': 7.5.0(eslint@8.57.0)(typescript@5.6.3) - '@typescript-eslint/scope-manager': 7.5.0 - '@typescript-eslint/type-utils': 7.5.0(eslint@8.57.0)(typescript@5.6.3) - '@typescript-eslint/utils': 7.5.0(eslint@8.57.0)(typescript@5.6.3) - '@typescript-eslint/visitor-keys': 7.5.0 - debug: 4.3.7(supports-color@8.1.1) - eslint: 8.57.0 - graphemer: 1.4.0 - ignore: 5.3.2 - natural-compare: 1.4.0 - semver: 7.6.3 - ts-api-utils: 1.4.0(typescript@5.6.3) - optionalDependencies: - typescript: 5.6.3 - transitivePeerDependencies: - - supports-color - - '@typescript-eslint/parser@7.5.0(eslint@8.57.0)(typescript@5.6.3)': - dependencies: - '@typescript-eslint/scope-manager': 7.5.0 - '@typescript-eslint/types': 7.5.0 - '@typescript-eslint/typescript-estree': 7.5.0(typescript@5.6.3) - '@typescript-eslint/visitor-keys': 7.5.0 - debug: 4.3.7(supports-color@8.1.1) - eslint: 8.57.0 - optionalDependencies: - typescript: 5.6.3 - transitivePeerDependencies: - - supports-color - - '@typescript-eslint/scope-manager@7.5.0': - dependencies: - '@typescript-eslint/types': 7.5.0 - '@typescript-eslint/visitor-keys': 7.5.0 - - '@typescript-eslint/type-utils@7.5.0(eslint@8.57.0)(typescript@5.6.3)': - dependencies: - '@typescript-eslint/typescript-estree': 7.5.0(typescript@5.6.3) - '@typescript-eslint/utils': 7.5.0(eslint@8.57.0)(typescript@5.6.3) - debug: 4.3.7(supports-color@8.1.1) - eslint: 8.57.0 - ts-api-utils: 1.4.0(typescript@5.6.3) - optionalDependencies: - typescript: 5.6.3 - transitivePeerDependencies: - - supports-color - - '@typescript-eslint/types@7.5.0': {} - - '@typescript-eslint/typescript-estree@7.5.0(typescript@5.6.3)': - dependencies: - '@typescript-eslint/types': 7.5.0 - '@typescript-eslint/visitor-keys': 7.5.0 - debug: 4.3.7(supports-color@8.1.1) - globby: 11.1.0 - is-glob: 4.0.3 - minimatch: 9.0.3 - semver: 7.6.3 - ts-api-utils: 1.4.0(typescript@5.6.3) - optionalDependencies: - typescript: 5.6.3 - transitivePeerDependencies: - - supports-color - - '@typescript-eslint/utils@7.5.0(eslint@8.57.0)(typescript@5.6.3)': - dependencies: - '@eslint-community/eslint-utils': 4.4.1(eslint@8.57.0) - '@types/json-schema': 7.0.15 - '@types/semver': 7.5.8 - '@typescript-eslint/scope-manager': 7.5.0 - '@typescript-eslint/types': 7.5.0 - '@typescript-eslint/typescript-estree': 7.5.0(typescript@5.6.3) - eslint: 8.57.0 - semver: 7.6.3 - transitivePeerDependencies: - - supports-color - - typescript - - '@typescript-eslint/visitor-keys@7.5.0': - dependencies: - '@typescript-eslint/types': 7.5.0 - eslint-visitor-keys: 3.4.3 - - '@ungap/structured-clone@1.2.0': {} - '@unique-nft/opal-testnet-types@1003.70.0(@polkadot/api@14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10))(@polkadot/types@14.3.1)': dependencies: '@polkadot/api': 14.3.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) @@ -10642,10 +10274,6 @@ snapshots: mime-types: 2.1.35 negotiator: 0.6.3 - acorn-jsx@5.3.2(acorn@8.14.0): - dependencies: - acorn: 8.14.0 - acorn-walk@8.3.4: dependencies: acorn: 8.14.0 @@ -10731,8 +10359,6 @@ snapshots: array-flatten@1.1.1: {} - array-union@2.1.0: {} - asap@2.0.6: {} asn1@0.2.6: @@ -10840,6 +10466,7 @@ snapshots: dependencies: balanced-match: 1.0.2 concat-map: 0.0.1 + optional: true brace-expansion@2.0.1: dependencies: @@ -10945,8 +10572,6 @@ snapshots: get-intrinsic: 1.2.4 set-function-length: 1.2.2 - callsites@3.1.0: {} - camelcase@5.3.1: {} camelcase@6.3.0: {} @@ -11141,7 +10766,8 @@ snapshots: complex.js@2.4.2: {} - concat-map@0.0.1: {} + concat-map@0.0.1: + optional: true config-chain@1.1.13: dependencies: @@ -11292,8 +10918,6 @@ snapshots: deep-extend@0.6.0: {} - deep-is@0.1.4: {} - deepmerge-ts@7.1.3: {} defer-to-connect@2.0.1: {} @@ -11342,14 +10966,6 @@ snapshots: diff@5.2.0: {} - dir-glob@3.0.1: - dependencies: - path-type: 4.0.0 - - doctrine@3.0.0: - dependencies: - esutils: 2.0.3 - dom-walk@0.1.2: {} dotenv@16.4.5: {} @@ -11568,65 +11184,6 @@ snapshots: escape-string-regexp@4.0.0: {} - eslint-plugin-unused-imports@3.1.0(@typescript-eslint/eslint-plugin@7.5.0(@typescript-eslint/parser@7.5.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0): - dependencies: - eslint: 8.57.0 - eslint-rule-composer: 0.3.0 - optionalDependencies: - '@typescript-eslint/eslint-plugin': 7.5.0(@typescript-eslint/parser@7.5.0(eslint@8.57.0)(typescript@5.6.3))(eslint@8.57.0)(typescript@5.6.3) - - eslint-rule-composer@0.3.0: {} - - eslint-scope@7.2.2: - dependencies: - esrecurse: 4.3.0 - estraverse: 5.3.0 - - eslint-visitor-keys@3.4.3: {} - - eslint@8.57.0: - dependencies: - '@eslint-community/eslint-utils': 4.4.1(eslint@8.57.0) - '@eslint-community/regexpp': 4.12.1 - '@eslint/eslintrc': 2.1.4 - '@eslint/js': 8.57.0 - '@humanwhocodes/config-array': 0.11.14 - '@humanwhocodes/module-importer': 1.0.1 - '@nodelib/fs.walk': 1.2.8 - '@ungap/structured-clone': 1.2.0 - ajv: 6.12.6 - chalk: 4.1.2 - cross-spawn: 7.0.5 - debug: 4.3.7(supports-color@8.1.1) - doctrine: 3.0.0 - escape-string-regexp: 4.0.0 - eslint-scope: 7.2.2 - eslint-visitor-keys: 3.4.3 - espree: 9.6.1 - esquery: 1.6.0 - esutils: 2.0.3 - fast-deep-equal: 3.1.3 - file-entry-cache: 6.0.1 - find-up: 5.0.0 - glob-parent: 6.0.2 - globals: 13.24.0 - graphemer: 1.4.0 - ignore: 5.3.2 - imurmurhash: 0.1.4 - is-glob: 4.0.3 - is-path-inside: 3.0.3 - js-yaml: 4.1.0 - json-stable-stringify-without-jsonify: 1.0.1 - levn: 0.4.1 - lodash.merge: 4.6.2 - minimatch: 3.1.2 - natural-compare: 1.4.0 - optionator: 0.9.4 - strip-ansi: 6.0.1 - text-table: 0.2.0 - transitivePeerDependencies: - - supports-color - esniff@2.0.1: dependencies: d: 1.0.2 @@ -11634,28 +11191,10 @@ snapshots: event-emitter: 0.3.5 type: 2.7.3 - espree@9.6.1: - dependencies: - acorn: 8.14.0 - acorn-jsx: 5.3.2(acorn@8.14.0) - eslint-visitor-keys: 3.4.3 - - esquery@1.6.0: - dependencies: - estraverse: 5.3.0 - - esrecurse@4.3.0: - dependencies: - estraverse: 5.3.0 - - estraverse@5.3.0: {} - estree-walker@3.0.3: dependencies: '@types/estree': 1.0.6 - esutils@2.0.3: {} - etag@1.8.1: {} eth-ens-namehash@2.0.8: @@ -11864,28 +11403,14 @@ snapshots: fast-deep-equal@3.1.3: {} - fast-glob@3.3.2: - dependencies: - '@nodelib/fs.stat': 2.0.5 - '@nodelib/fs.walk': 1.2.8 - glob-parent: 5.1.2 - merge2: 1.4.1 - micromatch: 4.0.8 - fast-json-stable-stringify@2.1.0: {} - fast-levenshtein@2.0.6: {} - fast-redact@3.5.0: {} fast-safe-stringify@2.1.1: {} fast-sha256@1.3.0: {} - fastq@1.17.1: - dependencies: - reusify: 1.0.4 - fdir@6.4.2(picomatch@4.0.2): optionalDependencies: picomatch: 4.0.2 @@ -11906,10 +11431,6 @@ snapshots: dependencies: is-unicode-supported: 2.1.0 - file-entry-cache@6.0.1: - dependencies: - flat-cache: 3.2.0 - file-uri-to-path@1.0.0: {} fill-range@7.1.1: @@ -11933,12 +11454,6 @@ snapshots: locate-path: 6.0.0 path-exists: 4.0.0 - flat-cache@3.2.0: - dependencies: - flatted: 3.3.1 - keyv: 4.5.4 - rimraf: 3.0.2 - flat@5.0.2: {} flatted@3.3.1: {} @@ -12068,10 +11583,6 @@ snapshots: dependencies: is-glob: 4.0.3 - glob-parent@6.0.2: - dependencies: - is-glob: 4.0.3 - glob@10.4.5: dependencies: foreground-child: 3.3.0 @@ -12089,6 +11600,7 @@ snapshots: minimatch: 3.1.2 once: 1.4.0 path-is-absolute: 1.0.1 + optional: true glob@8.1.0: dependencies: @@ -12112,24 +11624,11 @@ snapshots: min-document: 2.19.0 process: 0.11.10 - globals@13.24.0: - dependencies: - type-fest: 0.20.2 - globalthis@1.0.4: dependencies: define-properties: 1.2.1 gopd: 1.0.1 - globby@11.1.0: - dependencies: - array-union: 2.1.0 - dir-glob: 3.0.1 - fast-glob: 3.3.2 - ignore: 5.3.2 - merge2: 1.4.1 - slash: 3.0.0 - gopd@1.0.1: dependencies: get-intrinsic: 1.2.4 @@ -12170,8 +11669,6 @@ snapshots: graceful-readlink@1.0.1: {} - graphemer@1.4.0: {} - handlebars@4.7.8: dependencies: minimist: 1.2.8 @@ -12324,17 +11821,10 @@ snapshots: ieee754@1.2.1: {} - ignore@5.3.2: {} - immediate@3.2.3: {} immediate@3.3.0: {} - import-fresh@3.3.0: - dependencies: - parent-module: 1.0.1 - resolve-from: 4.0.0 - imurmurhash@0.1.4: {} indent-string@4.0.0: @@ -12471,8 +11961,6 @@ snapshots: is-number@7.0.0: {} - is-path-inside@3.0.3: {} - is-plain-obj@2.1.0: {} is-plain-obj@4.1.0: {} @@ -12583,8 +12071,6 @@ snapshots: json-schema@0.4.0: {} - json-stable-stringify-without-jsonify@1.0.1: {} - json-stable-stringify@1.1.1: dependencies: call-bind: 1.0.7 @@ -12682,11 +12168,6 @@ snapshots: level-supports: 1.0.1 xtend: 4.0.2 - levn@0.4.1: - dependencies: - prelude-ls: 1.2.1 - type-check: 0.4.0 - libp2p-crypto@0.21.2: dependencies: '@noble/ed25519': 1.7.3 @@ -12859,8 +12340,6 @@ snapshots: merge-stream@2.0.0: {} - merge2@1.4.1: {} - merkle-patricia-tree@4.2.4: dependencies: '@types/levelup': 4.3.3 @@ -13007,11 +12486,6 @@ snapshots: transitivePeerDependencies: - supports-color - micromatch@4.0.8: - dependencies: - braces: 3.0.3 - picomatch: 2.3.1 - mime-db@1.52.0: {} mime-types@2.1.35: @@ -13039,15 +12513,12 @@ snapshots: minimatch@3.1.2: dependencies: brace-expansion: 1.1.11 + optional: true minimatch@5.1.6: dependencies: brace-expansion: 2.0.1 - minimatch@9.0.3: - dependencies: - brace-expansion: 2.0.1 - minimatch@9.0.5: dependencies: brace-expansion: 2.0.1 @@ -13225,8 +12696,6 @@ snapshots: napi-maybe-compressed-blob-linux-arm64-gnu: 0.0.11 napi-maybe-compressed-blob-linux-x64-gnu: 0.0.11 - natural-compare@1.4.0: {} - negotiator@0.6.3: {} negotiator@0.6.4: @@ -13377,15 +12846,6 @@ snapshots: dependencies: mimic-function: 5.0.1 - optionator@0.9.4: - dependencies: - deep-is: 0.1.4 - fast-levenshtein: 2.0.6 - levn: 0.4.1 - prelude-ls: 1.2.1 - type-check: 0.4.0 - word-wrap: 1.2.5 - ora@8.1.1: dependencies: chalk: 5.3.0 @@ -13435,10 +12895,6 @@ snapshots: pako@2.1.0: {} - parent-module@1.0.1: - dependencies: - callsites: 3.1.0 - parse-headers@2.0.5: {} parse-json@8.1.0: @@ -13467,7 +12923,8 @@ snapshots: path-exists@4.0.0: {} - path-is-absolute@1.0.1: {} + path-is-absolute@1.0.1: + optional: true path-key@3.1.1: {} @@ -13480,8 +12937,6 @@ snapshots: path-to-regexp@0.1.10: {} - path-type@4.0.0: {} - pathe@1.1.2: {} pathval@1.1.1: {} @@ -13673,8 +13128,6 @@ snapshots: tar-fs: 2.1.1 tunnel-agent: 0.6.0 - prelude-ls@1.2.1: {} - prettier-plugin-jsdoc@0.3.38(prettier@2.8.8): dependencies: binary-searching: 2.0.5 @@ -13765,8 +13218,6 @@ snapshots: querystringify@2.2.0: {} - queue-microtask@1.2.3: {} - quick-format-unescaped@4.0.4: {} quick-lru@5.1.1: {} @@ -13887,8 +13338,6 @@ snapshots: resolve-alpn@1.2.1: {} - resolve-from@4.0.0: {} - resolve-from@5.0.0: {} resolve-pkg-maps@1.0.0: {} @@ -13910,11 +13359,10 @@ snapshots: retry@0.12.0: optional: true - reusify@1.0.4: {} - rimraf@3.0.2: dependencies: glob: 7.2.3 + optional: true ripemd160@2.0.2: dependencies: @@ -13966,10 +13414,6 @@ snapshots: run-async@3.0.0: {} - run-parallel@1.2.0: - dependencies: - queue-microtask: 1.2.3 - rxjs@6.6.7: dependencies: tslib: 1.14.1 @@ -14129,8 +13573,6 @@ snapshots: mrmime: 2.0.0 totalist: 3.0.1 - slash@3.0.0: {} - slice-ansi@5.0.0: dependencies: ansi-styles: 6.2.1 @@ -14403,8 +13845,6 @@ snapshots: mkdirp: 1.0.4 yallist: 4.0.0 - text-table@0.2.0: {} - thenify-all@1.6.0: dependencies: thenify: 3.3.1 @@ -14491,10 +13931,6 @@ snapshots: tree-kill@1.2.2: {} - ts-api-utils@1.4.0(typescript@5.6.3): - dependencies: - typescript: 5.6.3 - ts-interface-checker@0.1.13: {} ts-node@10.9.2(@types/node@22.10.1)(typescript@5.6.3): @@ -14623,16 +14059,10 @@ snapshots: tweetnacl@1.0.3: {} - type-check@0.4.0: - dependencies: - prelude-ls: 1.2.1 - type-detect@4.1.0: {} type-fest@0.13.1: {} - type-fest@0.20.2: {} - type-fest@0.21.3: {} type-fest@4.29.0: {} @@ -15374,8 +14804,6 @@ snapshots: define-property: 1.0.0 is-number: 3.0.0 - word-wrap@1.2.5: {} - wordwrap@1.0.0: {} workerpool@6.5.1: {} diff --git a/precompiles/identity/src/lib.rs b/precompiles/identity/src/lib.rs index 74ba4e7f2d..b5246100f2 100644 --- a/precompiles/identity/src/lib.rs +++ b/precompiles/identity/src/lib.rs @@ -86,13 +86,11 @@ where // Note: addRegistrar(address) & killIdentity(address) are not supported since they use a // force origin. - // editorconfig-checker-disable #[precompile::public("setIdentity((((bool,bytes),(bool,bytes))[],(bool,bytes),(bool,bytes),(bool,bytes),(bool,bytes),(bool,bytes),bool,bytes,(bool,bytes),(bool,bytes)))")] fn set_identity( handle: &mut impl PrecompileHandle, info: IdentityInfo, ) -> EvmResult { - // editorconfig-checker-enable let caller = handle.context().caller; let event = log1( diff --git a/runtime/moonbase/tests/integration_test.rs b/runtime/moonbase/tests/integration_test.rs index e03577dde3..9cc5ef1a25 100644 --- a/runtime/moonbase/tests/integration_test.rs +++ b/runtime/moonbase/tests/integration_test.rs @@ -1776,7 +1776,6 @@ fn length_fee_is_sensible() { .len_fee }; - // editorconfig-checker-disable // left: cost of length fee, right: size in bytes // /------------- proportional component: O(N * 1B) // | /- exponential component: O(N ** 3) @@ -1790,7 +1789,6 @@ fn length_fee_is_sensible() { assert_eq!( 1_001_000_000_000_000_000, calc_fee(1_000_000)); // one UNIT, ~ 1MB assert_eq!( 1_000_010_000_000_000_000_000, calc_fee(10_000_000)); assert_eq!(1_000_000_100_000_000_000_000_000, calc_fee(100_000_000)); - // editorconfig-checker-enable }); } diff --git a/runtime/moonbeam/tests/integration_test.rs b/runtime/moonbeam/tests/integration_test.rs index 0dc042db5e..c56a3c2da1 100644 --- a/runtime/moonbeam/tests/integration_test.rs +++ b/runtime/moonbeam/tests/integration_test.rs @@ -1317,7 +1317,6 @@ fn length_fee_is_sensible() { .len_fee }; - // editorconfig-checker-disable // left: cost of length fee, right: size in bytes // /------------- proportional component: O(N * 1B) // | /- exponential component: O(N ** 3) @@ -1331,7 +1330,6 @@ fn length_fee_is_sensible() { assert_eq!( 100_100_000_000_000_000_000, calc_fee(1_000_000)); // 100 GLMR, ~ 1MB assert_eq!( 100_001_000_000_000_000_000_000, calc_fee(10_000_000)); assert_eq!(100_000_010_000_000_000_000_000_000, calc_fee(100_000_000)); - // editorconfig-checker-enable }); } diff --git a/runtime/moonriver/tests/integration_test.rs b/runtime/moonriver/tests/integration_test.rs index 37bcd6b0f1..66787031e1 100644 --- a/runtime/moonriver/tests/integration_test.rs +++ b/runtime/moonriver/tests/integration_test.rs @@ -1303,7 +1303,6 @@ fn length_fee_is_sensible() { .len_fee }; - // editorconfig-checker-disable // left: cost of length fee, right: size in bytes // /------------- proportional component: O(N * 1B) // | /- exponential component: O(N ** 3) @@ -1317,7 +1316,6 @@ fn length_fee_is_sensible() { assert_eq!( 1_001_000_000_000_000_000, calc_fee(1_000_000)); // one MOVR, ~ 1MB assert_eq!( 1_000_010_000_000_000_000_000, calc_fee(10_000_000)); assert_eq!(1_000_000_100_000_000_000_000_000, calc_fee(100_000_000)); - // editorconfig-checker-enable }); } diff --git a/test/.eslintrc.cjs b/test/.eslintrc.cjs deleted file mode 100644 index 40514289ac..0000000000 --- a/test/.eslintrc.cjs +++ /dev/null @@ -1,30 +0,0 @@ -module.exports = { - env: { - es2021: true, - node: true, - }, - extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended"], - overrides: [ - { - env: { - node: true, - }, - files: [".eslintrc.{js,cjs}"], - parserOptions: { - sourceType: "script", - }, - }, - ], - parser: "@typescript-eslint/parser", - parserOptions: { - ecmaVersion: "latest", - sourceType: "module", - }, - plugins: ["@typescript-eslint", "unused-imports"], - rules: { - "@typescript-eslint/no-explicit-any": "off", - "no-async-promise-executor": "off", - "@typescript-eslint/no-unused-vars": "off", - "unused-imports/no-unused-imports-ts": "error", - }, -}; \ No newline at end of file diff --git a/test/biome.json b/test/biome.json new file mode 100644 index 0000000000..6640232a64 --- /dev/null +++ b/test/biome.json @@ -0,0 +1,9 @@ +{ + "extends": [ + "../biome.json" + ], + "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json", + "files": { + "ignore": ["html"] + } +} \ No newline at end of file diff --git a/test/helpers/accounts.ts b/test/helpers/accounts.ts index 5f6ec333d6..f03eb4b727 100644 --- a/test/helpers/accounts.ts +++ b/test/helpers/accounts.ts @@ -1,5 +1,11 @@ -import { DevModeContext } from "@moonwall/cli"; -import { GLMR, KeyringPair, MIN_GLMR_STAKING, alith, generateKeyringPair } from "@moonwall/util"; +import type { DevModeContext } from "@moonwall/cli"; +import { + GLMR, + type KeyringPair, + MIN_GLMR_STAKING, + alith, + generateKeyringPair, +} from "@moonwall/util"; export async function createAccounts( context: DevModeContext, diff --git a/test/helpers/assets.ts b/test/helpers/assets.ts index 9cb3389cfc..bccdc750b6 100644 --- a/test/helpers/assets.ts +++ b/test/helpers/assets.ts @@ -1,9 +1,9 @@ import "@moonbeam-network/api-augment/moonbase"; -import { u128 } from "@polkadot/types"; +import type { u128 } from "@polkadot/types"; import { BN, hexToU8a, u8aToHex } from "@polkadot/util"; -import { expect, DevModeContext } from "@moonwall/cli"; +import { expect, type DevModeContext } from "@moonwall/cli"; import { blake2AsU8a, xxhashAsU8a } from "@polkadot/util-crypto"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import type { PalletAssetsAssetAccount, PalletAssetsAssetDetails, @@ -70,29 +70,30 @@ export function assetContractAddress(assetId: bigint | string): `0x${string}` { } export const patchLocationV4recursively = (value: any) => { + let result = value; // e.g. Convert this: { X1: { Parachain: 1000 } } to { X1: [ { Parachain: 1000 } ] } // Also, will remove the Xcm key if it exists. - if (value && value.Xcm !== undefined) { - value = value.Xcm; + if (result && result.Xcm !== undefined) { + result = result.Xcm; } - if (value && typeof value == "object") { - if (Array.isArray(value)) { - return value.map(patchLocationV4recursively); + if (result && typeof result === "object") { + if (Array.isArray(result)) { + return result.map(patchLocationV4recursively); } - for (const k of Object.keys(value)) { + for (const k of Object.keys(result)) { if (k === "Concrete" || k === "Abstract") { - return patchLocationV4recursively(value[k]); + return patchLocationV4recursively(result[k]); } - if (k.match(/^[Xx]\d$/g) && !Array.isArray(value[k])) { - value[k] = Object.entries(value[k]).map(([k, v]) => ({ + if (k.match(/^[Xx]\d$/g) && !Array.isArray(result[k])) { + result[k] = Object.entries(result[k]).map(([k, v]) => ({ [k]: patchLocationV4recursively(v), })); } else { - value[k] = patchLocationV4recursively(value[k]); + result[k] = patchLocationV4recursively(result[k]); } } } - return value; + return result; }; const runtimeApi = { @@ -243,7 +244,7 @@ function getSupportedAssetStorageKey(asset: any, context: any) { export async function addAssetToWeightTrader(asset: any, relativePrice: bigint, context: any) { const assetV4 = patchLocationV4recursively(asset.Xcm); - if (relativePrice == 0n) { + if (relativePrice === 0n) { const addAssetWithPlaceholderPrice = context .polkadotJs() .tx.sudo.sudo(context.polkadotJs().tx.xcmWeightTrader.addAsset(assetV4, 1n)); @@ -397,7 +398,7 @@ export async function registerForeignAsset( const { decimals, name, symbol } = metadata; // Sanitize Xcm Location - xcmLocation = patchLocationV4recursively(xcmLocation); + const xcmLoc = patchLocationV4recursively(xcmLocation); const { result } = await context.createBlock( context @@ -405,7 +406,7 @@ export async function registerForeignAsset( .tx.sudo.sudo( context .polkadotJs() - .tx.evmForeignAssets.createForeignAsset(assetId, xcmLocation, decimals, symbol, name) + .tx.evmForeignAssets.createForeignAsset(assetId, xcmLoc, decimals, symbol, name) ) ); @@ -547,9 +548,9 @@ export async function mockOldAssetBalance( // Get keys to modify total supply & dummyCode (TODO: remove once dummy code inserted by node) const assetKey = xxhashAsU8a(new TextEncoder().encode("Asset"), 128); const overallAssetKey = new Uint8Array([...module, ...assetKey, ...blake2concatAssetId]); - const evmCodeAssetKey = api.query.evm.accountCodes.key("0xFfFFfFff" + assetId.toHex().slice(2)); + const evmCodeAssetKey = api.query.evm.accountCodes.key(`0xFfFFfFff${assetId.toHex().slice(2)}`); const evmCodesMetadataAssetKey = api.query.evm.accountCodesMetadata.key( - "0xFfFFfFff" + assetId.toHex().slice(2) + `0xFfFFfFff${assetId.toHex().slice(2)}` ); const codeSize = DUMMY_REVERT_BYTECODE.slice(2).length / 2; diff --git a/test/helpers/block.ts b/test/helpers/block.ts index c8f3ac0e78..a2ab88991f 100644 --- a/test/helpers/block.ts +++ b/test/helpers/block.ts @@ -1,21 +1,21 @@ import "@moonbeam-network/api-augment/moonbase"; -import { DevModeContext, expect } from "@moonwall/cli"; +import { type DevModeContext, expect } from "@moonwall/cli"; import { - BlockRangeOption, + type BlockRangeOption, EXTRINSIC_BASE_WEIGHT, WEIGHT_PER_GAS, calculateFeePortions, mapExtrinsics, } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import type { TxWithEvent } from "@polkadot/api-derive/types"; -import { Option, u128, u32 } from "@polkadot/types"; +import type { Option, u128, u32 } from "@polkadot/types"; import type { ITuple } from "@polkadot/types-codec/types"; -import { BlockHash, DispatchInfo, RuntimeDispatchInfo } from "@polkadot/types/interfaces"; +import type { BlockHash, DispatchInfo, RuntimeDispatchInfo } from "@polkadot/types/interfaces"; import type { RuntimeDispatchInfoV1 } from "@polkadot/types/interfaces/payment"; import type { AccountId20, Block } from "@polkadot/types/interfaces/runtime/types"; import chalk from "chalk"; -import { Debugger } from "debug"; +import type { Debugger } from "debug"; import Debug from "debug"; const debug = Debug("test:blocks"); @@ -47,9 +47,10 @@ const getBlockDetails = async ( const fees = await Promise.all( block.extrinsics.map(async (ext) => - ( - await api.at(block.header.parentHash) - ).call.transactionPaymentApi.queryInfo(ext.toU8a(), ext.encodedLength) + (await api.at(block.header.parentHash)).call.transactionPaymentApi.queryInfo( + ext.toU8a(), + ext.encodedLength + ) ) ); @@ -120,10 +121,10 @@ export const verifyBlockFees = async ( // This hash will only exist if the transaction was executed through ethereum. let ethereumAddress = ""; - if (extrinsic.method.section == "ethereum") { + if (extrinsic.method.section === "ethereum") { // Search for ethereum execution events.forEach((event) => { - if (event.section == "ethereum" && event.method == "Executed") { + if (event.section === "ethereum" && event.method === "Executed") { ethereumAddress = event.data[0].toString(); } }); @@ -131,7 +132,7 @@ export const verifyBlockFees = async ( // Payment event is submitted for substrate transactions const paymentEvent = events.find( - (event) => event.section == "transactionPayment" && event.method == "TransactionFeePaid" + (event) => event.section === "transactionPayment" && event.method === "TransactionFeePaid" ); let txFees = 0n; @@ -144,7 +145,7 @@ export const verifyBlockFees = async ( api.events.system.ExtrinsicFailed.is(event) ) { const dispatchInfo = - event.method == "ExtrinsicSuccess" + event.method === "ExtrinsicSuccess" ? (event.data[0] as DispatchInfo) : (event.data[1] as DispatchInfo); @@ -152,9 +153,9 @@ export const verifyBlockFees = async ( // Either ethereum transactions or signed extrinsics with fees (substrate tx) if ( (dispatchInfo.paysFee.isYes && !extrinsic.signer.isEmpty) || - extrinsic.method.section == "ethereum" + extrinsic.method.section === "ethereum" ) { - if (extrinsic.method.section == "ethereum") { + if (extrinsic.method.section === "ethereum") { // For Ethereum tx we caluculate fee by first converting weight to gas const gasUsed = (dispatchInfo as any).weight.refTime.toBigInt() / WEIGHT_PER_GAS; const ethTxWrapper = extrinsic.method.args[0] as any; @@ -308,7 +309,8 @@ export async function jumpToRound(context: DevModeContext, round: number): Promi ).current.toNumber(); if (currentRound === round) { return lastBlockHash; - } else if (currentRound > round) { + } + if (currentRound > round) { return null; } @@ -317,9 +319,10 @@ export async function jumpToRound(context: DevModeContext, round: number): Promi } export async function jumpBlocks(context: DevModeContext, blockCount: number) { - while (blockCount > 0) { + let blocksToCreate = blockCount; + while (blocksToCreate > 0) { (await context.createBlock()).block.hash.toString(); - blockCount--; + blocksToCreate--; } } @@ -350,7 +353,8 @@ export function extractPreimageDeposit( accountId: deposit.unwrap()[0].toHex(), amount: deposit.unwrap()[1], }; - } else if ("isNone" in deposit && deposit.isNone) { + } + if ("isNone" in deposit && deposit.isNone) { return undefined; } diff --git a/test/helpers/common.ts b/test/helpers/common.ts index a46cc9abaa..65abc49a3a 100644 --- a/test/helpers/common.ts +++ b/test/helpers/common.ts @@ -1,8 +1,8 @@ -import { DevModeContext, importJsonConfig } from "@moonwall/cli"; -import { ApiPromise } from "@polkadot/api"; -import { u32 } from "@polkadot/types"; +import { type DevModeContext, importJsonConfig } from "@moonwall/cli"; +import type { ApiPromise } from "@polkadot/api"; +import type { u32 } from "@polkadot/types"; import { EXTRINSIC_VERSION } from "@polkadot/types/extrinsic/v4/Extrinsic"; -import { createMetadata, KeyringPair, OptionsWithMeta } from "@substrate/txwrapper-core"; +import { createMetadata, type KeyringPair, type OptionsWithMeta } from "@substrate/txwrapper-core"; import Bottleneck from "bottleneck"; export function rateLimiter(options?: Bottleneck.ConstructorOptions) { @@ -53,7 +53,7 @@ export async function getMappingInfo(context: DevModeContext, authorId: string) export async function getProviderPath() { const globalConfig = await importJsonConfig(); - const env = globalConfig.environments.find(({ name }) => name == process.env.MOON_TEST_ENV)!; + const env = globalConfig.environments.find(({ name }) => name === process.env.MOON_TEST_ENV)!; return env.connections ? env.connections[0].endpoints[0].replace("ws://", "http://") : `http://127.0.0.1:${10000 + Number(process.env.VITEST_POOL_ID || 1) * 100}`; diff --git a/test/helpers/constants.ts b/test/helpers/constants.ts index d729a87420..fe892ca3ef 100644 --- a/test/helpers/constants.ts +++ b/test/helpers/constants.ts @@ -1,11 +1,11 @@ // constants.ts - Any common values here should be moved to moonwall if suitable +import type { GenericContext } from "@moonwall/cli"; import { ALITH_GENESIS_FREE_BALANCE, ALITH_GENESIS_LOCK_BALANCE, ALITH_GENESIS_RESERVE_BALANCE, } from "@moonwall/util"; -import { GenericContext } from "@moonwall/types/dist/types/runner"; const KILOWEI = 1_000n; diff --git a/test/helpers/contracts.ts b/test/helpers/contracts.ts index dac654068a..8be231f552 100644 --- a/test/helpers/contracts.ts +++ b/test/helpers/contracts.ts @@ -1,4 +1,4 @@ -import { DevModeContext } from "@moonwall/cli"; +import type { DevModeContext } from "@moonwall/cli"; import { ALITH_ADDRESS, alith } from "@moonwall/util"; export interface HeavyContract { diff --git a/test/helpers/crowdloan.ts b/test/helpers/crowdloan.ts index e0a4a485ee..48ac36ecad 100644 --- a/test/helpers/crowdloan.ts +++ b/test/helpers/crowdloan.ts @@ -1,5 +1,5 @@ import "@moonbeam-network/api-augment"; -import { DevModeContext } from "@moonwall/cli"; +import type { DevModeContext } from "@moonwall/cli"; import { VESTING_PERIOD } from "./constants.js"; export async function calculate_vested_amount( diff --git a/test/helpers/eth-transactions.ts b/test/helpers/eth-transactions.ts index c9837c9aa5..df0e414797 100644 --- a/test/helpers/eth-transactions.ts +++ b/test/helpers/eth-transactions.ts @@ -1,13 +1,14 @@ import "@moonbeam-network/api-augment"; -import { DevModeContext, expect } from "@moonwall/cli"; -import { EventRecord } from "@polkadot/types/interfaces"; -import { +import { type DevModeContext, expect } from "@moonwall/cli"; +import type { EventRecord } from "@polkadot/types/interfaces"; +import type { EvmCoreErrorExitError, EvmCoreErrorExitFatal, EvmCoreErrorExitReason, EvmCoreErrorExitRevert, EvmCoreErrorExitSucceed, } from "@polkadot/types/lookup"; +import assert from "node:assert"; import { fromHex } from "viem"; export type Errors = { @@ -18,7 +19,10 @@ export type Errors = { }; export async function extractRevertReason(context: DevModeContext, responseHash: string) { - const tx = (await context.ethers().provider!.getTransaction(responseHash))!; + const tx = await context.ethers().provider?.getTransaction(responseHash); + + assert(tx, "Transaction not found"); + try { await context.ethers().call({ to: tx.to, data: tx.data, gasLimit: tx.gasLimit }); return null; @@ -33,18 +37,18 @@ export function expectEVMResult( resultType: Type, reason?: T[Type] ) { - expect(events, `Missing events, probably failed execution`).to.be.length.at.least(1); + expect(events, "Missing events, probably failed execution").to.be.length.at.least(1); const ethereumResult = events.find( - ({ event: { section, method } }) => section == "ethereum" && method == "Executed" + ({ event: { section, method } }) => section === "ethereum" && method === "Executed" )!.event.data[3] as EvmCoreErrorExitReason; const foundReason = ethereumResult.isError ? ethereumResult.asError.type : ethereumResult.isFatal - ? ethereumResult.asFatal.type - : ethereumResult.isRevert - ? ethereumResult.asRevert.type - : ethereumResult.asSucceed.type; + ? ethereumResult.asFatal.type + : ethereumResult.isRevert + ? ethereumResult.asRevert.type + : ethereumResult.asSucceed.type; expect( ethereumResult.type, diff --git a/test/helpers/expect.ts b/test/helpers/expect.ts index 146a004d6e..212679b822 100644 --- a/test/helpers/expect.ts +++ b/test/helpers/expect.ts @@ -1,12 +1,12 @@ -import { BlockCreationResponse, expect } from "@moonwall/cli"; +import { type BlockCreationResponse, expect } from "@moonwall/cli"; import type { EventRecord } from "@polkadot/types/interfaces"; -import { +import type { ApiTypes, AugmentedEvent, AugmentedEvents, SubmittableExtrinsic, } from "@polkadot/api/types"; -import { IEvent } from "@polkadot/types/types"; +import type { IEvent } from "@polkadot/types/types"; export type ExtractTuple

= P extends AugmentedEvent<"rxjs", infer T> ? T : never; @@ -22,7 +22,7 @@ export async function expectOk< ApiType, // @ts-expect-error TODO: fix this Calls extends Call[] ? Awaited[] : Awaited - > + >, >(call: Promise): Promise { const block = await call; if (Array.isArray(block.result)) { @@ -56,7 +56,7 @@ export function expectSubstrateEvent< Event extends AugmentedEvents, Section extends keyof Event, Method extends keyof Event[Section], - Tuple extends ExtractTuple + Tuple extends ExtractTuple, >( //@ts-expect-error TODO: fix this block: BlockCreationResponse[] : Awaited>, @@ -67,7 +67,7 @@ export function expectSubstrateEvent< if (Array.isArray(block.result)) { block.result.forEach((r) => { const foundEvents = r.events.filter( - ({ event }) => event.section.toString() == section && event.method.toString() == method + ({ event }) => event.section.toString() === section && event.method.toString() === method ); if (foundEvents.length > 0) { expect( @@ -84,7 +84,7 @@ export function expectSubstrateEvent< } else { const foundEvents = (block.result! as any).events!.filter( (item: any) => - item.event.section.toString() == section && item.event.method.toString() == method + item.event.section.toString() === section && item.event.method.toString() === method ); if (foundEvents.length > 0) { expect( @@ -97,10 +97,10 @@ export function expectSubstrateEvent< expect( event, `Event ${section.toString()}.${method.toString()} not found:\n${(Array.isArray(block.result) - ? block.result.map((r) => r.events).flat() + ? block.result.flatMap((r) => r.events) : block.result - ? block.result.events - : [] + ? block.result.events + : [] ) .map(({ event }) => ` - ${event.section.toString()}.${event.method.toString()}\n`) .join("")}` @@ -119,7 +119,7 @@ export function expectSubstrateEvents< Event extends AugmentedEvents, Section extends keyof Event, Method extends keyof Event[Section], - Tuple extends ExtractTuple + Tuple extends ExtractTuple, >( //@ts-expect-error TODO: fix this block: BlockCreationResponse[] : Awaited>, @@ -130,7 +130,7 @@ export function expectSubstrateEvents< if (Array.isArray(block.result)) { block.result.forEach((r) => { const foundEvents = r.events.filter( - ({ event }) => event.section.toString() == section && event.method.toString() == method + ({ event }) => event.section.toString() === section && event.method.toString() === method ); if (foundEvents.length > 0) { events.push(...foundEvents); @@ -139,7 +139,7 @@ export function expectSubstrateEvents< } else { const foundEvents = (block.result! as any).events.filter( (item: any) => - item.event.section.toString() == section && item.event.method.toString() == method + item.event.section.toString() === section && item.event.method.toString() === method ); if (foundEvents.length > 0) { events.push(...foundEvents); diff --git a/test/helpers/foreign-chains.ts b/test/helpers/foreign-chains.ts index 027b28f5bc..da1095e39b 100644 --- a/test/helpers/foreign-chains.ts +++ b/test/helpers/foreign-chains.ts @@ -55,7 +55,8 @@ export const isMuted = (moonbeamNetworkName: MoonbeamNetworkName, paraId: ParaId const currentTime = new Date().getTime(); return match.mutedUntil && match.mutedUntil >= currentTime; - } else return false; + } + return false; }; export const ForeignChainsEndpoints = [ diff --git a/test/helpers/modexp.ts b/test/helpers/modexp.ts index 68511bcd52..5f03fd4669 100644 --- a/test/helpers/modexp.ts +++ b/test/helpers/modexp.ts @@ -1,4 +1,3 @@ -// editorconfig-checker-disable-file export const testVectors = { "nagydani-1-square": { base: "e09ad9675465c53a109fac66a445c91b292d2bb2c5268addb30cd82f80fcb0033ff97c80a5fc6f39193ae969c6ede6710a6b7ac27078a06d90ef1c72e5c85fb5", diff --git a/test/helpers/precompile-contract-calls.ts b/test/helpers/precompile-contract-calls.ts index be9fc195a0..7313982cc6 100644 --- a/test/helpers/precompile-contract-calls.ts +++ b/test/helpers/precompile-contract-calls.ts @@ -1,5 +1,5 @@ -import { BlockCreation, DevModeContext, PrecompileCallOptions } from "@moonwall/cli"; -import { KeyringPair } from "@moonwall/util"; +import type { BlockCreation, DevModeContext, PrecompileCallOptions } from "@moonwall/cli"; +import type { KeyringPair } from "@moonwall/util"; class PrecompileContract { precompileName: string; @@ -36,7 +36,7 @@ class PrecompileContract { } withRawTxOnly(rawTxOnly: boolean) { - if (rawTxOnly == false) { + if (rawTxOnly === false) { this.rawTxOnly = undefined; } return this; @@ -105,28 +105,12 @@ export class PrecompileCall { } class ReadPrecompileCall extends PrecompileCall { - constructor( - params: PrecompileCallOptions, - context: DevModeContext, - blockCreationOptions: BlockCreation - ) { - super(params, context, blockCreationOptions); - } - async tx(): Promise { return await this.context.readPrecompile!(this.params); } } class WritePrecompileCall extends PrecompileCall { - constructor( - params: PrecompileCallOptions, - context: DevModeContext, - blockCreationOptions: BlockCreation - ) { - super(params, context, blockCreationOptions); - } - async tx(): Promise { return await this.context.writePrecompile!(this.params); } diff --git a/test/helpers/precompiles.ts b/test/helpers/precompiles.ts index edfeab3ea2..4e74565ba3 100644 --- a/test/helpers/precompiles.ts +++ b/test/helpers/precompiles.ts @@ -1,4 +1,4 @@ -import { DevModeContext, expect, fetchCompiledContract } from "@moonwall/cli"; +import { type DevModeContext, expect, fetchCompiledContract } from "@moonwall/cli"; import { BALTATHAR_PRIVATE_KEY, CHARLETH_PRIVATE_KEY, @@ -9,7 +9,7 @@ import { charleth, createViemTransaction, } from "@moonwall/util"; -import { ApiTypes, SubmittableExtrinsic } from "@polkadot/api/types"; +import type { ApiTypes, SubmittableExtrinsic } from "@polkadot/api/types"; import { blake2AsHex } from "@polkadot/util-crypto"; import { encodeFunctionData, parseEther } from "viem"; import { expectEVMResult } from "./eth-transactions.js"; @@ -19,7 +19,7 @@ export const setAuthorMappingKeysViaPrecompile = async ( account: string, privateKey: `0x${string}`, keys: string, - handleFail: boolean = false + handleFail = false ) => { const { abi: authorMappingAbi } = fetchCompiledContract("AuthorMapping"); @@ -59,7 +59,7 @@ export const concatNewKeys = `0x${newKeys.map((key) => key.slice(2)).join("")}`; export const notePreimagePrecompile = async < Call extends SubmittableExtrinsic, - ApiType extends ApiTypes + ApiType extends ApiTypes, >( context: DevModeContext, proposal: Call @@ -86,7 +86,7 @@ export const notePreimagePrecompile = async < export async function getAuthorMappingInfo( context: DevModeContext, authorId: string -): Promise { +): Promise { const mapping = await context.polkadotJs().query.authorMapping.mappingWithDeposit(authorId); if (mapping.isSome) { return { diff --git a/test/helpers/providers.ts b/test/helpers/providers.ts index 275db8a563..2c55830da1 100644 --- a/test/helpers/providers.ts +++ b/test/helpers/providers.ts @@ -1,5 +1,5 @@ -import { LogsSubscription } from "node_modules/web3/lib/types/eth.exports.js"; -import { Log, Web3 } from "web3"; +import type { LogsSubscription } from "node_modules/web3/lib/types/eth.exports.js"; +import type { Log, Web3 } from "web3"; export async function web3SubscribeHistoricalLogs( web3: Web3, diff --git a/test/helpers/randomness.ts b/test/helpers/randomness.ts index 2476d6d8f2..148e4fc452 100644 --- a/test/helpers/randomness.ts +++ b/test/helpers/randomness.ts @@ -1,11 +1,11 @@ -import { DevModeContext } from "@moonwall/cli"; +import type { DevModeContext } from "@moonwall/cli"; import { BALTATHAR_PRIVATE_KEY, CHARLETH_PRIVATE_KEY, DOROTHY_PRIVATE_KEY, alith, } from "@moonwall/util"; -import { PalletRandomnessRandomnessResult } from "@polkadot/types/lookup"; +import type { PalletRandomnessRandomnessResult } from "@polkadot/types/lookup"; import { nToHex } from "@polkadot/util"; import { fromBytes, parseEther } from "viem"; diff --git a/test/helpers/referenda.ts b/test/helpers/referenda.ts index d5497e28f2..c668780517 100644 --- a/test/helpers/referenda.ts +++ b/test/helpers/referenda.ts @@ -1,6 +1,6 @@ import "@moonbeam-network/api-augment"; -import { DevModeContext } from "@moonwall/cli"; -import { FrameSupportPreimagesBounded } from "@polkadot/types/lookup"; +import type { DevModeContext } from "@moonwall/cli"; +import type { FrameSupportPreimagesBounded } from "@polkadot/types/lookup"; import chalk from "chalk"; import Debugger from "debug"; @@ -56,22 +56,22 @@ export const forceReducedReferendaExecution = async ( }; if (forceTally) { const totalIssuance = (await api.query.balances.totalIssuance()).toBigInt(); - fastProposalData["tally"] = { + fastProposalData.tally = { ayes: totalIssuance - 1n, nays: 0, support: totalIssuance - 1n, }; } - let fastProposal; + let fastProposal: any; try { fastProposal = api.registry.createType( - `Option`, + "Option", fastProposalData ); } catch { fastProposal = api.registry.createType( - `Option`, + "Option", fastProposalData ); } @@ -100,7 +100,8 @@ export const forceReducedReferendaExecution = async ( } const callData = api.createType("Call", call.asInline.toHex()); return ( - callData.method == "nudgeReferendum" && (callData.args[0] as any).toNumber() == proposalIndex + callData.method === "nudgeReferendum" && + (callData.args[0] as any).toNumber() === proposalIndex ); }); @@ -120,7 +121,7 @@ export const forceReducedReferendaExecution = async ( await moveScheduledCallTo( context, 2, - (call) => call.isLookup && call.asLookup.toHex() == callHash + (call) => call.isLookup && call.asLookup.toHex() === callHash ); log( @@ -169,7 +170,7 @@ async function moveScheduledCallTo( } } - if (storages.length == 0) { + if (storages.length === 0) { throw new Error("No scheduled call found"); } await context.createBlock( diff --git a/test/helpers/round.ts b/test/helpers/round.ts index 3b93c63f82..54229d84a6 100644 --- a/test/helpers/round.ts +++ b/test/helpers/round.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; -import { ApiPromise } from "@polkadot/api"; -import { PalletParachainStakingRoundInfo } from "@polkadot/types/lookup"; -import { BN, BN_ONE, BN_ZERO } from "@polkadot/util"; +import type { ApiPromise } from "@polkadot/api"; +import type { PalletParachainStakingRoundInfo } from "@polkadot/types/lookup"; +import { type BN, BN_ONE, BN_ZERO } from "@polkadot/util"; /* * Get any block of a given round. diff --git a/test/helpers/staking.ts b/test/helpers/staking.ts index b92338be78..4ebb81110b 100644 --- a/test/helpers/staking.ts +++ b/test/helpers/staking.ts @@ -1,5 +1,5 @@ import "@moonbeam-network/api-augment"; -import { DevModeContext } from "@moonwall/cli"; +import type { DevModeContext } from "@moonwall/cli"; export async function getRewardedAndCompoundedEvents(context: DevModeContext, blockHash: string) { return ( diff --git a/test/helpers/storageQueries.ts b/test/helpers/storageQueries.ts index 0ee205504e..0cb879712a 100644 --- a/test/helpers/storageQueries.ts +++ b/test/helpers/storageQueries.ts @@ -1,4 +1,4 @@ -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import Debugger from "debug"; import { rateLimiter } from "./common.js"; @@ -50,7 +50,7 @@ export async function processAllStorage( prefixes.map(async (prefix) => limiter.schedule(async () => { let startKey: string | undefined = undefined; - loop: for (;;) { + for (;;) { // @ts-expect-error _rpcCore is not yet exposed const keys: string = await api._rpcCore.provider.send("state_getKeysPaged", [ prefix, @@ -60,7 +60,7 @@ export async function processAllStorage( ]); if (!keys.length) { - break loop; + break; } // @ts-expect-error _rpcCore is not yet exposed @@ -83,7 +83,7 @@ export async function processAllStorage( total += keys.length; if (keys.length !== maxKeys) { - break loop; + break; } startKey = keys[keys.length - 1]; } diff --git a/test/helpers/tracingFns.ts b/test/helpers/tracingFns.ts index 33e5706640..3e5fa75648 100644 --- a/test/helpers/tracingFns.ts +++ b/test/helpers/tracingFns.ts @@ -1,6 +1,10 @@ -import { DevModeContext, customDevRpcRequest, deployCreateCompiledContract } from "@moonwall/cli"; +import { + type DevModeContext, + customDevRpcRequest, + deployCreateCompiledContract, +} from "@moonwall/cli"; import { alith, createEthersTransaction } from "@moonwall/util"; -import { Abi, encodeFunctionData } from "viem"; +import { type Abi, encodeFunctionData } from "viem"; export async function createContracts(context: DevModeContext) { let nonce = await context.viem().getTransactionCount({ address: alith.address as `0x${string}` }); diff --git a/test/helpers/transactions.ts b/test/helpers/transactions.ts index bde2eb9510..b3792506cb 100644 --- a/test/helpers/transactions.ts +++ b/test/helpers/transactions.ts @@ -1,5 +1,5 @@ // Ethers is used to handle post-london transactions -import { DevModeContext } from "@moonwall/cli"; +import type { DevModeContext } from "@moonwall/cli"; import { createViemTransaction } from "@moonwall/util"; import type { ApiPromise } from "@polkadot/api"; import type { SubmittableExtrinsic } from "@polkadot/api/promise/types"; @@ -17,7 +17,7 @@ export async function rpcToLocalNode( method: string, params: any[] = [] ): Promise { - return fetch("http://localhost:" + rpcPort, { + return fetch(`http://localhost:${rpcPort}`, { body: JSON.stringify({ id: 1, jsonrpc: "2.0", @@ -37,9 +37,8 @@ export async function rpcToLocalNode( throw new Error(`${error.code} ${error.message}: ${JSON.stringify(error.data)}`); } return result; - } else { - throw new Error("Unexpected response format"); } + throw new Error("Unexpected response format"); }); } @@ -63,7 +62,7 @@ export const sendAllStreamAndWaitLast = async ( chunk.map((tx) => { return new Promise(async (resolve, reject) => { const timer = setTimeout(() => { - reject(`timed out`); + reject("timed out"); unsub(); }, timeout); const unsub = await tx.send((result) => { @@ -105,9 +104,10 @@ export async function sendPrecompileTx( } else { throw new Error(`selector doesn't exist on the precompile contract`); } - parameters.forEach((para: string) => { - data += para.slice(2).padStart(64, "0"); - }); + + for (const param of parameters) { + data += param.slice(2).padStart(64, "0"); + } return context.createBlock( createViemTransaction(context, { diff --git a/test/helpers/voting.ts b/test/helpers/voting.ts index e768e45d53..d0fd174abb 100644 --- a/test/helpers/voting.ts +++ b/test/helpers/voting.ts @@ -1,8 +1,8 @@ -import { DevModeContext, filterAndApply } from "@moonwall/cli"; +import { type DevModeContext, filterAndApply } from "@moonwall/cli"; import { alith, baltathar } from "@moonwall/util"; import { expectSubstrateEvent } from "./expect.js"; -import { KeyringPair } from "@polkadot/keyring/types"; -import { ApiTypes, SubmittableExtrinsic } from "@polkadot/api/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; +import type { ApiTypes, SubmittableExtrinsic } from "@polkadot/api/types"; export async function createProposal({ context, @@ -23,7 +23,7 @@ export async function createProposal({ await context .polkadotJs() .tx.referenda.submit( - track == "root" ? { system: "root" } : { Origins: track }, + track === "root" ? { system: "root" } : { Origins: track }, { Lookup: { Hash: call.hash.toHex(), len: call.method.encodedLength } }, { After: 1 } ) @@ -49,7 +49,7 @@ export const OPEN_TECHNICAL_COMMITTEE_THRESHOLD = Math.ceil( export const executeExtViaOpenTechCommittee = async < Call extends SubmittableExtrinsic, - ApiType extends ApiTypes + ApiType extends ApiTypes, >( context: DevModeContext, extrinsic: Call | string, diff --git a/test/helpers/wormhole.ts b/test/helpers/wormhole.ts index 24742eba56..59391d5a28 100644 --- a/test/helpers/wormhole.ts +++ b/test/helpers/wormhole.ts @@ -2,14 +2,14 @@ import { SigningKey } from "ethers"; import { encodePacked, keccak256, pad, toBytes } from "viem"; function encode(type: string, val: any) { - if (type == "uint8") return encodePacked(["uint8"], [val]).slice(2); - if (type == "uint16") return encodePacked(["uint16"], [val]).slice(2); - if (type == "uint32") return encodePacked(["uint32"], [val]).slice(2); - if (type == "uint64") return encodePacked(["uint64"], [val]).slice(2); - if (type == "uint128") return encodePacked(["uint128"], [val]).slice(2); - if (type == "address32") return pad(encodePacked(["address"], [`0x${val.slice(-40)}`])).slice(2); - if (type == "uint256") return encodePacked(["uint256"], [val]).slice(2); - if (type == "bytes32") + if (type === "uint8") return encodePacked(["uint8"], [val]).slice(2); + if (type === "uint16") return encodePacked(["uint16"], [val]).slice(2); + if (type === "uint32") return encodePacked(["uint32"], [val]).slice(2); + if (type === "uint64") return encodePacked(["uint64"], [val]).slice(2); + if (type === "uint128") return encodePacked(["uint128"], [val]).slice(2); + if (type === "address32") return pad(encodePacked(["address"], [`0x${val.slice(-40)}`])).slice(2); + if (type === "uint256") return encodePacked(["uint256"], [val]).slice(2); + if (type === "bytes32") return encodePacked(["bytes32"], [pad(val as `0x${string}`, { size: 32 })]).slice(2); } @@ -35,7 +35,7 @@ export async function createSignedVAA( payload.slice(2), ]; - const hash = keccak256(keccak256(("0x" + body.join("")) as `0x${string}`)); + const hash = keccak256(keccak256(`0x${body.join("")}` as `0x${string}`)); let signatures = ""; for (const i in signers) { @@ -114,8 +114,8 @@ export async function genAssetMeta( encode("address32", tokenAddress), encode("uint16", tokenChain), encode("uint8", decimals), - encode("bytes32", "0x" + Buffer.from(symbol).toString("hex")), - encode("bytes32", "0x" + Buffer.from(name).toString("hex")), + encode("bytes32", `0x${Buffer.from(symbol).toString("hex")}`), + encode("bytes32", `0x${Buffer.from(name).toString("hex")}`), ]; const seconds = Math.floor(new Date().getTime() / 1000.0); diff --git a/test/helpers/xcm.ts b/test/helpers/xcm.ts index 3fae235449..2fb34da13d 100644 --- a/test/helpers/xcm.ts +++ b/test/helpers/xcm.ts @@ -1,12 +1,12 @@ -import { DevModeContext, customDevRpcRequest } from "@moonwall/cli"; +import { type DevModeContext, customDevRpcRequest } from "@moonwall/cli"; import { ALITH_ADDRESS } from "@moonwall/util"; -import { XcmpMessageFormat } from "@polkadot/types/interfaces"; -import { +import type { XcmpMessageFormat } from "@polkadot/types/interfaces"; +import type { CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, XcmV3JunctionNetworkId, XcmVersionedXcm, } from "@polkadot/types/lookup"; -import { BN, stringToU8a, u8aToHex } from "@polkadot/util"; +import { type BN, stringToU8a, u8aToHex } from "@polkadot/util"; import { xxhashAsU8a } from "@polkadot/util-crypto"; import { RELAY_V3_SOURCE_LOCATION } from "./assets.js"; @@ -75,7 +75,7 @@ export function mockHrmpChannelExistanceTx( export function descendOriginFromAddress20( context: DevModeContext, address: `0x${string}` = "0x0101010101010101010101010101010101010101", - paraId: number = 1 + paraId = 1 ) { const toHash = new Uint8Array([ ...new TextEncoder().encode("SiblingChain"), @@ -266,7 +266,7 @@ export class XcmFragment { // Add one or more `BuyExecution` instruction // if weight_limit is not set in config, then we put unlimited - buy_execution(fee_index: number = 0, repeat: bigint = 1n): this { + buy_execution(fee_index = 0, repeat = 1n): this { const weightLimit = this.config.weight_limit != null ? { Limited: this.config.weight_limit } @@ -289,7 +289,7 @@ export class XcmFragment { // Add one or more `BuyExecution` instruction // if weight_limit is not set in config, then we put unlimited - refund_surplus(repeat: bigint = 1n): this { + refund_surplus(repeat = 1n): this { for (let i = 0; i < repeat; i++) { this.instructions.push({ RefundSurplus: null, @@ -299,7 +299,7 @@ export class XcmFragment { } // Add a `ClaimAsset` instruction - claim_asset(index: number = 0): this { + claim_asset(index = 0): this { this.instructions.push({ ClaimAsset: { assets: [ @@ -321,7 +321,7 @@ export class XcmFragment { } // Add a `ClearOrigin` instruction - clear_origin(repeat: bigint = 1n): this { + clear_origin(repeat = 1n): this { for (let i = 0; i < repeat; i++) { this.instructions.push({ ClearOrigin: null as any }); } @@ -348,10 +348,7 @@ export class XcmFragment { } // Add a `DepositAsset` instruction - deposit_asset( - max_assets: bigint = 1n, - network: "Any" | XcmV3JunctionNetworkId["type"] = "Any" - ): this { + deposit_asset(max_assets = 1n, network: "Any" | XcmV3JunctionNetworkId["type"] = "Any"): this { if (this.config.beneficiary == null) { console.warn("!Building a DepositAsset instruction without a configured beneficiary"); } @@ -369,10 +366,7 @@ export class XcmFragment { } // Add a `DepositAsset` instruction for xcm v3 - deposit_asset_v3( - max_assets: bigint = 1n, - network: XcmV3JunctionNetworkId["type"] | null = null - ): this { + deposit_asset_v3(max_assets = 1n, network: XcmV3JunctionNetworkId["type"] | null = null): this { if (this.config.beneficiary == null) { console.warn("!Building a DepositAsset instruction without a configured beneficiary"); } @@ -456,7 +450,8 @@ export class XcmFragment { // Utility function to support functional style method call chaining bound to `this` context with(callback: (this: this) => void): this { - return callback.call(this), this; + callback.call(this); + return this; } // Pushes the given instruction @@ -483,7 +478,7 @@ export class XcmFragment { as_v4(): any { const patchLocationV4recursively = (value: any) => { // e.g. Convert this: { X1: { Parachain: 1000 } } to { X1: [ { Parachain: 1000 } ] } - if (value && typeof value == "object") { + if (value && typeof value === "object") { if (Array.isArray(value)) { return value.map(patchLocationV4recursively); } @@ -508,14 +503,14 @@ export class XcmFragment { } // Add a `BurnAsset` instruction - burn_asset(amount: bigint = 0n): this { + burn_asset(amount = 0n): this { this.instructions.push({ BurnAsset: this.config.assets.map(({ multilocation, fungible }) => { return { id: { Concrete: multilocation, }, - fun: { Fungible: amount == 0n ? fungible : amount }, + fun: { Fungible: amount === 0n ? fungible : amount }, }; }, this), }); @@ -570,7 +565,7 @@ export class XcmFragment { } // Add a `ExpectError` instruction - expect_error(index: number = 0, error: string = "Unimplemented"): this { + expect_error(index = 0, error = "Unimplemented"): this { this.instructions.push({ ExpectError: [index, error], }); @@ -578,7 +573,7 @@ export class XcmFragment { } // Add a `ExpectTransactStatus` instruction - expect_transact_status(status: string = "Success"): this { + expect_transact_status(status = "Success"): this { this.instructions.push({ ExpectTransactStatus: status, }); @@ -589,7 +584,7 @@ export class XcmFragment { query_pallet( destination: MultiLocation = { parents: 1, interior: { X1: { Parachain: 1000 } } }, query_id: number = Math.floor(Math.random() * 1000), - module_name: string = "pallet_balances", + module_name = "pallet_balances", max_weight: { refTime: bigint; proofSize: bigint } = { refTime: 1_000_000_000n, proofSize: 1_000_000_000n, @@ -610,11 +605,11 @@ export class XcmFragment { // Add a `ExpectPallet` instruction expect_pallet( - index: number = 0, - name: string = "Balances", - module_name: string = "pallet_balances", - crate_major: number = 4, - min_crate_minor: number = 0 + index = 0, + name = "Balances", + module_name = "pallet_balances", + crate_major = 4, + min_crate_minor = 0 ): this { this.instructions.push({ ExpectPallet: { @@ -665,7 +660,7 @@ export class XcmFragment { // Add a `ExportMessage` instruction export_message( - xcm_hex: string = "", + xcm_hex = "", network: "Any" | XcmV3JunctionNetworkId["type"] = "Ethereum", destination: Junctions = { X1: { Parachain: 1000 } } ): this { @@ -770,7 +765,7 @@ export class XcmFragment { } // Add a `SetFeesMode` instruction - set_fees_mode(jit_withdraw: boolean = true): this { + set_fees_mode(jit_withdraw = true): this { this.instructions.push({ SetFeesMode: { jit_withdraw }, }); @@ -778,7 +773,7 @@ export class XcmFragment { } // Add a `SetTopic` instruction - set_topic(topic: string = "0xk89103a9CF04c71Dbc94D0b566f7A2"): this { + set_topic(topic = "0xk89103a9CF04c71Dbc94D0b566f7A2"): this { this.instructions.push({ SetTopic: Array.from(stringToU8a(topic)), }); @@ -835,7 +830,7 @@ export class XcmFragment { const instructions = message.asV2; for (let i = 0; i < instructions.length; i++) { - if (instructions[i].isBuyExecution == true) { + if (instructions[i].isBuyExecution === true) { const newWeight = await weightMessage(context, message); this.instructions[i] = { BuyExecution: { diff --git a/test/package.json b/test/package.json index 7c90fedc50..cfbd72b024 100644 --- a/test/package.json +++ b/test/package.json @@ -9,10 +9,11 @@ "bundle-types": "cd ../moonbeam-types-bundle && pnpm build; cd ../test", "typegen": "pnpm bundle-types && cd ../typescript-api && pnpm scrape && pnpm generate && pnpm build; cd ../test", "clean": "rm -rf node_modules", - "fmt": "prettier --check --trailing-comma es5 --ignore-path ../.prettierignore '**/*.(yml|js|ts|json)'", - "fmt:fix": "prettier --write --trailing-comma es5 --ignore-path ../.prettierignore '**/*.(yml|js|ts|json)'", - "lint": "eslint './helpers/**/*.ts' './suites/**/*.ts'", - "lint:fix": "eslint './helpers/**/*.ts' './suites/**/*.ts' --fix", + "fmt": "biome format .", + "fmt:fix": "biome format --write .", + "check": "biome check .", + "check:fix": "biome check . --write", + "lint": "biome lint .", "compile-solidity": "tsx scripts/compile-contracts.ts compile", "typecheck": "pnpm tsc --noEmit" }, @@ -21,6 +22,7 @@ "license": "ISC", "dependencies": { "@acala-network/chopsticks": "1.0.1", + "@biomejs/biome": "*", "@moonbeam-network/api-augment": "workspace:*", "@moonwall/cli": "5.9.1", "@moonwall/util": "5.9.1", @@ -64,14 +66,9 @@ "@types/node": "*", "@types/semver": "7.5.8", "@types/yargs": "17.0.33", - "@typescript-eslint/eslint-plugin": "7.5.0", - "@typescript-eslint/parser": "7.5.0", "bottleneck": "2.19.5", "debug": "4.3.7", - "eslint": "8.57.0", - "eslint-plugin-unused-imports": "3.1.0", "inquirer": "12.2.0", - "prettier": "*", "typescript": "*", "yargs": "17.7.2" }, diff --git a/test/scripts/combine-imports.ts b/test/scripts/combine-imports.ts index 4728ba91f7..daa44fff34 100644 --- a/test/scripts/combine-imports.ts +++ b/test/scripts/combine-imports.ts @@ -2,8 +2,8 @@ // useful for old test cases that had multiple imports from helpers in the same file. // Usage: pnpm tsx ./scripts/combine-imports.ts -import fs from "fs/promises"; -import { join } from "path"; +import fs from "node:fs/promises"; +import { join } from "node:path"; const processFile = async (filePath: string): Promise => { const content = await fs.readFile(filePath, "utf-8"); @@ -11,12 +11,13 @@ const processFile = async (filePath: string): Promise => { const importRegex = /import \{ ([^\}]+) \} from "\.\.\/\.\.\/\.\.\/helpers";/g; const allImports: string[] = []; - let match; let firstMatchIndex = -1; - while ((match = importRegex.exec(content)) !== null) { + let match = importRegex.exec(content); + while (match !== null) { if (firstMatchIndex === -1) firstMatchIndex = match.index; allImports.push(match[1].trim()); + match = importRegex.exec(content); } if (allImports.length > 0) { diff --git a/test/scripts/compile-contracts.ts b/test/scripts/compile-contracts.ts index b7d83e73d9..52624b13a9 100644 --- a/test/scripts/compile-contracts.ts +++ b/test/scripts/compile-contracts.ts @@ -1,16 +1,16 @@ -import { CompiledContract } from "@moonwall/cli"; +import type { CompiledContract } from "@moonwall/cli"; import chalk from "chalk"; -import fs from "fs/promises"; -import path from "path"; +import fs from "node:fs/promises"; +import path from "node:path"; import solc from "solc"; -import { Abi } from "viem"; -import crypto from "crypto"; +import type { Abi } from "viem"; +import crypto from "node:crypto"; import yargs from "yargs"; import { hideBin } from "yargs/helpers"; -let sourceByReference = {} as { [ref: string]: string }; -let countByReference = {} as { [ref: string]: number }; -let refByContract = {} as { [contract: string]: string }; +const sourceByReference = {} as { [ref: string]: string }; +const countByReference = {} as { [ref: string]: number }; +const refByContract = {} as { [contract: string]: string }; let contractMd5 = {} as { [contract: string]: string }; const solcVersion = solc.version(); @@ -85,7 +85,7 @@ async function main(args: any) { const contracts = (await getFiles(contractPath.filepath)).filter((filename) => filename.endsWith(".sol") ); - for (let filepath of contracts) { + for (const filepath of contracts) { const ref = filepath .replace(contractPath.filepath, contractPath.importPath) .replace(/^\//, ""); @@ -112,7 +112,7 @@ async function main(args: any) { for (const contract of Object.keys(sourceToCompile)) { const path = filePaths.find((path) => path.includes(contract)); const contractHash = computeHash((await fs.readFile(path!)).toString()); - if (contractHash != contractMd5[contract]) { + if (contractHash !== contractMd5[contract]) { console.log(` - Change in ${chalk.yellow(contract)}, compiling ⚙️`); contractsToCompile.push(contract); } else if (args.argv.Verbose) { @@ -130,12 +130,12 @@ async function main(args: any) { await compile(ref, outputDirectory); await fs.writeFile(tempFile, JSON.stringify(contractMd5, null, 2)); - } catch (e) { + } catch (e: any) { console.log(`Failed to compile: ${ref}`); if (e.errors) { - e.errors.forEach((error) => { + for (const error of e.errors) { console.log(error.formattedMessage); - }); + } } else { console.log(e); } @@ -163,9 +163,6 @@ const getImports = (fileRef: string) => (dependency: string) => { return { contents: sourceByReference[localRef] }; } base = path.dirname(base); - if (base == ".") { - continue; - } } return { error: "Source not found" }; }; @@ -202,15 +199,18 @@ function compileSolidity( if (!result.contracts) { throw result; } - return Object.keys(result.contracts[filename]).reduce((p, contractName) => { - p[contractName] = { - byteCode: ("0x" + - result.contracts[filename][contractName].evm.bytecode.object) as `0x${string}`, - contract: result.contracts[filename][contractName], - sourceCode: contractContent, - }; - return p; - }, {} as { [name: string]: CompiledContract }); + return Object.keys(result.contracts[filename]).reduce( + (p, contractName) => { + p[contractName] = { + byteCode: + `0x${result.contracts[filename][contractName].evm.bytecode.object}` as `0x${string}`, + contract: result.contracts[filename][contractName], + sourceCode: contractContent, + }; + return p; + }, + {} as { [name: string]: CompiledContract } + ); } // Shouldn't be run concurrently with the same 'name' @@ -231,9 +231,7 @@ async function compile( if (refByContract[dest]) { console.warn( chalk.red( - `Contract ${contractName} already exist from ` + - `${refByContract[dest]}. ` + - `Erasing previous version` + `Contract ${contractName} already exist from ${refByContract[dest]}. Erasing previous version` ) ); } diff --git a/test/scripts/compile-wasm.ts b/test/scripts/compile-wasm.ts index 5091123d60..a7d782ba18 100644 --- a/test/scripts/compile-wasm.ts +++ b/test/scripts/compile-wasm.ts @@ -1,6 +1,6 @@ -import fs from "fs/promises"; -import path from "path"; -import child_process from "child_process"; +import fs from "node:fs/promises"; +import path from "node:path"; +import child_process from "node:child_process"; import yargs from "yargs"; import { hideBin } from "yargs/helpers"; @@ -40,7 +40,7 @@ yargs(hideBin(process.argv)) async function spawn(cmd: string) { return new Promise((resolve, reject) => { - var spawned = child_process.spawn(cmd, { shell: true }); + const spawned = child_process.spawn(cmd, { shell: true }); let errData = ""; let outData = ""; diff --git a/test/scripts/fast-execute-chopstick-proposal.ts b/test/scripts/fast-execute-chopstick-proposal.ts index fc82b49bb0..cfe561480f 100644 --- a/test/scripts/fast-execute-chopstick-proposal.ts +++ b/test/scripts/fast-execute-chopstick-proposal.ts @@ -204,7 +204,8 @@ const main = async () => { } const callData = api.createType("Call", call.asInline.toHex()); return ( - callData.method == "nudgeReferendum" && (callData.args[0] as any).toNumber() == proposalIndex + callData.method === "nudgeReferendum" && + (callData.args[0] as any).toNumber() === proposalIndex ); }); @@ -221,7 +222,7 @@ const main = async () => { (await api.rpc.chain.getHeader()).number.toNumber() + 2 )}` ); - await moveScheduledCallTo(api, 1, (call) => call.isLookup && call.asLookup.toHex() == callHash); + await moveScheduledCallTo(api, 1, (call) => call.isLookup && call.asLookup.toHex() === callHash); console.log( `${chalk.yellow("Fast forward")} ${chalk.green(1)} to #${chalk.green( diff --git a/test/scripts/get-sample-evm-txs.ts b/test/scripts/get-sample-evm-txs.ts index 5f3cde2645..04718ff533 100644 --- a/test/scripts/get-sample-evm-txs.ts +++ b/test/scripts/get-sample-evm-txs.ts @@ -1,7 +1,7 @@ import { runtimes } from "helpers/runtimes"; -import { Chain, createPublicClient, http } from "viem"; -import fs from "fs"; -import path from "path"; +import { type Chain, createPublicClient, http } from "viem"; +import fs from "node:fs"; +import path from "node:path"; interface Network { name: string; @@ -61,7 +61,7 @@ const main = async () => { `Generating tracing samples for networks ${networks.flatMap((n) => n.name).join(", ")}` ); networks.forEach(async (network) => { - let samples: Sample[] = []; + const samples: Sample[] = []; const chain = createChain(network); const client = createPublicClient({ chain, @@ -97,7 +97,7 @@ const main = async () => { const sample: Sample = { network: network.name, runtime: runtime.specVersion, - blockNumber: parseInt(block.number.toString()), + blockNumber: Number.parseInt(block.number.toString()), txHash: block.transactions[0], }; samples.push(sample); diff --git a/test/scripts/modify-plain-specs.ts b/test/scripts/modify-plain-specs.ts index 434ba04a41..becf2dc006 100644 --- a/test/scripts/modify-plain-specs.ts +++ b/test/scripts/modify-plain-specs.ts @@ -1,4 +1,4 @@ -import fs from "fs/promises"; +import fs from "node:fs/promises"; import yargs from "yargs"; import { hideBin } from "yargs/helpers"; import { ALITH_ADDRESS } from "@moonwall/util"; diff --git a/test/scripts/preapprove-rt-rawspec.ts b/test/scripts/preapprove-rt-rawspec.ts index 0cc1fbbbe4..8ac76d8c94 100644 --- a/test/scripts/preapprove-rt-rawspec.ts +++ b/test/scripts/preapprove-rt-rawspec.ts @@ -1,4 +1,4 @@ -import fs from "fs/promises"; +import fs from "node:fs/promises"; import yargs from "yargs"; import { hideBin } from "yargs/helpers"; import { convertExponentials } from "@zombienet/utils"; diff --git a/test/scripts/prepare-lazy-loading-overrides.ts b/test/scripts/prepare-lazy-loading-overrides.ts index 8a570c0a1b..cce2981c35 100644 --- a/test/scripts/prepare-lazy-loading-overrides.ts +++ b/test/scripts/prepare-lazy-loading-overrides.ts @@ -1,4 +1,4 @@ -import fs from "fs/promises"; +import fs from "node:fs/promises"; import yargs from "yargs"; import { hideBin } from "yargs/helpers"; import { convertExponentials } from "@zombienet/utils"; diff --git a/test/scripts/update-local-types.ts b/test/scripts/update-local-types.ts index adeeb4aa03..8e9945dfb2 100644 --- a/test/scripts/update-local-types.ts +++ b/test/scripts/update-local-types.ts @@ -1,9 +1,8 @@ -import { exec, spawn } from "child_process"; -import { promisify } from "util"; -import { join, dirname } from "path"; -import { fileURLToPath } from "url"; -import { readFileSync, writeFileSync } from "fs"; -import { start } from "repl"; +import { exec, spawn } from "node:child_process"; +import { promisify } from "node:util"; +import { join, dirname } from "node:path"; +import { fileURLToPath } from "node:url"; +import { readFileSync, writeFileSync } from "node:fs"; const execAsync = promisify(exec); @@ -53,14 +52,14 @@ const startNode = (network: string, rpcPort: string, port: string) => { const node = spawn( "../target/release/moonbeam", [ - `--alice`, + "--alice", `--chain=${network}`, `--rpc-port=${rpcPort}`, - `--no-hardware-benchmarks`, - `--unsafe-force-node-key-generation`, - `--wasm-execution=interpreted-i-know-what-i-do`, - `--no-telemetry`, - `--no-prometheus`, + "--no-hardware-benchmarks", + "--unsafe-force-node-key-generation", + "--wasm-execution=interpreted-i-know-what-i-do", + "--no-telemetry", + "--no-prometheus", "--tmp", ], { @@ -87,7 +86,7 @@ const scrapeMetadata = async (network: string, port: string) => { const metadataJson = await metadata.json(); writeFile( - `../../typescript-api`, + "../../typescript-api", `metadata-${network.replace("-dev", "")}.json`, JSON.stringify(metadataJson) ); diff --git a/test/suites/chopsticks/test-upgrade-chain.ts b/test/suites/chopsticks/test-upgrade-chain.ts index bb8fca976a..381ae3c43e 100644 --- a/test/suites/chopsticks/test-upgrade-chain.ts +++ b/test/suites/chopsticks/test-upgrade-chain.ts @@ -4,12 +4,12 @@ import { beforeAll, describeSuite, expect, - ChopsticksContext, + type ChopsticksContext, } from "@moonwall/cli"; import { alith } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; -import { HexString } from "@polkadot/util/types"; -import { u32 } from "@polkadot/types"; +import type { ApiPromise } from "@polkadot/api"; +import type { HexString } from "@polkadot/util/types"; +import type { u32 } from "@polkadot/types"; import { hexToU8a, u8aConcat, u8aToHex } from "@polkadot/util"; import { blake2AsHex, xxhashAsU8a } from "@polkadot/util-crypto"; import { parseEther } from "ethers"; diff --git a/test/suites/dev/common/test-block/test-block-mocked-relay.ts b/test/suites/dev/common/test-block/test-block-mocked-relay.ts index 1c35bce321..a14cbae6ba 100644 --- a/test/suites/dev/common/test-block/test-block-mocked-relay.ts +++ b/test/suites/dev/common/test-block/test-block-mocked-relay.ts @@ -1,6 +1,6 @@ import "@moonbeam-network/api-augment"; import { expect, describeSuite, beforeAll } from "@moonwall/cli"; -import { CumulusPrimitivesParachainInherentParachainInherentData } from "@polkadot/types/lookup"; +import type { CumulusPrimitivesParachainInherentParachainInherentData } from "@polkadot/types/lookup"; describeSuite({ id: "D010405", diff --git a/test/suites/dev/common/test-transaction/test-transaction-with-metadata-hash.ts b/test/suites/dev/common/test-transaction/test-transaction-with-metadata-hash.ts index b1f71d3475..2aa8ab88ce 100644 --- a/test/suites/dev/common/test-transaction/test-transaction-with-metadata-hash.ts +++ b/test/suites/dev/common/test-transaction/test-transaction-with-metadata-hash.ts @@ -1,10 +1,10 @@ import "@moonbeam-network/api-augment"; import { describeSuite, expect } from "@moonwall/cli"; import { alith } from "@moonwall/util"; -import { SignerOptions } from "@polkadot/api/types"; +import type { SignerOptions } from "@polkadot/api/types"; import { merkleizeMetadata } from "@polkadot-api/merkleize-metadata"; import { u8aToHex } from "@polkadot/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; async function metadataHash(api: ApiPromise) { const m = await api.call.metadata.metadataAtVersion(15); diff --git a/test/suites/dev/moonbase/sample/sample_basic.ts b/test/suites/dev/moonbase/sample/sample_basic.ts index 6e8f5870b9..2468d04cf1 100644 --- a/test/suites/dev/moonbase/sample/sample_basic.ts +++ b/test/suites/dev/moonbase/sample/sample_basic.ts @@ -1,8 +1,8 @@ import { describeSuite, expect, beforeAll } from "@moonwall/cli"; import { CHARLETH_ADDRESS, BALTATHAR_ADDRESS, alith, setupLogger } from "@moonwall/util"; -import { parseEther, formatEther, Signer } from "ethers"; +import { parseEther, formatEther, type Signer } from "ethers"; import { BN } from "@polkadot/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; describeSuite({ id: "D014301", diff --git a/test/suites/dev/moonbase/test-assets/test-assets-drain-both.ts b/test/suites/dev/moonbase/test-assets/test-assets-drain-both.ts index efff16e71c..8e6c8264b3 100644 --- a/test/suites/dev/moonbase/test-assets/test-assets-drain-both.ts +++ b/test/suites/dev/moonbase/test-assets/test-assets-drain-both.ts @@ -1,8 +1,8 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, GLMR, alith, baltathar, generateKeyringPair } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; -import { u128 } from "@polkadot/types"; +import type { ApiPromise } from "@polkadot/api"; +import type { u128 } from "@polkadot/types"; import type { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; import { BN } from "@polkadot/util"; import { mockOldAssetBalance } from "../../../../helpers"; diff --git a/test/suites/dev/moonbase/test-assets/test-assets-insufficients.ts b/test/suites/dev/moonbase/test-assets/test-assets-insufficients.ts index 84f7891909..86c3c42fba 100644 --- a/test/suites/dev/moonbase/test-assets/test-assets-insufficients.ts +++ b/test/suites/dev/moonbase/test-assets/test-assets-insufficients.ts @@ -1,8 +1,8 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, alith, baltathar, generateKeyringPair } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; -import { u128 } from "@polkadot/types"; +import type { ApiPromise } from "@polkadot/api"; +import type { u128 } from "@polkadot/types"; import type { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; import { BN } from "@polkadot/util"; import { mockOldAssetBalance } from "../../../../helpers"; diff --git a/test/suites/dev/moonbase/test-assets/test-assets-transfer.ts b/test/suites/dev/moonbase/test-assets/test-assets-transfer.ts index d6f3d19c7c..51683897da 100644 --- a/test/suites/dev/moonbase/test-assets/test-assets-transfer.ts +++ b/test/suites/dev/moonbase/test-assets/test-assets-transfer.ts @@ -2,8 +2,8 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, BALTATHAR_ADDRESS, alith, baltathar } from "@moonwall/util"; import "@polkadot/api-augment"; -import { u128 } from "@polkadot/types"; -import { ApiPromise } from "@polkadot/api"; +import type { u128 } from "@polkadot/types"; +import type { ApiPromise } from "@polkadot/api"; import type { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; import { mockOldAssetBalance } from "../../../../helpers"; diff --git a/test/suites/dev/moonbase/test-assets/test-foreign-assets-change-xcm-location.ts b/test/suites/dev/moonbase/test-assets/test-foreign-assets-change-xcm-location.ts index 6280d60b7f..0fa325ce36 100644 --- a/test/suites/dev/moonbase/test-assets/test-foreign-assets-change-xcm-location.ts +++ b/test/suites/dev/moonbase/test-assets/test-foreign-assets-change-xcm-location.ts @@ -1,6 +1,6 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { PARA_1000_SOURCE_LOCATION_V4, RELAY_SOURCE_LOCATION_V4, diff --git a/test/suites/dev/moonbase/test-author/test-author-double-registration.ts b/test/suites/dev/moonbase/test-author/test-author-double-registration.ts index b2499229d8..4603ca3b25 100644 --- a/test/suites/dev/moonbase/test-author/test-author-double-registration.ts +++ b/test/suites/dev/moonbase/test-author/test-author-double-registration.ts @@ -8,7 +8,7 @@ import { DEFAULT_GENESIS_BALANCE, DEFAULT_GENESIS_MAPPING, } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { getMappingInfo } from "../../../../helpers"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-author/test-author-failed-association.ts b/test/suites/dev/moonbase/test-author/test-author-failed-association.ts index c820103dad..173c61b996 100644 --- a/test/suites/dev/moonbase/test-author/test-author-failed-association.ts +++ b/test/suites/dev/moonbase/test-author/test-author-failed-association.ts @@ -7,7 +7,7 @@ import { CHARLETH_SESSION_ADDRESS, baltathar, } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { getMappingInfo } from "../../../../helpers"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-author/test-author-first-time-keys.ts b/test/suites/dev/moonbase/test-author/test-author-first-time-keys.ts index 2e5cf29b4f..1a2dbad16f 100644 --- a/test/suites/dev/moonbase/test-author/test-author-first-time-keys.ts +++ b/test/suites/dev/moonbase/test-author/test-author-first-time-keys.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { charleth, getBlockExtrinsic } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; // Keys used to set author-mapping in the tests const originalKeys = [ @@ -52,8 +52,8 @@ describeSuite({ "authorMapping", "setKeys" ); - expect(events.find((e) => e.section == "authorMapping" && e.method == "KeysRegistered")).to - .exist; + expect(events.find((e) => e.section === "authorMapping" && e.method === "KeysRegistered")) + .to.exist; }, }); diff --git a/test/suites/dev/moonbase/test-author/test-author-missing-deposit-fail.ts b/test/suites/dev/moonbase/test-author/test-author-missing-deposit-fail.ts index 0ba60b6fe3..5e68c46da6 100644 --- a/test/suites/dev/moonbase/test-author/test-author-missing-deposit-fail.ts +++ b/test/suites/dev/moonbase/test-author/test-author-missing-deposit-fail.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { BALTATHAR_SESSION_ADDRESS, generateKeyringPair } from "@moonwall/util"; import { expect, describeSuite, beforeAll } from "@moonwall/cli"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { getMappingInfo } from "../../../../helpers"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-author/test-author-non-author-rotate.ts b/test/suites/dev/moonbase/test-author/test-author-non-author-rotate.ts index 83c7d95004..d9979934cb 100644 --- a/test/suites/dev/moonbase/test-author/test-author-non-author-rotate.ts +++ b/test/suites/dev/moonbase/test-author/test-author-non-author-rotate.ts @@ -6,7 +6,7 @@ import { BALTATHAR_SESSION_ADDRESS, CHARLETH_SESSION_ADDRESS, } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { getMappingInfo } from "../../../../helpers"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-author/test-author-removing-author.ts b/test/suites/dev/moonbase/test-author/test-author-removing-author.ts index 013391e209..a926ac5bf1 100644 --- a/test/suites/dev/moonbase/test-author/test-author-removing-author.ts +++ b/test/suites/dev/moonbase/test-author/test-author-removing-author.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { expect, describeSuite, beforeAll } from "@moonwall/cli"; import { dorothy, getBlockExtrinsic } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; // Keys used to set author-mapping in the tests const originalKeys = [ @@ -51,8 +51,8 @@ describeSuite({ "authorMapping", "removeKeys" ); - expect(events.find((e) => e.section == "authorMapping" && e.method == "KeysRemoved")).to.not - .exist; + expect(events.find((e) => e.section === "authorMapping" && e.method === "KeysRemoved")).to + .not.exist; }, }); }, diff --git a/test/suites/dev/moonbase/test-author/test-author-removing-keys.ts b/test/suites/dev/moonbase/test-author/test-author-removing-keys.ts index 2580eba6cf..d1aad05d97 100644 --- a/test/suites/dev/moonbase/test-author/test-author-removing-keys.ts +++ b/test/suites/dev/moonbase/test-author/test-author-removing-keys.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { expect, describeSuite, beforeAll } from "@moonwall/cli"; import { charleth, getBlockExtrinsic } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; // Keys used to set author-mapping in the tests const originalKeys = [ @@ -54,7 +54,7 @@ describeSuite({ "authorMapping", "removeKeys" ); - expect(events.find((e) => e.section == "authorMapping" && e.method == "KeysRemoved")).to + expect(events.find((e) => e.section === "authorMapping" && e.method === "KeysRemoved")).to .exist; }, }); diff --git a/test/suites/dev/moonbase/test-author/test-author-same-key-rotation.ts b/test/suites/dev/moonbase/test-author/test-author-same-key-rotation.ts index b32aa1708b..9fcffd1b55 100644 --- a/test/suites/dev/moonbase/test-author/test-author-same-key-rotation.ts +++ b/test/suites/dev/moonbase/test-author/test-author-same-key-rotation.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { expect, describeSuite, beforeAll } from "@moonwall/cli"; import { charleth, getBlockExtrinsic } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; // Keys used to set author-mapping in the tests const originalKeys = [ @@ -54,7 +54,7 @@ describeSuite({ "authorMapping", "setKeys" ); - expect(events.find((e) => e.section == "authorMapping" && e.method == "KeysRotated")).to + expect(events.find((e) => e.section === "authorMapping" && e.method === "KeysRotated")).to .exist; }, }); diff --git a/test/suites/dev/moonbase/test-author/test-author-simple-association.ts b/test/suites/dev/moonbase/test-author/test-author-simple-association.ts index 06db222d44..64260fe047 100644 --- a/test/suites/dev/moonbase/test-author/test-author-simple-association.ts +++ b/test/suites/dev/moonbase/test-author/test-author-simple-association.ts @@ -8,7 +8,7 @@ import { GLMR, } from "@moonwall/util"; import { expect, describeSuite } from "@moonwall/cli"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { getMappingInfo } from "../../../../helpers"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-author/test-author-update-diff-keys.ts b/test/suites/dev/moonbase/test-author/test-author-update-diff-keys.ts index e831a3824b..7523f284a9 100644 --- a/test/suites/dev/moonbase/test-author/test-author-update-diff-keys.ts +++ b/test/suites/dev/moonbase/test-author/test-author-update-diff-keys.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { expect, describeSuite, beforeAll } from "@moonwall/cli"; import { CHARLETH_ADDRESS, charleth, getBlockExtrinsic } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; // Keys used to set author-mapping in the tests const originalKeys = [ @@ -59,7 +59,7 @@ describeSuite({ "authorMapping", "setKeys" ); - expect(events.find((e) => e.section == "authorMapping" && e.method == "KeysRotated")).to + expect(events.find((e) => e.section === "authorMapping" && e.method === "KeysRotated")).to .exist; }, }); diff --git a/test/suites/dev/moonbase/test-author/test-author-update-nimbus-key.ts b/test/suites/dev/moonbase/test-author/test-author-update-nimbus-key.ts index a9416f4ce0..c207d65702 100644 --- a/test/suites/dev/moonbase/test-author/test-author-update-nimbus-key.ts +++ b/test/suites/dev/moonbase/test-author/test-author-update-nimbus-key.ts @@ -7,7 +7,7 @@ import { getBlockExtrinsic, DOROTHY_ADDRESS, } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; // Keys used to set author-mapping in the tests const originalKeys = [ @@ -60,7 +60,7 @@ describeSuite({ "authorMapping", "removeKeys" ); - expect(events.find((e) => e.section == "authorMapping")).to.not.exist; + expect(events.find((e) => e.section === "authorMapping")).to.not.exist; }, }); diff --git a/test/suites/dev/moonbase/test-balance/test-balance-extrinsics.ts b/test/suites/dev/moonbase/test-balance/test-balance-extrinsics.ts index 0e6928da9d..ca024c766a 100644 --- a/test/suites/dev/moonbase/test-balance/test-balance-extrinsics.ts +++ b/test/suites/dev/moonbase/test-balance/test-balance-extrinsics.ts @@ -7,7 +7,7 @@ import { createRawTransfer, mapExtrinsics, } from "@moonwall/util"; -import { PrivateKeyAccount } from "viem"; +import type { PrivateKeyAccount } from "viem"; import { generatePrivateKey, privateKeyToAccount } from "viem/accounts"; describeSuite({ @@ -44,7 +44,7 @@ describeSuite({ const txsWithEvents = mapExtrinsics(signedBlock.block.extrinsics, allRecords); const ethTx = txsWithEvents.find( - ({ extrinsic: { method } }) => method.section == "ethereum" + ({ extrinsic: { method } }) => method.section === "ethereum" )!; context.polkadotJs().events.parachainStaking.candidate; diff --git a/test/suites/dev/moonbase/test-balance/test-balance-genesis.ts b/test/suites/dev/moonbase/test-balance/test-balance-genesis.ts index 6b40edc68c..ca3fd52f7c 100644 --- a/test/suites/dev/moonbase/test-balance/test-balance-genesis.ts +++ b/test/suites/dev/moonbase/test-balance/test-balance-genesis.ts @@ -27,9 +27,9 @@ describeSuite({ title: "should be accessible through polkadotJs", test: async function () { const genesisHash = await context.polkadotJs().rpc.chain.getBlockHash(0); - const account = await ( - await context.polkadotJs().at(genesisHash) - ).query.system.account(ALITH_ADDRESS); + const account = await (await context.polkadotJs().at(genesisHash)).query.system.account( + ALITH_ADDRESS + ); expect(account.data.free.toBigInt()).toBe(ALITH_GENESIS_FREE_BALANCE); expect(account.data.reserved.toBigInt()).toBe(ALITH_GENESIS_RESERVE_BALANCE); }, diff --git a/test/suites/dev/moonbase/test-balance/test-balance-transfer.ts b/test/suites/dev/moonbase/test-balance/test-balance-transfer.ts index cb61b53da2..b4cc85ae45 100644 --- a/test/suites/dev/moonbase/test-balance/test-balance-transfer.ts +++ b/test/suites/dev/moonbase/test-balance/test-balance-transfer.ts @@ -127,9 +127,9 @@ describeSuite({ ).block.header.number.toBigInt(); const block1Hash = await context.polkadotJs().rpc.chain.getBlockHash(blockNumber); - const balance = await ( - await context.polkadotJs().at(block1Hash) - ).query.system.account(ALITH_ADDRESS); + const balance = await (await context.polkadotJs().at(block1Hash)).query.system.account( + ALITH_ADDRESS + ); expect(await context.viem().getBalance({ blockNumber, address: ALITH_ADDRESS })).to.equal( balance.data.free.toBigInt() + diff --git a/test/suites/dev/moonbase/test-contract/test-contract-delegate-call.ts b/test/suites/dev/moonbase/test-contract/test-contract-delegate-call.ts index 099b421fb3..eb4e9d1612 100644 --- a/test/suites/dev/moonbase/test-contract/test-contract-delegate-call.ts +++ b/test/suites/dev/moonbase/test-contract/test-contract-delegate-call.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { expect, describeSuite, beforeAll, deployCreateCompiledContract } from "@moonwall/cli"; import { ALITH_ADDRESS } from "@moonwall/util"; -import { encodeFunctionData, Abi } from "viem"; +import { encodeFunctionData, type Abi } from "viem"; const PRECOMPILE_PREFIXES = [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 1024, 1026, 2048, 2049, 2050, 2052, 2053, 2054, 2055, 2056, 2057, 2058, @@ -12,7 +12,7 @@ const PRECOMPILE_PREFIXES = [ const ALLOWED_PRECOMPILE_PREFIXES = PRECOMPILE_PREFIXES.filter((add) => add <= 9); const FORBIDDEN_PRECOMPILE_PREFIXES = PRECOMPILE_PREFIXES.filter((add) => add > 9); const DELEGATECALL_FORDIDDEN_MESSAGE = - // contract call result (boolean). False == failed. + // contract call result (boolean). False === failed. "0x0000000000000000000000000000000000000000000000000000000000000000" + "0000000000000000000000000000000000000000000000000000000000000040" + // result offset "0000000000000000000000000000000000000000000000000000000000000084" + // result length diff --git a/test/suites/dev/moonbase/test-contract/test-contract-error.ts b/test/suites/dev/moonbase/test-contract/test-contract-error.ts index eb897787e4..67c2563ccd 100644 --- a/test/suites/dev/moonbase/test-contract/test-contract-error.ts +++ b/test/suites/dev/moonbase/test-contract/test-contract-error.ts @@ -7,7 +7,7 @@ import { expect, } from "@moonwall/cli"; import { ALITH_ADDRESS, createEthersTransaction } from "@moonwall/util"; -import { encodeFunctionData, Abi } from "viem"; +import { encodeFunctionData, type Abi } from "viem"; import { verifyLatestBlockFees } from "../../../../helpers"; // TODO: expand these tests to do multiple txn types when added to viem diff --git a/test/suites/dev/moonbase/test-contract/test-contract-evm-limits.ts b/test/suites/dev/moonbase/test-contract/test-contract-evm-limits.ts index ce3883fb3d..790ba36e74 100644 --- a/test/suites/dev/moonbase/test-contract/test-contract-evm-limits.ts +++ b/test/suites/dev/moonbase/test-contract/test-contract-evm-limits.ts @@ -14,7 +14,7 @@ describeSuite({ // fixed by: // https://github.com/rust-blockchain/evm/commit/19ade858c430ab13eb562764a870ac9f8506f8dd it({ - id: `T01`, + id: "T01", title: "should fail with out of gas", test: async function () { const bytecode = new Uint8Array([ @@ -22,7 +22,7 @@ describeSuite({ 249, 0, 224, 111, 1, 0, 0, 0, 247, 30, 1, 0, 0, 0, 0, 0, 0, ]); - const value = "0x" + 993452714685890559n.toString(16); + const value = `0x${993452714685890559n.toString(16)}`; const rawSigned = await createEthersTransaction(context, { from: ALITH_ADDRESS, diff --git a/test/suites/dev/moonbase/test-contract/test-contract-methods.ts b/test/suites/dev/moonbase/test-contract/test-contract-methods.ts index 50595d3295..d8fe378066 100644 --- a/test/suites/dev/moonbase/test-contract/test-contract-methods.ts +++ b/test/suites/dev/moonbase/test-contract/test-contract-methods.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS } from "@moonwall/util"; -import { encodeFunctionData, Abi } from "viem"; +import { encodeFunctionData, type Abi } from "viem"; describeSuite({ id: "D010609", diff --git a/test/suites/dev/moonbase/test-conviction-voting/test-conviction-batch-delegate-undelegate.ts b/test/suites/dev/moonbase/test-conviction-voting/test-conviction-batch-delegate-undelegate.ts index 7c0a256a75..a822ac2bb5 100644 --- a/test/suites/dev/moonbase/test-conviction-voting/test-conviction-batch-delegate-undelegate.ts +++ b/test/suites/dev/moonbase/test-conviction-voting/test-conviction-batch-delegate-undelegate.ts @@ -1,6 +1,6 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair, alith } from "@moonwall/util"; +import { type KeyringPair, alith } from "@moonwall/util"; import { createAccounts, expectSubstrateEvents } from "../../../../helpers"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-conviction-voting/test-conviction-delegate-weight-fit.ts b/test/suites/dev/moonbase/test-conviction-voting/test-conviction-delegate-weight-fit.ts index c82882349c..29b062e815 100644 --- a/test/suites/dev/moonbase/test-conviction-voting/test-conviction-delegate-weight-fit.ts +++ b/test/suites/dev/moonbase/test-conviction-voting/test-conviction-delegate-weight-fit.ts @@ -1,6 +1,6 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair, alith } from "@moonwall/util"; +import { type KeyringPair, alith } from "@moonwall/util"; import { createAccounts, expectSubstrateEvents } from "../../../../helpers"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-conviction-voting/test-conviction-undelegate-weight-fit.ts b/test/suites/dev/moonbase/test-conviction-voting/test-conviction-undelegate-weight-fit.ts index 4e8b6511a4..46ba4514eb 100644 --- a/test/suites/dev/moonbase/test-conviction-voting/test-conviction-undelegate-weight-fit.ts +++ b/test/suites/dev/moonbase/test-conviction-voting/test-conviction-undelegate-weight-fit.ts @@ -1,6 +1,6 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair, alith } from "@moonwall/util"; +import { type KeyringPair, alith } from "@moonwall/util"; import { createAccounts, chunk, expectSubstrateEvents } from "../../../../helpers"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-conviction-voting/test-delegate.ts b/test/suites/dev/moonbase/test-conviction-voting/test-delegate.ts index 3f02f89171..d3f9ccf9cd 100644 --- a/test/suites/dev/moonbase/test-conviction-voting/test-delegate.ts +++ b/test/suites/dev/moonbase/test-conviction-voting/test-delegate.ts @@ -1,9 +1,9 @@ import "@moonbeam-network/api-augment"; -import { DevModeContext, describeSuite, expect } from "@moonwall/cli"; +import { type DevModeContext, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, GLMR, - KeyringPair, + type KeyringPair, MIN_GLMR_STAKING, alith, generateKeyringPair, @@ -30,16 +30,19 @@ describeSuite({ ); const events = await context.polkadotJs().query.system.events(); - const delegatedEvents = events.reduce((acc, event) => { - if (context.polkadotJs().events.convictionVoting.Delegated.is(event.event)) { - acc.push({ - from: event.event.data[0].toString(), - to: event.event.data[1].toString(), - }); - } + const delegatedEvents = events.reduce( + (acc, event) => { + if (context.polkadotJs().events.convictionVoting.Delegated.is(event.event)) { + acc.push({ + from: event.event.data[0].toString(), + to: event.event.data[1].toString(), + }); + } - return acc; - }, [] as { from: string; to: string }[]); + return acc; + }, + [] as { from: string; to: string }[] + ); expect(delegatedEvents.length).to.be.greaterThanOrEqual(10); }, diff --git a/test/suites/dev/moonbase/test-conviction-voting/test-delegate2.ts b/test/suites/dev/moonbase/test-conviction-voting/test-delegate2.ts index 368c823b0f..cf0080e45b 100644 --- a/test/suites/dev/moonbase/test-conviction-voting/test-delegate2.ts +++ b/test/suites/dev/moonbase/test-conviction-voting/test-delegate2.ts @@ -1,9 +1,9 @@ import "@moonbeam-network/api-augment"; -import { DevModeContext, beforeAll, describeSuite, expect } from "@moonwall/cli"; +import { type DevModeContext, beforeAll, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, GLMR, - KeyringPair, + type KeyringPair, MIN_GLMR_STAKING, alith, generateKeyringPair, @@ -44,15 +44,18 @@ describeSuite({ ); const events = await context.polkadotJs().query.system.events(); - const undelegatedEvents = events.reduce((acc, event) => { - if (context.polkadotJs().events.convictionVoting.Undelegated.is(event.event)) { - acc.push({ - who: event.event.data[0].toString(), - }); - } + const undelegatedEvents = events.reduce( + (acc, event) => { + if (context.polkadotJs().events.convictionVoting.Undelegated.is(event.event)) { + acc.push({ + who: event.event.data[0].toString(), + }); + } - return acc; - }, [] as { who: string }[]); + return acc; + }, + [] as { who: string }[] + ); console.log(undelegatedEvents.length); expect(undelegatedEvents.length).to.be.greaterThanOrEqual(10); diff --git a/test/suites/dev/moonbase/test-crowdloan/test-crowdloan-democracy.ts b/test/suites/dev/moonbase/test-crowdloan/test-crowdloan-democracy.ts index 16eed5d27b..4e825d8f04 100644 --- a/test/suites/dev/moonbase/test-crowdloan/test-crowdloan-democracy.ts +++ b/test/suites/dev/moonbase/test-crowdloan/test-crowdloan-democracy.ts @@ -7,7 +7,7 @@ import { whiteListTrackNoSend, } from "@moonwall/cli"; import { DEFAULT_GENESIS_BALANCE, ethan, GLMR, GOLIATH_ADDRESS } from "@moonwall/util"; -import { SubmittableExtrinsic } from "@polkadot/api/promise/types"; +import type { SubmittableExtrinsic } from "@polkadot/api/promise/types"; import { getAccountPayable, RELAYCHAIN_ARBITRARY_ADDRESS_1, diff --git a/test/suites/dev/moonbase/test-crowdloan/test-crowdloan-register-accs.ts b/test/suites/dev/moonbase/test-crowdloan/test-crowdloan-register-accs.ts index 2085697e61..ffa56d8ddb 100644 --- a/test/suites/dev/moonbase/test-crowdloan/test-crowdloan-register-accs.ts +++ b/test/suites/dev/moonbase/test-crowdloan/test-crowdloan-register-accs.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { GLMR, alith } from "@moonwall/util"; -import { PrivateKeyAccount, generatePrivateKey, privateKeyToAccount } from "viem/accounts"; +import { type PrivateKeyAccount, generatePrivateKey, privateKeyToAccount } from "viem/accounts"; import { VESTING_PERIOD, getAccountPayable } from "../../../../helpers"; describeSuite({ @@ -9,7 +9,7 @@ describeSuite({ title: "Crowdloan - many accounts", foundationMethods: "dev", testCases: ({ context, it, log }) => { - let numberOfAccounts: number = -1; + let numberOfAccounts = -1; let largInput: [string, string, bigint][]; beforeAll(async () => { @@ -31,7 +31,7 @@ describeSuite({ .map((_) => privateKeyToAccount(generatePrivateKey())); largInput = accounts.map((acc: PrivateKeyAccount) => { return [ - acc.address + "111111111111111111111111", + `${acc.address}111111111111111111111111`, acc.address, (3_000_000n * GLMR) / BigInt(numberOfAccounts), ]; diff --git a/test/suites/dev/moonbase/test-crowdloan/test-crowdloan-register-batch.ts b/test/suites/dev/moonbase/test-crowdloan/test-crowdloan-register-batch.ts index 31eac964ee..dde5009409 100644 --- a/test/suites/dev/moonbase/test-crowdloan/test-crowdloan-register-batch.ts +++ b/test/suites/dev/moonbase/test-crowdloan/test-crowdloan-register-batch.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { GLMR, alith } from "@moonwall/util"; -import { PrivateKeyAccount, generatePrivateKey, privateKeyToAccount } from "viem/accounts"; +import { type PrivateKeyAccount, generatePrivateKey, privateKeyToAccount } from "viem/accounts"; import { VESTING_PERIOD, getAccountPayable } from "../../../../helpers"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-eth-call/test-eth-call-state-override.ts b/test/suites/dev/moonbase/test-eth-call/test-eth-call-state-override.ts index a141553b6e..1560ad953e 100644 --- a/test/suites/dev/moonbase/test-eth-call/test-eth-call-state-override.ts +++ b/test/suites/dev/moonbase/test-eth-call/test-eth-call-state-override.ts @@ -9,7 +9,7 @@ import { } from "@moonwall/cli"; import { ALITH_ADDRESS, GLMR, baltathar, createEthersTransaction } from "@moonwall/util"; import { hexToBigInt, nToHex } from "@polkadot/util"; -import { encodeFunctionData, encodePacked, keccak256, pad, parseEther, Abi } from "viem"; +import { encodeFunctionData, encodePacked, keccak256, pad, parseEther, type Abi } from "viem"; import { expectOk } from "../../../../helpers"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-eth-fee/test-eth-fee-history.ts b/test/suites/dev/moonbase/test-eth-fee/test-eth-fee-history.ts index 0afc040fc3..10c5271886 100644 --- a/test/suites/dev/moonbase/test-eth-fee/test-eth-fee-history.ts +++ b/test/suites/dev/moonbase/test-eth-fee/test-eth-fee-history.ts @@ -49,11 +49,10 @@ describeSuite({ return a - b; }); const index = (percentile / 100) * array.length - 1; - if (Math.floor(index) == index) { + if (Math.floor(index) === index) { return array[index]; - } else { - return Math.ceil((array[Math.floor(index)] + array[Math.ceil(index)]) / 2); } + return Math.ceil((array[Math.floor(index)] + array[Math.ceil(index)]) / 2); } function matchExpectations( @@ -93,7 +92,7 @@ describeSuite({ const feeHistory = new Promise((resolve, reject) => { const unwatch = context.viem().watchBlocks({ onBlock: async (block) => { - if (Number(block.number! - startingBlock) == block_count) { + if (Number(block.number! - startingBlock) === block_count) { const result = (await customDevRpcRequest("eth_feeHistory", [ "0x2", "latest", @@ -126,7 +125,7 @@ describeSuite({ const feeHistory = new Promise((resolve, reject) => { const unwatch = context.viem().watchBlocks({ onBlock: async (block) => { - if (Number(block.number! - startingBlock) == block_count) { + if (Number(block.number! - startingBlock) === block_count) { const result = (await customDevRpcRequest("eth_feeHistory", [ "0xA", "latest", @@ -180,7 +179,7 @@ describeSuite({ const feeHistory = new Promise((resolve, reject) => { const unwatch = context.viem().watchBlocks({ onBlock: async (block) => { - if (Number(block.number! - startingBlock) == block_count) { + if (Number(block.number! - startingBlock) === block_count) { const result = (await customDevRpcRequest("eth_feeHistory", [ block_count, "latest", diff --git a/test/suites/dev/moonbase/test-eth-fee/test-eth-paysFee.ts b/test/suites/dev/moonbase/test-eth-fee/test-eth-paysFee.ts index d07ad828c9..791d30881d 100644 --- a/test/suites/dev/moonbase/test-eth-fee/test-eth-paysFee.ts +++ b/test/suites/dev/moonbase/test-eth-fee/test-eth-paysFee.ts @@ -19,7 +19,7 @@ describeSuite({ ); const info = extractInfo(result?.events)!; expect(info).to.not.be.empty; - expect(info.paysFee.isYes, "Transaction should be marked as paysFees == no").to.be.false; + expect(info.paysFee.isYes, "Transaction should be marked as paysFees === no").to.be.false; }, }); } diff --git a/test/suites/dev/moonbase/test-eth-fee/test-eth-txn-weights.ts b/test/suites/dev/moonbase/test-eth-fee/test-eth-txn-weights.ts index 6017f5570e..bb2bf6a903 100644 --- a/test/suites/dev/moonbase/test-eth-fee/test-eth-txn-weights.ts +++ b/test/suites/dev/moonbase/test-eth-fee/test-eth-txn-weights.ts @@ -54,7 +54,7 @@ describeSuite({ const wholeBlock = await context.polkadotJs().rpc.chain.getBlock(block.hash); const index = wholeBlock.block.extrinsics.findIndex( - (ext) => ext.method.method == "transact" && ext.method.section == "ethereum" + (ext) => ext.method.method === "transact" && ext.method.section === "ethereum" ); const extSuccessEvent = result?.events .filter(({ phase }) => phase.isApplyExtrinsic && phase.asApplyExtrinsic.eq(index)) diff --git a/test/suites/dev/moonbase/test-eth-rpc/test-eth-rpc-deprecated.ts b/test/suites/dev/moonbase/test-eth-rpc/test-eth-rpc-deprecated.ts index a0ac26b0d8..84d101d5cc 100644 --- a/test/suites/dev/moonbase/test-eth-rpc/test-eth-rpc-deprecated.ts +++ b/test/suites/dev/moonbase/test-eth-rpc/test-eth-rpc-deprecated.ts @@ -18,7 +18,7 @@ describeSuite({ for (const { method, params } of deprecatedMethods) { it({ - id: `T0${deprecatedMethods.findIndex((item) => item.method == method) + 1}`, + id: `T0${deprecatedMethods.findIndex((item) => item.method === method) + 1}`, title: `${method} should be mark as not found`, test: async function () { expect(async () => await customDevRpcRequest(method, params)).rejects.toThrowError( diff --git a/test/suites/dev/moonbase/test-eth-rpc/test-eth-rpc-log-filtering.ts b/test/suites/dev/moonbase/test-eth-rpc/test-eth-rpc-log-filtering.ts index fae736fe62..9babe87ce8 100644 --- a/test/suites/dev/moonbase/test-eth-rpc/test-eth-rpc-log-filtering.ts +++ b/test/suites/dev/moonbase/test-eth-rpc/test-eth-rpc-log-filtering.ts @@ -6,7 +6,7 @@ import { deployCreateCompiledContract, customDevRpcRequest, } from "@moonwall/cli"; -import { TransactionReceipt } from "viem"; +import type { TransactionReceipt } from "viem"; describeSuite({ id: "D011203", diff --git a/test/suites/dev/moonbase/test-eth-rpc/test-eth-rpc-transaction-receipt.ts b/test/suites/dev/moonbase/test-eth-rpc/test-eth-rpc-transaction-receipt.ts index 8f91b26c82..0c946d78a7 100644 --- a/test/suites/dev/moonbase/test-eth-rpc/test-eth-rpc-transaction-receipt.ts +++ b/test/suites/dev/moonbase/test-eth-rpc/test-eth-rpc-transaction-receipt.ts @@ -1,5 +1,5 @@ import { describeSuite, expect, beforeAll } from "@moonwall/cli"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { BALTATHAR_ADDRESS, createViemTransaction, extractFee } from "@moonwall/util"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-eth-tx/test-eth-tx-types.ts b/test/suites/dev/moonbase/test-eth-tx/test-eth-tx-types.ts index fb719b3d35..4151a9f0c8 100644 --- a/test/suites/dev/moonbase/test-eth-tx/test-eth-tx-types.ts +++ b/test/suites/dev/moonbase/test-eth-tx/test-eth-tx-types.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, BALTATHAR_ADDRESS, createEthersTransaction } from "@moonwall/util"; -import { EthereumTransactionTransactionV2 } from "@polkadot/types/lookup"; +import type { EthereumTransactionTransactionV2 } from "@polkadot/types/lookup"; import { DEFAULT_TXN_MAX_BASE_FEE } from "../../../../helpers"; describeSuite({ @@ -25,7 +25,7 @@ describeSuite({ const signedBlock = await context.polkadotJs().rpc.chain.getBlock(); const extrinsic = signedBlock.block.extrinsics.find( - (ex) => ex.method.section == "ethereum" + (ex) => ex.method.section === "ethereum" )!.args[0] as EthereumTransactionTransactionV2; expect(extrinsic.isLegacy).to.be.true; @@ -67,7 +67,7 @@ describeSuite({ const signedBlock = await context.polkadotJs().rpc.chain.getBlock(); const extrinsic = signedBlock.block.extrinsics.find( - (ex) => ex.method.section == "ethereum" + (ex) => ex.method.section === "ethereum" )!.args[0] as EthereumTransactionTransactionV2; expect(extrinsic.isEip2930).to.be.true; @@ -122,7 +122,7 @@ describeSuite({ const signedBlock = await context.polkadotJs().rpc.chain.getBlock(); const extrinsic = signedBlock.block.extrinsics.find( - (ex) => ex.method.section == "ethereum" + (ex) => ex.method.section === "ethereum" )!.args[0] as EthereumTransactionTransactionV2; expect(extrinsic.isEip1559).to.be.true; diff --git a/test/suites/dev/moonbase/test-evm/test-pallet-evm-overflow.ts b/test/suites/dev/moonbase/test-evm/test-pallet-evm-overflow.ts index 43293369ae..c74bc85880 100644 --- a/test/suites/dev/moonbase/test-evm/test-pallet-evm-overflow.ts +++ b/test/suites/dev/moonbase/test-evm/test-pallet-evm-overflow.ts @@ -37,7 +37,8 @@ describeSuite({ expect( result?.events.find( - ({ event: { section, method } }) => section == "system" && method == "ExtrinsicSuccess" + ({ event: { section, method } }) => + section === "system" && method === "ExtrinsicSuccess" ) ).to.exist; diff --git a/test/suites/dev/moonbase/test-evm/test-pallet-evm-transfer.ts b/test/suites/dev/moonbase/test-evm/test-pallet-evm-transfer.ts index ceccaf0572..8118d7dc6c 100644 --- a/test/suites/dev/moonbase/test-evm/test-pallet-evm-transfer.ts +++ b/test/suites/dev/moonbase/test-evm/test-pallet-evm-transfer.ts @@ -71,7 +71,8 @@ describeSuite({ expect( result?.events.find( - ({ event: { section, method } }) => section == "system" && method == "ExtrinsicSuccess" + ({ event: { section, method } }) => + section === "system" && method === "ExtrinsicSuccess" ) ).to.exist; expect(await context.viem().getBalance({ address: baltathar.address })).to.equal( diff --git a/test/suites/dev/moonbase/test-fees/test-fee-multiplier-max.ts b/test/suites/dev/moonbase/test-fees/test-fee-multiplier-max.ts index ad0433d815..079a857291 100644 --- a/test/suites/dev/moonbase/test-fees/test-fee-multiplier-max.ts +++ b/test/suites/dev/moonbase/test-fees/test-fee-multiplier-max.ts @@ -111,7 +111,7 @@ describeSuite({ ); // grab the first withdraw event and hope it's the right one... - const withdrawEvent = result?.events.filter(({ event }) => event.method == "Withdraw")[0]; + const withdrawEvent = result?.events.filter(({ event }) => event.method === "Withdraw")[0]; const amount = withdrawEvent.event.data.amount.toBigInt(); // ~/4 to compensate for the ref time XCM fee changes // Previous value: 6_000_000_012_598_000_941_192n @@ -164,13 +164,13 @@ describeSuite({ expect(receipt2.status).toBe("success"); const successEvent = interactionResult?.events.filter( - ({ event }) => event.method == "ExtrinsicSuccess" + ({ event }) => event.method === "ExtrinsicSuccess" )[0]; const weight = successEvent.event.data.dispatchInfo.weight.refTime.toBigInt(); expect(weight).to.equal(1_734_300_000n); const withdrawEvents = interactionResult?.events.filter( - ({ event }) => event.method == "Withdraw" + ({ event }) => event.method === "Withdraw" ); expect(withdrawEvents?.length).to.equal(1); const withdrawEvent = withdrawEvents![0]; diff --git a/test/suites/dev/moonbase/test-fees/test-fee-multiplier-xcm.ts b/test/suites/dev/moonbase/test-fees/test-fee-multiplier-xcm.ts index 72dea9d4bd..76e03a7752 100644 --- a/test/suites/dev/moonbase/test-fees/test-fee-multiplier-xcm.ts +++ b/test/suites/dev/moonbase/test-fees/test-fee-multiplier-xcm.ts @@ -1,9 +1,9 @@ import "@moonbeam-network/api-augment/moonbase"; import { beforeAll, beforeEach, describeSuite, expect } from "@moonwall/cli"; -import { BALTATHAR_ADDRESS, KeyringPair, alith, generateKeyringPair } from "@moonwall/util"; +import { BALTATHAR_ADDRESS, type KeyringPair, alith, generateKeyringPair } from "@moonwall/util"; import { bnToHex } from "@polkadot/util"; import { - RawXcmMessage, + type RawXcmMessage, XcmFragment, descendOriginFromAddress20, expectOk, @@ -70,7 +70,7 @@ describeSuite({ const metadata = await context.polkadotJs().rpc.state.getMetadata(); balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); }); diff --git a/test/suites/dev/moonbase/test-fees/test-length-fees.ts b/test/suites/dev/moonbase/test-fees/test-length-fees.ts index 2fdf3f346d..4bd63affb1 100644 --- a/test/suites/dev/moonbase/test-fees/test-length-fees.ts +++ b/test/suites/dev/moonbase/test-fees/test-length-fees.ts @@ -1,5 +1,5 @@ import "@moonbeam-network/api-augment"; -import { DevModeContext, describeSuite, expect } from "@moonwall/cli"; +import { type DevModeContext, describeSuite, expect } from "@moonwall/cli"; import { BALTATHAR_ADDRESS, baltathar } from "@moonwall/util"; //TODO: Change these to be less literal diff --git a/test/suites/dev/moonbase/test-gas/test-gas-estimation-allcontracts.ts b/test/suites/dev/moonbase/test-gas/test-gas-estimation-allcontracts.ts index 63e0ac56c9..67e8a0fb86 100644 --- a/test/suites/dev/moonbase/test-gas/test-gas-estimation-allcontracts.ts +++ b/test/suites/dev/moonbase/test-gas/test-gas-estimation-allcontracts.ts @@ -1,6 +1,6 @@ import "@moonbeam-network/api-augment"; import { - EthTransactionType, + type EthTransactionType, TransactionTypes, beforeAll, customDevRpcRequest, @@ -28,7 +28,7 @@ describeSuite({ beforeAll(async function () { // Estimation for storage need to happen in a block > than genesis. // Otherwise contracts that uses block number as storage will remove instead of storing - // (as block.number == H256::default). + // (as block.number === H256::default). await context.createBlock(); }); @@ -52,24 +52,26 @@ describeSuite({ title: `should be enough for contract ${contractName} via ${txnType}`, test: async function () { const { bytecode, abi } = fetchCompiledContract(contractName); - const constructorAbi = abi.find((call) => call.type == "constructor") as AbiConstructor; + const constructorAbi = abi.find( + (call) => call.type === "constructor" + ) as AbiConstructor; // ask RPC for an gas estimate of deploying this contract const args = constructorAbi ? constructorAbi.inputs.map((input) => - input.type == "bool" + input.type === "bool" ? true - : input.type == "address" - ? faith.address - : input.type.startsWith("uint") - ? `0x${Buffer.from( - randomBytes(Number(input.type.split("uint")[1]) / 8) - ).toString("hex")}` - : input.type.startsWith("bytes") - ? `0x${Buffer.from(randomBytes(Number(input.type.split("bytes")[1]))).toString( - "hex" - )}` - : "0x" + : input.type === "address" + ? faith.address + : input.type.startsWith("uint") + ? `0x${Buffer.from( + randomBytes(Number(input.type.split("uint")[1]) / 8) + ).toString("hex")}` + : input.type.startsWith("bytes") + ? `0x${Buffer.from( + randomBytes(Number(input.type.split("bytes")[1])) + ).toString("hex")}` + : "0x" ) : []; @@ -90,7 +92,7 @@ describeSuite({ ]); creationResult = "Succeed"; } catch (e: any) { - if (e.message == "VM Exception while processing transaction: revert") { + if (e.message === "VM Exception while processing transaction: revert") { estimate = 12_000_000n; creationResult = "Revert"; } else { @@ -110,7 +112,7 @@ describeSuite({ .getTransactionReceipt({ hash: result!.hash as `0x${string}` }); expectEVMResult(result!.events, creationResult); - expect(receipt.status == "success").to.equal(creationResult == "Succeed"); + expect(receipt.status === "success").to.equal(creationResult === "Succeed"); }, }); } diff --git a/test/suites/dev/moonbase/test-gas/test-gas-estimation-multiply.ts b/test/suites/dev/moonbase/test-gas/test-gas-estimation-multiply.ts index 15b2ef79d9..80eeaa4627 100644 --- a/test/suites/dev/moonbase/test-gas/test-gas-estimation-multiply.ts +++ b/test/suites/dev/moonbase/test-gas/test-gas-estimation-multiply.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { beforeAll, deployCreateCompiledContract, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS } from "@moonwall/util"; -import { Abi } from "viem"; +import type { Abi } from "viem"; describeSuite({ id: "D011804", diff --git a/test/suites/dev/moonbase/test-gas/test-gas-estimation-subcall-oog.ts b/test/suites/dev/moonbase/test-gas/test-gas-estimation-subcall-oog.ts index 127b12bc9d..5abf0717f5 100644 --- a/test/suites/dev/moonbase/test-gas/test-gas-estimation-subcall-oog.ts +++ b/test/suites/dev/moonbase/test-gas/test-gas-estimation-subcall-oog.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { beforeAll, deployCreateCompiledContract, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS } from "@moonwall/util"; -import { Abi, decodeEventLog, encodeFunctionData } from "viem"; +import { type Abi, decodeEventLog, encodeFunctionData } from "viem"; describeSuite({ id: "D011805", diff --git a/test/suites/dev/moonbase/test-locks/test-locks-multiple-locks.ts b/test/suites/dev/moonbase/test-locks/test-locks-multiple-locks.ts index 3c42639a97..082b6b9f44 100644 --- a/test/suites/dev/moonbase/test-locks/test-locks-multiple-locks.ts +++ b/test/suites/dev/moonbase/test-locks/test-locks-multiple-locks.ts @@ -60,7 +60,7 @@ describeSuite({ await context.polkadotJs().query.system.account(randomAddress) ).data.frozen.toBigInt(); - // BigInt doesn't have max()- we are testing frozenBalance == max(GLMR, MIN_GLMR_DELEGATOR) + // BigInt doesn't have max()- we are testing frozenBalance === max(GLMR, MIN_GLMR_DELEGATOR) if (GLMR > MIN_GLMR_DELEGATOR) { expect(frozenBalance).to.equal(GLMR); } else { diff --git a/test/suites/dev/moonbase/test-maintenance/test-maintenance-filter.ts b/test/suites/dev/moonbase/test-maintenance/test-maintenance-filter.ts index 6c76ba2c9a..3019e0950f 100644 --- a/test/suites/dev/moonbase/test-maintenance/test-maintenance-filter.ts +++ b/test/suites/dev/moonbase/test-maintenance/test-maintenance-filter.ts @@ -9,7 +9,7 @@ import { baltathar, createRawTransfer, } from "@moonwall/util"; -import { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; +import type { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; import { hexToU8a } from "@polkadot/util"; import { generatePrivateKey, privateKeyToAccount } from "viem/accounts"; import { mockOldAssetBalance } from "../../../../helpers"; diff --git a/test/suites/dev/moonbase/test-maintenance/test-maintenance-filter2.ts b/test/suites/dev/moonbase/test-maintenance/test-maintenance-filter2.ts index 858846f45e..5982d338dc 100644 --- a/test/suites/dev/moonbase/test-maintenance/test-maintenance-filter2.ts +++ b/test/suites/dev/moonbase/test-maintenance/test-maintenance-filter2.ts @@ -7,8 +7,8 @@ import { execOpenTechCommitteeProposal, } from "@moonwall/cli"; import { ALITH_ADDRESS, alith, baltathar } from "@moonwall/util"; -import { u128 } from "@polkadot/types-codec"; -import { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; +import type { u128 } from "@polkadot/types-codec"; +import type { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; import { RELAY_SOURCE_LOCATION, addAssetToWeightTrader, @@ -52,7 +52,7 @@ describeSuite({ ); // set relative price in xcmWeightTrader - await addAssetToWeightTrader(RELAY_SOURCE_LOCATION, 0, context); + await addAssetToWeightTrader(RELAY_SOURCE_LOCATION, 0n, context); await execOpenTechCommitteeProposal( context, diff --git a/test/suites/dev/moonbase/test-maintenance/test-maintenance-filter3.ts b/test/suites/dev/moonbase/test-maintenance/test-maintenance-filter3.ts index a08fcf3b80..4a0fb36e7b 100644 --- a/test/suites/dev/moonbase/test-maintenance/test-maintenance-filter3.ts +++ b/test/suites/dev/moonbase/test-maintenance/test-maintenance-filter3.ts @@ -53,7 +53,7 @@ describeSuite({ assetId = events.event.data[0].toHex().replace(/,/g, ""); // set relative price in xcmWeightTrader - await addAssetToWeightTrader(sourceLocation, 0, context); + await addAssetToWeightTrader(sourceLocation, 0n, context); }); beforeEach(async () => { diff --git a/test/suites/dev/moonbase/test-maintenance/test-maintenance-mode.ts b/test/suites/dev/moonbase/test-maintenance/test-maintenance-mode.ts index cac2e485ef..730b83a405 100644 --- a/test/suites/dev/moonbase/test-maintenance/test-maintenance-mode.ts +++ b/test/suites/dev/moonbase/test-maintenance/test-maintenance-mode.ts @@ -1,8 +1,8 @@ import "@moonbeam-network/api-augment"; import { beforeEach, describeSuite, expect, execOpenTechCommitteeProposal } from "@moonwall/cli"; import { alith } from "@moonwall/util"; -import { Result } from "@polkadot/types"; -import { SpRuntimeDispatchError } from "@polkadot/types/lookup"; +import type { Result } from "@polkadot/types"; +import type { SpRuntimeDispatchError } from "@polkadot/types/lookup"; describeSuite({ id: "D012004", diff --git a/test/suites/dev/moonbase/test-moonbeam-lazy-migrations/test-foreign-assets-migration.ts b/test/suites/dev/moonbase/test-moonbeam-lazy-migrations/test-foreign-assets-migration.ts index b7393925f7..0d50cc5699 100644 --- a/test/suites/dev/moonbase/test-moonbeam-lazy-migrations/test-foreign-assets-migration.ts +++ b/test/suites/dev/moonbase/test-moonbeam-lazy-migrations/test-foreign-assets-migration.ts @@ -1,5 +1,5 @@ import { describeSuite, expect, beforeAll } from "@moonwall/cli"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { ethers, parseEther } from "ethers"; import { expectOk } from "../../../../helpers"; import { @@ -16,7 +16,7 @@ import { alith, createEthersTransaction, } from "@moonwall/util"; -import { u128 } from "@polkadot/types-codec"; +import type { u128 } from "@polkadot/types-codec"; import { encodeFunctionData, parseAbi } from "viem"; describeSuite({ @@ -52,7 +52,7 @@ describeSuite({ ]; const totalSupply = accounts - .reduce((sum, account) => sum + parseFloat(account.balance), 0) + .reduce((sum, account) => sum + Number.parseFloat(account.balance), 0) .toString(); // Create asset details diff --git a/test/suites/dev/moonbase/test-multisigs/test-multisigs.ts b/test/suites/dev/moonbase/test-multisigs/test-multisigs.ts index 72db4ccf85..7836fedd05 100644 --- a/test/suites/dev/moonbase/test-multisigs/test-multisigs.ts +++ b/test/suites/dev/moonbase/test-multisigs/test-multisigs.ts @@ -56,7 +56,7 @@ describeSuite({ // check the event 'NewMultisig' was emitted const records = await context.polkadotJs().query.system.events(); const events = records.filter( - ({ event }) => event.section == "multisig" && event.method == "NewMultisig" + ({ event }) => event.section === "multisig" && event.method === "NewMultisig" ); expect(events).to.have.lengthOf(1); expect(block.result!.successful).to.be.true; @@ -99,7 +99,7 @@ describeSuite({ // check the event 'MultisigApproval' was emitted const records = await context.polkadotJs().query.system.events(); const events = records.filter( - ({ event }) => event.section == "multisig" && event.method == "MultisigApproval" + ({ event }) => event.section === "multisig" && event.method === "MultisigApproval" ); expect(events).to.have.lengthOf(1); expect(block.result!.successful).to.be.true; @@ -138,7 +138,7 @@ describeSuite({ const records = await context.polkadotJs().query.system.events(); const events = records.filter( - ({ event }) => event.section == "multisig" && event.method == "MultisigCancelled" + ({ event }) => event.section === "multisig" && event.method === "MultisigCancelled" ); expect(events, "event 'MultisigCancelled' was not emitted").to.have.lengthOf(1); expect(block.result!.successful).to.be.true; diff --git a/test/suites/dev/moonbase/test-parameters/test-parameters.ts b/test/suites/dev/moonbase/test-parameters/test-parameters.ts index fb1fbef96a..7a34646e04 100644 --- a/test/suites/dev/moonbase/test-parameters/test-parameters.ts +++ b/test/suites/dev/moonbase/test-parameters/test-parameters.ts @@ -1,4 +1,4 @@ -import { describeSuite, DevModeContext, expect } from "@moonwall/cli"; +import { describeSuite, type DevModeContext, expect } from "@moonwall/cli"; import "@moonbeam-network/api-augment"; import { alith } from "@moonwall/util"; diff --git a/test/suites/dev/moonbase/test-pov/test-evm-over-pov.ts b/test/suites/dev/moonbase/test-pov/test-evm-over-pov.ts index 85d1538738..f157e04cef 100644 --- a/test/suites/dev/moonbase/test-pov/test-evm-over-pov.ts +++ b/test/suites/dev/moonbase/test-pov/test-evm-over-pov.ts @@ -1,8 +1,8 @@ import "@moonbeam-network/api-augment"; import { beforeAll, deployCreateCompiledContract, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, createEthersTransaction } from "@moonwall/util"; -import { Abi, encodeFunctionData } from "viem"; -import { expectEVMResult, HeavyContract, deployHeavyContracts } from "../../../../helpers"; +import { type Abi, encodeFunctionData } from "viem"; +import { expectEVMResult, type HeavyContract, deployHeavyContracts } from "../../../../helpers"; describeSuite({ id: "D012701", diff --git a/test/suites/dev/moonbase/test-pov/test-evm-over-pov2.ts b/test/suites/dev/moonbase/test-pov/test-evm-over-pov2.ts index 73f47e785e..5b4cc396c8 100644 --- a/test/suites/dev/moonbase/test-pov/test-evm-over-pov2.ts +++ b/test/suites/dev/moonbase/test-pov/test-evm-over-pov2.ts @@ -1,8 +1,8 @@ import "@moonbeam-network/api-augment"; import { beforeAll, deployCreateCompiledContract, describeSuite, expect } from "@moonwall/cli"; import { createEthersTransaction } from "@moonwall/util"; -import { Abi, encodeFunctionData } from "viem"; -import { HeavyContract, deployHeavyContracts } from "../../../../helpers"; +import { type Abi, encodeFunctionData } from "viem"; +import { type HeavyContract, deployHeavyContracts } from "../../../../helpers"; import { MAX_ETH_POV_PER_TX } from "../../../../helpers/constants"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-pov/test-precompile-over-pov.ts b/test/suites/dev/moonbase/test-pov/test-precompile-over-pov.ts index abff6957db..5fb4735cec 100644 --- a/test/suites/dev/moonbase/test-pov/test-precompile-over-pov.ts +++ b/test/suites/dev/moonbase/test-pov/test-precompile-over-pov.ts @@ -6,9 +6,9 @@ import { deployCreateCompiledContract, fetchCompiledContract, } from "@moonwall/cli"; -import { HeavyContract, deployHeavyContracts, expectEVMResult } from "../../../../helpers"; +import { type HeavyContract, deployHeavyContracts, expectEVMResult } from "../../../../helpers"; -import { Abi, encodeFunctionData } from "viem"; +import { type Abi, encodeFunctionData } from "viem"; import { ALITH_ADDRESS, PRECOMPILE_BATCH_ADDRESS, createEthersTransaction } from "@moonwall/util"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-pov/test-precompile-over-pov2.ts b/test/suites/dev/moonbase/test-pov/test-precompile-over-pov2.ts index 06212a0795..a7881e9a08 100644 --- a/test/suites/dev/moonbase/test-pov/test-precompile-over-pov2.ts +++ b/test/suites/dev/moonbase/test-pov/test-precompile-over-pov2.ts @@ -7,8 +7,8 @@ import { fetchCompiledContract, } from "@moonwall/cli"; import { PRECOMPILE_BATCH_ADDRESS, createEthersTransaction } from "@moonwall/util"; -import { Abi, encodeFunctionData } from "viem"; -import { HeavyContract, deployHeavyContracts, MAX_ETH_POV_PER_TX } from "../../../../helpers"; +import { type Abi, encodeFunctionData } from "viem"; +import { type HeavyContract, deployHeavyContracts, MAX_ETH_POV_PER_TX } from "../../../../helpers"; describeSuite({ id: "D012705", diff --git a/test/suites/dev/moonbase/test-pov/test-xcm-to-evm-pov.ts b/test/suites/dev/moonbase/test-pov/test-xcm-to-evm-pov.ts index 5c4847cbfc..1fb6198417 100644 --- a/test/suites/dev/moonbase/test-pov/test-xcm-to-evm-pov.ts +++ b/test/suites/dev/moonbase/test-pov/test-xcm-to-evm-pov.ts @@ -1,10 +1,10 @@ import "@moonbeam-network/api-augment"; import { describeSuite, beforeAll, expect, deployCreateCompiledContract } from "@moonwall/cli"; -import { Abi, encodeFunctionData } from "viem"; -import { HeavyContract, deployHeavyContracts, expectOk } from "../../../../helpers"; +import { type Abi, encodeFunctionData } from "viem"; +import { type HeavyContract, deployHeavyContracts, expectOk } from "../../../../helpers"; import { - RawXcmMessage, + type RawXcmMessage, XcmFragment, descendOriginFromAddress20, injectHrmpMessage, diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20-local-assets-removal.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20-local-assets-removal.ts index 79b48e60e1..9aead393b1 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20-local-assets-removal.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20-local-assets-removal.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { beforeAll, deployCreateCompiledContract, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, createEthersTransaction } from "@moonwall/util"; -import { Abi, encodeFunctionData } from "viem"; +import { type Abi, encodeFunctionData } from "viem"; import { extractRevertReason } from "../../../../helpers"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20-low-level.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20-low-level.ts index a6e3b4c4af..a84cc8e27e 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20-low-level.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20-low-level.ts @@ -13,10 +13,10 @@ import { alith, createEthersTransaction, } from "@moonwall/util"; -import { u128 } from "@polkadot/types"; -import { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; +import type { u128 } from "@polkadot/types"; +import type { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; import { nToHex } from "@polkadot/util"; -import { Abi, encodeFunctionData } from "viem"; +import { type Abi, encodeFunctionData } from "viem"; import { mockOldAssetBalance } from "../../../../helpers"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20.ts index 285c8d54b6..a0be75f2b6 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20.ts @@ -1,9 +1,9 @@ import "@moonbeam-network/api-augment"; import { beforeAll, deployCreateCompiledContract, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, alith } from "@moonwall/util"; -import { u128 } from "@polkadot/types-codec"; -import { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; -import { Abi, decodeAbiParameters, encodeFunctionData } from "viem"; +import type { u128 } from "@polkadot/types-codec"; +import type { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; +import { type Abi, decodeAbiParameters, encodeFunctionData } from "viem"; import { mockOldAssetBalance } from "../../../../helpers"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20a.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20a.ts index ff647f9010..a17829c21c 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20a.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20a.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, deployCreateCompiledContract, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, BALTATHAR_ADDRESS, alith, createEthersTransaction } from "@moonwall/util"; -import { u128 } from "@polkadot/types-codec"; -import { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; +import type { u128 } from "@polkadot/types-codec"; +import type { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; import { mockOldAssetBalance } from "../../../../helpers"; -import { Abi, encodeFunctionData } from "viem"; +import { type Abi, encodeFunctionData } from "viem"; describeSuite({ id: "D012804", diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20b.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20b.ts index 01486a76f9..881312dd03 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20b.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20b.ts @@ -9,11 +9,11 @@ import { createEthersTransaction, createViemTransaction, } from "@moonwall/util"; -import { u128 } from "@polkadot/types-codec"; -import { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; +import type { u128 } from "@polkadot/types-codec"; +import type { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; import { mockOldAssetBalance } from "../../../../helpers"; -import { Abi, encodeFunctionData } from "viem"; +import { type Abi, encodeFunctionData } from "viem"; describeSuite({ id: "D012805", diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20c.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20c.ts index f53f0c4d19..5943b74797 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20c.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20c.ts @@ -1,9 +1,9 @@ import "@moonbeam-network/api-augment"; import { beforeAll, deployCreateCompiledContract, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, BALTATHAR_ADDRESS, alith, createViemTransaction } from "@moonwall/util"; -import { u128 } from "@polkadot/types-codec"; -import { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; -import { Abi, encodeFunctionData } from "viem"; +import type { u128 } from "@polkadot/types-codec"; +import type { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; +import { type Abi, encodeFunctionData } from "viem"; import { mockOldAssetBalance } from "../../../../helpers"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20d.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20d.ts index be123caad7..f82853d5ea 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20d.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20d.ts @@ -7,9 +7,9 @@ import { alith, createViemTransaction, } from "@moonwall/util"; -import { u128 } from "@polkadot/types-codec"; -import { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; -import { Abi, encodeFunctionData } from "viem"; +import type { u128 } from "@polkadot/types-codec"; +import type { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; +import { type Abi, encodeFunctionData } from "viem"; import { mockOldAssetBalance } from "../../../../helpers"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20e.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20e.ts index 1922aac4c1..748e746577 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20e.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20e.ts @@ -7,9 +7,9 @@ import { alith, createViemTransaction, } from "@moonwall/util"; -import { u128 } from "@polkadot/types-codec"; -import { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; -import { Abi, encodeFunctionData } from "viem"; +import type { u128 } from "@polkadot/types-codec"; +import type { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; +import { type Abi, encodeFunctionData } from "viem"; import { mockOldAssetBalance } from "../../../../helpers"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20f.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20f.ts index 3b35f8e576..e0804e0f42 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20f.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20f.ts @@ -1,9 +1,9 @@ import "@moonbeam-network/api-augment"; import { beforeAll, deployCreateCompiledContract, describeSuite, expect } from "@moonwall/cli"; import { BALTATHAR_ADDRESS, alith, createViemTransaction } from "@moonwall/util"; -import { u128 } from "@polkadot/types-codec"; -import { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; -import { Abi, encodeFunctionData } from "viem"; +import type { u128 } from "@polkadot/types-codec"; +import type { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; +import { type Abi, encodeFunctionData } from "viem"; import { mockOldAssetBalance } from "../../../../helpers"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys.ts index 940c51f842..563ffb3d2a 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys.ts @@ -36,7 +36,7 @@ describeSuite({ expect(extrinsic).to.exist; expect(resultEvent?.method).to.equal("ExtrinsicSuccess"); expect( - (events.find((e) => e.section == "ethereum" && e.method == "Executed")?.data[3] as any) + (events.find((e) => e.section === "ethereum" && e.method === "Executed")?.data[3] as any) .isSucceed ).to.be.true; }, @@ -52,8 +52,8 @@ describeSuite({ "ethereum", "transact" ); - expect(events.find((e) => e.section == "authorMapping" && e.method == "KeysRegistered")).to - .exist; + expect(events.find((e) => e.section === "authorMapping" && e.method === "KeysRegistered")) + .to.exist; }, }); diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys2.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys2.ts index 28c5997e87..ecec8ee4b0 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys2.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys2.ts @@ -44,7 +44,7 @@ describeSuite({ expect(extrinsic).to.exist; expect(resultEvent?.method).to.equal("ExtrinsicSuccess"); expect( - (events.find((e) => e.section == "ethereum" && e.method == "Executed")?.data[3] as any) + (events.find((e) => e.section === "ethereum" && e.method === "Executed")?.data[3] as any) .isSucceed ).to.be.true; }, @@ -60,7 +60,7 @@ describeSuite({ "ethereum", "transact" ); - expect(events.find((e) => e.section == "authorMapping" && e.method == "KeysRotated")).to + expect(events.find((e) => e.section === "authorMapping" && e.method === "KeysRotated")).to .exist; }, }); diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys3.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys3.ts index ba8d616b6e..10f4109966 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys3.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys3.ts @@ -44,7 +44,7 @@ describeSuite({ expect(extrinsic).to.exist; expect(resultEvent?.method).to.equal("ExtrinsicSuccess"); expect( - (events.find((e) => e.section == "ethereum" && e.method == "Executed")?.data[3] as any) + (events.find((e) => e.section === "ethereum" && e.method === "Executed")?.data[3] as any) .isSucceed ).to.be.true; }, @@ -60,7 +60,7 @@ describeSuite({ "ethereum", "transact" ); - expect(events.find((e) => e.section == "authorMapping" && e.method == "KeysRotated")).to + expect(events.find((e) => e.section === "authorMapping" && e.method === "KeysRotated")).to .exist; }, }); diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys4.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys4.ts index b2da1bee80..b6b7533145 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys4.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys4.ts @@ -57,7 +57,7 @@ describeSuite({ expect(extrinsic).to.exist; expect(resultEvent?.method).to.equal("ExtrinsicSuccess"); expect( - (events.find((e) => e.section == "ethereum" && e.method == "Executed")?.data[3] as any) + (events.find((e) => e.section === "ethereum" && e.method === "Executed")?.data[3] as any) .isSucceed ).to.be.true; }, @@ -73,7 +73,7 @@ describeSuite({ "ethereum", "transact" ); - expect(events.find((e) => e.section == "authorMapping" && e.method == "KeysRemoved")).to + expect(events.find((e) => e.section === "authorMapping" && e.method === "KeysRemoved")).to .exist; }, }); diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys5.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys5.ts index f793cfd117..e241ff4bcf 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys5.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys5.ts @@ -38,7 +38,7 @@ describeSuite({ expect(extrinsic).to.exist; expect(resultEvent?.method).to.equal("ExtrinsicSuccess"); expect( - (events.find((e) => e.section == "ethereum" && e.method == "Executed")?.data[3] as any) + (events.find((e) => e.section === "ethereum" && e.method === "Executed")?.data[3] as any) .isRevert ).to.be.true; }, @@ -54,8 +54,8 @@ describeSuite({ "ethereum", "transact" ); - expect(events.find((e) => e.section == "authorMapping" && e.method == "KeysRemoved")).to.not - .exist; + expect(events.find((e) => e.section === "authorMapping" && e.method === "KeysRemoved")).to + .not.exist; }, }); }, diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys6.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys6.ts index a13c6a9c21..6c96b92095 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys6.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys6.ts @@ -54,7 +54,7 @@ describeSuite({ // ethereum revert is still a successful substrate extrinsic expect(resultEvent?.method).to.equal("ExtrinsicSuccess"); expect( - (events.find((e) => e.section == "ethereum" && e.method == "Executed")?.data[3] as any) + (events.find((e) => e.section === "ethereum" && e.method === "Executed")?.data[3] as any) .isRevert ).to.be.true; }, @@ -70,7 +70,7 @@ describeSuite({ "ethereum", "transact" ); - expect(events.find((e) => e.section == "authorMapping")).to.not.exist; + expect(events.find((e) => e.section === "authorMapping")).to.not.exist; }, }); @@ -128,7 +128,7 @@ describeSuite({ // expect(extrinsic).to.exist; // expect(resultEvent.method).to.equal("ExtrinsicSuccess"); // expect( -// (events.find((e) => e.section == "ethereum" && e.method == "Executed").data[3] as any) +// (events.find((e) => e.section === "ethereum" && e.method === "Executed").data[3] as any) // .isRevert // ).to.be.true; // }); @@ -147,7 +147,7 @@ describeSuite({ // expect(extrinsic).to.exist; // expect(resultEvent.method).to.equal("ExtrinsicSuccess"); // expect( -// (events.find((e) => e.section == "ethereum" && e.method == "Executed").data[3] as any) +// (events.find((e) => e.section === "ethereum" && e.method === "Executed").data[3] as any) // .isRevert // ).to.be.true; // }); diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys7.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys7.ts index 7f7ab07f5a..737b3e294b 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys7.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys7.ts @@ -29,7 +29,7 @@ describeSuite({ expect(extrinsic).to.exist; expect(resultEvent?.method).to.equal("ExtrinsicSuccess"); expect( - (events.find((e) => e.section == "ethereum" && e.method == "Executed")?.data[3] as any) + (events.find((e) => e.section === "ethereum" && e.method === "Executed")?.data[3] as any) .isRevert ).to.be.true; }, diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys8.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys8.ts index f93a44a09e..eaf2046cf4 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys8.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys8.ts @@ -29,7 +29,7 @@ describeSuite({ expect(extrinsic).to.exist; expect(resultEvent?.method).to.equal("ExtrinsicSuccess"); expect( - (events.find((e) => e.section == "ethereum" && e.method == "Executed")?.data[3] as any) + (events.find((e) => e.section === "ethereum" && e.method === "Executed")?.data[3] as any) .isRevert ).to.be.true; }, diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping2.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping2.ts index 9d233afbf8..4bc9a83695 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping2.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping2.ts @@ -3,7 +3,7 @@ import { beforeAll, describeSuite, expect, fetchCompiledContract } from "@moonwa import { ALITH_ADDRESS, DEFAULT_GENESIS_MAPPING, - KeyringPair, + type KeyringPair, PRECOMPILE_AUTHOR_MAPPING_ADDRESS, createViemTransaction, generateKeyringPair, diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping3.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping3.ts index c02d606e9a..9288f4a88b 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping3.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping3.ts @@ -3,7 +3,7 @@ import { beforeAll, describeSuite, expect, fetchCompiledContract } from "@moonwa import { ALITH_ADDRESS, DEFAULT_GENESIS_MAPPING, - KeyringPair, + type KeyringPair, PRECOMPILE_AUTHOR_MAPPING_ADDRESS, createViemTransaction, generateKeyringPair, diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-batch.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-batch.ts index 5800a2d149..917edc5f72 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-batch.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-batch.ts @@ -94,9 +94,9 @@ describeSuite({ const STORAGE_READ_GAS_COST = // One storage read gas cost ConstantStore(context).STORAGE_READ_COST / ConstantStore(context).WEIGHT_TO_GAS_RATIO; - expect(batchAllReceipt["gasUsed"]).to.equal(43932n + STORAGE_READ_GAS_COST); - expect(batchSomeReceipt["gasUsed"]).to.equal(43932n + STORAGE_READ_GAS_COST); - expect(batchSomeUntilFailureReceipt["gasUsed"]).to.equal(43932n + STORAGE_READ_GAS_COST); + expect(batchAllReceipt.gasUsed).to.equal(43932n + STORAGE_READ_GAS_COST); + expect(batchSomeReceipt.gasUsed).to.equal(43932n + STORAGE_READ_GAS_COST); + expect(batchSomeUntilFailureReceipt.gasUsed).to.equal(43932n + STORAGE_READ_GAS_COST); }, }); diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-call-permit-demo.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-call-permit-demo.ts index 46b69df4f9..30b5ec9d36 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-call-permit-demo.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-call-permit-demo.ts @@ -13,7 +13,7 @@ import { PRECOMPILE_CALL_PERMIT_ADDRESS, createViemTransaction, } from "@moonwall/util"; -import { Abi, encodeFunctionData, fromHex } from "viem"; +import { type Abi, encodeFunctionData, fromHex } from "viem"; import { expectEVMResult, getSignatureParameters } from "../../../../helpers"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-clear-suicided-storage.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-clear-suicided-storage.ts index cb0bcfdc73..9dead72e6d 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-clear-suicided-storage.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-clear-suicided-storage.ts @@ -6,9 +6,9 @@ import { beforeEach, } from "@moonwall/cli"; import { createEthersTransaction } from "@moonwall/util"; -import { Abi, encodeFunctionData } from "viem"; +import { type Abi, encodeFunctionData } from "viem"; import { expectEVMResult, expectOk, extractRevertReason } from "../../../../helpers"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; describeSuite({ id: "D012929", diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-conviction-voting.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-conviction-voting.ts index 1a560fb5fd..3d87958e74 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-conviction-voting.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-conviction-voting.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { beforeAll, beforeEach, describeSuite, expect, fetchCompiledContract } from "@moonwall/cli"; import { ALITH_ADDRESS, ETHAN_ADDRESS, ETHAN_PRIVATE_KEY } from "@moonwall/util"; -import { Abi, decodeEventLog } from "viem"; +import { type Abi, decodeEventLog } from "viem"; import { expectEVMResult, extractRevertReason, diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-conviction-voting2.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-conviction-voting2.ts index 4d344a113a..d6c10c8bfb 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-conviction-voting2.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-conviction-voting2.ts @@ -33,7 +33,7 @@ describeSuite({ .polkadotJs() .query.referenda.referendumInfoFor(proposalIndex); expect(referendum.unwrap().asOngoing.tally.ayes.toBigInt()).to.equal( - 1n * 10n ** 17n * (conviction == 0n ? 1n : conviction * 10n) + 1n * 10n ** 17n * (conviction === 0n ? 1n : conviction * 10n) ); }, }); diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-conviction-voting3.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-conviction-voting3.ts index 5be67f81ba..79c14c08b9 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-conviction-voting3.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-conviction-voting3.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { beforeAll, beforeEach, describeSuite, expect, fetchCompiledContract } from "@moonwall/cli"; import { ALITH_ADDRESS } from "@moonwall/util"; -import { Abi, decodeEventLog } from "viem"; +import { type Abi, decodeEventLog } from "viem"; import { ConvictionVoting, createProposal, diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-conviction-voting4.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-conviction-voting4.ts index 1bd007e8f2..12e8627987 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-conviction-voting4.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-conviction-voting4.ts @@ -7,7 +7,7 @@ import { ETHAN_PRIVATE_KEY, GLMR, } from "@moonwall/util"; -import { Abi, decodeEventLog } from "viem"; +import { type Abi, decodeEventLog } from "viem"; import { ConvictionVoting, cancelProposal, diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-democracy.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-democracy.ts index 0113142460..0fca6371ee 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-democracy.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-democracy.ts @@ -14,7 +14,7 @@ describeSuite({ test: async function () { const referendumCount = await context.polkadotJs().query.referenda.referendumCount(); const blockNum = (await context.polkadotJs().rpc.chain.getHeader()).number.toBigInt(); - if (blockNum == 0n) { + if (blockNum === 0n) { expect(referendumCount.toNumber()).to.equal(0); } else { log(`Skipping test T01 because block number is ${blockNum}`); diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-erc20.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-erc20.ts index 6a2a8a7fa2..c4afcf1f78 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-erc20.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-erc20.ts @@ -8,7 +8,7 @@ import { PRECOMPILE_NATIVE_ERC20_ADDRESS, baltathar, } from "@moonwall/util"; -import { PrivateKeyAccount, keccak256, pad, parseEther, toBytes, toHex } from "viem"; +import { type PrivateKeyAccount, keccak256, pad, parseEther, toBytes, toHex } from "viem"; import { generatePrivateKey, privateKeyToAccount } from "viem/accounts"; import { ALITH_GENESIS_TRANSFERABLE_BALANCE } from "../../../../helpers"; diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-identity.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-identity.ts index 13d0a3c3f0..46fb6034f6 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-identity.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-identity.ts @@ -29,7 +29,9 @@ describeSuite({ // ..the other variants // // See BitWise operator (<<) for more info. - context.polkadotJs().tx.identity.setFields(0, 0b111 as any) + context + .polkadotJs() + .tx.identity.setFields(0, 0b111 as any) ); await context.createBlock( diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-modexp.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-modexp.ts index a6e89913b9..d1cbb2b7c7 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-modexp.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-modexp.ts @@ -75,7 +75,7 @@ describeSuite({ "fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"; // modulus const byteArray = hexToU8a(inputData); const inputLength = byteArray.length; - const numZeroBytes = byteArray.filter((a) => a == 0).length; + const numZeroBytes = byteArray.filter((a) => a === 0).length; const numNonZeroBytes = inputLength - numZeroBytes; const rawTxn = await createViemTransaction(context, { @@ -135,7 +135,7 @@ describeSuite({ "fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"; // modulus const byteArray = hexToU8a(inputData); const inputLength = byteArray.length; - const numZeroBytes = byteArray.filter((a) => a == 0).length; + const numZeroBytes = byteArray.filter((a) => a === 0).length; const numNonZeroBytes = inputLength - numZeroBytes; const rawTxn = await createViemTransaction(context, { @@ -168,7 +168,7 @@ describeSuite({ testVectors["nagydani-1-square"].modulus; const byteArray = hexToU8a(inputData); const inputLength = byteArray.length; - const numZeroBytes = byteArray.filter((a) => a == 0).length; + const numZeroBytes = byteArray.filter((a) => a === 0).length; const numNonZeroBytes = inputLength - numZeroBytes; const rawTxn = await createViemTransaction(context, { @@ -203,7 +203,7 @@ describeSuite({ testVectors["nagydani-1-qube"].modulus; const byteArray = hexToU8a(inputData); const inputLength = byteArray.length; - const numZeroBytes = byteArray.filter((a) => a == 0).length; + const numZeroBytes = byteArray.filter((a) => a === 0).length; const numNonZeroBytes = inputLength - numZeroBytes; const rawTxn = await createViemTransaction(context, { @@ -237,7 +237,7 @@ describeSuite({ testVectors["nagydani-1-pow0x10001"].modulus; const byteArray = hexToU8a(inputData); const inputLength = byteArray.length; - const numZeroBytes = byteArray.filter((a) => a == 0).length; + const numZeroBytes = byteArray.filter((a) => a === 0).length; const numNonZeroBytes = inputLength - numZeroBytes; const rawTxn = await createViemTransaction(context, { @@ -271,7 +271,7 @@ describeSuite({ testVectors["nagydani-2-square"].modulus; const byteArray = hexToU8a(inputData); const inputLength = byteArray.length; - const numZeroBytes = byteArray.filter((a) => a == 0).length; + const numZeroBytes = byteArray.filter((a) => a === 0).length; const numNonZeroBytes = inputLength - numZeroBytes; const rawTxn = await createViemTransaction(context, { @@ -305,7 +305,7 @@ describeSuite({ testVectors["nagydani-2-qube"].modulus; const byteArray = hexToU8a(inputData); const inputLength = byteArray.length; - const numZeroBytes = byteArray.filter((a) => a == 0).length; + const numZeroBytes = byteArray.filter((a) => a === 0).length; const numNonZeroBytes = inputLength - numZeroBytes; const rawTxn = await createViemTransaction(context, { @@ -339,7 +339,7 @@ describeSuite({ testVectors["nagydani-2-pow0x10001"].modulus; const byteArray = hexToU8a(inputData); const inputLength = byteArray.length; - const numZeroBytes = byteArray.filter((a) => a == 0).length; + const numZeroBytes = byteArray.filter((a) => a === 0).length; const numNonZeroBytes = inputLength - numZeroBytes; const rawTxn = await createViemTransaction(context, { @@ -373,7 +373,7 @@ describeSuite({ testVectors["nagydani-3-square"].modulus; const byteArray = hexToU8a(inputData); const inputLength = byteArray.length; - const numZeroBytes = byteArray.filter((a) => a == 0).length; + const numZeroBytes = byteArray.filter((a) => a === 0).length; const numNonZeroBytes = inputLength - numZeroBytes; const rawTxn = await createViemTransaction(context, { @@ -407,7 +407,7 @@ describeSuite({ testVectors["nagydani-3-qube"].modulus; const byteArray = hexToU8a(inputData); const inputLength = byteArray.length; - const numZeroBytes = byteArray.filter((a) => a == 0).length; + const numZeroBytes = byteArray.filter((a) => a === 0).length; const numNonZeroBytes = inputLength - numZeroBytes; const rawTxn = await createViemTransaction(context, { @@ -441,7 +441,7 @@ describeSuite({ testVectors["nagydani-3-pow0x10001"].modulus; const byteArray = hexToU8a(inputData); const inputLength = byteArray.length; - const numZeroBytes = byteArray.filter((a) => a == 0).length; + const numZeroBytes = byteArray.filter((a) => a === 0).length; const numNonZeroBytes = inputLength - numZeroBytes; const rawTxn = await createViemTransaction(context, { @@ -475,7 +475,7 @@ describeSuite({ testVectors["nagydani-4-square"].modulus; const byteArray = hexToU8a(inputData); const inputLength = byteArray.length; - const numZeroBytes = byteArray.filter((a) => a == 0).length; + const numZeroBytes = byteArray.filter((a) => a === 0).length; const numNonZeroBytes = inputLength - numZeroBytes; const rawTxn = await createViemTransaction(context, { @@ -509,7 +509,7 @@ describeSuite({ testVectors["nagydani-4-qube"].modulus; const byteArray = hexToU8a(inputData); const inputLength = byteArray.length; - const numZeroBytes = byteArray.filter((a) => a == 0).length; + const numZeroBytes = byteArray.filter((a) => a === 0).length; const numNonZeroBytes = inputLength - numZeroBytes; const rawTxn = await createViemTransaction(context, { @@ -543,7 +543,7 @@ describeSuite({ testVectors["nagydani-4-pow0x10001"].modulus; const byteArray = hexToU8a(inputData); const inputLength = byteArray.length; - const numZeroBytes = byteArray.filter((a) => a == 0).length; + const numZeroBytes = byteArray.filter((a) => a === 0).length; const numNonZeroBytes = inputLength - numZeroBytes; const rawTxn = await createViemTransaction(context, { @@ -577,7 +577,7 @@ describeSuite({ testVectors["nagydani-5-square"].modulus; const byteArray = hexToU8a(inputData); const inputLength = byteArray.length; - const numZeroBytes = byteArray.filter((a) => a == 0).length; + const numZeroBytes = byteArray.filter((a) => a === 0).length; const numNonZeroBytes = inputLength - numZeroBytes; const rawTxn = await createViemTransaction(context, { @@ -611,7 +611,7 @@ describeSuite({ testVectors["nagydani-5-qube"].modulus; const byteArray = hexToU8a(inputData); const inputLength = byteArray.length; - const numZeroBytes = byteArray.filter((a) => a == 0).length; + const numZeroBytes = byteArray.filter((a) => a === 0).length; const numNonZeroBytes = inputLength - numZeroBytes; const rawTxn = await createViemTransaction(context, { @@ -645,7 +645,7 @@ describeSuite({ testVectors["nagydani-5-pow0x10001"].modulus; const byteArray = hexToU8a(inputData); const inputLength = byteArray.length; - const numZeroBytes = byteArray.filter((a) => a == 0).length; + const numZeroBytes = byteArray.filter((a) => a === 0).length; const numNonZeroBytes = inputLength - numZeroBytes; const rawTxn = await createViemTransaction(context, { @@ -697,7 +697,7 @@ describeSuite({ ]); const inputData = u8aToHex(byteArray); const inputLength = byteArray.length; - const numZeroBytes = byteArray.filter((a) => a == 0).length; + const numZeroBytes = byteArray.filter((a) => a === 0).length; const numNonZeroBytes = inputLength - numZeroBytes; const rawTxn = await createViemTransaction(context, { diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-pallet-xcm.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-pallet-xcm.ts index 2cd1fcb249..db4d93ddf5 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-pallet-xcm.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-pallet-xcm.ts @@ -1,9 +1,9 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, fetchCompiledContract, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, BALTATHAR_ADDRESS, alith, createEthersTransaction } from "@moonwall/util"; -import { u128 } from "@polkadot/types-codec"; +import type { u128 } from "@polkadot/types-codec"; import { numberToHex } from "@polkadot/util"; -import { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; +import type { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; import { encodeFunctionData } from "viem"; import { expectEVMResult, mockOldAssetBalance } from "../../../../helpers"; diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-preimage.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-preimage.ts index 6ec4c087ba..fbe55ad41b 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-preimage.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-preimage.ts @@ -1,6 +1,6 @@ import "@moonbeam-network/api-augment"; import { beforeAll, beforeEach, describeSuite, expect, fetchCompiledContract } from "@moonwall/cli"; -import { Abi, decodeEventLog } from "viem"; +import { type Abi, decodeEventLog } from "viem"; import { Preimage, expectEVMResult, expectSubstrateEvent } from "../../../../helpers"; // Each test is instantiating a new proposal (Not ideal for isolation but easier to write) diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-referenda-demo.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-referenda-demo.ts index 551cf4734e..f29d92f32c 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-referenda-demo.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-referenda-demo.ts @@ -26,7 +26,7 @@ describeSuite({ const setStorageCallIndex = u8aToHex(context.polkadotJs().tx.system.setStorage.callIndex); const trackName = "root"; const tracksInfo = context.polkadotJs().consts.referenda.tracks; - const trackInfo = tracksInfo.find((track) => track[1].name.toString() == trackName); + const trackInfo = tracksInfo.find((track) => track[1].name.toString() === trackName); expect(trackInfo).to.not.be.empty; const { contractAddress: refUpgradeDemoV1Address, abi: refUpgradeDemoV1Abi } = diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-relay-verifier.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-relay-verifier.ts index 9ec20e74a3..a4293b09d3 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-relay-verifier.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-relay-verifier.ts @@ -78,24 +78,24 @@ describeSuite({ ]) ), ]); - }), - it({ - id: "T01", - title: "should successfully verify the Timestamp value in the proof", - test: async function () { - const readProof = context.polkadotJs().createType("ReadProof", proof); + }); + it({ + id: "T01", + title: "should successfully verify the Timestamp value in the proof", + test: async function () { + const readProof = context.polkadotJs().createType("ReadProof", proof); - expect( - await context.readContract!({ - contractAddress: PRECOMPILE_RELAY_DATA_VERIFIER_ADDRESS, - contractName: "RelayDataVerifier", - functionName: "verifyEntry", - args: [1000, readProof.toJSON(), keys[0]], - gas: 100_000n, - }) - ).toBe("0xc0e413b88d010000"); // 1_708_190_328_000 scale encoded - }, - }); + expect( + await context.readContract!({ + contractAddress: PRECOMPILE_RELAY_DATA_VERIFIER_ADDRESS, + contractName: "RelayDataVerifier", + functionName: "verifyEntry", + args: [1000, readProof.toJSON(), keys[0]], + gas: 100_000n, + }) + ).toBe("0xc0e413b88d010000"); // 1_708_190_328_000 scale encoded + }, + }); it({ id: "T02", title: "should successfully verify the values in the proof (order of values matters)", diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-wormhole.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-wormhole.ts index da36d5e40a..4149ad1998 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-wormhole.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-wormhole.ts @@ -5,8 +5,8 @@ import { Enum, Struct } from "@polkadot/types"; import type { Registry } from "@polkadot/types/types/registry"; import { u8aConcat, u8aToHex } from "@polkadot/util"; import { xxhashAsU8a } from "@polkadot/util-crypto"; -import { InterfaceAbi, ethers } from "ethers"; -import { Abi, encodeFunctionData } from "viem"; +import { type InterfaceAbi, ethers } from "ethers"; +import { type Abi, encodeFunctionData } from "viem"; import { expectEVMResult, expectSubstrateEvents, @@ -192,9 +192,8 @@ describeSuite({ const finality = 1; // Deploy bridge (based on wormhole) // wormhole-foundation/wormhole/blob/main/ethereum/migrations/3_deploy_bridge.js - const { contractAddress: tokenImplAddr } = await context.deployContract!( - "TokenImplementation" - ); + const { contractAddress: tokenImplAddr } = + await context.deployContract!("TokenImplementation"); log(`wormhole token impl deployed to ${tokenImplAddr}`); const { contractAddress: bridgeSetupAddr, abi: bridgeSetupAbi } = await context.deployContract!("BridgeSetup"); diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-transactor.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-transactor.ts index fd8b6f1baf..33fc61d09d 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-transactor.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-transactor.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, alith } from "@moonwall/util"; -import { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; +import type { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; import { fromBytes } from "viem"; import { mockOldAssetBalance, diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-transactor11.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-transactor11.ts index 08e25c45dc..f13bc5ec76 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-transactor11.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-transactor11.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, ALITH_PRIVATE_KEY, alith } from "@moonwall/util"; -import { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; +import type { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; import { fromBytes } from "viem"; import { mockOldAssetBalance, diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-transactor12.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-transactor12.ts index f3806d60e0..30875e450d 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-transactor12.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-transactor12.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, alith, ALITH_PRIVATE_KEY } from "@moonwall/util"; -import { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; +import type { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; import { fromBytes } from "viem"; import { mockOldAssetBalance, diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-transactor2.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-transactor2.ts index ec081ea74a..78bc2fce2b 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-transactor2.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-transactor2.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, alith } from "@moonwall/util"; -import { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; +import type { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; import { fromBytes } from "viem"; import { mockOldAssetBalance, diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-transactor7.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-transactor7.ts index 99f138a814..8668777926 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-transactor7.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-transactor7.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, alith } from "@moonwall/util"; -import { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; +import type { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; import { fromBytes } from "viem"; import { mockOldAssetBalance, diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-transactor8.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-transactor8.ts index bd9f6dc11a..93e254783f 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-transactor8.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-transactor8.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, alith } from "@moonwall/util"; -import { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; +import type { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; import { fromBytes } from "viem"; import { mockOldAssetBalance, diff --git a/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-utils.ts b/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-utils.ts index 2060e17e19..881e36897b 100644 --- a/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-utils.ts +++ b/test/suites/dev/moonbase/test-precompile/test-precompile-xcm-utils.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { GLMR, generateKeyringPair } from "@moonwall/util"; -import { XcmVersionedXcm } from "@polkadot/types/lookup"; +import type { XcmVersionedXcm } from "@polkadot/types/lookup"; import { u8aToHex } from "@polkadot/util"; import { expectEVMResult, descendOriginFromAddress20, ConstantStore } from "../../../../helpers"; diff --git a/test/suites/dev/moonbase/test-proxy/test-proxy-identity.ts b/test/suites/dev/moonbase/test-proxy/test-proxy-identity.ts index ddc377339c..0e687ab97c 100644 --- a/test/suites/dev/moonbase/test-proxy/test-proxy-identity.ts +++ b/test/suites/dev/moonbase/test-proxy/test-proxy-identity.ts @@ -1,6 +1,6 @@ import "@moonbeam-network/api-augment"; import { beforeEach, describeSuite, expect } from "@moonwall/cli"; -import { GLMR, KeyringPair, alith, generateKeyringPair } from "@moonwall/util"; +import { GLMR, type KeyringPair, alith, generateKeyringPair } from "@moonwall/util"; describeSuite({ id: "D013005", diff --git a/test/suites/dev/moonbase/test-proxy/test-proxy.ts b/test/suites/dev/moonbase/test-proxy/test-proxy.ts index 3c75cc2a69..3422be352e 100644 --- a/test/suites/dev/moonbase/test-proxy/test-proxy.ts +++ b/test/suites/dev/moonbase/test-proxy/test-proxy.ts @@ -3,7 +3,7 @@ import { beforeEach, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, CHARLETH_ADDRESS, - KeyringPair, + type KeyringPair, alith, generateKeyringPair, } from "@moonwall/util"; @@ -197,7 +197,7 @@ describeSuite({ const beforeCharlethBalance = await context .viem() .getBalance({ address: CHARLETH_ADDRESS }); - const { result: result } = await context.createBlock( + const { result } = await context.createBlock( context.polkadotJs().tx.proxy.addProxy(signer.address, "Any", 6), { signer: alith, allowFailures: false } ); diff --git a/test/suites/dev/moonbase/test-randomness/test-randomness-babe-lottery2.ts b/test/suites/dev/moonbase/test-randomness/test-randomness-babe-lottery2.ts index 31ca88862b..7103d7820c 100644 --- a/test/suites/dev/moonbase/test-randomness/test-randomness-babe-lottery2.ts +++ b/test/suites/dev/moonbase/test-randomness/test-randomness-babe-lottery2.ts @@ -11,7 +11,7 @@ import { charleth, dorothy, } from "@moonwall/util"; -import { TransactionReceipt, decodeEventLog } from "viem"; +import { type TransactionReceipt, decodeEventLog } from "viem"; import { fakeBabeResultTransaction, setupLotteryWithParticipants, diff --git a/test/suites/dev/moonbase/test-randomness/test-randomness-babe-request2.ts b/test/suites/dev/moonbase/test-randomness/test-randomness-babe-request2.ts index 9d82eb7eb1..5803b0a531 100644 --- a/test/suites/dev/moonbase/test-randomness/test-randomness-babe-request2.ts +++ b/test/suites/dev/moonbase/test-randomness/test-randomness-babe-request2.ts @@ -29,7 +29,7 @@ describeSuite({ id: "T01", title: "should store a request with id:0", test: async function () { - const requestId = parseInt( + const requestId = Number.parseInt( (await context.polkadotJs().query.randomness.requests.entries())[0][0].toHex().slice(-16), 16 ); diff --git a/test/suites/dev/moonbase/test-randomness/test-randomness-result.ts b/test/suites/dev/moonbase/test-randomness/test-randomness-result.ts index f5e87ae860..8138ff9af0 100644 --- a/test/suites/dev/moonbase/test-randomness/test-randomness-result.ts +++ b/test/suites/dev/moonbase/test-randomness/test-randomness-result.ts @@ -8,8 +8,8 @@ import { GLMR, alith, } from "@moonwall/util"; -import { Option } from "@polkadot/types"; -import { PalletRandomnessRandomnessResult } from "@polkadot/types/lookup"; +import type { Option } from "@polkadot/types"; +import type { PalletRandomnessRandomnessResult } from "@polkadot/types/lookup"; import { SIMPLE_SALT } from "../../../../helpers"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-randomness/test-randomness-result2.ts b/test/suites/dev/moonbase/test-randomness/test-randomness-result2.ts index e872f8acb6..6fa060ef99 100644 --- a/test/suites/dev/moonbase/test-randomness/test-randomness-result2.ts +++ b/test/suites/dev/moonbase/test-randomness/test-randomness-result2.ts @@ -7,8 +7,8 @@ import { GLMR, alith, } from "@moonwall/util"; -import { Option } from "@polkadot/types"; -import { PalletRandomnessRandomnessResult } from "@polkadot/types/lookup"; +import type { Option } from "@polkadot/types"; +import type { PalletRandomnessRandomnessResult } from "@polkadot/types/lookup"; import { jumpBlocks, SIMPLE_SALT } from "../../../../helpers"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-randomness/test-randomness-result4.ts b/test/suites/dev/moonbase/test-randomness/test-randomness-result4.ts index 5f9ba7908f..669e1fc000 100644 --- a/test/suites/dev/moonbase/test-randomness/test-randomness-result4.ts +++ b/test/suites/dev/moonbase/test-randomness/test-randomness-result4.ts @@ -1,8 +1,8 @@ import "@moonbeam-network/api-augment/moonbase"; import { describeSuite, expect } from "@moonwall/cli"; import { ALITH_PRIVATE_KEY, GLMR, alith } from "@moonwall/util"; -import { Option } from "@polkadot/types"; -import { PalletRandomnessRandomnessResult } from "@polkadot/types/lookup"; +import type { Option } from "@polkadot/types"; +import type { PalletRandomnessRandomnessResult } from "@polkadot/types/lookup"; import { jumpBlocks, SIMPLE_SALT } from "../../../../helpers"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-randomness/test-randomness-vrf-lottery5.ts b/test/suites/dev/moonbase/test-randomness/test-randomness-vrf-lottery5.ts index 368480f16a..6a1c213b04 100644 --- a/test/suites/dev/moonbase/test-randomness/test-randomness-vrf-lottery5.ts +++ b/test/suites/dev/moonbase/test-randomness/test-randomness-vrf-lottery5.ts @@ -8,7 +8,7 @@ import { GLMR, MILLIGLMR, } from "@moonwall/util"; -import { TransactionReceipt, decodeEventLog } from "viem"; +import { type TransactionReceipt, decodeEventLog } from "viem"; import { setupLotteryWithParticipants } from "../../../../helpers"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-randomness/test-randomness-vrf-lottery6.ts b/test/suites/dev/moonbase/test-randomness/test-randomness-vrf-lottery6.ts index b9d58543c1..8c7dafbfa1 100644 --- a/test/suites/dev/moonbase/test-randomness/test-randomness-vrf-lottery6.ts +++ b/test/suites/dev/moonbase/test-randomness/test-randomness-vrf-lottery6.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { GLMR } from "@moonwall/util"; -import { TransactionReceipt } from "viem"; +import type { TransactionReceipt } from "viem"; import { setupLotteryWithParticipants } from "../../../../helpers"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-randomness/test-randomness-vrf-request2.ts b/test/suites/dev/moonbase/test-randomness/test-randomness-vrf-request2.ts index 3e6f38c063..29b7390f6a 100644 --- a/test/suites/dev/moonbase/test-randomness/test-randomness-vrf-request2.ts +++ b/test/suites/dev/moonbase/test-randomness/test-randomness-vrf-request2.ts @@ -22,7 +22,7 @@ describeSuite({ id: "T01", title: "should store a request with id:0", test: async function () { - const requestId = parseInt( + const requestId = Number.parseInt( ((await context.polkadotJs().query.randomness.requests.entries()) as any)[0][0] .toHex() .slice(-16), diff --git a/test/suites/dev/moonbase/test-receipt/test-receipt-root.ts b/test/suites/dev/moonbase/test-receipt/test-receipt-root.ts index 16c6dd9cf6..03d6425ef6 100644 --- a/test/suites/dev/moonbase/test-receipt/test-receipt-root.ts +++ b/test/suites/dev/moonbase/test-receipt/test-receipt-root.ts @@ -4,7 +4,7 @@ import { BALTATHAR_ADDRESS } from "@moonwall/util"; import { Receipt } from "eth-object"; import { BaseTrie as Trie } from "merkle-patricia-tree"; import * as RLP from "rlp"; -import { Log, encodeDeployData, toHex } from "viem"; +import { type Log, encodeDeployData, toHex } from "viem"; describeSuite({ id: "D013202", @@ -116,7 +116,7 @@ describeSuite({ return await tree.put(Buffer.from(siblingPath), serializedReceipt); }) ); - // Onchain receipt root == Offchain receipt root + // Onchain receipt root === Offchain receipt root expect(block.receiptsRoot).to.be.eq("0x" + tree.root.toString("hex")); }, }); diff --git a/test/suites/dev/moonbase/test-referenda/test-referenda-fast-general-admin.ts b/test/suites/dev/moonbase/test-referenda/test-referenda-fast-general-admin.ts index 04c82a48a1..d26adb3805 100644 --- a/test/suites/dev/moonbase/test-referenda/test-referenda-fast-general-admin.ts +++ b/test/suites/dev/moonbase/test-referenda/test-referenda-fast-general-admin.ts @@ -54,7 +54,7 @@ describeSuite({ const refInfo = await context.polkadotJs().query.referenda.referendumInfoFor(refIndex); const track = refInfo.unwrap().asOngoing.track.toString(); const tracks = context.polkadotJs().consts.referenda.tracks; - const trackName = tracks.find(([index, info]) => index.toString() == track)![1].name; + const trackName = tracks.find(([index, info]) => index.toString() === track)![1].name; expect(trackName.toString()).to.be.eq("fast_general_admin"); }, diff --git a/test/suites/dev/moonbase/test-referenda/test-referenda-general-admin.ts b/test/suites/dev/moonbase/test-referenda/test-referenda-general-admin.ts index fa7dbe2a48..467b17d316 100644 --- a/test/suites/dev/moonbase/test-referenda/test-referenda-general-admin.ts +++ b/test/suites/dev/moonbase/test-referenda/test-referenda-general-admin.ts @@ -54,7 +54,7 @@ describeSuite({ const refInfo = await context.polkadotJs().query.referenda.referendumInfoFor(refIndex); const track = refInfo.unwrap().asOngoing.track.toString(); const tracks = context.polkadotJs().consts.referenda.tracks; - const trackName = tracks.find(([index, info]) => index.toString() == track)![1].name; + const trackName = tracks.find(([index, info]) => index.toString() === track)![1].name; expect(trackName.toString()).to.be.eq("general_admin"); }, diff --git a/test/suites/dev/moonbase/test-referenda/test-referenda-submit.ts b/test/suites/dev/moonbase/test-referenda/test-referenda-submit.ts index a39452d713..b2d9876d3b 100644 --- a/test/suites/dev/moonbase/test-referenda/test-referenda-submit.ts +++ b/test/suites/dev/moonbase/test-referenda/test-referenda-submit.ts @@ -7,7 +7,7 @@ import { maximizeConvictionVotingOf, whiteListTrackNoSend, } from "@moonwall/cli"; -import { ALITH_ADDRESS, GLMR, KeyringPair, ethan, generateKeyringPair } from "@moonwall/util"; +import { ALITH_ADDRESS, GLMR, type KeyringPair, ethan, generateKeyringPair } from "@moonwall/util"; describeSuite({ id: "D013303", diff --git a/test/suites/dev/moonbase/test-staking/test-rewards-auto-compound-pov.ts b/test/suites/dev/moonbase/test-staking/test-rewards-auto-compound-pov.ts index b7b979f99b..461f3d4119 100644 --- a/test/suites/dev/moonbase/test-staking/test-rewards-auto-compound-pov.ts +++ b/test/suites/dev/moonbase/test-staking/test-rewards-auto-compound-pov.ts @@ -2,7 +2,7 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { GLMR, - KeyringPair, + type KeyringPair, MIN_GLMR_DELEGATOR, MIN_GLMR_STAKING, alith, diff --git a/test/suites/dev/moonbase/test-staking/test-rewards-auto-compound10.ts b/test/suites/dev/moonbase/test-staking/test-rewards-auto-compound10.ts index f8ccacac4a..96d5155985 100644 --- a/test/suites/dev/moonbase/test-staking/test-rewards-auto-compound10.ts +++ b/test/suites/dev/moonbase/test-staking/test-rewards-auto-compound10.ts @@ -2,7 +2,7 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { GLMR, - KeyringPair, + type KeyringPair, MIN_GLMR_DELEGATOR, MIN_GLMR_STAKING, alith, diff --git a/test/suites/dev/moonbase/test-staking/test-rewards.ts b/test/suites/dev/moonbase/test-staking/test-rewards.ts index 8732d84fb1..4fe037ff3d 100644 --- a/test/suites/dev/moonbase/test-staking/test-rewards.ts +++ b/test/suites/dev/moonbase/test-staking/test-rewards.ts @@ -46,7 +46,7 @@ describeSuite({ ); expect( - rewardedEvents.some(({ account }) => account == ethan.address), + rewardedEvents.some(({ account }) => account === ethan.address), "delegator was not rewarded" ).to.be.true; }, diff --git a/test/suites/dev/moonbase/test-staking/test-rewards2.ts b/test/suites/dev/moonbase/test-staking/test-rewards2.ts index 81c185bf3f..96300a96e3 100644 --- a/test/suites/dev/moonbase/test-staking/test-rewards2.ts +++ b/test/suites/dev/moonbase/test-staking/test-rewards2.ts @@ -54,7 +54,7 @@ describeSuite({ ); expect( - rewardedEvents.some(({ account }) => account == ethan.address), + rewardedEvents.some(({ account }) => account === ethan.address), "delegator was incorrectly rewarded" ).to.be.false; }, diff --git a/test/suites/dev/moonbase/test-staking/test-rewards3.ts b/test/suites/dev/moonbase/test-staking/test-rewards3.ts index 40fc3aa414..9ad56ec759 100644 --- a/test/suites/dev/moonbase/test-staking/test-rewards3.ts +++ b/test/suites/dev/moonbase/test-staking/test-rewards3.ts @@ -54,7 +54,7 @@ describeSuite({ ); expect( - rewardedEvents.some(({ account }) => account == ethan.address), + rewardedEvents.some(({ account }) => account === ethan.address), "delegator was incorrectly rewarded" ).to.be.false; }, diff --git a/test/suites/dev/moonbase/test-staking/test-rewards4.ts b/test/suites/dev/moonbase/test-staking/test-rewards4.ts index cbf970ecc2..3c66bd4987 100644 --- a/test/suites/dev/moonbase/test-staking/test-rewards4.ts +++ b/test/suites/dev/moonbase/test-staking/test-rewards4.ts @@ -60,8 +60,10 @@ describeSuite({ [] ); - const rewardedEthan = rewardedEvents.find(({ account }) => account == ethan.address); - const rewardedBalathar = rewardedEvents.find(({ account }) => account == baltathar.address); + const rewardedEthan = rewardedEvents.find(({ account }) => account === ethan.address); + const rewardedBalathar = rewardedEvents.find( + ({ account }) => account === baltathar.address + ); expect(rewardedEthan).is.not.undefined; expect(rewardedBalathar).is.not.undefined; expect( diff --git a/test/suites/dev/moonbase/test-staking/test-rewards5.ts b/test/suites/dev/moonbase/test-staking/test-rewards5.ts index 4285e5e1f9..b999477987 100644 --- a/test/suites/dev/moonbase/test-staking/test-rewards5.ts +++ b/test/suites/dev/moonbase/test-staking/test-rewards5.ts @@ -79,9 +79,9 @@ describeSuite({ (await context.polkadotJs().query.system.events()).forEach((event) => { if (context.polkadotJs().events.parachainStaking.InflationDistributed.is(event.event)) { - if (event.event.data.account.toString() == dorothy.address) { + if (event.event.data.account.toString() === dorothy.address) { pbrReward = event.event.data.value.toBigInt(); - } else if (event.event.data.account.toString() == charleth.address) { + } else if (event.event.data.account.toString() === charleth.address) { treasuryReward = event.event.data.value.toBigInt(); } } diff --git a/test/suites/dev/moonbase/test-staking/test-staking-consts.ts b/test/suites/dev/moonbase/test-staking/test-staking-consts.ts index 302ab728ca..4d5840d212 100644 --- a/test/suites/dev/moonbase/test-staking/test-staking-consts.ts +++ b/test/suites/dev/moonbase/test-staking/test-staking-consts.ts @@ -3,7 +3,7 @@ import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, GLMR, - KeyringPair, + type KeyringPair, MIN_GLMR_DELEGATOR, MIN_GLMR_STAKING, alith, diff --git a/test/suites/dev/moonbase/test-staking/test-staking-locks11.ts b/test/suites/dev/moonbase/test-staking/test-staking-locks11.ts index 8a5835ef02..9e2404aca1 100644 --- a/test/suites/dev/moonbase/test-staking/test-staking-locks11.ts +++ b/test/suites/dev/moonbase/test-staking/test-staking-locks11.ts @@ -1,6 +1,12 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { GLMR, KeyringPair, MIN_GLMR_DELEGATOR, alith, generateKeyringPair } from "@moonwall/util"; +import { + GLMR, + type KeyringPair, + MIN_GLMR_DELEGATOR, + alith, + generateKeyringPair, +} from "@moonwall/util"; import { chunk } from "../../../../helpers"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-staking/test-staking-locks12.ts b/test/suites/dev/moonbase/test-staking/test-staking-locks12.ts index 6741cb8c36..94e5a98a8d 100644 --- a/test/suites/dev/moonbase/test-staking/test-staking-locks12.ts +++ b/test/suites/dev/moonbase/test-staking/test-staking-locks12.ts @@ -2,7 +2,7 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { GLMR, - KeyringPair, + type KeyringPair, MILLIGLMR, MIN_GLMR_DELEGATOR, alith, @@ -86,7 +86,7 @@ describeSuite({ .polkadotJs() .query.balances.locks.multi(topDelegators.map((delegator) => delegator.address)); const numDelegatorLocks = topLocks.filter((lockSet) => - lockSet.find((lock) => fromBytes(lock.id.toU8a(), "string") == "stkngdel") + lockSet.find((lock) => fromBytes(lock.id.toU8a(), "string") === "stkngdel") ).length; if (numDelegatorLocks < topDelegators.length) { @@ -132,7 +132,7 @@ describeSuite({ .query.balances.locks.multi(bottomDelegators.map((delegator) => delegator.address)); expect( bottomLocks.filter((lockSet) => - lockSet.find((lock) => fromBytes(lock.id.toU8a(), "string") == "stkngdel") + lockSet.find((lock) => fromBytes(lock.id.toU8a(), "string") === "stkngdel") ).length ).to.equal( context.polkadotJs().consts.parachainStaking.maxBottomDelegationsPerCandidate.toNumber() diff --git a/test/suites/dev/moonbase/test-staking/test-staking-locks9.ts b/test/suites/dev/moonbase/test-staking/test-staking-locks9.ts index 659ef3c115..b9abf4edc0 100644 --- a/test/suites/dev/moonbase/test-staking/test-staking-locks9.ts +++ b/test/suites/dev/moonbase/test-staking/test-staking-locks9.ts @@ -2,7 +2,7 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { GLMR, - KeyringPair, + type KeyringPair, MIN_GLMR_DELEGATOR, MIN_GLMR_STAKING, alith, diff --git a/test/suites/dev/moonbase/test-storage-growth/test-evm-store-storage-growth.ts b/test/suites/dev/moonbase/test-storage-growth/test-evm-store-storage-growth.ts index f6c1ec61b0..98b67356c2 100644 --- a/test/suites/dev/moonbase/test-storage-growth/test-evm-store-storage-growth.ts +++ b/test/suites/dev/moonbase/test-storage-growth/test-evm-store-storage-growth.ts @@ -8,7 +8,7 @@ import { import { createEthersTransaction } from "@moonwall/util"; import { expectEVMResult } from "helpers/eth-transactions"; import { expectOk } from "helpers/expect"; -import { Abi, encodeFunctionData } from "viem"; +import { type Abi, encodeFunctionData } from "viem"; describeSuite({ id: "D013503", diff --git a/test/suites/dev/moonbase/test-subscription/test-subscription-logs2.ts b/test/suites/dev/moonbase/test-subscription/test-subscription-logs2.ts index dfe05d48ce..21e0a44d75 100644 --- a/test/suites/dev/moonbase/test-subscription/test-subscription-logs2.ts +++ b/test/suites/dev/moonbase/test-subscription/test-subscription-logs2.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { ALITH_CONTRACT_ADDRESSES } from "@moonwall/util"; -import { Log } from "web3"; +import type { Log } from "web3"; describeSuite({ id: "D013602", diff --git a/test/suites/dev/moonbase/test-subscription/test-subscription-pending.ts b/test/suites/dev/moonbase/test-subscription/test-subscription-pending.ts index 8019e14f13..a3e95a7fea 100644 --- a/test/suites/dev/moonbase/test-subscription/test-subscription-pending.ts +++ b/test/suites/dev/moonbase/test-subscription/test-subscription-pending.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { describeSuite, expect } from "@moonwall/cli"; import { BALTATHAR_ADDRESS, GLMR, createRawTransfer, sendRawTransaction } from "@moonwall/util"; -import { setTimeout } from "timers/promises"; +import { setTimeout } from "node:timers/promises"; describeSuite({ id: "D013604", diff --git a/test/suites/dev/moonbase/test-subscription/test-subscription.ts b/test/suites/dev/moonbase/test-subscription/test-subscription.ts index 31f5560da2..1155f075c5 100644 --- a/test/suites/dev/moonbase/test-subscription/test-subscription.ts +++ b/test/suites/dev/moonbase/test-subscription/test-subscription.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, BALTATHAR_ADDRESS, createRawTransfer } from "@moonwall/util"; -import { PublicClient, createPublicClient, webSocket } from "viem"; +import { type PublicClient, createPublicClient, webSocket } from "viem"; describeSuite({ id: "D013605", diff --git a/test/suites/dev/moonbase/test-treasury/test-treasury-pallet.ts b/test/suites/dev/moonbase/test-treasury/test-treasury-pallet.ts index 2c642e8eac..8cf3725692 100644 --- a/test/suites/dev/moonbase/test-treasury/test-treasury-pallet.ts +++ b/test/suites/dev/moonbase/test-treasury/test-treasury-pallet.ts @@ -1,6 +1,6 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { alith, baltathar, ethan } from "@moonwall/util"; describeSuite({ diff --git a/test/suites/dev/moonbase/test-txpool/test-txpool-fairness.ts b/test/suites/dev/moonbase/test-txpool/test-txpool-fairness.ts index cbe57a8a68..b1e5c2baca 100644 --- a/test/suites/dev/moonbase/test-txpool/test-txpool-fairness.ts +++ b/test/suites/dev/moonbase/test-txpool/test-txpool-fairness.ts @@ -136,8 +136,8 @@ describeSuite({ const { block } = await context.polkadotJs().rpc.chain.getBlock(hash); const transferExts = block.extrinsics.filter((ext) => { return ( - (ext.method.section == "balances" && ext.method.method == "transferAllowDeath") || - (ext.method.section == "ethereum" && ext.method.method == "transact") + (ext.method.section === "balances" && ext.method.method === "transferAllowDeath") || + (ext.method.section === "ethereum" && ext.method.method === "transact") ); }); diff --git a/test/suites/dev/moonbase/test-txpool/test-txpool-limits3.ts b/test/suites/dev/moonbase/test-txpool/test-txpool-limits3.ts index 94a396610e..ff807ccde0 100644 --- a/test/suites/dev/moonbase/test-txpool/test-txpool-limits3.ts +++ b/test/suites/dev/moonbase/test-txpool/test-txpool-limits3.ts @@ -82,7 +82,7 @@ describeSuite({ ).length; log(`Transactions left in pool: ${txPoolSize}`); - if ((await context.viem().getBlock()).transactions.length == 0) { + if ((await context.viem().getBlock()).transactions.length === 0) { break; } blocks++; diff --git a/test/suites/dev/moonbase/test-txpool/test-txpool-limits4.ts b/test/suites/dev/moonbase/test-txpool/test-txpool-limits4.ts index b6d11997e5..94537f28a7 100644 --- a/test/suites/dev/moonbase/test-txpool/test-txpool-limits4.ts +++ b/test/suites/dev/moonbase/test-txpool/test-txpool-limits4.ts @@ -54,7 +54,7 @@ describeSuite({ ).length; log(`Transactions left in pool: ${txPoolSize}`); - if ((await context.viem().getBlock()).transactions.length == 0) { + if ((await context.viem().getBlock()).transactions.length === 0) { break; } blocks++; diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-asset-transfer-2.ts b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-asset-transfer-2.ts index 1cecd5eca4..5d7671b1d4 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-asset-transfer-2.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-asset-transfer-2.ts @@ -3,7 +3,11 @@ import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { BN } from "@polkadot/util"; import { alith } from "@moonwall/util"; -import { XcmFragment, RawXcmMessage, injectHrmpMessageAndSeal } from "../../../../helpers/xcm.js"; +import { + XcmFragment, + type RawXcmMessage, + injectHrmpMessageAndSeal, +} from "../../../../helpers/xcm.js"; import { registerOldForeignAsset } from "../../../../helpers/assets.js"; const palletId = "0x6D6f646c617373746d6E67720000000000000000"; diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-asset-transfer-3.ts b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-asset-transfer-3.ts index 9565be40eb..a1e0149c9c 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-asset-transfer-3.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-asset-transfer-3.ts @@ -2,7 +2,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { alith } from "@moonwall/util"; -import { XcmFragment, RawXcmMessage, injectHrmpMessageAndSeal } from "../../../../helpers/xcm.js"; +import { + XcmFragment, + type RawXcmMessage, + injectHrmpMessageAndSeal, +} from "../../../../helpers/xcm.js"; import { registerOldForeignAsset } from "../../../../helpers/assets.js"; const FOREIGN_TOKEN = 1_000_000_000_000n; diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-asset-transfer-4.ts b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-asset-transfer-4.ts index 535d3fa45a..4ed35bfa49 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-asset-transfer-4.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-asset-transfer-4.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, sovereignAccountOfSibling, } from "../../../../helpers/xcm.js"; @@ -44,7 +44,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); // We are charging 100_000_000 weight for every XCM instruction diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-asset-transfer-5.ts b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-asset-transfer-5.ts index 6f601fa666..c8a5672a81 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-asset-transfer-5.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-asset-transfer-5.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, weightMessage, sovereignAccountOfSibling, @@ -46,7 +46,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); // The rest should be going to the deposit account diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-asset-transfer-6.ts b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-asset-transfer-6.ts index 78d67592de..39b8c4a1e7 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-asset-transfer-6.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-asset-transfer-6.ts @@ -3,7 +3,11 @@ import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { alith } from "@moonwall/util"; -import { XcmFragment, RawXcmMessage, injectHrmpMessageAndSeal } from "../../../../helpers/xcm.js"; +import { + XcmFragment, + type RawXcmMessage, + injectHrmpMessageAndSeal, +} from "../../../../helpers/xcm.js"; import { registerOldForeignAsset } from "../../../../helpers/assets.js"; const FOREIGN_TOKEN = 1_000_000_000_000n; diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-asset-transfer-8.ts b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-asset-transfer-8.ts index dff1c29645..9237ccf4b0 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-asset-transfer-8.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-asset-transfer-8.ts @@ -2,7 +2,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { alith } from "@moonwall/util"; -import { XcmFragment, RawXcmMessage, injectHrmpMessageAndSeal } from "../../../../helpers/xcm.js"; +import { + XcmFragment, + type RawXcmMessage, + injectHrmpMessageAndSeal, +} from "../../../../helpers/xcm.js"; import { registerOldForeignAsset } from "../../../../helpers/assets.js"; const palletId = "0x6D6f646c617373746d6E67720000000000000000"; diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-1.ts b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-1.ts index 3535547e79..5eaec6670e 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-1.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-1.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -45,7 +45,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const transferCall = context diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-2.ts b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-2.ts index cb72164599..23441ca41b 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-2.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-2.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -45,7 +45,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const transferCall = context diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-3.ts b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-3.ts index b9ea91155d..740d1ee392 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-3.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-3.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -45,7 +45,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const transferCall = context diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-4.ts b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-4.ts index ac87273503..3475db3e79 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-4.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-4.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -45,7 +45,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const transferCall = context diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-1.ts b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-1.ts index 15b97731f0..653e7db19d 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-1.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-1.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair, GAS_LIMIT_POV_RATIO } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -51,7 +51,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const amountToTransfer = transferredBalance / 10n; diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-10.ts b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-10.ts index 7ca5d0e55d..48fe776e13 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-10.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-10.ts @@ -2,10 +2,10 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { GAS_LIMIT_POV_RATIO } from "@moonwall/util"; -import { Abi, encodeFunctionData } from "viem"; +import { type Abi, encodeFunctionData } from "viem"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -50,11 +50,11 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); // Matches the BoundedVec limit in the runtime. - const CALL_INPUT_SIZE_LIMIT = Math.pow(2, 16); + const CALL_INPUT_SIZE_LIMIT = 2 ** 16; const GAS_LIMIT = 1_100_000; diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-11.ts b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-11.ts index 912c37c04a..0e9d41e5c0 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-11.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-11.ts @@ -2,10 +2,10 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { GAS_LIMIT_POV_RATIO } from "@moonwall/util"; -import { Abi, encodeFunctionData } from "viem"; +import { type Abi, encodeFunctionData } from "viem"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -50,11 +50,11 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); // Matches the BoundedVec limit in the runtime. - const CALL_INPUT_SIZE_LIMIT = Math.pow(2, 16); + const CALL_INPUT_SIZE_LIMIT = 2 ** 16; const GAS_LIMIT = 1000000; const xcmTransactions = [ diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-12.ts b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-12.ts index ed610bdeb2..e63ff0e398 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-12.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-12.ts @@ -2,10 +2,10 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { GAS_LIMIT_POV_RATIO, generateKeyringPair } from "@moonwall/util"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -51,7 +51,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const amountToTransfer = transferredBalance / 10n; diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-2.ts b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-2.ts index 2179331d25..715f0be6d1 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-2.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-2.ts @@ -1,10 +1,10 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { Abi, encodeFunctionData } from "viem"; +import { type Abi, encodeFunctionData } from "viem"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -51,7 +51,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const GAS_LIMIT = 100_000; diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-3.ts b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-3.ts index 7dfe122534..a38d9af295 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-3.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-3.ts @@ -2,15 +2,15 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { BN } from "@polkadot/util"; -import { KeyringPair } from "@polkadot/keyring/types"; -import { Abi, encodeFunctionData } from "viem"; +import type { KeyringPair } from "@polkadot/keyring/types"; +import { type Abi, encodeFunctionData } from "viem"; import { generateKeyringPair, GAS_LIMIT_POV_RATIO } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, - MultiLocation, + type MultiLocation, weightMessage, } from "../../../../helpers/xcm.js"; import { registerOldForeignAsset } from "../../../../helpers/assets.js"; diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-4.ts b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-4.ts index 7c96b2e987..189c9e5d18 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-4.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-4.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair, GAS_LIMIT_POV_RATIO } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -48,7 +48,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const amountToTransfer = transferredBalance / 10n; diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-5.ts b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-5.ts index 73c75197de..f0a5d931db 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-5.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-5.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair, charleth, GAS_LIMIT_POV_RATIO } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -56,7 +56,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const amountToTransfer = transferredBalance / 10n; diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-6.ts b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-6.ts index e3383798a0..6a6a4c9da0 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-6.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-6.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair, charleth, GAS_LIMIT_POV_RATIO } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -59,7 +59,7 @@ describeSuite({ ).data.free.toBigInt(); // Charleth nonce - charlethNonce = parseInt( + charlethNonce = Number.parseInt( (await context.polkadotJs().query.system.account(sendingAddress)).nonce.toString() ); }); @@ -71,7 +71,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const amountToTransfer = transferredBalance / 10n; diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-7.ts b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-7.ts index b38cd63599..35cd2b5b3c 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-7.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-7.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair, charleth, alith, GAS_LIMIT_POV_RATIO } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -55,7 +55,7 @@ describeSuite({ ).data.free.toBigInt(); // Charleth nonce - charlethNonce = parseInt( + charlethNonce = Number.parseInt( (await context.polkadotJs().query.system.account(sendingAddress)).nonce.toString() ); @@ -75,7 +75,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const amountToTransfer = transferredBalance / 10n; diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-8.ts b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-8.ts index e73705aa32..ae505bef39 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-8.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-mock-hrmp-transact-ethereum-8.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair, alith, GAS_LIMIT_POV_RATIO } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -56,7 +56,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const amountToTransfer = transferredBalance / 10n; diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-xcm-erc20-data-field-size.ts b/test/suites/dev/moonbase/test-xcm-v3/test-xcm-erc20-data-field-size.ts index 6261801365..1cda57c9cb 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-xcm-erc20-data-field-size.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-xcm-erc20-data-field-size.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { beforeEach, describeSuite, expect } from "@moonwall/cli"; import { CHARLETH_ADDRESS, alith } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { sovereignAccountOfSibling, injectEncodedHrmpMessageAndSeal, diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-xcm-erc20-excess-gas.ts b/test/suites/dev/moonbase/test-xcm-v3/test-xcm-erc20-excess-gas.ts index 4d5eb2f09c..d6a90f26ba 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-xcm-erc20-excess-gas.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-xcm-erc20-excess-gas.ts @@ -1,12 +1,12 @@ import "@moonbeam-network/api-augment"; import { beforeEach, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, BALTATHAR_ADDRESS, CHARLETH_ADDRESS, alith } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { parseEther } from "ethers"; import { expectEVMResult, getTransactionFees } from "../../../../helpers"; import { XcmFragment, - XcmFragmentConfig, + type XcmFragmentConfig, injectHrmpMessageAndSeal, sovereignAccountOfSibling, } from "../../../../helpers/xcm.js"; @@ -108,10 +108,10 @@ describeSuite({ // Get pallet indices const metadata = await polkadotJs.rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const erc20XcmPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Erc20XcmBridge")! + .find(({ name }) => name.toString() === "Erc20XcmBridge")! .index.toNumber(); // Send some native tokens to the sovereign account of paraId (to pay fees) @@ -196,10 +196,10 @@ describeSuite({ // Get pallet indices const metadata = await polkadotJs.rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const erc20XcmPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Erc20XcmBridge")! + .find(({ name }) => name.toString() === "Erc20XcmBridge")! .index.toNumber(); // Send some native tokens to the sovereign account of paraId (to pay fees) diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-xcm-erc20-fees-and-trap.ts b/test/suites/dev/moonbase/test-xcm-v3/test-xcm-erc20-fees-and-trap.ts index bf734a363f..5a00530fe5 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-xcm-erc20-fees-and-trap.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-xcm-erc20-fees-and-trap.ts @@ -1,11 +1,11 @@ import { beforeEach, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, CHARLETH_ADDRESS, alith } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { parseEther } from "ethers"; import { expectEVMResult } from "../../../../helpers"; import { XcmFragment, - XcmFragmentConfig, + type XcmFragmentConfig, injectHrmpMessageAndSeal, sovereignAccountOfSibling, weightMessage, @@ -42,7 +42,7 @@ describeSuite({ // Get pallet index const metadata = await polkadotJs.rpc.state.getMetadata(); const erc20XcmPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Erc20XcmBridge")! + .find(({ name }) => name.toString() === "Erc20XcmBridge")! .index.toNumber(); // Send some erc20 tokens to the sovereign account of paraId @@ -142,10 +142,10 @@ describeSuite({ // Get pallet index const metadata = await polkadotJs.rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const erc20XcmPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Erc20XcmBridge")! + .find(({ name }) => name.toString() === "Erc20XcmBridge")! .index.toNumber(); // Send some native tokens to the sovereign account of paraId (to pay fees) @@ -270,7 +270,7 @@ describeSuite({ // Search for AssetsClaimed event const records = await polkadotJs.query.system.events(); const events = records.filter( - ({ event }) => event.section == "polkadotXcm" && event.method == "AssetsClaimed" + ({ event }) => event.section === "polkadotXcm" && event.method === "AssetsClaimed" ); expect(events).to.have.lengthOf(1); diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-xcm-erc20-v3-filter.ts b/test/suites/dev/moonbase/test-xcm-v3/test-xcm-erc20-v3-filter.ts index 910ef90f43..17211a89ff 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-xcm-erc20-v3-filter.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-xcm-erc20-v3-filter.ts @@ -1,11 +1,11 @@ import { beforeEach, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, CHARLETH_ADDRESS, alith } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { parseEther } from "ethers"; import { expectEVMResult } from "../../../../helpers"; import { XcmFragment, - XcmFragmentConfig, + type XcmFragmentConfig, injectHrmpMessageAndSeal, sovereignAccountOfSibling, } from "../../../../helpers/xcm.js"; @@ -41,10 +41,10 @@ describeSuite({ // Get pallet indices const metadata = await polkadotJs.rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const erc20XcmPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Erc20XcmBridge")! + .find(({ name }) => name.toString() === "Erc20XcmBridge")! .index.toNumber(); // Send some native tokens to the sovereign account of paraId (to pay fees) diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-xcm-erc20-v3.ts b/test/suites/dev/moonbase/test-xcm-v3/test-xcm-erc20-v3.ts index c169c157b3..39f0c38ba4 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-xcm-erc20-v3.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-xcm-erc20-v3.ts @@ -1,11 +1,11 @@ import { beforeEach, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, CHARLETH_ADDRESS, alith } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { parseEther } from "ethers"; import { expectEVMResult } from "../../../../helpers"; import { XcmFragment, - XcmFragmentConfig, + type XcmFragmentConfig, injectHrmpMessageAndSeal, sovereignAccountOfSibling, } from "../../../../helpers/xcm.js"; @@ -41,10 +41,10 @@ describeSuite({ // Get pallet indices const metadata = await polkadotJs.rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const erc20XcmPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Erc20XcmBridge")! + .find(({ name }) => name.toString() === "Erc20XcmBridge")! .index.toNumber(); // Send some native tokens to the sovereign account of paraId (to pay fees) diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-xcmv3-max-weight-instructions.ts b/test/suites/dev/moonbase/test-xcm-v3/test-xcmv3-max-weight-instructions.ts index bf62adbf2c..088d70a3b7 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-xcmv3-max-weight-instructions.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-xcmv3-max-weight-instructions.ts @@ -4,13 +4,13 @@ import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { alith, CHARLETH_ADDRESS } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, sovereignAccountOfSibling, - XcmFragmentConfig, + type XcmFragmentConfig, injectHrmpMessageAndSeal, } from "../../../../helpers/xcm.js"; import { parseEther } from "ethers"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; describeSuite({ id: "D014039", diff --git a/test/suites/dev/moonbase/test-xcm-v3/test-xcmv3-new-instructions.ts b/test/suites/dev/moonbase/test-xcm-v3/test-xcmv3-new-instructions.ts index 89b018a2d5..353690a100 100644 --- a/test/suites/dev/moonbase/test-xcm-v3/test-xcmv3-new-instructions.ts +++ b/test/suites/dev/moonbase/test-xcm-v3/test-xcmv3-new-instructions.ts @@ -4,13 +4,13 @@ import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { alith, CHARLETH_ADDRESS } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, sovereignAccountOfSibling, - XcmFragmentConfig, + type XcmFragmentConfig, injectHrmpMessageAndSeal, } from "../../../../helpers/xcm.js"; import { parseEther } from "ethers"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; // Here we are testing each allowed instruction to be executed. Even if some of them throw an error, // the important thing (and what we are testing) is that they are diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-auto-pause-xcm.ts b/test/suites/dev/moonbase/test-xcm-v4/test-auto-pause-xcm.ts index 29c91c0b37..01f7e91dd5 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-auto-pause-xcm.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-auto-pause-xcm.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, customDevRpcRequest, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, sovereignAccountOfSibling, injectHrmpMessage, } from "../../../../helpers/xcm.js"; @@ -39,7 +39,7 @@ describeSuite({ const metadata = await context.polkadotJs().rpc.state.getMetadata(); balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); }); diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-asset-transfer-1.ts b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-asset-transfer-1.ts index e0ecd5541f..9d517c416d 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-asset-transfer-1.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-asset-transfer-1.ts @@ -3,7 +3,11 @@ import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { BN } from "@polkadot/util"; import { alith } from "@moonwall/util"; -import { XcmFragment, RawXcmMessage, injectHrmpMessageAndSeal } from "../../../../helpers/xcm.js"; +import { + XcmFragment, + type RawXcmMessage, + injectHrmpMessageAndSeal, +} from "../../../../helpers/xcm.js"; import { registerOldForeignAsset } from "../../../../helpers/assets.js"; const palletId = "0x6D6f646c617373746d6E67720000000000000000"; diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-asset-transfer-2.ts b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-asset-transfer-2.ts index baa872080c..974b672de2 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-asset-transfer-2.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-asset-transfer-2.ts @@ -2,7 +2,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { alith } from "@moonwall/util"; -import { XcmFragment, RawXcmMessage, injectHrmpMessageAndSeal } from "../../../../helpers/xcm.js"; +import { + XcmFragment, + type RawXcmMessage, + injectHrmpMessageAndSeal, +} from "../../../../helpers/xcm.js"; import { registerOldForeignAsset } from "../../../../helpers/assets.js"; const FOREIGN_TOKEN = 1_000_000_000_000n; diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-asset-transfer-3.ts b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-asset-transfer-3.ts index 9cde85c50e..93cdb6d7b9 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-asset-transfer-3.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-asset-transfer-3.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, sovereignAccountOfSibling, } from "../../../../helpers/xcm.js"; @@ -44,7 +44,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); // We are charging 100_000_000 weight for every XCM instruction diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-asset-transfer-4.ts b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-asset-transfer-4.ts index 8a0941e812..666dc42cb3 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-asset-transfer-4.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-asset-transfer-4.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, weightMessage, sovereignAccountOfSibling, @@ -47,7 +47,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); // The rest should be going to the deposit account diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-asset-transfer-5.ts b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-asset-transfer-5.ts index 932210d05c..c9de65529d 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-asset-transfer-5.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-asset-transfer-5.ts @@ -3,7 +3,11 @@ import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { alith } from "@moonwall/util"; -import { XcmFragment, RawXcmMessage, injectHrmpMessageAndSeal } from "../../../../helpers/xcm.js"; +import { + XcmFragment, + type RawXcmMessage, + injectHrmpMessageAndSeal, +} from "../../../../helpers/xcm.js"; import { registerOldForeignAsset } from "../../../../helpers/assets.js"; const FOREIGN_TOKEN = 1_000_000_000_000n; diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-asset-transfer-6.ts b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-asset-transfer-6.ts index d890717115..6746e4a1ce 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-asset-transfer-6.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-asset-transfer-6.ts @@ -2,7 +2,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { alith } from "@moonwall/util"; -import { XcmFragment, RawXcmMessage, injectHrmpMessageAndSeal } from "../../../../helpers/xcm.js"; +import { + XcmFragment, + type RawXcmMessage, + injectHrmpMessageAndSeal, +} from "../../../../helpers/xcm.js"; import { registerOldForeignAsset } from "../../../../helpers/assets.js"; const palletId = "0x6D6f646c617373746d6E67720000000000000000"; diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-1.ts b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-1.ts index 1d589070b1..a40be86754 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-1.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-1.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -45,7 +45,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const transferCall = context diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-2.ts b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-2.ts index 7499288e45..a61aaee83d 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-2.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-2.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -45,7 +45,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const transferCall = context diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-3.ts b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-3.ts index da4a89fb67..f15207a181 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-3.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-3.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -45,7 +45,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const transferCall = context diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-4.ts b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-4.ts index 5559ca04e8..ce80fdf361 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-4.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-4.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -45,7 +45,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const transferCall = context diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-1.ts b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-1.ts index 22f0bb2b9e..6ed587fb5d 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-1.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-1.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -52,7 +52,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const amountToTransfer = transferredBalance / 10n; diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-10.ts b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-10.ts index 69c55bd94e..d11d04aa7e 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-10.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-10.ts @@ -1,10 +1,10 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { Abi, encodeFunctionData } from "viem"; +import { type Abi, encodeFunctionData } from "viem"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -49,11 +49,11 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); // Matches the BoundedVec limit in the runtime. - const CALL_INPUT_SIZE_LIMIT = Math.pow(2, 16); + const CALL_INPUT_SIZE_LIMIT = 2 ** 16; const GAS_LIMIT = 1_100_000; const xcmTransactions = [ diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-2.ts b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-2.ts index dbed713670..8474ad7362 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-2.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-2.ts @@ -1,10 +1,10 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { Abi, encodeFunctionData } from "viem"; +import { type Abi, encodeFunctionData } from "viem"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -49,7 +49,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const xcmTransactions = [ diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-4.ts b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-4.ts index cc32ee325e..ba741dc205 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-4.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-4.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -48,7 +48,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const amountToTransfer = transferredBalance / 10n; diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-5.ts b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-5.ts index eb0c86ed47..94a98c7e3a 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-5.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-5.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair, charleth } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -56,7 +56,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const amountToTransfer = transferredBalance / 10n; diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-6.ts b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-6.ts index ab1baf6c72..ad41a197cf 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-6.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-6.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair, charleth } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -59,7 +59,7 @@ describeSuite({ ).data.free.toBigInt(); // Charleth nonce - charlethNonce = parseInt( + charlethNonce = Number.parseInt( (await context.polkadotJs().query.system.account(sendingAddress)).nonce.toString() ); }); @@ -71,7 +71,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const amountToTransfer = transferredBalance / 10n; diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-7.ts b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-7.ts index cdbbb8ca11..2d8888559d 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-7.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-7.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair, charleth, alith } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -55,7 +55,7 @@ describeSuite({ ).data.free.toBigInt(); // Charleth nonce - charlethNonce = parseInt( + charlethNonce = Number.parseInt( (await context.polkadotJs().query.system.account(sendingAddress)).nonce.toString() ); @@ -75,7 +75,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const amountToTransfer = transferredBalance / 10n; diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-8.ts b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-8.ts index f4907f444e..7b74d98b9f 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-8.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-mock-hrmp-transact-ethereum-8.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair, alith } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -56,7 +56,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const amountToTransfer = transferredBalance / 10n; diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-xcm-dry-run-api.ts b/test/suites/dev/moonbase/test-xcm-v4/test-xcm-dry-run-api.ts index 49d21e8d53..5454bc1b33 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-xcm-dry-run-api.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-xcm-dry-run-api.ts @@ -98,7 +98,7 @@ describeSuite({ test: async function () { const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const randomReceiver = "0x1111111111111111111111111111111111111111111111111111111111111111"; @@ -167,7 +167,7 @@ describeSuite({ test: async function () { const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const randomKeyPair = generateKeyringPair(); diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-xcm-erc20-transfer-two-ERC20.ts b/test/suites/dev/moonbase/test-xcm-v4/test-xcm-erc20-transfer-two-ERC20.ts index ab0b2a7a46..047bf9a9b0 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-xcm-erc20-transfer-two-ERC20.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-xcm-erc20-transfer-two-ERC20.ts @@ -1,11 +1,11 @@ import { beforeEach, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, BALTATHAR_ADDRESS, CHARLETH_ADDRESS, alith } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { parseEther } from "ethers"; import { expectEVMResult, getTransactionFees } from "../../../../helpers"; import { XcmFragment, - XcmFragmentConfig, + type XcmFragmentConfig, injectHrmpMessageAndSeal, sovereignAccountOfSibling, } from "../../../../helpers/xcm.js"; @@ -123,10 +123,10 @@ describeSuite({ // Get pallet indices const metadata = await polkadotJs.rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const erc20XcmPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Erc20XcmBridge")! + .find(({ name }) => name.toString() === "Erc20XcmBridge")! .index.toNumber(); // Send some native tokens to the sovereign account of paraId (to pay fees) diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-xcm-erc20-transfer.ts b/test/suites/dev/moonbase/test-xcm-v4/test-xcm-erc20-transfer.ts index 01eacd6993..0f5c991adb 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-xcm-erc20-transfer.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-xcm-erc20-transfer.ts @@ -1,12 +1,12 @@ import "@moonbeam-network/api-augment"; import { beforeEach, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS, BALTATHAR_ADDRESS, CHARLETH_ADDRESS, alith } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { parseEther } from "ethers"; import { expectEVMResult, getTransactionFees } from "../../../../helpers"; import { XcmFragment, - XcmFragmentConfig, + type XcmFragmentConfig, injectHrmpMessageAndSeal, sovereignAccountOfSibling, } from "../../../../helpers/xcm.js"; @@ -101,10 +101,10 @@ describeSuite({ // Get pallet indices const metadata = await polkadotJs.rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const erc20XcmPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Erc20XcmBridge")! + .find(({ name }) => name.toString() === "Erc20XcmBridge")! .index.toNumber(); // Send some native tokens to the sovereign account of paraId (to pay fees) diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-xcm-evm-fee-with-origin-token.ts b/test/suites/dev/moonbase/test-xcm-v4/test-xcm-evm-fee-with-origin-token.ts index 6c85da3d22..2cc0714451 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-xcm-evm-fee-with-origin-token.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-xcm-evm-fee-with-origin-token.ts @@ -2,20 +2,20 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { ethan } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { - AssetMetadata, + type AssetMetadata, PARA_1000_SOURCE_LOCATION, PARA_1001_SOURCE_LOCATION, - TestAsset, + type TestAsset, foreignAssetBalance, registerAndFundAsset, verifyLatestBlockFees, } from "../../../../helpers/index.js"; import { - RawXcmMessage, + type RawXcmMessage, XcmFragment, descendOriginFromAddress20, injectHrmpMessageAndSeal, diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-xcm-evm-with-dot.ts b/test/suites/dev/moonbase/test-xcm-v4/test-xcm-evm-with-dot.ts index a6a7ee9df0..eeb2e7fda1 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-xcm-evm-with-dot.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-xcm-evm-with-dot.ts @@ -2,11 +2,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { alith } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; -import { u128 } from "@polkadot/types"; -import { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; +import type { ApiPromise } from "@polkadot/api"; +import type { u128 } from "@polkadot/types"; +import type { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; import { hexToBigInt } from "@polkadot/util"; -import { Abi, encodeFunctionData } from "viem"; +import { type Abi, encodeFunctionData } from "viem"; import { RELAY_SOURCE_LOCATION, mockOldAssetBalance, @@ -15,9 +15,9 @@ import { verifyLatestBlockFees, } from "../../../../helpers/index.js"; import { - RawXcmMessage, + type RawXcmMessage, XcmFragment, - XcmFragmentConfig, + type XcmFragmentConfig, descendOriginFromAddress20, injectHrmpMessageAndSeal, } from "../../../../helpers/xcm.js"; diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-xcm-payment-api-transact-foreign.ts b/test/suites/dev/moonbase/test-xcm-v4/test-xcm-payment-api-transact-foreign.ts index 08087a0cf8..46f2329c4d 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-xcm-payment-api-transact-foreign.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-xcm-payment-api-transact-foreign.ts @@ -1,14 +1,14 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { ApiPromise, WsProvider } from "@polkadot/api"; -import { KeyringPair } from "@polkadot/keyring/types"; -import { u128 } from "@polkadot/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; +import type { u128 } from "@polkadot/types"; import { hexToBigInt } from "@polkadot/util"; -import { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; +import type { PalletAssetsAssetAccount, PalletAssetsAssetDetails } from "@polkadot/types/lookup"; import { generateKeyringPair, alith } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, relayAssetMetadata, diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-xcm-payment-api-transact-native.ts b/test/suites/dev/moonbase/test-xcm-v4/test-xcm-payment-api-transact-native.ts index 25b5a6e477..c1ec80e6ef 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-xcm-payment-api-transact-native.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-xcm-payment-api-transact-native.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { ApiPromise, WsProvider } from "@polkadot/api"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, descendOriginFromAddress20, } from "../../../../helpers/xcm.js"; @@ -110,7 +110,7 @@ describeSuite({ // Get Pallet balances index const metadata = await polkadotJs.rpc.state.getMetadata(); balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); // Fetch the exact amount of native fees that we will use given diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-xcm-payment-api.ts b/test/suites/dev/moonbase/test-xcm-v4/test-xcm-payment-api.ts index 514ded241f..71d45a51b1 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-xcm-payment-api.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-xcm-payment-api.ts @@ -107,7 +107,7 @@ describeSuite({ test: async function () { const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const allowedAssets = await polkadotJs.call.xcmPaymentApi.queryAcceptablePaymentAssets(3); diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-xcm-ver-conversion-1.ts b/test/suites/dev/moonbase/test-xcm-v4/test-xcm-ver-conversion-1.ts index 36841d9883..a80f32418e 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-xcm-ver-conversion-1.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-xcm-ver-conversion-1.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, weightMessage, sovereignAccountOfSibling, @@ -44,7 +44,7 @@ describeSuite({ test: async function () { const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const xcmMessage = new XcmFragment({ diff --git a/test/suites/dev/moonbase/test-xcm-v4/test-xcm-ver-conversion-2.ts b/test/suites/dev/moonbase/test-xcm-v4/test-xcm-ver-conversion-2.ts index 02017265ed..fb6e840d11 100644 --- a/test/suites/dev/moonbase/test-xcm-v4/test-xcm-ver-conversion-2.ts +++ b/test/suites/dev/moonbase/test-xcm-v4/test-xcm-ver-conversion-2.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { KeyringPair } from "@polkadot/keyring/types"; +import type { KeyringPair } from "@polkadot/keyring/types"; import { generateKeyringPair } from "@moonwall/util"; import { XcmFragment, - RawXcmMessage, + type RawXcmMessage, injectHrmpMessageAndSeal, weightMessage, sovereignAccountOfSibling, @@ -44,7 +44,7 @@ describeSuite({ test: async function () { const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const xcmMessage = new XcmFragment({ diff --git a/test/suites/dev/moonbeam/test-precompile/test-precompile-assets-erc20-local-assets-removal.ts b/test/suites/dev/moonbeam/test-precompile/test-precompile-assets-erc20-local-assets-removal.ts index bc8815dda2..45054a7d07 100644 --- a/test/suites/dev/moonbeam/test-precompile/test-precompile-assets-erc20-local-assets-removal.ts +++ b/test/suites/dev/moonbeam/test-precompile/test-precompile-assets-erc20-local-assets-removal.ts @@ -1,6 +1,6 @@ import { beforeAll, deployCreateCompiledContract, describeSuite, expect } from "@moonwall/cli"; import { ALITH_ADDRESS } from "@moonwall/util"; -import { Abi } from "viem"; +import type { Abi } from "viem"; describeSuite({ id: "D020101", diff --git a/test/suites/lazy-loading/test-runtime-upgrade.ts b/test/suites/lazy-loading/test-runtime-upgrade.ts index d50be3c5b4..5ee5d6f965 100644 --- a/test/suites/lazy-loading/test-runtime-upgrade.ts +++ b/test/suites/lazy-loading/test-runtime-upgrade.ts @@ -1,10 +1,11 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; -import { ApiPromise } from "@polkadot/api"; -import fs from "fs/promises"; +import { RUNTIME_CONSTANTS } from "../../helpers"; +import type { ApiPromise } from "@polkadot/api"; +import fs from "node:fs/promises"; import { u8aToHex } from "@polkadot/util"; import assert from "node:assert"; -import { SpRuntimeDispatchError } from "@polkadot/types/lookup"; +import type { SpRuntimeDispatchError } from "@polkadot/types/lookup"; describeSuite({ id: "LD01", @@ -23,9 +24,13 @@ describeSuite({ beforeAll(async () => { api = context.polkadotJs(); - const runtime = api.consts.system.version.specName.toLowerCase(); - const wasmPath = `../target/release/wbuild/${runtime}-runtime/${runtime}_runtime.compact.compressed.wasm`; // editorconfig-checker-disable-line - + const runtimeChain = api.runtimeChain.toUpperCase(); + const runtime = runtimeChain + .split(" ") + .filter((v) => Object.keys(RUNTIME_CONSTANTS).includes(v)) + .join() + .toLowerCase(); + const wasmPath = `../target/release/wbuild/${runtime}-runtime/${runtime}_runtime.compact.compressed.wasm`; const runtimeWasmHex = u8aToHex(await fs.readFile(wasmPath)); const rtBefore = api.consts.system.version.specVersion.toNumber(); @@ -57,10 +62,9 @@ describeSuite({ const { docs, method, section } = decoded; return `${section}.${method}: ${docs.join(" ")}`; - } else { - // Other, CannotLookup, BadOrigin, no extra info - return error.toString(); } + // Other, CannotLookup, BadOrigin, no extra info + return error.toString(); } ); diff --git a/test/suites/smoke/test-author-filter-consistency.ts b/test/suites/smoke/test-author-filter-consistency.ts index e59c4fac54..e5499af52d 100644 --- a/test/suites/smoke/test-author-filter-consistency.ts +++ b/test/suites/smoke/test-author-filter-consistency.ts @@ -1,16 +1,16 @@ import "@moonbeam-network/api-augment"; import { describeSuite, beforeAll, expect } from "@moonwall/cli"; -import { ApiDecoration } from "@polkadot/api/types"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiDecoration } from "@polkadot/api/types"; +import type { ApiPromise } from "@polkadot/api"; describeSuite({ id: "S01", title: `Verify author filter consistency`, foundationMethods: "read_only", testCases: ({ context, it, log }) => { - let atBlockNumber: number = 0; + let atBlockNumber = 0; let apiAt: ApiDecoration<"promise">; - let specVersion: number = 0; + let specVersion = 0; let paraApi: ApiPromise; beforeAll(async function () { diff --git a/test/suites/smoke/test-author-mapping-consistency.ts b/test/suites/smoke/test-author-mapping-consistency.ts index e861166a04..065e0cc03e 100644 --- a/test/suites/smoke/test-author-mapping-consistency.ts +++ b/test/suites/smoke/test-author-mapping-consistency.ts @@ -1,8 +1,8 @@ import "@moonbeam-network/api-augment"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { FIVE_MINS } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; -import { ApiDecoration } from "@polkadot/api/types"; +import type { ApiPromise } from "@polkadot/api"; +import type { ApiDecoration } from "@polkadot/api/types"; import chalk from "chalk"; describeSuite({ @@ -12,7 +12,7 @@ describeSuite({ testCases: ({ context, it, log }) => { const nimbusIdPerAccount: { [account: string]: string } = {}; - let atBlockNumber: number = 0; + let atBlockNumber = 0; let apiAt: ApiDecoration<"promise">; let paraApi: ApiPromise; @@ -26,7 +26,7 @@ describeSuite({ // (to avoid inconsistency querying over multiple block when the test takes a long time to // query data and blocks are being produced) atBlockNumber = process.env.BLOCK_NUMBER - ? parseInt(process.env.BLOCK_NUMBER) + ? Number.parseInt(process.env.BLOCK_NUMBER) : (await paraApi.rpc.chain.getHeader()).number.toNumber(); apiAt = await paraApi.at(await paraApi.rpc.chain.getBlockHash(atBlockNumber)); @@ -38,7 +38,7 @@ describeSuite({ startKey: last_key, }); - if (query.length == 0) { + if (query.length === 0) { break; } count += query.length; @@ -51,7 +51,7 @@ describeSuite({ } // Debug logs to make sure it keeps progressing - if (count % (10 * limit) == 0) { + if (count % (10 * limit) === 0) { log(`Retrieved ${count} nimbus ids`); } } @@ -87,7 +87,7 @@ describeSuite({ // ensure that keys exist and smell legitimate const keys_ = registrationInfo.unwrap().keys_; const zeroes = Array.from(keys_.toString()).reduce((prev, c) => { - return prev + (c == "0" ? 1 : 0); + return prev + (c === "0" ? 1 : 0); }, 0); if (zeroes > 32) { // this isn't an inconsistent state, so we will just warn. diff --git a/test/suites/smoke/test-balances-consistency.ts b/test/suites/smoke/test-balances-consistency.ts index 146618d4fe..fe61a490dc 100644 --- a/test/suites/smoke/test-balances-consistency.ts +++ b/test/suites/smoke/test-balances-consistency.ts @@ -1,19 +1,19 @@ import "@moonbeam-network/api-augment/moonbase"; import "@polkadot/api-augment"; -import { ApiDecoration } from "@polkadot/api/types"; +import type { ApiDecoration } from "@polkadot/api/types"; import { xxhashAsU8a } from "@polkadot/util-crypto"; import { hexToBigInt, u8aConcat, u8aToHex } from "@polkadot/util"; -import { u16 } from "@polkadot/types"; -import { AccountId20 } from "@polkadot/types/interfaces"; +import type { u16 } from "@polkadot/types"; +import type { AccountId20 } from "@polkadot/types/interfaces"; import type { PalletReferendaDeposit, PalletConvictionVotingVoteVoting, } from "@polkadot/types/lookup"; import { describeSuite, expect, beforeAll } from "@moonwall/cli"; import { TWO_HOURS, printTokens } from "@moonwall/util"; -import { StorageKey } from "@polkadot/types"; +import type { StorageKey } from "@polkadot/types"; import { extractPreimageDeposit, AccountShortfalls } from "../../helpers"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { processAllStorage } from "../../helpers/storageQueries.js"; enum ReserveType { @@ -59,12 +59,12 @@ describeSuite({ const locksMap = new Map(); const failedLocks: any[] = []; const failedReserved: any[] = []; - let atBlockNumber: number = 0; + let atBlockNumber = 0; let apiAt: ApiDecoration<"promise">; - let specVersion: number = 0; + let specVersion = 0; let runtimeName: string; - let totalAccounts: bigint = 0n; - let totalIssuance: bigint = 0n; + let totalAccounts = 0n; + let totalIssuance = 0n; let symbol: string; let paraApi: ApiPromise; @@ -145,7 +145,7 @@ describeSuite({ beforeAll(async function () { paraApi = context.polkadotJs("para"); const blockHash = process.env.BLOCK_NUMBER - ? (await paraApi.rpc.chain.getBlockHash(parseInt(process.env.BLOCK_NUMBER))).toHex() + ? (await paraApi.rpc.chain.getBlockHash(Number.parseInt(process.env.BLOCK_NUMBER))).toHex() : (await paraApi.rpc.chain.getFinalizedHead()).toHex(); atBlockNumber = (await paraApi.rpc.chain.getHeader(blockHash)).number.toNumber(); apiAt = await paraApi.at(blockHash); @@ -357,11 +357,10 @@ describeSuite({ .map((depositOf) => depositOf[1] .unwrap()[0] - .map((deposit) => ({ + .flatMap((deposit) => ({ accountId: deposit.toHex(), reserved: depositOf[1].unwrap()[1].toBigInt(), })) - .flat() .reduce( (p, deposit) => { // We merge multiple reserves together for same account @@ -393,13 +392,12 @@ describeSuite({ Object.values( democracyDeposits - .map((depositOf) => + .flatMap((depositOf) => depositOf[1].unwrap()[0].map((deposit) => ({ accountId: deposit.toHex(), reserved: depositOf[1].unwrap()[1].toBigInt(), })) ) - .flat() .reduce( (p, deposit) => { // We merge multiple reserves together for same account @@ -456,7 +454,7 @@ describeSuite({ }); await new Promise((resolve, reject) => { - if ((specVersion >= 1900 && runtimeName == "moonbase") || specVersion >= 2000) { + if ((specVersion >= 1900 && runtimeName === "moonbase") || specVersion >= 2000) { apiAt.query.preimage.statusFor .entries() .then((preimageStatuses) => { @@ -477,7 +475,7 @@ describeSuite({ .filter((value) => typeof value !== "undefined") .forEach(({ deposit, accountId }: any) => { updateReserveMap(accountId, { - [ReserveType.PreimageStatus]: deposit == 0n ? 0n : deposit.toBigInt(), + [ReserveType.PreimageStatus]: deposit === 0n ? 0n : deposit.toBigInt(), }); }); }) @@ -491,9 +489,9 @@ describeSuite({ await new Promise((resolve, reject) => { if ( - (specVersion >= 1900 && runtimeName == "moonbase") || - (specVersion >= 2100 && runtimeName == "moonriver") || - (specVersion >= 2300 && runtimeName == "moonbeam") + (specVersion >= 1900 && runtimeName === "moonbase") || + (specVersion >= 2100 && runtimeName === "moonriver") || + (specVersion >= 2300 && runtimeName === "moonbeam") ) { apiAt.query.referenda.referendumInfoFor .entries() @@ -506,26 +504,26 @@ describeSuite({ info[1].unwrap().asApproved[2].unwrapOr(null), ] : info[1].unwrap().isRejected - ? [ - info[1].unwrap().asRejected[1].unwrapOr(null), - info[1].unwrap().asRejected[2].unwrapOr(null), - ] - : info[1].unwrap().isCancelled - ? [ - info[1].unwrap().asCancelled[1].unwrapOr(null), - info[1].unwrap().asCancelled[2].unwrapOr(null), - ] - : info[1].unwrap().isTimedOut - ? [ - info[1].unwrap().asTimedOut[1].unwrapOr(null), - info[1].unwrap().asTimedOut[2].unwrapOr(null), - ] - : info[1].unwrap().isOngoing - ? [ - info[1].unwrap().asOngoing.submissionDeposit, - info[1].unwrap().asOngoing.decisionDeposit.unwrapOr(null), - ] - : ([] as PalletReferendaDeposit[]) + ? [ + info[1].unwrap().asRejected[1].unwrapOr(null), + info[1].unwrap().asRejected[2].unwrapOr(null), + ] + : info[1].unwrap().isCancelled + ? [ + info[1].unwrap().asCancelled[1].unwrapOr(null), + info[1].unwrap().asCancelled[2].unwrapOr(null), + ] + : info[1].unwrap().isTimedOut + ? [ + info[1].unwrap().asTimedOut[1].unwrapOr(null), + info[1].unwrap().asTimedOut[2].unwrapOr(null), + ] + : info[1].unwrap().isOngoing + ? [ + info[1].unwrap().asOngoing.submissionDeposit, + info[1].unwrap().asOngoing.decisionDeposit.unwrapOr(null), + ] + : ([] as PalletReferendaDeposit[]) ).filter((value) => !!value); deposits.forEach((deposit) => { @@ -565,7 +563,7 @@ describeSuite({ assets .find( (asset) => - asset[0].toHex().slice(-64) == assetMetadata[0].toHex().slice(-64) + asset[0].toHex().slice(-64) === assetMetadata[0].toHex().slice(-64) )![1] .unwrap() .owner.toHex() @@ -611,7 +609,7 @@ describeSuite({ localAssets .find( (localAsset) => - localAsset[0].toHex().slice(-64) == + localAsset[0].toHex().slice(-64) === localAssetMetadata[0].toHex().slice(-64) )![1] .unwrap() @@ -725,8 +723,8 @@ describeSuite({ log(`Retrieved ${expectedReserveMap.size} deposits`); expectedReserveMap.forEach(({ reserved }, key) => { const total = Object.values(reserved!).reduce((total, amount) => { - total += amount; - return total; + const subtotal = total + amount; + return subtotal; }, 0n); expectedReserveMap.set(key, { reserved, total }); }); @@ -754,9 +752,9 @@ describeSuite({ // Only applies to OpenGov if ( - (specVersion >= 1900 && runtimeName == "moonbase") || - (specVersion >= 2100 && runtimeName == "moonriver") || - (specVersion >= 2300 && runtimeName == "moonbeam") + (specVersion >= 1900 && runtimeName === "moonbase") || + (specVersion >= 2100 && runtimeName === "moonriver") || + (specVersion >= 2300 && runtimeName === "moonbeam") ) { await new Promise((resolve, reject) => { apiAt.query.convictionVoting.votingFor @@ -771,12 +769,12 @@ describeSuite({ const amount = curr[1].isStandard ? curr[1].asStandard.balance.toBigInt() : curr[1].isSplit - ? curr[1].asSplit.aye.toBigInt() + curr[1].asSplit.nay.toBigInt() - : curr[1].isSplitAbstain - ? curr[1].asSplitAbstain.aye.toBigInt() + - curr[1].asSplitAbstain.nay.toBigInt() + - curr[1].asSplitAbstain.abstain.toBigInt() - : 0n; + ? curr[1].asSplit.aye.toBigInt() + curr[1].asSplit.nay.toBigInt() + : curr[1].isSplitAbstain + ? curr[1].asSplitAbstain.aye.toBigInt() + + curr[1].asSplitAbstain.nay.toBigInt() + + curr[1].asSplitAbstain.abstain.toBigInt() + : 0n; return acc > amount ? acc : amount; }, 0n); @@ -829,8 +827,8 @@ describeSuite({ const subTotal = curr[1].isStandard ? curr[1].asStandard.balance.toBigInt() : curr[1].isSplit - ? curr[1].asSplit.aye.toBigInt() + curr[1].asSplit.nay.toBigInt() - : 0n; + ? curr[1].asSplit.aye.toBigInt() + curr[1].asSplit.nay.toBigInt() + : 0n; return acc > subTotal ? acc : subTotal; }, 0n); updateExpectedLocksMap(accountId, { democracy }); @@ -848,8 +846,8 @@ describeSuite({ expectedLocksMap.forEach(({ locks }, key) => { const total = Object.values(locks!).reduce((total, amount) => { - total += amount; - return total; + const subtotal = total + amount; + return subtotal; }, 0n); expectedLocksMap.set(key, { locks, total }); }); diff --git a/test/suites/smoke/test-block-finalized.ts b/test/suites/smoke/test-block-finalized.ts index 6b6ff153d7..2137a03bac 100644 --- a/test/suites/smoke/test-block-finalized.ts +++ b/test/suites/smoke/test-block-finalized.ts @@ -9,8 +9,8 @@ import { } from "@moonwall/util"; import semver from "semver"; import { describeSuite, beforeAll, expect } from "@moonwall/cli"; -import { Signer } from "ethers"; -import { ApiPromise } from "@polkadot/api"; +import type { Signer } from "ethers"; +import type { ApiPromise } from "@polkadot/api"; import { rateLimiter } from "../../helpers/common.js"; const timePeriod = process.env.TIME_PERIOD ? Number(process.env.TIME_PERIOD) : TWO_HOURS; diff --git a/test/suites/smoke/test-block-weights.ts b/test/suites/smoke/test-block-weights.ts index 1544d55c45..643ef20648 100644 --- a/test/suites/smoke/test-block-weights.ts +++ b/test/suites/smoke/test-block-weights.ts @@ -1,11 +1,11 @@ import "@moonbeam-network/api-augment/moonbase"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { THIRTY_MINS, WEIGHT_PER_GAS, extractWeight, getBlockArray } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import "@polkadot/api-augment"; -import { GenericExtrinsic } from "@polkadot/types"; -import { FrameSystemEventRecord } from "@polkadot/types/lookup"; -import { AnyTuple } from "@polkadot/types/types"; +import type { GenericExtrinsic } from "@polkadot/types"; +import type { FrameSystemEventRecord } from "@polkadot/types/lookup"; +import type { AnyTuple } from "@polkadot/types/types"; import { rateLimiter } from "../../helpers/common.js"; const timePeriod = process.env.TIME_PERIOD ? Number(process.env.TIME_PERIOD) : THIRTY_MINS; @@ -166,9 +166,9 @@ describeSuite({ const ethBlock = (await apiAt.query.ethereum.currentBlock()).unwrap(); const balTxns = blockInfo.extrinsics .map((ext, index) => - ext.method.method == "transfer" && ext.method.section == "balances" ? index : -1 + ext.method.method === "transfer" && ext.method.section === "balances" ? index : -1 ) - .filter((a) => a != -1); + .filter((a) => a !== -1); const balTxnWeights = blockInfo.events .map((event) => paraApi.events.system.ExtrinsicSuccess.is(event.event) && @@ -237,7 +237,7 @@ describeSuite({ // Skip this block if substrate balance transfer ext, due to weight reporting if ( blockInfo.extrinsics.find( - (x) => x.method.method == "transfer" && x.method.section == "balances" + (x) => x.method.method === "transfer" && x.method.section === "balances" ) ) { return { @@ -250,9 +250,9 @@ describeSuite({ const signedExtTotal = blockInfo.events .filter( - (a) => a.event.method == "ExtrinsicSuccess" || a.event.method == "ExtrinsicFailed" + (a) => a.event.method === "ExtrinsicSuccess" || a.event.method === "ExtrinsicFailed" ) - .filter((a) => (a.event.data as any).dispatchInfo.class.toString() == "Normal") + .filter((a) => (a.event.data as any).dispatchInfo.class.toString() === "Normal") .reduce( (acc, curr) => acc + extractWeight((curr.event.data as any).dispatchInfo.weight).toNumber(), @@ -264,8 +264,8 @@ describeSuite({ log( `Block #${blockInfo.blockNum} signed extrinsic weight - reported: ${signedExtTotal}, accounted: ${normalWeights} (${difference > 0 ? "+" : "-"}${(difference * 100).toFixed( - 2 - )}%).` + 2 + )}%).` ); } return { blockNum: blockInfo.blockNum, signedExtTotal, normalWeights, difference }; @@ -311,20 +311,19 @@ describeSuite({ const gasWeight = gasUsed * Number(WEIGHT_PER_GAS); const ethTxnsWeight = signedBlock.block.extrinsics .map((item, index) => { - if (item.method.method == "transact" && item.method.section == "ethereum") { + if (item.method.method === "transact" && item.method.section === "ethereum") { return blockInfo.events .filter(({ phase }) => phase.isApplyExtrinsic && phase.asApplyExtrinsic.eq(index)) .filter( - ({ event }) => event.method == "ExtrinsicSuccess" && event.section == "system" + ({ event }) => event.method === "ExtrinsicSuccess" && event.section === "system" ) .reduce( (acc, curr) => acc + extractWeight((curr.event.data as any).dispatchInfo.weight).toNumber(), 0 ); - } else { - return 0; } + return 0; }) .reduce((acc, curr) => acc + curr, 0); const difference = ethTxnsWeight - gasWeight; diff --git a/test/suites/smoke/test-dynamic-fees.ts b/test/suites/smoke/test-dynamic-fees.ts index a604b8b426..36e54507be 100644 --- a/test/suites/smoke/test-dynamic-fees.ts +++ b/test/suites/smoke/test-dynamic-fees.ts @@ -1,10 +1,10 @@ import "@moonbeam-network/api-augment/moonbase"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import { WEIGHT_PER_GAS, getBlockArray } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; -import { GenericExtrinsic } from "@polkadot/types"; +import type { ApiPromise } from "@polkadot/api"; +import type { GenericExtrinsic } from "@polkadot/types"; import type { u128, u32 } from "@polkadot/types-codec"; -import { +import type { EthereumBlock, EthereumReceiptReceiptV3, FpRpcTransactionStatus, @@ -12,11 +12,11 @@ import { FrameSystemEventRecord, SpWeightsWeightV2Weight, } from "@polkadot/types/lookup"; -import { AnyTuple } from "@polkadot/types/types"; +import type { AnyTuple } from "@polkadot/types/types"; import { ethers } from "ethers"; import { checkTimeSliceForUpgrades, rateLimiter, RUNTIME_CONSTANTS } from "../../helpers"; import Debug from "debug"; -import { DispatchInfo } from "@polkadot/types/interfaces"; +import type { DispatchInfo } from "@polkadot/types/interfaces"; const debug = Debug("smoke:dynamic-fees"); const timePeriod = process.env.TIME_PERIOD ? Number(process.env.TIME_PERIOD) : 2 * 60 * 60 * 1000; @@ -80,21 +80,21 @@ describeSuite({ const isChangeDirectionValid = (fillPermill: bigint, change: Change, feeMultiplier: bigint) => { switch (true) { - case fillPermill > targetFillPermill && change == Change.Increased: + case fillPermill > targetFillPermill && change === Change.Increased: return true; case fillPermill > targetFillPermill && - change == Change.Unchanged && + change === Change.Unchanged && feeMultiplier === RUNTIME_CONSTANTS[runtime].MAX_FEE_MULTIPLIER: return true; - case fillPermill < targetFillPermill && change == Change.Decreased: + case fillPermill < targetFillPermill && change === Change.Decreased: return true; case fillPermill < targetFillPermill && - change == Change.Unchanged && + change === Change.Unchanged && feeMultiplier === RUNTIME_CONSTANTS[runtime].MIN_FEE_MULTIPLIER: return true; - case fillPermill === targetFillPermill && change == Change.Unchanged: + case fillPermill === targetFillPermill && change === Change.Unchanged: return true; - case change == Change.Unknown: + case change === Change.Unknown: return true; default: return false; @@ -201,7 +201,7 @@ describeSuite({ } const enriched = blockData.map(({ blockNum, fillPermill, nextFeeMultiplier }) => { const change = checkMultiplier( - allBlocks.find((blockDatum) => blockDatum.blockNum == blockNum - 1)!, + allBlocks.find((blockDatum) => blockDatum.blockNum === blockNum - 1)!, nextFeeMultiplier ); @@ -240,7 +240,7 @@ describeSuite({ } const enriched = blockData.map(({ blockNum, nextFeeMultiplier, fillPermill }) => { const change = checkMultiplier( - allBlocks.find((blockDatum) => blockDatum.blockNum == blockNum - 1)!, + allBlocks.find((blockDatum) => blockDatum.blockNum === blockNum - 1)!, nextFeeMultiplier ); const valid = isChangeDirectionValid(fillPermill, change, nextFeeMultiplier.toBigInt()); @@ -309,7 +309,7 @@ describeSuite({ const expectedBaseFeePerGasInWei = (nextFeeMultiplier.toBigInt() * weightFee * WEIGHT_PER_GAS) / ethers.parseEther("1"); - const valid = baseFeePerGasInWei == expectedBaseFeePerGasInWei; + const valid = baseFeePerGasInWei === expectedBaseFeePerGasInWei; return { blockNum, baseFeePerGasInGwei, valid, expectedBaseFeePerGasInWei }; }) .filter(({ valid }) => !valid); @@ -390,27 +390,24 @@ describeSuite({ return fee.refTime; }); - const gasUsed = filteredTxnEvents - .map((txnEvent) => { - if ( - txnEvent.phase.isApplyExtrinsic && // Exclude XCM => EVM calls - isEthereumTxn(blockNum, txnEvent.phase.asApplyExtrinsic.toNumber()) - ) { - const txnHash = (txnEvent.event.data as any).transactionHash; - const index = transactionStatuses.findIndex((status) => - status.transactionHash.eq(txnHash) - ); - // Gas used is cumulative measure, so we have to derive individuals - const gasUsed = - index === 0 - ? extractGasAmount(receipts[index]) - : extractGasAmount(receipts[index]) - extractGasAmount(receipts[index - 1]); - return gasUsed; - } else { - return []; - } - }) - .flatMap((item) => item); + const gasUsed = filteredTxnEvents.flatMap((txnEvent) => { + if ( + txnEvent.phase.isApplyExtrinsic && // Exclude XCM => EVM calls + isEthereumTxn(blockNum, txnEvent.phase.asApplyExtrinsic.toNumber()) + ) { + const txnHash = (txnEvent.event.data as any).transactionHash; + const index = transactionStatuses.findIndex((status) => + status.transactionHash.eq(txnHash) + ); + // Gas used is cumulative measure, so we have to derive individuals + const gasUsed = + index === 0 + ? extractGasAmount(receipts[index]) + : extractGasAmount(receipts[index]) - extractGasAmount(receipts[index - 1]); + return gasUsed; + } + return []; + }); expect(fees.length, "More eth reciepts than expected, this test needs fixing").to.equal( gasUsed.length diff --git a/test/suites/smoke/test-eth-parent-hash-bad-block-fix.ts b/test/suites/smoke/test-eth-parent-hash-bad-block-fix.ts index d7ffc3c866..58a92f8ba1 100644 --- a/test/suites/smoke/test-eth-parent-hash-bad-block-fix.ts +++ b/test/suites/smoke/test-eth-parent-hash-bad-block-fix.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { describeSuite, beforeAll, expect } from "@moonwall/cli"; import { THIRTY_MINS } from "@moonwall/util"; -import { ApiDecoration } from "@polkadot/api/types"; +import type { ApiDecoration } from "@polkadot/api/types"; describeSuite({ id: "S07", diff --git a/test/suites/smoke/test-ethereum-contract-code.ts b/test/suites/smoke/test-ethereum-contract-code.ts index 4c30b0f6c2..fd33c861c4 100644 --- a/test/suites/smoke/test-ethereum-contract-code.ts +++ b/test/suites/smoke/test-ethereum-contract-code.ts @@ -12,13 +12,13 @@ describeSuite({ foundationMethods: "read_only", testCases: ({ context, it, log }) => { let atBlockNumber: number; - let totalContracts: bigint = 0n; + let totalContracts = 0n; const failedContractCodes: { accountId: string; codesize: number }[] = []; beforeAll(async function () { const paraApi = context.polkadotJs("para"); const blockHash = process.env.BLOCK_NUMBER - ? (await paraApi.rpc.chain.getBlockHash(parseInt(process.env.BLOCK_NUMBER))).toHex() + ? (await paraApi.rpc.chain.getBlockHash(Number.parseInt(process.env.BLOCK_NUMBER))).toHex() : (await paraApi.rpc.chain.getFinalizedHead()).toHex(); atBlockNumber = (await paraApi.rpc.chain.getHeader(blockHash)).number.toNumber(); diff --git a/test/suites/smoke/test-ethereum-current-consistency.ts b/test/suites/smoke/test-ethereum-current-consistency.ts index 8b972c02e4..20c5a56d97 100644 --- a/test/suites/smoke/test-ethereum-current-consistency.ts +++ b/test/suites/smoke/test-ethereum-current-consistency.ts @@ -46,10 +46,10 @@ describeSuite({ const roundLength = (await paraApi.query.parachainStaking.round()).length.toNumber(); const blocksToWait = process.env.BATCH_OF - ? parseInt(process.env.BATCH_OF) + ? Number.parseInt(process.env.BATCH_OF) : process.env.ROUNDS_TO_WAIT - ? Math.floor(Number(process.env.ROUNDS_TO_WAIT) * roundLength) - : 200; + ? Math.floor(Number(process.env.ROUNDS_TO_WAIT) * roundLength) + : 200; const firstBlockNumber = Math.max(lastBlockNumber - blocksToWait + 1, 1); for (const blockNumber of range(firstBlockNumber, lastBlockNumber)) { @@ -68,7 +68,7 @@ describeSuite({ ); // No transactions - if (block.transactions.length == 0) { + if (block.transactions.length === 0) { // Receipt trie expect(block.header.receiptsRoot.toString()).to.be.equal( EMPTY_TRIE_ROOT, diff --git a/test/suites/smoke/test-ethereum-failures.ts b/test/suites/smoke/test-ethereum-failures.ts index ea06ca9a77..d2a6385548 100644 --- a/test/suites/smoke/test-ethereum-failures.ts +++ b/test/suites/smoke/test-ethereum-failures.ts @@ -1,16 +1,16 @@ import "@moonbeam-network/api-augment/moonbase"; import { TWO_MINS, getBlockArray } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; import type { DispatchInfo } from "@polkadot/types/interfaces"; import { rateLimiter, checkTimeSliceForUpgrades } from "../../helpers/common.js"; -import { +import type { EthereumReceiptReceiptV3, FpRpcTransactionStatus, FrameSystemEventRecord, } from "@polkadot/types/lookup"; -import { GenericExtrinsic } from "@polkadot/types"; -import { AnyTuple } from "@polkadot/types/types"; +import type { GenericExtrinsic } from "@polkadot/types"; +import type { AnyTuple } from "@polkadot/types/types"; const timePeriod = process.env.TIME_PERIOD ? Number(process.env.TIME_PERIOD) : 2 * 60 * 60 * 1000; const timeout = Math.max(Math.floor(timePeriod / 12), 5000); @@ -168,9 +168,8 @@ describeSuite({ if (success) { return true; - } else { - return false; } + return false; } return undefined; }) diff --git a/test/suites/smoke/test-foreign-asset-consistency.ts b/test/suites/smoke/test-foreign-asset-consistency.ts index 7b890a5d7e..d8f57bda4d 100644 --- a/test/suites/smoke/test-foreign-asset-consistency.ts +++ b/test/suites/smoke/test-foreign-asset-consistency.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; -import { ApiDecoration } from "@polkadot/api/types"; +import type { ApiDecoration } from "@polkadot/api/types"; import { describeSuite, expect, beforeAll } from "@moonwall/cli"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { patchLocationV4recursively } from "../../helpers"; describeSuite({ @@ -9,7 +9,7 @@ describeSuite({ title: `Verifying foreign asset count, mapping, assetIds and deposits`, foundationMethods: "read_only", testCases: ({ context, it, log }) => { - let atBlockNumber: number = 0; + let atBlockNumber = 0; let apiAt: ApiDecoration<"promise">; const foreignAssetIdType: { [assetId: string]: string } = {}; const foreignAssetTypeId: { [assetType: string]: string } = {}; @@ -24,7 +24,7 @@ describeSuite({ // (to avoid inconsistency querying over multiple block when the test takes a long time to // query data and blocks are being produced) atBlockNumber = process.env.BLOCK_NUMBER - ? parseInt(process.env.BLOCK_NUMBER) + ? Number.parseInt(process.env.BLOCK_NUMBER) : (await paraApi.rpc.chain.getHeader()).number.toNumber(); apiAt = await paraApi.at(await paraApi.rpc.chain.getBlockHash(atBlockNumber)); @@ -89,7 +89,7 @@ describeSuite({ for (const assetId of Object.keys(foreignAssetIdType)) { const assetType = foreignAssetIdType[assetId]; - if (foreignAssetTypeId[assetType] != assetId) { + if (foreignAssetTypeId[assetType] !== assetId) { failedAssetReserveMappings.push({ assetId: assetId }); } } diff --git a/test/suites/smoke/test-foreign-xcm-failures.ts b/test/suites/smoke/test-foreign-xcm-failures.ts index 3f6efcfa17..6d78c57ca4 100644 --- a/test/suites/smoke/test-foreign-xcm-failures.ts +++ b/test/suites/smoke/test-foreign-xcm-failures.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment/moonbase"; import { describeSuite, expect, beforeAll } from "@moonwall/cli"; import { getBlockArray, TEN_MINS } from "@moonwall/util"; -import { FrameSystemEventRecord } from "@polkadot/types/lookup"; +import type { FrameSystemEventRecord } from "@polkadot/types/lookup"; import { ApiPromise, WsProvider } from "@polkadot/api"; import { rateLimiter, checkTimeSliceForUpgrades } from "../../helpers/common.js"; import { ForeignChainsEndpoints, getEndpoints } from "../../helpers/foreign-chains.js"; @@ -49,8 +49,8 @@ describeSuite({ networkName === "Moonbeam" ? "Polkadot" : networkName === "Moonriver" - ? "Kusama" - : "Unsupported"; + ? "Kusama" + : "Unsupported"; const chainsWithRpcs = foreignChainInfos.foreignChains.map((chain) => { const endpoints = getEndpoints(relayName, chain.paraId); return { ...chain, endpoints }; @@ -159,7 +159,7 @@ describeSuite({ ); expect( - failures.flatMap((a) => a).length, + failures.flat().length, `Unexpected UnsupportedVersion XCM errors in networks ${failures .map((a) => a.networkName) .join(`, `)}; please investigate.` @@ -199,7 +199,7 @@ describeSuite({ ); expect( - failures.flatMap((a) => a).length, + failures.flat().length, `Unexpected BadVersion XCM errors in networks ${failures .map((a) => a.networkName) .join(`, `)}; please investigate.` @@ -241,7 +241,7 @@ describeSuite({ ); expect( - failures.flatMap((a) => a).length, + failures.flat().length, `Unexpected Barrier XCM errors in networks ${failures .map((a) => a.networkName) .join(`, `)}; please investigate.` @@ -283,7 +283,7 @@ describeSuite({ ); expect( - failures.flatMap((a) => a).length, + failures.flat().length, `Unexpected Overflow XCM errors in networks ${failures .map((a) => a.networkName) .join(`, `)}; please investigate.` @@ -332,7 +332,7 @@ describeSuite({ ); expect( - failures.flatMap((a) => a).length, + failures.flat().length, `Unexpected MultiLocationFull XCM errors in networks ${failures .map((a) => a.networkName) .join(`, `)}; please investigate.` @@ -376,7 +376,7 @@ describeSuite({ ); expect( - failures.flatMap((a) => a).length, + failures.flat().length, `Unexpected AssetNotFound XCM errors in networks ${failures .map((a) => a.networkName) .join(`, `)}; please investigate.` @@ -425,7 +425,7 @@ describeSuite({ ); expect( - failures.flatMap((a) => a).length, + failures.flat().length, `Unexpected DestinationUnsupported XCM errors in networks ${failures .map((a) => a.networkName) .join(`, `)}; please investigate.` @@ -467,7 +467,7 @@ describeSuite({ ); expect( - failures.flatMap((a) => a).length, + failures.flat().length, `Unexpected Transport XCM errors in networks ${failures .map((a) => a.networkName) .join(`, `)}; please investigate.` @@ -512,7 +512,7 @@ describeSuite({ ); expect( - failures.flatMap((a) => a).length, + failures.flat().length, `Unexpected FailedToDecode XCM errors in networks ${failures .map((a) => a.networkName) .join(`, `)}; please investigate.` @@ -561,7 +561,7 @@ describeSuite({ ); expect( - failures.flatMap((a) => a).length, + failures.flat().length, `Unexpected UnhandledXcmVersion XCM errors in networks ${failures .map((a) => a.networkName) .join(`, `)}; please investigate.` @@ -610,7 +610,7 @@ describeSuite({ ); expect( - failures.flatMap((a) => a).length, + failures.flat().length, `Unexpected WeightNotComputable XCM errors in networks ${failures .map((a) => a.networkName) .join(`, `)}; please investigate.` diff --git a/test/suites/smoke/test-historic-compatibility.ts b/test/suites/smoke/test-historic-compatibility.ts index fb19951979..a82ab7d520 100644 --- a/test/suites/smoke/test-historic-compatibility.ts +++ b/test/suites/smoke/test-historic-compatibility.ts @@ -1,10 +1,10 @@ import "@moonbeam-network/api-augment"; import { numberToHex } from "@polkadot/util"; import { describeSuite, beforeAll, expect } from "@moonwall/cli"; -import { NetworkTestArtifact, tracingTxns } from "../../helpers/tracing-txns.js"; -import { ApiPromise } from "@polkadot/api"; +import { type NetworkTestArtifact, tracingTxns } from "../../helpers/tracing-txns.js"; +import type { ApiPromise } from "@polkadot/api"; import { rateLimiter } from "../../helpers/common.js"; -import { ethers } from "ethers"; +import type { ethers } from "ethers"; const limiter = rateLimiter(); @@ -72,7 +72,7 @@ describeSuite({ } }); - const results = await Promise.all(promises.flatMap((a) => a)); + const results = await Promise.all(promises.flat()); const failures = results.filter((a) => { if (a.error === true) { log( @@ -116,7 +116,7 @@ describeSuite({ } }); - const results = await Promise.all(promises.flatMap((a) => a)); + const results = await Promise.all(promises.flat()); const failures = results.filter((a) => { if (a.error === true) { log( @@ -150,7 +150,7 @@ describeSuite({ "eth_syncing", [] ); - expect(result).to.satisfy((s: any) => typeof s == "number" || typeof s == "boolean"); + expect(result).to.satisfy((s: any) => typeof s === "number" || typeof s === "boolean"); }, }); @@ -250,7 +250,7 @@ describeSuite({ "eth_getBalance", [treasuryAddress, "latest"] ); - expect(BigInt(result) == 0n).to.be.false; + expect(BigInt(result) === 0n).to.be.false; }, }); @@ -270,7 +270,7 @@ describeSuite({ "eth_getStorageAt", [traceStatic.WETH, "0x0", "latest"] ); - expect(BigInt(result) == 0n).to.be.false; + expect(BigInt(result) === 0n).to.be.false; }, }); @@ -509,9 +509,8 @@ describeSuite({ if (e.toString().includes("Error: Filter pool is full")) { log(`Filter pool is full, skipping test.`); return; // TODO: replace this with this.skip() when added to vitest - } else { - expect.fail(null, null, e.toString()); } + expect.fail(null, null, e.toString()); } }, }); @@ -530,9 +529,8 @@ describeSuite({ if (e.toString().includes("Error: Filter pool is full")) { log(`Filter pool is full, skipping test.`); return; // TODO: replace this with this.skip() when added to vitest - } else { - expect.fail(null, null, e.toString()); } + expect.fail(null, null, e.toString()); } }, }); @@ -555,9 +553,8 @@ describeSuite({ if (e.toString().includes("Error: Filter pool is full")) { log(`Filter pool is full, skipping test.`); return; // TODO: replace this with this.skip() when added to vitest - } else { - expect.fail(null, null, e.toString()); } + expect.fail(null, null, e.toString()); } }, }); @@ -580,9 +577,8 @@ describeSuite({ if (e.toString().includes("Error: Filter pool is full")) { log(`Filter pool is full, skipping test.`); return; // TODO: replace this with this.skip() when added to vitest - } else { - expect.fail(null, null, e.toString()); } + expect.fail(null, null, e.toString()); } }, }); @@ -605,9 +601,8 @@ describeSuite({ if (e.toString().includes("Error: Filter pool is full")) { log(`Filter pool is full, skipping test.`); return; // TODO: replace this with this.skip() when added to vitest - } else { - expect.fail(null, null, e.toString()); } + expect.fail(null, null, e.toString()); } }, }); diff --git a/test/suites/smoke/test-old-regressions.ts b/test/suites/smoke/test-old-regressions.ts index 91da46d861..65f21cbd74 100644 --- a/test/suites/smoke/test-old-regressions.ts +++ b/test/suites/smoke/test-old-regressions.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { describeSuite, beforeAll, expect } from "@moonwall/cli"; -import { ApiPromise } from "@polkadot/api"; -import { encodeFunctionData, Hash } from "viem"; +import type { ApiPromise } from "@polkadot/api"; +import { encodeFunctionData, type Hash } from "viem"; import moonbaseSamples from "../../helpers/moonbase-tracing-samples.json"; import moonbeamSamples from "../../helpers/moonbeam-tracing-samples.json"; import moonriverSamples from "../../helpers/moonriver-tracing-samples.json"; @@ -251,7 +251,7 @@ type TraceTransactionSchema = { withLog?: boolean; }; } - | undefined + | undefined, ]; ReturnType: { from: string; diff --git a/test/suites/smoke/test-orbiter-consistency.ts b/test/suites/smoke/test-orbiter-consistency.ts index 9dbdb1c152..aa7da7bcc8 100644 --- a/test/suites/smoke/test-orbiter-consistency.ts +++ b/test/suites/smoke/test-orbiter-consistency.ts @@ -1,6 +1,6 @@ import "@moonbeam-network/api-augment"; -import { ApiDecoration } from "@polkadot/api/types"; -import { bool, Option, u32 } from "@polkadot/types-codec"; +import type { ApiDecoration } from "@polkadot/api/types"; +import type { bool, Option, u32 } from "@polkadot/types-codec"; import type { FrameSystemEventRecord, PalletMoonbeamOrbitersCollatorPoolInfo, @@ -8,33 +8,33 @@ import type { import type { AccountId20 } from "@polkadot/types/interfaces"; import { sortObjectByKeys } from "../../helpers/common.js"; import { describeSuite, expect, beforeAll } from "@moonwall/cli"; -import { StorageKey } from "@polkadot/types"; -import { ApiPromise } from "@polkadot/api"; +import type { StorageKey } from "@polkadot/types"; +import type { ApiPromise } from "@polkadot/api"; describeSuite({ id: "S15", title: "Verify orbiters", foundationMethods: "read_only", testCases: ({ context, it, log }) => { - let atBlockNumber: number = 0; + let atBlockNumber = 0; let apiAt: ApiDecoration<"promise">; let collatorsPools: [ StorageKey<[AccountId20]>, - Option + Option, ][]; let registeredOrbiters: [StorageKey<[AccountId20]>, Option][]; let counterForCollatorsPool: u32; let currentRound: number; let orbiterPerRound: [StorageKey<[u32, AccountId20]>, Option][]; let events: FrameSystemEventRecord[]; - let specVersion: number = 0; + let specVersion = 0; let paraApi: ApiPromise; beforeAll(async function () { paraApi = context.polkadotJs("para"); const runtimeVersion = paraApi.runtimeVersion.specVersion.toNumber(); atBlockNumber = process.env.BLOCK_NUMBER - ? parseInt(process.env.BLOCK_NUMBER) + ? Number.parseInt(process.env.BLOCK_NUMBER) : (await paraApi.rpc.chain.getHeader()).number.toNumber(); apiAt = await paraApi.at(await paraApi.rpc.chain.getBlockHash(atBlockNumber)); collatorsPools = await apiAt.query.moonbeamOrbiters.collatorsPool.entries(); @@ -56,7 +56,7 @@ describeSuite({ const reserves = await apiAt.query.balances.reserves.entries(); const orbiterReserves = reserves .map((reserveSet) => - reserveSet[1].find((r) => r.id.toUtf8() == "orbi") + reserveSet[1].find((r) => r.id.toUtf8() === "orbi") ? `0x${reserveSet[0].toHex().slice(-40)}` : null ) @@ -152,8 +152,8 @@ describeSuite({ for (const { event, phase } of events) { if ( phase.isInitialization && - event.section == "parachainStaking" && - event.method == "Rewarded" + event.section === "parachainStaking" && + event.method === "Rewarded" ) { const data = event.data as any; const account = data.account.toHex(); @@ -174,7 +174,7 @@ describeSuite({ const [round, collator] = o[0].args; const orbiter = o[1]; - if (round.toNumber() == lastRotateRound && collatorRewards[collator.toHex()]) { + if (round.toNumber() === lastRotateRound && collatorRewards[collator.toHex()]) { expectedOrbiterRewards[orbiter.unwrap().toHex()] = collatorRewards[collator.toHex()]; } @@ -186,8 +186,8 @@ describeSuite({ for (const { event, phase } of events) { if ( phase.isInitialization && - event.section == "MoonbeamOrbiters" && - event.method == "OrbiterRewarded" + event.section === "MoonbeamOrbiters" && + event.method === "OrbiterRewarded" ) { const data = event.data as any; const orbiter = data.account.toHex(); diff --git a/test/suites/smoke/test-polkadot-decoding.ts b/test/suites/smoke/test-polkadot-decoding.ts index 12d3ac1a0b..392a022298 100644 --- a/test/suites/smoke/test-polkadot-decoding.ts +++ b/test/suites/smoke/test-polkadot-decoding.ts @@ -1,16 +1,16 @@ -import { ApiDecoration } from "@polkadot/api/types"; +import type { ApiDecoration } from "@polkadot/api/types"; import chalk from "chalk"; import { describeSuite, beforeAll } from "@moonwall/cli"; import { ONE_HOURS } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; -import { fail } from "assert"; +import type { ApiPromise } from "@polkadot/api"; +import { fail } from "node:assert"; // Change the following line to reproduce a particular case const STARTING_KEY_OVERRIDE = ""; const MODULE_NAME = ""; const FN_NAME = ""; -const pageSize = (process.env.PAGE_SIZE && parseInt(process.env.PAGE_SIZE)) || 500; +const pageSize = (process.env.PAGE_SIZE && Number.parseInt(process.env.PAGE_SIZE)) || 500; const extractStorageKeyComponents = (storageKey: string) => { // The full storage key is composed of @@ -44,9 +44,9 @@ describeSuite({ title: "Polkadot API - Storage items", foundationMethods: "read_only", testCases: ({ context, it, log }) => { - let atBlockNumber: number = 0; + let atBlockNumber = 0; let apiAt: ApiDecoration<"promise">; - let specVersion: number = 0; + let specVersion = 0; let paraApi: ApiPromise; beforeAll(async function () { @@ -160,7 +160,7 @@ describeSuite({ // Log first entry storage key const firstRandomEntryKey = randomEntries[0][0].toString(); log(` - ${fn}: ${chalk.green(`🔎`)} (random key: ${firstRandomEntryKey})`); - } else if (fn != "code") { + } else if (fn !== "code") { await module[fn](); } diff --git a/test/suites/smoke/test-proxy-consistency.ts b/test/suites/smoke/test-proxy-consistency.ts index 92ec2ee427..8890ba41c1 100644 --- a/test/suites/smoke/test-proxy-consistency.ts +++ b/test/suites/smoke/test-proxy-consistency.ts @@ -1,9 +1,9 @@ import "@moonbeam-network/api-augment"; -import { ApiDecoration } from "@polkadot/api/types"; +import type { ApiDecoration } from "@polkadot/api/types"; import chalk from "chalk"; import { expect, beforeAll, describeSuite } from "@moonwall/cli"; import type { PalletProxyProxyDefinition } from "@polkadot/types/lookup"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { rateLimiter } from "../../helpers/common.js"; describeSuite({ @@ -14,7 +14,7 @@ describeSuite({ const proxiesPerAccount: { [account: string]: PalletProxyProxyDefinition[] } = {}; const proxyAccList: string[] = []; const limiter = rateLimiter(); - let atBlockNumber: number = 0; + let atBlockNumber = 0; let apiAt: ApiDecoration<"promise">; let paraApi: ApiPromise; @@ -28,7 +28,7 @@ describeSuite({ // (to avoid inconsistency querying over multiple block when the test takes a long time to // query data and blocks are being produced) atBlockNumber = process.env.BLOCK_NUMBER - ? parseInt(process.env.BLOCK_NUMBER) + ? Number.parseInt(process.env.BLOCK_NUMBER) : (await paraApi.rpc.chain.getHeader()).number.toNumber(); apiAt = await paraApi.at(await paraApi.rpc.chain.getBlockHash(atBlockNumber)); @@ -40,7 +40,7 @@ describeSuite({ startKey: last_key, }); - if (query.length == 0) { + if (query.length === 0) { break; } count += query.length; @@ -55,7 +55,7 @@ describeSuite({ // log logs to make sure it keeps progressing // TEMPLATE: Adapt log line - if (count % (10 * limit) == 0) { + if (count % (10 * limit) === 0) { log(`Retrieved ${count} proxies`); } } @@ -148,7 +148,7 @@ describeSuite({ // For each account with a registered proxy, check whether it is a non-SC address const promises = proxyAccList.map(async (address) => { const resp = await limiter.schedule(() => apiAt.query.evm.accountCodes(address)); - const contract = resp.toJSON() == "0x" ? false : true; + const contract = resp.toJSON() !== "0x"; return { address, contract }; }); @@ -157,7 +157,7 @@ describeSuite({ if (item.contract) log(`Proxy account for non-external address detected: ${item.address} `); }); - expect(results.every((item) => item.contract == false)).to.be.true; + expect(results.every((item) => item.contract === false)).to.be.true; }, }); }, diff --git a/test/suites/smoke/test-randomness-consistency.ts b/test/suites/smoke/test-randomness-consistency.ts index 77c37e1784..8d481ba5ab 100644 --- a/test/suites/smoke/test-randomness-consistency.ts +++ b/test/suites/smoke/test-randomness-consistency.ts @@ -1,10 +1,10 @@ import "@moonbeam-network/api-augment"; -import { ApiDecoration } from "@polkadot/api/types"; +import type { ApiDecoration } from "@polkadot/api/types"; import { BN, hexToBigInt } from "@polkadot/util"; import { describeSuite, expect, beforeAll } from "@moonwall/cli"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import randomLib from "randomness"; -import { Bit } from "randomness/lib/types"; +import type { Bit } from "randomness/lib/types"; import chalk from "chalk"; const RANDOMNESS_ACCOUNT_ID = "0x6d6f646c6d6f6f6e72616e640000000000000000"; @@ -14,11 +14,11 @@ describeSuite({ title: "Verify randomness consistency", foundationMethods: "read_only", testCases: ({ context, it, log }) => { - let atBlockNumber: number = 0; + let atBlockNumber = 0; let apiAt: ApiDecoration<"promise">; const requestStates: { id: number; state: any }[] = []; - let numRequests: number = 0; // our own count - let requestCount: number = 0; // from pallet storage + let numRequests = 0; // our own count + let requestCount = 0; // from pallet storage let isRandomnessAvailable = true; let paraApi: ApiPromise; @@ -27,7 +27,7 @@ describeSuite({ const runtimeVersion = paraApi.runtimeVersion.specVersion.toNumber(); const runtimeName = paraApi.runtimeVersion.specName.toString(); isRandomnessAvailable = - (runtimeVersion >= 1700 && runtimeName == "moonbase") || runtimeVersion >= 1900; + (runtimeVersion >= 1700 && runtimeName === "moonbase") || runtimeVersion >= 1900; if (!isRandomnessAvailable) { log(`Skipping test [RT${runtimeVersion} ${runtimeName}]`); @@ -39,7 +39,7 @@ describeSuite({ let count = 0; atBlockNumber = process.env.BLOCK_NUMBER - ? parseInt(process.env.BLOCK_NUMBER) + ? Number.parseInt(process.env.BLOCK_NUMBER) : (await paraApi.rpc.chain.getHeader()).number.toNumber(); apiAt = await paraApi.at(await paraApi.rpc.chain.getBlockHash(atBlockNumber)); @@ -50,7 +50,7 @@ describeSuite({ startKey: last_key, }); - if (query.length == 0) { + if (query.length === 0) { break; } count += query.length; @@ -67,7 +67,7 @@ describeSuite({ last_key = key; } - if (count % (10 * limit) == 0) { + if (count % (10 * limit) === 0) { log(`Retrieved ${count} requests`); log(`Requests: ${requestStates.map((r) => r.id).join(",")}`); } @@ -481,10 +481,13 @@ describeSuite({ // Tests uniform distribution of outputs bytes by checking if any repeated bytes function outputWithinExpectedRepetition(bytes: Uint8Array, maxRepeats: number) { - const counts = bytes.reduce((acc, byte) => { - acc[byte] = (acc[byte] || 0) + 1; - return acc; - }, {} as { [byte: string]: number }); + const counts = bytes.reduce( + (acc, byte) => { + acc[byte] = (acc[byte] || 0) + 1; + return acc; + }, + {} as { [byte: string]: number } + ); const exceededRepeats = Object.values(counts).some((count) => count > maxRepeats); diff --git a/test/suites/smoke/test-relay-indices.ts b/test/suites/smoke/test-relay-indices.ts index 67d8d263e6..d8cf91e468 100644 --- a/test/suites/smoke/test-relay-indices.ts +++ b/test/suites/smoke/test-relay-indices.ts @@ -1,10 +1,10 @@ // import "@moonbeam-network/api-augment"; import "@polkadot/api-augment"; import { describeSuite, expect, beforeAll, fetchCompiledContract } from "@moonwall/cli"; -import { Contract, ethers, InterfaceAbi, WebSocketProvider } from "ethers"; +import { type Contract, ethers, type InterfaceAbi, type WebSocketProvider } from "ethers"; import { ALITH_SESSION_ADDRESS, PRECOMPILES } from "@moonwall/util"; import { hexToU8a } from "@polkadot/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; describeSuite({ id: "S19", diff --git a/test/suites/smoke/test-relay-xcm-fees.ts b/test/suites/smoke/test-relay-xcm-fees.ts index 0551e93dfa..84dd1561b2 100644 --- a/test/suites/smoke/test-relay-xcm-fees.ts +++ b/test/suites/smoke/test-relay-xcm-fees.ts @@ -1,16 +1,16 @@ import "@moonbeam-network/api-augment"; -import { ApiDecoration } from "@polkadot/api/types"; +import type { ApiDecoration } from "@polkadot/api/types"; import { describeSuite, expect, beforeAll } from "@moonwall/cli"; import { extractWeight } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; describeSuite({ id: "S20", title: "Verify XCM weight fees for relay", foundationMethods: "read_only", testCases: ({ context, it, log }) => { - let atBlockNumber: number = 0; - let relayAtBlockNumber: number = 0; + let atBlockNumber = 0; + let relayAtBlockNumber = 0; let paraApiAt: ApiDecoration<"promise">; let relayApiAt: ApiDecoration<"promise">; let paraApi: ApiPromise; @@ -37,12 +37,11 @@ describeSuite({ // skip test if runtime inconsistency. The storage is set for // specific runtimes, so does not make sense to compare non-matching runtimes - const skipTestRuntimeInconsistency = + const skipTestRuntimeInconsistency = !( (relayRuntime.startsWith("polkadot") && paraRuntime.startsWith("moonbeam")) || (relayRuntime.startsWith("kusama") && paraRuntime.startsWith("moonriver")) || (relayRuntime.startsWith("westend") && paraRuntime.startsWith("moonbase")) - ? false - : true; + ); if (skipTestRuntimeInconsistency) { log(`Relay and Para runtimes dont match, skipping test`); @@ -52,10 +51,10 @@ describeSuite({ const units = relayRuntime.startsWith("polkadot") ? 10_000_000_000n : relayRuntime.startsWith("kusama") || - relayRuntime.startsWith("rococo") || - relayRuntime.startsWith("westend") - ? 1_000_000_000_000n - : 1_000_000_000_000n; + relayRuntime.startsWith("rococo") || + relayRuntime.startsWith("westend") + ? 1_000_000_000_000n + : 1_000_000_000_000n; const seconds = 1_000_000_000_000n; @@ -65,8 +64,8 @@ describeSuite({ relayRuntime.startsWith("westend") ? units / 100n : relayRuntime.startsWith("kusama") - ? units / 3_000n - : units / 100n; + ? units / 3_000n + : units / 100n; const coef = cent / 10n; const relayBaseWeight = extractWeight( diff --git a/test/suites/smoke/test-staking-consistency.ts b/test/suites/smoke/test-staking-consistency.ts index cf3ca63f3a..47775981a6 100644 --- a/test/suites/smoke/test-staking-consistency.ts +++ b/test/suites/smoke/test-staking-consistency.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; -import { ApiDecoration } from "@polkadot/api/types"; -import { AccountId20 } from "@polkadot/types/interfaces/runtime"; -import { StorageKey, Option } from "@polkadot/types"; +import type { ApiDecoration } from "@polkadot/api/types"; +import type { AccountId20 } from "@polkadot/types/interfaces/runtime"; +import type { StorageKey, Option } from "@polkadot/types"; import type { PalletParachainStakingDelegator, PalletParachainStakingDelegations, @@ -10,20 +10,20 @@ import type { PalletParachainStakingSetOrderedSet, } from "@polkadot/types/lookup"; import { describeSuite, expect, beforeAll } from "@moonwall/cli"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; describeSuite({ id: "S21", title: "Verify staking consistency", foundationMethods: "read_only", testCases: ({ context, it, log }) => { - let atBlockNumber: number = 0; + let atBlockNumber = 0; let apiAt: ApiDecoration<"promise">; - let specVersion: number = 0; - let maxTopDelegationsPerCandidate: number = 0; + let specVersion = 0; + let maxTopDelegationsPerCandidate = 0; let allCandidateInfo: [ StorageKey<[AccountId20]>, - Option + Option, ][]; let candidatePool: PalletParachainStakingSetOrderedSet; let allDelegatorState: [StorageKey<[AccountId20]>, Option][]; @@ -132,7 +132,7 @@ describeSuite({ for (const candidate of allCandidateInfo) { const accountId = `0x${candidate[0].toHex().slice(-40)}`; const topDelegation = allTopDelegations - .find((t) => `0x${t[0].toHex().slice(-40)}` == accountId)![1] + .find((t) => `0x${t[0].toHex().slice(-40)}` === accountId)![1] .unwrap(); expect(topDelegation.total.toBigInt()).to.equal( candidate[1].unwrap().totalCounted.toBigInt() - candidate[1].unwrap().bond.toBigInt() @@ -154,13 +154,13 @@ describeSuite({ a.delegation.amount.toBigInt() < b.delegation.amount.toBigInt() ? 1 : a.delegation.amount.toBigInt() > b.delegation.amount.toBigInt() - ? -1 - : 0 + ? -1 + : 0 ) .filter((_, i) => i < maxTopDelegationsPerCandidate); const topDelegations = allTopDelegations - .find((t) => `0x${t[0].toHex().slice(-40)}` == accountId)![1] + .find((t) => `0x${t[0].toHex().slice(-40)}` === accountId)![1] .unwrap(); expect(topDelegations.total.toBigInt()).to.equal( @@ -199,16 +199,19 @@ describeSuite({ if (specVersion >= 1500) { const delegationScheduledRequests = await apiAt.query.parachainStaking.delegationScheduledRequests.entries(); - const delegatorRequests = delegationScheduledRequests.reduce((p, requests: any) => { - for (const request of requests[1]) { - const delegator = request.delegator.toHex(); - if (!p[delegator]) { - p[delegator] = []; + const delegatorRequests = delegationScheduledRequests.reduce( + (p, requests: any) => { + for (const request of requests[1]) { + const delegator = request.delegator.toHex(); + if (!p[delegator]) { + p[delegator] = []; + } + p[delegator].push(request); } - p[delegator].push(request); - } - return p; - }, {} as { [delegator: string]: { delegator: any; whenExecutable: any; action: any }[] }); + return p; + }, + {} as { [delegator: string]: { delegator: any; whenExecutable: any; action: any }[] } + ); for (const state of allDelegatorState) { const delegator = `0x${state[0].toHex().slice(-40)}`; @@ -259,12 +262,12 @@ describeSuite({ if (candidateData.status.isLeaving || candidateData.status.isIdle) { expect( - candidatePool.find((c) => c.owner.toHex() == candidateId), + candidatePool.find((c) => c.owner.toHex() === candidateId), `Candidate ${candidateId} is leaving and should not be in the candidate pool` ).to.be.undefined; } else { expect( - candidatePool.find((c) => c.owner.toHex() == candidateId), + candidatePool.find((c) => c.owner.toHex() === candidateId), `Candidate ${candidateId} is active and should be in the candidate pool` ).to.not.be.undefined; foundCandidateInPool++; diff --git a/test/suites/smoke/test-staking-rewards.ts b/test/suites/smoke/test-staking-rewards.ts index 5eab18c0d0..5cf6b850ad 100644 --- a/test/suites/smoke/test-staking-rewards.ts +++ b/test/suites/smoke/test-staking-rewards.ts @@ -1,9 +1,9 @@ import "@moonbeam-network/api-augment"; import { BN, BN_BILLION } from "@polkadot/util"; -import { u128, u32, StorageKey, u64 } from "@polkadot/types"; -import { ApiPromise } from "@polkadot/api"; -import { HexString } from "@polkadot/util/types"; -import { +import type { u128, u32, StorageKey, u64 } from "@polkadot/types"; +import type { ApiPromise } from "@polkadot/api"; +import type { HexString } from "@polkadot/util/types"; +import type { PalletParachainStakingDelegationRequestsScheduledRequest, PalletParachainStakingDelegator, PalletParachainStakingCollatorSnapshot, @@ -11,11 +11,11 @@ import { PalletParachainStakingBondWithAutoCompound, PalletParachainStakingRoundInfo, } from "@polkadot/types/lookup"; -import { ApiDecoration } from "@polkadot/api/types"; +import type { ApiDecoration } from "@polkadot/api/types"; import { describeSuite, expect, beforeAll } from "@moonwall/cli"; import { FIVE_MINS, ONE_HOURS, Perbill, Percent, TEN_MINS } from "@moonwall/util"; import { rateLimiter, getPreviousRound, getNextRound } from "../../helpers"; -import { AccountId20, Block } from "@polkadot/types/interfaces"; +import type { AccountId20, Block } from "@polkadot/types/interfaces"; const limiter = rateLimiter(); @@ -50,7 +50,7 @@ describeSuite({ paraApi = context.polkadotJs("para"); const atBlockNumber = process.env.BLOCK_NUMBER - ? parseInt(process.env.BLOCK_NUMBER) + ? Number.parseInt(process.env.BLOCK_NUMBER) : (await paraApi.rpc.chain.getHeader()).number.toNumber(); const queriedBlockHash = await paraApi.rpc.chain.getBlockHash(atBlockNumber); const queryApi = await paraApi.at(queriedBlockHash); @@ -88,7 +88,7 @@ describeSuite({ const totalSelected = (await apiAt.query.parachainStaking.totalSelected()).toNumber(); expect(atStakeSnapshot.length).to.be.lessThanOrEqual(totalSelected); const extras = atStakeSnapshot.filter((item) => - selectedCandidates.some((a) => item[0].args[1] == a) + selectedCandidates.some((a) => item[0].args[1] === a) ); expect(atStakeSnapshot.length).to.be.equal(selectedCandidates.length); expect(extras, `Non-selected candidates in snapshot: ${extras.map((a) => a[0]).join(", ")}`) @@ -120,7 +120,7 @@ describeSuite({ const bondsMatch: boolean = bond.eq(candidateInfo.bond); const delegationsTotalMatch: boolean = - delegations.length == + delegations.length === Math.min( candidateInfo.delegationCount.toNumber(), predecessorApiAt.consts.parachainStaking.maxTopDelegationsPerCandidate.toNumber() @@ -151,7 +151,7 @@ describeSuite({ timeout: ONE_HOURS, test: async () => { // This test is slow due to rate limiting, and should be run ad-hoc only - if (process.env.RUN_ATSTAKE_CONSISTENCY_TESTS != "true") { + if (process.env.RUN_ATSTAKE_CONSISTENCY_TESTS !== "true") { log("Explicit RUN_ATSTAKE_CONSISTENCY_TESTS flag not set to 'true', skipping test"); return; // Replace this with skip() when added to vitest } @@ -169,22 +169,22 @@ describeSuite({ ).unwrap(); const delegationAmount = delegatorDelegations.find( - (candidate) => candidate.owner.toString() == accountId.toString() + (candidate) => candidate.owner.toString() === accountId.toString() )!.amount; // Querying for pending withdrawals which affect the total const scheduledRequest = scheduledRequests.find((a) => { - return a.delegator.toString() == delegatorSnapshot.owner.toString(); + return a.delegator.toString() === delegatorSnapshot.owner.toString(); }); const expected = scheduledRequest === undefined ? delegationAmount : scheduledRequest.action.isDecrease - ? delegationAmount.sub(scheduledRequest.action.asDecrease) - : scheduledRequest.action.isRevoke - ? delegationAmount.sub(scheduledRequest.action.asRevoke) - : delegationAmount; + ? delegationAmount.sub(scheduledRequest.action.asDecrease) + : scheduledRequest.action.isRevoke + ? delegationAmount.sub(scheduledRequest.action.asRevoke) + : delegationAmount; const match = expected.eq(delegatorSnapshot.amount); if (!match) { @@ -240,7 +240,7 @@ describeSuite({ ); const results = await Promise.all(promises); - const mismatches = results.flatMap((a) => a).filter((item) => item.match == false); + const mismatches = results.flat().filter((item) => item.match === false); expect( mismatches, `Mismatched amounts for ${mismatches @@ -258,7 +258,7 @@ describeSuite({ title: "should snapshot delegate autocompound preferences correctly", timeout: ONE_HOURS, test: async () => { - if (process.env.RUN_ATSTAKE_CONSISTENCY_TESTS != "true") { + if (process.env.RUN_ATSTAKE_CONSISTENCY_TESTS !== "true") { log("Explicit RUN_ATSTAKE_CONSISTENCY_TESTS flag not set to 'true', skipping test"); return; // Replace this with skip() when added to vitest } @@ -275,10 +275,10 @@ describeSuite({ autoCompoundPrefs: any[] ) => { const autoCompoundQuery = autoCompoundPrefs.find( - (a) => a.delegator.toString() == delegatorSnapshot.owner.toString() + (a) => a.delegator.toString() === delegatorSnapshot.owner.toString() ); const autoCompoundAmount = - autoCompoundQuery == undefined ? new BN(0) : autoCompoundQuery.value; + autoCompoundQuery === undefined ? new BN(0) : autoCompoundQuery.value; const match = autoCompoundAmount.eq(delegatorSnapshot.autoCompound); if (!match) { log( @@ -300,31 +300,29 @@ describeSuite({ }; log(`Gathering snapshot query requests for ${atStakeSnapshot.length} collators.`); - const promises = atStakeSnapshot - .map( - async ([ - { - args: [_, accountId], - }, - { delegations }, - ]) => { - const autoCompoundPrefs = (await limiter.schedule(() => - predecessorApiAt.query.parachainStaking.autoCompoundingDelegations(accountId) - )) as any; - - return delegations.map((delegation) => - checkDelegatorAutocompound(accountId, delegation, autoCompoundPrefs) - ); - } - ) - .flatMap((a) => a); + const promises = atStakeSnapshot.flatMap( + async ([ + { + args: [_, accountId], + }, + { delegations }, + ]) => { + const autoCompoundPrefs = (await limiter.schedule(() => + predecessorApiAt.query.parachainStaking.autoCompoundingDelegations(accountId) + )) as any; + + return delegations.map((delegation) => + checkDelegatorAutocompound(accountId, delegation, autoCompoundPrefs) + ); + } + ); // RPC endpoints roughly rate limit to 10 queries a second const estimatedTime = (promises.length / 600).toFixed(2); log("Verifying autoCompound preferences, estimated time " + estimatedTime + " mins."); const results: any = await Promise.all(promises); - const mismatches = results.filter((item: any) => item.match == false); + const mismatches = results.filter((item: any) => item.match === false); expect( mismatches, `Mismatched autoCompound for ${mismatches @@ -343,7 +341,7 @@ describeSuite({ timeout: TEN_MINS, test: async () => { const atBlockNumber = process.env.BLOCK_NUMBER - ? parseInt(process.env.BLOCK_NUMBER) + ? Number.parseInt(process.env.BLOCK_NUMBER) : (await paraApi.rpc.chain.getHeader()).number.toNumber(); await assertRewardsAtRoundBefore(paraApi, atBlockNumber); @@ -962,7 +960,7 @@ describeSuite({ ); const collator = `0x${collators - .find((orbit) => orbit[1].toHex() == event.data[0].toHex())![0] + .find((orbit) => orbit[1].toHex() === event.data[0].toHex())![0] .toHex() .slice(-40)}`; rewards[collator as HexString] = { diff --git a/test/suites/smoke/test-staking-round-cleanup.ts b/test/suites/smoke/test-staking-round-cleanup.ts index 5a3e37ed5e..6f62ca697d 100644 --- a/test/suites/smoke/test-staking-round-cleanup.ts +++ b/test/suites/smoke/test-staking-round-cleanup.ts @@ -1,11 +1,11 @@ import "@polkadot/api-augment"; import "@moonbeam-network/api-augment"; import { describeSuite, expect, beforeAll } from "@moonwall/cli"; -import { BN } from "@polkadot/util"; -import { QueryableStorageEntry } from "@polkadot/api/types"; -import { u32 } from "@polkadot/types"; +import type { BN } from "@polkadot/util"; +import type { QueryableStorageEntry } from "@polkadot/api/types"; +import type { u32 } from "@polkadot/types"; import type { AccountId20 } from "@polkadot/types/interfaces"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { TEN_MINS } from "@moonwall/util"; import { rateLimiter } from "../../helpers/common.js"; @@ -14,7 +14,7 @@ const limiter = rateLimiter(); type InvalidRounds = { [round: number]: number }; async function getKeysBeforeRound< - T extends QueryableStorageEntry<"promise", [u32] | [u32, AccountId20]> + T extends QueryableStorageEntry<"promise", [u32] | [u32, AccountId20]>, >(lastUnpaidRound: BN, storage: T): Promise { const invalidRounds: InvalidRounds = {}; let startKey = ""; @@ -74,13 +74,13 @@ describeSuite({ } // TODO: Remove once moonsama first 129667 blocks are cleaned - if (chainName == "Moonsama") { + if (chainName === "Moonsama") { log(`Moonsama is broken, skipping it`); return; } const atBlockNumber = process.env.BLOCK_NUMBER - ? parseInt(process.env.BLOCK_NUMBER) + ? Number.parseInt(process.env.BLOCK_NUMBER) : currentBlock; const atBlockHash = await paraApi.rpc.chain.getBlockHash(atBlockNumber); @@ -112,16 +112,16 @@ describeSuite({ ); // TODO: remove this once the storage has been cleaned (root vote or upgrade) - if (specName == "moonriver") { + if (specName === "moonriver") { delete awardedPtsInvalidRounds[12440]; delete pointsInvalidRounds[12440]; delete atStakeInvalidRounds[12440]; - } else if (specName == "moonbeam") { + } else if (specName === "moonbeam") { // Only used for Moonlama delete awardedPtsInvalidRounds[3107]; delete pointsInvalidRounds[3107]; delete atStakeInvalidRounds[3107]; - } else if (specName == "moonbase") { + } else if (specName === "moonbase") { // alphanet delete awardedPtsInvalidRounds[10349]; delete pointsInvalidRounds[10349]; diff --git a/test/suites/smoke/test-state-v1-migration.ts b/test/suites/smoke/test-state-v1-migration.ts index c0bb08004f..d53c23bf55 100644 --- a/test/suites/smoke/test-state-v1-migration.ts +++ b/test/suites/smoke/test-state-v1-migration.ts @@ -1,5 +1,5 @@ import "@moonbeam-network/api-augment/moonbase"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; describeSuite({ diff --git a/test/suites/smoke/test-treasury-consistency.ts b/test/suites/smoke/test-treasury-consistency.ts index 60940611a5..486145db72 100644 --- a/test/suites/smoke/test-treasury-consistency.ts +++ b/test/suites/smoke/test-treasury-consistency.ts @@ -1,14 +1,14 @@ import "@moonbeam-network/api-augment"; -import { ApiDecoration } from "@polkadot/api/types"; +import type { ApiDecoration } from "@polkadot/api/types"; import { describeSuite, expect, beforeAll } from "@moonwall/cli"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; describeSuite({ id: "S24", title: "Verify treasury consistency", foundationMethods: "read_only", testCases: ({ context, it, log }) => { - let atBlockNumber: number = 0; + let atBlockNumber = 0; let apiAt: ApiDecoration<"promise">; let paraApi: ApiPromise; diff --git a/test/suites/smoke/test-xcm-autopause.ts b/test/suites/smoke/test-xcm-autopause.ts index fc36fe4e88..a1a641cd0a 100644 --- a/test/suites/smoke/test-xcm-autopause.ts +++ b/test/suites/smoke/test-xcm-autopause.ts @@ -1,5 +1,5 @@ import "@moonbeam-network/api-augment/moonbase"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { beforeAll, describeSuite, expect } from "@moonwall/cli"; describeSuite({ diff --git a/test/suites/smoke/test-xcm-failures.ts b/test/suites/smoke/test-xcm-failures.ts index 800ba52cd7..bb38caf783 100644 --- a/test/suites/smoke/test-xcm-failures.ts +++ b/test/suites/smoke/test-xcm-failures.ts @@ -1,15 +1,15 @@ import "@moonbeam-network/api-augment/moonbase"; import { rateLimiter, checkTimeSliceForUpgrades } from "../../helpers/common.js"; -import { FrameSystemEventRecord, XcmV3MultiLocation } from "@polkadot/types/lookup"; +import type { FrameSystemEventRecord, XcmV3MultiLocation } from "@polkadot/types/lookup"; import { - MoonbeamNetworkName, - ParaId, + type MoonbeamNetworkName, + type ParaId, isMuted, ForeignChainsEndpoints, } from "../../helpers/foreign-chains.js"; import { describeSuite, expect, beforeAll } from "@moonwall/cli"; import { getBlockArray, FIVE_MINS, ONE_HOURS } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; const timePeriod = process.env.TIME_PERIOD ? Number(process.env.TIME_PERIOD) : ONE_HOURS; const atBlock = process.env.AT_BLOCK ? Number(process.env.AT_BLOCK) : -1; @@ -61,7 +61,7 @@ describeSuite({ ); // PolkadotSDK 1.7.2 removes XCM errors, so we can skip these tests - aboveRt2900 = onChainRt.toNumber() >= 2900 ? true : false; + aboveRt2900 = onChainRt.toNumber() >= 2900; if (result) { log( diff --git a/test/suites/tracing-tests/test-trace-1.ts b/test/suites/tracing-tests/test-trace-1.ts index f0c305ed76..9ce49e8bb6 100644 --- a/test/suites/tracing-tests/test-trace-1.ts +++ b/test/suites/tracing-tests/test-trace-1.ts @@ -59,7 +59,7 @@ describeSuite({ const { abi: abiIncrementor, hash: hash1 } = await context.deployContract!("Incrementor"); const receipt = await context.viem().getTransactionReceipt({ hash: hash1 }); - // In our case, the total number of transactions == the max value of the incrementer. + // In our case, the total number of transactions === the max value of the incrementer. // If we trace the last transaction of the block, should return the total number of // transactions we executed (10). // If we trace the 5th transaction, should return 5 and so on. @@ -116,10 +116,10 @@ describeSuite({ const traceTx = await customDevRpcRequest("debug_traceTransaction", [send]); const logs: any[] = []; for (const log of traceTx.structLogs) { - if (logs.length == 1) { + if (logs.length === 1) { logs.push(log); } - if (log.op == "RETURN") { + if (log.op === "RETURN") { logs.push(log); } } diff --git a/test/suites/tracing-tests/test-trace-2.ts b/test/suites/tracing-tests/test-trace-2.ts index 952cd1a501..5af522a245 100644 --- a/test/suites/tracing-tests/test-trace-2.ts +++ b/test/suites/tracing-tests/test-trace-2.ts @@ -1,5 +1,7 @@ import { customDevRpcRequest, describeSuite, expect, TransactionTypes } from "@moonwall/cli"; -import BS_TRACER_V2 from "../../helpers/tracer/blockscout_tracer_v2.min.json" assert { type: "json" }; // editorconfig-checker-disable-line +import BS_TRACER_V2 from "../../helpers/tracer/blockscout_tracer_v2.min.json" assert { + type: "json", +}; import { nestedSingle } from "../../helpers"; describeSuite({ diff --git a/test/suites/tracing-tests/test-trace-3.ts b/test/suites/tracing-tests/test-trace-3.ts index d989603ec4..2cfde89110 100644 --- a/test/suites/tracing-tests/test-trace-3.ts +++ b/test/suites/tracing-tests/test-trace-3.ts @@ -5,7 +5,9 @@ import { createEthersTransaction, PRECOMPILE_CROWDLOAN_REWARDS_ADDRESS, } from "@moonwall/util"; -import BS_TRACER_V2 from "../../helpers/tracer/blockscout_tracer_v2.min.json" assert { type: "json" }; // editorconfig-checker-disable-line +import BS_TRACER_V2 from "../../helpers/tracer/blockscout_tracer_v2.min.json" assert { + type: "json", +}; describeSuite({ id: "T03", diff --git a/test/suites/tracing-tests/test-trace-6.ts b/test/suites/tracing-tests/test-trace-6.ts index 4dddfde249..137109041f 100644 --- a/test/suites/tracing-tests/test-trace-6.ts +++ b/test/suites/tracing-tests/test-trace-6.ts @@ -18,13 +18,11 @@ describeSuite({ id: "T01", title: "should correctly trace subcall", test: async function () { - const { contractAddress: contractProxy, abi: abiProxy } = await context.deployContract!( - "CallForwarder" - ); + const { contractAddress: contractProxy, abi: abiProxy } = + await context.deployContract!("CallForwarder"); - const { contractAddress: contractDummy, abi: abiDummy } = await context.deployContract!( - "MultiplyBy7" - ); + const { contractAddress: contractDummy, abi: abiDummy } = + await context.deployContract!("MultiplyBy7"); const callTx = await createEthersTransaction(context, { from: alith.address, @@ -66,13 +64,11 @@ describeSuite({ id: "T02", title: "should correctly trace delegatecall subcall", test: async function () { - const { contractAddress: contractProxy, abi: abiProxy } = await context.deployContract!( - "CallForwarder" - ); + const { contractAddress: contractProxy, abi: abiProxy } = + await context.deployContract!("CallForwarder"); - const { contractAddress: contractDummy, abi: abiDummy } = await context.deployContract!( - "MultiplyBy7" - ); + const { contractAddress: contractDummy, abi: abiDummy } = + await context.deployContract!("MultiplyBy7"); const callTx = await createEthersTransaction(context, { from: alith.address, @@ -115,13 +111,11 @@ describeSuite({ title: "should correctly trace precompile subcall (call list)", timeout: 10000, test: async function () { - const { contractAddress: contractProxy, abi: abiProxy } = await context.deployContract!( - "CallForwarder" - ); + const { contractAddress: contractProxy, abi: abiProxy } = + await context.deployContract!("CallForwarder"); - const { contractAddress: contractDummy, abi: abiDummy } = await context.deployContract!( - "MultiplyBy7" - ); + const { contractAddress: contractDummy, abi: abiDummy } = + await context.deployContract!("MultiplyBy7"); const abiBatch = fetchCompiledContract("Batch").abi; diff --git a/test/suites/tracing-tests/test-trace-call.ts b/test/suites/tracing-tests/test-trace-call.ts index 8f38f14deb..c43662175c 100644 --- a/test/suites/tracing-tests/test-trace-call.ts +++ b/test/suites/tracing-tests/test-trace-call.ts @@ -23,10 +23,10 @@ describeSuite({ const traceTx = await customDevRpcRequest("debug_traceCall", [callParams, "latest"]); const logs: any[] = []; for (const log of traceTx.structLogs) { - if (logs.length == 1) { + if (logs.length === 1) { logs.push(log); } - if (log.op == "RETURN") { + if (log.op === "RETURN") { logs.push(log); } } diff --git a/test/suites/tracing-tests/test-trace-concurrency.ts b/test/suites/tracing-tests/test-trace-concurrency.ts index 09e5756cd8..b73aa22ed7 100644 --- a/test/suites/tracing-tests/test-trace-concurrency.ts +++ b/test/suites/tracing-tests/test-trace-concurrency.ts @@ -7,7 +7,7 @@ import { customDevRpcRequest, } from "@moonwall/cli"; import { createEthersTransaction } from "@moonwall/util"; -import { Abi, encodeFunctionData } from "viem"; +import { type Abi, encodeFunctionData } from "viem"; describeSuite({ id: "T08", diff --git a/test/suites/tracing-tests/test-trace-erc20-xcm.ts b/test/suites/tracing-tests/test-trace-erc20-xcm.ts index 2125434ec4..c6873ef55e 100644 --- a/test/suites/tracing-tests/test-trace-erc20-xcm.ts +++ b/test/suites/tracing-tests/test-trace-erc20-xcm.ts @@ -4,7 +4,7 @@ import { hexToNumber, parseEther } from "viem"; import { ERC20_TOTAL_SUPPLY, XcmFragment, - XcmFragmentConfig, + type XcmFragmentConfig, expectEVMResult, injectHrmpMessageAndSeal, sovereignAccountOfSibling, @@ -32,10 +32,10 @@ describeSuite({ // Get pallet indices const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const erc20XcmPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Erc20XcmBridge")! + .find(({ name }) => name.toString() === "Erc20XcmBridge")! .index.toNumber(); // Send some native tokens to the sovereign account of paraId (to pay fees) diff --git a/test/suites/tracing-tests/test-trace-ethereum-xcm-1.ts b/test/suites/tracing-tests/test-trace-ethereum-xcm-1.ts index c04dcffb71..8b64ed6e6b 100644 --- a/test/suites/tracing-tests/test-trace-ethereum-xcm-1.ts +++ b/test/suites/tracing-tests/test-trace-ethereum-xcm-1.ts @@ -3,9 +3,9 @@ import { XcmFragment, injectHrmpMessageAndSeal, descendOriginFromAddress20, - RawXcmMessage, + type RawXcmMessage, } from "../../helpers"; -import { hexToNumber, Abi, encodeFunctionData } from "viem"; +import { hexToNumber, type Abi, encodeFunctionData } from "viem"; describeSuite({ id: "T10", @@ -36,7 +36,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const xcmTransactions = [ diff --git a/test/suites/tracing-tests/test-trace-ethereum-xcm-2.ts b/test/suites/tracing-tests/test-trace-ethereum-xcm-2.ts index 0c650f9469..04ade7f28d 100644 --- a/test/suites/tracing-tests/test-trace-ethereum-xcm-2.ts +++ b/test/suites/tracing-tests/test-trace-ethereum-xcm-2.ts @@ -1,8 +1,8 @@ import { beforeAll, customDevRpcRequest, describeSuite, expect } from "@moonwall/cli"; import { alith } from "@moonwall/util"; -import { Abi, encodeFunctionData } from "viem"; +import { type Abi, encodeFunctionData } from "viem"; import { - RawXcmMessage, + type RawXcmMessage, XcmFragment, descendOriginFromAddress20, injectHrmpMessage, @@ -40,7 +40,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const xcmTransaction = { diff --git a/test/suites/tracing-tests/test-trace-ethereum-xcm-3.ts b/test/suites/tracing-tests/test-trace-ethereum-xcm-3.ts index 3e9ad0bdee..79e4020648 100644 --- a/test/suites/tracing-tests/test-trace-ethereum-xcm-3.ts +++ b/test/suites/tracing-tests/test-trace-ethereum-xcm-3.ts @@ -3,9 +3,9 @@ import { XcmFragment, injectHrmpMessage, descendOriginFromAddress20, - RawXcmMessage, + type RawXcmMessage, } from "../../helpers"; -import { hexToNumber, Abi, encodeFunctionData } from "viem"; +import { hexToNumber, type Abi, encodeFunctionData } from "viem"; describeSuite({ id: "T12", @@ -46,7 +46,7 @@ describeSuite({ // Get Pallet balances index const metadata = await context.polkadotJs().rpc.state.getMetadata(); const balancesPalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Balances")! + .find(({ name }) => name.toString() === "Balances")! .index.toNumber(); const xcmTransaction = { diff --git a/test/suites/tracing-tests/test-trace-filter.ts b/test/suites/tracing-tests/test-trace-filter.ts index f37f62f9fd..06aec7837f 100644 --- a/test/suites/tracing-tests/test-trace-filter.ts +++ b/test/suites/tracing-tests/test-trace-filter.ts @@ -266,7 +266,7 @@ describeSuite({ test: async function () { const metadata = await context.polkadotJs().rpc.state.getMetadata(); const erc20XcmBridgePalletIndex = metadata.asLatest.pallets - .find(({ name }) => name.toString() == "Erc20XcmBridge")! + .find(({ name }) => name.toString() === "Erc20XcmBridge")! .index.toNumber(); const dest = { diff --git a/test/suites/tracing-tests/test-trace-gas.ts b/test/suites/tracing-tests/test-trace-gas.ts index 61c0450d60..b2044542bf 100644 --- a/test/suites/tracing-tests/test-trace-gas.ts +++ b/test/suites/tracing-tests/test-trace-gas.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { describeSuite, customDevRpcRequest, beforeAll, expect } from "@moonwall/cli"; import { createEthersTransaction } from "@moonwall/util"; -import { Abi, encodeFunctionData } from "viem"; +import { type Abi, encodeFunctionData } from "viem"; import { numberToHex } from "@polkadot/util"; describeSuite({ diff --git a/test/suites/zombie/test_para.ts b/test/suites/zombie/test_para.ts index ccc1a42071..1f43e34e84 100644 --- a/test/suites/zombie/test_para.ts +++ b/test/suites/zombie/test_para.ts @@ -1,7 +1,7 @@ import "@moonbeam-network/api-augment"; import { MoonwallContext, beforeAll, describeSuite, expect } from "@moonwall/cli"; import { BALTATHAR_ADDRESS, alith, charleth } from "@moonwall/util"; -import { ApiPromise } from "@polkadot/api"; +import type { ApiPromise } from "@polkadot/api"; import { ethers } from "ethers"; import fs from "node:fs"; diff --git a/tools/extract-migration-logs.ts b/tools/extract-migration-logs.ts index 163416b247..98e5a41f42 100644 --- a/tools/extract-migration-logs.ts +++ b/tools/extract-migration-logs.ts @@ -1,6 +1,6 @@ import yargs from "yargs"; import chalk from "chalk"; -import fs from "fs"; +import fs from "node:fs"; const argv = yargs(process.argv.slice(2)) .usage("Usage: $0") diff --git a/tools/get-binary.ts b/tools/get-binary.ts index 73b490b428..fe47381c0e 100644 --- a/tools/get-binary.ts +++ b/tools/get-binary.ts @@ -11,9 +11,9 @@ */ import yargs from "yargs"; -import * as fs from "fs"; +import * as fs from "node:fs"; import * as path from "path"; -import * as child_process from "child_process"; +import * as child_process from "node:child_process"; import { killAll, run } from "polkadot-launch"; export async function getDockerBuildBinary( diff --git a/tools/github/generate-runtimes-body.ts b/tools/github/generate-runtimes-body.ts index 80938e83ea..1d4a5b17cc 100644 --- a/tools/github/generate-runtimes-body.ts +++ b/tools/github/generate-runtimes-body.ts @@ -1,6 +1,6 @@ -import { execSync } from "child_process"; +import { execSync } from "node:child_process"; import { Octokit } from "octokit"; -import { readFileSync } from "fs"; +import { readFileSync } from "node:fs"; import yargs from "yargs"; import path from "path"; import { getCommitAndLabels, getCompareLink } from "./github-utils"; @@ -36,12 +36,12 @@ function getRuntimeInfo(srtoolReportFolder: string, runtimeName: string) { // the pallet parachain_system is at index 6, so we have to recalculate the hash of the // authorizeUpgrade call in the case of moonbase by hand. function authorizeUpgradeHash(runtimeName: string, srtool: any): string { - if (runtimeName == "moonbase") { + if (runtimeName === "moonbase") { return blake2AsHex( MOONBASE_PREFIX_PARACHAINSYSTEM_AUTHORIZE_UPGRADE + srtool.runtimes.compressed.blake2_256.substr(2) // remove "0x" prefix ); - } else if (runtimeName == "moonriver") { + } else if (runtimeName === "moonriver") { return blake2AsHex( MOONRIVER_PREFIX_PARACHAINSYSTEM_AUTHORIZE_UPGRADE + srtool.runtimes.compressed.blake2_256.substr(2) // remove "0x" prefix diff --git a/tools/github/github-utils.ts b/tools/github/github-utils.ts index 5bd9ffc184..1be3e149bf 100644 --- a/tools/github/github-utils.ts +++ b/tools/github/github-utils.ts @@ -1,5 +1,5 @@ import { Octokit } from "octokit"; -import { execSync } from "child_process"; +import { execSync } from "node:child_process"; // Typescript 4 will support it natively, but not yet :( type Await = T extends PromiseLike ? U : T; @@ -46,7 +46,7 @@ export async function getCommitAndLabels( page, }); commits = commits.concat(compare.data.commits); - more = compare.data.commits.length == 200; + more = compare.data.commits.length === 200; page++; } diff --git a/tools/load-testing/load-gas-loop.ts b/tools/load-testing/load-gas-loop.ts index 7948fe7fef..b145ea9241 100644 --- a/tools/load-testing/load-gas-loop.ts +++ b/tools/load-testing/load-gas-loop.ts @@ -24,13 +24,13 @@ contract Loop { }`; init( - argv["net"] == "stagenet" + argv["net"] === "stagenet" ? "https://rpc.stagenet.moonbeam.gcp.purestake.run" - : argv["net"] == "localhost" + : argv["net"] === "localhost" ? "http://127.0.0.1:9944" - : argv["net"] == "alan" + : argv["net"] === "alan" ? "http://127.0.0.1:56053" - : argv["net"] == "alan-standalone" + : argv["net"] === "alan-standalone" ? "http://127.0.0.1:55543" : argv["net"] ); diff --git a/tools/pov/index.ts b/tools/pov/index.ts index 264533c06f..517c2860da 100755 --- a/tools/pov/index.ts +++ b/tools/pov/index.ts @@ -1,9 +1,9 @@ #!/usr/bin/env ts-node -import { exec as execProcess } from "child_process"; +import { exec as execProcess } from "node:child_process"; import yargs from "yargs"; import util from "node:util"; -import fs from "fs"; +import fs from "node:fs"; import os from "os"; import path from "path"; import { strict as assert } from "node:assert"; @@ -256,7 +256,6 @@ async function view(input: string, output: string, open: boolean) { const totalWrites = data.map((x: any) => x["totalWrites"]); const extrinsicTime = data.map((x: any) => x["extrinsicTime"]); - // editorconfig-checker-disable fs.writeFileSync( output, ` @@ -446,7 +445,6 @@ async function view(input: string, output: string, open: boolean) { ` ); - // editorconfig-checker-enable if (open) { await exec(`${openCmd} ${output}`); @@ -474,7 +472,6 @@ async function analyze(inputs: string[], output: string) { } const colors = new Array(inputs.length).fill(0).map((x) => random_rgb()); - // editorconfig-checker-disable fs.writeFileSync( output, ` @@ -675,7 +672,6 @@ async function analyze(inputs: string[], output: string) { ` ); - // editorconfig-checker-enable await exec(`${openCmd} ${output}`); } diff --git a/typescript-api/.gitignore b/typescript-api/.gitignore index 15b9b743a8..48c9162242 100644 --- a/typescript-api/.gitignore +++ b/typescript-api/.gitignore @@ -28,6 +28,3 @@ node_modules/ # Optional npm cache directory .npm - -# Optional eslint cache -.eslintcache \ No newline at end of file diff --git a/typescript-api/.npmignore b/typescript-api/.npmignore index 243e950690..57fd826393 100644 --- a/typescript-api/.npmignore +++ b/typescript-api/.npmignore @@ -28,7 +28,4 @@ node_modules/ *.tsbuildinfo # Optional npm cache directory -.npm - -# Optional eslint cache -.eslintcache +.npm \ No newline at end of file diff --git a/typescript-api/biome.json b/typescript-api/biome.json new file mode 100644 index 0000000000..4a8b0d71e2 --- /dev/null +++ b/typescript-api/biome.json @@ -0,0 +1,22 @@ +{ + "extends": [ + "../biome.json" + ], + "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json", + "javascript": { + "formatter": { + "trailingCommas": "none", + "semicolons": "always", + "indentStyle": "space", + "lineWidth": 100, + "quoteStyle": "double" + } + }, + "linter": { + "rules": { + "suspicious": { + "noShadowRestrictedNames": "off" + } + } + } +} \ No newline at end of file diff --git a/typescript-api/package.json b/typescript-api/package.json index ec802a289d..b0cf73c8b8 100644 --- a/typescript-api/package.json +++ b/typescript-api/package.json @@ -34,7 +34,10 @@ "generate:meta:moonbeam": "pnpm tsx node_modules/@polkadot/typegen/scripts/polkadot-types-from-chain.mjs --endpoint ./metadata-moonbeam.json --package @moonbeam/api-augment/moonbeam/interfaces --output ./src/moonbeam/interfaces", "build": "tsup", "deploy": "pnpm generate && pnpm build && pnpm publish", - "fmt:fix": "prettier --write --ignore-unknown --plugin prettier-plugin-jsdoc 'src/**/*' 'scripts/**/*'" + "fmt": "biome format .", + "fmt:fix": "biome format . --write", + "check":"biome check .", + "check:fix": "biome check . --write" }, "main": "./dist/moonbeam/index.cjs", "module": "./dist/moonbeam/index.js", @@ -82,6 +85,7 @@ "api" ], "dependencies": { + "@biomejs/biome": "*", "@polkadot/api": "*", "@polkadot/api-base": "*", "@polkadot/rpc-core": "*", @@ -90,8 +94,6 @@ "@polkadot/types-codec": "*", "@types/node": "*", "moonbeam-types-bundle": "workspace:*", - "prettier": "*", - "prettier-plugin-jsdoc": "^0.3.38", "tsup": "*", "tsx": "*", "typescript": "*" diff --git a/typescript-api/scripts/scrapeMetadata.ts b/typescript-api/scripts/scrapeMetadata.ts index f34df5a5df..d43b34ebe9 100644 --- a/typescript-api/scripts/scrapeMetadata.ts +++ b/typescript-api/scripts/scrapeMetadata.ts @@ -1,10 +1,11 @@ import fs from "node:fs"; -import { ChildProcessWithoutNullStreams, execSync, spawn } from "node:child_process"; +import { execSync, spawn } from "node:child_process"; +import type { ChildProcessWithoutNullStreams } from "node:child_process"; import path from "node:path"; const CHAINS = ["moonbase", "moonriver", "moonbeam"]; -const fetchMetadata = async (port: number = 9933) => { +const fetchMetadata = async (port = 9933) => { const maxRetries = 60; const sleepTime = 500; const url = `http://localhost:${port}`; @@ -12,7 +13,7 @@ const fetchMetadata = async (port: number = 9933) => { id: "1", jsonrpc: "2.0", method: "state_getMetadata", - params: [], + params: [] }; for (let i = 0; i < maxRetries; i++) { @@ -20,9 +21,9 @@ const fetchMetadata = async (port: number = 9933) => { const response = await fetch(url, { method: "POST", headers: { - "Content-Type": "application/json", + "Content-Type": "application/json" }, - body: JSON.stringify(payload), + body: JSON.stringify(payload) }); if (!response.ok) { @@ -40,7 +41,7 @@ const fetchMetadata = async (port: number = 9933) => { throw new Error("Error fetching metadata"); }; -let nodes: { [key: string]: ChildProcessWithoutNullStreams } = {}; +const nodes: { [key: string]: ChildProcessWithoutNullStreams } = {}; async function main() { const runtimeChainSpec = process.argv[2]; @@ -67,7 +68,7 @@ async function main() { "--tmp", `--chain=${chain}-dev`, "--wasm-execution=interpreted-i-know-what-i-do", - "--rpc-port=9933", + "--rpc-port=9933" ]); console.log(`Getting ${chain} metadata`); diff --git a/typescript-api/src/moonbase/interfaces/augment-api-consts.ts b/typescript-api/src/moonbase/interfaces/augment-api-consts.ts index 7f2154f1da..4406481db6 100644 --- a/typescript-api/src/moonbase/interfaces/augment-api-consts.ts +++ b/typescript-api/src/moonbase/interfaces/augment-api-consts.ts @@ -17,7 +17,7 @@ import type { SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, - StagingXcmV4Location, + StagingXcmV4Location } from "@polkadot/types/lookup"; export type __AugmentedConst = AugmentedConst; @@ -25,125 +25,168 @@ export type __AugmentedConst = AugmentedConst declare module "@polkadot/api-base/types/consts" { interface AugmentedConsts { assets: { - /** The amount of funds that must be reserved when creating a new approval. */ + /** + * The amount of funds that must be reserved when creating a new approval. + **/ approvalDeposit: u128 & AugmentedConst; - /** The amount of funds that must be reserved for a non-provider asset account to be maintained. */ + /** + * The amount of funds that must be reserved for a non-provider asset account to be + * maintained. + **/ assetAccountDeposit: u128 & AugmentedConst; - /** The basic amount of funds that must be reserved for an asset. */ + /** + * The basic amount of funds that must be reserved for an asset. + **/ assetDeposit: u128 & AugmentedConst; - /** The basic amount of funds that must be reserved when adding metadata to your asset. */ + /** + * The basic amount of funds that must be reserved when adding metadata to your asset. + **/ metadataDepositBase: u128 & AugmentedConst; - /** The additional funds that must be reserved for the number of bytes you store in your metadata. */ + /** + * The additional funds that must be reserved for the number of bytes you store in your + * metadata. + **/ metadataDepositPerByte: u128 & AugmentedConst; /** * Max number of items to destroy per `destroy_accounts` and `destroy_approvals` call. * * Must be configured to result in a weight that makes each call fit in a block. - */ + **/ removeItemsLimit: u32 & AugmentedConst; - /** The maximum length of a name or symbol stored on-chain. */ + /** + * The maximum length of a name or symbol stored on-chain. + **/ stringLimit: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; asyncBacking: { - /** Purely informative, but used by mocking tools like chospticks to allow knowing how to mock blocks */ + /** + * Purely informative, but used by mocking tools like chospticks to allow knowing how to mock + * blocks + **/ expectedBlockTime: u64 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; balances: { /** * The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO! * - * If you _really_ need it to be zero, you can enable the feature `insecure_zero_ed` for this - * pallet. However, you do so at your own risk: this will open up a major DoS vector. In case - * you have multiple sources of provider references, you may also get unexpected behaviour if - * you set this to zero. + * If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for + * this pallet. However, you do so at your own risk: this will open up a major DoS vector. + * In case you have multiple sources of provider references, you may also get unexpected + * behaviour if you set this to zero. * * Bottom line: Do yourself a favour and make it at least one! - */ + **/ existentialDeposit: u128 & AugmentedConst; - /** The maximum number of individual freeze locks that can exist on an account at any time. */ + /** + * The maximum number of individual freeze locks that can exist on an account at any time. + **/ maxFreezes: u32 & AugmentedConst; /** - * The maximum number of locks that should exist on an account. Not strictly enforced, but - * used for weight estimation. + * The maximum number of locks that should exist on an account. + * Not strictly enforced, but used for weight estimation. * - * Use of locks is deprecated in favour of freezes. See - * `https://github.com/paritytech/substrate/pull/12951/` - */ + * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/` + **/ maxLocks: u32 & AugmentedConst; /** * The maximum number of named reserves that can exist on an account. * - * Use of reserves is deprecated in favour of holds. See - * `https://github.com/paritytech/substrate/pull/12951/` - */ + * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/` + **/ maxReserves: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; convictionVoting: { /** * The maximum number of concurrent votes an account may have. * - * Also used to compute weight, an overly large value can lead to extrinsics with large weight - * estimation: see `delegate` for instance. - */ + * Also used to compute weight, an overly large value can lead to extrinsics with large + * weight estimation: see `delegate` for instance. + **/ maxVotes: u32 & AugmentedConst; /** * The minimum period of vote locking. * * It should be no shorter than enactment period to ensure that in the case of an approval, * those successful voters are locked into the consequences that their votes entail. - */ + **/ voteLockingPeriod: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; crowdloanRewards: { - /** Percentage to be payed at initialization */ + /** + * Percentage to be payed at initialization + **/ initializationPayment: Perbill & AugmentedConst; maxInitContributors: u32 & AugmentedConst; /** - * A fraction representing the percentage of proofs that need to be presented to change a - * reward address through the relay keys - */ + * A fraction representing the percentage of proofs + * that need to be presented to change a reward address through the relay keys + **/ rewardAddressRelayVoteThreshold: Perbill & AugmentedConst; /** * Network Identifier to be appended into the signatures for reward address change/association * Prevents replay attacks from one network to the other - */ + **/ signatureNetworkIdentifier: Bytes & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; identity: { - /** The amount held on deposit for a registered identity. */ + /** + * The amount held on deposit for a registered identity. + **/ basicDeposit: u128 & AugmentedConst; - /** The amount held on deposit per encoded byte for a registered identity. */ + /** + * The amount held on deposit per encoded byte for a registered identity. + **/ byteDeposit: u128 & AugmentedConst; /** - * Maximum number of registrars allowed in the system. Needed to bound the complexity of, - * e.g., updating judgements. - */ + * Maximum number of registrars allowed in the system. Needed to bound the complexity + * of, e.g., updating judgements. + **/ maxRegistrars: u32 & AugmentedConst; - /** The maximum number of sub-accounts allowed per identified account. */ + /** + * The maximum number of sub-accounts allowed per identified account. + **/ maxSubAccounts: u32 & AugmentedConst; - /** The maximum length of a suffix. */ + /** + * The maximum length of a suffix. + **/ maxSuffixLength: u32 & AugmentedConst; - /** The maximum length of a username, including its suffix and any system-added delimiters. */ + /** + * The maximum length of a username, including its suffix and any system-added delimiters. + **/ maxUsernameLength: u32 & AugmentedConst; - /** The number of blocks within which a username grant must be accepted. */ + /** + * The number of blocks within which a username grant must be accepted. + **/ pendingUsernameExpiration: u32 & AugmentedConst; /** * The amount held on deposit for a registered subaccount. This should account for the fact - * that one storage item's value will increase by the size of an account ID, and there will be - * another trie item whose value is the size of an account ID plus 32 bytes. - */ + * that one storage item's value will increase by the size of an account ID, and there will + * be another trie item whose value is the size of an account ID plus 32 bytes. + **/ subAccountDeposit: u128 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; messageQueue: { @@ -151,179 +194,251 @@ declare module "@polkadot/api-base/types/consts" { * The size of the page; this implies the maximum message size which can be sent. * * A good value depends on the expected message sizes, their weights, the weight that is - * available for processing them and the maximal needed message size. The maximal message size - * is slightly lower than this as defined by [`MaxMessageLenOf`]. - */ + * available for processing them and the maximal needed message size. The maximal message + * size is slightly lower than this as defined by [`MaxMessageLenOf`]. + **/ heapSize: u32 & AugmentedConst; /** * The maximum amount of weight (if any) to be used from remaining weight `on_idle` which - * should be provided to the message queue for servicing enqueued items `on_idle`. Useful for - * parachains to process messages at the same block they are received. + * should be provided to the message queue for servicing enqueued items `on_idle`. + * Useful for parachains to process messages at the same block they are received. * * If `None`, it will not call `ServiceQueues::service_queues` in `on_idle`. - */ + **/ idleMaxServiceWeight: Option & AugmentedConst; /** - * The maximum number of stale pages (i.e. of overweight messages) allowed before culling can - * happen. Once there are more stale pages than this, then historical pages may be dropped, - * even if they contain unprocessed overweight messages. - */ + * The maximum number of stale pages (i.e. of overweight messages) allowed before culling + * can happen. Once there are more stale pages than this, then historical pages may be + * dropped, even if they contain unprocessed overweight messages. + **/ maxStale: u32 & AugmentedConst; /** - * The amount of weight (if any) which should be provided to the message queue for servicing - * enqueued items `on_initialize`. + * The amount of weight (if any) which should be provided to the message queue for + * servicing enqueued items `on_initialize`. * * This may be legitimately `None` in the case that you will call - * `ServiceQueues::service_queues` manually or set [`Self::IdleMaxServiceWeight`] to have it - * run in `on_idle`. - */ + * `ServiceQueues::service_queues` manually or set [`Self::IdleMaxServiceWeight`] to have + * it run in `on_idle`. + **/ serviceWeight: Option & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; moonbeamOrbiters: { - /** Maximum number of orbiters per collator. */ + /** + * Maximum number of orbiters per collator. + **/ maxPoolSize: u32 & AugmentedConst; - /** Maximum number of round to keep on storage. */ + /** + * Maximum number of round to keep on storage. + **/ maxRoundArchive: u32 & AugmentedConst; /** - * Number of rounds before changing the selected orbiter. WARNING: when changing - * `RotatePeriod`, you need a migration code that sets `ForceRotation` to true to avoid holes - * in `OrbiterPerRound`. - */ + * Number of rounds before changing the selected orbiter. + * WARNING: when changing `RotatePeriod`, you need a migration code that sets + * `ForceRotation` to true to avoid holes in `OrbiterPerRound`. + **/ rotatePeriod: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; multisig: { /** - * The base amount of currency needed to reserve for creating a multisig execution or to store - * a dispatch call for later. + * The base amount of currency needed to reserve for creating a multisig execution or to + * store a dispatch call for later. * - * This is held for an additional storage item whose value size is `4 + sizeof((BlockNumber, - * Balance, AccountId))` bytes and whose key size is `32 + sizeof(AccountId)` bytes. - */ + * This is held for an additional storage item whose value size is + * `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is + * `32 + sizeof(AccountId)` bytes. + **/ depositBase: u128 & AugmentedConst; /** * The amount of currency needed per unit threshold when creating a multisig execution. * * This is held for adding 32 bytes more into a pre-existing storage value. - */ + **/ depositFactor: u128 & AugmentedConst; - /** The maximum amount of signatories allowed in the multisig. */ + /** + * The maximum amount of signatories allowed in the multisig. + **/ maxSignatories: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; openTechCommitteeCollective: { - /** The maximum weight of a dispatch call that can be proposed and executed. */ + /** + * The maximum weight of a dispatch call that can be proposed and executed. + **/ maxProposalWeight: SpWeightsWeightV2Weight & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; parachainStaking: { - /** Get the average time beetween 2 blocks in milliseconds */ + /** + * Get the average time beetween 2 blocks in milliseconds + **/ blockTime: u64 & AugmentedConst; - /** Number of rounds candidate requests to decrease self-bond must wait to be executable */ + /** + * Number of rounds candidate requests to decrease self-bond must wait to be executable + **/ candidateBondLessDelay: u32 & AugmentedConst; - /** Number of rounds that delegation less requests must wait before executable */ + /** + * Number of rounds that delegation less requests must wait before executable + **/ delegationBondLessDelay: u32 & AugmentedConst; - /** Number of rounds that candidates remain bonded before exit request is executable */ + /** + * Number of rounds that candidates remain bonded before exit request is executable + **/ leaveCandidatesDelay: u32 & AugmentedConst; - /** Number of rounds that delegators remain bonded before exit request is executable */ + /** + * Number of rounds that delegators remain bonded before exit request is executable + **/ leaveDelegatorsDelay: u32 & AugmentedConst; - /** Maximum bottom delegations (not counted) per candidate */ + /** + * Maximum bottom delegations (not counted) per candidate + **/ maxBottomDelegationsPerCandidate: u32 & AugmentedConst; - /** Maximum candidates */ + /** + * Maximum candidates + **/ maxCandidates: u32 & AugmentedConst; - /** Maximum delegations per delegator */ + /** + * Maximum delegations per delegator + **/ maxDelegationsPerDelegator: u32 & AugmentedConst; /** - * If a collator doesn't produce any block on this number of rounds, it is notified as - * inactive. This value must be less than or equal to RewardPaymentDelay. - */ + * If a collator doesn't produce any block on this number of rounds, it is notified as inactive. + * This value must be less than or equal to RewardPaymentDelay. + **/ maxOfflineRounds: u32 & AugmentedConst; - /** Maximum top delegations counted per candidate */ + /** + * Maximum top delegations counted per candidate + **/ maxTopDelegationsPerCandidate: u32 & AugmentedConst; - /** Minimum number of blocks per round */ + /** + * Minimum number of blocks per round + **/ minBlocksPerRound: u32 & AugmentedConst; - /** Minimum stake required for any account to be a collator candidate */ + /** + * Minimum stake required for any account to be a collator candidate + **/ minCandidateStk: u128 & AugmentedConst; - /** Minimum stake for any registered on-chain account to delegate */ + /** + * Minimum stake for any registered on-chain account to delegate + **/ minDelegation: u128 & AugmentedConst; - /** Minimum number of selected candidates every round */ + /** + * Minimum number of selected candidates every round + **/ minSelectedCandidates: u32 & AugmentedConst; - /** Number of rounds that delegations remain bonded before revocation request is executable */ + /** + * Number of rounds that delegations remain bonded before revocation request is executable + **/ revokeDelegationDelay: u32 & AugmentedConst; - /** Number of rounds after which block authors are rewarded */ + /** + * Number of rounds after which block authors are rewarded + **/ rewardPaymentDelay: u32 & AugmentedConst; - /** Get the slot duration in milliseconds */ + /** + * Get the slot duration in milliseconds + **/ slotDuration: u64 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; parachainSystem: { - /** Returns the parachain ID we are running with. */ + /** + * Returns the parachain ID we are running with. + **/ selfParaId: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; proxy: { /** * The base amount of currency needed to reserve for creating an announcement. * - * This is held when a new storage item holding a `Balance` is created (typically 16 bytes). - */ + * This is held when a new storage item holding a `Balance` is created (typically 16 + * bytes). + **/ announcementDepositBase: u128 & AugmentedConst; /** * The amount of currency needed per announcement made. * - * This is held for adding an `AccountId`, `Hash` and `BlockNumber` (typically 68 bytes) into - * a pre-existing storage value. - */ + * This is held for adding an `AccountId`, `Hash` and `BlockNumber` (typically 68 bytes) + * into a pre-existing storage value. + **/ announcementDepositFactor: u128 & AugmentedConst; - /** The maximum amount of time-delayed announcements that are allowed to be pending. */ + /** + * The maximum amount of time-delayed announcements that are allowed to be pending. + **/ maxPending: u32 & AugmentedConst; - /** The maximum amount of proxies allowed for a single account. */ + /** + * The maximum amount of proxies allowed for a single account. + **/ maxProxies: u32 & AugmentedConst; /** * The base amount of currency needed to reserve for creating a proxy. * - * This is held for an additional storage item whose value size is `sizeof(Balance)` bytes and - * whose key size is `sizeof(AccountId)` bytes. - */ + * This is held for an additional storage item whose value size is + * `sizeof(Balance)` bytes and whose key size is `sizeof(AccountId)` bytes. + **/ proxyDepositBase: u128 & AugmentedConst; /** * The amount of currency needed per proxy added. * - * This is held for adding 32 bytes plus an instance of `ProxyType` more into a pre-existing - * storage value. Thus, when configuring `ProxyDepositFactor` one should take into account `32 - * + proxy_type.encode().len()` bytes of data. - */ + * This is held for adding 32 bytes plus an instance of `ProxyType` more into a + * pre-existing storage value. Thus, when configuring `ProxyDepositFactor` one should take + * into account `32 + proxy_type.encode().len()` bytes of data. + **/ proxyDepositFactor: u128 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; randomness: { - /** Local requests expire and can be purged from storage after this many blocks/epochs */ + /** + * Local requests expire and can be purged from storage after this many blocks/epochs + **/ blockExpirationDelay: u32 & AugmentedConst; - /** The amount that should be taken as a security deposit when requesting randomness. */ + /** + * The amount that should be taken as a security deposit when requesting randomness. + **/ deposit: u128 & AugmentedConst; - /** Babe requests expire and can be purged from storage after this many blocks/epochs */ + /** + * Babe requests expire and can be purged from storage after this many blocks/epochs + **/ epochExpirationDelay: u64 & AugmentedConst; /** - * Local per-block VRF requests must be at most this many blocks after the block in which they - * were requested - */ + * Local per-block VRF requests must be at most this many blocks after the block in which + * they were requested + **/ maxBlockDelay: u32 & AugmentedConst; - /** Maximum number of random words that can be requested per request */ + /** + * Maximum number of random words that can be requested per request + **/ maxRandomWords: u8 & AugmentedConst; /** * Local per-block VRF requests must be at least this many blocks after the block in which * they were requested - */ + **/ minBlockDelay: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; referenda: { @@ -331,89 +446,119 @@ declare module "@polkadot/api-base/types/consts" { * Quantization level for the referendum wakeup scheduler. A higher number will result in * fewer storage reads/writes needed for smaller voters, but also result in delays to the * automatic referendum status changes. Explicit servicing instructions are unaffected. - */ + **/ alarmInterval: u32 & AugmentedConst; - /** Maximum size of the referendum queue for a single track. */ + /** + * Maximum size of the referendum queue for a single track. + **/ maxQueued: u32 & AugmentedConst; - /** The minimum amount to be used as a deposit for a public referendum proposal. */ + /** + * The minimum amount to be used as a deposit for a public referendum proposal. + **/ submissionDeposit: u128 & AugmentedConst; - /** Information concerning the different referendum tracks. */ + /** + * Information concerning the different referendum tracks. + **/ tracks: Vec> & AugmentedConst; /** - * The number of blocks after submission that a referendum must begin being decided by. Once - * this passes, then anyone may cancel the referendum. - */ + * The number of blocks after submission that a referendum must begin being decided by. + * Once this passes, then anyone may cancel the referendum. + **/ undecidingTimeout: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; relayStorageRoots: { /** - * Limit the number of relay storage roots that will be stored. This limit applies to the - * number of items, not to their age. Decreasing the value of `MaxStorageRoots` is a breaking - * change and needs a migration to clean the `RelayStorageRoots` mapping. - */ + * Limit the number of relay storage roots that will be stored. + * This limit applies to the number of items, not to their age. Decreasing the value of + * `MaxStorageRoots` is a breaking change and needs a migration to clean the + * `RelayStorageRoots` mapping. + **/ maxStorageRoots: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; scheduler: { - /** The maximum weight that may be scheduled per block for any dispatchables. */ + /** + * The maximum weight that may be scheduled per block for any dispatchables. + **/ maximumWeight: SpWeightsWeightV2Weight & AugmentedConst; /** * The maximum number of scheduled calls in the queue for a single block. * * NOTE: - * - * - Dependent pallets' benchmarks might require a higher limit for the setting. Set a higher - * limit under `runtime-benchmarks` feature. - */ + * + Dependent pallets' benchmarks might require a higher limit for the setting. Set a + * higher limit under `runtime-benchmarks` feature. + **/ maxScheduledPerBlock: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; system: { - /** Maximum number of block number to block hash mappings to keep (oldest pruned first). */ + /** + * Maximum number of block number to block hash mappings to keep (oldest pruned first). + **/ blockHashCount: u32 & AugmentedConst; - /** The maximum length of a block (in bytes). */ + /** + * The maximum length of a block (in bytes). + **/ blockLength: FrameSystemLimitsBlockLength & AugmentedConst; - /** Block & extrinsics weights: base values and limits. */ + /** + * Block & extrinsics weights: base values and limits. + **/ blockWeights: FrameSystemLimitsBlockWeights & AugmentedConst; - /** The weight of runtime database operations the runtime can invoke. */ + /** + * The weight of runtime database operations the runtime can invoke. + **/ dbWeight: SpWeightsRuntimeDbWeight & AugmentedConst; /** * The designated SS58 prefix of this chain. * - * This replaces the "ss58Format" property declared in the chain spec. Reason is that the - * runtime should know about the prefix in order to make use of it as an identifier of the chain. - */ + * This replaces the "ss58Format" property declared in the chain spec. Reason is + * that the runtime should know about the prefix in order to make use of it as + * an identifier of the chain. + **/ ss58Prefix: u16 & AugmentedConst; - /** Get the chain's in-code version. */ + /** + * Get the chain's in-code version. + **/ version: SpVersionRuntimeVersion & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; timestamp: { /** * The minimum period between blocks. * - * Be aware that this is different to the _expected_ period that the block production - * apparatus provides. Your chosen consensus system will generally work with this to determine - * a sensible block time. For example, in the Aura pallet it will be double this period on - * default settings. - */ + * Be aware that this is different to the *expected* period that the block production + * apparatus provides. Your chosen consensus system will generally work with this to + * determine a sensible block time. For example, in the Aura pallet it will be double this + * period on default settings. + **/ minimumPeriod: u64 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; transactionPayment: { /** - * A fee multiplier for `Operational` extrinsics to compute "virtual tip" to boost their `priority` + * A fee multiplier for `Operational` extrinsics to compute "virtual tip" to boost their + * `priority` * - * This value is multiplied by the `final_fee` to obtain a "virtual tip" that is later added - * to a tip component in regular `priority` calculations. It means that a `Normal` transaction - * can front-run a similarly-sized `Operational` extrinsic (with no tip), by including a tip - * value greater than the virtual tip. + * This value is multiplied by the `final_fee` to obtain a "virtual tip" that is later + * added to a tip component in regular `priority` calculations. + * It means that a `Normal` transaction can front-run a similarly-sized `Operational` + * extrinsic (with no tip), by including a tip value greater than the virtual tip. * * ```rust,ignore * // For `Normal` @@ -424,55 +569,76 @@ declare module "@polkadot/api-base/types/consts" { * let priority = priority_calc(tip + virtual_tip); * ``` * - * Note that since we use `final_fee` the multiplier applies also to the regular `tip` sent - * with the transaction. So, not only does the transaction get a priority bump based on the - * `inclusion_fee`, but we also amplify the impact of tips applied to `Operational` transactions. - */ + * Note that since we use `final_fee` the multiplier applies also to the regular `tip` + * sent with the transaction. So, not only does the transaction get a priority bump based + * on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational` + * transactions. + **/ operationalFeeMultiplier: u8 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; treasury: { - /** Percentage of spare funds (if any) that are burnt per spend period. */ + /** + * Percentage of spare funds (if any) that are burnt per spend period. + **/ burn: Permill & AugmentedConst; /** * The maximum number of approvals that can wait in the spending queue. * * NOTE: This parameter is also used within the Bounties Pallet extension if enabled. - */ + **/ maxApprovals: u32 & AugmentedConst; - /** The treasury's pallet id, used for deriving its sovereign account ID. */ + /** + * The treasury's pallet id, used for deriving its sovereign account ID. + **/ palletId: FrameSupportPalletId & AugmentedConst; - /** The period during which an approved treasury spend has to be claimed. */ + /** + * The period during which an approved treasury spend has to be claimed. + **/ payoutPeriod: u32 & AugmentedConst; - /** Period between successive spends. */ + /** + * Period between successive spends. + **/ spendPeriod: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; treasuryCouncilCollective: { - /** The maximum weight of a dispatch call that can be proposed and executed. */ + /** + * The maximum weight of a dispatch call that can be proposed and executed. + **/ maxProposalWeight: SpWeightsWeightV2Weight & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; utility: { - /** The limit on the number of batched calls. */ + /** + * The limit on the number of batched calls. + **/ batchedCallsLimit: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; xcmpQueue: { /** * Maximal number of outbound XCMP channels that can have messages queued at the same time. * - * If this is reached, then no further messages can be sent to channels that do not yet have a - * message queued. This should be set to the expected maximum of outbound channels which is - * determined by [`Self::ChannelInfo`]. It is important to set this large enough, since - * otherwise the congestion control protocol will not work as intended and messages may be - * dropped. This value increases the PoV and should therefore not be picked too high. - * Governance needs to pay attention to not open more channels than this value. - */ + * If this is reached, then no further messages can be sent to channels that do not yet + * have a message queued. This should be set to the expected maximum of outbound channels + * which is determined by [`Self::ChannelInfo`]. It is important to set this large enough, + * since otherwise the congestion control protocol will not work as intended and messages + * may be dropped. This value increases the PoV and should therefore not be picked too + * high. Governance needs to pay attention to not open more channels than this value. + **/ maxActiveOutboundChannels: u32 & AugmentedConst; /** * The maximum number of inbound XCMP channels that can be suspended simultaneously. @@ -480,7 +646,7 @@ declare module "@polkadot/api-base/types/consts" { * Any further channel suspensions will fail and messages may get dropped without further * notice. Choosing a high value (1000) is okay; the trade-off that is described in * [`InboundXcmpSuspended`] still applies at that scale. - */ + **/ maxInboundSuspended: u32 & AugmentedConst; /** * The maximal page size for HRMP message pages. @@ -488,17 +654,27 @@ declare module "@polkadot/api-base/types/consts" { * A lower limit can be set dynamically, but this is the hard-limit for the PoV worst case * benchmarking. The limit for the size of a message is slightly below this, since some * overhead is incurred for encoding the format. - */ + **/ maxPageSize: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; xcmTransactor: { - /** The actual weight for an XCM message is `T::BaseXcmWeight + T::Weigher::weight(&msg)`. */ + /** + * + * The actual weight for an XCM message is `T::BaseXcmWeight + + * T::Weigher::weight(&msg)`. + **/ baseXcmWeight: SpWeightsWeightV2Weight & AugmentedConst; - /** Self chain location. */ + /** + * Self chain location. + **/ selfLocation: StagingXcmV4Location & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; } // AugmentedConsts diff --git a/typescript-api/src/moonbase/interfaces/augment-api-errors.ts b/typescript-api/src/moonbase/interfaces/augment-api-errors.ts index b6b9ab7106..e535858507 100644 --- a/typescript-api/src/moonbase/interfaces/augment-api-errors.ts +++ b/typescript-api/src/moonbase/interfaces/augment-api-errors.ts @@ -20,246 +20,430 @@ declare module "@polkadot/api-base/types/errors" { NonExistentLocalAsset: AugmentedError; NotSufficientDeposit: AugmentedError; TooLowNumAssetsWeightHint: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; assets: { - /** The asset-account already exists. */ + /** + * The asset-account already exists. + **/ AlreadyExists: AugmentedError; - /** The asset is not live, and likely being destroyed. */ + /** + * The asset is not live, and likely being destroyed. + **/ AssetNotLive: AugmentedError; - /** The asset ID must be equal to the [`NextAssetId`]. */ + /** + * The asset ID must be equal to the [`NextAssetId`]. + **/ BadAssetId: AugmentedError; - /** Invalid metadata given. */ + /** + * Invalid metadata given. + **/ BadMetadata: AugmentedError; - /** Invalid witness data given. */ + /** + * Invalid witness data given. + **/ BadWitness: AugmentedError; - /** Account balance must be greater than or equal to the transfer amount. */ + /** + * Account balance must be greater than or equal to the transfer amount. + **/ BalanceLow: AugmentedError; - /** Callback action resulted in error */ + /** + * Callback action resulted in error + **/ CallbackFailed: AugmentedError; - /** The origin account is frozen. */ + /** + * The origin account is frozen. + **/ Frozen: AugmentedError; - /** The asset status is not the expected status. */ + /** + * The asset status is not the expected status. + **/ IncorrectStatus: AugmentedError; - /** The asset ID is already taken. */ + /** + * The asset ID is already taken. + **/ InUse: AugmentedError; /** - * The asset is a live asset and is actively being used. Usually emit for operations such as - * `start_destroy` which require the asset to be in a destroying state. - */ + * The asset is a live asset and is actively being used. Usually emit for operations such + * as `start_destroy` which require the asset to be in a destroying state. + **/ LiveAsset: AugmentedError; - /** Minimum balance should be non-zero. */ + /** + * Minimum balance should be non-zero. + **/ MinBalanceZero: AugmentedError; - /** The account to alter does not exist. */ + /** + * The account to alter does not exist. + **/ NoAccount: AugmentedError; - /** The asset-account doesn't have an associated deposit. */ + /** + * The asset-account doesn't have an associated deposit. + **/ NoDeposit: AugmentedError; - /** The signing account has no permission to do the operation. */ + /** + * The signing account has no permission to do the operation. + **/ NoPermission: AugmentedError; - /** The asset should be frozen before the given operation. */ + /** + * The asset should be frozen before the given operation. + **/ NotFrozen: AugmentedError; - /** No approval exists that would allow the transfer. */ + /** + * No approval exists that would allow the transfer. + **/ Unapproved: AugmentedError; /** * Unable to increment the consumer reference counters on the account. Either no provider - * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one fewer - * then the maximum number of consumers has been reached. - */ + * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one + * fewer then the maximum number of consumers has been reached. + **/ UnavailableConsumer: AugmentedError; - /** The given asset ID is unknown. */ + /** + * The given asset ID is unknown. + **/ Unknown: AugmentedError; - /** The operation would result in funds being burned. */ + /** + * The operation would result in funds being burned. + **/ WouldBurn: AugmentedError; - /** The source account would not survive the transfer and it needs to stay alive. */ + /** + * The source account would not survive the transfer and it needs to stay alive. + **/ WouldDie: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; authorInherent: { - /** Author already set in block. */ + /** + * Author already set in block. + **/ AuthorAlreadySet: AugmentedError; - /** The author in the inherent is not an eligible author. */ + /** + * The author in the inherent is not an eligible author. + **/ CannotBeAuthor: AugmentedError; - /** No AccountId was found to be associated with this author */ + /** + * No AccountId was found to be associated with this author + **/ NoAccountId: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; authorMapping: { - /** The NimbusId in question is already associated and cannot be overwritten */ + /** + * The NimbusId in question is already associated and cannot be overwritten + **/ AlreadyAssociated: AugmentedError; - /** The association can't be cleared because it is not found. */ + /** + * The association can't be cleared because it is not found. + **/ AssociationNotFound: AugmentedError; - /** This account cannot set an author because it cannon afford the security deposit */ + /** + * This account cannot set an author because it cannon afford the security deposit + **/ CannotAffordSecurityDeposit: AugmentedError; - /** Failed to decode T::Keys for `set_keys` */ + /** + * Failed to decode T::Keys for `set_keys` + **/ DecodeKeysFailed: AugmentedError; - /** Failed to decode NimbusId for `set_keys` */ + /** + * Failed to decode NimbusId for `set_keys` + **/ DecodeNimbusFailed: AugmentedError; - /** The association can't be cleared because it belongs to another account. */ + /** + * The association can't be cleared because it belongs to another account. + **/ NotYourAssociation: AugmentedError; - /** No existing NimbusId can be found for the account */ + /** + * No existing NimbusId can be found for the account + **/ OldAuthorIdNotFound: AugmentedError; - /** Keys have wrong size */ + /** + * Keys have wrong size + **/ WrongKeySize: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; balances: { - /** Beneficiary account must pre-exist. */ + /** + * Beneficiary account must pre-exist. + **/ DeadAccount: AugmentedError; - /** The delta cannot be zero. */ + /** + * The delta cannot be zero. + **/ DeltaZero: AugmentedError; - /** Value too low to create account due to existential deposit. */ + /** + * Value too low to create account due to existential deposit. + **/ ExistentialDeposit: AugmentedError; - /** A vesting schedule already exists for this account. */ + /** + * A vesting schedule already exists for this account. + **/ ExistingVestingSchedule: AugmentedError; - /** Transfer/payment would kill account. */ + /** + * Transfer/payment would kill account. + **/ Expendability: AugmentedError; - /** Balance too low to send value. */ + /** + * Balance too low to send value. + **/ InsufficientBalance: AugmentedError; - /** The issuance cannot be modified since it is already deactivated. */ + /** + * The issuance cannot be modified since it is already deactivated. + **/ IssuanceDeactivated: AugmentedError; - /** Account liquidity restrictions prevent withdrawal. */ + /** + * Account liquidity restrictions prevent withdrawal. + **/ LiquidityRestrictions: AugmentedError; - /** Number of freezes exceed `MaxFreezes`. */ + /** + * Number of freezes exceed `MaxFreezes`. + **/ TooManyFreezes: AugmentedError; - /** Number of holds exceed `VariantCountOf`. */ + /** + * Number of holds exceed `VariantCountOf`. + **/ TooManyHolds: AugmentedError; - /** Number of named reserves exceed `MaxReserves`. */ + /** + * Number of named reserves exceed `MaxReserves`. + **/ TooManyReserves: AugmentedError; - /** Vesting balance too high to send value. */ + /** + * Vesting balance too high to send value. + **/ VestingBalance: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; convictionVoting: { - /** The account is already delegating. */ + /** + * The account is already delegating. + **/ AlreadyDelegating: AugmentedError; /** - * The account currently has votes attached to it and the operation cannot succeed until these - * are removed through `remove_vote`. - */ + * The account currently has votes attached to it and the operation cannot succeed until + * these are removed through `remove_vote`. + **/ AlreadyVoting: AugmentedError; - /** The class ID supplied is invalid. */ + /** + * The class ID supplied is invalid. + **/ BadClass: AugmentedError; - /** The class must be supplied since it is not easily determinable from the state. */ + /** + * The class must be supplied since it is not easily determinable from the state. + **/ ClassNeeded: AugmentedError; - /** Too high a balance was provided that the account cannot afford. */ + /** + * Too high a balance was provided that the account cannot afford. + **/ InsufficientFunds: AugmentedError; - /** Maximum number of votes reached. */ + /** + * Maximum number of votes reached. + **/ MaxVotesReached: AugmentedError; - /** Delegation to oneself makes no sense. */ + /** + * Delegation to oneself makes no sense. + **/ Nonsense: AugmentedError; - /** The actor has no permission to conduct the action. */ + /** + * The actor has no permission to conduct the action. + **/ NoPermission: AugmentedError; - /** The actor has no permission to conduct the action right now but will do in the future. */ + /** + * The actor has no permission to conduct the action right now but will do in the future. + **/ NoPermissionYet: AugmentedError; - /** The account is not currently delegating. */ + /** + * The account is not currently delegating. + **/ NotDelegating: AugmentedError; - /** Poll is not ongoing. */ + /** + * Poll is not ongoing. + **/ NotOngoing: AugmentedError; - /** The given account did not vote on the poll. */ + /** + * The given account did not vote on the poll. + **/ NotVoter: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; crowdloanRewards: { /** - * User trying to associate a native identity with a relay chain identity for posterior reward - * claiming provided an already associated relay chain identity - */ + * User trying to associate a native identity with a relay chain identity for posterior + * reward claiming provided an already associated relay chain identity + **/ AlreadyAssociated: AugmentedError; - /** Trying to introduce a batch that goes beyond the limits of the funds */ + /** + * Trying to introduce a batch that goes beyond the limits of the funds + **/ BatchBeyondFundPot: AugmentedError; - /** First claim already done */ + /** + * First claim already done + **/ FirstClaimAlreadyDone: AugmentedError; - /** User submitted an unsifficient number of proofs to change the reward address */ + /** + * User submitted an unsifficient number of proofs to change the reward address + **/ InsufficientNumberOfValidProofs: AugmentedError; /** - * User trying to associate a native identity with a relay chain identity for posterior reward - * claiming provided a wrong signature - */ + * User trying to associate a native identity with a relay chain identity for posterior + * reward claiming provided a wrong signature + **/ InvalidClaimSignature: AugmentedError; - /** User trying to claim the first free reward provided the wrong signature */ + /** + * User trying to claim the first free reward provided the wrong signature + **/ InvalidFreeClaimSignature: AugmentedError; /** - * User trying to claim an award did not have an claim associated with it. This may mean they - * did not contribute to the crowdloan, or they have not yet associated a native id with their - * contribution - */ + * User trying to claim an award did not have an claim associated with it. This may mean + * they did not contribute to the crowdloan, or they have not yet associated a native id + * with their contribution + **/ NoAssociatedClaim: AugmentedError; - /** User provided a signature from a non-contributor relay account */ + /** + * User provided a signature from a non-contributor relay account + **/ NonContributedAddressProvided: AugmentedError; - /** The contribution is not high enough to be eligible for rewards */ + /** + * The contribution is not high enough to be eligible for rewards + **/ RewardNotHighEnough: AugmentedError; /** - * User trying to claim rewards has already claimed all rewards associated with its identity - * and contribution - */ + * User trying to claim rewards has already claimed all rewards associated with its + * identity and contribution + **/ RewardsAlreadyClaimed: AugmentedError; - /** Rewards should match funds of the pallet */ + /** + * Rewards should match funds of the pallet + **/ RewardsDoNotMatchFund: AugmentedError; - /** Reward vec has already been initialized */ + /** + * Reward vec has already been initialized + **/ RewardVecAlreadyInitialized: AugmentedError; - /** Reward vec has not yet been fully initialized */ + /** + * Reward vec has not yet been fully initialized + **/ RewardVecNotFullyInitializedYet: AugmentedError; - /** Initialize_reward_vec received too many contributors */ + /** + * Initialize_reward_vec received too many contributors + **/ TooManyContributors: AugmentedError; - /** Provided vesting period is not valid */ + /** + * Provided vesting period is not valid + **/ VestingPeriodNonValid: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; emergencyParaXcm: { - /** The current XCM Mode is not Paused */ + /** + * The current XCM Mode is not Paused + **/ NotInPausedMode: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; ethereum: { - /** Signature is invalid. */ + /** + * Signature is invalid. + **/ InvalidSignature: AugmentedError; - /** Pre-log is present, therefore transact is not allowed. */ + /** + * Pre-log is present, therefore transact is not allowed. + **/ PreLogExists: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; ethereumXcm: { - /** Xcm to Ethereum execution is suspended */ + /** + * Xcm to Ethereum execution is suspended + **/ EthereumXcmExecutionSuspended: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; evm: { - /** Not enough balance to perform action */ + /** + * Not enough balance to perform action + **/ BalanceLow: AugmentedError; - /** Calculating total fee overflowed */ + /** + * Calculating total fee overflowed + **/ FeeOverflow: AugmentedError; - /** Gas limit is too high. */ + /** + * Gas limit is too high. + **/ GasLimitTooHigh: AugmentedError; - /** Gas limit is too low. */ + /** + * Gas limit is too low. + **/ GasLimitTooLow: AugmentedError; - /** Gas price is too low. */ + /** + * Gas price is too low. + **/ GasPriceTooLow: AugmentedError; - /** The chain id is invalid. */ + /** + * The chain id is invalid. + **/ InvalidChainId: AugmentedError; - /** Nonce is invalid */ + /** + * Nonce is invalid + **/ InvalidNonce: AugmentedError; - /** The signature is invalid. */ + /** + * the signature is invalid. + **/ InvalidSignature: AugmentedError; - /** Calculating total payment overflowed */ + /** + * Calculating total payment overflowed + **/ PaymentOverflow: AugmentedError; - /** EVM reentrancy */ + /** + * EVM reentrancy + **/ Reentrancy: AugmentedError; - /** EIP-3607, */ + /** + * EIP-3607, + **/ TransactionMustComeFromEOA: AugmentedError; - /** Undefined error. */ + /** + * Undefined error. + **/ Undefined: AugmentedError; - /** Withdraw fee failed */ + /** + * Withdraw fee failed + **/ WithdrawFailed: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; evmForeignAssets: { @@ -277,226 +461,416 @@ declare module "@polkadot/api-base/types/errors" { InvalidTokenName: AugmentedError; LocationAlreadyExists: AugmentedError; TooManyForeignAssets: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; identity: { - /** Account ID is already named. */ + /** + * Account ID is already named. + **/ AlreadyClaimed: AugmentedError; - /** Empty index. */ + /** + * Empty index. + **/ EmptyIndex: AugmentedError; - /** Fee is changed. */ + /** + * Fee is changed. + **/ FeeChanged: AugmentedError; - /** The index is invalid. */ + /** + * The index is invalid. + **/ InvalidIndex: AugmentedError; - /** Invalid judgement. */ + /** + * Invalid judgement. + **/ InvalidJudgement: AugmentedError; - /** The signature on a username was not valid. */ + /** + * The signature on a username was not valid. + **/ InvalidSignature: AugmentedError; - /** The provided suffix is too long. */ + /** + * The provided suffix is too long. + **/ InvalidSuffix: AugmentedError; - /** The target is invalid. */ + /** + * The target is invalid. + **/ InvalidTarget: AugmentedError; - /** The username does not meet the requirements. */ + /** + * The username does not meet the requirements. + **/ InvalidUsername: AugmentedError; - /** The provided judgement was for a different identity. */ + /** + * The provided judgement was for a different identity. + **/ JudgementForDifferentIdentity: AugmentedError; - /** Judgement given. */ + /** + * Judgement given. + **/ JudgementGiven: AugmentedError; - /** Error that occurs when there is an issue paying for judgement. */ + /** + * Error that occurs when there is an issue paying for judgement. + **/ JudgementPaymentFailed: AugmentedError; - /** The authority cannot allocate any more usernames. */ + /** + * The authority cannot allocate any more usernames. + **/ NoAllocation: AugmentedError; - /** No identity found. */ + /** + * No identity found. + **/ NoIdentity: AugmentedError; - /** The username cannot be forcefully removed because it can still be accepted. */ + /** + * The username cannot be forcefully removed because it can still be accepted. + **/ NotExpired: AugmentedError; - /** Account isn't found. */ + /** + * Account isn't found. + **/ NotFound: AugmentedError; - /** Account isn't named. */ + /** + * Account isn't named. + **/ NotNamed: AugmentedError; - /** Sub-account isn't owned by sender. */ + /** + * Sub-account isn't owned by sender. + **/ NotOwned: AugmentedError; - /** Sender is not a sub-account. */ + /** + * Sender is not a sub-account. + **/ NotSub: AugmentedError; - /** The sender does not have permission to issue a username. */ + /** + * The sender does not have permission to issue a username. + **/ NotUsernameAuthority: AugmentedError; - /** The requested username does not exist. */ + /** + * The requested username does not exist. + **/ NoUsername: AugmentedError; - /** Setting this username requires a signature, but none was provided. */ + /** + * Setting this username requires a signature, but none was provided. + **/ RequiresSignature: AugmentedError; - /** Sticky judgement. */ + /** + * Sticky judgement. + **/ StickyJudgement: AugmentedError; - /** Maximum amount of registrars reached. Cannot add any more. */ + /** + * Maximum amount of registrars reached. Cannot add any more. + **/ TooManyRegistrars: AugmentedError; - /** Too many subs-accounts. */ + /** + * Too many subs-accounts. + **/ TooManySubAccounts: AugmentedError; - /** The username is already taken. */ + /** + * The username is already taken. + **/ UsernameTaken: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; maintenanceMode: { - /** The chain cannot enter maintenance mode because it is already in maintenance mode */ + /** + * The chain cannot enter maintenance mode because it is already in maintenance mode + **/ AlreadyInMaintenanceMode: AugmentedError; - /** The chain cannot resume normal operation because it is not in maintenance mode */ + /** + * The chain cannot resume normal operation because it is not in maintenance mode + **/ NotInMaintenanceMode: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; messageQueue: { - /** The message was already processed and cannot be processed again. */ + /** + * The message was already processed and cannot be processed again. + **/ AlreadyProcessed: AugmentedError; - /** There is temporarily not enough weight to continue servicing messages. */ + /** + * There is temporarily not enough weight to continue servicing messages. + **/ InsufficientWeight: AugmentedError; - /** The referenced message could not be found. */ + /** + * The referenced message could not be found. + **/ NoMessage: AugmentedError; - /** Page to be reaped does not exist. */ + /** + * Page to be reaped does not exist. + **/ NoPage: AugmentedError; - /** Page is not reapable because it has items remaining to be processed and is not old enough. */ + /** + * Page is not reapable because it has items remaining to be processed and is not old + * enough. + **/ NotReapable: AugmentedError; - /** The message is queued for future execution. */ + /** + * The message is queued for future execution. + **/ Queued: AugmentedError; /** * The queue is paused and no message can be executed from it. * * This can change at any time and may resolve in the future by re-trying. - */ + **/ QueuePaused: AugmentedError; - /** Another call is in progress and needs to finish before this call can happen. */ + /** + * Another call is in progress and needs to finish before this call can happen. + **/ RecursiveDisallowed: AugmentedError; /** * This message is temporarily unprocessable. * - * Such errors are expected, but not guaranteed, to resolve themselves eventually through retrying. - */ + * Such errors are expected, but not guaranteed, to resolve themselves eventually through + * retrying. + **/ TemporarilyUnprocessable: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; migrations: { - /** Preimage already exists in the new storage. */ + /** + * Preimage already exists in the new storage. + **/ PreimageAlreadyExists: AugmentedError; - /** Preimage is larger than the new max size. */ + /** + * Preimage is larger than the new max size. + **/ PreimageIsTooBig: AugmentedError; - /** Missing preimage in original democracy storage */ + /** + * Missing preimage in original democracy storage + **/ PreimageMissing: AugmentedError; - /** Provided upper bound is too low. */ + /** + * Provided upper bound is too low. + **/ WrongUpperBound: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; moonbeamLazyMigrations: { - /** Fail to add an approval */ + /** + * Fail to add an approval + **/ ApprovalFailed: AugmentedError; - /** Asset not found */ + /** + * Asset not found + **/ AssetNotFound: AugmentedError; - /** The asset type was not found */ + /** + * The asset type was not found + **/ AssetTypeNotFound: AugmentedError; - /** The contract already have metadata */ + /** + * The contract already have metadata + **/ ContractMetadataAlreadySet: AugmentedError; - /** Contract not exist */ + /** + * Contract not exist + **/ ContractNotExist: AugmentedError; - /** The key lengths exceeds the maximum allowed */ + /** + * The key lengths exceeds the maximum allowed + **/ KeyTooLong: AugmentedError; - /** The limit cannot be zero */ + /** + * The limit cannot be zero + **/ LimitCannotBeZero: AugmentedError; - /** The location of the asset was not found */ + /** + * The location of the asset was not found + **/ LocationNotFound: AugmentedError; - /** Migration is not finished yet */ + /** + * Migration is not finished yet + **/ MigrationNotFinished: AugmentedError; - /** Fail to mint the foreign asset */ + /** + * Fail to mint the foreign asset + **/ MintFailed: AugmentedError; - /** The name length exceeds the maximum allowed */ + /** + * The name length exceeds the maximum allowed + **/ NameTooLong: AugmentedError; - /** No migration in progress */ + /** + * No migration in progress + **/ NoMigrationInProgress: AugmentedError; - /** The symbol length exceeds the maximum allowed */ + /** + * The symbol length exceeds the maximum allowed + **/ SymbolTooLong: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; moonbeamOrbiters: { - /** The collator is already added in orbiters program. */ + /** + * The collator is already added in orbiters program. + **/ CollatorAlreadyAdded: AugmentedError; - /** This collator is not in orbiters program. */ + /** + * This collator is not in orbiters program. + **/ CollatorNotFound: AugmentedError; - /** There are already too many orbiters associated with this collator. */ + /** + * There are already too many orbiters associated with this collator. + **/ CollatorPoolTooLarge: AugmentedError; - /** There are more collator pools than the number specified in the parameter. */ + /** + * There are more collator pools than the number specified in the parameter. + **/ CollatorsPoolCountTooLow: AugmentedError; /** * The minimum deposit required to register as an orbiter has not yet been included in the * onchain storage - */ + **/ MinOrbiterDepositNotSet: AugmentedError; - /** This orbiter is already associated with this collator. */ + /** + * This orbiter is already associated with this collator. + **/ OrbiterAlreadyInPool: AugmentedError; - /** This orbiter has not made a deposit */ + /** + * This orbiter has not made a deposit + **/ OrbiterDepositNotFound: AugmentedError; - /** This orbiter is not found */ + /** + * This orbiter is not found + **/ OrbiterNotFound: AugmentedError; - /** The orbiter is still at least in one pool */ + /** + * The orbiter is still at least in one pool + **/ OrbiterStillInAPool: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; multisig: { - /** Call is already approved by this signatory. */ + /** + * Call is already approved by this signatory. + **/ AlreadyApproved: AugmentedError; - /** The data to be stored is already stored. */ + /** + * The data to be stored is already stored. + **/ AlreadyStored: AugmentedError; - /** The maximum weight information provided was too low. */ + /** + * The maximum weight information provided was too low. + **/ MaxWeightTooLow: AugmentedError; - /** Threshold must be 2 or greater. */ + /** + * Threshold must be 2 or greater. + **/ MinimumThreshold: AugmentedError; - /** Call doesn't need any (more) approvals. */ + /** + * Call doesn't need any (more) approvals. + **/ NoApprovalsNeeded: AugmentedError; - /** Multisig operation not found when attempting to cancel. */ + /** + * Multisig operation not found when attempting to cancel. + **/ NotFound: AugmentedError; - /** No timepoint was given, yet the multisig operation is already underway. */ + /** + * No timepoint was given, yet the multisig operation is already underway. + **/ NoTimepoint: AugmentedError; - /** Only the account that originally created the multisig is able to cancel it. */ + /** + * Only the account that originally created the multisig is able to cancel it. + **/ NotOwner: AugmentedError; - /** The sender was contained in the other signatories; it shouldn't be. */ + /** + * The sender was contained in the other signatories; it shouldn't be. + **/ SenderInSignatories: AugmentedError; - /** The signatories were provided out of order; they should be ordered. */ + /** + * The signatories were provided out of order; they should be ordered. + **/ SignatoriesOutOfOrder: AugmentedError; - /** There are too few signatories in the list. */ + /** + * There are too few signatories in the list. + **/ TooFewSignatories: AugmentedError; - /** There are too many signatories in the list. */ + /** + * There are too many signatories in the list. + **/ TooManySignatories: AugmentedError; - /** A timepoint was given, yet no multisig operation is underway. */ + /** + * A timepoint was given, yet no multisig operation is underway. + **/ UnexpectedTimepoint: AugmentedError; - /** A different timepoint was given to the multisig operation that is underway. */ + /** + * A different timepoint was given to the multisig operation that is underway. + **/ WrongTimepoint: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; openTechCommitteeCollective: { - /** Members are already initialized! */ + /** + * Members are already initialized! + **/ AlreadyInitialized: AugmentedError; - /** Duplicate proposals not allowed */ + /** + * Duplicate proposals not allowed + **/ DuplicateProposal: AugmentedError; - /** Duplicate vote ignored */ + /** + * Duplicate vote ignored + **/ DuplicateVote: AugmentedError; - /** Account is not a member */ + /** + * Account is not a member + **/ NotMember: AugmentedError; - /** Prime account is not a member */ + /** + * Prime account is not a member + **/ PrimeAccountNotMember: AugmentedError; - /** Proposal must exist */ + /** + * Proposal must exist + **/ ProposalMissing: AugmentedError; - /** The close call was made too early, before the end of the voting. */ + /** + * The close call was made too early, before the end of the voting. + **/ TooEarly: AugmentedError; - /** There can only be a maximum of `MaxProposals` active proposals. */ + /** + * There can only be a maximum of `MaxProposals` active proposals. + **/ TooManyProposals: AugmentedError; - /** Mismatched index */ + /** + * Mismatched index + **/ WrongIndex: AugmentedError; - /** The given length bound for the proposal was too low. */ + /** + * The given length bound for the proposal was too low. + **/ WrongProposalLength: AugmentedError; - /** The given weight bound for the proposal was too low. */ + /** + * The given weight bound for the proposal was too low. + **/ WrongProposalWeight: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; parachainStaking: { @@ -556,132 +930,240 @@ declare module "@polkadot/api-base/types/errors" { TooLowDelegationCountToDelegate: AugmentedError; TooLowDelegationCountToLeaveDelegators: AugmentedError; TotalInflationDistributionPercentExceeds100: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; parachainSystem: { - /** The inherent which supplies the host configuration did not run this block. */ + /** + * The inherent which supplies the host configuration did not run this block. + **/ HostConfigurationNotAvailable: AugmentedError; - /** No code upgrade has been authorized. */ + /** + * No code upgrade has been authorized. + **/ NothingAuthorized: AugmentedError; - /** No validation function upgrade is currently scheduled. */ + /** + * No validation function upgrade is currently scheduled. + **/ NotScheduled: AugmentedError; - /** Attempt to upgrade validation function while existing upgrade pending. */ + /** + * Attempt to upgrade validation function while existing upgrade pending. + **/ OverlappingUpgrades: AugmentedError; - /** Polkadot currently prohibits this parachain from upgrading its validation function. */ + /** + * Polkadot currently prohibits this parachain from upgrading its validation function. + **/ ProhibitedByPolkadot: AugmentedError; - /** The supplied validation function has compiled into a blob larger than Polkadot is willing to run. */ + /** + * The supplied validation function has compiled into a blob larger than Polkadot is + * willing to run. + **/ TooBig: AugmentedError; - /** The given code upgrade has not been authorized. */ + /** + * The given code upgrade has not been authorized. + **/ Unauthorized: AugmentedError; - /** The inherent which supplies the validation data did not run this block. */ + /** + * The inherent which supplies the validation data did not run this block. + **/ ValidationDataNotAvailable: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; polkadotXcm: { - /** The given account is not an identifiable sovereign account for any location. */ + /** + * The given account is not an identifiable sovereign account for any location. + **/ AccountNotSovereign: AugmentedError; - /** The location is invalid since it already has a subscription from us. */ + /** + * The location is invalid since it already has a subscription from us. + **/ AlreadySubscribed: AugmentedError; /** - * The given location could not be used (e.g. because it cannot be expressed in the desired - * version of XCM). - */ + * The given location could not be used (e.g. because it cannot be expressed in the + * desired version of XCM). + **/ BadLocation: AugmentedError; - /** The version of the `Versioned` value used is not able to be interpreted. */ + /** + * The version of the `Versioned` value used is not able to be interpreted. + **/ BadVersion: AugmentedError; - /** Could not check-out the assets for teleportation to the destination chain. */ + /** + * Could not check-out the assets for teleportation to the destination chain. + **/ CannotCheckOutTeleport: AugmentedError; - /** Could not re-anchor the assets to declare the fees for the destination chain. */ + /** + * Could not re-anchor the assets to declare the fees for the destination chain. + **/ CannotReanchor: AugmentedError; - /** The destination `Location` provided cannot be inverted. */ + /** + * The destination `Location` provided cannot be inverted. + **/ DestinationNotInvertible: AugmentedError; - /** The assets to be sent are empty. */ + /** + * The assets to be sent are empty. + **/ Empty: AugmentedError; - /** The operation required fees to be paid which the initiator could not meet. */ + /** + * The operation required fees to be paid which the initiator could not meet. + **/ FeesNotMet: AugmentedError; - /** The message execution fails the filter. */ + /** + * The message execution fails the filter. + **/ Filtered: AugmentedError; - /** The unlock operation cannot succeed because there are still consumers of the lock. */ + /** + * The unlock operation cannot succeed because there are still consumers of the lock. + **/ InUse: AugmentedError; - /** Invalid asset, reserve chain could not be determined for it. */ + /** + * Invalid asset, reserve chain could not be determined for it. + **/ InvalidAssetUnknownReserve: AugmentedError; - /** Invalid asset, do not support remote asset reserves with different fees reserves. */ + /** + * Invalid asset, do not support remote asset reserves with different fees reserves. + **/ InvalidAssetUnsupportedReserve: AugmentedError; - /** Origin is invalid for sending. */ + /** + * Origin is invalid for sending. + **/ InvalidOrigin: AugmentedError; - /** Local XCM execution incomplete. */ + /** + * Local XCM execution incomplete. + **/ LocalExecutionIncomplete: AugmentedError; - /** A remote lock with the corresponding data could not be found. */ + /** + * A remote lock with the corresponding data could not be found. + **/ LockNotFound: AugmentedError; - /** The owner does not own (all) of the asset that they wish to do the operation on. */ + /** + * The owner does not own (all) of the asset that they wish to do the operation on. + **/ LowBalance: AugmentedError; - /** The referenced subscription could not be found. */ + /** + * The referenced subscription could not be found. + **/ NoSubscription: AugmentedError; /** - * There was some other issue (i.e. not to do with routing) in sending the message. Perhaps a - * lack of space for buffering the message. - */ + * There was some other issue (i.e. not to do with routing) in sending the message. + * Perhaps a lack of space for buffering the message. + **/ SendFailure: AugmentedError; - /** Too many assets have been attempted for transfer. */ + /** + * Too many assets have been attempted for transfer. + **/ TooManyAssets: AugmentedError; - /** The asset owner has too many locks on the asset. */ + /** + * The asset owner has too many locks on the asset. + **/ TooManyLocks: AugmentedError; - /** Too many assets with different reserve locations have been attempted for transfer. */ + /** + * Too many assets with different reserve locations have been attempted for transfer. + **/ TooManyReserves: AugmentedError; - /** The desired destination was unreachable, generally because there is a no way of routing to it. */ + /** + * The desired destination was unreachable, generally because there is a no way of routing + * to it. + **/ Unreachable: AugmentedError; - /** The message's weight could not be determined. */ + /** + * The message's weight could not be determined. + **/ UnweighableMessage: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; precompileBenchmarks: { BenchmarkError: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; preimage: { - /** Preimage has already been noted on-chain. */ + /** + * Preimage has already been noted on-chain. + **/ AlreadyNoted: AugmentedError; - /** No ticket with a cost was returned by [`Config::Consideration`] to store the preimage. */ + /** + * No ticket with a cost was returned by [`Config::Consideration`] to store the preimage. + **/ NoCost: AugmentedError; - /** The user is not authorized to perform this action. */ + /** + * The user is not authorized to perform this action. + **/ NotAuthorized: AugmentedError; - /** The preimage cannot be removed since it has not yet been noted. */ + /** + * The preimage cannot be removed since it has not yet been noted. + **/ NotNoted: AugmentedError; - /** The preimage request cannot be removed since no outstanding requests exist. */ + /** + * The preimage request cannot be removed since no outstanding requests exist. + **/ NotRequested: AugmentedError; - /** A preimage may not be removed when there are outstanding requests. */ + /** + * A preimage may not be removed when there are outstanding requests. + **/ Requested: AugmentedError; - /** Preimage is too large to store on-chain. */ + /** + * Preimage is too large to store on-chain. + **/ TooBig: AugmentedError; - /** Too few hashes were requested to be upgraded (i.e. zero). */ + /** + * Too few hashes were requested to be upgraded (i.e. zero). + **/ TooFew: AugmentedError; - /** More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once. */ + /** + * More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once. + **/ TooMany: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; proxy: { - /** Account is already a proxy. */ + /** + * Account is already a proxy. + **/ Duplicate: AugmentedError; - /** Call may not be made by proxy because it may escalate its privileges. */ + /** + * Call may not be made by proxy because it may escalate its privileges. + **/ NoPermission: AugmentedError; - /** Cannot add self as proxy. */ + /** + * Cannot add self as proxy. + **/ NoSelfProxy: AugmentedError; - /** Proxy registration not found. */ + /** + * Proxy registration not found. + **/ NotFound: AugmentedError; - /** Sender is not a proxy of the account to be proxied. */ + /** + * Sender is not a proxy of the account to be proxied. + **/ NotProxy: AugmentedError; - /** There are too many proxies registered or too many announcements pending. */ + /** + * There are too many proxies registered or too many announcements pending. + **/ TooMany: AugmentedError; - /** Announcement, if made at all, was made too recently. */ + /** + * Announcement, if made at all, was made too recently. + **/ Unannounced: AugmentedError; - /** A call which is incompatible with the proxy type's filter was attempted. */ + /** + * A call which is incompatible with the proxy type's filter was attempted. + **/ Unproxyable: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; randomness: { @@ -697,171 +1179,316 @@ declare module "@polkadot/api-base/types/errors" { RequestDNE: AugmentedError; RequestFeeOverflowed: AugmentedError; RequestHasNotExpired: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; referenda: { - /** The referendum index provided is invalid in this context. */ + /** + * The referendum index provided is invalid in this context. + **/ BadReferendum: AugmentedError; - /** The referendum status is invalid for this operation. */ + /** + * The referendum status is invalid for this operation. + **/ BadStatus: AugmentedError; - /** The track identifier given was invalid. */ + /** + * The track identifier given was invalid. + **/ BadTrack: AugmentedError; - /** There are already a full complement of referenda in progress for this track. */ + /** + * There are already a full complement of referenda in progress for this track. + **/ Full: AugmentedError; - /** Referendum's decision deposit is already paid. */ + /** + * Referendum's decision deposit is already paid. + **/ HasDeposit: AugmentedError; - /** The deposit cannot be refunded since none was made. */ + /** + * The deposit cannot be refunded since none was made. + **/ NoDeposit: AugmentedError; - /** The deposit refunder is not the depositor. */ + /** + * The deposit refunder is not the depositor. + **/ NoPermission: AugmentedError; - /** There was nothing to do in the advancement. */ + /** + * There was nothing to do in the advancement. + **/ NothingToDo: AugmentedError; - /** Referendum is not ongoing. */ + /** + * Referendum is not ongoing. + **/ NotOngoing: AugmentedError; - /** No track exists for the proposal origin. */ + /** + * No track exists for the proposal origin. + **/ NoTrack: AugmentedError; - /** The preimage does not exist. */ + /** + * The preimage does not exist. + **/ PreimageNotExist: AugmentedError; - /** The preimage is stored with a different length than the one provided. */ + /** + * The preimage is stored with a different length than the one provided. + **/ PreimageStoredWithDifferentLength: AugmentedError; - /** The queue of the track is empty. */ + /** + * The queue of the track is empty. + **/ QueueEmpty: AugmentedError; - /** Any deposit cannot be refunded until after the decision is over. */ + /** + * Any deposit cannot be refunded until after the decision is over. + **/ Unfinished: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; scheduler: { - /** Failed to schedule a call */ + /** + * Failed to schedule a call + **/ FailedToSchedule: AugmentedError; - /** Attempt to use a non-named function on a named task. */ + /** + * Attempt to use a non-named function on a named task. + **/ Named: AugmentedError; - /** Cannot find the scheduled call. */ + /** + * Cannot find the scheduled call. + **/ NotFound: AugmentedError; - /** Reschedule failed because it does not change scheduled time. */ + /** + * Reschedule failed because it does not change scheduled time. + **/ RescheduleNoChange: AugmentedError; - /** Given target block number is in the past. */ + /** + * Given target block number is in the past. + **/ TargetBlockNumberInPast: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; sudo: { - /** Sender must be the Sudo account. */ + /** + * Sender must be the Sudo account. + **/ RequireSudo: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; system: { - /** The origin filter prevent the call to be dispatched. */ + /** + * The origin filter prevent the call to be dispatched. + **/ CallFiltered: AugmentedError; /** * Failed to extract the runtime version from the new runtime. * * Either calling `Core_version` or decoding `RuntimeVersion` failed. - */ + **/ FailedToExtractRuntimeVersion: AugmentedError; - /** The name of specification does not match between the current runtime and the new runtime. */ + /** + * The name of specification does not match between the current runtime + * and the new runtime. + **/ InvalidSpecName: AugmentedError; - /** A multi-block migration is ongoing and prevents the current code from being replaced. */ + /** + * A multi-block migration is ongoing and prevents the current code from being replaced. + **/ MultiBlockMigrationsOngoing: AugmentedError; - /** Suicide called when the account has non-default composite data. */ + /** + * Suicide called when the account has non-default composite data. + **/ NonDefaultComposite: AugmentedError; - /** There is a non-zero reference count preventing the account from being purged. */ + /** + * There is a non-zero reference count preventing the account from being purged. + **/ NonZeroRefCount: AugmentedError; - /** No upgrade authorized. */ + /** + * No upgrade authorized. + **/ NothingAuthorized: AugmentedError; - /** The specification version is not allowed to decrease between the current runtime and the new runtime. */ + /** + * The specification version is not allowed to decrease between the current runtime + * and the new runtime. + **/ SpecVersionNeedsToIncrease: AugmentedError; - /** The submitted code is not authorized. */ + /** + * The submitted code is not authorized. + **/ Unauthorized: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; treasury: { - /** The payment has already been attempted. */ + /** + * The payment has already been attempted. + **/ AlreadyAttempted: AugmentedError; - /** The spend is not yet eligible for payout. */ + /** + * The spend is not yet eligible for payout. + **/ EarlyPayout: AugmentedError; - /** The balance of the asset kind is not convertible to the balance of the native asset. */ + /** + * The balance of the asset kind is not convertible to the balance of the native asset. + **/ FailedToConvertBalance: AugmentedError; - /** The payment has neither failed nor succeeded yet. */ + /** + * The payment has neither failed nor succeeded yet. + **/ Inconclusive: AugmentedError; - /** The spend origin is valid but the amount it is allowed to spend is lower than the amount to be spent. */ + /** + * The spend origin is valid but the amount it is allowed to spend is lower than the + * amount to be spent. + **/ InsufficientPermission: AugmentedError; - /** No proposal, bounty or spend at that index. */ + /** + * No proposal, bounty or spend at that index. + **/ InvalidIndex: AugmentedError; - /** The payout was not yet attempted/claimed. */ + /** + * The payout was not yet attempted/claimed. + **/ NotAttempted: AugmentedError; - /** There was some issue with the mechanism of payment. */ + /** + * There was some issue with the mechanism of payment. + **/ PayoutError: AugmentedError; - /** Proposal has not been approved. */ + /** + * Proposal has not been approved. + **/ ProposalNotApproved: AugmentedError; - /** The spend has expired and cannot be claimed. */ + /** + * The spend has expired and cannot be claimed. + **/ SpendExpired: AugmentedError; - /** Too many approvals in the queue. */ + /** + * Too many approvals in the queue. + **/ TooManyApprovals: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; treasuryCouncilCollective: { - /** Members are already initialized! */ + /** + * Members are already initialized! + **/ AlreadyInitialized: AugmentedError; - /** Duplicate proposals not allowed */ + /** + * Duplicate proposals not allowed + **/ DuplicateProposal: AugmentedError; - /** Duplicate vote ignored */ + /** + * Duplicate vote ignored + **/ DuplicateVote: AugmentedError; - /** Account is not a member */ + /** + * Account is not a member + **/ NotMember: AugmentedError; - /** Prime account is not a member */ + /** + * Prime account is not a member + **/ PrimeAccountNotMember: AugmentedError; - /** Proposal must exist */ + /** + * Proposal must exist + **/ ProposalMissing: AugmentedError; - /** The close call was made too early, before the end of the voting. */ + /** + * The close call was made too early, before the end of the voting. + **/ TooEarly: AugmentedError; - /** There can only be a maximum of `MaxProposals` active proposals. */ + /** + * There can only be a maximum of `MaxProposals` active proposals. + **/ TooManyProposals: AugmentedError; - /** Mismatched index */ + /** + * Mismatched index + **/ WrongIndex: AugmentedError; - /** The given length bound for the proposal was too low. */ + /** + * The given length bound for the proposal was too low. + **/ WrongProposalLength: AugmentedError; - /** The given weight bound for the proposal was too low. */ + /** + * The given weight bound for the proposal was too low. + **/ WrongProposalWeight: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; utility: { - /** Too many calls batched. */ + /** + * Too many calls batched. + **/ TooManyCalls: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; whitelist: { - /** The call was already whitelisted; No-Op. */ + /** + * The call was already whitelisted; No-Op. + **/ CallAlreadyWhitelisted: AugmentedError; - /** The call was not whitelisted. */ + /** + * The call was not whitelisted. + **/ CallIsNotWhitelisted: AugmentedError; - /** The weight of the decoded call was higher than the witness. */ + /** + * The weight of the decoded call was higher than the witness. + **/ InvalidCallWeightWitness: AugmentedError; - /** The preimage of the call hash could not be loaded. */ + /** + * The preimage of the call hash could not be loaded. + **/ UnavailablePreImage: AugmentedError; - /** The call could not be decoded. */ + /** + * The call could not be decoded. + **/ UndecodableCall: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; xcmpQueue: { - /** The execution is already resumed. */ + /** + * The execution is already resumed. + **/ AlreadyResumed: AugmentedError; - /** The execution is already suspended. */ + /** + * The execution is already suspended. + **/ AlreadySuspended: AugmentedError; - /** Setting the queue config failed since one of its values was invalid. */ + /** + * Setting the queue config failed since one of its values was invalid. + **/ BadQueueConfig: AugmentedError; - /** The message is too big. */ + /** + * The message is too big. + **/ TooBig: AugmentedError; - /** There are too many active outbound channels. */ + /** + * There are too many active outbound channels. + **/ TooManyActiveOutboundChannels: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; xcmTransactor: { @@ -892,23 +1519,39 @@ declare module "@polkadot/api-base/types/errors" { UnweighableMessage: AugmentedError; WeightOverflow: AugmentedError; XcmExecuteError: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; xcmWeightTrader: { - /** The given asset was already added */ + /** + * The given asset was already added + **/ AssetAlreadyAdded: AugmentedError; - /** The given asset was already paused */ + /** + * The given asset was already paused + **/ AssetAlreadyPaused: AugmentedError; - /** The given asset was not found */ + /** + * The given asset was not found + **/ AssetNotFound: AugmentedError; - /** The given asset is not paused */ + /** + * The given asset is not paused + **/ AssetNotPaused: AugmentedError; - /** The relative price cannot be zero */ + /** + * The relative price cannot be zero + **/ PriceCannotBeZero: AugmentedError; - /** XCM location filtered */ + /** + * XCM location filtered + **/ XcmLocationFiltered: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; } // AugmentedErrors diff --git a/typescript-api/src/moonbase/interfaces/augment-api-events.ts b/typescript-api/src/moonbase/interfaces/augment-api-events.ts index c4aacc4940..57b8d0b861 100644 --- a/typescript-api/src/moonbase/interfaces/augment-api-events.ts +++ b/typescript-api/src/moonbase/interfaces/augment-api-events.ts @@ -17,7 +17,7 @@ import type { u16, u32, u64, - u8, + u8 } from "@polkadot/types-codec"; import type { ITuple } from "@polkadot/types-codec/types"; import type { AccountId20, H160, H256, Perbill, Percent } from "@polkadot/types/interfaces/runtime"; @@ -54,7 +54,7 @@ import type { StagingXcmV4Xcm, XcmV3TraitsError, XcmVersionedAssets, - XcmVersionedLocation, + XcmVersionedLocation } from "@polkadot/types/lookup"; export type __AugmentedEvent = AugmentedEvent; @@ -62,13 +62,17 @@ export type __AugmentedEvent = AugmentedEvent declare module "@polkadot/api-base/types/events" { interface AugmentedEvents { assetManager: { - /** Removed all information related to an assetId and destroyed asset */ + /** + * Removed all information related to an assetId and destroyed asset + **/ ForeignAssetDestroyed: AugmentedEvent< ApiType, [assetId: u128, assetType: MoonbaseRuntimeXcmConfigAssetType], { assetId: u128; assetType: MoonbaseRuntimeXcmConfigAssetType } >; - /** New asset with the asset manager is registered */ + /** + * New asset with the asset manager is registered + **/ ForeignAssetRegistered: AugmentedEvent< ApiType, [ @@ -82,153 +86,216 @@ declare module "@polkadot/api-base/types/events" { metadata: MoonbaseRuntimeAssetConfigAssetRegistrarMetadata; } >; - /** Removed all information related to an assetId */ + /** + * Removed all information related to an assetId + **/ ForeignAssetRemoved: AugmentedEvent< ApiType, [assetId: u128, assetType: MoonbaseRuntimeXcmConfigAssetType], { assetId: u128; assetType: MoonbaseRuntimeXcmConfigAssetType } >; - /** Changed the xcm type mapping for a given asset id */ + /** + * Changed the xcm type mapping for a given asset id + **/ ForeignAssetXcmLocationChanged: AugmentedEvent< ApiType, [assetId: u128, newAssetType: MoonbaseRuntimeXcmConfigAssetType], { assetId: u128; newAssetType: MoonbaseRuntimeXcmConfigAssetType } >; - /** Removed all information related to an assetId and destroyed asset */ + /** + * Removed all information related to an assetId and destroyed asset + **/ LocalAssetDestroyed: AugmentedEvent; - /** Supported asset type for fee payment removed */ + /** + * Supported asset type for fee payment removed + **/ SupportedAssetRemoved: AugmentedEvent< ApiType, [assetType: MoonbaseRuntimeXcmConfigAssetType], { assetType: MoonbaseRuntimeXcmConfigAssetType } >; - /** Changed the amount of units we are charging per execution second for a given asset */ + /** + * Changed the amount of units we are charging per execution second for a given asset + **/ UnitsPerSecondChanged: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; assets: { - /** Accounts were destroyed for given asset. */ + /** + * Accounts were destroyed for given asset. + **/ AccountsDestroyed: AugmentedEvent< ApiType, [assetId: u128, accountsDestroyed: u32, accountsRemaining: u32], { assetId: u128; accountsDestroyed: u32; accountsRemaining: u32 } >; - /** An approval for account `delegate` was cancelled by `owner`. */ + /** + * An approval for account `delegate` was cancelled by `owner`. + **/ ApprovalCancelled: AugmentedEvent< ApiType, [assetId: u128, owner: AccountId20, delegate: AccountId20], { assetId: u128; owner: AccountId20; delegate: AccountId20 } >; - /** Approvals were destroyed for given asset. */ + /** + * Approvals were destroyed for given asset. + **/ ApprovalsDestroyed: AugmentedEvent< ApiType, [assetId: u128, approvalsDestroyed: u32, approvalsRemaining: u32], { assetId: u128; approvalsDestroyed: u32; approvalsRemaining: u32 } >; - /** (Additional) funds have been approved for transfer to a destination account. */ + /** + * (Additional) funds have been approved for transfer to a destination account. + **/ ApprovedTransfer: AugmentedEvent< ApiType, [assetId: u128, source: AccountId20, delegate: AccountId20, amount: u128], { assetId: u128; source: AccountId20; delegate: AccountId20; amount: u128 } >; - /** Some asset `asset_id` was frozen. */ + /** + * Some asset `asset_id` was frozen. + **/ AssetFrozen: AugmentedEvent; - /** The min_balance of an asset has been updated by the asset owner. */ + /** + * The min_balance of an asset has been updated by the asset owner. + **/ AssetMinBalanceChanged: AugmentedEvent< ApiType, [assetId: u128, newMinBalance: u128], { assetId: u128; newMinBalance: u128 } >; - /** An asset has had its attributes changed by the `Force` origin. */ + /** + * An asset has had its attributes changed by the `Force` origin. + **/ AssetStatusChanged: AugmentedEvent; - /** Some asset `asset_id` was thawed. */ + /** + * Some asset `asset_id` was thawed. + **/ AssetThawed: AugmentedEvent; - /** Some account `who` was blocked. */ + /** + * Some account `who` was blocked. + **/ Blocked: AugmentedEvent< ApiType, [assetId: u128, who: AccountId20], { assetId: u128; who: AccountId20 } >; - /** Some assets were destroyed. */ + /** + * Some assets were destroyed. + **/ Burned: AugmentedEvent< ApiType, [assetId: u128, owner: AccountId20, balance: u128], { assetId: u128; owner: AccountId20; balance: u128 } >; - /** Some asset class was created. */ + /** + * Some asset class was created. + **/ Created: AugmentedEvent< ApiType, [assetId: u128, creator: AccountId20, owner: AccountId20], { assetId: u128; creator: AccountId20; owner: AccountId20 } >; - /** Some assets were deposited (e.g. for transaction fees). */ + /** + * Some assets were deposited (e.g. for transaction fees). + **/ Deposited: AugmentedEvent< ApiType, [assetId: u128, who: AccountId20, amount: u128], { assetId: u128; who: AccountId20; amount: u128 } >; - /** An asset class was destroyed. */ + /** + * An asset class was destroyed. + **/ Destroyed: AugmentedEvent; - /** An asset class is in the process of being destroyed. */ + /** + * An asset class is in the process of being destroyed. + **/ DestructionStarted: AugmentedEvent; - /** Some asset class was force-created. */ + /** + * Some asset class was force-created. + **/ ForceCreated: AugmentedEvent< ApiType, [assetId: u128, owner: AccountId20], { assetId: u128; owner: AccountId20 } >; - /** Some account `who` was frozen. */ + /** + * Some account `who` was frozen. + **/ Frozen: AugmentedEvent< ApiType, [assetId: u128, who: AccountId20], { assetId: u128; who: AccountId20 } >; - /** Some assets were issued. */ + /** + * Some assets were issued. + **/ Issued: AugmentedEvent< ApiType, [assetId: u128, owner: AccountId20, amount: u128], { assetId: u128; owner: AccountId20; amount: u128 } >; - /** Metadata has been cleared for an asset. */ + /** + * Metadata has been cleared for an asset. + **/ MetadataCleared: AugmentedEvent; - /** New metadata has been set for an asset. */ + /** + * New metadata has been set for an asset. + **/ MetadataSet: AugmentedEvent< ApiType, [assetId: u128, name: Bytes, symbol_: Bytes, decimals: u8, isFrozen: bool], { assetId: u128; name: Bytes; symbol: Bytes; decimals: u8; isFrozen: bool } >; - /** The owner changed. */ + /** + * The owner changed. + **/ OwnerChanged: AugmentedEvent< ApiType, [assetId: u128, owner: AccountId20], { assetId: u128; owner: AccountId20 } >; - /** The management team changed. */ + /** + * The management team changed. + **/ TeamChanged: AugmentedEvent< ApiType, [assetId: u128, issuer: AccountId20, admin: AccountId20, freezer: AccountId20], { assetId: u128; issuer: AccountId20; admin: AccountId20; freezer: AccountId20 } >; - /** Some account `who` was thawed. */ + /** + * Some account `who` was thawed. + **/ Thawed: AugmentedEvent< ApiType, [assetId: u128, who: AccountId20], { assetId: u128; who: AccountId20 } >; - /** Some account `who` was created with a deposit from `depositor`. */ + /** + * Some account `who` was created with a deposit from `depositor`. + **/ Touched: AugmentedEvent< ApiType, [assetId: u128, who: AccountId20, depositor: AccountId20], { assetId: u128; who: AccountId20; depositor: AccountId20 } >; - /** Some assets were transferred. */ + /** + * Some assets were transferred. + **/ Transferred: AugmentedEvent< ApiType, [assetId: u128, from: AccountId20, to: AccountId20, amount: u128], { assetId: u128; from: AccountId20; to: AccountId20; amount: u128 } >; - /** An `amount` was transferred in its entirety from `owner` to `destination` by the approved `delegate`. */ + /** + * An `amount` was transferred in its entirety from `owner` to `destination` by + * the approved `delegate`. + **/ TransferredApproved: AugmentedEvent< ApiType, [ @@ -246,23 +313,33 @@ declare module "@polkadot/api-base/types/events" { amount: u128; } >; - /** Some assets were withdrawn from the account (e.g. for transaction fees). */ + /** + * Some assets were withdrawn from the account (e.g. for transaction fees). + **/ Withdrawn: AugmentedEvent< ApiType, [assetId: u128, who: AccountId20, amount: u128], { assetId: u128; who: AccountId20; amount: u128 } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; authorFilter: { - /** The amount of eligible authors for the filter to select has been changed. */ + /** + * The amount of eligible authors for the filter to select has been changed. + **/ EligibleUpdated: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; authorMapping: { - /** A NimbusId has been registered and mapped to an AccountId. */ + /** + * A NimbusId has been registered and mapped to an AccountId. + **/ KeysRegistered: AugmentedEvent< ApiType, [ @@ -276,7 +353,9 @@ declare module "@polkadot/api-base/types/events" { keys_: SessionKeysPrimitivesVrfVrfCryptoPublic; } >; - /** An NimbusId has been de-registered, and its AccountId mapping removed. */ + /** + * An NimbusId has been de-registered, and its AccountId mapping removed. + **/ KeysRemoved: AugmentedEvent< ApiType, [ @@ -290,7 +369,9 @@ declare module "@polkadot/api-base/types/events" { keys_: SessionKeysPrimitivesVrfVrfCryptoPublic; } >; - /** An NimbusId has been registered, replacing a previous registration and its mapping. */ + /** + * An NimbusId has been registered, replacing a previous registration and its mapping. + **/ KeysRotated: AugmentedEvent< ApiType, [ @@ -304,75 +385,97 @@ declare module "@polkadot/api-base/types/events" { newKeys: SessionKeysPrimitivesVrfVrfCryptoPublic; } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; balances: { - /** A balance was set by root. */ + /** + * A balance was set by root. + **/ BalanceSet: AugmentedEvent< ApiType, [who: AccountId20, free: u128], { who: AccountId20; free: u128 } >; - /** Some amount was burned from an account. */ + /** + * Some amount was burned from an account. + **/ Burned: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Some amount was deposited (e.g. for transaction fees). */ + /** + * Some amount was deposited (e.g. for transaction fees). + **/ Deposit: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; /** - * An account was removed whose balance was non-zero but below ExistentialDeposit, resulting - * in an outright loss. - */ + * An account was removed whose balance was non-zero but below ExistentialDeposit, + * resulting in an outright loss. + **/ DustLost: AugmentedEvent< ApiType, [account: AccountId20, amount: u128], { account: AccountId20; amount: u128 } >; - /** An account was created with some free balance. */ + /** + * An account was created with some free balance. + **/ Endowed: AugmentedEvent< ApiType, [account: AccountId20, freeBalance: u128], { account: AccountId20; freeBalance: u128 } >; - /** Some balance was frozen. */ + /** + * Some balance was frozen. + **/ Frozen: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Total issuance was increased by `amount`, creating a credit to be balanced. */ + /** + * Total issuance was increased by `amount`, creating a credit to be balanced. + **/ Issued: AugmentedEvent; - /** Some balance was locked. */ + /** + * Some balance was locked. + **/ Locked: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Some amount was minted into an account. */ + /** + * Some amount was minted into an account. + **/ Minted: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Total issuance was decreased by `amount`, creating a debt to be balanced. */ + /** + * Total issuance was decreased by `amount`, creating a debt to be balanced. + **/ Rescinded: AugmentedEvent; - /** Some balance was reserved (moved from free to reserved). */ + /** + * Some balance was reserved (moved from free to reserved). + **/ Reserved: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; /** - * Some balance was moved from the reserve of the first account to the second account. Final - * argument indicates the destination balance type. - */ + * Some balance was moved from the reserve of the first account to the second account. + * Final argument indicates the destination balance type. + **/ ReserveRepatriated: AugmentedEvent< ApiType, [ @@ -388,121 +491,178 @@ declare module "@polkadot/api-base/types/events" { destinationStatus: FrameSupportTokensMiscBalanceStatus; } >; - /** Some amount was restored into an account. */ + /** + * Some amount was restored into an account. + **/ Restored: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Some amount was removed from the account (e.g. for misbehavior). */ + /** + * Some amount was removed from the account (e.g. for misbehavior). + **/ Slashed: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Some amount was suspended from an account (it can be restored later). */ + /** + * Some amount was suspended from an account (it can be restored later). + **/ Suspended: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Some balance was thawed. */ + /** + * Some balance was thawed. + **/ Thawed: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** The `TotalIssuance` was forcefully changed. */ + /** + * The `TotalIssuance` was forcefully changed. + **/ TotalIssuanceForced: AugmentedEvent< ApiType, [old: u128, new_: u128], { old: u128; new_: u128 } >; - /** Transfer succeeded. */ + /** + * Transfer succeeded. + **/ Transfer: AugmentedEvent< ApiType, [from: AccountId20, to: AccountId20, amount: u128], { from: AccountId20; to: AccountId20; amount: u128 } >; - /** Some balance was unlocked. */ + /** + * Some balance was unlocked. + **/ Unlocked: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Some balance was unreserved (moved from reserved to free). */ + /** + * Some balance was unreserved (moved from reserved to free). + **/ Unreserved: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** An account was upgraded. */ + /** + * An account was upgraded. + **/ Upgraded: AugmentedEvent; - /** Some amount was withdrawn from the account (e.g. for transaction fees). */ + /** + * Some amount was withdrawn from the account (e.g. for transaction fees). + **/ Withdraw: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; convictionVoting: { - /** An account has delegated their vote to another account. [who, target] */ + /** + * An account has delegated their vote to another account. \[who, target\] + **/ Delegated: AugmentedEvent; - /** An [account] has cancelled a previous delegation operation. */ + /** + * An \[account\] has cancelled a previous delegation operation. + **/ Undelegated: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; crowdloanRewards: { - /** When initializing the reward vec an already initialized account was found */ + /** + * When initializing the reward vec an already initialized account was found + **/ InitializedAccountWithNotEnoughContribution: AugmentedEvent< ApiType, [U8aFixed, Option, u128] >; - /** When initializing the reward vec an already initialized account was found */ + /** + * When initializing the reward vec an already initialized account was found + **/ InitializedAlreadyInitializedAccount: AugmentedEvent< ApiType, [U8aFixed, Option, u128] >; - /** The initial payment of InitializationPayment % was paid */ + /** + * The initial payment of InitializationPayment % was paid + **/ InitialPaymentMade: AugmentedEvent; /** - * Someone has proven they made a contribution and associated a native identity with it. Data - * is the relay account, native account and the total amount of _rewards_ that will be paid - */ + * Someone has proven they made a contribution and associated a native identity with it. + * Data is the relay account, native account and the total amount of _rewards_ that will be paid + **/ NativeIdentityAssociated: AugmentedEvent; - /** A contributor has updated the reward address. */ + /** + * A contributor has updated the reward address. + **/ RewardAddressUpdated: AugmentedEvent; /** - * A contributor has claimed some rewards. Data is the account getting paid and the amount of - * rewards paid. - */ + * A contributor has claimed some rewards. + * Data is the account getting paid and the amount of rewards paid. + **/ RewardsPaid: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; cumulusXcm: { - /** Downward message executed with the given outcome. [ id, outcome ] */ + /** + * Downward message executed with the given outcome. + * \[ id, outcome \] + **/ ExecutedDownward: AugmentedEvent; - /** Downward message is invalid XCM. [ id ] */ + /** + * Downward message is invalid XCM. + * \[ id \] + **/ InvalidFormat: AugmentedEvent; - /** Downward message is unsupported version of XCM. [ id ] */ + /** + * Downward message is unsupported version of XCM. + * \[ id \] + **/ UnsupportedVersion: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; emergencyParaXcm: { - /** The XCM incoming execution was Paused */ + /** + * The XCM incoming execution was Paused + **/ EnteredPausedXcmMode: AugmentedEvent; - /** The XCM incoming execution returned to normal operation */ + /** + * The XCM incoming execution returned to normal operation + **/ NormalXcmOperationResumed: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; ethereum: { - /** An ethereum transaction was successfully executed. */ + /** + * An ethereum transaction was successfully executed. + **/ Executed: AugmentedEvent< ApiType, [ @@ -520,35 +680,55 @@ declare module "@polkadot/api-base/types/events" { extraData: Bytes; } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; ethereumXcm: { - /** Ethereum transaction executed from XCM */ + /** + * Ethereum transaction executed from XCM + **/ ExecutedFromXcm: AugmentedEvent< ApiType, [xcmMsgHash: H256, ethTxHash: H256], { xcmMsgHash: H256; ethTxHash: H256 } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; evm: { - /** A contract has been created at given address. */ + /** + * A contract has been created at given address. + **/ Created: AugmentedEvent; - /** A contract was attempted to be created, but the execution failed. */ + /** + * A contract was attempted to be created, but the execution failed. + **/ CreatedFailed: AugmentedEvent; - /** A contract has been executed successfully with states applied. */ + /** + * A contract has been executed successfully with states applied. + **/ Executed: AugmentedEvent; - /** A contract has been executed with errors. States are reverted with only gas fees applied. */ + /** + * A contract has been executed with errors. States are reverted with only gas fees applied. + **/ ExecutedFailed: AugmentedEvent; - /** Ethereum events from contracts. */ + /** + * Ethereum events from contracts. + **/ Log: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; evmForeignAssets: { - /** New asset with the asset manager is registered */ + /** + * New asset with the asset manager is registered + **/ ForeignAssetCreated: AugmentedEvent< ApiType, [contractAddress: H160, assetId: u128, xcmLocation: StagingXcmV4Location], @@ -564,19 +744,27 @@ declare module "@polkadot/api-base/types/events" { [assetId: u128, xcmLocation: StagingXcmV4Location], { assetId: u128; xcmLocation: StagingXcmV4Location } >; - /** Changed the xcm type mapping for a given asset id */ + /** + * Changed the xcm type mapping for a given asset id + **/ ForeignAssetXcmLocationChanged: AugmentedEvent< ApiType, [assetId: u128, newXcmLocation: StagingXcmV4Location], { assetId: u128; newXcmLocation: StagingXcmV4Location } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; identity: { - /** A username authority was added. */ + /** + * A username authority was added. + **/ AuthorityAdded: AugmentedEvent; - /** A username authority was removed. */ + /** + * A username authority was removed. + **/ AuthorityRemoved: AugmentedEvent< ApiType, [authority: AccountId20], @@ -585,112 +773,152 @@ declare module "@polkadot/api-base/types/events" { /** * A dangling username (as in, a username corresponding to an account that has removed its * identity) has been removed. - */ + **/ DanglingUsernameRemoved: AugmentedEvent< ApiType, [who: AccountId20, username: Bytes], { who: AccountId20; username: Bytes } >; - /** A name was cleared, and the given balance returned. */ + /** + * A name was cleared, and the given balance returned. + **/ IdentityCleared: AugmentedEvent< ApiType, [who: AccountId20, deposit: u128], { who: AccountId20; deposit: u128 } >; - /** A name was removed and the given balance slashed. */ + /** + * A name was removed and the given balance slashed. + **/ IdentityKilled: AugmentedEvent< ApiType, [who: AccountId20, deposit: u128], { who: AccountId20; deposit: u128 } >; - /** A name was set or reset (which will remove all judgements). */ + /** + * A name was set or reset (which will remove all judgements). + **/ IdentitySet: AugmentedEvent; - /** A judgement was given by a registrar. */ + /** + * A judgement was given by a registrar. + **/ JudgementGiven: AugmentedEvent< ApiType, [target: AccountId20, registrarIndex: u32], { target: AccountId20; registrarIndex: u32 } >; - /** A judgement was asked from a registrar. */ + /** + * A judgement was asked from a registrar. + **/ JudgementRequested: AugmentedEvent< ApiType, [who: AccountId20, registrarIndex: u32], { who: AccountId20; registrarIndex: u32 } >; - /** A judgement request was retracted. */ + /** + * A judgement request was retracted. + **/ JudgementUnrequested: AugmentedEvent< ApiType, [who: AccountId20, registrarIndex: u32], { who: AccountId20; registrarIndex: u32 } >; - /** A queued username passed its expiration without being claimed and was removed. */ + /** + * A queued username passed its expiration without being claimed and was removed. + **/ PreapprovalExpired: AugmentedEvent; - /** A username was set as a primary and can be looked up from `who`. */ + /** + * A username was set as a primary and can be looked up from `who`. + **/ PrimaryUsernameSet: AugmentedEvent< ApiType, [who: AccountId20, username: Bytes], { who: AccountId20; username: Bytes } >; - /** A registrar was added. */ + /** + * A registrar was added. + **/ RegistrarAdded: AugmentedEvent; - /** A sub-identity was added to an identity and the deposit paid. */ + /** + * A sub-identity was added to an identity and the deposit paid. + **/ SubIdentityAdded: AugmentedEvent< ApiType, [sub: AccountId20, main: AccountId20, deposit: u128], { sub: AccountId20; main: AccountId20; deposit: u128 } >; - /** A sub-identity was removed from an identity and the deposit freed. */ + /** + * A sub-identity was removed from an identity and the deposit freed. + **/ SubIdentityRemoved: AugmentedEvent< ApiType, [sub: AccountId20, main: AccountId20, deposit: u128], { sub: AccountId20; main: AccountId20; deposit: u128 } >; /** - * A sub-identity was cleared, and the given deposit repatriated from the main identity - * account to the sub-identity account. - */ + * A sub-identity was cleared, and the given deposit repatriated from the + * main identity account to the sub-identity account. + **/ SubIdentityRevoked: AugmentedEvent< ApiType, [sub: AccountId20, main: AccountId20, deposit: u128], { sub: AccountId20; main: AccountId20; deposit: u128 } >; - /** A username was queued, but `who` must accept it prior to `expiration`. */ + /** + * A username was queued, but `who` must accept it prior to `expiration`. + **/ UsernameQueued: AugmentedEvent< ApiType, [who: AccountId20, username: Bytes, expiration: u32], { who: AccountId20; username: Bytes; expiration: u32 } >; - /** A username was set for `who`. */ + /** + * A username was set for `who`. + **/ UsernameSet: AugmentedEvent< ApiType, [who: AccountId20, username: Bytes], { who: AccountId20; username: Bytes } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; maintenanceMode: { - /** The chain was put into Maintenance Mode */ + /** + * The chain was put into Maintenance Mode + **/ EnteredMaintenanceMode: AugmentedEvent; - /** The call to resume on_idle XCM execution failed with inner error */ + /** + * The call to resume on_idle XCM execution failed with inner error + **/ FailedToResumeIdleXcmExecution: AugmentedEvent< ApiType, [error: SpRuntimeDispatchError], { error: SpRuntimeDispatchError } >; - /** The call to suspend on_idle XCM execution failed with inner error */ + /** + * The call to suspend on_idle XCM execution failed with inner error + **/ FailedToSuspendIdleXcmExecution: AugmentedEvent< ApiType, [error: SpRuntimeDispatchError], { error: SpRuntimeDispatchError } >; - /** The chain returned to its normal operating state */ + /** + * The chain returned to its normal operating state + **/ NormalOperationResumed: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; messageQueue: { - /** Message placed in overweight queue. */ + /** + * Message placed in overweight queue. + **/ OverweightEnqueued: AugmentedEvent< ApiType, [ @@ -706,13 +934,17 @@ declare module "@polkadot/api-base/types/events" { messageIndex: u32; } >; - /** This page was reaped. */ + /** + * This page was reaped. + **/ PageReaped: AugmentedEvent< ApiType, [origin: CumulusPrimitivesCoreAggregateMessageOrigin, index: u32], { origin: CumulusPrimitivesCoreAggregateMessageOrigin; index: u32 } >; - /** Message is processed. */ + /** + * Message is processed. + **/ Processed: AugmentedEvent< ApiType, [ @@ -728,7 +960,9 @@ declare module "@polkadot/api-base/types/events" { success: bool; } >; - /** Message discarded due to an error in the `MessageProcessor` (usually a format error). */ + /** + * Message discarded due to an error in the `MessageProcessor` (usually a format error). + **/ ProcessingFailed: AugmentedEvent< ApiType, [ @@ -742,61 +976,85 @@ declare module "@polkadot/api-base/types/events" { error: FrameSupportMessagesProcessMessageError; } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; migrations: { - /** XCM execution resume failed with inner error */ + /** + * XCM execution resume failed with inner error + **/ FailedToResumeIdleXcmExecution: AugmentedEvent< ApiType, [error: SpRuntimeDispatchError], { error: SpRuntimeDispatchError } >; - /** XCM execution suspension failed with inner error */ + /** + * XCM execution suspension failed with inner error + **/ FailedToSuspendIdleXcmExecution: AugmentedEvent< ApiType, [error: SpRuntimeDispatchError], { error: SpRuntimeDispatchError } >; - /** Migration completed */ + /** + * Migration completed + **/ MigrationCompleted: AugmentedEvent< ApiType, [migrationName: Bytes, consumedWeight: SpWeightsWeightV2Weight], { migrationName: Bytes; consumedWeight: SpWeightsWeightV2Weight } >; - /** Migration started */ + /** + * Migration started + **/ MigrationStarted: AugmentedEvent; - /** Runtime upgrade completed */ + /** + * Runtime upgrade completed + **/ RuntimeUpgradeCompleted: AugmentedEvent< ApiType, [weight: SpWeightsWeightV2Weight], { weight: SpWeightsWeightV2Weight } >; - /** Runtime upgrade started */ + /** + * Runtime upgrade started + **/ RuntimeUpgradeStarted: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; moonbeamOrbiters: { - /** An orbiter join a collator pool */ + /** + * An orbiter join a collator pool + **/ OrbiterJoinCollatorPool: AugmentedEvent< ApiType, [collator: AccountId20, orbiter: AccountId20], { collator: AccountId20; orbiter: AccountId20 } >; - /** An orbiter leave a collator pool */ + /** + * An orbiter leave a collator pool + **/ OrbiterLeaveCollatorPool: AugmentedEvent< ApiType, [collator: AccountId20, orbiter: AccountId20], { collator: AccountId20; orbiter: AccountId20 } >; - /** An orbiter has registered */ + /** + * An orbiter has registered + **/ OrbiterRegistered: AugmentedEvent< ApiType, [account: AccountId20, deposit: u128], { account: AccountId20; deposit: u128 } >; - /** Paid the orbiter account the balance as liquid rewards. */ + /** + * Paid the orbiter account the balance as liquid rewards. + **/ OrbiterRewarded: AugmentedEvent< ApiType, [account: AccountId20, rewards: u128], @@ -807,17 +1065,23 @@ declare module "@polkadot/api-base/types/events" { [collator: AccountId20, oldOrbiter: Option, newOrbiter: Option], { collator: AccountId20; oldOrbiter: Option; newOrbiter: Option } >; - /** An orbiter has unregistered */ + /** + * An orbiter has unregistered + **/ OrbiterUnregistered: AugmentedEvent< ApiType, [account: AccountId20], { account: AccountId20 } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; multisig: { - /** A multisig operation has been approved by someone. */ + /** + * A multisig operation has been approved by someone. + **/ MultisigApproval: AugmentedEvent< ApiType, [ @@ -833,7 +1097,9 @@ declare module "@polkadot/api-base/types/events" { callHash: U8aFixed; } >; - /** A multisig operation has been cancelled. */ + /** + * A multisig operation has been cancelled. + **/ MultisigCancelled: AugmentedEvent< ApiType, [ @@ -849,7 +1115,9 @@ declare module "@polkadot/api-base/types/events" { callHash: U8aFixed; } >; - /** A multisig operation has been executed. */ + /** + * A multisig operation has been executed. + **/ MultisigExecuted: AugmentedEvent< ApiType, [ @@ -867,64 +1135,87 @@ declare module "@polkadot/api-base/types/events" { result: Result; } >; - /** A new multisig operation has begun. */ + /** + * A new multisig operation has begun. + **/ NewMultisig: AugmentedEvent< ApiType, [approving: AccountId20, multisig: AccountId20, callHash: U8aFixed], { approving: AccountId20; multisig: AccountId20; callHash: U8aFixed } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; openTechCommitteeCollective: { - /** A motion was approved by the required threshold. */ + /** + * A motion was approved by the required threshold. + **/ Approved: AugmentedEvent; - /** A proposal was closed because its threshold was reached or after its duration was up. */ + /** + * A proposal was closed because its threshold was reached or after its duration was up. + **/ Closed: AugmentedEvent< ApiType, [proposalHash: H256, yes: u32, no: u32], { proposalHash: H256; yes: u32; no: u32 } >; - /** A motion was not approved by the required threshold. */ + /** + * A motion was not approved by the required threshold. + **/ Disapproved: AugmentedEvent; - /** A motion was executed; result will be `Ok` if it returned without error. */ + /** + * A motion was executed; result will be `Ok` if it returned without error. + **/ Executed: AugmentedEvent< ApiType, [proposalHash: H256, result: Result], { proposalHash: H256; result: Result } >; - /** A single member did some action; result will be `Ok` if it returned without error. */ + /** + * A single member did some action; result will be `Ok` if it returned without error. + **/ MemberExecuted: AugmentedEvent< ApiType, [proposalHash: H256, result: Result], { proposalHash: H256; result: Result } >; - /** A motion (given hash) has been proposed (by given account) with a threshold (given `MemberCount`). */ + /** + * A motion (given hash) has been proposed (by given account) with a threshold (given + * `MemberCount`). + **/ Proposed: AugmentedEvent< ApiType, [account: AccountId20, proposalIndex: u32, proposalHash: H256, threshold: u32], { account: AccountId20; proposalIndex: u32; proposalHash: H256; threshold: u32 } >; /** - * A motion (given hash) has been voted on by given account, leaving a tally (yes votes and no - * votes given respectively as `MemberCount`). - */ + * A motion (given hash) has been voted on by given account, leaving + * a tally (yes votes and no votes given respectively as `MemberCount`). + **/ Voted: AugmentedEvent< ApiType, [account: AccountId20, proposalHash: H256, voted: bool, yes: u32, no: u32], { account: AccountId20; proposalHash: H256; voted: bool; yes: u32; no: u32 } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; parachainStaking: { - /** Auto-compounding reward percent was set for a delegation. */ + /** + * Auto-compounding reward percent was set for a delegation. + **/ AutoCompoundSet: AugmentedEvent< ApiType, [candidate: AccountId20, delegator: AccountId20, value: Percent], { candidate: AccountId20; delegator: AccountId20; value: Percent } >; - /** Set blocks per round */ + /** + * Set blocks per round + **/ BlocksPerRoundSet: AugmentedEvent< ApiType, [ @@ -946,19 +1237,25 @@ declare module "@polkadot/api-base/types/events" { newPerRoundInflationMax: Perbill; } >; - /** Cancelled request to decrease candidate's bond. */ + /** + * Cancelled request to decrease candidate's bond. + **/ CancelledCandidateBondLess: AugmentedEvent< ApiType, [candidate: AccountId20, amount: u128, executeRound: u32], { candidate: AccountId20; amount: u128; executeRound: u32 } >; - /** Cancelled request to leave the set of candidates. */ + /** + * Cancelled request to leave the set of candidates. + **/ CancelledCandidateExit: AugmentedEvent< ApiType, [candidate: AccountId20], { candidate: AccountId20 } >; - /** Cancelled request to change an existing delegation. */ + /** + * Cancelled request to change an existing delegation. + **/ CancelledDelegationRequest: AugmentedEvent< ApiType, [ @@ -972,67 +1269,89 @@ declare module "@polkadot/api-base/types/events" { collator: AccountId20; } >; - /** Candidate rejoins the set of collator candidates. */ + /** + * Candidate rejoins the set of collator candidates. + **/ CandidateBackOnline: AugmentedEvent< ApiType, [candidate: AccountId20], { candidate: AccountId20 } >; - /** Candidate has decreased a self bond. */ + /** + * Candidate has decreased a self bond. + **/ CandidateBondedLess: AugmentedEvent< ApiType, [candidate: AccountId20, amount: u128, newBond: u128], { candidate: AccountId20; amount: u128; newBond: u128 } >; - /** Candidate has increased a self bond. */ + /** + * Candidate has increased a self bond. + **/ CandidateBondedMore: AugmentedEvent< ApiType, [candidate: AccountId20, amount: u128, newTotalBond: u128], { candidate: AccountId20; amount: u128; newTotalBond: u128 } >; - /** Candidate requested to decrease a self bond. */ + /** + * Candidate requested to decrease a self bond. + **/ CandidateBondLessRequested: AugmentedEvent< ApiType, [candidate: AccountId20, amountToDecrease: u128, executeRound: u32], { candidate: AccountId20; amountToDecrease: u128; executeRound: u32 } >; - /** Candidate has left the set of candidates. */ + /** + * Candidate has left the set of candidates. + **/ CandidateLeft: AugmentedEvent< ApiType, [exCandidate: AccountId20, unlockedAmount: u128, newTotalAmtLocked: u128], { exCandidate: AccountId20; unlockedAmount: u128; newTotalAmtLocked: u128 } >; - /** Candidate has requested to leave the set of candidates. */ + /** + * Candidate has requested to leave the set of candidates. + **/ CandidateScheduledExit: AugmentedEvent< ApiType, [exitAllowedRound: u32, candidate: AccountId20, scheduledExit: u32], { exitAllowedRound: u32; candidate: AccountId20; scheduledExit: u32 } >; - /** Candidate temporarily leave the set of collator candidates without unbonding. */ + /** + * Candidate temporarily leave the set of collator candidates without unbonding. + **/ CandidateWentOffline: AugmentedEvent< ApiType, [candidate: AccountId20], { candidate: AccountId20 } >; - /** Candidate selected for collators. Total Exposed Amount includes all delegations. */ + /** + * Candidate selected for collators. Total Exposed Amount includes all delegations. + **/ CollatorChosen: AugmentedEvent< ApiType, [round: u32, collatorAccount: AccountId20, totalExposedAmount: u128], { round: u32; collatorAccount: AccountId20; totalExposedAmount: u128 } >; - /** Set collator commission to this value. */ + /** + * Set collator commission to this value. + **/ CollatorCommissionSet: AugmentedEvent< ApiType, [old: Perbill, new_: Perbill], { old: Perbill; new_: Perbill } >; - /** Compounded a portion of rewards towards the delegation. */ + /** + * Compounded a portion of rewards towards the delegation. + **/ Compounded: AugmentedEvent< ApiType, [candidate: AccountId20, delegator: AccountId20, amount: u128], { candidate: AccountId20; delegator: AccountId20; amount: u128 } >; - /** New delegation (increase of the existing one). */ + /** + * New delegation (increase of the existing one). + **/ Delegation: AugmentedEvent< ApiType, [ @@ -1055,7 +1374,9 @@ declare module "@polkadot/api-base/types/events" { [delegator: AccountId20, candidate: AccountId20, amount: u128, inTop: bool], { delegator: AccountId20; candidate: AccountId20; amount: u128; inTop: bool } >; - /** Delegator requested to decrease a bond for the collator candidate. */ + /** + * Delegator requested to decrease a bond for the collator candidate. + **/ DelegationDecreaseScheduled: AugmentedEvent< ApiType, [delegator: AccountId20, candidate: AccountId20, amountToDecrease: u128, executeRound: u32], @@ -1071,43 +1392,57 @@ declare module "@polkadot/api-base/types/events" { [delegator: AccountId20, candidate: AccountId20, amount: u128, inTop: bool], { delegator: AccountId20; candidate: AccountId20; amount: u128; inTop: bool } >; - /** Delegation kicked. */ + /** + * Delegation kicked. + **/ DelegationKicked: AugmentedEvent< ApiType, [delegator: AccountId20, candidate: AccountId20, unstakedAmount: u128], { delegator: AccountId20; candidate: AccountId20; unstakedAmount: u128 } >; - /** Delegator requested to revoke delegation. */ + /** + * Delegator requested to revoke delegation. + **/ DelegationRevocationScheduled: AugmentedEvent< ApiType, [round: u32, delegator: AccountId20, candidate: AccountId20, scheduledExit: u32], { round: u32; delegator: AccountId20; candidate: AccountId20; scheduledExit: u32 } >; - /** Delegation revoked. */ + /** + * Delegation revoked. + **/ DelegationRevoked: AugmentedEvent< ApiType, [delegator: AccountId20, candidate: AccountId20, unstakedAmount: u128], { delegator: AccountId20; candidate: AccountId20; unstakedAmount: u128 } >; - /** Cancelled a pending request to exit the set of delegators. */ + /** + * Cancelled a pending request to exit the set of delegators. + **/ DelegatorExitCancelled: AugmentedEvent< ApiType, [delegator: AccountId20], { delegator: AccountId20 } >; - /** Delegator requested to leave the set of delegators. */ + /** + * Delegator requested to leave the set of delegators. + **/ DelegatorExitScheduled: AugmentedEvent< ApiType, [round: u32, delegator: AccountId20, scheduledExit: u32], { round: u32; delegator: AccountId20; scheduledExit: u32 } >; - /** Delegator has left the set of delegators. */ + /** + * Delegator has left the set of delegators. + **/ DelegatorLeft: AugmentedEvent< ApiType, [delegator: AccountId20, unstakedAmount: u128], { delegator: AccountId20; unstakedAmount: u128 } >; - /** Delegation from candidate state has been remove. */ + /** + * Delegation from candidate state has been remove. + **/ DelegatorLeftCandidate: AugmentedEvent< ApiType, [ @@ -1123,7 +1458,9 @@ declare module "@polkadot/api-base/types/events" { totalCandidateStaked: u128; } >; - /** Transferred to account which holds funds reserved for parachain bond. */ + /** + * Transferred to account which holds funds reserved for parachain bond. + **/ InflationDistributed: AugmentedEvent< ApiType, [index: u32, account: AccountId20, value: u128], @@ -1140,7 +1477,9 @@ declare module "@polkadot/api-base/types/events" { new_: PalletParachainStakingInflationDistributionConfig; } >; - /** Annual inflation input (first 3) was used to derive new per-round inflation (last 3) */ + /** + * Annual inflation input (first 3) was used to derive new per-round inflation (last 3) + **/ InflationSet: AugmentedEvent< ApiType, [ @@ -1160,61 +1499,87 @@ declare module "@polkadot/api-base/types/events" { roundMax: Perbill; } >; - /** Account joined the set of collator candidates. */ + /** + * Account joined the set of collator candidates. + **/ JoinedCollatorCandidates: AugmentedEvent< ApiType, [account: AccountId20, amountLocked: u128, newTotalAmtLocked: u128], { account: AccountId20; amountLocked: u128; newTotalAmtLocked: u128 } >; - /** Started new round. */ + /** + * Started new round. + **/ NewRound: AugmentedEvent< ApiType, [startingBlock: u32, round: u32, selectedCollatorsNumber: u32, totalBalance: u128], { startingBlock: u32; round: u32; selectedCollatorsNumber: u32; totalBalance: u128 } >; - /** Paid the account (delegator or collator) the balance as liquid rewards. */ + /** + * Paid the account (delegator or collator) the balance as liquid rewards. + **/ Rewarded: AugmentedEvent< ApiType, [account: AccountId20, rewards: u128], { account: AccountId20; rewards: u128 } >; - /** Staking expectations set. */ + /** + * Staking expectations set. + **/ StakeExpectationsSet: AugmentedEvent< ApiType, [expectMin: u128, expectIdeal: u128, expectMax: u128], { expectMin: u128; expectIdeal: u128; expectMax: u128 } >; - /** Set total selected candidates to this value. */ + /** + * Set total selected candidates to this value. + **/ TotalSelectedSet: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; parachainSystem: { - /** Downward messages were processed using the given weight. */ + /** + * Downward messages were processed using the given weight. + **/ DownwardMessagesProcessed: AugmentedEvent< ApiType, [weightUsed: SpWeightsWeightV2Weight, dmqHead: H256], { weightUsed: SpWeightsWeightV2Weight; dmqHead: H256 } >; - /** Some downward messages have been received and will be processed. */ + /** + * Some downward messages have been received and will be processed. + **/ DownwardMessagesReceived: AugmentedEvent; - /** An upward message was sent to the relay chain. */ + /** + * An upward message was sent to the relay chain. + **/ UpwardMessageSent: AugmentedEvent< ApiType, [messageHash: Option], { messageHash: Option } >; - /** The validation function was applied as of the contained relay chain block number. */ + /** + * The validation function was applied as of the contained relay chain block number. + **/ ValidationFunctionApplied: AugmentedEvent< ApiType, [relayChainBlockNum: u32], { relayChainBlockNum: u32 } >; - /** The relay-chain aborted the upgrade process. */ + /** + * The relay-chain aborted the upgrade process. + **/ ValidationFunctionDiscarded: AugmentedEvent; - /** The validation function has been scheduled to apply. */ + /** + * The validation function has been scheduled to apply. + **/ ValidationFunctionStored: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; parameters: { @@ -1222,7 +1587,7 @@ declare module "@polkadot/api-base/types/events" { * A Parameter was set. * * Is also emitted when the value was not changed. - */ + **/ Updated: AugmentedEvent< ApiType, [ @@ -1236,39 +1601,49 @@ declare module "@polkadot/api-base/types/events" { newValue: Option; } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; polkadotXcm: { - /** Some assets have been claimed from an asset trap */ + /** + * Some assets have been claimed from an asset trap + **/ AssetsClaimed: AugmentedEvent< ApiType, [hash_: H256, origin: StagingXcmV4Location, assets: XcmVersionedAssets], { hash_: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets } >; - /** Some assets have been placed in an asset trap. */ + /** + * Some assets have been placed in an asset trap. + **/ AssetsTrapped: AugmentedEvent< ApiType, [hash_: H256, origin: StagingXcmV4Location, assets: XcmVersionedAssets], { hash_: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets } >; - /** Execution of an XCM message was attempted. */ + /** + * Execution of an XCM message was attempted. + **/ Attempted: AugmentedEvent< ApiType, [outcome: StagingXcmV4TraitsOutcome], { outcome: StagingXcmV4TraitsOutcome } >; - /** Fees were paid from a location for an operation (often for using `SendXcm`). */ + /** + * Fees were paid from a location for an operation (often for using `SendXcm`). + **/ FeesPaid: AugmentedEvent< ApiType, [paying: StagingXcmV4Location, fees: StagingXcmV4AssetAssets], { paying: StagingXcmV4Location; fees: StagingXcmV4AssetAssets } >; /** - * Expected query response has been received but the querier location of the response does not - * match the expected. The query remains registered for a later, valid, response to be - * received and acted upon. - */ + * Expected query response has been received but the querier location of the response does + * not match the expected. The query remains registered for a later, valid, response to + * be received and acted upon. + **/ InvalidQuerier: AugmentedEvent< ApiType, [ @@ -1288,20 +1663,21 @@ declare module "@polkadot/api-base/types/events" { * Expected query response has been received but the expected querier location placed in * storage by this runtime previously cannot be decoded. The query remains registered. * - * This is unexpected (since a location placed in storage in a previously executing runtime - * should be readable prior to query timeout) and dangerous since the possibly valid response - * will be dropped. Manual governance intervention is probably going to be needed. - */ + * This is unexpected (since a location placed in storage in a previously executing + * runtime should be readable prior to query timeout) and dangerous since the possibly + * valid response will be dropped. Manual governance intervention is probably going to be + * needed. + **/ InvalidQuerierVersion: AugmentedEvent< ApiType, [origin: StagingXcmV4Location, queryId: u64], { origin: StagingXcmV4Location; queryId: u64 } >; /** - * Expected query response has been received but the origin location of the response does not - * match that expected. The query remains registered for a later, valid, response to be - * received and acted upon. - */ + * Expected query response has been received but the origin location of the response does + * not match that expected. The query remains registered for a later, valid, response to + * be received and acted upon. + **/ InvalidResponder: AugmentedEvent< ApiType, [ @@ -1319,19 +1695,20 @@ declare module "@polkadot/api-base/types/events" { * Expected query response has been received but the expected origin location placed in * storage by this runtime previously cannot be decoded. The query remains registered. * - * This is unexpected (since a location placed in storage in a previously executing runtime - * should be readable prior to query timeout) and dangerous since the possibly valid response - * will be dropped. Manual governance intervention is probably going to be needed. - */ + * This is unexpected (since a location placed in storage in a previously executing + * runtime should be readable prior to query timeout) and dangerous since the possibly + * valid response will be dropped. Manual governance intervention is probably going to be + * needed. + **/ InvalidResponderVersion: AugmentedEvent< ApiType, [origin: StagingXcmV4Location, queryId: u64], { origin: StagingXcmV4Location; queryId: u64 } >; /** - * Query response has been received and query is removed. The registered notification has been - * dispatched and executed successfully. - */ + * Query response has been received and query is removed. The registered notification has + * been dispatched and executed successfully. + **/ Notified: AugmentedEvent< ApiType, [queryId: u64, palletIndex: u8, callIndex: u8], @@ -1339,9 +1716,9 @@ declare module "@polkadot/api-base/types/events" { >; /** * Query response has been received and query is removed. The dispatch was unable to be - * decoded into a `Call`; this might be due to dispatch function having a signature which is - * not `(origin, QueryId, Response)`. - */ + * decoded into a `Call`; this might be due to dispatch function having a signature which + * is not `(origin, QueryId, Response)`. + **/ NotifyDecodeFailed: AugmentedEvent< ApiType, [queryId: u64, palletIndex: u8, callIndex: u8], @@ -1350,17 +1727,17 @@ declare module "@polkadot/api-base/types/events" { /** * Query response has been received and query is removed. There was a general error with * dispatching the notification call. - */ + **/ NotifyDispatchError: AugmentedEvent< ApiType, [queryId: u64, palletIndex: u8, callIndex: u8], { queryId: u64; palletIndex: u8; callIndex: u8 } >; /** - * Query response has been received and query is removed. The registered notification could - * not be dispatched because the dispatch weight is greater than the maximum weight originally - * budgeted by this runtime for the query result. - */ + * Query response has been received and query is removed. The registered notification + * could not be dispatched because the dispatch weight is greater than the maximum weight + * originally budgeted by this runtime for the query result. + **/ NotifyOverweight: AugmentedEvent< ApiType, [ @@ -1381,7 +1758,7 @@ declare module "@polkadot/api-base/types/events" { /** * A given location which had a version change subscription was dropped owing to an error * migrating the location to our new XCM format. - */ + **/ NotifyTargetMigrationFail: AugmentedEvent< ApiType, [location: XcmVersionedLocation, queryId: u64], @@ -1390,24 +1767,28 @@ declare module "@polkadot/api-base/types/events" { /** * A given location which had a version change subscription was dropped owing to an error * sending the notification to it. - */ + **/ NotifyTargetSendFail: AugmentedEvent< ApiType, [location: StagingXcmV4Location, queryId: u64, error: XcmV3TraitsError], { location: StagingXcmV4Location; queryId: u64; error: XcmV3TraitsError } >; /** - * Query response has been received and is ready for taking with `take_response`. There is no - * registered notification call. - */ + * Query response has been received and is ready for taking with `take_response`. There is + * no registered notification call. + **/ ResponseReady: AugmentedEvent< ApiType, [queryId: u64, response: StagingXcmV4Response], { queryId: u64; response: StagingXcmV4Response } >; - /** Received query response has been read and removed. */ + /** + * Received query response has been read and removed. + **/ ResponseTaken: AugmentedEvent; - /** A XCM message was sent. */ + /** + * A XCM message was sent. + **/ Sent: AugmentedEvent< ApiType, [ @@ -1424,9 +1805,9 @@ declare module "@polkadot/api-base/types/events" { } >; /** - * The supported version of a location has been changed. This might be through an automatic - * notification or a manual intervention. - */ + * The supported version of a location has been changed. This might be through an + * automatic notification or a manual intervention. + **/ SupportedVersionChanged: AugmentedEvent< ApiType, [location: StagingXcmV4Location, version: u32], @@ -1436,7 +1817,7 @@ declare module "@polkadot/api-base/types/events" { * Query response received which does not match a registered query. This may be because a * matching query was never registered, it may be because it is a duplicate response, or * because the query timed out. - */ + **/ UnexpectedResponse: AugmentedEvent< ApiType, [origin: StagingXcmV4Location, queryId: u64], @@ -1446,7 +1827,7 @@ declare module "@polkadot/api-base/types/events" { * An XCM version change notification message has been attempted to be sent. * * The cost of sending it (borne by the chain) is included. - */ + **/ VersionChangeNotified: AugmentedEvent< ApiType, [ @@ -1462,50 +1843,71 @@ declare module "@polkadot/api-base/types/events" { messageId: U8aFixed; } >; - /** A XCM version migration finished. */ + /** + * A XCM version migration finished. + **/ VersionMigrationFinished: AugmentedEvent; - /** We have requested that a remote chain send us XCM version change notifications. */ + /** + * We have requested that a remote chain send us XCM version change notifications. + **/ VersionNotifyRequested: AugmentedEvent< ApiType, [destination: StagingXcmV4Location, cost: StagingXcmV4AssetAssets, messageId: U8aFixed], { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: U8aFixed } >; /** - * A remote has requested XCM version change notification from us and we have honored it. A - * version information message is sent to them and its cost is included. - */ + * A remote has requested XCM version change notification from us and we have honored it. + * A version information message is sent to them and its cost is included. + **/ VersionNotifyStarted: AugmentedEvent< ApiType, [destination: StagingXcmV4Location, cost: StagingXcmV4AssetAssets, messageId: U8aFixed], { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: U8aFixed } >; - /** We have requested that a remote chain stops sending us XCM version change notifications. */ + /** + * We have requested that a remote chain stops sending us XCM version change + * notifications. + **/ VersionNotifyUnrequested: AugmentedEvent< ApiType, [destination: StagingXcmV4Location, cost: StagingXcmV4AssetAssets, messageId: U8aFixed], { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: U8aFixed } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; preimage: { - /** A preimage has ben cleared. */ + /** + * A preimage has ben cleared. + **/ Cleared: AugmentedEvent; - /** A preimage has been noted. */ + /** + * A preimage has been noted. + **/ Noted: AugmentedEvent; - /** A preimage has been requested. */ + /** + * A preimage has been requested. + **/ Requested: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; proxy: { - /** An announcement was placed to make a call in the future. */ + /** + * An announcement was placed to make a call in the future. + **/ Announced: AugmentedEvent< ApiType, [real: AccountId20, proxy: AccountId20, callHash: H256], { real: AccountId20; proxy: AccountId20; callHash: H256 } >; - /** A proxy was added. */ + /** + * A proxy was added. + **/ ProxyAdded: AugmentedEvent< ApiType, [ @@ -1521,13 +1923,17 @@ declare module "@polkadot/api-base/types/events" { delay: u32; } >; - /** A proxy was executed correctly, with the given. */ + /** + * A proxy was executed correctly, with the given. + **/ ProxyExecuted: AugmentedEvent< ApiType, [result: Result], { result: Result } >; - /** A proxy was removed. */ + /** + * A proxy was removed. + **/ ProxyRemoved: AugmentedEvent< ApiType, [ @@ -1543,7 +1949,10 @@ declare module "@polkadot/api-base/types/events" { delay: u32; } >; - /** A pure account has been created by new proxy with given disambiguation index and proxy type. */ + /** + * A pure account has been created by new proxy with given + * disambiguation index and proxy type. + **/ PureCreated: AugmentedEvent< ApiType, [ @@ -1559,7 +1968,9 @@ declare module "@polkadot/api-base/types/events" { disambiguationIndex: u16; } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; randomness: { @@ -1616,39 +2027,53 @@ declare module "@polkadot/api-base/types/events" { { id: u64; newFee: u128 } >; RequestFulfilled: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; referenda: { - /** A referendum has been approved and its proposal has been scheduled. */ + /** + * A referendum has been approved and its proposal has been scheduled. + **/ Approved: AugmentedEvent; - /** A referendum has been cancelled. */ + /** + * A referendum has been cancelled. + **/ Cancelled: AugmentedEvent< ApiType, [index: u32, tally: PalletConvictionVotingTally], { index: u32; tally: PalletConvictionVotingTally } >; ConfirmAborted: AugmentedEvent; - /** A referendum has ended its confirmation phase and is ready for approval. */ + /** + * A referendum has ended its confirmation phase and is ready for approval. + **/ Confirmed: AugmentedEvent< ApiType, [index: u32, tally: PalletConvictionVotingTally], { index: u32; tally: PalletConvictionVotingTally } >; ConfirmStarted: AugmentedEvent; - /** The decision deposit has been placed. */ + /** + * The decision deposit has been placed. + **/ DecisionDepositPlaced: AugmentedEvent< ApiType, [index: u32, who: AccountId20, amount: u128], { index: u32; who: AccountId20; amount: u128 } >; - /** The decision deposit has been refunded. */ + /** + * The decision deposit has been refunded. + **/ DecisionDepositRefunded: AugmentedEvent< ApiType, [index: u32, who: AccountId20, amount: u128], { index: u32; who: AccountId20; amount: u128 } >; - /** A referendum has moved into the deciding phase. */ + /** + * A referendum has moved into the deciding phase. + **/ DecisionStarted: AugmentedEvent< ApiType, [ @@ -1664,69 +2089,97 @@ declare module "@polkadot/api-base/types/events" { tally: PalletConvictionVotingTally; } >; - /** A deposit has been slashed. */ + /** + * A deposit has been slashed. + **/ DepositSlashed: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** A referendum has been killed. */ + /** + * A referendum has been killed. + **/ Killed: AugmentedEvent< ApiType, [index: u32, tally: PalletConvictionVotingTally], { index: u32; tally: PalletConvictionVotingTally } >; - /** Metadata for a referendum has been cleared. */ + /** + * Metadata for a referendum has been cleared. + **/ MetadataCleared: AugmentedEvent< ApiType, [index: u32, hash_: H256], { index: u32; hash_: H256 } >; - /** Metadata for a referendum has been set. */ + /** + * Metadata for a referendum has been set. + **/ MetadataSet: AugmentedEvent; - /** A proposal has been rejected by referendum. */ + /** + * A proposal has been rejected by referendum. + **/ Rejected: AugmentedEvent< ApiType, [index: u32, tally: PalletConvictionVotingTally], { index: u32; tally: PalletConvictionVotingTally } >; - /** The submission deposit has been refunded. */ + /** + * The submission deposit has been refunded. + **/ SubmissionDepositRefunded: AugmentedEvent< ApiType, [index: u32, who: AccountId20, amount: u128], { index: u32; who: AccountId20; amount: u128 } >; - /** A referendum has been submitted. */ + /** + * A referendum has been submitted. + **/ Submitted: AugmentedEvent< ApiType, [index: u32, track: u16, proposal: FrameSupportPreimagesBounded], { index: u32; track: u16; proposal: FrameSupportPreimagesBounded } >; - /** A referendum has been timed out without being decided. */ + /** + * A referendum has been timed out without being decided. + **/ TimedOut: AugmentedEvent< ApiType, [index: u32, tally: PalletConvictionVotingTally], { index: u32; tally: PalletConvictionVotingTally } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; rootTesting: { - /** Event dispatched when the trigger_defensive extrinsic is called. */ + /** + * Event dispatched when the trigger_defensive extrinsic is called. + **/ DefensiveTestCall: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; scheduler: { - /** The call for the provided hash was not found so the task has been aborted. */ + /** + * The call for the provided hash was not found so the task has been aborted. + **/ CallUnavailable: AugmentedEvent< ApiType, [task: ITuple<[u32, u32]>, id: Option], { task: ITuple<[u32, u32]>; id: Option } >; - /** Canceled some task. */ + /** + * Canceled some task. + **/ Canceled: AugmentedEvent; - /** Dispatched some task. */ + /** + * Dispatched some task. + **/ Dispatched: AugmentedEvent< ApiType, [ @@ -1740,117 +2193,159 @@ declare module "@polkadot/api-base/types/events" { result: Result; } >; - /** The given task was unable to be renewed since the agenda is full at that block. */ + /** + * The given task was unable to be renewed since the agenda is full at that block. + **/ PeriodicFailed: AugmentedEvent< ApiType, [task: ITuple<[u32, u32]>, id: Option], { task: ITuple<[u32, u32]>; id: Option } >; - /** The given task can never be executed since it is overweight. */ + /** + * The given task can never be executed since it is overweight. + **/ PermanentlyOverweight: AugmentedEvent< ApiType, [task: ITuple<[u32, u32]>, id: Option], { task: ITuple<[u32, u32]>; id: Option } >; - /** Cancel a retry configuration for some task. */ + /** + * Cancel a retry configuration for some task. + **/ RetryCancelled: AugmentedEvent< ApiType, [task: ITuple<[u32, u32]>, id: Option], { task: ITuple<[u32, u32]>; id: Option } >; /** - * The given task was unable to be retried since the agenda is full at that block or there was - * not enough weight to reschedule it. - */ + * The given task was unable to be retried since the agenda is full at that block or there + * was not enough weight to reschedule it. + **/ RetryFailed: AugmentedEvent< ApiType, [task: ITuple<[u32, u32]>, id: Option], { task: ITuple<[u32, u32]>; id: Option } >; - /** Set a retry configuration for some task. */ + /** + * Set a retry configuration for some task. + **/ RetrySet: AugmentedEvent< ApiType, [task: ITuple<[u32, u32]>, id: Option, period: u32, retries: u8], { task: ITuple<[u32, u32]>; id: Option; period: u32; retries: u8 } >; - /** Scheduled some task. */ + /** + * Scheduled some task. + **/ Scheduled: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; sudo: { - /** The sudo key has been updated. */ + /** + * The sudo key has been updated. + **/ KeyChanged: AugmentedEvent< ApiType, [old: Option, new_: AccountId20], { old: Option; new_: AccountId20 } >; - /** The key was permanently removed. */ + /** + * The key was permanently removed. + **/ KeyRemoved: AugmentedEvent; - /** A sudo call just took place. */ + /** + * A sudo call just took place. + **/ Sudid: AugmentedEvent< ApiType, [sudoResult: Result], { sudoResult: Result } >; - /** A [sudo_as](Pallet::sudo_as) call just took place. */ + /** + * A [sudo_as](Pallet::sudo_as) call just took place. + **/ SudoAsDone: AugmentedEvent< ApiType, [sudoResult: Result], { sudoResult: Result } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; system: { - /** `:code` was updated. */ + /** + * `:code` was updated. + **/ CodeUpdated: AugmentedEvent; - /** An extrinsic failed. */ + /** + * An extrinsic failed. + **/ ExtrinsicFailed: AugmentedEvent< ApiType, [dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSupportDispatchDispatchInfo], { dispatchError: SpRuntimeDispatchError; dispatchInfo: FrameSupportDispatchDispatchInfo } >; - /** An extrinsic completed successfully. */ + /** + * An extrinsic completed successfully. + **/ ExtrinsicSuccess: AugmentedEvent< ApiType, [dispatchInfo: FrameSupportDispatchDispatchInfo], { dispatchInfo: FrameSupportDispatchDispatchInfo } >; - /** An account was reaped. */ + /** + * An account was reaped. + **/ KilledAccount: AugmentedEvent; - /** A new account was created. */ + /** + * A new account was created. + **/ NewAccount: AugmentedEvent; - /** On on-chain remark happened. */ + /** + * On on-chain remark happened. + **/ Remarked: AugmentedEvent< ApiType, [sender: AccountId20, hash_: H256], { sender: AccountId20; hash_: H256 } >; - /** An upgrade was authorized. */ + /** + * An upgrade was authorized. + **/ UpgradeAuthorized: AugmentedEvent< ApiType, [codeHash: H256, checkVersion: bool], { codeHash: H256; checkVersion: bool } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; transactionPayment: { /** - * A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee, has - * been paid by `who`. - */ + * A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee, + * has been paid by `who`. + **/ TransactionFeePaid: AugmentedEvent< ApiType, [who: AccountId20, actualFee: u128, tip: u128], { who: AccountId20; actualFee: u128; tip: u128 } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; treasury: { - /** A new asset spend proposal has been approved. */ + /** + * A new asset spend proposal has been approved. + **/ AssetSpendApproved: AugmentedEvent< ApiType, [ @@ -1870,120 +2365,169 @@ declare module "@polkadot/api-base/types/events" { expireAt: u32; } >; - /** An approved spend was voided. */ + /** + * An approved spend was voided. + **/ AssetSpendVoided: AugmentedEvent; - /** Some funds have been allocated. */ + /** + * Some funds have been allocated. + **/ Awarded: AugmentedEvent< ApiType, [proposalIndex: u32, award: u128, account: AccountId20], { proposalIndex: u32; award: u128; account: AccountId20 } >; - /** Some of our funds have been burnt. */ + /** + * Some of our funds have been burnt. + **/ Burnt: AugmentedEvent; - /** Some funds have been deposited. */ + /** + * Some funds have been deposited. + **/ Deposit: AugmentedEvent; - /** A payment happened. */ + /** + * A payment happened. + **/ Paid: AugmentedEvent; - /** A payment failed and can be retried. */ + /** + * A payment failed and can be retried. + **/ PaymentFailed: AugmentedEvent< ApiType, [index: u32, paymentId: Null], { index: u32; paymentId: Null } >; - /** Spending has finished; this is the amount that rolls over until next spend. */ + /** + * Spending has finished; this is the amount that rolls over until next spend. + **/ Rollover: AugmentedEvent; - /** A new spend proposal has been approved. */ + /** + * A new spend proposal has been approved. + **/ SpendApproved: AugmentedEvent< ApiType, [proposalIndex: u32, amount: u128, beneficiary: AccountId20], { proposalIndex: u32; amount: u128; beneficiary: AccountId20 } >; - /** We have ended a spend period and will now allocate funds. */ + /** + * We have ended a spend period and will now allocate funds. + **/ Spending: AugmentedEvent; /** - * A spend was processed and removed from the storage. It might have been successfully paid or - * it may have expired. - */ + * A spend was processed and removed from the storage. It might have been successfully + * paid or it may have expired. + **/ SpendProcessed: AugmentedEvent; - /** The inactive funds of the pallet have been updated. */ + /** + * The inactive funds of the pallet have been updated. + **/ UpdatedInactive: AugmentedEvent< ApiType, [reactivated: u128, deactivated: u128], { reactivated: u128; deactivated: u128 } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; treasuryCouncilCollective: { - /** A motion was approved by the required threshold. */ + /** + * A motion was approved by the required threshold. + **/ Approved: AugmentedEvent; - /** A proposal was closed because its threshold was reached or after its duration was up. */ + /** + * A proposal was closed because its threshold was reached or after its duration was up. + **/ Closed: AugmentedEvent< ApiType, [proposalHash: H256, yes: u32, no: u32], { proposalHash: H256; yes: u32; no: u32 } >; - /** A motion was not approved by the required threshold. */ + /** + * A motion was not approved by the required threshold. + **/ Disapproved: AugmentedEvent; - /** A motion was executed; result will be `Ok` if it returned without error. */ + /** + * A motion was executed; result will be `Ok` if it returned without error. + **/ Executed: AugmentedEvent< ApiType, [proposalHash: H256, result: Result], { proposalHash: H256; result: Result } >; - /** A single member did some action; result will be `Ok` if it returned without error. */ + /** + * A single member did some action; result will be `Ok` if it returned without error. + **/ MemberExecuted: AugmentedEvent< ApiType, [proposalHash: H256, result: Result], { proposalHash: H256; result: Result } >; - /** A motion (given hash) has been proposed (by given account) with a threshold (given `MemberCount`). */ + /** + * A motion (given hash) has been proposed (by given account) with a threshold (given + * `MemberCount`). + **/ Proposed: AugmentedEvent< ApiType, [account: AccountId20, proposalIndex: u32, proposalHash: H256, threshold: u32], { account: AccountId20; proposalIndex: u32; proposalHash: H256; threshold: u32 } >; /** - * A motion (given hash) has been voted on by given account, leaving a tally (yes votes and no - * votes given respectively as `MemberCount`). - */ + * A motion (given hash) has been voted on by given account, leaving + * a tally (yes votes and no votes given respectively as `MemberCount`). + **/ Voted: AugmentedEvent< ApiType, [account: AccountId20, proposalHash: H256, voted: bool, yes: u32, no: u32], { account: AccountId20; proposalHash: H256; voted: bool; yes: u32; no: u32 } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; utility: { - /** Batch of dispatches completed fully with no error. */ + /** + * Batch of dispatches completed fully with no error. + **/ BatchCompleted: AugmentedEvent; - /** Batch of dispatches completed but has errors. */ + /** + * Batch of dispatches completed but has errors. + **/ BatchCompletedWithErrors: AugmentedEvent; /** - * Batch of dispatches did not complete fully. Index of first failing dispatch given, as well - * as the error. - */ + * Batch of dispatches did not complete fully. Index of first failing dispatch given, as + * well as the error. + **/ BatchInterrupted: AugmentedEvent< ApiType, [index: u32, error: SpRuntimeDispatchError], { index: u32; error: SpRuntimeDispatchError } >; - /** A call was dispatched. */ + /** + * A call was dispatched. + **/ DispatchedAs: AugmentedEvent< ApiType, [result: Result], { result: Result } >; - /** A single item within a Batch of dispatches has completed with no error. */ + /** + * A single item within a Batch of dispatches has completed with no error. + **/ ItemCompleted: AugmentedEvent; - /** A single item within a Batch of dispatches has completed with error. */ + /** + * A single item within a Batch of dispatches has completed with error. + **/ ItemFailed: AugmentedEvent< ApiType, [error: SpRuntimeDispatchError], { error: SpRuntimeDispatchError } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; whitelist: { @@ -2000,66 +2544,90 @@ declare module "@polkadot/api-base/types/events" { } >; WhitelistedCallRemoved: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; xcmpQueue: { - /** An HRMP message was sent to a sibling parachain. */ + /** + * An HRMP message was sent to a sibling parachain. + **/ XcmpMessageSent: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; xcmTransactor: { DeRegisteredDerivative: AugmentedEvent; - /** Set dest fee per second */ + /** + * Set dest fee per second + **/ DestFeePerSecondChanged: AugmentedEvent< ApiType, [location: StagingXcmV4Location, feePerSecond: u128], { location: StagingXcmV4Location; feePerSecond: u128 } >; - /** Remove dest fee per second */ + /** + * Remove dest fee per second + **/ DestFeePerSecondRemoved: AugmentedEvent< ApiType, [location: StagingXcmV4Location], { location: StagingXcmV4Location } >; - /** HRMP manage action succesfully sent */ + /** + * HRMP manage action succesfully sent + **/ HrmpManagementSent: AugmentedEvent< ApiType, [action: PalletXcmTransactorHrmpOperation], { action: PalletXcmTransactorHrmpOperation } >; - /** Registered a derivative index for an account id. */ + /** + * Registered a derivative index for an account id. + **/ RegisteredDerivative: AugmentedEvent< ApiType, [accountId: AccountId20, index: u16], { accountId: AccountId20; index: u16 } >; - /** Transacted the inner call through a derivative account in a destination chain. */ + /** + * Transacted the inner call through a derivative account in a destination chain. + **/ TransactedDerivative: AugmentedEvent< ApiType, [accountId: AccountId20, dest: StagingXcmV4Location, call: Bytes, index: u16], { accountId: AccountId20; dest: StagingXcmV4Location; call: Bytes; index: u16 } >; - /** Transacted the call through a signed account in a destination chain. */ + /** + * Transacted the call through a signed account in a destination chain. + **/ TransactedSigned: AugmentedEvent< ApiType, [feePayer: AccountId20, dest: StagingXcmV4Location, call: Bytes], { feePayer: AccountId20; dest: StagingXcmV4Location; call: Bytes } >; - /** Transacted the call through the sovereign account in a destination chain. */ + /** + * Transacted the call through the sovereign account in a destination chain. + **/ TransactedSovereign: AugmentedEvent< ApiType, [feePayer: Option, dest: StagingXcmV4Location, call: Bytes], { feePayer: Option; dest: StagingXcmV4Location; call: Bytes } >; - /** Transact failed */ + /** + * Transact failed + **/ TransactFailed: AugmentedEvent< ApiType, [error: XcmV3TraitsError], { error: XcmV3TraitsError } >; - /** Changed the transact info of a location */ + /** + * Changed the transact info of a location + **/ TransactInfoChanged: AugmentedEvent< ApiType, [ @@ -2071,47 +2639,63 @@ declare module "@polkadot/api-base/types/events" { remoteInfo: PalletXcmTransactorRemoteTransactInfoWithMaxWeight; } >; - /** Removed the transact info of a location */ + /** + * Removed the transact info of a location + **/ TransactInfoRemoved: AugmentedEvent< ApiType, [location: StagingXcmV4Location], { location: StagingXcmV4Location } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; xcmWeightTrader: { - /** Pause support for a given asset */ + /** + * Pause support for a given asset + **/ PauseAssetSupport: AugmentedEvent< ApiType, [location: StagingXcmV4Location], { location: StagingXcmV4Location } >; - /** Resume support for a given asset */ + /** + * Resume support for a given asset + **/ ResumeAssetSupport: AugmentedEvent< ApiType, [location: StagingXcmV4Location], { location: StagingXcmV4Location } >; - /** New supported asset is registered */ + /** + * New supported asset is registered + **/ SupportedAssetAdded: AugmentedEvent< ApiType, [location: StagingXcmV4Location, relativePrice: u128], { location: StagingXcmV4Location; relativePrice: u128 } >; - /** Changed the amount of units we are charging per execution second for a given asset */ + /** + * Changed the amount of units we are charging per execution second for a given asset + **/ SupportedAssetEdited: AugmentedEvent< ApiType, [location: StagingXcmV4Location, relativePrice: u128], { location: StagingXcmV4Location; relativePrice: u128 } >; - /** Supported asset type for fee payment removed */ + /** + * Supported asset type for fee payment removed + **/ SupportedAssetRemoved: AugmentedEvent< ApiType, [location: StagingXcmV4Location], { location: StagingXcmV4Location } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; } // AugmentedEvents diff --git a/typescript-api/src/moonbase/interfaces/augment-api-query.ts b/typescript-api/src/moonbase/interfaces/augment-api-query.ts index 512687becb..9d7cf20d01 100644 --- a/typescript-api/src/moonbase/interfaces/augment-api-query.ts +++ b/typescript-api/src/moonbase/interfaces/augment-api-query.ts @@ -21,7 +21,7 @@ import type { u128, u16, u32, - u64, + u64 } from "@polkadot/types-codec"; import type { AnyNumber, ITuple } from "@polkadot/types-codec/types"; import type { @@ -30,7 +30,7 @@ import type { H160, H256, Perbill, - Percent, + Percent } from "@polkadot/types/interfaces/runtime"; import type { CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, @@ -121,7 +121,7 @@ import type { StagingXcmV4Location, StagingXcmV4Xcm, XcmVersionedAssetId, - XcmVersionedLocation, + XcmVersionedLocation } from "@polkadot/types/lookup"; import type { Observable } from "@polkadot/types/types"; @@ -132,9 +132,10 @@ declare module "@polkadot/api-base/types/storage" { interface AugmentedQueries { assetManager: { /** - * Mapping from an asset id to asset type. This is mostly used when receiving transaction - * specifying an asset directly, like transferring an asset from this chain to another. - */ + * Mapping from an asset id to asset type. + * This is mostly used when receiving transaction specifying an asset directly, + * like transferring an asset from this chain to another. + **/ assetIdType: AugmentedQuery< ApiType, ( @@ -144,10 +145,10 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * Reverse mapping of AssetIdType. Mapping from an asset type to an asset id. This is mostly - * used when receiving a multilocation XCM message to retrieve the corresponding asset in - * which tokens should me minted. - */ + * Reverse mapping of AssetIdType. Mapping from an asset type to an asset id. + * This is mostly used when receiving a multilocation XCM message to retrieve + * the corresponding asset in which tokens should me minted. + **/ assetTypeId: AugmentedQuery< ApiType, ( @@ -156,11 +157,15 @@ declare module "@polkadot/api-base/types/storage" { [MoonbaseRuntimeXcmConfigAssetType] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; assets: { - /** The holdings of a specific account for a specific asset. */ + /** + * The holdings of a specific account for a specific asset. + **/ account: AugmentedQuery< ApiType, ( @@ -171,10 +176,10 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * Approved balance transfers. First balance is the amount approved for transfer. Second is - * the amount of `T::Currency` reserved for storing this. First key is the asset ID, second - * key is the owner and third key is the delegate. - */ + * Approved balance transfers. First balance is the amount approved for transfer. Second + * is the amount of `T::Currency` reserved for storing this. + * First key is the asset ID, second key is the owner and third key is the delegate. + **/ approvals: AugmentedQuery< ApiType, ( @@ -185,14 +190,18 @@ declare module "@polkadot/api-base/types/storage" { [u128, AccountId20, AccountId20] > & QueryableStorageEntry; - /** Details of an asset. */ + /** + * Details of an asset. + **/ asset: AugmentedQuery< ApiType, (arg: u128 | AnyNumber | Uint8Array) => Observable>, [u128] > & QueryableStorageEntry; - /** Metadata of an asset. */ + /** + * Metadata of an asset. + **/ metadata: AugmentedQuery< ApiType, (arg: u128 | AnyNumber | Uint8Array) => Observable, @@ -209,44 +218,61 @@ declare module "@polkadot/api-base/types/storage" { * * The initial next asset ID can be set using the [`GenesisConfig`] or the * [SetNextAssetId](`migration::next_asset_id::SetNextAssetId`) migration. - */ + **/ nextAssetId: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; asyncBacking: { /** * First tuple element is the highest slot that has been seen in the history of this chain. - * Second tuple element is the number of authored blocks so far. This is a strictly-increasing - * value if T::AllowMultipleBlocksPerSlot = false. - */ + * Second tuple element is the number of authored blocks so far. + * This is a strictly-increasing value if T::AllowMultipleBlocksPerSlot = false. + **/ slotInfo: AugmentedQuery Observable>>, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; authorFilter: { - /** The number of active authors that will be eligible at each height. */ + /** + * The number of active authors that will be eligible at each height. + **/ eligibleCount: AugmentedQuery Observable, []> & QueryableStorageEntry; eligibleRatio: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; authorInherent: { - /** Author of current block. */ + /** + * Author of current block. + **/ author: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Check if the inherent was included */ + /** + * Check if the inherent was included + **/ inherentIncluded: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; authorMapping: { - /** We maintain a mapping from the NimbusIds used in the consensus layer to the AccountIds runtime. */ + /** + * We maintain a mapping from the NimbusIds used in the consensus layer + * to the AccountIds runtime. + **/ mappingWithDeposit: AugmentedQuery< ApiType, ( @@ -255,7 +281,9 @@ declare module "@polkadot/api-base/types/storage" { [NimbusPrimitivesNimbusCryptoPublic] > & QueryableStorageEntry; - /** We maintain a reverse mapping from AccountIds to NimbusIDS */ + /** + * We maintain a reverse mapping from AccountIds to NimbusIDS + **/ nimbusLookup: AugmentedQuery< ApiType, ( @@ -264,7 +292,9 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; balances: { @@ -291,23 +321,27 @@ declare module "@polkadot/api-base/types/storage" { * * But this comes with tradeoffs, storing account balances in the system pallet stores * `frame_system` data alongside the account data contrary to storing account balances in the - * `Balances` pallet, which uses a `StorageMap` to store balances data only. NOTE: This is - * only used in the case that this pallet is used to store balances. - */ + * `Balances` pallet, which uses a `StorageMap` to store balances data only. + * NOTE: This is only used in the case that this pallet is used to store balances. + **/ account: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable, [AccountId20] > & QueryableStorageEntry; - /** Freeze locks on account balances. */ + /** + * Freeze locks on account balances. + **/ freezes: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable>, [AccountId20] > & QueryableStorageEntry; - /** Holds on account balances. */ + /** + * Holds on account balances. + **/ holds: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable< @@ -321,16 +355,17 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** The total units of outstanding deactivated balance in the system. */ + /** + * The total units of outstanding deactivated balance in the system. + **/ inactiveIssuance: AugmentedQuery Observable, []> & QueryableStorageEntry; /** - * Any liquidity locks on some account balances. NOTE: Should only be accessed when setting, - * changing and freeing a lock. + * Any liquidity locks on some account balances. + * NOTE: Should only be accessed when setting, changing and freeing a lock. * - * Use of locks is deprecated in favour of freezes. See - * `https://github.com/paritytech/substrate/pull/12951/` - */ + * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/` + **/ locks: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable>, @@ -340,19 +375,22 @@ declare module "@polkadot/api-base/types/storage" { /** * Named reserves on some account balances. * - * Use of reserves is deprecated in favour of holds. See - * `https://github.com/paritytech/substrate/pull/12951/` - */ + * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/` + **/ reserves: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable>, [AccountId20] > & QueryableStorageEntry; - /** The total units issued in the system. */ + /** + * The total units issued in the system. + **/ totalIssuance: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; convictionVoting: { @@ -360,7 +398,7 @@ declare module "@polkadot/api-base/types/storage" { * The voting classes which have a non-zero lock requirement and the lock amounts which they * require. The actual amount locked on behalf of this pallet should always be the maximum of * this list. - */ + **/ classLocksFor: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable>>, @@ -368,9 +406,9 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * All voting for a particular voter in a particular voting class. We store the balance for - * the number of votes that we have recorded. - */ + * All voting for a particular voter in a particular voting class. We store the balance for the + * number of votes that we have recorded. + **/ votingFor: AugmentedQuery< ApiType, ( @@ -380,7 +418,9 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20, u16] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; crowdloanRewards: { @@ -398,7 +438,9 @@ declare module "@polkadot/api-base/types/storage" { [U8aFixed] > & QueryableStorageEntry; - /** Vesting block height at the initialization of the pallet */ + /** + * Vesting block height at the initialization of the pallet + **/ endRelayBlock: AugmentedQuery Observable, []> & QueryableStorageEntry; initialized: AugmentedQuery Observable, []> & @@ -406,13 +448,17 @@ declare module "@polkadot/api-base/types/storage" { /** * Total initialized amount so far. We store this to make pallet funds == contributors reward * check easier and more efficient - */ + **/ initializedRewardAmount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Vesting block height at the initialization of the pallet */ + /** + * Vesting block height at the initialization of the pallet + **/ initRelayBlock: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Total number of contributors to aid hinting benchmarking */ + /** + * Total number of contributors to aid hinting benchmarking + **/ totalContributors: AugmentedQuery Observable, []> & QueryableStorageEntry; unassociatedContributions: AugmentedQuery< @@ -423,14 +469,20 @@ declare module "@polkadot/api-base/types/storage" { [U8aFixed] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; emergencyParaXcm: { - /** Whether incoming XCM is enabled or paused */ + /** + * Whether incoming XCM is enabled or paused + **/ mode: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; ethereum: { @@ -440,24 +492,32 @@ declare module "@polkadot/api-base/types/storage" { [U256] > & QueryableStorageEntry; - /** The current Ethereum block. */ + /** + * The current Ethereum block. + **/ currentBlock: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** The current Ethereum receipts. */ + /** + * The current Ethereum receipts. + **/ currentReceipts: AugmentedQuery< ApiType, () => Observable>>, [] > & QueryableStorageEntry; - /** The current transaction statuses. */ + /** + * The current transaction statuses. + **/ currentTransactionStatuses: AugmentedQuery< ApiType, () => Observable>>, [] > & QueryableStorageEntry; - /** Current building block's transactions and receipts. */ + /** + * Current building block's transactions and receipts. + **/ pending: AugmentedQuery< ApiType, () => Observable< @@ -470,24 +530,36 @@ declare module "@polkadot/api-base/types/storage" { [] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; ethereumChainId: { - /** The EVM chain ID. */ + /** + * The EVM chain ID. + **/ chainId: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; ethereumXcm: { - /** Whether or not Ethereum-XCM is suspended from executing */ + /** + * Whether or not Ethereum-XCM is suspended from executing + **/ ethereumXcmSuspended: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Global nonce used for building Ethereum transaction payload. */ + /** + * Global nonce used for building Ethereum transaction payload. + **/ nonce: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; evm: { @@ -515,14 +587,17 @@ declare module "@polkadot/api-base/types/storage" { [H160] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; evmForeignAssets: { /** - * Mapping from an asset id to a Foreign asset type. This is mostly used when receiving - * transaction specifying an asset directly, like transferring an asset from this chain to another. - */ + * Mapping from an asset id to a Foreign asset type. + * This is mostly used when receiving transaction specifying an asset directly, + * like transferring an asset from this chain to another. + **/ assetsById: AugmentedQuery< ApiType, (arg: u128 | AnyNumber | Uint8Array) => Observable>, @@ -530,10 +605,10 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * Reverse mapping of AssetsById. Mapping from a foreign asset to an asset id. This is mostly - * used when receiving a multilocation XCM message to retrieve the corresponding asset in - * which tokens should me minted. - */ + * Reverse mapping of AssetsById. Mapping from a foreign asset to an asset id. + * This is mostly used when receiving a multilocation XCM message to retrieve + * the corresponding asset in which tokens should me minted. + **/ assetsByLocation: AugmentedQuery< ApiType, ( @@ -542,10 +617,14 @@ declare module "@polkadot/api-base/types/storage" { [StagingXcmV4Location] > & QueryableStorageEntry; - /** Counter for the related counted storage map */ + /** + * Counter for the related counted storage map + **/ counterForAssetsById: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; identity: { @@ -555,7 +634,7 @@ declare module "@polkadot/api-base/types/storage" { * * Multiple usernames may map to the same `AccountId`, but `IdentityOf` will only map to one * primary username. - */ + **/ accountOfUsername: AugmentedQuery< ApiType, (arg: Bytes | string | Uint8Array) => Observable>, @@ -567,7 +646,7 @@ declare module "@polkadot/api-base/types/storage" { * registration, second is the account's primary username. * * TWOX-NOTE: OK ― `AccountId` is a secure hash. - */ + **/ identityOf: AugmentedQuery< ApiType, ( @@ -583,7 +662,7 @@ declare module "@polkadot/api-base/types/storage" { * [`Call::accept_username`]. * * First tuple item is the account and second is the acceptance deadline. - */ + **/ pendingUsernames: AugmentedQuery< ApiType, (arg: Bytes | string | Uint8Array) => Observable>>, @@ -591,11 +670,11 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * The set of registrars. Not expected to get very big as can only be added through a special - * origin (likely a council motion). + * The set of registrars. Not expected to get very big as can only be added through a + * special origin (likely a council motion). * * The index into this can be cast to `RegistrarIndex` to get a valid value. - */ + **/ registrars: AugmentedQuery< ApiType, () => Observable>>, @@ -608,7 +687,7 @@ declare module "@polkadot/api-base/types/storage" { * The first item is the deposit, the second is a vector of the accounts. * * TWOX-NOTE: OK ― `AccountId` is a secure hash. - */ + **/ subsOf: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable]>>, @@ -618,14 +697,16 @@ declare module "@polkadot/api-base/types/storage" { /** * The super-identity of an alternative "sub" identity together with its name, within that * context. If the account is not some other account's sub-identity, then just `None`. - */ + **/ superOf: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable>>, [AccountId20] > & QueryableStorageEntry; - /** A map of the accounts who are authorized to grant usernames. */ + /** + * A map of the accounts who are authorized to grant usernames. + **/ usernameAuthorities: AugmentedQuery< ApiType, ( @@ -634,18 +715,26 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; maintenanceMode: { - /** Whether the site is in maintenance mode */ + /** + * Whether the site is in maintenance mode + **/ maintenanceMode: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; messageQueue: { - /** The index of the first and last (non-empty) pages. */ + /** + * The index of the first and last (non-empty) pages. + **/ bookStateFor: AugmentedQuery< ApiType, ( @@ -660,7 +749,9 @@ declare module "@polkadot/api-base/types/storage" { [CumulusPrimitivesCoreAggregateMessageOrigin] > & QueryableStorageEntry; - /** The map of page indices to pages. */ + /** + * The map of page indices to pages. + **/ pages: AugmentedQuery< ApiType, ( @@ -676,24 +767,30 @@ declare module "@polkadot/api-base/types/storage" { [CumulusPrimitivesCoreAggregateMessageOrigin, u32] > & QueryableStorageEntry; - /** The origin at which we should begin servicing. */ + /** + * The origin at which we should begin servicing. + **/ serviceHead: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; migrations: { - /** True if all required migrations have completed */ + /** + * True if all required migrations have completed + **/ fullyUpgraded: AugmentedQuery Observable, []> & QueryableStorageEntry; /** - * MigrationState tracks the progress of a migration. Maps name (Vec) -> whether or not - * migration has been completed (bool) - */ + * MigrationState tracks the progress of a migration. + * Maps name (Vec) -> whether or not migration has been completed (bool) + **/ migrationState: AugmentedQuery< ApiType, (arg: Bytes | string | Uint8Array) => Observable, @@ -701,12 +798,14 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * Temporary value that is set to true at the beginning of the block during which the - * execution of xcm messages must be paused. - */ + * Temporary value that is set to true at the beginning of the block during which the execution + * of xcm messages must be paused. + **/ shouldPauseXcm: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; moonbeamLazyMigrations: { @@ -728,18 +827,24 @@ declare module "@polkadot/api-base/types/storage" { [] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; moonbeamOrbiters: { - /** Account lookup override */ + /** + * Account lookup override + **/ accountLookupOverride: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable>>, [AccountId20] > & QueryableStorageEntry; - /** Current orbiters, with their "parent" collator */ + /** + * Current orbiters, with their "parent" collator + **/ collatorsPool: AugmentedQuery< ApiType, ( @@ -748,22 +853,31 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Counter for the related counted storage map */ + /** + * Counter for the related counted storage map + **/ counterForCollatorsPool: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Current round index */ + /** + * Current round index + **/ currentRound: AugmentedQuery Observable, []> & QueryableStorageEntry; /** - * If true, it forces the rotation at the next round. A use case: when changing RotatePeriod, - * you need a migration code that sets this value to true to avoid holes in OrbiterPerRound. - */ + * If true, it forces the rotation at the next round. + * A use case: when changing RotatePeriod, you need a migration code that sets this value to + * true to avoid holes in OrbiterPerRound. + **/ forceRotation: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Minimum deposit required to be registered as an orbiter */ + /** + * Minimum deposit required to be registered as an orbiter + **/ minOrbiterDeposit: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Store active orbiter per round and per parent collator */ + /** + * Store active orbiter per round and per parent collator + **/ orbiterPerRound: AugmentedQuery< ApiType, ( @@ -773,18 +887,24 @@ declare module "@polkadot/api-base/types/storage" { [u32, AccountId20] > & QueryableStorageEntry; - /** Check if account is an orbiter */ + /** + * Check if account is an orbiter + **/ registeredOrbiter: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable>, [AccountId20] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; multisig: { - /** The set of open multisig operations. */ + /** + * The set of open multisig operations. + **/ multisigs: AugmentedQuery< ApiType, ( @@ -794,47 +914,67 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20, U8aFixed] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; openTechCommitteeCollective: { - /** The current members of the collective. This is stored sorted (just by value). */ + /** + * The current members of the collective. This is stored sorted (just by value). + **/ members: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** The prime member that helps determine the default vote behavior in case of abstentions. */ + /** + * The prime member that helps determine the default vote behavior in case of abstentions. + **/ prime: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Proposals so far. */ + /** + * Proposals so far. + **/ proposalCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Actual proposal for a given hash, if it's current. */ + /** + * Actual proposal for a given hash, if it's current. + **/ proposalOf: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable>, [H256] > & QueryableStorageEntry; - /** The hashes of the active proposals. */ + /** + * The hashes of the active proposals. + **/ proposals: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Votes on a given proposal, if it is ongoing. */ + /** + * Votes on a given proposal, if it is ongoing. + **/ voting: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable>, [H256] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; parachainInfo: { parachainId: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; parachainStaking: { - /** Snapshot of collator delegation stake at the start of the round */ + /** + * Snapshot of collator delegation stake at the start of the round + **/ atStake: AugmentedQuery< ApiType, ( @@ -844,7 +984,9 @@ declare module "@polkadot/api-base/types/storage" { [u32, AccountId20] > & QueryableStorageEntry; - /** Stores auto-compounding configuration per collator. */ + /** + * Stores auto-compounding configuration per collator. + **/ autoCompoundingDelegations: AugmentedQuery< ApiType, ( @@ -853,7 +995,9 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Points for each collator per round */ + /** + * Points for each collator per round + **/ awardedPts: AugmentedQuery< ApiType, ( @@ -863,7 +1007,9 @@ declare module "@polkadot/api-base/types/storage" { [u32, AccountId20] > & QueryableStorageEntry; - /** Bottom delegations for collator candidate */ + /** + * Bottom delegations for collator candidate + **/ bottomDelegations: AugmentedQuery< ApiType, ( @@ -872,7 +1018,9 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Get collator candidate info associated with an account if account is candidate else None */ + /** + * Get collator candidate info associated with an account if account is candidate else None + **/ candidateInfo: AugmentedQuery< ApiType, ( @@ -881,17 +1029,23 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** The pool of collator candidates, each with their total backing stake */ + /** + * The pool of collator candidates, each with their total backing stake + **/ candidatePool: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** Commission percent taken off of rewards for all collators */ + /** + * Commission percent taken off of rewards for all collators + **/ collatorCommission: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Delayed payouts */ + /** + * Delayed payouts + **/ delayedPayouts: AugmentedQuery< ApiType, ( @@ -900,7 +1054,9 @@ declare module "@polkadot/api-base/types/storage" { [u32] > & QueryableStorageEntry; - /** Stores outstanding delegation requests per collator. */ + /** + * Stores outstanding delegation requests per collator. + **/ delegationScheduledRequests: AugmentedQuery< ApiType, ( @@ -909,7 +1065,9 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Get delegator state associated with an account if account is delegating else None */ + /** + * Get delegator state associated with an account if account is delegating else None + **/ delegatorState: AugmentedQuery< ApiType, ( @@ -918,10 +1076,14 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Killswitch to enable/disable marking offline feature. */ + /** + * Killswitch to enable/disable marking offline feature. + **/ enableMarkingOffline: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Inflation configuration */ + /** + * Inflation configuration + **/ inflationConfig: AugmentedQuery< ApiType, () => Observable, @@ -933,27 +1095,35 @@ declare module "@polkadot/api-base/types/storage" { * before it is distributed to collators and delegators. * * The sum of the distribution percents must be less than or equal to 100. - */ + **/ inflationDistributionInfo: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** Total points awarded to collators for block production in the round */ + /** + * Total points awarded to collators for block production in the round + **/ points: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable, [u32] > & QueryableStorageEntry; - /** Current round index and next round scheduled transition */ + /** + * Current round index and next round scheduled transition + **/ round: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** The collator candidates selected for the current round */ + /** + * The collator candidates selected for the current round + **/ selectedCandidates: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Top delegations for collator candidate */ + /** + * Top delegations for collator candidate + **/ topDelegations: AugmentedQuery< ApiType, ( @@ -962,21 +1132,27 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Total capital locked by this staking pallet */ + /** + * Total capital locked by this staking pallet + **/ total: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** The total candidates selected every round */ + /** + * The total candidates selected every round + **/ totalSelected: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; parachainSystem: { /** * Storage field that keeps track of bandwidth used by the unincluded segment along with the - * latest HRMP watermark. Used for limiting the acceptance of new blocks with respect to relay - * chain constraints. - */ + * latest HRMP watermark. Used for limiting the acceptance of new blocks with + * respect to relay chain constraints. + **/ aggregatedUnincludedSegment: AugmentedQuery< ApiType, () => Observable>, @@ -986,17 +1162,19 @@ declare module "@polkadot/api-base/types/storage" { /** * The number of HRMP messages we observed in `on_initialize` and thus used that number for * announcing the weight of `on_initialize` and `on_finalize`. - */ + **/ announcedHrmpMessagesPerCandidate: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * A custom head data that should be returned as result of `validate_block`. * * See `Pallet::set_custom_validation_head_data` for more information. - */ + **/ customValidationHeadData: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Were the validation data set to notify the relay chain? */ + /** + * Were the validation data set to notify the relay chain? + **/ didSetValidationCode: AugmentedQuery Observable, []> & QueryableStorageEntry; /** @@ -1006,7 +1184,7 @@ declare module "@polkadot/api-base/types/storage" { * before processing of the inherent, e.g. in `on_initialize` this data may be stale. * * This data is also absent from the genesis. - */ + **/ hostConfiguration: AugmentedQuery< ApiType, () => Observable>, @@ -1017,7 +1195,7 @@ declare module "@polkadot/api-base/types/storage" { * HRMP messages that were sent in a block. * * This will be cleared in `on_initialize` of each new block. - */ + **/ hrmpOutboundMessages: AugmentedQuery< ApiType, () => Observable>, @@ -1028,57 +1206,61 @@ declare module "@polkadot/api-base/types/storage" { * HRMP watermark that was set in a block. * * This will be cleared in `on_initialize` of each new block. - */ + **/ hrmpWatermark: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * The last downward message queue chain head we have observed. * - * This value is loaded before and saved after processing inbound downward messages carried by - * the system inherent. - */ + * This value is loaded before and saved after processing inbound downward messages carried + * by the system inherent. + **/ lastDmqMqcHead: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * The message queue chain heads we have observed per each channel incoming channel. * - * This value is loaded before and saved after processing inbound downward messages carried by - * the system inherent. - */ + * This value is loaded before and saved after processing inbound downward messages carried + * by the system inherent. + **/ lastHrmpMqcHeads: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * The relay chain block number associated with the last parachain block. * * This is updated in `on_finalize`. - */ + **/ lastRelayChainBlockNumber: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Validation code that is set by the parachain and is to be communicated to collator and * consequently the relay-chain. * - * This will be cleared in `on_initialize` of each new block if no other pallet already set the value. - */ + * This will be cleared in `on_initialize` of each new block if no other pallet already set + * the value. + **/ newValidationCode: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Upward messages that are still pending and not yet send to the relay chain. */ + /** + * Upward messages that are still pending and not yet send to the relay chain. + **/ pendingUpwardMessages: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** - * In case of a scheduled upgrade, this storage field contains the validation code to be applied. + * In case of a scheduled upgrade, this storage field contains the validation code to be + * applied. * * As soon as the relay chain gives us the go-ahead signal, we will overwrite the * [`:code`][sp_core::storage::well_known_keys::CODE] which will result the next block process * with the new validation code. This concludes the upgrade process. - */ + **/ pendingValidationCode: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Number of downward messages processed in a block. * * This will be cleared in `on_initialize` of each new block. - */ + **/ processedDownwardMessages: AugmentedQuery Observable, []> & QueryableStorageEntry; /** @@ -1088,7 +1270,7 @@ declare module "@polkadot/api-base/types/storage" { * before processing of the inherent, e.g. in `on_initialize` this data may be stale. * * This data is also absent from the genesis. - */ + **/ relayStateProof: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** @@ -1099,7 +1281,7 @@ declare module "@polkadot/api-base/types/storage" { * before processing of the inherent, e.g. in `on_initialize` this data may be stale. * * This data is also absent from the genesis. - */ + **/ relevantMessagingState: AugmentedQuery< ApiType, () => Observable< @@ -1111,7 +1293,7 @@ declare module "@polkadot/api-base/types/storage" { /** * The weight we reserve at the beginning of the block for processing DMP messages. This * overrides the amount set in the Config trait. - */ + **/ reservedDmpWeightOverride: AugmentedQuery< ApiType, () => Observable>, @@ -1121,7 +1303,7 @@ declare module "@polkadot/api-base/types/storage" { /** * The weight we reserve at the beginning of the block for processing XCMP messages. This * overrides the amount set in the Config trait. - */ + **/ reservedXcmpWeightOverride: AugmentedQuery< ApiType, () => Observable>, @@ -1129,12 +1311,13 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * Latest included block descendants the runtime accepted. In other words, these are ancestors - * of the currently executing block which have not been included in the observed relay-chain state. + * Latest included block descendants the runtime accepted. In other words, these are + * ancestors of the currently executing block which have not been included in the observed + * relay-chain state. * - * The segment length is limited by the capacity returned from the [`ConsensusHook`] - * configured in the pallet. - */ + * The segment length is limited by the capacity returned from the [`ConsensusHook`] configured + * in the pallet. + **/ unincludedSegment: AugmentedQuery< ApiType, () => Observable>, @@ -1147,7 +1330,7 @@ declare module "@polkadot/api-base/types/storage" { * This storage item is a mirror of the corresponding value for the current parachain from the * relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is * set after the inherent. - */ + **/ upgradeGoAhead: AugmentedQuery< ApiType, () => Observable>, @@ -1155,45 +1338,52 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * An option which indicates if the relay-chain restricts signalling a validation code - * upgrade. In other words, if this is `Some` and [`NewValidationCode`] is `Some` then the - * produced candidate will be invalid. + * An option which indicates if the relay-chain restricts signalling a validation code upgrade. + * In other words, if this is `Some` and [`NewValidationCode`] is `Some` then the produced + * candidate will be invalid. * * This storage item is a mirror of the corresponding value for the current parachain from the * relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is * set after the inherent. - */ + **/ upgradeRestrictionSignal: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** The factor to multiply the base delivery fee by for UMP. */ + /** + * The factor to multiply the base delivery fee by for UMP. + **/ upwardDeliveryFeeFactor: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Upward messages that were sent in a block. * * This will be cleared in `on_initialize` of each new block. - */ + **/ upwardMessages: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** - * The [`PersistedValidationData`] set for this block. This value is expected to be set only - * once per block and it's never stored in the trie. - */ + * The [`PersistedValidationData`] set for this block. + * This value is expected to be set only once per block and it's never stored + * in the trie. + **/ validationData: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; parameters: { - /** Stored parameters. */ + /** + * Stored parameters. + **/ parameters: AugmentedQuery< ApiType, ( @@ -1207,7 +1397,9 @@ declare module "@polkadot/api-base/types/storage" { [MoonbaseRuntimeRuntimeParamsRuntimeParametersKey] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; polkadotXcm: { @@ -1216,21 +1408,25 @@ declare module "@polkadot/api-base/types/storage" { * * Key is the blake2 256 hash of (origin, versioned `Assets`) pair. Value is the number of * times this pair has been trapped (usually just 1 if it exists at all). - */ + **/ assetTraps: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable, [H256] > & QueryableStorageEntry; - /** The current migration's stage, if any. */ + /** + * The current migration's stage, if any. + **/ currentMigration: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** Fungible assets which we know are locked on this chain. */ + /** + * Fungible assets which we know are locked on this chain. + **/ lockedFungibles: AugmentedQuery< ApiType, ( @@ -1239,30 +1435,37 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** The ongoing queries. */ + /** + * The ongoing queries. + **/ queries: AugmentedQuery< ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable>, [u64] > & QueryableStorageEntry; - /** The latest available query index. */ + /** + * The latest available query index. + **/ queryCounter: AugmentedQuery Observable, []> & QueryableStorageEntry; /** - * If [`ShouldRecordXcm`] is set to true, then the last XCM program executed locally will be - * stored here. Runtime APIs can fetch the XCM that was executed by accessing this value. + * If [`ShouldRecordXcm`] is set to true, then the last XCM program executed locally + * will be stored here. + * Runtime APIs can fetch the XCM that was executed by accessing this value. * * Only relevant if this pallet is being used as the [`xcm_executor::traits::RecordXcm`] * implementation in the XCM executor configuration. - */ + **/ recordedXcm: AugmentedQuery< ApiType, () => Observable>>, [] > & QueryableStorageEntry; - /** Fungible assets which we know are locked on a remote chain. */ + /** + * Fungible assets which we know are locked on a remote chain. + **/ remoteLockedFungibles: AugmentedQuery< ApiType, ( @@ -1276,20 +1479,23 @@ declare module "@polkadot/api-base/types/storage" { /** * Default version to encode XCM when latest version of destination is unknown. If `None`, * then the destinations whose XCM version is unknown are considered unreachable. - */ + **/ safeXcmVersion: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** - * Whether or not incoming XCMs (both executed locally and received) should be recorded. Only - * one XCM program will be recorded at a time. This is meant to be used in runtime APIs, and - * it's advised it stays false for all other use cases, so as to not degrade regular performance. + * Whether or not incoming XCMs (both executed locally and received) should be recorded. + * Only one XCM program will be recorded at a time. + * This is meant to be used in runtime APIs, and it's advised it stays false + * for all other use cases, so as to not degrade regular performance. * * Only relevant if this pallet is being used as the [`xcm_executor::traits::RecordXcm`] * implementation in the XCM executor configuration. - */ + **/ shouldRecordXcm: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** The Latest versions that we know various locations support. */ + /** + * The Latest versions that we know various locations support. + **/ supportedVersion: AugmentedQuery< ApiType, ( @@ -1303,14 +1509,16 @@ declare module "@polkadot/api-base/types/storage" { * Destinations whose latest XCM version we would like to know. Duplicates not allowed, and * the `u32` counter is the number of times that a send to the destination has been attempted, * which is used as a prioritization. - */ + **/ versionDiscoveryQueue: AugmentedQuery< ApiType, () => Observable>>, [] > & QueryableStorageEntry; - /** All locations that we have requested version notifications from. */ + /** + * All locations that we have requested version notifications from. + **/ versionNotifiers: AugmentedQuery< ApiType, ( @@ -1323,7 +1531,7 @@ declare module "@polkadot/api-base/types/storage" { /** * The target locations that are subscribed to our version changes, as well as the most recent * of our versions we informed them of. - */ + **/ versionNotifyTargets: AugmentedQuery< ApiType, ( @@ -1333,10 +1541,14 @@ declare module "@polkadot/api-base/types/storage" { [u32, XcmVersionedLocation] > & QueryableStorageEntry; - /** Global suspension state of the XCM executor. */ + /** + * Global suspension state of the XCM executor. + **/ xcmExecutionSuspended: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; preimage: { @@ -1348,25 +1560,33 @@ declare module "@polkadot/api-base/types/storage" { [ITuple<[H256, u32]>] > & QueryableStorageEntry]>; - /** The request status of a given hash. */ + /** + * The request status of a given hash. + **/ requestStatusFor: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable>, [H256] > & QueryableStorageEntry; - /** The request status of a given hash. */ + /** + * The request status of a given hash. + **/ statusFor: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable>, [H256] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; proxy: { - /** The announcements made by the proxy (key). */ + /** + * The announcements made by the proxy (key). + **/ announcements: AugmentedQuery< ApiType, ( @@ -1376,9 +1596,9 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * The set of account proxies. Maps the account which has delegated to the accounts which are - * being delegated to, together with the amount held on deposit. - */ + * The set of account proxies. Maps the account which has delegated to the accounts + * which are being delegated to, together with the amount held on deposit. + **/ proxies: AugmentedQuery< ApiType, ( @@ -1387,26 +1607,38 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; randomness: { - /** Ensures the mandatory inherent was included in the block */ + /** + * Ensures the mandatory inherent was included in the block + **/ inherentIncluded: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Current local per-block VRF randomness Set in `on_initialize` */ + /** + * Current local per-block VRF randomness + * Set in `on_initialize` + **/ localVrfOutput: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Records whether this is the first block (genesis or runtime upgrade) */ + /** + * Records whether this is the first block (genesis or runtime upgrade) + **/ notFirstBlock: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Previous local per-block VRF randomness Set in `on_finalize` of last block */ + /** + * Previous local per-block VRF randomness + * Set in `on_finalize` of last block + **/ previousLocalVrfOutput: AugmentedQuery Observable, []> & QueryableStorageEntry; /** - * Snapshot of randomness to fulfill all requests that are for the same raw randomness Removed - * once $value.request_count == 0 - */ + * Snapshot of randomness to fulfill all requests that are for the same raw randomness + * Removed once $value.request_count == 0 + **/ randomnessResults: AugmentedQuery< ApiType, ( @@ -1420,24 +1652,34 @@ declare module "@polkadot/api-base/types/storage" { [PalletRandomnessRequestType] > & QueryableStorageEntry; - /** Relay epoch */ + /** + * Relay epoch + **/ relayEpoch: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Number of randomness requests made so far, used to generate the next request's uid */ + /** + * Number of randomness requests made so far, used to generate the next request's uid + **/ requestCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Randomness requests not yet fulfilled or purged */ + /** + * Randomness requests not yet fulfilled or purged + **/ requests: AugmentedQuery< ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable>, [u64] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; referenda: { - /** The number of referenda being decided currently. */ + /** + * The number of referenda being decided currently. + **/ decidingCount: AugmentedQuery< ApiType, (arg: u16 | AnyNumber | Uint8Array) => Observable, @@ -1445,22 +1687,27 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * The metadata is a general information concerning the referendum. The `Hash` refers to the - * preimage of the `Preimages` provider which can be a JSON dump or IPFS hash of a JSON file. + * The metadata is a general information concerning the referendum. + * The `Hash` refers to the preimage of the `Preimages` provider which can be a JSON + * dump or IPFS hash of a JSON file. * - * Consider a garbage collection for a metadata of finished referendums to `unrequest` - * (remove) large preimages. - */ + * Consider a garbage collection for a metadata of finished referendums to `unrequest` (remove) + * large preimages. + **/ metadataOf: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable>, [u32] > & QueryableStorageEntry; - /** The next free referendum index, aka the number of referenda started so far. */ + /** + * The next free referendum index, aka the number of referenda started so far. + **/ referendumCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Information concerning any given referendum. */ + /** + * Information concerning any given referendum. + **/ referendumInfoFor: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable>, @@ -1472,18 +1719,22 @@ declare module "@polkadot/api-base/types/storage" { * conviction-weighted approvals. * * This should be empty if `DecidingCount` is less than `TrackInfo::max_deciding`. - */ + **/ trackQueue: AugmentedQuery< ApiType, (arg: u16 | AnyNumber | Uint8Array) => Observable>>, [u16] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; relayStorageRoots: { - /** Map of relay block number to relay storage root */ + /** + * Map of relay block number to relay storage root + **/ relayStorageRoot: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable>, @@ -1491,20 +1742,26 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * List of all the keys in `RelayStorageRoot`. Used to remove the oldest key without having to - * iterate over all of them. - */ + * List of all the keys in `RelayStorageRoot`. + * Used to remove the oldest key without having to iterate over all of them. + **/ relayStorageRootKeys: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; rootTesting: { - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; scheduler: { - /** Items to be executed, indexed by the block number that they should be executed on. */ + /** + * Items to be executed, indexed by the block number that they should be executed on. + **/ agenda: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable>>, @@ -1516,15 +1773,18 @@ declare module "@polkadot/api-base/types/storage" { /** * Lookup from a name to the block number and index of the task. * - * For v3 -> v4 the previously unbounded identities are Blake2-256 hashed to form the v4 identities. - */ + * For v3 -> v4 the previously unbounded identities are Blake2-256 hashed to form the v4 + * identities. + **/ lookup: AugmentedQuery< ApiType, (arg: U8aFixed | string | Uint8Array) => Observable>>, [U8aFixed] > & QueryableStorageEntry; - /** Retry configurations for items to be executed, indexed by task address. */ + /** + * Retry configurations for items to be executed, indexed by task address. + **/ retries: AugmentedQuery< ApiType, ( @@ -1533,136 +1793,178 @@ declare module "@polkadot/api-base/types/storage" { [ITuple<[u32, u32]>] > & QueryableStorageEntry]>; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; sudo: { - /** The `AccountId` of the sudo key. */ + /** + * The `AccountId` of the sudo key. + **/ key: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; system: { - /** The full account information for a particular account ID. */ + /** + * The full account information for a particular account ID. + **/ account: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable, [AccountId20] > & QueryableStorageEntry; - /** Total length (in bytes) for all extrinsics put together, for the current block. */ + /** + * Total length (in bytes) for all extrinsics put together, for the current block. + **/ allExtrinsicsLen: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** `Some` if a code upgrade has been authorized. */ + /** + * `Some` if a code upgrade has been authorized. + **/ authorizedUpgrade: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** Map of block numbers to block hashes. */ + /** + * Map of block numbers to block hashes. + **/ blockHash: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable, [u32] > & QueryableStorageEntry; - /** The current weight for the block. */ + /** + * The current weight for the block. + **/ blockWeight: AugmentedQuery< ApiType, () => Observable, [] > & QueryableStorageEntry; - /** Digest of the current block, also part of the block header. */ + /** + * Digest of the current block, also part of the block header. + **/ digest: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** The number of events in the `Events` list. */ + /** + * The number of events in the `Events` list. + **/ eventCount: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Events deposited for the current block. * - * NOTE: The item is unbound and should therefore never be read on chain. It could otherwise - * inflate the PoV size of a block. + * NOTE: The item is unbound and should therefore never be read on chain. + * It could otherwise inflate the PoV size of a block. * - * Events have a large in-memory size. Box the events to not go out-of-memory just in case - * someone still reads them from within the runtime. - */ + * Events have a large in-memory size. Box the events to not go out-of-memory + * just in case someone still reads them from within the runtime. + **/ events: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** - * Mapping between a topic (represented by T::Hash) and a vector of indexes of events in the - * `>` list. + * Mapping between a topic (represented by T::Hash) and a vector of indexes + * of events in the `>` list. * - * All topic vectors have deterministic storage locations depending on the topic. This allows - * light-clients to leverage the changes trie storage tracking mechanism and in case of - * changes fetch the list of events of interest. + * All topic vectors have deterministic storage locations depending on the topic. This + * allows light-clients to leverage the changes trie storage tracking mechanism and + * in case of changes fetch the list of events of interest. * - * The value has the type `(BlockNumberFor, EventIndex)` because if we used only just the - * `EventIndex` then in case if the topic has the same contents on the next block no - * notification will be triggered thus the event might be lost. - */ + * The value has the type `(BlockNumberFor, EventIndex)` because if we used only just + * the `EventIndex` then in case if the topic has the same contents on the next block + * no notification will be triggered thus the event might be lost. + **/ eventTopics: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable>>, [H256] > & QueryableStorageEntry; - /** The execution phase of the block. */ + /** + * The execution phase of the block. + **/ executionPhase: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Total extrinsics count for the current block. */ + /** + * Total extrinsics count for the current block. + **/ extrinsicCount: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Extrinsics data for the current block (maps an extrinsic's index to its data). */ + /** + * Extrinsics data for the current block (maps an extrinsic's index to its data). + **/ extrinsicData: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable, [u32] > & QueryableStorageEntry; - /** Whether all inherents have been applied. */ + /** + * Whether all inherents have been applied. + **/ inherentsApplied: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened. */ + /** + * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened. + **/ lastRuntimeUpgrade: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** The current block number being processed. Set by `execute_block`. */ + /** + * The current block number being processed. Set by `execute_block`. + **/ number: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Hash of the previous block. */ + /** + * Hash of the previous block. + **/ parentHash: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * True if we have upgraded so that AccountInfo contains three types of `RefCount`. False * (default) if not. - */ + **/ upgradedToTripleRefCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** True if we have upgraded so that `type RefCount` is `u32`. False (default) if not. */ + /** + * True if we have upgraded so that `type RefCount` is `u32`. False (default) if not. + **/ upgradedToU32RefCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; timestamp: { /** * Whether the timestamp has been updated in this block. * - * This value is updated to `true` upon successful submission of a timestamp by a node. It is - * then checked at the end of each block execution in the `on_finalize` hook. - */ + * This value is updated to `true` upon successful submission of a timestamp by a node. + * It is then checked at the end of each block execution in the `on_finalize` hook. + **/ didUpdate: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** The current time for the current block. */ + /** + * The current time for the current block. + **/ now: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; transactionPayment: { @@ -1674,67 +1976,97 @@ declare module "@polkadot/api-base/types/storage" { [] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; treasury: { - /** Proposal indices that have been approved but not yet awarded. */ + /** + * Proposal indices that have been approved but not yet awarded. + **/ approvals: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** The amount which has been reported as inactive to Currency. */ + /** + * The amount which has been reported as inactive to Currency. + **/ deactivated: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Number of proposals that have been made. */ + /** + * Number of proposals that have been made. + **/ proposalCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Proposals that have been made. */ + /** + * Proposals that have been made. + **/ proposals: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable>, [u32] > & QueryableStorageEntry; - /** The count of spends that have been made. */ + /** + * The count of spends that have been made. + **/ spendCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Spends that have been approved and being processed. */ + /** + * Spends that have been approved and being processed. + **/ spends: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable>, [u32] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; treasuryCouncilCollective: { - /** The current members of the collective. This is stored sorted (just by value). */ + /** + * The current members of the collective. This is stored sorted (just by value). + **/ members: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** The prime member that helps determine the default vote behavior in case of abstentions. */ + /** + * The prime member that helps determine the default vote behavior in case of abstentions. + **/ prime: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Proposals so far. */ + /** + * Proposals so far. + **/ proposalCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Actual proposal for a given hash, if it's current. */ + /** + * Actual proposal for a given hash, if it's current. + **/ proposalOf: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable>, [H256] > & QueryableStorageEntry; - /** The hashes of the active proposals. */ + /** + * The hashes of the active proposals. + **/ proposals: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Votes on a given proposal, if it is ongoing. */ + /** + * Votes on a given proposal, if it is ongoing. + **/ voting: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable>, [H256] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; whitelist: { @@ -1744,11 +2076,15 @@ declare module "@polkadot/api-base/types/storage" { [H256] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; xcmpQueue: { - /** The factor to multiply the base delivery fee by. */ + /** + * The factor to multiply the base delivery fee by. + **/ deliveryFeeFactor: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable, @@ -1764,10 +2100,12 @@ declare module "@polkadot/api-base/types/storage" { * * NOTE: The PoV benchmarking cannot know this and will over-estimate, but the actual proof * will be smaller. - */ + **/ inboundXcmpSuspended: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** The messages outbound in a given XCMP channel. */ + /** + * The messages outbound in a given XCMP channel. + **/ outboundXcmpMessages: AugmentedQuery< ApiType, ( @@ -1778,44 +2116,52 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * The non-empty XCMP channels in order of becoming non-empty, and the index of the first and - * last outbound message. If the two indices are equal, then it indicates an empty queue and - * there must be a non-`Ok` `OutboundStatus`. We assume queues grow no greater than 65535 - * items. Queue indices for normal messages begin at one; zero is reserved in case of the need - * to send a high-priority signal message this block. The bool is true if there is a signal - * message waiting to be sent. - */ + * The non-empty XCMP channels in order of becoming non-empty, and the index of the first + * and last outbound message. If the two indices are equal, then it indicates an empty + * queue and there must be a non-`Ok` `OutboundStatus`. We assume queues grow no greater + * than 65535 items. Queue indices for normal messages begin at one; zero is reserved in + * case of the need to send a high-priority signal message this block. + * The bool is true if there is a signal message waiting to be sent. + **/ outboundXcmpStatus: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** The configuration which controls the dynamics of the outbound queue. */ + /** + * The configuration which controls the dynamics of the outbound queue. + **/ queueConfig: AugmentedQuery< ApiType, () => Observable, [] > & QueryableStorageEntry; - /** Whether or not the XCMP queue is suspended from executing incoming XCMs or not. */ + /** + * Whether or not the XCMP queue is suspended from executing incoming XCMs or not. + **/ queueSuspended: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Any signal messages waiting to be sent. */ + /** + * Any signal messages waiting to be sent. + **/ signalMessages: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable, [u32] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; xcmTransactor: { /** - * Stores the fee per second for an asset in its reserve chain. This allows us to convert from - * weight to fee - */ + * Stores the fee per second for an asset in its reserve chain. This allows us to convert + * from weight to fee + **/ destinationAssetFeePerSecond: AugmentedQuery< ApiType, ( @@ -1825,17 +2171,19 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * Since we are using pallet-utility for account derivation (through AsDerivative), we need to - * provide an index for the account derivation. This storage item stores the index assigned - * for a given local account. These indices are usable as derivative in the relay chain - */ + * Since we are using pallet-utility for account derivation (through AsDerivative), + * we need to provide an index for the account derivation. This storage item stores the index + * assigned for a given local account. These indices are usable as derivative in the relay chain + **/ indexToAccount: AugmentedQuery< ApiType, (arg: u16 | AnyNumber | Uint8Array) => Observable>, [u16] > & QueryableStorageEntry; - /** Stores the indices of relay chain pallets */ + /** + * Stores the indices of relay chain pallets + **/ relayIndices: AugmentedQuery< ApiType, () => Observable, @@ -1843,10 +2191,10 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * Stores the transact info of a Location. This defines how much extra weight we need to add - * when we want to transact in the destination chain and maximum amount of weight allowed by - * the destination chain - */ + * Stores the transact info of a Location. This defines how much extra weight we need to + * add when we want to transact in the destination chain and maximum amount of weight allowed + * by the destination chain + **/ transactInfoWithWeightLimit: AugmentedQuery< ApiType, ( @@ -1855,14 +2203,17 @@ declare module "@polkadot/api-base/types/storage" { [StagingXcmV4Location] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; xcmWeightTrader: { /** - * Stores all supported assets per XCM Location. The u128 is the asset price relative to - * native asset with 18 decimals The boolean specify if the support for this asset is active - */ + * Stores all supported assets per XCM Location. + * The u128 is the asset price relative to native asset with 18 decimals + * The boolean specify if the support for this asset is active + **/ supportedAssets: AugmentedQuery< ApiType, ( @@ -1871,7 +2222,9 @@ declare module "@polkadot/api-base/types/storage" { [StagingXcmV4Location] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; } // AugmentedQueries diff --git a/typescript-api/src/moonbase/interfaces/augment-api-rpc.ts b/typescript-api/src/moonbase/interfaces/augment-api-rpc.ts index a71564cc61..7752ea2d20 100644 --- a/typescript-api/src/moonbase/interfaces/augment-api-rpc.ts +++ b/typescript-api/src/moonbase/interfaces/augment-api-rpc.ts @@ -20,7 +20,7 @@ import type { bool, f64, u32, - u64, + u64 } from "@polkadot/types-codec"; import type { AnyNumber, Codec } from "@polkadot/types-codec/types"; import type { ExtrinsicOrHash, ExtrinsicStatus } from "@polkadot/types/interfaces/author"; @@ -35,7 +35,7 @@ import type { ContractCallRequest, ContractExecResult, ContractInstantiateResult, - InstantiateRequestV1, + InstantiateRequestV1 } from "@polkadot/types/interfaces/contracts"; import type { BlockStats } from "@polkadot/types/interfaces/dev"; import type { CreatedBlock } from "@polkadot/types/interfaces/engine"; @@ -53,13 +53,13 @@ import type { EthSyncStatus, EthTransaction, EthTransactionRequest, - EthWork, + EthWork } from "@polkadot/types/interfaces/eth"; import type { Extrinsic } from "@polkadot/types/interfaces/extrinsics"; import type { EncodedFinalityProofs, JustificationNotification, - ReportedRoundStates, + ReportedRoundStates } from "@polkadot/types/interfaces/grandpa"; import type { MmrHash, MmrLeafBatchProof } from "@polkadot/types/interfaces/mmr"; import type { StorageKind } from "@polkadot/types/interfaces/offchain"; @@ -77,13 +77,13 @@ import type { Justification, KeyValue, SignedBlock, - StorageData, + StorageData } from "@polkadot/types/interfaces/runtime"; import type { MigrationStatusResult, ReadProof, RuntimeVersion, - TraceBlockResponse, + TraceBlockResponse } from "@polkadot/types/interfaces/state"; import type { ApplyExtrinsicResult, @@ -93,7 +93,7 @@ import type { NetworkState, NodeRole, PeerInfo, - SyncState, + SyncState } from "@polkadot/types/interfaces/system"; import type { IExtrinsic, Observable } from "@polkadot/types/types"; @@ -102,13 +102,19 @@ export type __AugmentedRpc = AugmentedRpc<() => unknown>; declare module "@polkadot/rpc-core/types/jsonrpc" { interface RpcInterface { author: { - /** Returns true if the keystore has private keys for the given public key and key type. */ + /** + * Returns true if the keystore has private keys for the given public key and key type. + **/ hasKey: AugmentedRpc< (publicKey: Bytes | string | Uint8Array, keyType: Text | string) => Observable >; - /** Returns true if the keystore has private keys for the given session public keys. */ + /** + * Returns true if the keystore has private keys for the given session public keys. + **/ hasSessionKeys: AugmentedRpc<(sessionKeys: Bytes | string | Uint8Array) => Observable>; - /** Insert a key into the keystore. */ + /** + * Insert a key into the keystore. + **/ insertKey: AugmentedRpc< ( keyType: Text | string, @@ -116,9 +122,13 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { publicKey: Bytes | string | Uint8Array ) => Observable >; - /** Returns all pending extrinsics, potentially grouped by sender */ + /** + * Returns all pending extrinsics, potentially grouped by sender + **/ pendingExtrinsics: AugmentedRpc<() => Observable>>; - /** Remove given extrinsic from the pool and temporarily ban it to prevent reimporting */ + /** + * Remove given extrinsic from the pool and temporarily ban it to prevent reimporting + **/ removeExtrinsic: AugmentedRpc< ( bytesOrHash: @@ -126,50 +136,75 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { | (ExtrinsicOrHash | { Hash: any } | { Extrinsic: any } | string | Uint8Array)[] ) => Observable> >; - /** Generate new session keys and returns the corresponding public keys */ + /** + * Generate new session keys and returns the corresponding public keys + **/ rotateKeys: AugmentedRpc<() => Observable>; - /** Submit and subscribe to watch an extrinsic until unsubscribed */ + /** + * Submit and subscribe to watch an extrinsic until unsubscribed + **/ submitAndWatchExtrinsic: AugmentedRpc< (extrinsic: Extrinsic | IExtrinsic | string | Uint8Array) => Observable >; - /** Submit a fully formatted extrinsic for block inclusion */ + /** + * Submit a fully formatted extrinsic for block inclusion + **/ submitExtrinsic: AugmentedRpc< (extrinsic: Extrinsic | IExtrinsic | string | Uint8Array) => Observable >; }; babe: { /** - * Returns data about which slots (primary or secondary) can be claimed in the current epoch - * with the keys in the keystore - */ + * Returns data about which slots (primary or secondary) can be claimed in the current epoch with the keys in the keystore + **/ epochAuthorship: AugmentedRpc<() => Observable>>; }; beefy: { - /** Returns hash of the latest BEEFY finalized block as seen by this client. */ + /** + * Returns hash of the latest BEEFY finalized block as seen by this client. + **/ getFinalizedHead: AugmentedRpc<() => Observable>; - /** Returns the block most recently finalized by BEEFY, alongside its justification. */ + /** + * Returns the block most recently finalized by BEEFY, alongside its justification. + **/ subscribeJustifications: AugmentedRpc<() => Observable>; }; chain: { - /** Get header and body of a relay chain block */ + /** + * Get header and body of a relay chain block + **/ getBlock: AugmentedRpc<(hash?: BlockHash | string | Uint8Array) => Observable>; - /** Get the block hash for a specific block */ + /** + * Get the block hash for a specific block + **/ getBlockHash: AugmentedRpc< (blockNumber?: BlockNumber | AnyNumber | Uint8Array) => Observable >; - /** Get hash of the last finalized block in the canon chain */ + /** + * Get hash of the last finalized block in the canon chain + **/ getFinalizedHead: AugmentedRpc<() => Observable>; - /** Retrieves the header for a specific block */ + /** + * Retrieves the header for a specific block + **/ getHeader: AugmentedRpc<(hash?: BlockHash | string | Uint8Array) => Observable

>; - /** Retrieves the newest header via subscription */ + /** + * Retrieves the newest header via subscription + **/ subscribeAllHeads: AugmentedRpc<() => Observable
>; - /** Retrieves the best finalized header via subscription */ + /** + * Retrieves the best finalized header via subscription + **/ subscribeFinalizedHeads: AugmentedRpc<() => Observable
>; - /** Retrieves the best header via subscription */ + /** + * Retrieves the best header via subscription + **/ subscribeNewHeads: AugmentedRpc<() => Observable
>; }; childstate: { - /** Returns the keys with prefix from a child storage, leave empty to get all the keys */ + /** + * Returns the keys with prefix from a child storage, leave empty to get all the keys + **/ getKeys: AugmentedRpc< ( childKey: PrefixedStorageKey | string | Uint8Array, @@ -177,7 +212,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: Hash | string | Uint8Array ) => Observable> >; - /** Returns the keys with prefix from a child storage with pagination support */ + /** + * Returns the keys with prefix from a child storage with pagination support + **/ getKeysPaged: AugmentedRpc< ( childKey: PrefixedStorageKey | string | Uint8Array, @@ -187,7 +224,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: Hash | string | Uint8Array ) => Observable> >; - /** Returns a child storage entry at a specific block state */ + /** + * Returns a child storage entry at a specific block state + **/ getStorage: AugmentedRpc< ( childKey: PrefixedStorageKey | string | Uint8Array, @@ -195,7 +234,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: Hash | string | Uint8Array ) => Observable> >; - /** Returns child storage entries for multiple keys at a specific block state */ + /** + * Returns child storage entries for multiple keys at a specific block state + **/ getStorageEntries: AugmentedRpc< ( childKey: PrefixedStorageKey | string | Uint8Array, @@ -203,7 +244,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: Hash | string | Uint8Array ) => Observable>> >; - /** Returns the hash of a child storage entry at a block state */ + /** + * Returns the hash of a child storage entry at a block state + **/ getStorageHash: AugmentedRpc< ( childKey: PrefixedStorageKey | string | Uint8Array, @@ -211,7 +254,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: Hash | string | Uint8Array ) => Observable> >; - /** Returns the size of a child storage entry at a block state */ + /** + * Returns the size of a child storage entry at a block state + **/ getStorageSize: AugmentedRpc< ( childKey: PrefixedStorageKey | string | Uint8Array, @@ -222,9 +267,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { }; contracts: { /** - * @deprecated Use the runtime interface `api.call.contractsApi.call` instead Executes a call - * to a contract - */ + * @deprecated Use the runtime interface `api.call.contractsApi.call` instead + * Executes a call to a contract + **/ call: AugmentedRpc< ( callRequest: @@ -243,9 +288,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { ) => Observable >; /** - * @deprecated Use the runtime interface `api.call.contractsApi.getStorage` instead Returns - * the value under a specified storage key in a contract - */ + * @deprecated Use the runtime interface `api.call.contractsApi.getStorage` instead + * Returns the value under a specified storage key in a contract + **/ getStorage: AugmentedRpc< ( address: AccountId | string | Uint8Array, @@ -255,8 +300,8 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { >; /** * @deprecated Use the runtime interface `api.call.contractsApi.instantiate` instead - * Instantiate a new contract - */ + * Instantiate a new contract + **/ instantiate: AugmentedRpc< ( request: @@ -268,9 +313,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { ) => Observable >; /** - * @deprecated Not available in newer versions of the contracts interfaces Returns the - * projected time a given contract will be able to sustain paying its rent - */ + * @deprecated Not available in newer versions of the contracts interfaces + * Returns the projected time a given contract will be able to sustain paying its rent + **/ rentProjection: AugmentedRpc< ( address: AccountId | string | Uint8Array, @@ -278,9 +323,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { ) => Observable> >; /** - * @deprecated Use the runtime interface `api.call.contractsApi.uploadCode` instead Upload new - * code without instantiating a contract from it - */ + * @deprecated Use the runtime interface `api.call.contractsApi.uploadCode` instead + * Upload new code without instantiating a contract from it + **/ uploadCode: AugmentedRpc< ( uploadRequest: @@ -293,13 +338,17 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { >; }; dev: { - /** Reexecute the specified `block_hash` and gather statistics while doing so */ + /** + * Reexecute the specified `block_hash` and gather statistics while doing so + **/ getBlockStats: AugmentedRpc< (at: Hash | string | Uint8Array) => Observable> >; }; engine: { - /** Instructs the manual-seal authorship task to create a new block */ + /** + * Instructs the manual-seal authorship task to create a new block + **/ createBlock: AugmentedRpc< ( createEmpty: bool | boolean | Uint8Array, @@ -307,17 +356,25 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { parentHash?: BlockHash | string | Uint8Array ) => Observable >; - /** Instructs the manual-seal authorship task to finalize a block */ + /** + * Instructs the manual-seal authorship task to finalize a block + **/ finalizeBlock: AugmentedRpc< (hash: BlockHash | string | Uint8Array, justification?: Justification) => Observable >; }; eth: { - /** Returns accounts list. */ + /** + * Returns accounts list. + **/ accounts: AugmentedRpc<() => Observable>>; - /** Returns the blockNumber */ + /** + * Returns the blockNumber + **/ blockNumber: AugmentedRpc<() => Observable>; - /** Call contract, returning the output data. */ + /** + * Call contract, returning the output data. + **/ call: AugmentedRpc< ( request: @@ -337,13 +394,16 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { ) => Observable >; /** - * Returns the chain ID used for transaction signing at the current best block. None is - * returned if not available. - */ + * Returns the chain ID used for transaction signing at the current best block. None is returned if not available. + **/ chainId: AugmentedRpc<() => Observable>; - /** Returns block author. */ + /** + * Returns block author. + **/ coinbase: AugmentedRpc<() => Observable>; - /** Estimate gas needed for execution of given contract. */ + /** + * Estimate gas needed for execution of given contract. + **/ estimateGas: AugmentedRpc< ( request: @@ -362,7 +422,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { number?: BlockNumber | AnyNumber | Uint8Array ) => Observable >; - /** Returns fee history for given block count & reward percentiles */ + /** + * Returns fee history for given block count & reward percentiles + **/ feeHistory: AugmentedRpc< ( blockCount: U256 | AnyNumber | Uint8Array, @@ -370,53 +432,73 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { rewardPercentiles: Option> | null | Uint8Array | Vec | f64[] ) => Observable >; - /** Returns current gas price. */ + /** + * Returns current gas price. + **/ gasPrice: AugmentedRpc<() => Observable>; - /** Returns balance of the given account. */ + /** + * Returns balance of the given account. + **/ getBalance: AugmentedRpc< ( address: H160 | string | Uint8Array, number?: BlockNumber | AnyNumber | Uint8Array ) => Observable >; - /** Returns block with given hash. */ + /** + * Returns block with given hash. + **/ getBlockByHash: AugmentedRpc< ( hash: H256 | string | Uint8Array, full: bool | boolean | Uint8Array ) => Observable> >; - /** Returns block with given number. */ + /** + * Returns block with given number. + **/ getBlockByNumber: AugmentedRpc< ( block: BlockNumber | AnyNumber | Uint8Array, full: bool | boolean | Uint8Array ) => Observable> >; - /** Returns the number of transactions in a block with given hash. */ + /** + * Returns the number of transactions in a block with given hash. + **/ getBlockTransactionCountByHash: AugmentedRpc< (hash: H256 | string | Uint8Array) => Observable >; - /** Returns the number of transactions in a block with given block number. */ + /** + * Returns the number of transactions in a block with given block number. + **/ getBlockTransactionCountByNumber: AugmentedRpc< (block: BlockNumber | AnyNumber | Uint8Array) => Observable >; - /** Returns the code at given address at given time (block number). */ + /** + * Returns the code at given address at given time (block number). + **/ getCode: AugmentedRpc< ( address: H160 | string | Uint8Array, number?: BlockNumber | AnyNumber | Uint8Array ) => Observable >; - /** Returns filter changes since last poll. */ + /** + * Returns filter changes since last poll. + **/ getFilterChanges: AugmentedRpc< (index: U256 | AnyNumber | Uint8Array) => Observable >; - /** Returns all logs matching given filter (in a range 'from' - 'to'). */ + /** + * Returns all logs matching given filter (in a range 'from' - 'to'). + **/ getFilterLogs: AugmentedRpc< (index: U256 | AnyNumber | Uint8Array) => Observable> >; - /** Returns logs matching given filter object. */ + /** + * Returns logs matching given filter object. + **/ getLogs: AugmentedRpc< ( filter: @@ -426,7 +508,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { | Uint8Array ) => Observable> >; - /** Returns proof for account and storage. */ + /** + * Returns proof for account and storage. + **/ getProof: AugmentedRpc< ( address: H160 | string | Uint8Array, @@ -434,7 +518,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { number: BlockNumber | AnyNumber | Uint8Array ) => Observable >; - /** Returns content of the storage at given address. */ + /** + * Returns content of the storage at given address. + **/ getStorageAt: AugmentedRpc< ( address: H160 | string | Uint8Array, @@ -442,68 +528,98 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { number?: BlockNumber | AnyNumber | Uint8Array ) => Observable >; - /** Returns transaction at given block hash and index. */ + /** + * Returns transaction at given block hash and index. + **/ getTransactionByBlockHashAndIndex: AugmentedRpc< ( hash: H256 | string | Uint8Array, index: U256 | AnyNumber | Uint8Array ) => Observable >; - /** Returns transaction by given block number and index. */ + /** + * Returns transaction by given block number and index. + **/ getTransactionByBlockNumberAndIndex: AugmentedRpc< ( number: BlockNumber | AnyNumber | Uint8Array, index: U256 | AnyNumber | Uint8Array ) => Observable >; - /** Get transaction by its hash. */ + /** + * Get transaction by its hash. + **/ getTransactionByHash: AugmentedRpc< (hash: H256 | string | Uint8Array) => Observable >; - /** Returns the number of transactions sent from given address at given time (block number). */ + /** + * Returns the number of transactions sent from given address at given time (block number). + **/ getTransactionCount: AugmentedRpc< ( address: H160 | string | Uint8Array, number?: BlockNumber | AnyNumber | Uint8Array ) => Observable >; - /** Returns transaction receipt by transaction hash. */ + /** + * Returns transaction receipt by transaction hash. + **/ getTransactionReceipt: AugmentedRpc< (hash: H256 | string | Uint8Array) => Observable >; - /** Returns an uncles at given block and index. */ + /** + * Returns an uncles at given block and index. + **/ getUncleByBlockHashAndIndex: AugmentedRpc< ( hash: H256 | string | Uint8Array, index: U256 | AnyNumber | Uint8Array ) => Observable >; - /** Returns an uncles at given block and index. */ + /** + * Returns an uncles at given block and index. + **/ getUncleByBlockNumberAndIndex: AugmentedRpc< ( number: BlockNumber | AnyNumber | Uint8Array, index: U256 | AnyNumber | Uint8Array ) => Observable >; - /** Returns the number of uncles in a block with given hash. */ + /** + * Returns the number of uncles in a block with given hash. + **/ getUncleCountByBlockHash: AugmentedRpc< (hash: H256 | string | Uint8Array) => Observable >; - /** Returns the number of uncles in a block with given block number. */ + /** + * Returns the number of uncles in a block with given block number. + **/ getUncleCountByBlockNumber: AugmentedRpc< (number: BlockNumber | AnyNumber | Uint8Array) => Observable >; - /** Returns the hash of the current block, the seedHash, and the boundary condition to be met. */ + /** + * Returns the hash of the current block, the seedHash, and the boundary condition to be met. + **/ getWork: AugmentedRpc<() => Observable>; - /** Returns the number of hashes per second that the node is mining with. */ + /** + * Returns the number of hashes per second that the node is mining with. + **/ hashrate: AugmentedRpc<() => Observable>; - /** Returns max priority fee per gas */ + /** + * Returns max priority fee per gas + **/ maxPriorityFeePerGas: AugmentedRpc<() => Observable>; - /** Returns true if client is actively mining new blocks. */ + /** + * Returns true if client is actively mining new blocks. + **/ mining: AugmentedRpc<() => Observable>; - /** Returns id of new block filter. */ + /** + * Returns id of new block filter. + **/ newBlockFilter: AugmentedRpc<() => Observable>; - /** Returns id of new filter. */ + /** + * Returns id of new filter. + **/ newFilter: AugmentedRpc< ( filter: @@ -513,13 +629,21 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { | Uint8Array ) => Observable >; - /** Returns id of new block filter. */ + /** + * Returns id of new block filter. + **/ newPendingTransactionFilter: AugmentedRpc<() => Observable>; - /** Returns protocol version encoded as a string (quotes are necessary). */ + /** + * Returns protocol version encoded as a string (quotes are necessary). + **/ protocolVersion: AugmentedRpc<() => Observable>; - /** Sends signed transaction, returning its hash. */ + /** + * Sends signed transaction, returning its hash. + **/ sendRawTransaction: AugmentedRpc<(bytes: Bytes | string | Uint8Array) => Observable>; - /** Sends transaction; will block waiting for signer to return the transaction hash */ + /** + * Sends transaction; will block waiting for signer to return the transaction hash + **/ sendTransaction: AugmentedRpc< ( tx: @@ -537,11 +661,15 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { | Uint8Array ) => Observable >; - /** Used for submitting mining hashrate. */ + /** + * Used for submitting mining hashrate. + **/ submitHashrate: AugmentedRpc< (index: U256 | AnyNumber | Uint8Array, hash: H256 | string | Uint8Array) => Observable >; - /** Used for submitting a proof-of-work solution. */ + /** + * Used for submitting a proof-of-work solution. + **/ submitWork: AugmentedRpc< ( nonce: H64 | string | Uint8Array, @@ -549,7 +677,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { mixDigest: H256 | string | Uint8Array ) => Observable >; - /** Subscribe to Eth subscription. */ + /** + * Subscribe to Eth subscription. + **/ subscribe: AugmentedRpc< ( kind: @@ -563,25 +693,37 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { params?: EthSubParams | { None: any } | { Logs: any } | string | Uint8Array ) => Observable >; - /** Returns an object with data about the sync status or false. */ + /** + * Returns an object with data about the sync status or false. + **/ syncing: AugmentedRpc<() => Observable>; - /** Uninstalls filter. */ + /** + * Uninstalls filter. + **/ uninstallFilter: AugmentedRpc<(index: U256 | AnyNumber | Uint8Array) => Observable>; }; grandpa: { - /** Prove finality for the given block number, returning the Justification for the last block in the set. */ + /** + * Prove finality for the given block number, returning the Justification for the last block in the set. + **/ proveFinality: AugmentedRpc< ( blockNumber: BlockNumber | AnyNumber | Uint8Array ) => Observable> >; - /** Returns the state of the current best round state as well as the ongoing background rounds */ + /** + * Returns the state of the current best round state as well as the ongoing background rounds + **/ roundState: AugmentedRpc<() => Observable>; - /** Subscribes to grandpa justifications */ + /** + * Subscribes to grandpa justifications + **/ subscribeJustifications: AugmentedRpc<() => Observable>; }; mmr: { - /** Generate MMR proof for the given block numbers. */ + /** + * Generate MMR proof for the given block numbers. + **/ generateProof: AugmentedRpc< ( blockNumbers: Vec | (u64 | AnyNumber | Uint8Array)[], @@ -589,9 +731,13 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: BlockHash | string | Uint8Array ) => Observable >; - /** Get the MMR root hash for the current best block. */ + /** + * Get the MMR root hash for the current best block. + **/ root: AugmentedRpc<(at?: BlockHash | string | Uint8Array) => Observable>; - /** Verify an MMR proof */ + /** + * Verify an MMR proof + **/ verifyProof: AugmentedRpc< ( proof: @@ -601,7 +747,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { | Uint8Array ) => Observable >; - /** Verify an MMR proof statelessly given an mmr_root */ + /** + * Verify an MMR proof statelessly given an mmr_root + **/ verifyProofStateless: AugmentedRpc< ( root: MmrHash | string | Uint8Array, @@ -614,30 +762,46 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { >; }; moon: { - /** Returns the latest synced block from frontier's backend */ + /** + * Returns the latest synced block from frontier's backend + **/ getLatestSyncedBlock: AugmentedRpc<() => Observable>; - /** Returns whether an Ethereum block is finalized */ + /** + * Returns whether an Ethereum block is finalized + **/ isBlockFinalized: AugmentedRpc<(blockHash: Hash | string | Uint8Array) => Observable>; - /** Returns whether an Ethereum transaction is finalized */ + /** + * Returns whether an Ethereum transaction is finalized + **/ isTxFinalized: AugmentedRpc<(txHash: Hash | string | Uint8Array) => Observable>; }; net: { - /** Returns true if client is actively listening for network connections. Otherwise false. */ + /** + * Returns true if client is actively listening for network connections. Otherwise false. + **/ listening: AugmentedRpc<() => Observable>; - /** Returns number of peers connected to node. */ + /** + * Returns number of peers connected to node. + **/ peerCount: AugmentedRpc<() => Observable>; - /** Returns protocol version. */ + /** + * Returns protocol version. + **/ version: AugmentedRpc<() => Observable>; }; offchain: { - /** Get offchain local storage under given key and prefix */ + /** + * Get offchain local storage under given key and prefix + **/ localStorageGet: AugmentedRpc< ( kind: StorageKind | "PERSISTENT" | "LOCAL" | number | Uint8Array, key: Bytes | string | Uint8Array ) => Observable> >; - /** Set offchain local storage under given key and prefix */ + /** + * Set offchain local storage under given key and prefix + **/ localStorageSet: AugmentedRpc< ( kind: StorageKind | "PERSISTENT" | "LOCAL" | number | Uint8Array, @@ -648,9 +812,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { }; payment: { /** - * @deprecated Use `api.call.transactionPaymentApi.queryFeeDetails` instead Query the detailed - * fee of a given encoded extrinsic - */ + * @deprecated Use `api.call.transactionPaymentApi.queryFeeDetails` instead + * Query the detailed fee of a given encoded extrinsic + **/ queryFeeDetails: AugmentedRpc< ( extrinsic: Bytes | string | Uint8Array, @@ -658,9 +822,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { ) => Observable >; /** - * @deprecated Use `api.call.transactionPaymentApi.queryInfo` instead Retrieves the fee - * information for an encoded extrinsic - */ + * @deprecated Use `api.call.transactionPaymentApi.queryInfo` instead + * Retrieves the fee information for an encoded extrinsic + **/ queryInfo: AugmentedRpc< ( extrinsic: Bytes | string | Uint8Array, @@ -669,11 +833,15 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { >; }; rpc: { - /** Retrieves the list of RPC methods that are exposed by the node */ + /** + * Retrieves the list of RPC methods that are exposed by the node + **/ methods: AugmentedRpc<() => Observable>; }; state: { - /** Perform a call to a builtin on the chain */ + /** + * Perform a call to a builtin on the chain + **/ call: AugmentedRpc< ( method: Text | string, @@ -681,7 +849,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: BlockHash | string | Uint8Array ) => Observable >; - /** Retrieves the keys with prefix of a specific child storage */ + /** + * Retrieves the keys with prefix of a specific child storage + **/ getChildKeys: AugmentedRpc< ( childStorageKey: StorageKey | string | Uint8Array | any, @@ -691,7 +861,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: BlockHash | string | Uint8Array ) => Observable> >; - /** Returns proof of storage for child key entries at a specific block state. */ + /** + * Returns proof of storage for child key entries at a specific block state. + **/ getChildReadProof: AugmentedRpc< ( childStorageKey: PrefixedStorageKey | string | Uint8Array, @@ -699,7 +871,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: BlockHash | string | Uint8Array ) => Observable >; - /** Retrieves the child storage for a key */ + /** + * Retrieves the child storage for a key + **/ getChildStorage: AugmentedRpc< ( childStorageKey: StorageKey | string | Uint8Array | any, @@ -709,7 +883,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: BlockHash | string | Uint8Array ) => Observable >; - /** Retrieves the child storage hash */ + /** + * Retrieves the child storage hash + **/ getChildStorageHash: AugmentedRpc< ( childStorageKey: StorageKey | string | Uint8Array | any, @@ -719,7 +895,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: BlockHash | string | Uint8Array ) => Observable >; - /** Retrieves the child storage size */ + /** + * Retrieves the child storage size + **/ getChildStorageSize: AugmentedRpc< ( childStorageKey: StorageKey | string | Uint8Array | any, @@ -730,16 +908,18 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { ) => Observable >; /** - * @deprecated Use `api.rpc.state.getKeysPaged` to retrieve keys Retrieves the keys with a - * certain prefix - */ + * @deprecated Use `api.rpc.state.getKeysPaged` to retrieve keys + * Retrieves the keys with a certain prefix + **/ getKeys: AugmentedRpc< ( key: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array ) => Observable> >; - /** Returns the keys with prefix with pagination support. */ + /** + * Returns the keys with prefix with pagination support. + **/ getKeysPaged: AugmentedRpc< ( key: StorageKey | string | Uint8Array | any, @@ -748,51 +928,65 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: BlockHash | string | Uint8Array ) => Observable> >; - /** Returns the runtime metadata */ + /** + * Returns the runtime metadata + **/ getMetadata: AugmentedRpc<(at?: BlockHash | string | Uint8Array) => Observable>; /** - * @deprecated Use `api.rpc.state.getKeysPaged` to retrieve keys Returns the keys with prefix, - * leave empty to get all the keys (deprecated: Use getKeysPaged) - */ + * @deprecated Use `api.rpc.state.getKeysPaged` to retrieve keys + * Returns the keys with prefix, leave empty to get all the keys (deprecated: Use getKeysPaged) + **/ getPairs: AugmentedRpc< ( prefix: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array ) => Observable> >; - /** Returns proof of storage entries at a specific block state */ + /** + * Returns proof of storage entries at a specific block state + **/ getReadProof: AugmentedRpc< ( keys: Vec | (StorageKey | string | Uint8Array | any)[], at?: BlockHash | string | Uint8Array ) => Observable >; - /** Get the runtime version */ + /** + * Get the runtime version + **/ getRuntimeVersion: AugmentedRpc< (at?: BlockHash | string | Uint8Array) => Observable >; - /** Retrieves the storage for a key */ + /** + * Retrieves the storage for a key + **/ getStorage: AugmentedRpc< ( key: StorageKey | string | Uint8Array | any, block?: Hash | Uint8Array | string ) => Observable >; - /** Retrieves the storage hash */ + /** + * Retrieves the storage hash + **/ getStorageHash: AugmentedRpc< ( key: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array ) => Observable >; - /** Retrieves the storage size */ + /** + * Retrieves the storage size + **/ getStorageSize: AugmentedRpc< ( key: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array ) => Observable >; - /** Query historical storage entries (by key) starting from a start block */ + /** + * Query historical storage entries (by key) starting from a start block + **/ queryStorage: AugmentedRpc< ( keys: Vec | (StorageKey | string | Uint8Array | any)[], @@ -800,22 +994,30 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { toBlock?: Hash | Uint8Array | string ) => Observable<[Hash, T][]> >; - /** Query storage entries (by key) starting at block hash given as the second parameter */ + /** + * Query storage entries (by key) starting at block hash given as the second parameter + **/ queryStorageAt: AugmentedRpc< ( keys: Vec | (StorageKey | string | Uint8Array | any)[], at?: Hash | Uint8Array | string ) => Observable >; - /** Retrieves the runtime version via subscription */ + /** + * Retrieves the runtime version via subscription + **/ subscribeRuntimeVersion: AugmentedRpc<() => Observable>; - /** Subscribes to storage changes for the provided keys */ + /** + * Subscribes to storage changes for the provided keys + **/ subscribeStorage: AugmentedRpc< ( keys?: Vec | (StorageKey | string | Uint8Array | any)[] ) => Observable >; - /** Provides a way to trace the re-execution of a single block */ + /** + * Provides a way to trace the re-execution of a single block + **/ traceBlock: AugmentedRpc< ( block: Hash | string | Uint8Array, @@ -824,69 +1026,112 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { methods: Option | null | Uint8Array | Text | string ) => Observable >; - /** Check current migration state */ + /** + * Check current migration state + **/ trieMigrationStatus: AugmentedRpc< (at?: BlockHash | string | Uint8Array) => Observable >; }; syncstate: { - /** Returns the json-serialized chainspec running the node, with a sync state. */ + /** + * Returns the json-serialized chainspec running the node, with a sync state. + **/ genSyncSpec: AugmentedRpc<(raw: bool | boolean | Uint8Array) => Observable>; }; system: { - /** Retrieves the next accountIndex as available on the node */ + /** + * Retrieves the next accountIndex as available on the node + **/ accountNextIndex: AugmentedRpc< (accountId: AccountId | string | Uint8Array) => Observable >; - /** Adds the supplied directives to the current log filter */ + /** + * Adds the supplied directives to the current log filter + **/ addLogFilter: AugmentedRpc<(directives: Text | string) => Observable>; - /** Adds a reserved peer */ + /** + * Adds a reserved peer + **/ addReservedPeer: AugmentedRpc<(peer: Text | string) => Observable>; - /** Retrieves the chain */ + /** + * Retrieves the chain + **/ chain: AugmentedRpc<() => Observable>; - /** Retrieves the chain type */ + /** + * Retrieves the chain type + **/ chainType: AugmentedRpc<() => Observable>; - /** Dry run an extrinsic at a given block */ + /** + * Dry run an extrinsic at a given block + **/ dryRun: AugmentedRpc< ( extrinsic: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array ) => Observable >; - /** Return health status of the node */ + /** + * Return health status of the node + **/ health: AugmentedRpc<() => Observable>; /** - * The addresses include a trailing /p2p/ with the local PeerId, and are thus suitable to be - * passed to addReservedPeer or as a bootnode address for example - */ + * The addresses include a trailing /p2p/ with the local PeerId, and are thus suitable to be passed to addReservedPeer or as a bootnode address for example + **/ localListenAddresses: AugmentedRpc<() => Observable>>; - /** Returns the base58-encoded PeerId of the node */ + /** + * Returns the base58-encoded PeerId of the node + **/ localPeerId: AugmentedRpc<() => Observable>; - /** Retrieves the node name */ + /** + * Retrieves the node name + **/ name: AugmentedRpc<() => Observable>; - /** Returns current state of the network */ + /** + * Returns current state of the network + **/ networkState: AugmentedRpc<() => Observable>; - /** Returns the roles the node is running as */ + /** + * Returns the roles the node is running as + **/ nodeRoles: AugmentedRpc<() => Observable>>; - /** Returns the currently connected peers */ + /** + * Returns the currently connected peers + **/ peers: AugmentedRpc<() => Observable>>; - /** Get a custom set of properties as a JSON object, defined in the chain spec */ + /** + * Get a custom set of properties as a JSON object, defined in the chain spec + **/ properties: AugmentedRpc<() => Observable>; - /** Remove a reserved peer */ + /** + * Remove a reserved peer + **/ removeReservedPeer: AugmentedRpc<(peerId: Text | string) => Observable>; - /** Returns the list of reserved peers */ + /** + * Returns the list of reserved peers + **/ reservedPeers: AugmentedRpc<() => Observable>>; - /** Resets the log filter to Substrate defaults */ + /** + * Resets the log filter to Substrate defaults + **/ resetLogFilter: AugmentedRpc<() => Observable>; - /** Returns the state of the syncing of the node */ + /** + * Returns the state of the syncing of the node + **/ syncState: AugmentedRpc<() => Observable>; - /** Retrieves the version of the node */ + /** + * Retrieves the version of the node + **/ version: AugmentedRpc<() => Observable>; }; web3: { - /** Returns current client version. */ + /** + * Returns current client version. + **/ clientVersion: AugmentedRpc<() => Observable>; - /** Returns sha3 of the given data */ + /** + * Returns sha3 of the given data + **/ sha3: AugmentedRpc<(data: Bytes | string | Uint8Array) => Observable>; }; } // RpcInterface diff --git a/typescript-api/src/moonbase/interfaces/augment-api-runtime.ts b/typescript-api/src/moonbase/interfaces/augment-api-runtime.ts index 798d1db8cc..aacce6b598 100644 --- a/typescript-api/src/moonbase/interfaces/augment-api-runtime.ts +++ b/typescript-api/src/moonbase/interfaces/augment-api-runtime.ts @@ -17,7 +17,7 @@ import type { u128, u256, u32, - u64, + u64 } from "@polkadot/types-codec"; import type { AnyNumber, IMethod, ITuple } from "@polkadot/types-codec/types"; import type { CheckInherentsResult, InherentData } from "@polkadot/types/interfaces/blockbuilder"; @@ -26,13 +26,13 @@ import type { CollationInfo } from "@polkadot/types/interfaces/cumulus"; import type { CallDryRunEffects, XcmDryRunApiError, - XcmDryRunEffects, + XcmDryRunEffects } from "@polkadot/types/interfaces/dryRunApi"; import type { BlockV2, EthReceiptV3, EthTransactionStatus, - TransactionV2, + TransactionV2 } from "@polkadot/types/interfaces/eth"; import type { EvmAccount, EvmCallInfoV2, EvmCreateInfoV2 } from "@polkadot/types/interfaces/evm"; import type { Extrinsic } from "@polkadot/types/interfaces/extrinsics"; @@ -53,7 +53,7 @@ import type { Permill, RuntimeCall, Weight, - WeightV2, + WeightV2 } from "@polkadot/types/interfaces/runtime"; import type { RuntimeVersion } from "@polkadot/types/interfaces/state"; import type { ApplyExtrinsicResult, DispatchError } from "@polkadot/types/interfaces/system"; @@ -64,7 +64,7 @@ import type { Error } from "@polkadot/types/interfaces/xcmRuntimeApi"; import type { XcmVersionedAssetId, XcmVersionedLocation, - XcmVersionedXcm, + XcmVersionedXcm } from "@polkadot/types/lookup"; import type { IExtrinsic, Observable } from "@polkadot/types/types"; @@ -75,24 +75,32 @@ declare module "@polkadot/api-base/types/calls" { interface AugmentedCalls { /** 0xbc9d89904f5b923f/1 */ accountNonceApi: { - /** The API to query account nonce (aka transaction index) */ + /** + * The API to query account nonce (aka transaction index) + **/ accountNonce: AugmentedCall< ApiType, (accountId: AccountId | string | Uint8Array) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0x40fe3ad401f8959a/6 */ blockBuilder: { - /** Apply the given extrinsic. */ + /** + * Apply the given extrinsic. + **/ applyExtrinsic: AugmentedCall< ApiType, ( extrinsic: Extrinsic | IExtrinsic | string | Uint8Array ) => Observable >; - /** Check that the inherents are valid. */ + /** + * Check that the inherents are valid. + **/ checkInherents: AugmentedCall< ApiType, ( @@ -100,21 +108,29 @@ declare module "@polkadot/api-base/types/calls" { data: InherentData | { data?: any } | string | Uint8Array ) => Observable >; - /** Finish the current block. */ + /** + * Finish the current block. + **/ finalizeBlock: AugmentedCall Observable
>; - /** Generate inherent extrinsics. */ + /** + * Generate inherent extrinsics. + **/ inherentExtrinsics: AugmentedCall< ApiType, ( inherent: InherentData | { data?: any } | string | Uint8Array ) => Observable> >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0xea93e3f16f3d6962/2 */ collectCollationInfo: { - /** Collect information about a collation. */ + /** + * Collect information about a collation. + **/ collectCollationInfo: AugmentedCall< ApiType, ( @@ -131,12 +147,16 @@ declare module "@polkadot/api-base/types/calls" { | Uint8Array ) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0xe65b00e46cedd0aa/2 */ convertTransactionRuntimeApi: { - /** Converts an Ethereum-style transaction to Extrinsic */ + /** + * Converts an Ethereum-style transaction to Extrinsic + **/ convertTransaction: AugmentedCall< ApiType, ( @@ -149,19 +169,25 @@ declare module "@polkadot/api-base/types/calls" { | Uint8Array ) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0xdf6acb689907609b/5 */ core: { - /** Execute the given block. */ + /** + * Execute the given block. + **/ executeBlock: AugmentedCall< ApiType, ( block: Block | { header?: any; extrinsics?: any } | string | Uint8Array ) => Observable >; - /** Initialize a block with the given header. */ + /** + * Initialize a block with the given header. + **/ initializeBlock: AugmentedCall< ApiType, ( @@ -178,14 +204,20 @@ declare module "@polkadot/api-base/types/calls" { | Uint8Array ) => Observable >; - /** Returns the version of the runtime. */ + /** + * Returns the version of the runtime. + **/ version: AugmentedCall Observable>; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0x91b1c8b16328eb92/1 */ dryRunApi: { - /** Dry run call */ + /** + * Dry run call + **/ dryRunCall: AugmentedCall< ApiType, ( @@ -193,7 +225,9 @@ declare module "@polkadot/api-base/types/calls" { call: RuntimeCall | IMethod | string | Uint8Array ) => Observable> >; - /** Dry run XCM program */ + /** + * Dry run XCM program + **/ dryRunXcm: AugmentedCall< ApiType, ( @@ -217,24 +251,34 @@ declare module "@polkadot/api-base/types/calls" { | Uint8Array ) => Observable> >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0x582211f65bb14b89/5 */ ethereumRuntimeRPCApi: { - /** Returns pallet_evm::Accounts by address. */ + /** + * Returns pallet_evm::Accounts by address. + **/ accountBasic: AugmentedCall< ApiType, (address: H160 | string | Uint8Array) => Observable >; - /** For a given account address, returns pallet_evm::AccountCodes. */ + /** + * For a given account address, returns pallet_evm::AccountCodes. + **/ accountCodeAt: AugmentedCall< ApiType, (address: H160 | string | Uint8Array) => Observable >; - /** Returns the converted FindAuthor::find_author authority id. */ + /** + * Returns the converted FindAuthor::find_author authority id. + **/ author: AugmentedCall Observable>; - /** Returns a frame_ethereum::call response. If `estimate` is true, */ + /** + * Returns a frame_ethereum::call response. If `estimate` is true, + **/ call: AugmentedCall< ApiType, ( @@ -255,9 +299,13 @@ declare module "@polkadot/api-base/types/calls" { | [H160 | string | Uint8Array, Vec | (H256 | string | Uint8Array)[]][] ) => Observable> >; - /** Returns runtime defined pallet_evm::ChainId. */ + /** + * Returns runtime defined pallet_evm::ChainId. + **/ chainId: AugmentedCall Observable>; - /** Returns a frame_ethereum::call response. If `estimate` is true, */ + /** + * Returns a frame_ethereum::call response. If `estimate` is true, + **/ create: AugmentedCall< ApiType, ( @@ -277,34 +325,50 @@ declare module "@polkadot/api-base/types/calls" { | [H160 | string | Uint8Array, Vec | (H256 | string | Uint8Array)[]][] ) => Observable> >; - /** Return all the current data for a block in a single runtime call. */ + /** + * Return all the current data for a block in a single runtime call. + **/ currentAll: AugmentedCall< ApiType, () => Observable< ITuple<[Option, Option>, Option>]> > >; - /** Return the current block. */ + /** + * Return the current block. + **/ currentBlock: AugmentedCall Observable>; - /** Return the current receipt. */ + /** + * Return the current receipt. + **/ currentReceipts: AugmentedCall Observable>>>; - /** Return the current transaction status. */ + /** + * Return the current transaction status. + **/ currentTransactionStatuses: AugmentedCall< ApiType, () => Observable>> >; - /** Return the elasticity multiplier. */ + /** + * Return the elasticity multiplier. + **/ elasticity: AugmentedCall Observable>>; - /** Receives a `Vec` and filters all the ethereum transactions. */ + /** + * Receives a `Vec` and filters all the ethereum transactions. + **/ extrinsicFilter: AugmentedCall< ApiType, ( xts: Vec | (Extrinsic | IExtrinsic | string | Uint8Array)[] ) => Observable> >; - /** Returns FixedGasPrice::min_gas_price */ + /** + * Returns FixedGasPrice::min_gas_price + **/ gasPrice: AugmentedCall Observable>; - /** For a given account address and index, returns pallet_evm::AccountStorages. */ + /** + * For a given account address and index, returns pallet_evm::AccountStorages. + **/ storageAt: AugmentedCall< ApiType, ( @@ -312,24 +376,34 @@ declare module "@polkadot/api-base/types/calls" { index: u256 | AnyNumber | Uint8Array ) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0xfbc577b9d747efd6/1 */ genesisBuilder: { - /** Build `RuntimeGenesisConfig` from a JSON blob not using any defaults and store it in the storage. */ + /** + * Build `RuntimeGenesisConfig` from a JSON blob not using any defaults and store it in the storage. + **/ buildConfig: AugmentedCall< ApiType, (json: Bytes | string | Uint8Array) => Observable, GenesisBuildErr>> >; - /** Creates the default `RuntimeGenesisConfig` and returns it as a JSON blob. */ + /** + * Creates the default `RuntimeGenesisConfig` and returns it as a JSON blob. + **/ createDefaultConfig: AugmentedCall Observable>; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0x9ffb505aa738d69c/1 */ locationToAccountApi: { - /** Converts `Location` to `AccountId` */ + /** + * Converts `Location` to `AccountId` + **/ convertLocation: AugmentedCall< ApiType, ( @@ -342,26 +416,38 @@ declare module "@polkadot/api-base/types/calls" { | Uint8Array ) => Observable> >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0x37e397fc7c91f5e4/2 */ metadata: { - /** Returns the metadata of a runtime */ + /** + * Returns the metadata of a runtime + **/ metadata: AugmentedCall Observable>; - /** Returns the metadata at a given version. */ + /** + * Returns the metadata at a given version. + **/ metadataAtVersion: AugmentedCall< ApiType, (version: u32 | AnyNumber | Uint8Array) => Observable> >; - /** Returns the supported metadata versions. */ + /** + * Returns the supported metadata versions. + **/ metadataVersions: AugmentedCall Observable>>; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0x2aa62120049dd2d2/1 */ nimbusApi: { - /** The runtime api used to predict whether a Nimbus author will be eligible in the given slot */ + /** + * The runtime api used to predict whether a Nimbus author will be eligible in the given slot + **/ canAuthor: AugmentedCall< ApiType, ( @@ -380,12 +466,16 @@ declare module "@polkadot/api-base/types/calls" { | Uint8Array ) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0xf78b278be53f454c/2 */ offchainWorkerApi: { - /** Starts the off-chain task for given block header. */ + /** + * Starts the off-chain task for given block header. + **/ offchainWorker: AugmentedCall< ApiType, ( @@ -402,29 +492,39 @@ declare module "@polkadot/api-base/types/calls" { | Uint8Array ) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0xab3c0572291feb8b/1 */ sessionKeys: { - /** Decode the given public session keys. */ + /** + * Decode the given public session keys. + **/ decodeSessionKeys: AugmentedCall< ApiType, ( encoded: Bytes | string | Uint8Array ) => Observable>>> >; - /** Generate a set of session keys with optionally using the given seed. */ + /** + * Generate a set of session keys with optionally using the given seed. + **/ generateSessionKeys: AugmentedCall< ApiType, (seed: Option | null | Uint8Array | Bytes | string) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0xd2bc9897eed08f15/3 */ taggedTransactionQueue: { - /** Validate the transaction. */ + /** + * Validate the transaction. + **/ validateTransaction: AugmentedCall< ApiType, ( @@ -433,12 +533,16 @@ declare module "@polkadot/api-base/types/calls" { blockHash: BlockHash | string | Uint8Array ) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0x37c8bb1350a9a2a8/4 */ transactionPaymentApi: { - /** The transaction fee details */ + /** + * The transaction fee details + **/ queryFeeDetails: AugmentedCall< ApiType, ( @@ -446,7 +550,9 @@ declare module "@polkadot/api-base/types/calls" { len: u32 | AnyNumber | Uint8Array ) => Observable >; - /** The transaction info */ + /** + * The transaction info + **/ queryInfo: AugmentedCall< ApiType, ( @@ -454,30 +560,41 @@ declare module "@polkadot/api-base/types/calls" { len: u32 | AnyNumber | Uint8Array ) => Observable >; - /** Query the output of the current LengthToFee given some input */ + /** + * Query the output of the current LengthToFee given some input + **/ queryLengthToFee: AugmentedCall< ApiType, (length: u32 | AnyNumber | Uint8Array) => Observable >; - /** Query the output of the current WeightToFee given some input */ + /** + * Query the output of the current WeightToFee given some input + **/ queryWeightToFee: AugmentedCall< ApiType, ( weight: Weight | { refTime?: any; proofSize?: any } | string | Uint8Array ) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0x6ff52ee858e6c5bd/1 */ xcmPaymentApi: { - /** The API to query acceptable payment assets */ + /** + * The API to query acceptable payment assets + **/ queryAcceptablePaymentAssets: AugmentedCall< ApiType, ( version: u32 | AnyNumber | Uint8Array ) => Observable, XcmPaymentApiError>> >; + /** + * + **/ queryWeightToAssetFee: AugmentedCall< ApiType, ( @@ -485,13 +602,18 @@ declare module "@polkadot/api-base/types/calls" { asset: XcmVersionedAssetId | { V3: any } | { V4: any } | string | Uint8Array ) => Observable> >; + /** + * + **/ queryXcmWeight: AugmentedCall< ApiType, ( message: XcmVersionedXcm | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array ) => Observable> >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; } // AugmentedCalls diff --git a/typescript-api/src/moonbase/interfaces/augment-api-tx.ts b/typescript-api/src/moonbase/interfaces/augment-api-tx.ts index fbf30b3840..23684897dd 100644 --- a/typescript-api/src/moonbase/interfaces/augment-api-tx.ts +++ b/typescript-api/src/moonbase/interfaces/augment-api-tx.ts @@ -9,7 +9,7 @@ import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, - SubmittableExtrinsicFunction, + SubmittableExtrinsicFunction } from "@polkadot/api-base/types"; import type { Data } from "@polkadot/types"; import type { @@ -26,7 +26,7 @@ import type { u16, u32, u64, - u8, + u8 } from "@polkadot/types-codec"; import type { AnyNumber, IMethod, ITuple } from "@polkadot/types-codec/types"; import type { @@ -35,7 +35,7 @@ import type { H160, H256, Perbill, - Percent, + Percent } from "@polkadot/types/interfaces/runtime"; import type { AccountEthereumSignature, @@ -71,7 +71,7 @@ import type { XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, - XcmVersionedXcm, + XcmVersionedXcm } from "@polkadot/types/lookup"; export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>; @@ -83,9 +83,10 @@ declare module "@polkadot/api-base/types/submittable" { interface AugmentedSubmittables { assetManager: { /** - * Change the xcm type mapping for a given assetId We also change this if the previous units - * per second where pointing at the old assetType - */ + * Change the xcm type mapping for a given assetId + * We also change this if the previous units per second where pointing at the old + * assetType + **/ changeExistingAssetType: AugmentedSubmittable< ( assetId: u128 | AnyNumber | Uint8Array, @@ -95,9 +96,11 @@ declare module "@polkadot/api-base/types/submittable" { [u128, MoonbaseRuntimeXcmConfigAssetType, u32] >; /** - * Destroy a given foreign assetId The weight in this case is the one returned by the trait - * plus the db writes and reads from removing all the associated data - */ + * Destroy a given foreign assetId + * The weight in this case is the one returned by the trait + * plus the db writes and reads from removing all the associated + * data + **/ destroyForeignAsset: AugmentedSubmittable< ( assetId: u128 | AnyNumber | Uint8Array, @@ -105,7 +108,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u128, u32] >; - /** Register new asset with the asset manager */ + /** + * Register new asset with the asset manager + **/ registerForeignAsset: AugmentedSubmittable< ( asset: MoonbaseRuntimeXcmConfigAssetType | { Xcm: any } | string | Uint8Array, @@ -124,7 +129,9 @@ declare module "@polkadot/api-base/types/submittable" { bool ] >; - /** Remove a given assetId -> assetType association */ + /** + * Remove a given assetId -> assetType association + **/ removeExistingAssetType: AugmentedSubmittable< ( assetId: u128 | AnyNumber | Uint8Array, @@ -132,7 +139,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u128, u32] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; assets: { @@ -141,21 +150,23 @@ declare module "@polkadot/api-base/types/submittable" { * * Origin must be Signed. * - * Ensures that `ApprovalDeposit` worth of `Currency` is reserved from signing account for the - * purpose of holding the approval. If some non-zero amount of assets is already approved from - * signing account to `delegate`, then it is topped up or unreserved to meet the right value. + * Ensures that `ApprovalDeposit` worth of `Currency` is reserved from signing account + * for the purpose of holding the approval. If some non-zero amount of assets is already + * approved from signing account to `delegate`, then it is topped up or unreserved to + * meet the right value. * - * NOTE: The signing account does not need to own `amount` of assets at the point of making this call. + * NOTE: The signing account does not need to own `amount` of assets at the point of + * making this call. * * - `id`: The identifier of the asset. * - `delegate`: The account to delegate permission to transfer asset. - * - `amount`: The amount of asset that may be transferred by `delegate`. If there is already an - * approval in place, then this acts additively. + * - `amount`: The amount of asset that may be transferred by `delegate`. If there is + * already an approval in place, then this acts additively. * * Emits `ApprovedTransfer` on success. * * Weight: `O(1)` - */ + **/ approveTransfer: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -175,7 +186,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `Blocked`. * * Weight: `O(1)` - */ + **/ block: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -197,8 +208,9 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `Burned` with the actual amount burned. If this takes the balance to below the * minimum for the asset, then the amount burned is increased to take it to zero. * - * Weight: `O(1)` Modes: Post-existence of `who`; Pre & post Zombie-status of `who`. - */ + * Weight: `O(1)` + * Modes: Post-existence of `who`; Pre & post Zombie-status of `who`. + **/ burn: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -210,7 +222,8 @@ declare module "@polkadot/api-base/types/submittable" { /** * Cancel all of some asset approved for delegated transfer by a third-party account. * - * Origin must be Signed and there must be an approval in place between signer and `delegate`. + * Origin must be Signed and there must be an approval in place between signer and + * `delegate`. * * Unreserves any deposit previously reserved by `approve_transfer` for the approval. * @@ -220,7 +233,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `ApprovalCancelled` on success. * * Weight: `O(1)` - */ + **/ cancelApproval: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -240,7 +253,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `MetadataCleared`. * * Weight: `O(1)` - */ + **/ clearMetadata: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -255,18 +268,17 @@ declare module "@polkadot/api-base/types/submittable" { * Funds of sender are reserved by `AssetDeposit`. * * Parameters: - * - * - `id`: The identifier of the new asset. This must not be currently in use to identify an - * existing asset. If [`NextAssetId`] is set, then this must be equal to it. - * - `admin`: The admin of this class of assets. The admin is the initial address of each member - * of the asset class's admin team. - * - `min_balance`: The minimum balance of this new asset that any single account must have. If - * an account's balance is reduced below this, then it collapses to zero. + * - `id`: The identifier of the new asset. This must not be currently in use to identify + * an existing asset. If [`NextAssetId`] is set, then this must be equal to it. + * - `admin`: The admin of this class of assets. The admin is the initial address of each + * member of the asset class's admin team. + * - `min_balance`: The minimum balance of this new asset that any single account must + * have. If an account's balance is reduced below this, then it collapses to zero. * * Emits `Created` event when successful. * * Weight: `O(1)` - */ + **/ create: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -284,10 +296,11 @@ declare module "@polkadot/api-base/types/submittable" { * Due to weight restrictions, this function may need to be called multiple times to fully * destroy all accounts. It will destroy `RemoveItemsLimit` accounts at a time. * - * - `id`: The identifier of the asset to be destroyed. This must identify an existing asset. + * - `id`: The identifier of the asset to be destroyed. This must identify an existing + * asset. * * Each call emits the `Event::DestroyedAccounts` event. - */ + **/ destroyAccounts: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -301,10 +314,11 @@ declare module "@polkadot/api-base/types/submittable" { * Due to weight restrictions, this function may need to be called multiple times to fully * destroy all approvals. It will destroy `RemoveItemsLimit` approvals at a time. * - * - `id`: The identifier of the asset to be destroyed. This must identify an existing asset. + * - `id`: The identifier of the asset to be destroyed. This must identify an existing + * asset. * * Each call emits the `Event::DestroyedApprovals` event. - */ + **/ destroyApprovals: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -312,13 +326,15 @@ declare module "@polkadot/api-base/types/submittable" { /** * Complete destroying asset and unreserve currency. * - * `finish_destroy` should only be called after `start_destroy` has been called, and the asset - * is in a `Destroying` state. All accounts or approvals should be destroyed before hand. + * `finish_destroy` should only be called after `start_destroy` has been called, and the + * asset is in a `Destroying` state. All accounts or approvals should be destroyed before + * hand. * - * - `id`: The identifier of the asset to be destroyed. This must identify an existing asset. + * - `id`: The identifier of the asset to be destroyed. This must identify an existing + * asset. * * Each successful call emits the `Event::Destroyed` event. - */ + **/ finishDestroy: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -333,18 +349,20 @@ declare module "@polkadot/api-base/types/submittable" { * - `issuer`: The new Issuer of this asset. * - `admin`: The new Admin of this asset. * - `freezer`: The new Freezer of this asset. - * - `min_balance`: The minimum balance of this new asset that any single account must have. If - * an account's balance is reduced below this, then it collapses to zero. - * - `is_sufficient`: Whether a non-zero balance of this asset is deposit of sufficient value to - * account for the state bloat associated with its balance storage. If set to `true`, then - * non-zero balances may be stored without a `consumer` reference (and thus an ED in the - * Balances pallet or whatever else is used to control user-account state growth). - * - `is_frozen`: Whether this asset class is frozen except for permissioned/admin instructions. + * - `min_balance`: The minimum balance of this new asset that any single account must + * have. If an account's balance is reduced below this, then it collapses to zero. + * - `is_sufficient`: Whether a non-zero balance of this asset is deposit of sufficient + * value to account for the state bloat associated with its balance storage. If set to + * `true`, then non-zero balances may be stored without a `consumer` reference (and thus + * an ED in the Balances pallet or whatever else is used to control user-account state + * growth). + * - `is_frozen`: Whether this asset class is frozen except for permissioned/admin + * instructions. * * Emits `AssetStatusChanged` with the identity of the asset. * * Weight: `O(1)` - */ + **/ forceAssetStatus: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -370,8 +388,8 @@ declare module "@polkadot/api-base/types/submittable" { /** * Cancel all of some asset approved for delegated transfer by a third-party account. * - * Origin must be either ForceOrigin or Signed origin with the signer being the Admin account - * of the asset `id`. + * Origin must be either ForceOrigin or Signed origin with the signer being the Admin + * account of the asset `id`. * * Unreserves any deposit previously reserved by `approve_transfer` for the approval. * @@ -381,7 +399,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `ApprovalCancelled` on success. * * Weight: `O(1)` - */ + **/ forceCancelApproval: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -402,7 +420,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `MetadataCleared`. * * Weight: `O(1)` - */ + **/ forceClearMetadata: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -416,18 +434,18 @@ declare module "@polkadot/api-base/types/submittable" { * * Unlike `create`, no funds are reserved. * - * - `id`: The identifier of the new asset. This must not be currently in use to identify an - * existing asset. If [`NextAssetId`] is set, then this must be equal to it. - * - `owner`: The owner of this class of assets. The owner has full superuser permissions over - * this asset, but may later change and configure the permissions using `transfer_ownership` - * and `set_team`. - * - `min_balance`: The minimum balance of this new asset that any single account must have. If - * an account's balance is reduced below this, then it collapses to zero. + * - `id`: The identifier of the new asset. This must not be currently in use to identify + * an existing asset. If [`NextAssetId`] is set, then this must be equal to it. + * - `owner`: The owner of this class of assets. The owner has full superuser permissions + * over this asset, but may later change and configure the permissions using + * `transfer_ownership` and `set_team`. + * - `min_balance`: The minimum balance of this new asset that any single account must + * have. If an account's balance is reduced below this, then it collapses to zero. * * Emits `ForceCreated` event when successful. * * Weight: `O(1)` - */ + **/ forceCreate: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -452,7 +470,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `MetadataSet`. * * Weight: `O(N + S)` where N and S are the length of the name and symbol respectively. - */ + **/ forceSetMetadata: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -472,16 +490,18 @@ declare module "@polkadot/api-base/types/submittable" { * - `source`: The account to be debited. * - `dest`: The account to be credited. * - `amount`: The amount by which the `source`'s balance of assets should be reduced and - * `dest`'s balance increased. The amount actually transferred may be slightly greater in - * the case that the transfer would otherwise take the `source` balance above zero but below - * the minimum balance. Must be greater than zero. + * `dest`'s balance increased. The amount actually transferred may be slightly greater in + * the case that the transfer would otherwise take the `source` balance above zero but + * below the minimum balance. Must be greater than zero. * - * Emits `Transferred` with the actual amount transferred. If this takes the source balance to - * below the minimum for the asset, then the amount transferred is increased to take it to zero. + * Emits `Transferred` with the actual amount transferred. If this takes the source balance + * to below the minimum for the asset, then the amount transferred is increased to take it + * to zero. * - * Weight: `O(1)` Modes: Pre-existence of `dest`; Post-existence of `source`; Account - * pre-existence of `dest`. - */ + * Weight: `O(1)` + * Modes: Pre-existence of `dest`; Post-existence of `source`; Account pre-existence of + * `dest`. + **/ forceTransfer: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -492,9 +512,9 @@ declare module "@polkadot/api-base/types/submittable" { [Compact, AccountId20, AccountId20, Compact] >; /** - * Disallow further unprivileged transfers of an asset `id` from an account `who`. `who` must - * already exist as an entry in `Account`s of the asset. If you want to freeze an account that - * does not have an entry, use `touch_other` first. + * Disallow further unprivileged transfers of an asset `id` from an account `who`. `who` + * must already exist as an entry in `Account`s of the asset. If you want to freeze an + * account that does not have an entry, use `touch_other` first. * * Origin must be Signed and the sender should be the Freezer of the asset `id`. * @@ -504,7 +524,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `Frozen`. * * Weight: `O(1)` - */ + **/ freeze: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -522,7 +542,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `Frozen`. * * Weight: `O(1)` - */ + **/ freezeAsset: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -538,8 +558,9 @@ declare module "@polkadot/api-base/types/submittable" { * * Emits `Issued` event when successful. * - * Weight: `O(1)` Modes: Pre-existing balance of `beneficiary`; Account pre-existence of `beneficiary`. - */ + * Weight: `O(1)` + * Modes: Pre-existing balance of `beneficiary`; Account pre-existence of `beneficiary`. + **/ mint: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -549,15 +570,17 @@ declare module "@polkadot/api-base/types/submittable" { [Compact, AccountId20, Compact] >; /** - * Return the deposit (if any) of an asset account or a consumer reference (if any) of an account. + * Return the deposit (if any) of an asset account or a consumer reference (if any) of an + * account. * * The origin must be Signed. * - * - `id`: The identifier of the asset for which the caller would like the deposit refunded. + * - `id`: The identifier of the asset for which the caller would like the deposit + * refunded. * - `allow_burn`: If `true` then assets may be destroyed in order to complete the refund. * * Emits `Refunded` event when successful. - */ + **/ refund: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -576,7 +599,7 @@ declare module "@polkadot/api-base/types/submittable" { * - `who`: The account to refund. * * Emits `Refunded` event when successful. - */ + **/ refundOther: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -589,8 +612,9 @@ declare module "@polkadot/api-base/types/submittable" { * * Origin must be Signed and the sender should be the Owner of the asset `id`. * - * Funds of sender are reserved according to the formula: `MetadataDepositBase + - * MetadataDepositPerByte * (name.len + symbol.len)` taking into account any already reserved funds. + * Funds of sender are reserved according to the formula: + * `MetadataDepositBase + MetadataDepositPerByte * (name.len + symbol.len)` taking into + * account any already reserved funds. * * - `id`: The identifier of the asset to update. * - `name`: The user friendly name of this asset. Limited in length by `StringLimit`. @@ -600,7 +624,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `MetadataSet`. * * Weight: `O(1)` - */ + **/ setMetadata: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -613,16 +637,17 @@ declare module "@polkadot/api-base/types/submittable" { /** * Sets the minimum balance of an asset. * - * Only works if there aren't any accounts that are holding the asset or if the new value of - * `min_balance` is less than the old one. + * Only works if there aren't any accounts that are holding the asset or if + * the new value of `min_balance` is less than the old one. * - * Origin must be Signed and the sender has to be the Owner of the asset `id`. + * Origin must be Signed and the sender has to be the Owner of the + * asset `id`. * * - `id`: The identifier of the asset. * - `min_balance`: The new value of `min_balance`. * * Emits `AssetMinBalanceChanged` event when successful. - */ + **/ setMinBalance: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -643,7 +668,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `TeamChanged`. * * Weight: `O(1)` - */ + **/ setTeam: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -661,10 +686,11 @@ declare module "@polkadot/api-base/types/submittable" { * * The origin must conform to `ForceOrigin` or must be `Signed` by the asset's `owner`. * - * - `id`: The identifier of the asset to be destroyed. This must identify an existing asset. + * - `id`: The identifier of the asset to be destroyed. This must identify an existing + * asset. * * The asset class must be frozen before calling `start_destroy`. - */ + **/ startDestroy: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -680,7 +706,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `Thawed`. * * Weight: `O(1)` - */ + **/ thaw: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -698,7 +724,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `Thawed`. * * Weight: `O(1)` - */ + **/ thawAsset: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -708,11 +734,12 @@ declare module "@polkadot/api-base/types/submittable" { * * A deposit will be taken from the signer account. * - * - `origin`: Must be Signed; the signer account must have sufficient funds for a deposit to be taken. + * - `origin`: Must be Signed; the signer account must have sufficient funds for a deposit + * to be taken. * - `id`: The identifier of the asset for the account to be created. * * Emits `Touched` event when successful. - */ + **/ touch: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -722,13 +749,13 @@ declare module "@polkadot/api-base/types/submittable" { * * A deposit will be taken from the signer account. * - * - `origin`: Must be Signed by `Freezer` or `Admin` of the asset `id`; the signer account must - * have sufficient funds for a deposit to be taken. + * - `origin`: Must be Signed by `Freezer` or `Admin` of the asset `id`; the signer account + * must have sufficient funds for a deposit to be taken. * - `id`: The identifier of the asset for the account to be created. * - `who`: The account to be created. * * Emits `Touched` event when successful. - */ + **/ touchOther: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -744,16 +771,18 @@ declare module "@polkadot/api-base/types/submittable" { * - `id`: The identifier of the asset to have some amount transferred. * - `target`: The account to be credited. * - `amount`: The amount by which the sender's balance of assets should be reduced and - * `target`'s balance increased. The amount actually transferred may be slightly greater in - * the case that the transfer would otherwise take the sender balance above zero but below - * the minimum balance. Must be greater than zero. + * `target`'s balance increased. The amount actually transferred may be slightly greater in + * the case that the transfer would otherwise take the sender balance above zero but below + * the minimum balance. Must be greater than zero. * - * Emits `Transferred` with the actual amount transferred. If this takes the source balance to - * below the minimum for the asset, then the amount transferred is increased to take it to zero. + * Emits `Transferred` with the actual amount transferred. If this takes the source balance + * to below the minimum for the asset, then the amount transferred is increased to take it + * to zero. * - * Weight: `O(1)` Modes: Pre-existence of `target`; Post-existence of sender; Account - * pre-existence of `target`. - */ + * Weight: `O(1)` + * Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of + * `target`. + **/ transfer: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -763,23 +792,25 @@ declare module "@polkadot/api-base/types/submittable" { [Compact, AccountId20, Compact] >; /** - * Transfer some asset balance from a previously delegated account to some third-party account. + * Transfer some asset balance from a previously delegated account to some third-party + * account. * - * Origin must be Signed and there must be an approval in place by the `owner` to the signer. + * Origin must be Signed and there must be an approval in place by the `owner` to the + * signer. * * If the entire amount approved for transfer is transferred, then any deposit previously * reserved by `approve_transfer` is unreserved. * * - `id`: The identifier of the asset. - * - `owner`: The account which previously approved for a transfer of at least `amount` and from - * which the asset balance will be withdrawn. + * - `owner`: The account which previously approved for a transfer of at least `amount` and + * from which the asset balance will be withdrawn. * - `destination`: The account to which the asset balance of `amount` will be transferred. * - `amount`: The amount of assets to transfer. * * Emits `TransferredApproved` on success. * * Weight: `O(1)` - */ + **/ transferApproved: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -797,16 +828,18 @@ declare module "@polkadot/api-base/types/submittable" { * - `id`: The identifier of the asset to have some amount transferred. * - `target`: The account to be credited. * - `amount`: The amount by which the sender's balance of assets should be reduced and - * `target`'s balance increased. The amount actually transferred may be slightly greater in - * the case that the transfer would otherwise take the sender balance above zero but below - * the minimum balance. Must be greater than zero. + * `target`'s balance increased. The amount actually transferred may be slightly greater in + * the case that the transfer would otherwise take the sender balance above zero but below + * the minimum balance. Must be greater than zero. * - * Emits `Transferred` with the actual amount transferred. If this takes the source balance to - * below the minimum for the asset, then the amount transferred is increased to take it to zero. + * Emits `Transferred` with the actual amount transferred. If this takes the source balance + * to below the minimum for the asset, then the amount transferred is increased to take it + * to zero. * - * Weight: `O(1)` Modes: Pre-existence of `target`; Post-existence of sender; Account - * pre-existence of `target`. - */ + * Weight: `O(1)` + * Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of + * `target`. + **/ transferKeepAlive: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -826,7 +859,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `OwnerChanged`. * * Weight: `O(1)` - */ + **/ transferOwnership: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -834,34 +867,42 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; authorFilter: { - /** Update the eligible count. Intended to be called by governance. */ + /** + * Update the eligible count. Intended to be called by governance. + **/ setEligible: AugmentedSubmittable< (updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; authorInherent: { /** - * This inherent is a workaround to run code after the "real" inherents have executed, but - * before transactions are executed. - */ + * This inherent is a workaround to run code after the "real" inherents have executed, + * but before transactions are executed. + **/ kickOffAuthorshipValidation: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; authorMapping: { /** * Register your NimbusId onchain so blocks you author are associated with your account. * - * Users who have been (or will soon be) elected active collators in staking, should submit - * this extrinsic to have their blocks accepted and earn rewards. - */ + * Users who have been (or will soon be) elected active collators in staking, + * should submit this extrinsic to have their blocks accepted and earn rewards. + **/ addAssociation: AugmentedSubmittable< ( nimbusId: NimbusPrimitivesNimbusCryptoPublic | string | Uint8Array @@ -871,8 +912,9 @@ declare module "@polkadot/api-base/types/submittable" { /** * Clear your Mapping. * - * This is useful when you are no longer an author and would like to re-claim your security deposit. - */ + * This is useful when you are no longer an author and would like to re-claim your security + * deposit. + **/ clearAssociation: AugmentedSubmittable< ( nimbusId: NimbusPrimitivesNimbusCryptoPublic | string | Uint8Array @@ -882,16 +924,17 @@ declare module "@polkadot/api-base/types/submittable" { /** * Remove your Mapping. * - * This is useful when you are no longer an author and would like to re-claim your security deposit. - */ + * This is useful when you are no longer an author and would like to re-claim your security + * deposit. + **/ removeKeys: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * Set association and session keys at once. * - * This is useful for key rotation to update Nimbus and VRF keys in one call. No new security - * deposit is required. Will replace `update_association` which is kept now for backwards - * compatibility reasons. - */ + * This is useful for key rotation to update Nimbus and VRF keys in one call. + * No new security deposit is required. Will replace `update_association` which is kept + * now for backwards compatibility reasons. + **/ setKeys: AugmentedSubmittable< (keys: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] @@ -900,9 +943,9 @@ declare module "@polkadot/api-base/types/submittable" { * Change your Mapping. * * This is useful for normal key rotation or for when switching from one physical collator - * machine to another. No new security deposit is required. This sets keys to - * new_nimbus_id.into() by default. - */ + * machine to another. No new security deposit is required. + * This sets keys to new_nimbus_id.into() by default. + **/ updateAssociation: AugmentedSubmittable< ( oldNimbusId: NimbusPrimitivesNimbusCryptoPublic | string | Uint8Array, @@ -910,19 +953,21 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [NimbusPrimitivesNimbusCryptoPublic, NimbusPrimitivesNimbusCryptoPublic] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; balances: { /** * Burn the specified liquid free balance from the origin account. * - * If the origin's account ends up below the existential deposit as a result of the burn and - * `keep_alive` is false, the account will be reaped. + * If the origin's account ends up below the existential deposit as a result + * of the burn and `keep_alive` is false, the account will be reaped. * - * Unlike sending funds to a _burn_ address, which merely makes the funds inaccessible, this - * `burn` operation will reduce total issuance by the amount _burned_. - */ + * Unlike sending funds to a _burn_ address, which merely makes the funds inaccessible, + * this `burn` operation will reduce total issuance by the amount _burned_. + **/ burn: AugmentedSubmittable< ( value: Compact | AnyNumber | Uint8Array, @@ -936,7 +981,7 @@ declare module "@polkadot/api-base/types/submittable" { * Can only be called by root and always needs a positive `delta`. * * # Example - */ + **/ forceAdjustTotalIssuance: AugmentedSubmittable< ( direction: @@ -953,7 +998,7 @@ declare module "@polkadot/api-base/types/submittable" { * Set the regular balance of a given account. * * The dispatch origin for this call is `root`. - */ + **/ forceSetBalance: AugmentedSubmittable< ( who: AccountId20 | string | Uint8Array, @@ -964,7 +1009,7 @@ declare module "@polkadot/api-base/types/submittable" { /** * Exactly as `transfer_allow_death`, except the origin must be root and the source account * may be specified. - */ + **/ forceTransfer: AugmentedSubmittable< ( source: AccountId20 | string | Uint8Array, @@ -977,7 +1022,7 @@ declare module "@polkadot/api-base/types/submittable" { * Unreserve some balance from a user by force. * * Can only be called by ROOT. - */ + **/ forceUnreserve: AugmentedSubmittable< ( who: AccountId20 | string | Uint8Array, @@ -988,19 +1033,20 @@ declare module "@polkadot/api-base/types/submittable" { /** * Transfer the entire transferable balance from the caller account. * - * NOTE: This function only attempts to transfer _transferable_ balances. This means that any - * locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be - * transferred by this function. To ensure that this function results in a killed account, you - * might need to prepare the account by removing any reference counters, storage deposits, etc... + * NOTE: This function only attempts to transfer _transferable_ balances. This means that + * any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be + * transferred by this function. To ensure that this function results in a killed account, + * you might need to prepare the account by removing any reference counters, storage + * deposits, etc... * * The dispatch origin of this call must be Signed. * * - `dest`: The recipient of the transfer. - * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all of the - * funds the account has, causing the sender account to be killed (false), or transfer - * everything except at least the existential deposit, which will guarantee to keep the - * sender account alive (true). - */ + * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all + * of the funds the account has, causing the sender account to be killed (false), or + * transfer everything except at least the existential deposit, which will guarantee to + * keep the sender account alive (true). + **/ transferAll: AugmentedSubmittable< ( dest: AccountId20 | string | Uint8Array, @@ -1011,12 +1057,12 @@ declare module "@polkadot/api-base/types/submittable" { /** * Transfer some liquid free balance to another account. * - * `transfer_allow_death` will set the `FreeBalance` of the sender and receiver. If the - * sender's account is below the existential deposit as a result of the transfer, the account - * will be reaped. + * `transfer_allow_death` will set the `FreeBalance` of the sender and receiver. + * If the sender's account is below the existential deposit as a result + * of the transfer, the account will be reaped. * * The dispatch origin for this call must be `Signed` by the transactor. - */ + **/ transferAllowDeath: AugmentedSubmittable< ( dest: AccountId20 | string | Uint8Array, @@ -1025,13 +1071,13 @@ declare module "@polkadot/api-base/types/submittable" { [AccountId20, Compact] >; /** - * Same as the [`transfer_allow_death`][`transfer_allow_death`] call, but with a check that - * the transfer will not kill the origin account. + * Same as the [`transfer_allow_death`] call, but with a check that the transfer will not + * kill the origin account. * - * 99% of the time you want [`transfer_allow_death`][`transfer_allow_death`] instead. + * 99% of the time you want [`transfer_allow_death`] instead. * * [`transfer_allow_death`]: struct.Pallet.html#method.transfer - */ + **/ transferKeepAlive: AugmentedSubmittable< ( dest: AccountId20 | string | Uint8Array, @@ -1045,16 +1091,19 @@ declare module "@polkadot/api-base/types/submittable" { * - `origin`: Must be `Signed`. * - `who`: The account to be upgraded. * - * This will waive the transaction fee if at least all but 10% of the accounts needed to be - * upgraded. (We let some not have to be upgraded just in order to allow for the possibility of churn). - */ + * This will waive the transaction fee if at least all but 10% of the accounts needed to + * be upgraded. (We let some not have to be upgraded just in order to allow for the + * possibility of churn). + **/ upgradeAccounts: AugmentedSubmittable< ( who: Vec | (AccountId20 | string | Uint8Array)[] ) => SubmittableExtrinsic, [Vec] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; convictionVoting: { @@ -1062,26 +1111,27 @@ declare module "@polkadot/api-base/types/submittable" { * Delegate the voting power (with some given conviction) of the sending account for a * particular class of polls. * - * The balance delegated is locked for as long as it's delegated, and thereafter for the time - * appropriate for the conviction's lock period. + * The balance delegated is locked for as long as it's delegated, and thereafter for the + * time appropriate for the conviction's lock period. * * The dispatch origin of this call must be _Signed_, and the signing account must either: + * - be delegating already; or + * - have no voting activity (if there is, then it will need to be removed through + * `remove_vote`). * - * - Be delegating already; or - * - Have no voting activity (if there is, then it will need to be removed through `remove_vote`). * - `to`: The account whose voting the `target` account's voting power will follow. - * - `class`: The class of polls to delegate. To delegate multiple classes, multiple calls to - * this function are required. - * - `conviction`: The conviction that will be attached to the delegated votes. When the account - * is undelegated, the funds will be locked for the corresponding period. - * - `balance`: The amount of the account's balance to be used in delegating. This must not be - * more than the account's current balance. + * - `class`: The class of polls to delegate. To delegate multiple classes, multiple calls + * to this function are required. + * - `conviction`: The conviction that will be attached to the delegated votes. When the + * account is undelegated, the funds will be locked for the corresponding period. + * - `balance`: The amount of the account's balance to be used in delegating. This must not + * be more than the account's current balance. * * Emits `Delegated`. * - * Weight: `O(R)` where R is the number of polls the voter delegating to has voted on. Weight - * is initially charged as if maximum votes, but is refunded later. - */ + * Weight: `O(R)` where R is the number of polls the voter delegating to has + * voted on. Weight is initially charged as if maximum votes, but is refunded later. + **/ delegate: AugmentedSubmittable< ( clazz: u16 | AnyNumber | Uint8Array, @@ -1105,18 +1155,20 @@ declare module "@polkadot/api-base/types/submittable" { * Remove a vote for a poll. * * If the `target` is equal to the signer, then this function is exactly equivalent to - * `remove_vote`. If not equal to the signer, then the vote must have expired, either because - * the poll was cancelled, because the voter lost the poll or because the conviction period is over. + * `remove_vote`. If not equal to the signer, then the vote must have expired, + * either because the poll was cancelled, because the voter lost the poll or + * because the conviction period is over. * * The dispatch origin of this call must be _Signed_. * - * - `target`: The account of the vote to be removed; this account must have voted for poll `index`. + * - `target`: The account of the vote to be removed; this account must have voted for poll + * `index`. * - `index`: The index of poll of the vote to be removed. * - `class`: The class of the poll. * - * Weight: `O(R + log R)` where R is the number of polls that `target` has voted on. Weight is - * calculated for the maximum number of vote. - */ + * Weight: `O(R + log R)` where R is the number of polls that `target` has voted on. + * Weight is calculated for the maximum number of vote. + **/ removeOtherVote: AugmentedSubmittable< ( target: AccountId20 | string | Uint8Array, @@ -1129,33 +1181,33 @@ declare module "@polkadot/api-base/types/submittable" { * Remove a vote for a poll. * * If: - * - * - The poll was cancelled, or - * - The poll is ongoing, or - * - The poll has ended such that - * - The vote of the account was in opposition to the result; or - * - There was no conviction to the account's vote; or - * - The account made a split vote ...then the vote is removed cleanly and a following call to - * `unlock` may result in more funds being available. + * - the poll was cancelled, or + * - the poll is ongoing, or + * - the poll has ended such that + * - the vote of the account was in opposition to the result; or + * - there was no conviction to the account's vote; or + * - the account made a split vote + * ...then the vote is removed cleanly and a following call to `unlock` may result in more + * funds being available. * * If, however, the poll has ended and: - * - * - It finished corresponding to the vote of the account, and - * - The account made a standard vote with conviction, and - * - The lock period of the conviction is not over ...then the lock will be aggregated into the - * overall account's lock, which may involve _overlocking_ (where the two locks are combined - * into a single lock that is the maximum of both the amount locked and the time is it locked for). + * - it finished corresponding to the vote of the account, and + * - the account made a standard vote with conviction, and + * - the lock period of the conviction is not over + * ...then the lock will be aggregated into the overall account's lock, which may involve + * *overlocking* (where the two locks are combined into a single lock that is the maximum + * of both the amount locked and the time is it locked for). * * The dispatch origin of this call must be _Signed_, and the signer must have a vote * registered for poll `index`. * * - `index`: The index of poll of the vote to be removed. - * - `class`: Optional parameter, if given it indicates the class of the poll. For polls which - * have finished or are cancelled, this must be `Some`. + * - `class`: Optional parameter, if given it indicates the class of the poll. For polls + * which have finished or are cancelled, this must be `Some`. * - * Weight: `O(R + log R)` where R is the number of polls that `target` has voted on. Weight is - * calculated for the maximum number of vote. - */ + * Weight: `O(R + log R)` where R is the number of polls that `target` has voted on. + * Weight is calculated for the maximum number of vote. + **/ removeVote: AugmentedSubmittable< ( clazz: Option | null | Uint8Array | u16 | AnyNumber, @@ -1166,25 +1218,26 @@ declare module "@polkadot/api-base/types/submittable" { /** * Undelegate the voting power of the sending account for a particular class of polls. * - * Tokens may be unlocked following once an amount of time consistent with the lock period of - * the conviction with which the delegation was issued has passed. + * Tokens may be unlocked following once an amount of time consistent with the lock period + * of the conviction with which the delegation was issued has passed. * - * The dispatch origin of this call must be _Signed_ and the signing account must be currently - * delegating. + * The dispatch origin of this call must be _Signed_ and the signing account must be + * currently delegating. * * - `class`: The class of polls to remove the delegation from. * * Emits `Undelegated`. * - * Weight: `O(R)` where R is the number of polls the voter delegating to has voted on. Weight - * is initially charged as if maximum votes, but is refunded later. - */ + * Weight: `O(R)` where R is the number of polls the voter delegating to has + * voted on. Weight is initially charged as if maximum votes, but is refunded later. + **/ undelegate: AugmentedSubmittable< (clazz: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u16] >; /** - * Remove the lock caused by prior voting/delegating which has expired within a particular class. + * Remove the lock caused by prior voting/delegating which has expired within a particular + * class. * * The dispatch origin of this call must be _Signed_. * @@ -1192,7 +1245,7 @@ declare module "@polkadot/api-base/types/submittable" { * - `target`: The account to remove the lock on. * * Weight: `O(R)` with R number of vote of target. - */ + **/ unlock: AugmentedSubmittable< ( clazz: u16 | AnyNumber | Uint8Array, @@ -1201,8 +1254,8 @@ declare module "@polkadot/api-base/types/submittable" { [u16, AccountId20] >; /** - * Vote in a poll. If `vote.is_aye()`, the vote is to enact the proposal; otherwise it is a - * vote to keep the status quo. + * Vote in a poll. If `vote.is_aye()`, the vote is to enact the proposal; + * otherwise it is a vote to keep the status quo. * * The dispatch origin of this call must be _Signed_. * @@ -1210,7 +1263,7 @@ declare module "@polkadot/api-base/types/submittable" { * - `vote`: The vote configuration. * * Weight: `O(R)` where R is the number of polls the voter has voted on. - */ + **/ vote: AugmentedSubmittable< ( pollIndex: Compact | AnyNumber | Uint8Array, @@ -1224,16 +1277,19 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, PalletConvictionVotingVoteAccountVote] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; crowdloanRewards: { /** * Associate a native rewards_destination identity with a crowdloan contribution. * - * The caller needs to provide the unassociated relay account and a proof to succeed with the - * association The proof is nothing but a signature over the reward_address using the relay keys - */ + * The caller needs to provide the unassociated relay account and a proof to succeed + * with the association + * The proof is nothing but a signature over the reward_address using the relay keys + **/ associateNativeIdentity: AugmentedSubmittable< ( rewardAccount: AccountId20 | string | Uint8Array, @@ -1251,10 +1307,10 @@ declare module "@polkadot/api-base/types/submittable" { /** * Change reward account by submitting proofs from relay accounts * - * The number of valid proofs needs to be bigger than 'RewardAddressRelayVoteThreshold' The - * account to be changed needs to be submitted as 'previous_account' Origin must be - * RewardAddressChangeOrigin - */ + * The number of valid proofs needs to be bigger than 'RewardAddressRelayVoteThreshold' + * The account to be changed needs to be submitted as 'previous_account' + * Origin must be RewardAddressChangeOrigin + **/ changeAssociationWithRelayKeys: AugmentedSubmittable< ( rewardAccount: AccountId20 | string | Uint8Array, @@ -1275,22 +1331,25 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, AccountId20, Vec>] >; - /** Collect whatever portion of your reward are currently vested. */ + /** + * Collect whatever portion of your reward are currently vested. + **/ claim: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * This extrinsic completes the initialization if some checks are fullfiled. These checks are: - * -The reward contribution money matches the crowdloan pot -The end vesting block is higher - * than the init vesting block -The initialization has not complete yet - */ + * -The reward contribution money matches the crowdloan pot + * -The end vesting block is higher than the init vesting block + * -The initialization has not complete yet + **/ completeInitialization: AugmentedSubmittable< (leaseEndingBlock: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; /** - * Initialize the reward distribution storage. It shortcuts whenever an error is found This - * does not enforce any checks other than making sure we dont go over funds + * Initialize the reward distribution storage. It shortcuts whenever an error is found + * This does not enforce any checks other than making sure we dont go over funds * complete_initialization should perform any additional - */ + **/ initializeRewardVec: AugmentedSubmittable< ( rewards: @@ -1303,27 +1362,39 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Vec, u128]>>] >; - /** Update reward address, proving that the caller owns the current native key */ + /** + * Update reward address, proving that the caller owns the current native key + **/ updateRewardAddress: AugmentedSubmittable< (newRewardAccount: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; emergencyParaXcm: { - /** Authorize a runtime upgrade. Only callable in `Paused` mode */ + /** + * Authorize a runtime upgrade. Only callable in `Paused` mode + **/ fastAuthorizeUpgrade: AugmentedSubmittable< (codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] >; - /** Resume `Normal` mode */ + /** + * Resume `Normal` mode + **/ pausedToNormal: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; ethereum: { - /** Transact an Ethereum transaction. */ + /** + * Transact an Ethereum transaction. + **/ transact: AugmentedSubmittable< ( transaction: @@ -1336,15 +1407,17 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [EthereumTransactionTransactionV2] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; ethereumXcm: { /** * Xcm Transact an Ethereum transaction, but allow to force the caller and create address. - * This call should be restricted (callable only by the runtime or governance). Weight: Gas - * limit plus the db reads involving the suspension and proxy checks - */ + * This call should be restricted (callable only by the runtime or governance). + * Weight: Gas limit plus the db reads involving the suspension and proxy checks + **/ forceTransactAs: AugmentedSubmittable< ( transactAs: H160 | string | Uint8Array, @@ -1362,18 +1435,18 @@ declare module "@polkadot/api-base/types/submittable" { * Resumes all Ethereum executions from XCM. * * - `origin`: Must pass `ControllerOrigin`. - */ + **/ resumeEthereumXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * Suspends all Ethereum executions from XCM. * * - `origin`: Must pass `ControllerOrigin`. - */ + **/ suspendEthereumXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** - * Xcm Transact an Ethereum transaction. Weight: Gas limit plus the db read involving the - * suspension check - */ + * Xcm Transact an Ethereum transaction. + * Weight: Gas limit plus the db read involving the suspension check + **/ transact: AugmentedSubmittable< ( xcmTransaction: @@ -1386,9 +1459,9 @@ declare module "@polkadot/api-base/types/submittable" { [XcmPrimitivesEthereumXcmEthereumXcmTransaction] >; /** - * Xcm Transact an Ethereum transaction through proxy. Weight: Gas limit plus the db reads - * involving the suspension and proxy checks - */ + * Xcm Transact an Ethereum transaction through proxy. + * Weight: Gas limit plus the db reads involving the suspension and proxy checks + **/ transactThroughProxy: AugmentedSubmittable< ( transactAs: H160 | string | Uint8Array, @@ -1401,11 +1474,15 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [H160, XcmPrimitivesEthereumXcmEthereumXcmTransaction] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; evm: { - /** Issue an EVM call operation. This is similar to a message call transaction in Ethereum. */ + /** + * Issue an EVM call operation. This is similar to a message call transaction in Ethereum. + **/ call: AugmentedSubmittable< ( source: H160 | string | Uint8Array, @@ -1432,7 +1509,10 @@ declare module "@polkadot/api-base/types/submittable" { Vec]>> ] >; - /** Issue an EVM create operation. This is similar to a contract creation transaction in Ethereum. */ + /** + * Issue an EVM create operation. This is similar to a contract creation transaction in + * Ethereum. + **/ create: AugmentedSubmittable< ( source: H160 | string | Uint8Array, @@ -1448,7 +1528,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [H160, Bytes, U256, u64, U256, Option, Option, Vec]>>] >; - /** Issue an EVM create2 operation. */ + /** + * Issue an EVM create2 operation. + **/ create2: AugmentedSubmittable< ( source: H160 | string | Uint8Array, @@ -1475,7 +1557,9 @@ declare module "@polkadot/api-base/types/submittable" { Vec]>> ] >; - /** Withdraw balance from EVM into currency/balances pallet. */ + /** + * Withdraw balance from EVM into currency/balances pallet. + **/ withdraw: AugmentedSubmittable< ( address: H160 | string | Uint8Array, @@ -1483,14 +1567,17 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [H160, u128] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; evmForeignAssets: { /** - * Change the xcm type mapping for a given assetId We also change this if the previous units - * per second where pointing at the old assetType - */ + * Change the xcm type mapping for a given assetId + * We also change this if the previous units per second where pointing at the old + * assetType + **/ changeXcmLocation: AugmentedSubmittable< ( assetId: u128 | AnyNumber | Uint8Array, @@ -1502,7 +1589,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u128, StagingXcmV4Location] >; - /** Create new asset with the ForeignAssetCreator */ + /** + * Create new asset with the ForeignAssetCreator + **/ createForeignAsset: AugmentedSubmittable< ( assetId: u128 | AnyNumber | Uint8Array, @@ -1517,7 +1606,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u128, StagingXcmV4Location, u8, Bytes, Bytes] >; - /** Freeze a given foreign assetId */ + /** + * Freeze a given foreign assetId + **/ freezeForeignAsset: AugmentedSubmittable< ( assetId: u128 | AnyNumber | Uint8Array, @@ -1525,19 +1616,23 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u128, bool] >; - /** Unfreeze a given foreign assetId */ + /** + * Unfreeze a given foreign assetId + **/ unfreezeForeignAsset: AugmentedSubmittable< (assetId: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u128] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; identity: { /** * Accept a given username that an `authority` granted. The call must include the full * username, as in `username.suffix`. - */ + **/ acceptUsername: AugmentedSubmittable< (username: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] @@ -1550,7 +1645,7 @@ declare module "@polkadot/api-base/types/submittable" { * - `account`: the account of the registrar. * * Emits `RegistrarAdded` if successful. - */ + **/ addRegistrar: AugmentedSubmittable< (account: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] @@ -1558,12 +1653,12 @@ declare module "@polkadot/api-base/types/submittable" { /** * Add the given account to the sender's subs. * - * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated to - * the sender. + * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated + * to the sender. * * The dispatch origin for this call must be _Signed_ and the sender must have a registered * sub identity of `sub`. - */ + **/ addSub: AugmentedSubmittable< ( sub: AccountId20 | string | Uint8Array, @@ -1585,7 +1680,7 @@ declare module "@polkadot/api-base/types/submittable" { * * The authority can grant up to `allocation` usernames. To top up their allocation, they * should just issue (or request via governance) a new `add_username_authority` call. - */ + **/ addUsernameAuthority: AugmentedSubmittable< ( authority: AccountId20 | string | Uint8Array, @@ -1599,12 +1694,13 @@ declare module "@polkadot/api-base/types/submittable" { * * Payment: A previously reserved deposit is returned on success. * - * The dispatch origin for this call must be _Signed_ and the sender must have a registered identity. + * The dispatch origin for this call must be _Signed_ and the sender must have a + * registered identity. * * - `reg_index`: The index of the registrar whose judgement is no longer requested. * * Emits `JudgementUnrequested` if successful. - */ + **/ cancelRequest: AugmentedSubmittable< (regIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -1614,25 +1710,26 @@ declare module "@polkadot/api-base/types/submittable" { * * Payment: All reserved balances on the account are returned. * - * The dispatch origin for this call must be _Signed_ and the sender must have a registered identity. + * The dispatch origin for this call must be _Signed_ and the sender must have a registered + * identity. * * Emits `IdentityCleared` if successful. - */ + **/ clearIdentity: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * Remove an account's identity and sub-account information and slash the deposits. * * Payment: Reserved balances from `set_subs` and `set_identity` are slashed and handled by - * `Slash`. Verification request deposits are not returned; they should be cancelled manually - * using `cancel_request`. + * `Slash`. Verification request deposits are not returned; they should be cancelled + * manually using `cancel_request`. * * The dispatch origin for this call must match `T::ForceOrigin`. * - * - `target`: the account whose identity the judgement is upon. This must be an account with a - * registered identity. + * - `target`: the account whose identity the judgement is upon. This must be an account + * with a registered identity. * * Emits `IdentityKilled` if successful. - */ + **/ killIdentity: AugmentedSubmittable< (target: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] @@ -1640,19 +1737,20 @@ declare module "@polkadot/api-base/types/submittable" { /** * Provide a judgement for an account's identity. * - * The dispatch origin for this call must be _Signed_ and the sender must be the account of - * the registrar whose index is `reg_index`. + * The dispatch origin for this call must be _Signed_ and the sender must be the account + * of the registrar whose index is `reg_index`. * * - `reg_index`: the index of the registrar whose judgement is being made. - * - `target`: the account whose identity the judgement is upon. This must be an account with a - * registered identity. + * - `target`: the account whose identity the judgement is upon. This must be an account + * with a registered identity. * - `judgement`: the judgement of the registrar of index `reg_index` about `target`. - * - `identity`: The hash of the [`IdentityInformationProvider`] for that the judgement is provided. + * - `identity`: The hash of the [`IdentityInformationProvider`] for that the judgement is + * provided. * * Note: Judgements do not apply to a username. * * Emits `JudgementGiven` if successful. - */ + **/ provideJudgement: AugmentedSubmittable< ( regIndex: Compact | AnyNumber | Uint8Array, @@ -1675,29 +1773,29 @@ declare module "@polkadot/api-base/types/submittable" { /** * Remove the sender as a sub-account. * - * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated to - * the sender (_not_ the original depositor). + * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated + * to the sender (*not* the original depositor). * * The dispatch origin for this call must be _Signed_ and the sender must have a registered * super-identity. * * NOTE: This should not normally be used, but is provided in the case that the non- * controller of an account is maliciously registered as a sub-account. - */ + **/ quitSub: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** - * Remove a username that corresponds to an account with no identity. Exists when a user gets - * a username but then calls `clear_identity`. - */ + * Remove a username that corresponds to an account with no identity. Exists when a user + * gets a username but then calls `clear_identity`. + **/ removeDanglingUsername: AugmentedSubmittable< (username: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; /** * Remove an expired username approval. The username was approved by an authority but never - * accepted by the user and must now be beyond its expiration. The call must include the full - * username, as in `username.suffix`. - */ + * accepted by the user and must now be beyond its expiration. The call must include the + * full username, as in `username.suffix`. + **/ removeExpiredApproval: AugmentedSubmittable< (username: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] @@ -1705,17 +1803,19 @@ declare module "@polkadot/api-base/types/submittable" { /** * Remove the given account from the sender's subs. * - * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated to - * the sender. + * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated + * to the sender. * * The dispatch origin for this call must be _Signed_ and the sender must have a registered * sub identity of `sub`. - */ + **/ removeSub: AugmentedSubmittable< (sub: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Remove `authority` from the username authorities. */ + /** + * Remove `authority` from the username authorities. + **/ removeUsernameAuthority: AugmentedSubmittable< (authority: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] @@ -1725,7 +1825,7 @@ declare module "@polkadot/api-base/types/submittable" { * * The dispatch origin for this call must be _Signed_ and the sender must have a registered * sub identity of `sub`. - */ + **/ renameSub: AugmentedSubmittable< ( sub: AccountId20 | string | Uint8Array, @@ -1745,19 +1845,21 @@ declare module "@polkadot/api-base/types/submittable" { /** * Request a judgement from a registrar. * - * Payment: At most `max_fee` will be reserved for payment to the registrar if judgement given. + * Payment: At most `max_fee` will be reserved for payment to the registrar if judgement + * given. * - * The dispatch origin for this call must be _Signed_ and the sender must have a registered identity. + * The dispatch origin for this call must be _Signed_ and the sender must have a + * registered identity. * * - `reg_index`: The index of the registrar whose judgement is requested. * - `max_fee`: The maximum fee that may be paid. This should just be auto-populated as: * * ```nocompile - * Self::registrars().get(reg_index).unwrap().fee; + * Self::registrars().get(reg_index).unwrap().fee * ``` * * Emits `JudgementRequested` if successful. - */ + **/ requestJudgement: AugmentedSubmittable< ( regIndex: Compact | AnyNumber | Uint8Array, @@ -1768,12 +1870,12 @@ declare module "@polkadot/api-base/types/submittable" { /** * Change the account associated with a registrar. * - * The dispatch origin for this call must be _Signed_ and the sender must be the account of - * the registrar whose index is `index`. + * The dispatch origin for this call must be _Signed_ and the sender must be the account + * of the registrar whose index is `index`. * * - `index`: the index of the registrar whose fee is to be set. * - `new`: the new account ID. - */ + **/ setAccountId: AugmentedSubmittable< ( index: Compact | AnyNumber | Uint8Array, @@ -1784,12 +1886,12 @@ declare module "@polkadot/api-base/types/submittable" { /** * Set the fee required for a judgement to be requested from a registrar. * - * The dispatch origin for this call must be _Signed_ and the sender must be the account of - * the registrar whose index is `index`. + * The dispatch origin for this call must be _Signed_ and the sender must be the account + * of the registrar whose index is `index`. * * - `index`: the index of the registrar whose fee is to be set. * - `fee`: the new fee. - */ + **/ setFee: AugmentedSubmittable< ( index: Compact | AnyNumber | Uint8Array, @@ -1800,12 +1902,12 @@ declare module "@polkadot/api-base/types/submittable" { /** * Set the field information for a registrar. * - * The dispatch origin for this call must be _Signed_ and the sender must be the account of - * the registrar whose index is `index`. + * The dispatch origin for this call must be _Signed_ and the sender must be the account + * of the registrar whose index is `index`. * * - `index`: the index of the registrar whose fee is to be set. * - `fields`: the fields that the registrar concerns themselves with. - */ + **/ setFields: AugmentedSubmittable< ( index: Compact | AnyNumber | Uint8Array, @@ -1816,15 +1918,15 @@ declare module "@polkadot/api-base/types/submittable" { /** * Set an account's identity information and reserve the appropriate deposit. * - * If the account already has identity information, the deposit is taken as part payment for - * the new deposit. + * If the account already has identity information, the deposit is taken as part payment + * for the new deposit. * * The dispatch origin for this call must be _Signed_. * * - `info`: The identity information. * * Emits `IdentitySet` if successful. - */ + **/ setIdentity: AugmentedSubmittable< ( info: @@ -1845,7 +1947,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [PalletIdentityLegacyIdentityInfo] >; - /** Set a given username as the primary. The username should include the suffix. */ + /** + * Set a given username as the primary. The username should include the suffix. + **/ setPrimaryUsername: AugmentedSubmittable< (username: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] @@ -1853,13 +1957,14 @@ declare module "@polkadot/api-base/types/submittable" { /** * Set the sub-accounts of the sender. * - * Payment: Any aggregate balance reserved by previous `set_subs` calls will be returned and - * an amount `SubAccountDeposit` will be reserved for each item in `subs`. + * Payment: Any aggregate balance reserved by previous `set_subs` calls will be returned + * and an amount `SubAccountDeposit` will be reserved for each item in `subs`. * - * The dispatch origin for this call must be _Signed_ and the sender must have a registered identity. + * The dispatch origin for this call must be _Signed_ and the sender must have a registered + * identity. * * - `subs`: The identity's (new) sub-accounts. - */ + **/ setSubs: AugmentedSubmittable< ( subs: @@ -1888,10 +1993,10 @@ declare module "@polkadot/api-base/types/submittable" { * accept them later. * * Usernames must: - * * - Only contain lowercase ASCII characters or digits. - * - When combined with the suffix of the issuing authority be _less than_ the `MaxUsernameLength`. - */ + * - When combined with the suffix of the issuing authority be _less than_ the + * `MaxUsernameLength`. + **/ setUsernameFor: AugmentedSubmittable< ( who: AccountId20 | string | Uint8Array, @@ -1905,7 +2010,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, Bytes, Option] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; maintenanceMode: { @@ -1913,38 +2020,39 @@ declare module "@polkadot/api-base/types/submittable" { * Place the chain in maintenance mode * * Weight cost is: - * - * - One DB read to ensure we're not already in maintenance mode - * - Three DB writes - 1 for the mode, 1 for suspending xcm execution, 1 for the event - */ + * * One DB read to ensure we're not already in maintenance mode + * * Three DB writes - 1 for the mode, 1 for suspending xcm execution, 1 for the event + **/ enterMaintenanceMode: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * Return the chain to normal operating mode * * Weight cost is: - * - * - One DB read to ensure we're in maintenance mode - * - Three DB writes - 1 for the mode, 1 for resuming xcm execution, 1 for the event - */ + * * One DB read to ensure we're in maintenance mode + * * Three DB writes - 1 for the mode, 1 for resuming xcm execution, 1 for the event + **/ resumeNormalOperation: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; messageQueue: { /** * Execute an overweight message. * - * Temporary processing errors will be propagated whereas permanent errors are treated as - * success condition. + * Temporary processing errors will be propagated whereas permanent errors are treated + * as success condition. * * - `origin`: Must be `Signed`. * - `message_origin`: The origin from which the message to be executed arrived. * - `page`: The page in the queue in which the message to be executed is sitting. * - `index`: The index into the queue of the message to be executed. - * - `weight_limit`: The maximum amount of weight allowed to be consumed in the execution of the message. + * - `weight_limit`: The maximum amount of weight allowed to be consumed in the execution + * of the message. * * Benchmark complexity considerations: O(index + weight_limit). - */ + **/ executeOverweight: AugmentedSubmittable< ( messageOrigin: @@ -1964,7 +2072,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [CumulusPrimitivesCoreAggregateMessageOrigin, u32, u32, SpWeightsWeightV2Weight] >; - /** Remove a page which has no more messages remaining to be processed or is stale. */ + /** + * Remove a page which has no more messages remaining to be processed or is stale. + **/ reapPage: AugmentedSubmittable< ( messageOrigin: @@ -1978,7 +2088,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [CumulusPrimitivesCoreAggregateMessageOrigin, u32] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; moonbeamLazyMigrations: { @@ -2003,43 +2115,61 @@ declare module "@polkadot/api-base/types/submittable" { (assetId: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u128] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; moonbeamOrbiters: { - /** Add a collator to orbiters program. */ + /** + * Add a collator to orbiters program. + **/ addCollator: AugmentedSubmittable< (collator: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Add an orbiter in a collator pool */ + /** + * Add an orbiter in a collator pool + **/ collatorAddOrbiter: AugmentedSubmittable< (orbiter: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Remove an orbiter from the caller collator pool */ + /** + * Remove an orbiter from the caller collator pool + **/ collatorRemoveOrbiter: AugmentedSubmittable< (orbiter: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Remove the caller from the specified collator pool */ + /** + * Remove the caller from the specified collator pool + **/ orbiterLeaveCollatorPool: AugmentedSubmittable< (collator: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Registering as an orbiter */ + /** + * Registering as an orbiter + **/ orbiterRegister: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Deregistering from orbiters */ + /** + * Deregistering from orbiters + **/ orbiterUnregister: AugmentedSubmittable< (collatorsPoolCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** Remove a collator from orbiters program. */ + /** + * Remove a collator from orbiters program. + **/ removeCollator: AugmentedSubmittable< (collator: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; multisig: { @@ -2047,34 +2177,34 @@ declare module "@polkadot/api-base/types/submittable" { * Register approval for a dispatch to be made from a deterministic composite account if * approved by a total of `threshold - 1` of `other_signatories`. * - * Payment: `DepositBase` will be reserved if this is the first approval, plus `threshold` - * times `DepositFactor`. It is returned once this dispatch happens or is cancelled. + * Payment: `DepositBase` will be reserved if this is the first approval, plus + * `threshold` times `DepositFactor`. It is returned once this dispatch happens or + * is cancelled. * * The dispatch origin for this call must be _Signed_. * * - `threshold`: The total number of approvals for this dispatch before it is executed. - * - `other_signatories`: The accounts (other than the sender) who can approve this dispatch. - * May not be empty. - * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is not - * the first approval, then it must be `Some`, with the timepoint (block number and - * transaction index) of the first approval transaction. + * - `other_signatories`: The accounts (other than the sender) who can approve this + * dispatch. May not be empty. + * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is + * not the first approval, then it must be `Some`, with the timepoint (block number and + * transaction index) of the first approval transaction. * - `call_hash`: The hash of the call to be executed. * * NOTE: If this is the final approval, you will want to use `as_multi` instead. * * ## Complexity - * * - `O(S)`. * - Up to one balance-reserve or unreserve operation. - * - One passthrough operation, one insert, both `O(S)` where `S` is the number of signatories. - * `S` is capped by `MaxSignatories`, with weight being proportional. + * - One passthrough operation, one insert, both `O(S)` where `S` is the number of + * signatories. `S` is capped by `MaxSignatories`, with weight being proportional. * - One encode & hash, both of complexity `O(S)`. * - Up to one binary search and insert (`O(logS + S)`). * - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove. * - One event. - * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit taken for - * its lifetime of `DepositBase + threshold * DepositFactor`. - */ + * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit + * taken for its lifetime of `DepositBase + threshold * DepositFactor`. + **/ approveAsMulti: AugmentedSubmittable< ( threshold: u16 | AnyNumber | Uint8Array, @@ -2101,41 +2231,41 @@ declare module "@polkadot/api-base/types/submittable" { * * If there are enough, then dispatch the call. * - * Payment: `DepositBase` will be reserved if this is the first approval, plus `threshold` - * times `DepositFactor`. It is returned once this dispatch happens or is cancelled. + * Payment: `DepositBase` will be reserved if this is the first approval, plus + * `threshold` times `DepositFactor`. It is returned once this dispatch happens or + * is cancelled. * * The dispatch origin for this call must be _Signed_. * * - `threshold`: The total number of approvals for this dispatch before it is executed. - * - `other_signatories`: The accounts (other than the sender) who can approve this dispatch. - * May not be empty. - * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is not - * the first approval, then it must be `Some`, with the timepoint (block number and - * transaction index) of the first approval transaction. + * - `other_signatories`: The accounts (other than the sender) who can approve this + * dispatch. May not be empty. + * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is + * not the first approval, then it must be `Some`, with the timepoint (block number and + * transaction index) of the first approval transaction. * - `call`: The call to be executed. * - * NOTE: Unless this is the final approval, you will generally want to use `approve_as_multi` - * instead, since it only requires a hash of the call. + * NOTE: Unless this is the final approval, you will generally want to use + * `approve_as_multi` instead, since it only requires a hash of the call. * - * Result is equivalent to the dispatched result if `threshold` is exactly `1`. Otherwise on - * success, result is `Ok` and the result from the interior call, if it was executed, may be - * found in the deposited `MultisigExecuted` event. + * Result is equivalent to the dispatched result if `threshold` is exactly `1`. Otherwise + * on success, result is `Ok` and the result from the interior call, if it was executed, + * may be found in the deposited `MultisigExecuted` event. * * ## Complexity - * * - `O(S + Z + Call)`. * - Up to one balance-reserve or unreserve operation. - * - One passthrough operation, one insert, both `O(S)` where `S` is the number of signatories. - * `S` is capped by `MaxSignatories`, with weight being proportional. + * - One passthrough operation, one insert, both `O(S)` where `S` is the number of + * signatories. `S` is capped by `MaxSignatories`, with weight being proportional. * - One call encode & hash, both of complexity `O(Z)` where `Z` is tx-len. * - One encode & hash, both of complexity `O(S)`. * - Up to one binary search and insert (`O(logS + S)`). * - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove. * - One event. * - The weight of the `call`. - * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit taken for - * its lifetime of `DepositBase + threshold * DepositFactor`. - */ + * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit + * taken for its lifetime of `DepositBase + threshold * DepositFactor`. + **/ asMulti: AugmentedSubmittable< ( threshold: u16 | AnyNumber | Uint8Array, @@ -2162,15 +2292,14 @@ declare module "@polkadot/api-base/types/submittable" { * The dispatch origin for this call must be _Signed_. * * - `other_signatories`: The accounts (other than the sender) who are part of the - * multi-signature, but do not participate in the approval process. + * multi-signature, but do not participate in the approval process. * - `call`: The call to be executed. * * Result is equivalent to the dispatched result. * * ## Complexity - * * O(Z + C) where Z is the length of the call and C its execution weight. - */ + **/ asMultiThreshold1: AugmentedSubmittable< ( otherSignatories: Vec | (AccountId20 | string | Uint8Array)[], @@ -2179,29 +2308,28 @@ declare module "@polkadot/api-base/types/submittable" { [Vec, Call] >; /** - * Cancel a pre-existing, on-going multisig transaction. Any deposit reserved previously for - * this operation will be unreserved on success. + * Cancel a pre-existing, on-going multisig transaction. Any deposit reserved previously + * for this operation will be unreserved on success. * * The dispatch origin for this call must be _Signed_. * * - `threshold`: The total number of approvals for this dispatch before it is executed. - * - `other_signatories`: The accounts (other than the sender) who can approve this dispatch. - * May not be empty. + * - `other_signatories`: The accounts (other than the sender) who can approve this + * dispatch. May not be empty. * - `timepoint`: The timepoint (block number and transaction index) of the first approval - * transaction for this dispatch. + * transaction for this dispatch. * - `call_hash`: The hash of the call to be executed. * * ## Complexity - * * - `O(S)`. * - Up to one balance-reserve or unreserve operation. - * - One passthrough operation, one insert, both `O(S)` where `S` is the number of signatories. - * `S` is capped by `MaxSignatories`, with weight being proportional. + * - One passthrough operation, one insert, both `O(S)` where `S` is the number of + * signatories. `S` is capped by `MaxSignatories`, with weight being proportional. * - One encode & hash, both of complexity `O(S)`. * - One event. * - I/O: 1 read `O(S)`, one remove. * - Storage: removes one item. - */ + **/ cancelAsMulti: AugmentedSubmittable< ( threshold: u16 | AnyNumber | Uint8Array, @@ -2211,7 +2339,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u16, Vec, PalletMultisigTimepoint, U8aFixed] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; openTechCommitteeCollective: { @@ -2220,27 +2350,27 @@ declare module "@polkadot/api-base/types/submittable" { * * May be called by any signed account in order to finish voting and close the proposal. * - * If called before the end of the voting period it will only close the vote if it is has - * enough votes to be approved or disapproved. + * If called before the end of the voting period it will only close the vote if it is + * has enough votes to be approved or disapproved. * - * If called after the end of the voting period abstentions are counted as rejections unless - * there is a prime member set and the prime member cast an approval. + * If called after the end of the voting period abstentions are counted as rejections + * unless there is a prime member set and the prime member cast an approval. * - * If the close operation completes successfully with disapproval, the transaction fee will be - * waived. Otherwise execution of the approved operation will be charged to the caller. + * If the close operation completes successfully with disapproval, the transaction fee will + * be waived. Otherwise execution of the approved operation will be charged to the caller. * - * - `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed proposal. - * - `length_bound`: The upper bound for the length of the proposal in storage. Checked via - * `storage::read` so it is `size_of::() == 4` larger than the pure length. + * + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed + * proposal. + * + `length_bound`: The upper bound for the length of the proposal in storage. Checked via + * `storage::read` so it is `size_of::() == 4` larger than the pure length. * * ## Complexity - * * - `O(B + M + P1 + P2)` where: * - `B` is `proposal` size in bytes (length-fee-bounded) * - `M` is members-count (code- and governance-bounded) * - `P1` is the complexity of `proposal` preimage. * - `P2` is proposal-count (code-bounded) - */ + **/ close: AugmentedSubmittable< ( proposalHash: H256 | string | Uint8Array, @@ -2255,18 +2385,17 @@ declare module "@polkadot/api-base/types/submittable" { [H256, Compact, SpWeightsWeightV2Weight, Compact] >; /** - * Disapprove a proposal, close, and remove it from the system, regardless of its current state. + * Disapprove a proposal, close, and remove it from the system, regardless of its current + * state. * * Must be called by the Root origin. * * Parameters: - * - * - `proposal_hash`: The hash of the proposal that should be disapproved. + * * `proposal_hash`: The hash of the proposal that should be disapproved. * * ## Complexity - * * O(P) where P is the number of max proposals - */ + **/ disapproveProposal: AugmentedSubmittable< (proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] @@ -2277,12 +2406,11 @@ declare module "@polkadot/api-base/types/submittable" { * Origin must be a member of the collective. * * ## Complexity: - * * - `O(B + M + P)` where: * - `B` is `proposal` size in bytes (length-fee-bounded) * - `M` members-count (code-bounded) * - `P` complexity of dispatching `proposal` - */ + **/ execute: AugmentedSubmittable< ( proposal: Call | IMethod | string | Uint8Array, @@ -2295,18 +2423,17 @@ declare module "@polkadot/api-base/types/submittable" { * * Requires the sender to be member. * - * `threshold` determines whether `proposal` is executed directly (`threshold < 2`) or put up - * for voting. + * `threshold` determines whether `proposal` is executed directly (`threshold < 2`) + * or put up for voting. * * ## Complexity - * * - `O(B + M + P1)` or `O(B + M + P2)` where: * - `B` is `proposal` size in bytes (length-fee-bounded) * - `M` is members-count (code- and governance-bounded) - * - Branching is influenced by `threshold` where: + * - branching is influenced by `threshold` where: * - `P1` is proposal execution complexity (`threshold < 2`) * - `P2` is proposals-count (code-bounded) (`threshold >= 2`) - */ + **/ propose: AugmentedSubmittable< ( threshold: Compact | AnyNumber | Uint8Array, @@ -2320,27 +2447,27 @@ declare module "@polkadot/api-base/types/submittable" { * * - `new_members`: The new member list. Be nice to the chain and provide it sorted. * - `prime`: The prime member whose vote sets the default. - * - `old_count`: The upper bound for the previous number of members in storage. Used for weight - * estimation. + * - `old_count`: The upper bound for the previous number of members in storage. Used for + * weight estimation. * * The dispatch of this call must be `SetMembersOrigin`. * - * NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but the - * weight estimations rely on it to estimate dispatchable weight. + * NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but + * the weight estimations rely on it to estimate dispatchable weight. * * # WARNING: * * The `pallet-collective` can also be managed by logic outside of the pallet through the - * implementation of the trait [`ChangeMembers`]. Any call to `set_members` must be careful - * that the member set doesn't get out of sync with other logic managing the member set. + * implementation of the trait [`ChangeMembers`]. + * Any call to `set_members` must be careful that the member set doesn't get out of sync + * with other logic managing the member set. * * ## Complexity: - * * - `O(MP + N)` where: * - `M` old-members-count (code- and governance-bounded) * - `N` new-members-count (code- and governance-bounded) * - `P` proposals-count (code-bounded) - */ + **/ setMembers: AugmentedSubmittable< ( newMembers: Vec | (AccountId20 | string | Uint8Array)[], @@ -2354,13 +2481,12 @@ declare module "@polkadot/api-base/types/submittable" { * * Requires the sender to be a member. * - * Transaction fees will be waived if the member is voting on any particular proposal for the - * first time and the call is successful. Subsequent vote changes will charge a fee. - * + * Transaction fees will be waived if the member is voting on any particular proposal + * for the first time and the call is successful. Subsequent vote changes will charge a + * fee. * ## Complexity - * * - `O(M)` where `M` is members-count (code- and governance-bounded) - */ + **/ vote: AugmentedSubmittable< ( proposal: H256 | string | Uint8Array, @@ -2369,37 +2495,44 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [H256, Compact, bool] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; parachainStaking: { - /** Cancel pending request to adjust the collator candidate self bond */ + /** + * Cancel pending request to adjust the collator candidate self bond + **/ cancelCandidateBondLess: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Cancel request to change an existing delegation. */ + /** + * Cancel request to change an existing delegation. + **/ cancelDelegationRequest: AugmentedSubmittable< (candidate: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; /** * Cancel open request to leave candidates - * - * - Only callable by collator account - * - Result upon successful call is the candidate is active in the candidate pool - */ + * - only callable by collator account + * - result upon successful call is the candidate is active in the candidate pool + **/ cancelLeaveCandidates: AugmentedSubmittable< (candidateCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** Increase collator candidate self bond by `more` */ + /** + * Increase collator candidate self bond by `more` + **/ candidateBondMore: AugmentedSubmittable< (more: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u128] >; /** - * DEPRECATED use delegateWithAutoCompound If caller is not a delegator and not a collator, - * then join the set of delegators If caller is a delegator, then makes delegation to change - * their delegation state - */ + * DEPRECATED use delegateWithAutoCompound + * If caller is not a delegator and not a collator, then join the set of delegators + * If caller is a delegator, then makes delegation to change their delegation state + **/ delegate: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -2410,10 +2543,10 @@ declare module "@polkadot/api-base/types/submittable" { [AccountId20, u128, u32, u32] >; /** - * If caller is not a delegator and not a collator, then join the set of delegators If caller - * is a delegator, then makes delegation to change their delegation state Sets the - * auto-compound config for the delegation - */ + * If caller is not a delegator and not a collator, then join the set of delegators + * If caller is a delegator, then makes delegation to change their delegation state + * Sets the auto-compound config for the delegation + **/ delegateWithAutoCompound: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -2425,7 +2558,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u128, Percent, u32, u32, u32] >; - /** Bond more for delegators wrt a specific collator candidate. */ + /** + * Bond more for delegators wrt a specific collator candidate. + **/ delegatorBondMore: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -2433,17 +2568,23 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u128] >; - /** Enable/Disable marking offline feature */ + /** + * Enable/Disable marking offline feature + **/ enableMarkingOffline: AugmentedSubmittable< (value: bool | boolean | Uint8Array) => SubmittableExtrinsic, [bool] >; - /** Execute pending request to adjust the collator candidate self bond */ + /** + * Execute pending request to adjust the collator candidate self bond + **/ executeCandidateBondLess: AugmentedSubmittable< (candidate: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Execute pending request to change an existing delegation */ + /** + * Execute pending request to change an existing delegation + **/ executeDelegationRequest: AugmentedSubmittable< ( delegator: AccountId20 | string | Uint8Array, @@ -2451,7 +2592,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, AccountId20] >; - /** Execute leave candidates request */ + /** + * Execute leave candidates request + **/ executeLeaveCandidates: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -2459,7 +2602,10 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u32] >; - /** Force join the set of collator candidates. It will skip the minimum required bond check. */ + /** + * Force join the set of collator candidates. + * It will skip the minimum required bond check. + **/ forceJoinCandidates: AugmentedSubmittable< ( account: AccountId20 | string | Uint8Array, @@ -2468,18 +2614,26 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u128, u32] >; - /** Temporarily leave the set of collator candidates without unbonding */ + /** + * Temporarily leave the set of collator candidates without unbonding + **/ goOffline: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Rejoin the set of collator candidates if previously had called `go_offline` */ + /** + * Rejoin the set of collator candidates if previously had called `go_offline` + **/ goOnline: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Hotfix to remove existing empty entries for candidates that have left. */ + /** + * Hotfix to remove existing empty entries for candidates that have left. + **/ hotfixRemoveDelegationRequestsExitedCandidates: AugmentedSubmittable< ( candidates: Vec | (AccountId20 | string | Uint8Array)[] ) => SubmittableExtrinsic, [Vec] >; - /** Join the set of collator candidates */ + /** + * Join the set of collator candidates + **/ joinCandidates: AugmentedSubmittable< ( bond: u128 | AnyNumber | Uint8Array, @@ -2487,27 +2641,37 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u128, u32] >; - /** Notify a collator is inactive during MaxOfflineRounds */ + /** + * Notify a collator is inactive during MaxOfflineRounds + **/ notifyInactiveCollator: AugmentedSubmittable< (collator: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** REMOVED, was schedule_leave_delegators */ + /** + * REMOVED, was schedule_leave_delegators + **/ removedCall19: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** REMOVED, was execute_leave_delegators */ + /** + * REMOVED, was execute_leave_delegators + **/ removedCall20: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** REMOVED, was cancel_leave_delegators */ + /** + * REMOVED, was cancel_leave_delegators + **/ removedCall21: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Request by collator candidate to decrease self bond by `less` */ + /** + * Request by collator candidate to decrease self bond by `less` + **/ scheduleCandidateBondLess: AugmentedSubmittable< (less: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u128] >; /** * Request bond less for delegators wrt a specific collator candidate. The delegation's - * rewards for rounds while the request is pending use the reduced bonded amount. A bond less - * may not be performed if any other scheduled request is pending. - */ + * rewards for rounds while the request is pending use the reduced bonded amount. + * A bond less may not be performed if any other scheduled request is pending. + **/ scheduleDelegatorBondLess: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -2516,24 +2680,26 @@ declare module "@polkadot/api-base/types/submittable" { [AccountId20, u128] >; /** - * Request to leave the set of candidates. If successful, the account is immediately removed - * from the candidate pool to prevent selection as a collator. - */ + * Request to leave the set of candidates. If successful, the account is immediately + * removed from the candidate pool to prevent selection as a collator. + **/ scheduleLeaveCandidates: AugmentedSubmittable< (candidateCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; /** - * Request to revoke an existing delegation. If successful, the delegation is scheduled to be - * allowed to be revoked via the `execute_delegation_request` extrinsic. The delegation - * receives no rewards for the rounds while a revoke is pending. A revoke may not be performed - * if any other scheduled request is pending. - */ + * Request to revoke an existing delegation. If successful, the delegation is scheduled + * to be allowed to be revoked via the `execute_delegation_request` extrinsic. + * The delegation receives no rewards for the rounds while a revoke is pending. + * A revoke may not be performed if any other scheduled request is pending. + **/ scheduleRevokeDelegation: AugmentedSubmittable< (collator: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Sets the auto-compounding reward percentage for a delegation. */ + /** + * Sets the auto-compounding reward percentage for a delegation. + **/ setAutoCompound: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -2545,20 +2711,24 @@ declare module "@polkadot/api-base/types/submittable" { >; /** * Set blocks per round - * - * - If called with `new` less than length of current round, will transition immediately in the next block - * - Also updates per-round inflation config - */ + * - if called with `new` less than length of current round, will transition immediately + * in the next block + * - also updates per-round inflation config + **/ setBlocksPerRound: AugmentedSubmittable< (updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** Set the commission for all collators */ + /** + * Set the commission for all collators + **/ setCollatorCommission: AugmentedSubmittable< (updated: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Perbill] >; - /** Set the annual inflation rate to derive per-round inflation */ + /** + * Set the annual inflation rate to derive per-round inflation + **/ setInflation: AugmentedSubmittable< ( schedule: @@ -2579,7 +2749,9 @@ declare module "@polkadot/api-base/types/submittable" { } & Struct ] >; - /** Set the inflation distribution configuration. */ + /** + * Set the inflation distribution configuration. + **/ setInflationDistributionConfig: AugmentedSubmittable< ( updated: PalletParachainStakingInflationDistributionConfig @@ -2590,7 +2762,7 @@ declare module "@polkadot/api-base/types/submittable" { * Deprecated: please use `set_inflation_distribution_config` instead. * * Set the account that will hold funds set aside for parachain bond - */ + **/ setParachainBondAccount: AugmentedSubmittable< (updated: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] @@ -2599,15 +2771,15 @@ declare module "@polkadot/api-base/types/submittable" { * Deprecated: please use `set_inflation_distribution_config` instead. * * Set the percent of inflation set aside for parachain bond - */ + **/ setParachainBondReservePercent: AugmentedSubmittable< (updated: Percent | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Percent] >; /** - * Set the expectations for total staked. These expectations determine the issuance for the - * round according to logic in `fn compute_issuance` - */ + * Set the expectations for total staked. These expectations determine the issuance for + * the round according to logic in `fn compute_issuance` + **/ setStakingExpectations: AugmentedSubmittable< ( expectations: @@ -2630,26 +2802,28 @@ declare module "@polkadot/api-base/types/submittable" { >; /** * Set the total number of collator candidates selected per round - * - * - Changes are not applied until the start of the next round - */ + * - changes are not applied until the start of the next round + **/ setTotalSelected: AugmentedSubmittable< (updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; parachainSystem: { /** - * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied later. + * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied + * later. * * The `check_version` parameter sets a boolean flag for whether or not the runtime's spec - * version and name should be verified on upgrade. Since the authorization only has a hash, it - * cannot actually perform the verification. + * version and name should be verified on upgrade. Since the authorization only has a hash, + * it cannot actually perform the verification. * * This call requires Root origin. - */ + **/ authorizeUpgrade: AugmentedSubmittable< ( codeHash: H256 | string | Uint8Array, @@ -2660,14 +2834,14 @@ declare module "@polkadot/api-base/types/submittable" { /** * Provide the preimage (runtime binary) `code` for an upgrade that has been authorized. * - * If the authorization required a version check, this call will ensure the spec name remains - * unchanged and that the spec version has increased. + * If the authorization required a version check, this call will ensure the spec name + * remains unchanged and that the spec version has increased. * * Note that this function will not apply the new `code`, but only attempt to schedule the * upgrade with the Relay Chain. * * All origins are allowed. - */ + **/ enactAuthorizedUpgrade: AugmentedSubmittable< (code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] @@ -2675,14 +2849,14 @@ declare module "@polkadot/api-base/types/submittable" { /** * Set the current validation data. * - * This should be invoked exactly once per block. It will panic at the finalization phase if - * the call was not invoked. + * This should be invoked exactly once per block. It will panic at the finalization + * phase if the call was not invoked. * * The dispatch origin for this call must be `Inherent` * - * As a side effect, this function upgrades the current validation function if the appropriate - * time has come. - */ + * As a side effect, this function upgrades the current validation function + * if the appropriate time has come. + **/ setValidationData: AugmentedSubmittable< ( data: @@ -2702,7 +2876,9 @@ declare module "@polkadot/api-base/types/submittable" { (message: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; parameters: { @@ -2711,7 +2887,7 @@ declare module "@polkadot/api-base/types/submittable" { * * The dispatch origin of this call must be `AdminOrigin` for the given `key`. Values be * deleted by setting them to `None`. - */ + **/ setParameter: AugmentedSubmittable< ( keyValue: @@ -2723,7 +2899,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [MoonbaseRuntimeRuntimeParamsRuntimeParameters] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; polkadotXcm: { @@ -2731,10 +2909,10 @@ declare module "@polkadot/api-base/types/submittable" { * Claims assets trapped on this pallet because of leftover assets during XCM execution. * * - `origin`: Anyone can call this extrinsic. - * - `assets`: The exact assets that were trapped. Use the version to specify what version was - * the latest when they were trapped. + * - `assets`: The exact assets that were trapped. Use the version to specify what version + * was the latest when they were trapped. * - `beneficiary`: The location/account where the claimed assets will be deposited. - */ + **/ claimAssets: AugmentedSubmittable< ( assets: @@ -2757,12 +2935,13 @@ declare module "@polkadot/api-base/types/submittable" { /** * Execute an XCM message from a local, signed, origin. * - * An event is deposited indicating whether `msg` could be executed completely or only partially. + * An event is deposited indicating whether `msg` could be executed completely or only + * partially. * - * No more than `max_weight` will be used in its attempted execution. If this is less than the - * maximum amount of weight that the message could take to be executed, then no execution - * attempt will be made. - */ + * No more than `max_weight` will be used in its attempted execution. If this is less than + * the maximum amount of weight that the message could take to be executed, then no + * execution attempt will be made. + **/ execute: AugmentedSubmittable< ( message: XcmVersionedXcm | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, @@ -2780,7 +2959,7 @@ declare module "@polkadot/api-base/types/submittable" { * * - `origin`: Must be an origin specified by AdminOrigin. * - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable. - */ + **/ forceDefaultXcmVersion: AugmentedSubmittable< ( maybeXcmVersion: Option | null | Uint8Array | u32 | AnyNumber @@ -2792,7 +2971,7 @@ declare module "@polkadot/api-base/types/submittable" { * * - `origin`: Must be an origin specified by AdminOrigin. * - `location`: The location to which we should subscribe for XCM version notifications. - */ + **/ forceSubscribeVersionNotify: AugmentedSubmittable< ( location: @@ -2810,18 +2989,19 @@ declare module "@polkadot/api-base/types/submittable" { * * - `origin`: Must be an origin specified by AdminOrigin. * - `suspended`: `true` to suspend, `false` to resume. - */ + **/ forceSuspension: AugmentedSubmittable< (suspended: bool | boolean | Uint8Array) => SubmittableExtrinsic, [bool] >; /** - * Require that a particular destination should no longer notify us regarding any XCM version changes. + * Require that a particular destination should no longer notify us regarding any XCM + * version changes. * * - `origin`: Must be an origin specified by AdminOrigin. - * - `location`: The location to which we are currently subscribed for XCM version notifications - * which we no longer desire. - */ + * - `location`: The location to which we are currently subscribed for XCM version + * notifications which we no longer desire. + **/ forceUnsubscribeVersionNotify: AugmentedSubmittable< ( location: @@ -2835,12 +3015,13 @@ declare module "@polkadot/api-base/types/submittable" { [XcmVersionedLocation] >; /** - * Extoll that a particular destination can be communicated with through a particular version of XCM. + * Extoll that a particular destination can be communicated with through a particular + * version of XCM. * * - `origin`: Must be an origin specified by AdminOrigin. * - `location`: The destination that is being described. * - `xcm_version`: The latest version of XCM that `location` supports. - */ + **/ forceXcmVersion: AugmentedSubmittable< ( location: StagingXcmV4Location | { parents?: any; interior?: any } | string | Uint8Array, @@ -2853,30 +3034,33 @@ declare module "@polkadot/api-base/types/submittable" { * destination or remote reserve. * * `assets` must have same reserve location and may not be teleportable to `dest`. - * - * - `assets` have local reserve: transfer assets to sovereign account of destination chain and - * forward a notification XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. - * - `assets` have destination reserve: burn local assets and forward a notification to `dest` - * chain to withdraw the reserve assets from this chain's sovereign account and deposit them - * to `beneficiary`. + * - `assets` have local reserve: transfer assets to sovereign account of destination + * chain and forward a notification XCM to `dest` to mint and deposit reserve-based + * assets to `beneficiary`. + * - `assets` have destination reserve: burn local assets and forward a notification to + * `dest` chain to withdraw the reserve assets from this chain's sovereign account and + * deposit them to `beneficiary`. * - `assets` have remote reserve: burn local assets, forward XCM to reserve chain to move - * reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` to - * mint and deposit reserve-based assets to `beneficiary`. + * reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` + * to mint and deposit reserve-based assets to `beneficiary`. * - * Fee payment on the destination side is made from the asset in the `assets` vector of index - * `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight is - * needed than `weight_limit`, then the operation will fail and the sent assets may be at risk. + * Fee payment on the destination side is made from the asset in the `assets` vector of + * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight + * is needed than `weight_limit`, then the operation will fail and the sent assets may be + * at risk. * * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. - * - `dest`: Destination context for the assets. Will typically be `[Parent, Parachain(..)]` to - * send from parachain to parachain, or `[Parachain(..)]` to send from relay to parachain. + * - `dest`: Destination context for the assets. Will typically be `[Parent, + * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from + * relay to parachain. * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will - * generally be an `AccountId32` value. - * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on - * the `dest` (and possibly reserve) chains. - * - `fee_asset_item`: The index into `assets` of the item which should be used to pay fees. + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the + * fee on the `dest` (and possibly reserve) chains. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay + * fees. * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. - */ + **/ limitedReserveTransferAssets: AugmentedSubmittable< ( dest: @@ -2913,20 +3097,23 @@ declare module "@polkadot/api-base/types/submittable" { /** * Teleport some assets from the local chain to some destination chain. * - * Fee payment on the destination side is made from the asset in the `assets` vector of index - * `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight is - * needed than `weight_limit`, then the operation will fail and the sent assets may be at risk. + * Fee payment on the destination side is made from the asset in the `assets` vector of + * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight + * is needed than `weight_limit`, then the operation will fail and the sent assets may be + * at risk. * * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. - * - `dest`: Destination context for the assets. Will typically be `[Parent, Parachain(..)]` to - * send from parachain to parachain, or `[Parachain(..)]` to send from relay to parachain. + * - `dest`: Destination context for the assets. Will typically be `[Parent, + * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from + * relay to parachain. * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will - * generally be an `AccountId32` value. - * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on - * the `dest` chain. - * - `fee_asset_item`: The index into `assets` of the item which should be used to pay fees. + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the + * fee on the `dest` chain. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay + * fees. * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. - */ + **/ limitedTeleportAssets: AugmentedSubmittable< ( dest: @@ -2965,31 +3152,33 @@ declare module "@polkadot/api-base/types/submittable" { * destination or remote reserve. * * `assets` must have same reserve location and may not be teleportable to `dest`. - * - * - `assets` have local reserve: transfer assets to sovereign account of destination chain and - * forward a notification XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. - * - `assets` have destination reserve: burn local assets and forward a notification to `dest` - * chain to withdraw the reserve assets from this chain's sovereign account and deposit them - * to `beneficiary`. + * - `assets` have local reserve: transfer assets to sovereign account of destination + * chain and forward a notification XCM to `dest` to mint and deposit reserve-based + * assets to `beneficiary`. + * - `assets` have destination reserve: burn local assets and forward a notification to + * `dest` chain to withdraw the reserve assets from this chain's sovereign account and + * deposit them to `beneficiary`. * - `assets` have remote reserve: burn local assets, forward XCM to reserve chain to move - * reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` to - * mint and deposit reserve-based assets to `beneficiary`. + * reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` + * to mint and deposit reserve-based assets to `beneficiary`. * * **This function is deprecated: Use `limited_reserve_transfer_assets` instead.** * - * Fee payment on the destination side is made from the asset in the `assets` vector of index - * `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited, with all - * fees taken as needed from the asset. + * Fee payment on the destination side is made from the asset in the `assets` vector of + * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited, + * with all fees taken as needed from the asset. * * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. - * - `dest`: Destination context for the assets. Will typically be `[Parent, Parachain(..)]` to - * send from parachain to parachain, or `[Parachain(..)]` to send from relay to parachain. + * - `dest`: Destination context for the assets. Will typically be `[Parent, + * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from + * relay to parachain. * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will - * generally be an `AccountId32` value. - * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on - * the `dest` (and possibly reserve) chains. - * - `fee_asset_item`: The index into `assets` of the item which should be used to pay fees. - */ + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the + * fee on the `dest` (and possibly reserve) chains. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay + * fees. + **/ reserveTransferAssets: AugmentedSubmittable< ( dest: @@ -3035,19 +3224,21 @@ declare module "@polkadot/api-base/types/submittable" { * * **This function is deprecated: Use `limited_teleport_assets` instead.** * - * Fee payment on the destination side is made from the asset in the `assets` vector of index - * `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited, with all - * fees taken as needed from the asset. + * Fee payment on the destination side is made from the asset in the `assets` vector of + * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited, + * with all fees taken as needed from the asset. * * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. - * - `dest`: Destination context for the assets. Will typically be `[Parent, Parachain(..)]` to - * send from parachain to parachain, or `[Parachain(..)]` to send from relay to parachain. + * - `dest`: Destination context for the assets. Will typically be `[Parent, + * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from + * relay to parachain. * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will - * generally be an `AccountId32` value. - * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on - * the `dest` chain. - * - `fee_asset_item`: The index into `assets` of the item which should be used to pay fees. - */ + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the + * fee on the `dest` chain. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay + * fees. + **/ teleportAssets: AugmentedSubmittable< ( dest: @@ -3079,33 +3270,37 @@ declare module "@polkadot/api-base/types/submittable" { * Transfer some assets from the local chain to the destination chain through their local, * destination or remote reserve, or through teleports. * - * Fee payment on the destination side is made from the asset in the `assets` vector of index - * `fee_asset_item` (hence referred to as `fees`), up to enough to pay for `weight_limit` of - * weight. If more weight is needed than `weight_limit`, then the operation will fail and the - * sent assets may be at risk. - * - * `assets` (excluding `fees`) must have same reserve location or otherwise be teleportable to - * `dest`, no limitations imposed on `fees`. - * - * - For local reserve: transfer assets to sovereign account of destination chain and forward a - * notification XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. - * - For destination reserve: burn local assets and forward a notification to `dest` chain to - * withdraw the reserve assets from this chain's sovereign account and deposit them to `beneficiary`. - * - For remote reserve: burn local assets, forward XCM to reserve chain to move reserves from - * this chain's SA to `dest` chain's SA, and forward another XCM to `dest` to mint and - * deposit reserve-based assets to `beneficiary`. - * - For teleports: burn local assets and forward XCM to `dest` chain to mint/teleport assets - * and deposit them to `beneficiary`. + * Fee payment on the destination side is made from the asset in the `assets` vector of + * index `fee_asset_item` (hence referred to as `fees`), up to enough to pay for + * `weight_limit` of weight. If more weight is needed than `weight_limit`, then the + * operation will fail and the sent assets may be at risk. + * + * `assets` (excluding `fees`) must have same reserve location or otherwise be teleportable + * to `dest`, no limitations imposed on `fees`. + * - for local reserve: transfer assets to sovereign account of destination chain and + * forward a notification XCM to `dest` to mint and deposit reserve-based assets to + * `beneficiary`. + * - for destination reserve: burn local assets and forward a notification to `dest` chain + * to withdraw the reserve assets from this chain's sovereign account and deposit them + * to `beneficiary`. + * - for remote reserve: burn local assets, forward XCM to reserve chain to move reserves + * from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` to mint + * and deposit reserve-based assets to `beneficiary`. + * - for teleports: burn local assets and forward XCM to `dest` chain to mint/teleport + * assets and deposit them to `beneficiary`. + * * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. - * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` - * to send from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain. + * - `dest`: Destination context for the assets. Will typically be `X2(Parent, + * Parachain(..))` to send from parachain to parachain, or `X1(Parachain(..))` to send + * from relay to parachain. * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will - * generally be an `AccountId32` value. - * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on - * the `dest` (and possibly reserve) chains. - * - `fee_asset_item`: The index into `assets` of the item which should be used to pay fees. + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the + * fee on the `dest` (and possibly reserve) chains. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay + * fees. * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. - */ + **/ transferAssets: AugmentedSubmittable< ( dest: @@ -3140,53 +3335,55 @@ declare module "@polkadot/api-base/types/submittable" { [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit] >; /** - * Transfer assets from the local chain to the destination chain using explicit transfer types - * for assets and fees. + * Transfer assets from the local chain to the destination chain using explicit transfer + * types for assets and fees. * * `assets` must have same reserve location or may be teleportable to `dest`. Caller must * provide the `assets_transfer_type` to be used for `assets`: - * - * - `TransferType::LocalReserve`: transfer assets to sovereign account of destination chain and - * forward a notification XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. - * - `TransferType::DestinationReserve`: burn local assets and forward a notification to `dest` - * chain to withdraw the reserve assets from this chain's sovereign account and deposit them - * to `beneficiary`. - * - `TransferType::RemoteReserve(reserve)`: burn local assets, forward XCM to `reserve` chain - * to move reserves from this chain's SA to `dest` chain's SA, and forward another XCM to - * `dest` to mint and deposit reserve-based assets to `beneficiary`. Typically the remote - * `reserve` is Asset Hub. + * - `TransferType::LocalReserve`: transfer assets to sovereign account of destination + * chain and forward a notification XCM to `dest` to mint and deposit reserve-based + * assets to `beneficiary`. + * - `TransferType::DestinationReserve`: burn local assets and forward a notification to + * `dest` chain to withdraw the reserve assets from this chain's sovereign account and + * deposit them to `beneficiary`. + * - `TransferType::RemoteReserve(reserve)`: burn local assets, forward XCM to `reserve` + * chain to move reserves from this chain's SA to `dest` chain's SA, and forward another + * XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. Typically + * the remote `reserve` is Asset Hub. * - `TransferType::Teleport`: burn local assets and forward XCM to `dest` chain to - * mint/teleport assets and deposit them to `beneficiary`. + * mint/teleport assets and deposit them to `beneficiary`. * - * On the destination chain, as well as any intermediary hops, `BuyExecution` is used to buy - * execution using transferred `assets` identified by `remote_fees_id`. Make sure enough of - * the specified `remote_fees_id` asset is included in the given list of `assets`. - * `remote_fees_id` should be enough to pay for `weight_limit`. If more weight is needed than - * `weight_limit`, then the operation will fail and the sent assets may be at risk. + * On the destination chain, as well as any intermediary hops, `BuyExecution` is used to + * buy execution using transferred `assets` identified by `remote_fees_id`. + * Make sure enough of the specified `remote_fees_id` asset is included in the given list + * of `assets`. `remote_fees_id` should be enough to pay for `weight_limit`. If more weight + * is needed than `weight_limit`, then the operation will fail and the sent assets may be + * at risk. * - * `remote_fees_id` may use different transfer type than rest of `assets` and can be specified - * through `fees_transfer_type`. + * `remote_fees_id` may use different transfer type than rest of `assets` and can be + * specified through `fees_transfer_type`. * * The caller needs to specify what should happen to the transferred assets once they reach - * the `dest` chain. This is done through the `custom_xcm_on_dest` parameter, which contains - * the instructions to execute on `dest` as a final step. This is usually as simple as: - * `Xcm(vec![DepositAsset { assets: Wild(AllCounted(assets.len())), beneficiary }])`, but - * could be something more exotic like sending the `assets` even further. + * the `dest` chain. This is done through the `custom_xcm_on_dest` parameter, which + * contains the instructions to execute on `dest` as a final step. + * This is usually as simple as: + * `Xcm(vec![DepositAsset { assets: Wild(AllCounted(assets.len())), beneficiary }])`, + * but could be something more exotic like sending the `assets` even further. * * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. - * - `dest`: Destination context for the assets. Will typically be `[Parent, Parachain(..)]` to - * send from parachain to parachain, or `[Parachain(..)]` to send from relay to parachain, - * or `(parents: 2, (GlobalConsensus(..), ..))` to send from parachain across a bridge to - * another ecosystem destination. - * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on - * the `dest` (and possibly reserve) chains. + * - `dest`: Destination context for the assets. Will typically be `[Parent, + * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from + * relay to parachain, or `(parents: 2, (GlobalConsensus(..), ..))` to send from + * parachain across a bridge to another ecosystem destination. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the + * fee on the `dest` (and possibly reserve) chains. * - `assets_transfer_type`: The XCM `TransferType` used to transfer the `assets`. * - `remote_fees_id`: One of the included `assets` to be used to pay fees. * - `fees_transfer_type`: The XCM `TransferType` used to transfer the `fees` assets. * - `custom_xcm_on_dest`: The XCM to be executed on `dest` chain as the last step of the - * transfer, which also determines what happens to the assets on the destination chain. + * transfer, which also determines what happens to the assets on the destination chain. * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. - */ + **/ transferAssetsUsingTypeAndThen: AugmentedSubmittable< ( dest: @@ -3244,7 +3441,9 @@ declare module "@polkadot/api-base/types/submittable" { XcmV3WeightLimit ] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; preimage: { @@ -3252,7 +3451,7 @@ declare module "@polkadot/api-base/types/submittable" { * Ensure that the a bulk of pre-images is upgraded. * * The caller pays no fee if at least 90% of pre-images were successfully updated. - */ + **/ ensureUpdated: AugmentedSubmittable< (hashes: Vec | (H256 | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec] @@ -3260,9 +3459,9 @@ declare module "@polkadot/api-base/types/submittable" { /** * Register a preimage on-chain. * - * If the preimage was previously requested, no fees or deposits are taken for providing the - * preimage. Otherwise, a deposit is taken proportional to the size of the preimage. - */ + * If the preimage was previously requested, no fees or deposits are taken for providing + * the preimage. Otherwise, a deposit is taken proportional to the size of the preimage. + **/ notePreimage: AugmentedSubmittable< (bytes: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] @@ -3270,9 +3469,9 @@ declare module "@polkadot/api-base/types/submittable" { /** * Request a preimage be uploaded to the chain without paying any fees or deposits. * - * If the preimage requests has already been provided on-chain, we unreserve any deposit a - * user may have paid, and take the control of the preimage out of their hands. - */ + * If the preimage requests has already been provided on-chain, we unreserve any deposit + * a user may have paid, and take the control of the preimage out of their hands. + **/ requestPreimage: AugmentedSubmittable< (hash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] @@ -3284,7 +3483,7 @@ declare module "@polkadot/api-base/types/submittable" { * * - `hash`: The hash of the preimage to be removed from the store. * - `len`: The length of the preimage of `hash`. - */ + **/ unnotePreimage: AugmentedSubmittable< (hash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] @@ -3293,12 +3492,14 @@ declare module "@polkadot/api-base/types/submittable" { * Clear a previously made request for a preimage. * * NOTE: THIS MUST NOT BE CALLED ON `hash` MORE TIMES THAN `request_preimage`. - */ + **/ unrequestPreimage: AugmentedSubmittable< (hash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; proxy: { @@ -3308,11 +3509,11 @@ declare module "@polkadot/api-base/types/submittable" { * The dispatch origin for this call must be _Signed_. * * Parameters: - * * - `proxy`: The account that the `caller` would like to make a proxy. * - `proxy_type`: The permissions allowed for this proxy account. - * - `delay`: The announcement period required of the initial proxy. Will generally be zero. - */ + * - `delay`: The announcement period required of the initial proxy. Will generally be + * zero. + **/ addProxy: AugmentedSubmittable< ( delegate: AccountId20 | string | Uint8Array, @@ -3335,8 +3536,8 @@ declare module "@polkadot/api-base/types/submittable" { /** * Publish the hash of a proxy-call that will be made in the future. * - * This must be called some number of blocks before the corresponding `proxy` is attempted if - * the delay associated with the proxy relationship is greater than zero. + * This must be called some number of blocks before the corresponding `proxy` is attempted + * if the delay associated with the proxy relationship is greater than zero. * * No more than `MaxPending` announcements may be made at any one time. * @@ -3346,10 +3547,9 @@ declare module "@polkadot/api-base/types/submittable" { * The dispatch origin for this call must be _Signed_ and a proxy of `real`. * * Parameters: - * * - `real`: The account that the proxy will make a call on behalf of. * - `call_hash`: The hash of the call to be made by the `real` account. - */ + **/ announce: AugmentedSubmittable< ( real: AccountId20 | string | Uint8Array, @@ -3358,24 +3558,25 @@ declare module "@polkadot/api-base/types/submittable" { [AccountId20, H256] >; /** - * Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and initialize - * it with a proxy of `proxy_type` for `origin` sender. + * Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and + * initialize it with a proxy of `proxy_type` for `origin` sender. * * Requires a `Signed` origin. * - * - `proxy_type`: The type of the proxy that the sender will be registered as over the new - * account. This will almost always be the most permissive `ProxyType` possible to allow for - * maximum flexibility. + * - `proxy_type`: The type of the proxy that the sender will be registered as over the + * new account. This will almost always be the most permissive `ProxyType` possible to + * allow for maximum flexibility. * - `index`: A disambiguation index, in case this is called multiple times in the same - * transaction (e.g. with `utility::batch`). Unless you're using `batch` you probably just - * want to use `0`. - * - `delay`: The announcement period required of the initial proxy. Will generally be zero. + * transaction (e.g. with `utility::batch`). Unless you're using `batch` you probably just + * want to use `0`. + * - `delay`: The announcement period required of the initial proxy. Will generally be + * zero. * - * Fails with `Duplicate` if this has already been called in this transaction, from the same - * sender, with the same parameters. + * Fails with `Duplicate` if this has already been called in this transaction, from the + * same sender, with the same parameters. * * Fails if there are insufficient funds to pay for deposit. - */ + **/ createPure: AugmentedSubmittable< ( proxyType: @@ -3398,7 +3599,8 @@ declare module "@polkadot/api-base/types/submittable" { /** * Removes a previously spawned pure proxy. * - * WARNING: **All access to this account will be lost.** Any funds held in it will be inaccessible. + * WARNING: **All access to this account will be lost.** Any funds held in it will be + * inaccessible. * * Requires a `Signed` origin, and the sender account must have been created by a call to * `pure` with corresponding parameters. @@ -3409,9 +3611,9 @@ declare module "@polkadot/api-base/types/submittable" { * - `height`: The height of the chain when the call to `pure` was processed. * - `ext_index`: The extrinsic index in which the call to `pure` was processed. * - * Fails with `NoPermission` in case the caller is not a previously created pure account whose - * `pure` call has corresponding parameters. - */ + * Fails with `NoPermission` in case the caller is not a previously created pure + * account whose `pure` call has corresponding parameters. + **/ killPure: AugmentedSubmittable< ( spawner: AccountId20 | string | Uint8Array, @@ -3434,16 +3636,16 @@ declare module "@polkadot/api-base/types/submittable" { [AccountId20, MoonbaseRuntimeProxyType, u16, Compact, Compact] >; /** - * Dispatch the given `call` from an account that the sender is authorised for through `add_proxy`. + * Dispatch the given `call` from an account that the sender is authorised for through + * `add_proxy`. * * The dispatch origin for this call must be _Signed_. * * Parameters: - * * - `real`: The account that the proxy will make a call on behalf of. * - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call. * - `call`: The call to be made by the `real` account. - */ + **/ proxy: AugmentedSubmittable< ( real: AccountId20 | string | Uint8Array, @@ -3466,18 +3668,18 @@ declare module "@polkadot/api-base/types/submittable" { [AccountId20, Option, Call] >; /** - * Dispatch the given `call` from an account that the sender is authorized for through `add_proxy`. + * Dispatch the given `call` from an account that the sender is authorized for through + * `add_proxy`. * * Removes any corresponding announcement(s). * * The dispatch origin for this call must be _Signed_. * * Parameters: - * * - `real`: The account that the proxy will make a call on behalf of. * - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call. * - `call`: The call to be made by the `real` account. - */ + **/ proxyAnnounced: AugmentedSubmittable< ( delegate: AccountId20 | string | Uint8Array, @@ -3509,10 +3711,9 @@ declare module "@polkadot/api-base/types/submittable" { * The dispatch origin for this call must be _Signed_. * * Parameters: - * * - `delegate`: The account that previously announced the call. * - `call_hash`: The hash of the call to be made. - */ + **/ rejectAnnouncement: AugmentedSubmittable< ( delegate: AccountId20 | string | Uint8Array, @@ -3523,15 +3724,15 @@ declare module "@polkadot/api-base/types/submittable" { /** * Remove a given announcement. * - * May be called by a proxy account to remove a call they previously announced and return the deposit. + * May be called by a proxy account to remove a call they previously announced and return + * the deposit. * * The dispatch origin for this call must be _Signed_. * * Parameters: - * * - `real`: The account that the proxy will make a call on behalf of. * - `call_hash`: The hash of the call to be made by the `real` account. - */ + **/ removeAnnouncement: AugmentedSubmittable< ( real: AccountId20 | string | Uint8Array, @@ -3544,9 +3745,9 @@ declare module "@polkadot/api-base/types/submittable" { * * The dispatch origin for this call must be _Signed_. * - * WARNING: This may be called on accounts created by `pure`, however if done, then the - * unreserved fees will be inaccessible. **All access to this account will be lost.** - */ + * WARNING: This may be called on accounts created by `pure`, however if done, then + * the unreserved fees will be inaccessible. **All access to this account will be lost.** + **/ removeProxies: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * Unregister a proxy account for the sender. @@ -3554,10 +3755,9 @@ declare module "@polkadot/api-base/types/submittable" { * The dispatch origin for this call must be _Signed_. * * Parameters: - * * - `proxy`: The account that the `caller` would like to remove as a proxy. * - `proxy_type`: The permissions currently enabled for the removed proxy account. - */ + **/ removeProxy: AugmentedSubmittable< ( delegate: AccountId20 | string | Uint8Array, @@ -3577,13 +3777,19 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, MoonbaseRuntimeProxyType, u32] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; randomness: { - /** Populates `RandomnessResults` due this epoch with BABE epoch randomness */ + /** + * Populates `RandomnessResults` due this epoch with BABE epoch randomness + **/ setBabeRandomnessResults: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; referenda: { @@ -3594,7 +3800,7 @@ declare module "@polkadot/api-base/types/submittable" { * - `index`: The index of the referendum to be cancelled. * * Emits `Cancelled`. - */ + **/ cancel: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -3606,7 +3812,7 @@ declare module "@polkadot/api-base/types/submittable" { * - `index`: The index of the referendum to be cancelled. * * Emits `Killed` and `DepositSlashed`. - */ + **/ kill: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -3616,7 +3822,7 @@ declare module "@polkadot/api-base/types/submittable" { * * - `origin`: must be `Root`. * - `index`: the referendum to be advanced. - */ + **/ nudgeReferendum: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -3629,10 +3835,9 @@ declare module "@polkadot/api-base/types/submittable" { * * Action item for when there is now one fewer referendum in the deciding phase and the * `DecidingCount` is not yet updated. This means that we should either: - * - * - Begin deciding another referendum (and leave `DecidingCount` alone); or - * - Decrement `DecidingCount`. - */ + * - begin deciding another referendum (and leave `DecidingCount` alone); or + * - decrement `DecidingCount`. + **/ oneFewerDeciding: AugmentedSubmittable< (track: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u16] @@ -3640,12 +3845,13 @@ declare module "@polkadot/api-base/types/submittable" { /** * Post the Decision Deposit for a referendum. * - * - `origin`: must be `Signed` and the account must have funds available for the referendum's - * track's Decision Deposit. - * - `index`: The index of the submitted referendum whose Decision Deposit is yet to be posted. + * - `origin`: must be `Signed` and the account must have funds available for the + * referendum's track's Decision Deposit. + * - `index`: The index of the submitted referendum whose Decision Deposit is yet to be + * posted. * * Emits `DecisionDepositPlaced`. - */ + **/ placeDecisionDeposit: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -3654,10 +3860,11 @@ declare module "@polkadot/api-base/types/submittable" { * Refund the Decision Deposit for a closed referendum back to the depositor. * * - `origin`: must be `Signed` or `Root`. - * - `index`: The index of a closed referendum whose Decision Deposit has not yet been refunded. + * - `index`: The index of a closed referendum whose Decision Deposit has not yet been + * refunded. * * Emits `DecisionDepositRefunded`. - */ + **/ refundDecisionDeposit: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -3666,10 +3873,11 @@ declare module "@polkadot/api-base/types/submittable" { * Refund the Submission Deposit for a closed referendum back to the depositor. * * - `origin`: must be `Signed` or `Root`. - * - `index`: The index of a closed referendum whose Submission Deposit has not yet been refunded. + * - `index`: The index of a closed referendum whose Submission Deposit has not yet been + * refunded. * * Emits `SubmissionDepositRefunded`. - */ + **/ refundSubmissionDeposit: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -3678,12 +3886,11 @@ declare module "@polkadot/api-base/types/submittable" { * Set or clear metadata of a referendum. * * Parameters: - * - * - `origin`: Must be `Signed` by a creator of a referendum or by anyone to clear a metadata of - * a finished referendum. - * - `index`: The index of a referendum to set or clear metadata for. + * - `origin`: Must be `Signed` by a creator of a referendum or by anyone to clear a + * metadata of a finished referendum. + * - `index`: The index of a referendum to set or clear metadata for. * - `maybe_hash`: The hash of an on-chain stored preimage. `None` to clear a metadata. - */ + **/ setMetadata: AugmentedSubmittable< ( index: u32 | AnyNumber | Uint8Array, @@ -3694,13 +3901,14 @@ declare module "@polkadot/api-base/types/submittable" { /** * Propose a referendum on a privileged action. * - * - `origin`: must be `SubmitOrigin` and the account must have `SubmissionDeposit` funds available. + * - `origin`: must be `SubmitOrigin` and the account must have `SubmissionDeposit` funds + * available. * - `proposal_origin`: The origin from which the proposal should be executed. * - `proposal`: The proposal. * - `enactment_moment`: The moment that the proposal should be enacted. * * Emits `Submitted`. - */ + **/ submit: AugmentedSubmittable< ( proposalOrigin: @@ -3736,21 +3944,29 @@ declare module "@polkadot/api-base/types/submittable" { FrameSupportScheduleDispatchTime ] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; rootTesting: { - /** A dispatch that will fill the block weight up to the given ratio. */ + /** + * A dispatch that will fill the block weight up to the given ratio. + **/ fillBlock: AugmentedSubmittable< (ratio: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Perbill] >; triggerDefensive: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; scheduler: { - /** Cancel an anonymously scheduled task. */ + /** + * Cancel an anonymously scheduled task. + **/ cancel: AugmentedSubmittable< ( when: u32 | AnyNumber | Uint8Array, @@ -3758,24 +3974,32 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u32, u32] >; - /** Cancel a named scheduled task. */ + /** + * Cancel a named scheduled task. + **/ cancelNamed: AugmentedSubmittable< (id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic, [U8aFixed] >; - /** Removes the retry configuration of a task. */ + /** + * Removes the retry configuration of a task. + **/ cancelRetry: AugmentedSubmittable< ( task: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array] ) => SubmittableExtrinsic, [ITuple<[u32, u32]>] >; - /** Cancel the retry configuration of a named task. */ + /** + * Cancel the retry configuration of a named task. + **/ cancelRetryNamed: AugmentedSubmittable< (id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic, [U8aFixed] >; - /** Anonymously schedule a task. */ + /** + * Anonymously schedule a task. + **/ schedule: AugmentedSubmittable< ( when: u32 | AnyNumber | Uint8Array, @@ -3790,7 +4014,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u32, Option>, u8, Call] >; - /** Anonymously schedule a task after a delay. */ + /** + * Anonymously schedule a task after a delay. + **/ scheduleAfter: AugmentedSubmittable< ( after: u32 | AnyNumber | Uint8Array, @@ -3805,7 +4031,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u32, Option>, u8, Call] >; - /** Schedule a named task. */ + /** + * Schedule a named task. + **/ scheduleNamed: AugmentedSubmittable< ( id: U8aFixed | string | Uint8Array, @@ -3821,7 +4049,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [U8aFixed, u32, Option>, u8, Call] >; - /** Schedule a named task after a delay. */ + /** + * Schedule a named task after a delay. + **/ scheduleNamedAfter: AugmentedSubmittable< ( id: U8aFixed | string | Uint8Array, @@ -3838,17 +4068,19 @@ declare module "@polkadot/api-base/types/submittable" { [U8aFixed, u32, Option>, u8, Call] >; /** - * Set a retry configuration for a task so that, in case its scheduled run fails, it will be - * retried after `period` blocks, for a total amount of `retries` retries or until it succeeds. + * Set a retry configuration for a task so that, in case its scheduled run fails, it will + * be retried after `period` blocks, for a total amount of `retries` retries or until it + * succeeds. * * Tasks which need to be scheduled for a retry are still subject to weight metering and * agenda space, same as a regular task. If a periodic task fails, it will be scheduled * normally while the task is retrying. * - * Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic clones - * of the original task. Their retry configuration will be derived from the original task's - * configuration, but will have a lower value for `remaining` than the original `total_retries`. - */ + * Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic + * clones of the original task. Their retry configuration will be derived from the + * original task's configuration, but will have a lower value for `remaining` than the + * original `total_retries`. + **/ setRetry: AugmentedSubmittable< ( task: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], @@ -3859,16 +4091,18 @@ declare module "@polkadot/api-base/types/submittable" { >; /** * Set a retry configuration for a named task so that, in case its scheduled run fails, it - * will be retried after `period` blocks, for a total amount of `retries` retries or until it succeeds. + * will be retried after `period` blocks, for a total amount of `retries` retries or until + * it succeeds. * * Tasks which need to be scheduled for a retry are still subject to weight metering and * agenda space, same as a regular task. If a periodic task fails, it will be scheduled * normally while the task is retrying. * - * Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic clones - * of the original task. Their retry configuration will be derived from the original task's - * configuration, but will have a lower value for `remaining` than the original `total_retries`. - */ + * Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic + * clones of the original task. Their retry configuration will be derived from the + * original task's configuration, but will have a lower value for `remaining` than the + * original `total_retries`. + **/ setRetryNamed: AugmentedSubmittable< ( id: U8aFixed | string | Uint8Array, @@ -3877,7 +4111,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [U8aFixed, u8, u32] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; sudo: { @@ -3885,23 +4121,29 @@ declare module "@polkadot/api-base/types/submittable" { * Permanently removes the sudo key. * * **This cannot be un-done.** - */ + **/ removeKey: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo key. */ + /** + * Authenticates the current sudo key and sets the given AccountId (`new`) as the new sudo + * key. + **/ setKey: AugmentedSubmittable< (updated: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Authenticates the sudo key and dispatches a function call with `Root` origin. */ + /** + * Authenticates the sudo key and dispatches a function call with `Root` origin. + **/ sudo: AugmentedSubmittable< (call: Call | IMethod | string | Uint8Array) => SubmittableExtrinsic, [Call] >; /** - * Authenticates the sudo key and dispatches a function call with `Signed` origin from a given account. + * Authenticates the sudo key and dispatches a function call with `Signed` origin from + * a given account. * * The dispatch origin for this call must be _Signed_. - */ + **/ sudoAs: AugmentedSubmittable< ( who: AccountId20 | string | Uint8Array, @@ -3910,12 +4152,12 @@ declare module "@polkadot/api-base/types/submittable" { [AccountId20, Call] >; /** - * Authenticates the sudo key and dispatches a function call with `Root` origin. This function - * does not check the weight of the call, and instead allows the Sudo user to specify the - * weight of the call. + * Authenticates the sudo key and dispatches a function call with `Root` origin. + * This function does not check the weight of the call, and instead allows the + * Sudo user to specify the weight of the call. * * The dispatch origin for this call must be _Signed_. - */ + **/ sudoUncheckedWeight: AugmentedSubmittable< ( call: Call | IMethod | string | Uint8Array, @@ -3923,43 +4165,47 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Call, SpWeightsWeightV2Weight] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; system: { /** * Provide the preimage (runtime binary) `code` for an upgrade that has been authorized. * - * If the authorization required a version check, this call will ensure the spec name remains - * unchanged and that the spec version has increased. + * If the authorization required a version check, this call will ensure the spec name + * remains unchanged and that the spec version has increased. * - * Depending on the runtime's `OnSetCode` configuration, this function may directly apply the - * new `code` in the same block or attempt to schedule the upgrade. + * Depending on the runtime's `OnSetCode` configuration, this function may directly apply + * the new `code` in the same block or attempt to schedule the upgrade. * * All origins are allowed. - */ + **/ applyAuthorizedUpgrade: AugmentedSubmittable< (code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; /** - * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied later. + * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied + * later. * * This call requires Root origin. - */ + **/ authorizeUpgrade: AugmentedSubmittable< (codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] >; /** - * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied later. + * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied + * later. * * WARNING: This authorizes an upgrade that will take place without any safety checks, for * example that the spec name remains the same and that the version number increases. Not * recommended for normal use. Use `authorize_upgrade` instead. * * This call requires Root origin. - */ + **/ authorizeUpgradeWithoutChecks: AugmentedSubmittable< (codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] @@ -3967,9 +4213,9 @@ declare module "@polkadot/api-base/types/submittable" { /** * Kill all storage items with a key that starts with the given prefix. * - * **NOTE:** We rely on the Root origin to provide us the number of subkeys under the prefix - * we are removing to accurately calculate the weight of this function. - */ + * **NOTE:** We rely on the Root origin to provide us the number of subkeys under + * the prefix we are removing to accurately calculate the weight of this function. + **/ killPrefix: AugmentedSubmittable< ( prefix: Bytes | string | Uint8Array, @@ -3977,7 +4223,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Bytes, u32] >; - /** Kill some items from storage. */ + /** + * Kill some items from storage. + **/ killStorage: AugmentedSubmittable< (keys: Vec | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec] @@ -3986,17 +4234,21 @@ declare module "@polkadot/api-base/types/submittable" { * Make some on-chain remark. * * Can be executed by every `origin`. - */ + **/ remark: AugmentedSubmittable< (remark: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** Make some on-chain remark and emit event. */ + /** + * Make some on-chain remark and emit event. + **/ remarkWithEvent: AugmentedSubmittable< (remark: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** Set the new runtime code. */ + /** + * Set the new runtime code. + **/ setCode: AugmentedSubmittable< (code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] @@ -4004,18 +4256,23 @@ declare module "@polkadot/api-base/types/submittable" { /** * Set the new runtime code without doing any checks of the given `code`. * - * Note that runtime upgrades will not run if this is called with a not-increasing spec version! - */ + * Note that runtime upgrades will not run if this is called with a not-increasing spec + * version! + **/ setCodeWithoutChecks: AugmentedSubmittable< (code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** Set the number of pages in the WebAssembly environment's heap. */ + /** + * Set the number of pages in the WebAssembly environment's heap. + **/ setHeapPages: AugmentedSubmittable< (pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u64] >; - /** Set some items of storage. */ + /** + * Set some items of storage. + **/ setStorage: AugmentedSubmittable< ( items: @@ -4024,7 +4281,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Vec>] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; timestamp: { @@ -4039,21 +4298,23 @@ declare module "@polkadot/api-base/types/submittable" { * * The dispatch origin for this call must be _None_. * - * This dispatch class is _Mandatory_ to ensure it gets executed in the block. Be aware that - * changing the complexity of this call could result exhausting the resources in a block to - * execute any other calls. + * This dispatch class is _Mandatory_ to ensure it gets executed in the block. Be aware + * that changing the complexity of this call could result exhausting the resources in a + * block to execute any other calls. * * ## Complexity - * * - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`) - * - 1 storage read and 1 storage mutation (codec `O(1)` because of `DidUpdate::take` in `on_finalize`) + * - 1 storage read and 1 storage mutation (codec `O(1)` because of `DidUpdate::take` in + * `on_finalize`) * - 1 event handler `on_timestamp_set`. Must be `O(1)`. - */ + **/ set: AugmentedSubmittable< (now: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; treasury: { @@ -4066,19 +4327,18 @@ declare module "@polkadot/api-base/types/submittable" { * * ## Details * - * The status check is a prerequisite for retrying a failed payout. If a spend has either - * succeeded or expired, it is removed from the storage by this function. In such instances, - * transaction fees are refunded. + * The status check is a prerequisite for retrying a failed payout. + * If a spend has either succeeded or expired, it is removed from the storage by this + * function. In such instances, transaction fees are refunded. * * ### Parameters - * * - `index`: The spend index. * * ## Events * - * Emits [`Event::PaymentFailed`] if the spend payout has failed. Emits - * [`Event::SpendProcessed`] if the spend payout has succeed. - */ + * Emits [`Event::PaymentFailed`] if the spend payout has failed. + * Emits [`Event::SpendProcessed`] if the spend payout has succeed. + **/ checkStatus: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -4093,18 +4353,17 @@ declare module "@polkadot/api-base/types/submittable" { * ## Details * * Spends must be claimed within some temporal bounds. A spend may be claimed within one - * [`Config::PayoutPeriod`] from the `valid_from` block. In case of a payout failure, the - * spend status must be updated with the `check_status` dispatchable before retrying with the - * current function. + * [`Config::PayoutPeriod`] from the `valid_from` block. + * In case of a payout failure, the spend status must be updated with the `check_status` + * dispatchable before retrying with the current function. * * ### Parameters - * * - `index`: The spend index. * * ## Events * * Emits [`Event::Paid`] if successful. - */ + **/ payout: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -4121,19 +4380,17 @@ declare module "@polkadot/api-base/types/submittable" { * The original deposit will no longer be returned. * * ### Parameters - * * - `proposal_id`: The index of a proposal * * ### Complexity - * * - O(A) where `A` is the number of approvals * * ### Errors - * - * - [`Error::ProposalNotApproved`]: The `proposal_id` supplied was not found in the approval - * queue, i.e., the proposal has not been approved. This could also mean the proposal does - * not exist altogether, thus there is no way it would have been approved in the first place. - */ + * - [`Error::ProposalNotApproved`]: The `proposal_id` supplied was not found in the + * approval queue, i.e., the proposal has not been approved. This could also mean the + * proposal does not exist altogether, thus there is no way it would have been approved + * in the first place. + **/ removeApproval: AugmentedSubmittable< (proposalId: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -4143,9 +4400,9 @@ declare module "@polkadot/api-base/types/submittable" { * * ## Dispatch Origin * - * Must be [`Config::SpendOrigin`] with the `Success` value being at least `amount` of - * `asset_kind` in the native asset. The amount of `asset_kind` is converted for assertion - * using the [`Config::BalanceConverter`]. + * Must be [`Config::SpendOrigin`] with the `Success` value being at least + * `amount` of `asset_kind` in the native asset. The amount of `asset_kind` is converted + * for assertion using the [`Config::BalanceConverter`]. * * ## Details * @@ -4154,18 +4411,18 @@ declare module "@polkadot/api-base/types/submittable" { * the [`Config::PayoutPeriod`]. * * ### Parameters - * * - `asset_kind`: An indicator of the specific asset class to be spent. * - `amount`: The amount to be transferred from the treasury to the `beneficiary`. * - `beneficiary`: The beneficiary of the spend. - * - `valid_from`: The block number from which the spend can be claimed. It can refer to the - * past if the resulting spend has not yet expired according to the - * [`Config::PayoutPeriod`]. If `None`, the spend can be claimed immediately after approval. + * - `valid_from`: The block number from which the spend can be claimed. It can refer to + * the past if the resulting spend has not yet expired according to the + * [`Config::PayoutPeriod`]. If `None`, the spend can be claimed immediately after + * approval. * * ## Events * * Emits [`Event::AssetSpendApproved`] if successful. - */ + **/ spend: AugmentedSubmittable< ( assetKind: Null | null, @@ -4183,18 +4440,17 @@ declare module "@polkadot/api-base/types/submittable" { * Must be [`Config::SpendOrigin`] with the `Success` value being at least `amount`. * * ### Details - * - * NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the beneficiary. + * NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the + * beneficiary. * * ### Parameters - * * - `amount`: The amount to be transferred from the treasury to the `beneficiary`. * - `beneficiary`: The destination account for the transfer. * * ## Events * * Emits [`Event::SpendApproved`] if successful. - */ + **/ spendLocal: AugmentedSubmittable< ( amount: Compact | AnyNumber | Uint8Array, @@ -4214,18 +4470,19 @@ declare module "@polkadot/api-base/types/submittable" { * A spend void is only possible if the payout has not been attempted yet. * * ### Parameters - * * - `index`: The spend index. * * ## Events * * Emits [`Event::AssetSpendVoided`] if successful. - */ + **/ voidSpend: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; treasuryCouncilCollective: { @@ -4234,27 +4491,27 @@ declare module "@polkadot/api-base/types/submittable" { * * May be called by any signed account in order to finish voting and close the proposal. * - * If called before the end of the voting period it will only close the vote if it is has - * enough votes to be approved or disapproved. + * If called before the end of the voting period it will only close the vote if it is + * has enough votes to be approved or disapproved. * - * If called after the end of the voting period abstentions are counted as rejections unless - * there is a prime member set and the prime member cast an approval. + * If called after the end of the voting period abstentions are counted as rejections + * unless there is a prime member set and the prime member cast an approval. * - * If the close operation completes successfully with disapproval, the transaction fee will be - * waived. Otherwise execution of the approved operation will be charged to the caller. + * If the close operation completes successfully with disapproval, the transaction fee will + * be waived. Otherwise execution of the approved operation will be charged to the caller. * - * - `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed proposal. - * - `length_bound`: The upper bound for the length of the proposal in storage. Checked via - * `storage::read` so it is `size_of::() == 4` larger than the pure length. + * + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed + * proposal. + * + `length_bound`: The upper bound for the length of the proposal in storage. Checked via + * `storage::read` so it is `size_of::() == 4` larger than the pure length. * * ## Complexity - * * - `O(B + M + P1 + P2)` where: * - `B` is `proposal` size in bytes (length-fee-bounded) * - `M` is members-count (code- and governance-bounded) * - `P1` is the complexity of `proposal` preimage. * - `P2` is proposal-count (code-bounded) - */ + **/ close: AugmentedSubmittable< ( proposalHash: H256 | string | Uint8Array, @@ -4269,18 +4526,17 @@ declare module "@polkadot/api-base/types/submittable" { [H256, Compact, SpWeightsWeightV2Weight, Compact] >; /** - * Disapprove a proposal, close, and remove it from the system, regardless of its current state. + * Disapprove a proposal, close, and remove it from the system, regardless of its current + * state. * * Must be called by the Root origin. * * Parameters: - * - * - `proposal_hash`: The hash of the proposal that should be disapproved. + * * `proposal_hash`: The hash of the proposal that should be disapproved. * * ## Complexity - * * O(P) where P is the number of max proposals - */ + **/ disapproveProposal: AugmentedSubmittable< (proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] @@ -4291,12 +4547,11 @@ declare module "@polkadot/api-base/types/submittable" { * Origin must be a member of the collective. * * ## Complexity: - * * - `O(B + M + P)` where: * - `B` is `proposal` size in bytes (length-fee-bounded) * - `M` members-count (code-bounded) * - `P` complexity of dispatching `proposal` - */ + **/ execute: AugmentedSubmittable< ( proposal: Call | IMethod | string | Uint8Array, @@ -4309,18 +4564,17 @@ declare module "@polkadot/api-base/types/submittable" { * * Requires the sender to be member. * - * `threshold` determines whether `proposal` is executed directly (`threshold < 2`) or put up - * for voting. + * `threshold` determines whether `proposal` is executed directly (`threshold < 2`) + * or put up for voting. * * ## Complexity - * * - `O(B + M + P1)` or `O(B + M + P2)` where: * - `B` is `proposal` size in bytes (length-fee-bounded) * - `M` is members-count (code- and governance-bounded) - * - Branching is influenced by `threshold` where: + * - branching is influenced by `threshold` where: * - `P1` is proposal execution complexity (`threshold < 2`) * - `P2` is proposals-count (code-bounded) (`threshold >= 2`) - */ + **/ propose: AugmentedSubmittable< ( threshold: Compact | AnyNumber | Uint8Array, @@ -4334,27 +4588,27 @@ declare module "@polkadot/api-base/types/submittable" { * * - `new_members`: The new member list. Be nice to the chain and provide it sorted. * - `prime`: The prime member whose vote sets the default. - * - `old_count`: The upper bound for the previous number of members in storage. Used for weight - * estimation. + * - `old_count`: The upper bound for the previous number of members in storage. Used for + * weight estimation. * * The dispatch of this call must be `SetMembersOrigin`. * - * NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but the - * weight estimations rely on it to estimate dispatchable weight. + * NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but + * the weight estimations rely on it to estimate dispatchable weight. * * # WARNING: * * The `pallet-collective` can also be managed by logic outside of the pallet through the - * implementation of the trait [`ChangeMembers`]. Any call to `set_members` must be careful - * that the member set doesn't get out of sync with other logic managing the member set. + * implementation of the trait [`ChangeMembers`]. + * Any call to `set_members` must be careful that the member set doesn't get out of sync + * with other logic managing the member set. * * ## Complexity: - * * - `O(MP + N)` where: * - `M` old-members-count (code- and governance-bounded) * - `N` new-members-count (code- and governance-bounded) * - `P` proposals-count (code-bounded) - */ + **/ setMembers: AugmentedSubmittable< ( newMembers: Vec | (AccountId20 | string | Uint8Array)[], @@ -4368,13 +4622,12 @@ declare module "@polkadot/api-base/types/submittable" { * * Requires the sender to be a member. * - * Transaction fees will be waived if the member is voting on any particular proposal for the - * first time and the call is successful. Subsequent vote changes will charge a fee. - * + * Transaction fees will be waived if the member is voting on any particular proposal + * for the first time and the call is successful. Subsequent vote changes will charge a + * fee. * ## Complexity - * * - `O(M)` where `M` is members-count (code- and governance-bounded) - */ + **/ vote: AugmentedSubmittable< ( proposal: H256 | string | Uint8Array, @@ -4383,25 +4636,27 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [H256, Compact, bool] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; utility: { /** * Send a call through an indexed pseudonym of the sender. * - * Filter from origin are passed along. The call will be dispatched with an origin which use - * the same filter as the origin of this call. + * Filter from origin are passed along. The call will be dispatched with an origin which + * use the same filter as the origin of this call. * - * NOTE: If you need to ensure that any account-based filtering is not honored (i.e. because - * you expect `proxy` to have been used prior in the call stack and you do not want the call - * restrictions to apply to any sub-accounts), then use `as_multi_threshold_1` in the Multisig - * pallet instead. + * NOTE: If you need to ensure that any account-based filtering is not honored (i.e. + * because you expect `proxy` to have been used prior in the call stack and you do not want + * the call restrictions to apply to any sub-accounts), then use `as_multi_threshold_1` + * in the Multisig pallet instead. * * NOTE: Prior to version *12, this was called `as_limited_sub`. * * The dispatch origin for this call must be _Signed_. - */ + **/ asDerivative: AugmentedSubmittable< ( index: u16 | AnyNumber | Uint8Array, @@ -4415,20 +4670,20 @@ declare module "@polkadot/api-base/types/submittable" { * May be called from any origin except `None`. * * - `calls`: The calls to be dispatched from the same origin. The number of call must not - * exceed the constant: `batched_calls_limit` (available in constant metadata). + * exceed the constant: `batched_calls_limit` (available in constant metadata). * * If origin is root then the calls are dispatched without checking origin filter. (This * includes bypassing `frame_system::Config::BaseCallFilter`). * * ## Complexity - * * - O(C) where C is the number of calls to be batched. * - * This will return `Ok` in all circumstances. To determine the success of the batch, an event - * is deposited. If a call failed and the batch was interrupted, then the `BatchInterrupted` - * event is deposited, along with the number of successful calls made and the error of the - * failed call. If all were successful, then the `BatchCompleted` event is deposited. - */ + * This will return `Ok` in all circumstances. To determine the success of the batch, an + * event is deposited. If a call failed and the batch was interrupted, then the + * `BatchInterrupted` event is deposited, along with the number of successful calls made + * and the error of the failed call. If all were successful, then the `BatchCompleted` + * event is deposited. + **/ batch: AugmentedSubmittable< ( calls: Vec | (Call | IMethod | string | Uint8Array)[] @@ -4436,21 +4691,20 @@ declare module "@polkadot/api-base/types/submittable" { [Vec] >; /** - * Send a batch of dispatch calls and atomically execute them. The whole transaction will - * rollback and fail if any of the calls failed. + * Send a batch of dispatch calls and atomically execute them. + * The whole transaction will rollback and fail if any of the calls failed. * * May be called from any origin except `None`. * * - `calls`: The calls to be dispatched from the same origin. The number of call must not - * exceed the constant: `batched_calls_limit` (available in constant metadata). + * exceed the constant: `batched_calls_limit` (available in constant metadata). * * If origin is root then the calls are dispatched without checking origin filter. (This * includes bypassing `frame_system::Config::BaseCallFilter`). * * ## Complexity - * * - O(C) where C is the number of calls to be batched. - */ + **/ batchAll: AugmentedSubmittable< ( calls: Vec | (Call | IMethod | string | Uint8Array)[] @@ -4463,9 +4717,8 @@ declare module "@polkadot/api-base/types/submittable" { * The dispatch origin for this call must be _Root_. * * ## Complexity - * * - O(1). - */ + **/ dispatchAs: AugmentedSubmittable< ( asOrigin: @@ -4486,20 +4739,20 @@ declare module "@polkadot/api-base/types/submittable" { [MoonbaseRuntimeOriginCaller, Call] >; /** - * Send a batch of dispatch calls. Unlike `batch`, it allows errors and won't interrupt. + * Send a batch of dispatch calls. + * Unlike `batch`, it allows errors and won't interrupt. * * May be called from any origin except `None`. * * - `calls`: The calls to be dispatched from the same origin. The number of call must not - * exceed the constant: `batched_calls_limit` (available in constant metadata). + * exceed the constant: `batched_calls_limit` (available in constant metadata). * * If origin is root then the calls are dispatch without checking origin filter. (This * includes bypassing `frame_system::Config::BaseCallFilter`). * * ## Complexity - * * - O(C) where C is the number of calls to be batched. - */ + **/ forceBatch: AugmentedSubmittable< ( calls: Vec | (Call | IMethod | string | Uint8Array)[] @@ -4509,11 +4762,11 @@ declare module "@polkadot/api-base/types/submittable" { /** * Dispatch a function call with a specified weight. * - * This function does not check the weight of the call, and instead allows the Root origin to - * specify the weight of the call. + * This function does not check the weight of the call, and instead allows the + * Root origin to specify the weight of the call. * * The dispatch origin for this call must be _Root_. - */ + **/ withWeight: AugmentedSubmittable< ( call: Call | IMethod | string | Uint8Array, @@ -4521,7 +4774,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Call, SpWeightsWeightV2Weight] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; whitelist: { @@ -4549,7 +4804,9 @@ declare module "@polkadot/api-base/types/submittable" { (callHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; xcmpQueue: { @@ -4559,60 +4816,64 @@ declare module "@polkadot/api-base/types/submittable" { * Note that this function doesn't change the status of the in/out bound channels. * * - `origin`: Must pass `ControllerOrigin`. - */ + **/ resumeXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * Suspends all XCM executions for the XCMP queue, regardless of the sender's origin. * * - `origin`: Must pass `ControllerOrigin`. - */ + **/ suspendXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** - * Overwrites the number of pages which must be in the queue after which we drop any further - * messages from the channel. + * Overwrites the number of pages which must be in the queue after which we drop any + * further messages from the channel. * * - `origin`: Must pass `Root`. * - `new`: Desired value for `QueueConfigData.drop_threshold` - */ + **/ updateDropThreshold: AugmentedSubmittable< (updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; /** - * Overwrites the number of pages which the queue must be reduced to before it signals that - * message sending may recommence after it has been suspended. + * Overwrites the number of pages which the queue must be reduced to before it signals + * that message sending may recommence after it has been suspended. * * - `origin`: Must pass `Root`. * - `new`: Desired value for `QueueConfigData.resume_threshold` - */ + **/ updateResumeThreshold: AugmentedSubmittable< (updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; /** - * Overwrites the number of pages which must be in the queue for the other side to be told to - * suspend their sending. + * Overwrites the number of pages which must be in the queue for the other side to be + * told to suspend their sending. * * - `origin`: Must pass `Root`. * - `new`: Desired value for `QueueConfigData.suspend_value` - */ + **/ updateSuspendThreshold: AugmentedSubmittable< (updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; xcmTransactor: { /** * De-Register a derivative index. This prevents an account to use a derivative address * (represented by an index) from our of our sovereign accounts anymore - */ + **/ deregister: AugmentedSubmittable< (index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u16] >; - /** Manage HRMP operations */ + /** + * Manage HRMP operations + **/ hrmpManage: AugmentedSubmittable< ( action: @@ -4641,14 +4902,15 @@ declare module "@polkadot/api-base/types/submittable" { ] >; /** - * Register a derivative index for an account id. Dispatchable by DerivativeAddressRegistrationOrigin + * Register a derivative index for an account id. Dispatchable by + * DerivativeAddressRegistrationOrigin * - * We do not store the derivative address, but only the index. We do not need to store the - * derivative address to issue calls, only the index is enough + * We do not store the derivative address, but only the index. We do not need to store + * the derivative address to issue calls, only the index is enough * - * For now an index is registered for all possible destinations and not per-destination. We - * can change this in the future although it would just make things more complicated - */ + * For now an index is registered for all possible destinations and not per-destination. + * We can change this in the future although it would just make things more complicated + **/ register: AugmentedSubmittable< ( who: AccountId20 | string | Uint8Array, @@ -4656,7 +4918,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u16] >; - /** Remove the fee per second of an asset on its reserve chain */ + /** + * Remove the fee per second of an asset on its reserve chain + **/ removeFeePerSecond: AugmentedSubmittable< ( assetLocation: @@ -4669,7 +4933,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation] >; - /** Remove the transact info of a location */ + /** + * Remove the transact info of a location + **/ removeTransactInfo: AugmentedSubmittable< ( location: @@ -4682,7 +4948,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation] >; - /** Set the fee per second of an asset on its reserve chain */ + /** + * Set the fee per second of an asset on its reserve chain + **/ setFeePerSecond: AugmentedSubmittable< ( assetLocation: @@ -4696,7 +4964,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation, u128] >; - /** Change the transact info of a location */ + /** + * Change the transact info of a location + **/ setTransactInfo: AugmentedSubmittable< ( location: @@ -4732,12 +5002,12 @@ declare module "@polkadot/api-base/types/submittable" { ] >; /** - * Transact the inner call through a derivative account in a destination chain, using - * 'fee_location' to pay for the fees. This fee_location is given as a multilocation + * Transact the inner call through a derivative account in a destination chain, + * using 'fee_location' to pay for the fees. This fee_location is given as a multilocation * - * The caller needs to have the index registered in this pallet. The fee multiasset needs to - * be a reserve asset for the destination transactor::multilocation. - */ + * The caller needs to have the index registered in this pallet. The fee multiasset needs + * to be a reserve asset for the destination transactor::multilocation. + **/ transactThroughDerivative: AugmentedSubmittable< ( dest: MoonbaseRuntimeXcmConfigTransactors | "Relay" | number | Uint8Array, @@ -4765,12 +5035,12 @@ declare module "@polkadot/api-base/types/submittable" { ] >; /** - * Transact the call through the a signed origin in this chain that should be converted to a - * transaction dispatch account in the destination chain by any method implemented in the - * destination chains runtime + * Transact the call through the a signed origin in this chain + * that should be converted to a transaction dispatch account in the destination chain + * by any method implemented in the destination chains runtime * * This time we are giving the currency as a currencyId instead of multilocation - */ + **/ transactThroughSigned: AugmentedSubmittable< ( dest: @@ -4802,10 +5072,11 @@ declare module "@polkadot/api-base/types/submittable" { ] >; /** - * Transact the call through the sovereign account in a destination chain, 'fee_payer' pays for the fee + * Transact the call through the sovereign account in a destination chain, + * 'fee_payer' pays for the fee * * SovereignAccountDispatcherOrigin callable only - */ + **/ transactThroughSovereign: AugmentedSubmittable< ( dest: @@ -4847,7 +5118,9 @@ declare module "@polkadot/api-base/types/submittable" { bool ] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; xcmWeightTrader: { @@ -4883,7 +5156,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [StagingXcmV4Location] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; } // AugmentedSubmittables diff --git a/typescript-api/src/moonbase/interfaces/augment-types.ts b/typescript-api/src/moonbase/interfaces/augment-types.ts index 78a1a1dfc4..69009fb9c5 100644 --- a/typescript-api/src/moonbase/interfaces/augment-types.ts +++ b/typescript-api/src/moonbase/interfaces/augment-types.ts @@ -48,7 +48,7 @@ import type { u32, u64, u8, - usize, + usize } from "@polkadot/types-codec"; import type { TAssetConversion } from "@polkadot/types/interfaces/assetConversion"; import type { @@ -59,12 +59,12 @@ import type { AssetDetails, AssetMetadata, TAssetBalance, - TAssetDepositBalance, + TAssetDepositBalance } from "@polkadot/types/interfaces/assets"; import type { BlockAttestations, IncludedBlocks, - MoreAttestations, + MoreAttestations } from "@polkadot/types/interfaces/attestations"; import type { RawAuraPreDigest } from "@polkadot/types/interfaces/aura"; import type { ExtrinsicOrHash, ExtrinsicStatus } from "@polkadot/types/interfaces/author"; @@ -97,7 +97,7 @@ import type { SlotNumber, VrfData, VrfOutput, - VrfProof, + VrfProof } from "@polkadot/types/interfaces/babe"; import type { AccountData, @@ -108,7 +108,7 @@ import type { ReserveData, ReserveIdentifier, VestingSchedule, - WithdrawReasons, + WithdrawReasons } from "@polkadot/types/interfaces/balances"; import type { BeefyAuthoritySet, @@ -124,7 +124,7 @@ import type { BeefyVoteMessage, MmrRootHash, ValidatorSet, - ValidatorSetId, + ValidatorSetId } from "@polkadot/types/interfaces/beefy"; import type { BenchmarkBatch, @@ -132,12 +132,12 @@ import type { BenchmarkList, BenchmarkMetadata, BenchmarkParameter, - BenchmarkResult, + BenchmarkResult } from "@polkadot/types/interfaces/benchmark"; import type { CheckInherentsResult, InherentData, - InherentIdentifier, + InherentIdentifier } from "@polkadot/types/interfaces/blockbuilder"; import type { BridgeMessageId, @@ -164,7 +164,7 @@ import type { Parameter, RelayerId, UnrewardedRelayer, - UnrewardedRelayersState, + UnrewardedRelayersState } from "@polkadot/types/interfaces/bridges"; import type { BlockHash } from "@polkadot/types/interfaces/chain"; import type { PrefixedStorageKey } from "@polkadot/types/interfaces/childstate"; @@ -174,7 +174,7 @@ import type { MemberCount, ProposalIndex, Votes, - VotesTo230, + VotesTo230 } from "@polkadot/types/interfaces/collective"; import type { AuthorityId, RawVRFOutput } from "@polkadot/types/interfaces/consensus"; import type { @@ -225,7 +225,7 @@ import type { SeedOf, StorageDeposit, TombstoneContractInfo, - TrieId, + TrieId } from "@polkadot/types/interfaces/contracts"; import type { ContractConstructorSpecLatest, @@ -283,13 +283,13 @@ import type { ContractProjectV0, ContractSelector, ContractStorageLayout, - ContractTypeSpec, + ContractTypeSpec } from "@polkadot/types/interfaces/contractsAbi"; import type { FundIndex, FundInfo, LastContribution, - TrieIndex, + TrieIndex } from "@polkadot/types/interfaces/crowdloan"; import type { CollationInfo, @@ -298,7 +298,7 @@ import type { MessageId, OverweightIndex, PageCounter, - PageIndexData, + PageIndexData } from "@polkadot/types/interfaces/cumulus"; import type { AccountVote, @@ -321,7 +321,7 @@ import type { Voting, VotingDelegating, VotingDirect, - VotingDirectVote, + VotingDirectVote } from "@polkadot/types/interfaces/democracy"; import type { BlockStats } from "@polkadot/types/interfaces/dev"; import type { @@ -329,7 +329,7 @@ import type { DispatchResultWithPostInfo, PostDispatchInfo, XcmDryRunApiError, - XcmDryRunEffects, + XcmDryRunEffects } from "@polkadot/types/interfaces/dryRunApi"; import type { ApprovalFlag, @@ -339,7 +339,7 @@ import type { Vote, VoteIndex, VoteThreshold, - VoterInfo, + VoterInfo } from "@polkadot/types/interfaces/elections"; import type { CreatedBlock, ImportedAux } from "@polkadot/types/interfaces/engine"; import type { @@ -389,7 +389,7 @@ import type { LegacyTransaction, TransactionV0, TransactionV1, - TransactionV2, + TransactionV2 } from "@polkadot/types/interfaces/eth"; import type { EvmAccount, @@ -404,7 +404,7 @@ import type { ExitFatal, ExitReason, ExitRevert, - ExitSucceed, + ExitSucceed } from "@polkadot/types/interfaces/evm"; import type { AnySignature, @@ -428,7 +428,7 @@ import type { MultiSignature, Signature, SignerPayload, - Sr25519Signature, + Sr25519Signature } from "@polkadot/types/interfaces/extrinsics"; import type { FungiblesAccessError } from "@polkadot/types/interfaces/fungibles"; import type { @@ -436,14 +436,14 @@ import type { Owner, PermissionLatest, PermissionVersions, - PermissionsV1, + PermissionsV1 } from "@polkadot/types/interfaces/genericAsset"; import type { GenesisBuildErr } from "@polkadot/types/interfaces/genesisBuilder"; import type { ActiveGilt, ActiveGiltsTotal, ActiveIndex, - GiltBid, + GiltBid } from "@polkadot/types/interfaces/gilt"; import type { AuthorityIndex, @@ -477,7 +477,7 @@ import type { RoundState, SetId, StoredPendingChange, - StoredState, + StoredState } from "@polkadot/types/interfaces/grandpa"; import type { IdentityFields, @@ -489,7 +489,7 @@ import type { RegistrarInfo, Registration, RegistrationJudgement, - RegistrationTo198, + RegistrationTo198 } from "@polkadot/types/interfaces/identity"; import type { AuthIndex, @@ -498,7 +498,7 @@ import type { HeartbeatTo244, OpaqueMultiaddr, OpaqueNetworkState, - OpaquePeerId, + OpaquePeerId } from "@polkadot/types/interfaces/imOnline"; import type { CallIndex, LotteryConfig } from "@polkadot/types/interfaces/lottery"; import type { @@ -612,13 +612,13 @@ import type { StorageMetadataV11, StorageMetadataV12, StorageMetadataV13, - StorageMetadataV9, + StorageMetadataV9 } from "@polkadot/types/interfaces/metadata"; import type { Mixnode, MixnodesErr, SessionPhase, - SessionStatus, + SessionStatus } from "@polkadot/types/interfaces/mixnet"; import type { MmrBatchProof, @@ -629,7 +629,7 @@ import type { MmrLeafIndex, MmrLeafProof, MmrNodeIndex, - MmrProof, + MmrProof } from "@polkadot/types/interfaces/mmr"; import type { NftCollectionId, NftItemId } from "@polkadot/types/interfaces/nfts"; import type { NpApiError, NpPoolId } from "@polkadot/types/interfaces/nompools"; @@ -641,7 +641,7 @@ import type { Offender, OpaqueTimeSlot, ReportIdOf, - Reporter, + Reporter } from "@polkadot/types/interfaces/offences"; import type { AbridgedCandidateReceipt, @@ -782,20 +782,20 @@ import type { WinnersDataTuple10, WinningData, WinningData10, - WinningDataEntry, + WinningDataEntry } from "@polkadot/types/interfaces/parachains"; import type { FeeDetails, InclusionFee, RuntimeDispatchInfo, RuntimeDispatchInfoV1, - RuntimeDispatchInfoV2, + RuntimeDispatchInfoV2 } from "@polkadot/types/interfaces/payment"; import type { Approvals } from "@polkadot/types/interfaces/poll"; import type { ProxyAnnouncement, ProxyDefinition, - ProxyType, + ProxyType } from "@polkadot/types/interfaces/proxy"; import type { AccountStatus, AccountValidity } from "@polkadot/types/interfaces/purchase"; import type { ActiveRecovery, RecoveryConfig } from "@polkadot/types/interfaces/recovery"; @@ -901,7 +901,7 @@ import type { WeightMultiplier, WeightV0, WeightV1, - WeightV2, + WeightV2 } from "@polkadot/types/interfaces/runtime"; import type { Si0Field, @@ -949,7 +949,7 @@ import type { SiTypeDefTuple, SiTypeDefVariant, SiTypeParameter, - SiVariant, + SiVariant } from "@polkadot/types/interfaces/scaleInfo"; import type { Period, @@ -958,7 +958,7 @@ import type { SchedulePriority, Scheduled, ScheduledTo254, - TaskAddress, + TaskAddress } from "@polkadot/types/interfaces/scheduler"; import type { BeefyKey, @@ -982,7 +982,7 @@ import type { SessionKeys8B, SessionKeys9, SessionKeys9B, - ValidatorCount, + ValidatorCount } from "@polkadot/types/interfaces/session"; import type { Bid, @@ -990,7 +990,7 @@ import type { SocietyJudgement, SocietyVote, StrikeCount, - VouchingStatus, + VouchingStatus } from "@polkadot/types/interfaces/society"; import type { ActiveEraInfo, @@ -1060,7 +1060,7 @@ import type { ValidatorPrefsWithBlocked, ValidatorPrefsWithCommission, VoteWeight, - Voter, + Voter } from "@polkadot/types/interfaces/staking"; import type { ApiId, @@ -1079,12 +1079,12 @@ import type { SpecVersion, StorageChangeSet, TraceBlockResponse, - TraceError, + TraceError } from "@polkadot/types/interfaces/state"; import type { StatementStoreInvalidStatement, StatementStoreStatementSource, - StatementStoreValidStatement, + StatementStoreValidStatement } from "@polkadot/types/interfaces/statement"; import type { WeightToFeeCoefficient } from "@polkadot/types/interfaces/support"; import type { @@ -1151,7 +1151,7 @@ import type { TransactionValidityError, TransactionalError, UnknownTransaction, - WeightPerClass, + WeightPerClass } from "@polkadot/types/interfaces/system"; import type { Bounty, @@ -1164,13 +1164,13 @@ import type { OpenTipFinderTo225, OpenTipTip, OpenTipTo225, - TreasuryProposal, + TreasuryProposal } from "@polkadot/types/interfaces/treasury"; import type { Multiplier } from "@polkadot/types/interfaces/txpayment"; import type { TransactionSource, TransactionValidity, - ValidTransaction, + ValidTransaction } from "@polkadot/types/interfaces/txqueue"; import type { ClassDetails, @@ -1181,7 +1181,7 @@ import type { DestroyWitness, InstanceDetails, InstanceId, - InstanceMetadata, + InstanceMetadata } from "@polkadot/types/interfaces/uniques"; import type { Multisig, Timepoint } from "@polkadot/types/interfaces/utility"; import type { VestingInfo } from "@polkadot/types/interfaces/vesting"; @@ -1319,7 +1319,7 @@ import type { XcmV3, XcmV4, XcmVersion, - XcmpMessageFormat, + XcmpMessageFormat } from "@polkadot/types/interfaces/xcm"; import type { XcmPaymentApiError } from "@polkadot/types/interfaces/xcmPaymentApi"; import type { Error } from "@polkadot/types/interfaces/xcmRuntimeApi"; diff --git a/typescript-api/src/moonbase/interfaces/lookup.ts b/typescript-api/src/moonbase/interfaces/lookup.ts index 2dfab64440..90f6f38905 100644 --- a/typescript-api/src/moonbase/interfaces/lookup.ts +++ b/typescript-api/src/moonbase/interfaces/lookup.ts @@ -4,37 +4,49 @@ /* eslint-disable sort-keys */ export default { - /** Lookup3: frame_system::AccountInfo> */ + /** + * Lookup3: frame_system::AccountInfo> + **/ FrameSystemAccountInfo: { nonce: "u32", consumers: "u32", providers: "u32", sufficients: "u32", - data: "PalletBalancesAccountData", + data: "PalletBalancesAccountData" }, - /** Lookup5: pallet_balances::types::AccountData */ + /** + * Lookup5: pallet_balances::types::AccountData + **/ PalletBalancesAccountData: { free: "u128", reserved: "u128", frozen: "u128", - flags: "u128", + flags: "u128" }, - /** Lookup9: frame_support::dispatch::PerDispatchClass */ + /** + * Lookup9: frame_support::dispatch::PerDispatchClass + **/ FrameSupportDispatchPerDispatchClassWeight: { normal: "SpWeightsWeightV2Weight", operational: "SpWeightsWeightV2Weight", - mandatory: "SpWeightsWeightV2Weight", + mandatory: "SpWeightsWeightV2Weight" }, - /** Lookup10: sp_weights::weight_v2::Weight */ + /** + * Lookup10: sp_weights::weight_v2::Weight + **/ SpWeightsWeightV2Weight: { refTime: "Compact", - proofSize: "Compact", + proofSize: "Compact" }, - /** Lookup16: sp_runtime::generic::digest::Digest */ + /** + * Lookup16: sp_runtime::generic::digest::Digest + **/ SpRuntimeDigest: { - logs: "Vec", + logs: "Vec" }, - /** Lookup18: sp_runtime::generic::digest::DigestItem */ + /** + * Lookup18: sp_runtime::generic::digest::DigestItem + **/ SpRuntimeDigestDigestItem: { _enum: { Other: "Bytes", @@ -45,60 +57,72 @@ export default { Seal: "([u8;4],Bytes)", PreRuntime: "([u8;4],Bytes)", __Unused7: "Null", - RuntimeEnvironmentUpdated: "Null", - }, + RuntimeEnvironmentUpdated: "Null" + } }, - /** Lookup21: frame_system::EventRecord */ + /** + * Lookup21: frame_system::EventRecord + **/ FrameSystemEventRecord: { phase: "FrameSystemPhase", event: "Event", - topics: "Vec", + topics: "Vec" }, - /** Lookup23: frame_system::pallet::Event */ + /** + * Lookup23: frame_system::pallet::Event + **/ FrameSystemEvent: { _enum: { ExtrinsicSuccess: { - dispatchInfo: "FrameSupportDispatchDispatchInfo", + dispatchInfo: "FrameSupportDispatchDispatchInfo" }, ExtrinsicFailed: { dispatchError: "SpRuntimeDispatchError", - dispatchInfo: "FrameSupportDispatchDispatchInfo", + dispatchInfo: "FrameSupportDispatchDispatchInfo" }, CodeUpdated: "Null", NewAccount: { - account: "AccountId20", + account: "AccountId20" }, KilledAccount: { - account: "AccountId20", + account: "AccountId20" }, Remarked: { _alias: { - hash_: "hash", + hash_: "hash" }, sender: "AccountId20", - hash_: "H256", + hash_: "H256" }, UpgradeAuthorized: { codeHash: "H256", - checkVersion: "bool", - }, - }, + checkVersion: "bool" + } + } }, - /** Lookup24: frame_support::dispatch::DispatchInfo */ + /** + * Lookup24: frame_support::dispatch::DispatchInfo + **/ FrameSupportDispatchDispatchInfo: { weight: "SpWeightsWeightV2Weight", class: "FrameSupportDispatchDispatchClass", - paysFee: "FrameSupportDispatchPays", + paysFee: "FrameSupportDispatchPays" }, - /** Lookup25: frame_support::dispatch::DispatchClass */ + /** + * Lookup25: frame_support::dispatch::DispatchClass + **/ FrameSupportDispatchDispatchClass: { - _enum: ["Normal", "Operational", "Mandatory"], + _enum: ["Normal", "Operational", "Mandatory"] }, - /** Lookup26: frame_support::dispatch::Pays */ + /** + * Lookup26: frame_support::dispatch::Pays + **/ FrameSupportDispatchPays: { - _enum: ["Yes", "No"], + _enum: ["Yes", "No"] }, - /** Lookup27: sp_runtime::DispatchError */ + /** + * Lookup27: sp_runtime::DispatchError + **/ SpRuntimeDispatchError: { _enum: { Other: "Null", @@ -114,15 +138,19 @@ export default { Exhausted: "Null", Corruption: "Null", Unavailable: "Null", - RootNotAllowed: "Null", - }, + RootNotAllowed: "Null" + } }, - /** Lookup28: sp_runtime::ModuleError */ + /** + * Lookup28: sp_runtime::ModuleError + **/ SpRuntimeModuleError: { index: "u8", - error: "[u8;4]", + error: "[u8;4]" }, - /** Lookup29: sp_runtime::TokenError */ + /** + * Lookup29: sp_runtime::TokenError + **/ SpRuntimeTokenError: { _enum: [ "FundsUnavailable", @@ -134,211 +162,233 @@ export default { "Unsupported", "CannotCreateHold", "NotExpendable", - "Blocked", - ], + "Blocked" + ] }, - /** Lookup30: sp_arithmetic::ArithmeticError */ + /** + * Lookup30: sp_arithmetic::ArithmeticError + **/ SpArithmeticArithmeticError: { - _enum: ["Underflow", "Overflow", "DivisionByZero"], + _enum: ["Underflow", "Overflow", "DivisionByZero"] }, - /** Lookup31: sp_runtime::TransactionalError */ + /** + * Lookup31: sp_runtime::TransactionalError + **/ SpRuntimeTransactionalError: { - _enum: ["LimitReached", "NoLayer"], + _enum: ["LimitReached", "NoLayer"] }, - /** Lookup32: pallet_utility::pallet::Event */ + /** + * Lookup32: pallet_utility::pallet::Event + **/ PalletUtilityEvent: { _enum: { BatchInterrupted: { index: "u32", - error: "SpRuntimeDispatchError", + error: "SpRuntimeDispatchError" }, BatchCompleted: "Null", BatchCompletedWithErrors: "Null", ItemCompleted: "Null", ItemFailed: { - error: "SpRuntimeDispatchError", + error: "SpRuntimeDispatchError" }, DispatchedAs: { - result: "Result", - }, - }, + result: "Result" + } + } }, - /** Lookup35: pallet_balances::pallet::Event */ + /** + * Lookup35: pallet_balances::pallet::Event + **/ PalletBalancesEvent: { _enum: { Endowed: { account: "AccountId20", - freeBalance: "u128", + freeBalance: "u128" }, DustLost: { account: "AccountId20", - amount: "u128", + amount: "u128" }, Transfer: { from: "AccountId20", to: "AccountId20", - amount: "u128", + amount: "u128" }, BalanceSet: { who: "AccountId20", - free: "u128", + free: "u128" }, Reserved: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Unreserved: { who: "AccountId20", - amount: "u128", + amount: "u128" }, ReserveRepatriated: { from: "AccountId20", to: "AccountId20", amount: "u128", - destinationStatus: "FrameSupportTokensMiscBalanceStatus", + destinationStatus: "FrameSupportTokensMiscBalanceStatus" }, Deposit: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Withdraw: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Slashed: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Minted: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Burned: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Suspended: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Restored: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Upgraded: { - who: "AccountId20", + who: "AccountId20" }, Issued: { - amount: "u128", + amount: "u128" }, Rescinded: { - amount: "u128", + amount: "u128" }, Locked: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Unlocked: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Frozen: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Thawed: { who: "AccountId20", - amount: "u128", + amount: "u128" }, TotalIssuanceForced: { _alias: { - new_: "new", + new_: "new" }, old: "u128", - new_: "u128", - }, - }, + new_: "u128" + } + } }, - /** Lookup36: frame_support::traits::tokens::misc::BalanceStatus */ + /** + * Lookup36: frame_support::traits::tokens::misc::BalanceStatus + **/ FrameSupportTokensMiscBalanceStatus: { - _enum: ["Free", "Reserved"], + _enum: ["Free", "Reserved"] }, - /** Lookup37: pallet_sudo::pallet::Event */ + /** + * Lookup37: pallet_sudo::pallet::Event + **/ PalletSudoEvent: { _enum: { Sudid: { - sudoResult: "Result", + sudoResult: "Result" }, KeyChanged: { _alias: { - new_: "new", + new_: "new" }, old: "Option", - new_: "AccountId20", + new_: "AccountId20" }, KeyRemoved: "Null", SudoAsDone: { - sudoResult: "Result", - }, - }, + sudoResult: "Result" + } + } }, - /** Lookup39: cumulus_pallet_parachain_system::pallet::Event */ + /** + * Lookup39: cumulus_pallet_parachain_system::pallet::Event + **/ CumulusPalletParachainSystemEvent: { _enum: { ValidationFunctionStored: "Null", ValidationFunctionApplied: { - relayChainBlockNum: "u32", + relayChainBlockNum: "u32" }, ValidationFunctionDiscarded: "Null", DownwardMessagesReceived: { - count: "u32", + count: "u32" }, DownwardMessagesProcessed: { weightUsed: "SpWeightsWeightV2Weight", - dmqHead: "H256", + dmqHead: "H256" }, UpwardMessageSent: { - messageHash: "Option<[u8;32]>", - }, - }, + messageHash: "Option<[u8;32]>" + } + } }, - /** Lookup41: pallet_transaction_payment::pallet::Event */ + /** + * Lookup41: pallet_transaction_payment::pallet::Event + **/ PalletTransactionPaymentEvent: { _enum: { TransactionFeePaid: { who: "AccountId20", actualFee: "u128", - tip: "u128", - }, - }, + tip: "u128" + } + } }, - /** Lookup42: pallet_evm::pallet::Event */ + /** + * Lookup42: pallet_evm::pallet::Event + **/ PalletEvmEvent: { _enum: { Log: { - log: "EthereumLog", + log: "EthereumLog" }, Created: { - address: "H160", + address: "H160" }, CreatedFailed: { - address: "H160", + address: "H160" }, Executed: { - address: "H160", + address: "H160" }, ExecutedFailed: { - address: "H160", - }, - }, + address: "H160" + } + } }, - /** Lookup43: ethereum::log::Log */ + /** + * Lookup43: ethereum::log::Log + **/ EthereumLog: { address: "H160", topics: "Vec", - data: "Bytes", + data: "Bytes" }, - /** Lookup46: pallet_ethereum::pallet::Event */ + /** + * Lookup46: pallet_ethereum::pallet::Event + **/ PalletEthereumEvent: { _enum: { Executed: { @@ -346,24 +396,30 @@ export default { to: "H160", transactionHash: "H256", exitReason: "EvmCoreErrorExitReason", - extraData: "Bytes", - }, - }, + extraData: "Bytes" + } + } }, - /** Lookup47: evm_core::error::ExitReason */ + /** + * Lookup47: evm_core::error::ExitReason + **/ EvmCoreErrorExitReason: { _enum: { Succeed: "EvmCoreErrorExitSucceed", Error: "EvmCoreErrorExitError", Revert: "EvmCoreErrorExitRevert", - Fatal: "EvmCoreErrorExitFatal", - }, + Fatal: "EvmCoreErrorExitFatal" + } }, - /** Lookup48: evm_core::error::ExitSucceed */ + /** + * Lookup48: evm_core::error::ExitSucceed + **/ EvmCoreErrorExitSucceed: { - _enum: ["Stopped", "Returned", "Suicided"], + _enum: ["Stopped", "Returned", "Suicided"] }, - /** Lookup49: evm_core::error::ExitError */ + /** + * Lookup49: evm_core::error::ExitError + **/ EvmCoreErrorExitError: { _enum: { StackUnderflow: "Null", @@ -381,159 +437,165 @@ export default { CreateEmpty: "Null", Other: "Text", MaxNonce: "Null", - InvalidCode: "u8", - }, + InvalidCode: "u8" + } }, - /** Lookup53: evm_core::error::ExitRevert */ + /** + * Lookup53: evm_core::error::ExitRevert + **/ EvmCoreErrorExitRevert: { - _enum: ["Reverted"], + _enum: ["Reverted"] }, - /** Lookup54: evm_core::error::ExitFatal */ + /** + * Lookup54: evm_core::error::ExitFatal + **/ EvmCoreErrorExitFatal: { _enum: { NotSupported: "Null", UnhandledInterrupt: "Null", CallErrorAsFatal: "EvmCoreErrorExitError", - Other: "Text", - }, + Other: "Text" + } }, - /** Lookup55: pallet_parachain_staking::pallet::Event */ + /** + * Lookup55: pallet_parachain_staking::pallet::Event + **/ PalletParachainStakingEvent: { _enum: { NewRound: { startingBlock: "u32", round: "u32", selectedCollatorsNumber: "u32", - totalBalance: "u128", + totalBalance: "u128" }, JoinedCollatorCandidates: { account: "AccountId20", amountLocked: "u128", - newTotalAmtLocked: "u128", + newTotalAmtLocked: "u128" }, CollatorChosen: { round: "u32", collatorAccount: "AccountId20", - totalExposedAmount: "u128", + totalExposedAmount: "u128" }, CandidateBondLessRequested: { candidate: "AccountId20", amountToDecrease: "u128", - executeRound: "u32", + executeRound: "u32" }, CandidateBondedMore: { candidate: "AccountId20", amount: "u128", - newTotalBond: "u128", + newTotalBond: "u128" }, CandidateBondedLess: { candidate: "AccountId20", amount: "u128", - newBond: "u128", + newBond: "u128" }, CandidateWentOffline: { - candidate: "AccountId20", + candidate: "AccountId20" }, CandidateBackOnline: { - candidate: "AccountId20", + candidate: "AccountId20" }, CandidateScheduledExit: { exitAllowedRound: "u32", candidate: "AccountId20", - scheduledExit: "u32", + scheduledExit: "u32" }, CancelledCandidateExit: { - candidate: "AccountId20", + candidate: "AccountId20" }, CancelledCandidateBondLess: { candidate: "AccountId20", amount: "u128", - executeRound: "u32", + executeRound: "u32" }, CandidateLeft: { exCandidate: "AccountId20", unlockedAmount: "u128", - newTotalAmtLocked: "u128", + newTotalAmtLocked: "u128" }, DelegationDecreaseScheduled: { delegator: "AccountId20", candidate: "AccountId20", amountToDecrease: "u128", - executeRound: "u32", + executeRound: "u32" }, DelegationIncreased: { delegator: "AccountId20", candidate: "AccountId20", amount: "u128", - inTop: "bool", + inTop: "bool" }, DelegationDecreased: { delegator: "AccountId20", candidate: "AccountId20", amount: "u128", - inTop: "bool", + inTop: "bool" }, DelegatorExitScheduled: { round: "u32", delegator: "AccountId20", - scheduledExit: "u32", + scheduledExit: "u32" }, DelegationRevocationScheduled: { round: "u32", delegator: "AccountId20", candidate: "AccountId20", - scheduledExit: "u32", + scheduledExit: "u32" }, DelegatorLeft: { delegator: "AccountId20", - unstakedAmount: "u128", + unstakedAmount: "u128" }, DelegationRevoked: { delegator: "AccountId20", candidate: "AccountId20", - unstakedAmount: "u128", + unstakedAmount: "u128" }, DelegationKicked: { delegator: "AccountId20", candidate: "AccountId20", - unstakedAmount: "u128", + unstakedAmount: "u128" }, DelegatorExitCancelled: { - delegator: "AccountId20", + delegator: "AccountId20" }, CancelledDelegationRequest: { delegator: "AccountId20", cancelledRequest: "PalletParachainStakingDelegationRequestsCancelledScheduledRequest", - collator: "AccountId20", + collator: "AccountId20" }, Delegation: { delegator: "AccountId20", lockedAmount: "u128", candidate: "AccountId20", delegatorPosition: "PalletParachainStakingDelegatorAdded", - autoCompound: "Percent", + autoCompound: "Percent" }, DelegatorLeftCandidate: { delegator: "AccountId20", candidate: "AccountId20", unstakedAmount: "u128", - totalCandidateStaked: "u128", + totalCandidateStaked: "u128" }, Rewarded: { account: "AccountId20", - rewards: "u128", + rewards: "u128" }, InflationDistributed: { index: "u32", account: "AccountId20", - value: "u128", + value: "u128" }, InflationDistributionConfigUpdated: { _alias: { - new_: "new", + new_: "new" }, old: "PalletParachainStakingInflationDistributionConfig", - new_: "PalletParachainStakingInflationDistributionConfig", + new_: "PalletParachainStakingInflationDistributionConfig" }, InflationSet: { annualMin: "Perbill", @@ -541,30 +603,30 @@ export default { annualMax: "Perbill", roundMin: "Perbill", roundIdeal: "Perbill", - roundMax: "Perbill", + roundMax: "Perbill" }, StakeExpectationsSet: { expectMin: "u128", expectIdeal: "u128", - expectMax: "u128", + expectMax: "u128" }, TotalSelectedSet: { _alias: { - new_: "new", + new_: "new" }, old: "u32", - new_: "u32", + new_: "u32" }, CollatorCommissionSet: { _alias: { - new_: "new", + new_: "new" }, old: "Perbill", - new_: "Perbill", + new_: "Perbill" }, BlocksPerRoundSet: { _alias: { - new_: "new", + new_: "new" }, currentRound: "u32", firstBlock: "u32", @@ -572,126 +634,134 @@ export default { new_: "u32", newPerRoundInflationMin: "Perbill", newPerRoundInflationIdeal: "Perbill", - newPerRoundInflationMax: "Perbill", + newPerRoundInflationMax: "Perbill" }, AutoCompoundSet: { candidate: "AccountId20", delegator: "AccountId20", - value: "Percent", + value: "Percent" }, Compounded: { candidate: "AccountId20", delegator: "AccountId20", - amount: "u128", - }, - }, + amount: "u128" + } + } }, - /** Lookup56: pallet_parachain_staking::delegation_requests::CancelledScheduledRequest */ + /** + * Lookup56: pallet_parachain_staking::delegation_requests::CancelledScheduledRequest + **/ PalletParachainStakingDelegationRequestsCancelledScheduledRequest: { whenExecutable: "u32", - action: "PalletParachainStakingDelegationRequestsDelegationAction", + action: "PalletParachainStakingDelegationRequestsDelegationAction" }, - /** Lookup57: pallet_parachain_staking::delegation_requests::DelegationAction */ + /** + * Lookup57: pallet_parachain_staking::delegation_requests::DelegationAction + **/ PalletParachainStakingDelegationRequestsDelegationAction: { _enum: { Revoke: "u128", - Decrease: "u128", - }, + Decrease: "u128" + } }, - /** Lookup58: pallet_parachain_staking::types::DelegatorAdded */ + /** + * Lookup58: pallet_parachain_staking::types::DelegatorAdded + **/ PalletParachainStakingDelegatorAdded: { _enum: { AddedToTop: { - newTotal: "u128", + newTotal: "u128" }, - AddedToBottom: "Null", - }, + AddedToBottom: "Null" + } }, /** - * Lookup60: - * pallet_parachain_staking::types::InflationDistributionConfig[account::AccountId20](account::AccountId20) - */ + * Lookup60: pallet_parachain_staking::types::InflationDistributionConfig + **/ PalletParachainStakingInflationDistributionConfig: "[Lookup62;2]", /** - * Lookup62: - * pallet_parachain_staking::types::InflationDistributionAccount[account::AccountId20](account::AccountId20) - */ + * Lookup62: pallet_parachain_staking::types::InflationDistributionAccount + **/ PalletParachainStakingInflationDistributionAccount: { account: "AccountId20", - percent: "Percent", + percent: "Percent" }, - /** Lookup64: pallet_scheduler::pallet::Event */ + /** + * Lookup64: pallet_scheduler::pallet::Event + **/ PalletSchedulerEvent: { _enum: { Scheduled: { when: "u32", - index: "u32", + index: "u32" }, Canceled: { when: "u32", - index: "u32", + index: "u32" }, Dispatched: { task: "(u32,u32)", id: "Option<[u8;32]>", - result: "Result", + result: "Result" }, RetrySet: { task: "(u32,u32)", id: "Option<[u8;32]>", period: "u32", - retries: "u8", + retries: "u8" }, RetryCancelled: { task: "(u32,u32)", - id: "Option<[u8;32]>", + id: "Option<[u8;32]>" }, CallUnavailable: { task: "(u32,u32)", - id: "Option<[u8;32]>", + id: "Option<[u8;32]>" }, PeriodicFailed: { task: "(u32,u32)", - id: "Option<[u8;32]>", + id: "Option<[u8;32]>" }, RetryFailed: { task: "(u32,u32)", - id: "Option<[u8;32]>", + id: "Option<[u8;32]>" }, PermanentlyOverweight: { task: "(u32,u32)", - id: "Option<[u8;32]>", - }, - }, + id: "Option<[u8;32]>" + } + } }, - /** Lookup66: pallet_treasury::pallet::Event */ + /** + * Lookup66: pallet_treasury::pallet::Event + **/ PalletTreasuryEvent: { _enum: { Spending: { - budgetRemaining: "u128", + budgetRemaining: "u128" }, Awarded: { proposalIndex: "u32", award: "u128", - account: "AccountId20", + account: "AccountId20" }, Burnt: { - burntFunds: "u128", + burntFunds: "u128" }, Rollover: { - rolloverBalance: "u128", + rolloverBalance: "u128" }, Deposit: { - value: "u128", + value: "u128" }, SpendApproved: { proposalIndex: "u32", amount: "u128", - beneficiary: "AccountId20", + beneficiary: "AccountId20" }, UpdatedInactive: { reactivated: "u128", - deactivated: "u128", + deactivated: "u128" }, AssetSpendApproved: { index: "u32", @@ -699,31 +769,35 @@ export default { amount: "u128", beneficiary: "AccountId20", validFrom: "u32", - expireAt: "u32", + expireAt: "u32" }, AssetSpendVoided: { - index: "u32", + index: "u32" }, Paid: { index: "u32", - paymentId: "Null", + paymentId: "Null" }, PaymentFailed: { index: "u32", - paymentId: "Null", + paymentId: "Null" }, SpendProcessed: { - index: "u32", - }, - }, + index: "u32" + } + } }, - /** Lookup67: pallet_author_slot_filter::pallet::Event */ + /** + * Lookup67: pallet_author_slot_filter::pallet::Event + **/ PalletAuthorSlotFilterEvent: { _enum: { - EligibleUpdated: "u32", - }, + EligibleUpdated: "u32" + } }, - /** Lookup69: pallet_crowdloan_rewards::pallet::Event */ + /** + * Lookup69: pallet_crowdloan_rewards::pallet::Event + **/ PalletCrowdloanRewardsEvent: { _enum: { InitialPaymentMade: "(AccountId20,u128)", @@ -731,71 +805,81 @@ export default { RewardsPaid: "(AccountId20,u128)", RewardAddressUpdated: "(AccountId20,AccountId20)", InitializedAlreadyInitializedAccount: "([u8;32],Option,u128)", - InitializedAccountWithNotEnoughContribution: "([u8;32],Option,u128)", - }, + InitializedAccountWithNotEnoughContribution: "([u8;32],Option,u128)" + } }, - /** Lookup70: pallet_author_mapping::pallet::Event */ + /** + * Lookup70: pallet_author_mapping::pallet::Event + **/ PalletAuthorMappingEvent: { _enum: { KeysRegistered: { _alias: { - keys_: "keys", + keys_: "keys" }, nimbusId: "NimbusPrimitivesNimbusCryptoPublic", accountId: "AccountId20", - keys_: "SessionKeysPrimitivesVrfVrfCryptoPublic", + keys_: "SessionKeysPrimitivesVrfVrfCryptoPublic" }, KeysRemoved: { _alias: { - keys_: "keys", + keys_: "keys" }, nimbusId: "NimbusPrimitivesNimbusCryptoPublic", accountId: "AccountId20", - keys_: "SessionKeysPrimitivesVrfVrfCryptoPublic", + keys_: "SessionKeysPrimitivesVrfVrfCryptoPublic" }, KeysRotated: { newNimbusId: "NimbusPrimitivesNimbusCryptoPublic", accountId: "AccountId20", - newKeys: "SessionKeysPrimitivesVrfVrfCryptoPublic", - }, - }, + newKeys: "SessionKeysPrimitivesVrfVrfCryptoPublic" + } + } }, - /** Lookup71: nimbus_primitives::nimbus_crypto::Public */ + /** + * Lookup71: nimbus_primitives::nimbus_crypto::Public + **/ NimbusPrimitivesNimbusCryptoPublic: "[u8;32]", - /** Lookup72: session_keys_primitives::vrf::vrf_crypto::Public */ + /** + * Lookup72: session_keys_primitives::vrf::vrf_crypto::Public + **/ SessionKeysPrimitivesVrfVrfCryptoPublic: "[u8;32]", - /** Lookup73: pallet_proxy::pallet::Event */ + /** + * Lookup73: pallet_proxy::pallet::Event + **/ PalletProxyEvent: { _enum: { ProxyExecuted: { - result: "Result", + result: "Result" }, PureCreated: { pure: "AccountId20", who: "AccountId20", proxyType: "MoonbaseRuntimeProxyType", - disambiguationIndex: "u16", + disambiguationIndex: "u16" }, Announced: { real: "AccountId20", proxy: "AccountId20", - callHash: "H256", + callHash: "H256" }, ProxyAdded: { delegator: "AccountId20", delegatee: "AccountId20", proxyType: "MoonbaseRuntimeProxyType", - delay: "u32", + delay: "u32" }, ProxyRemoved: { delegator: "AccountId20", delegatee: "AccountId20", proxyType: "MoonbaseRuntimeProxyType", - delay: "u32", - }, - }, + delay: "u32" + } + } }, - /** Lookup74: moonbase_runtime::ProxyType */ + /** + * Lookup74: moonbase_runtime::ProxyType + **/ MoonbaseRuntimeProxyType: { _enum: [ "Any", @@ -805,126 +889,138 @@ export default { "CancelProxy", "Balances", "AuthorMapping", - "IdentityJudgement", - ], + "IdentityJudgement" + ] }, - /** Lookup76: pallet_maintenance_mode::pallet::Event */ + /** + * Lookup76: pallet_maintenance_mode::pallet::Event + **/ PalletMaintenanceModeEvent: { _enum: { EnteredMaintenanceMode: "Null", NormalOperationResumed: "Null", FailedToSuspendIdleXcmExecution: { - error: "SpRuntimeDispatchError", + error: "SpRuntimeDispatchError" }, FailedToResumeIdleXcmExecution: { - error: "SpRuntimeDispatchError", - }, - }, + error: "SpRuntimeDispatchError" + } + } }, - /** Lookup77: pallet_identity::pallet::Event */ + /** + * Lookup77: pallet_identity::pallet::Event + **/ PalletIdentityEvent: { _enum: { IdentitySet: { - who: "AccountId20", + who: "AccountId20" }, IdentityCleared: { who: "AccountId20", - deposit: "u128", + deposit: "u128" }, IdentityKilled: { who: "AccountId20", - deposit: "u128", + deposit: "u128" }, JudgementRequested: { who: "AccountId20", - registrarIndex: "u32", + registrarIndex: "u32" }, JudgementUnrequested: { who: "AccountId20", - registrarIndex: "u32", + registrarIndex: "u32" }, JudgementGiven: { target: "AccountId20", - registrarIndex: "u32", + registrarIndex: "u32" }, RegistrarAdded: { - registrarIndex: "u32", + registrarIndex: "u32" }, SubIdentityAdded: { sub: "AccountId20", main: "AccountId20", - deposit: "u128", + deposit: "u128" }, SubIdentityRemoved: { sub: "AccountId20", main: "AccountId20", - deposit: "u128", + deposit: "u128" }, SubIdentityRevoked: { sub: "AccountId20", main: "AccountId20", - deposit: "u128", + deposit: "u128" }, AuthorityAdded: { - authority: "AccountId20", + authority: "AccountId20" }, AuthorityRemoved: { - authority: "AccountId20", + authority: "AccountId20" }, UsernameSet: { who: "AccountId20", - username: "Bytes", + username: "Bytes" }, UsernameQueued: { who: "AccountId20", username: "Bytes", - expiration: "u32", + expiration: "u32" }, PreapprovalExpired: { - whose: "AccountId20", + whose: "AccountId20" }, PrimaryUsernameSet: { who: "AccountId20", - username: "Bytes", + username: "Bytes" }, DanglingUsernameRemoved: { who: "AccountId20", - username: "Bytes", - }, - }, + username: "Bytes" + } + } }, - /** Lookup79: cumulus_pallet_xcmp_queue::pallet::Event */ + /** + * Lookup79: cumulus_pallet_xcmp_queue::pallet::Event + **/ CumulusPalletXcmpQueueEvent: { _enum: { XcmpMessageSent: { - messageHash: "[u8;32]", - }, - }, + messageHash: "[u8;32]" + } + } }, - /** Lookup80: cumulus_pallet_xcm::pallet::Event */ + /** + * Lookup80: cumulus_pallet_xcm::pallet::Event + **/ CumulusPalletXcmEvent: { _enum: { InvalidFormat: "[u8;32]", UnsupportedVersion: "[u8;32]", - ExecutedDownward: "([u8;32],StagingXcmV4TraitsOutcome)", - }, + ExecutedDownward: "([u8;32],StagingXcmV4TraitsOutcome)" + } }, - /** Lookup81: staging_xcm::v4::traits::Outcome */ + /** + * Lookup81: staging_xcm::v4::traits::Outcome + **/ StagingXcmV4TraitsOutcome: { _enum: { Complete: { - used: "SpWeightsWeightV2Weight", + used: "SpWeightsWeightV2Weight" }, Incomplete: { used: "SpWeightsWeightV2Weight", - error: "XcmV3TraitsError", + error: "XcmV3TraitsError" }, Error: { - error: "XcmV3TraitsError", - }, - }, + error: "XcmV3TraitsError" + } + } }, - /** Lookup82: xcm::v3::traits::Error */ + /** + * Lookup82: xcm::v3::traits::Error + **/ XcmV3TraitsError: { _enum: { Overflow: "Null", @@ -966,138 +1062,144 @@ export default { WeightLimitReached: "SpWeightsWeightV2Weight", Barrier: "Null", WeightNotComputable: "Null", - ExceedsStackLimit: "Null", - }, + ExceedsStackLimit: "Null" + } }, - /** Lookup83: pallet_xcm::pallet::Event */ + /** + * Lookup83: pallet_xcm::pallet::Event + **/ PalletXcmEvent: { _enum: { Attempted: { - outcome: "StagingXcmV4TraitsOutcome", + outcome: "StagingXcmV4TraitsOutcome" }, Sent: { origin: "StagingXcmV4Location", destination: "StagingXcmV4Location", message: "StagingXcmV4Xcm", - messageId: "[u8;32]", + messageId: "[u8;32]" }, UnexpectedResponse: { origin: "StagingXcmV4Location", - queryId: "u64", + queryId: "u64" }, ResponseReady: { queryId: "u64", - response: "StagingXcmV4Response", + response: "StagingXcmV4Response" }, Notified: { queryId: "u64", palletIndex: "u8", - callIndex: "u8", + callIndex: "u8" }, NotifyOverweight: { queryId: "u64", palletIndex: "u8", callIndex: "u8", actualWeight: "SpWeightsWeightV2Weight", - maxBudgetedWeight: "SpWeightsWeightV2Weight", + maxBudgetedWeight: "SpWeightsWeightV2Weight" }, NotifyDispatchError: { queryId: "u64", palletIndex: "u8", - callIndex: "u8", + callIndex: "u8" }, NotifyDecodeFailed: { queryId: "u64", palletIndex: "u8", - callIndex: "u8", + callIndex: "u8" }, InvalidResponder: { origin: "StagingXcmV4Location", queryId: "u64", - expectedLocation: "Option", + expectedLocation: "Option" }, InvalidResponderVersion: { origin: "StagingXcmV4Location", - queryId: "u64", + queryId: "u64" }, ResponseTaken: { - queryId: "u64", + queryId: "u64" }, AssetsTrapped: { _alias: { - hash_: "hash", + hash_: "hash" }, hash_: "H256", origin: "StagingXcmV4Location", - assets: "XcmVersionedAssets", + assets: "XcmVersionedAssets" }, VersionChangeNotified: { destination: "StagingXcmV4Location", result: "u32", cost: "StagingXcmV4AssetAssets", - messageId: "[u8;32]", + messageId: "[u8;32]" }, SupportedVersionChanged: { location: "StagingXcmV4Location", - version: "u32", + version: "u32" }, NotifyTargetSendFail: { location: "StagingXcmV4Location", queryId: "u64", - error: "XcmV3TraitsError", + error: "XcmV3TraitsError" }, NotifyTargetMigrationFail: { location: "XcmVersionedLocation", - queryId: "u64", + queryId: "u64" }, InvalidQuerierVersion: { origin: "StagingXcmV4Location", - queryId: "u64", + queryId: "u64" }, InvalidQuerier: { origin: "StagingXcmV4Location", queryId: "u64", expectedQuerier: "StagingXcmV4Location", - maybeActualQuerier: "Option", + maybeActualQuerier: "Option" }, VersionNotifyStarted: { destination: "StagingXcmV4Location", cost: "StagingXcmV4AssetAssets", - messageId: "[u8;32]", + messageId: "[u8;32]" }, VersionNotifyRequested: { destination: "StagingXcmV4Location", cost: "StagingXcmV4AssetAssets", - messageId: "[u8;32]", + messageId: "[u8;32]" }, VersionNotifyUnrequested: { destination: "StagingXcmV4Location", cost: "StagingXcmV4AssetAssets", - messageId: "[u8;32]", + messageId: "[u8;32]" }, FeesPaid: { paying: "StagingXcmV4Location", - fees: "StagingXcmV4AssetAssets", + fees: "StagingXcmV4AssetAssets" }, AssetsClaimed: { _alias: { - hash_: "hash", + hash_: "hash" }, hash_: "H256", origin: "StagingXcmV4Location", - assets: "XcmVersionedAssets", + assets: "XcmVersionedAssets" }, VersionMigrationFinished: { - version: "u32", - }, - }, + version: "u32" + } + } }, - /** Lookup84: staging_xcm::v4::location::Location */ + /** + * Lookup84: staging_xcm::v4::location::Location + **/ StagingXcmV4Location: { parents: "u8", - interior: "StagingXcmV4Junctions", + interior: "StagingXcmV4Junctions" }, - /** Lookup85: staging_xcm::v4::junctions::Junctions */ + /** + * Lookup85: staging_xcm::v4::junctions::Junctions + **/ StagingXcmV4Junctions: { _enum: { Here: "Null", @@ -1108,46 +1210,50 @@ export default { X5: "[Lookup87;5]", X6: "[Lookup87;6]", X7: "[Lookup87;7]", - X8: "[Lookup87;8]", - }, + X8: "[Lookup87;8]" + } }, - /** Lookup87: staging_xcm::v4::junction::Junction */ + /** + * Lookup87: staging_xcm::v4::junction::Junction + **/ StagingXcmV4Junction: { _enum: { Parachain: "Compact", AccountId32: { network: "Option", - id: "[u8;32]", + id: "[u8;32]" }, AccountIndex64: { network: "Option", - index: "Compact", + index: "Compact" }, AccountKey20: { network: "Option", - key: "[u8;20]", + key: "[u8;20]" }, PalletInstance: "u8", GeneralIndex: "Compact", GeneralKey: { length: "u8", - data: "[u8;32]", + data: "[u8;32]" }, OnlyChild: "Null", Plurality: { id: "XcmV3JunctionBodyId", - part: "XcmV3JunctionBodyPart", + part: "XcmV3JunctionBodyPart" }, - GlobalConsensus: "StagingXcmV4JunctionNetworkId", - }, + GlobalConsensus: "StagingXcmV4JunctionNetworkId" + } }, - /** Lookup90: staging_xcm::v4::junction::NetworkId */ + /** + * Lookup90: staging_xcm::v4::junction::NetworkId + **/ StagingXcmV4JunctionNetworkId: { _enum: { ByGenesis: "[u8;32]", ByFork: { blockNumber: "u64", - blockHash: "[u8;32]", + blockHash: "[u8;32]" }, Polkadot: "Null", Kusama: "Null", @@ -1155,14 +1261,16 @@ export default { Rococo: "Null", Wococo: "Null", Ethereum: { - chainId: "Compact", + chainId: "Compact" }, BitcoinCore: "Null", BitcoinCash: "Null", - PolkadotBulletin: "Null", - }, + PolkadotBulletin: "Null" + } }, - /** Lookup92: xcm::v3::junction::BodyId */ + /** + * Lookup92: xcm::v3::junction::BodyId + **/ XcmV3JunctionBodyId: { _enum: { Unit: "Null", @@ -1174,33 +1282,39 @@ export default { Judicial: "Null", Defense: "Null", Administration: "Null", - Treasury: "Null", - }, + Treasury: "Null" + } }, - /** Lookup93: xcm::v3::junction::BodyPart */ + /** + * Lookup93: xcm::v3::junction::BodyPart + **/ XcmV3JunctionBodyPart: { _enum: { Voice: "Null", Members: { - count: "Compact", + count: "Compact" }, Fraction: { nom: "Compact", - denom: "Compact", + denom: "Compact" }, AtLeastProportion: { nom: "Compact", - denom: "Compact", + denom: "Compact" }, MoreThanProportion: { nom: "Compact", - denom: "Compact", - }, - }, + denom: "Compact" + } + } }, - /** Lookup101: staging_xcm::v4::Xcm */ + /** + * Lookup101: staging_xcm::v4::Xcm + **/ StagingXcmV4Xcm: "Vec", - /** Lookup103: staging_xcm::v4::Instruction */ + /** + * Lookup103: staging_xcm::v4::Instruction + **/ StagingXcmV4Instruction: { _enum: { WithdrawAsset: "StagingXcmV4AssetAssets", @@ -1210,69 +1324,69 @@ export default { queryId: "Compact", response: "StagingXcmV4Response", maxWeight: "SpWeightsWeightV2Weight", - querier: "Option", + querier: "Option" }, TransferAsset: { assets: "StagingXcmV4AssetAssets", - beneficiary: "StagingXcmV4Location", + beneficiary: "StagingXcmV4Location" }, TransferReserveAsset: { assets: "StagingXcmV4AssetAssets", dest: "StagingXcmV4Location", - xcm: "StagingXcmV4Xcm", + xcm: "StagingXcmV4Xcm" }, Transact: { originKind: "XcmV3OriginKind", requireWeightAtMost: "SpWeightsWeightV2Weight", - call: "XcmDoubleEncoded", + call: "XcmDoubleEncoded" }, HrmpNewChannelOpenRequest: { sender: "Compact", maxMessageSize: "Compact", - maxCapacity: "Compact", + maxCapacity: "Compact" }, HrmpChannelAccepted: { - recipient: "Compact", + recipient: "Compact" }, HrmpChannelClosing: { initiator: "Compact", sender: "Compact", - recipient: "Compact", + recipient: "Compact" }, ClearOrigin: "Null", DescendOrigin: "StagingXcmV4Junctions", ReportError: "StagingXcmV4QueryResponseInfo", DepositAsset: { assets: "StagingXcmV4AssetAssetFilter", - beneficiary: "StagingXcmV4Location", + beneficiary: "StagingXcmV4Location" }, DepositReserveAsset: { assets: "StagingXcmV4AssetAssetFilter", dest: "StagingXcmV4Location", - xcm: "StagingXcmV4Xcm", + xcm: "StagingXcmV4Xcm" }, ExchangeAsset: { give: "StagingXcmV4AssetAssetFilter", want: "StagingXcmV4AssetAssets", - maximal: "bool", + maximal: "bool" }, InitiateReserveWithdraw: { assets: "StagingXcmV4AssetAssetFilter", reserve: "StagingXcmV4Location", - xcm: "StagingXcmV4Xcm", + xcm: "StagingXcmV4Xcm" }, InitiateTeleport: { assets: "StagingXcmV4AssetAssetFilter", dest: "StagingXcmV4Location", - xcm: "StagingXcmV4Xcm", + xcm: "StagingXcmV4Xcm" }, ReportHolding: { responseInfo: "StagingXcmV4QueryResponseInfo", - assets: "StagingXcmV4AssetAssetFilter", + assets: "StagingXcmV4AssetAssetFilter" }, BuyExecution: { fees: "StagingXcmV4Asset", - weightLimit: "XcmV3WeightLimit", + weightLimit: "XcmV3WeightLimit" }, RefundSurplus: "Null", SetErrorHandler: "StagingXcmV4Xcm", @@ -1280,12 +1394,12 @@ export default { ClearError: "Null", ClaimAsset: { assets: "StagingXcmV4AssetAssets", - ticket: "StagingXcmV4Location", + ticket: "StagingXcmV4Location" }, Trap: "Compact", SubscribeVersion: { queryId: "Compact", - maxResponseWeight: "SpWeightsWeightV2Weight", + maxResponseWeight: "SpWeightsWeightV2Weight" }, UnsubscribeVersion: "Null", BurnAsset: "StagingXcmV4AssetAssets", @@ -1295,14 +1409,14 @@ export default { ExpectTransactStatus: "XcmV3MaybeErrorCode", QueryPallet: { moduleName: "Bytes", - responseInfo: "StagingXcmV4QueryResponseInfo", + responseInfo: "StagingXcmV4QueryResponseInfo" }, ExpectPallet: { index: "Compact", name: "Bytes", moduleName: "Bytes", crateMajor: "Compact", - minCrateMinor: "Compact", + minCrateMinor: "Compact" }, ReportTransactStatus: "StagingXcmV4QueryResponseInfo", ClearTransactStatus: "Null", @@ -1310,53 +1424,63 @@ export default { ExportMessage: { network: "StagingXcmV4JunctionNetworkId", destination: "StagingXcmV4Junctions", - xcm: "StagingXcmV4Xcm", + xcm: "StagingXcmV4Xcm" }, LockAsset: { asset: "StagingXcmV4Asset", - unlocker: "StagingXcmV4Location", + unlocker: "StagingXcmV4Location" }, UnlockAsset: { asset: "StagingXcmV4Asset", - target: "StagingXcmV4Location", + target: "StagingXcmV4Location" }, NoteUnlockable: { asset: "StagingXcmV4Asset", - owner: "StagingXcmV4Location", + owner: "StagingXcmV4Location" }, RequestUnlock: { asset: "StagingXcmV4Asset", - locker: "StagingXcmV4Location", + locker: "StagingXcmV4Location" }, SetFeesMode: { - jitWithdraw: "bool", + jitWithdraw: "bool" }, SetTopic: "[u8;32]", ClearTopic: "Null", AliasOrigin: "StagingXcmV4Location", UnpaidExecution: { weightLimit: "XcmV3WeightLimit", - checkOrigin: "Option", - }, - }, + checkOrigin: "Option" + } + } }, - /** Lookup104: staging_xcm::v4::asset::Assets */ + /** + * Lookup104: staging_xcm::v4::asset::Assets + **/ StagingXcmV4AssetAssets: "Vec", - /** Lookup106: staging_xcm::v4::asset::Asset */ + /** + * Lookup106: staging_xcm::v4::asset::Asset + **/ StagingXcmV4Asset: { id: "StagingXcmV4AssetAssetId", - fun: "StagingXcmV4AssetFungibility", + fun: "StagingXcmV4AssetFungibility" }, - /** Lookup107: staging_xcm::v4::asset::AssetId */ + /** + * Lookup107: staging_xcm::v4::asset::AssetId + **/ StagingXcmV4AssetAssetId: "StagingXcmV4Location", - /** Lookup108: staging_xcm::v4::asset::Fungibility */ + /** + * Lookup108: staging_xcm::v4::asset::Fungibility + **/ StagingXcmV4AssetFungibility: { _enum: { Fungible: "Compact", - NonFungible: "StagingXcmV4AssetAssetInstance", - }, + NonFungible: "StagingXcmV4AssetAssetInstance" + } }, - /** Lookup109: staging_xcm::v4::asset::AssetInstance */ + /** + * Lookup109: staging_xcm::v4::asset::AssetInstance + **/ StagingXcmV4AssetAssetInstance: { _enum: { Undefined: "Null", @@ -1364,10 +1488,12 @@ export default { Array4: "[u8;4]", Array8: "[u8;8]", Array16: "[u8;16]", - Array32: "[u8;32]", - }, + Array32: "[u8;32]" + } }, - /** Lookup112: staging_xcm::v4::Response */ + /** + * Lookup112: staging_xcm::v4::Response + **/ StagingXcmV4Response: { _enum: { Null: "Null", @@ -1375,104 +1501,134 @@ export default { ExecutionResult: "Option<(u32,XcmV3TraitsError)>", Version: "u32", PalletsInfo: "Vec", - DispatchResult: "XcmV3MaybeErrorCode", - }, + DispatchResult: "XcmV3MaybeErrorCode" + } }, - /** Lookup116: staging_xcm::v4::PalletInfo */ + /** + * Lookup116: staging_xcm::v4::PalletInfo + **/ StagingXcmV4PalletInfo: { index: "Compact", name: "Bytes", moduleName: "Bytes", major: "Compact", minor: "Compact", - patch: "Compact", + patch: "Compact" }, - /** Lookup119: xcm::v3::MaybeErrorCode */ + /** + * Lookup119: xcm::v3::MaybeErrorCode + **/ XcmV3MaybeErrorCode: { _enum: { Success: "Null", Error: "Bytes", - TruncatedError: "Bytes", - }, + TruncatedError: "Bytes" + } }, - /** Lookup122: xcm::v3::OriginKind */ + /** + * Lookup122: xcm::v3::OriginKind + **/ XcmV3OriginKind: { - _enum: ["Native", "SovereignAccount", "Superuser", "Xcm"], + _enum: ["Native", "SovereignAccount", "Superuser", "Xcm"] }, - /** Lookup123: xcm::double_encoded::DoubleEncoded */ + /** + * Lookup123: xcm::double_encoded::DoubleEncoded + **/ XcmDoubleEncoded: { - encoded: "Bytes", + encoded: "Bytes" }, - /** Lookup124: staging_xcm::v4::QueryResponseInfo */ + /** + * Lookup124: staging_xcm::v4::QueryResponseInfo + **/ StagingXcmV4QueryResponseInfo: { destination: "StagingXcmV4Location", queryId: "Compact", - maxWeight: "SpWeightsWeightV2Weight", + maxWeight: "SpWeightsWeightV2Weight" }, - /** Lookup125: staging_xcm::v4::asset::AssetFilter */ + /** + * Lookup125: staging_xcm::v4::asset::AssetFilter + **/ StagingXcmV4AssetAssetFilter: { _enum: { Definite: "StagingXcmV4AssetAssets", - Wild: "StagingXcmV4AssetWildAsset", - }, + Wild: "StagingXcmV4AssetWildAsset" + } }, - /** Lookup126: staging_xcm::v4::asset::WildAsset */ + /** + * Lookup126: staging_xcm::v4::asset::WildAsset + **/ StagingXcmV4AssetWildAsset: { _enum: { All: "Null", AllOf: { id: "StagingXcmV4AssetAssetId", - fun: "StagingXcmV4AssetWildFungibility", + fun: "StagingXcmV4AssetWildFungibility" }, AllCounted: "Compact", AllOfCounted: { id: "StagingXcmV4AssetAssetId", fun: "StagingXcmV4AssetWildFungibility", - count: "Compact", - }, - }, + count: "Compact" + } + } }, - /** Lookup127: staging_xcm::v4::asset::WildFungibility */ + /** + * Lookup127: staging_xcm::v4::asset::WildFungibility + **/ StagingXcmV4AssetWildFungibility: { - _enum: ["Fungible", "NonFungible"], + _enum: ["Fungible", "NonFungible"] }, - /** Lookup128: xcm::v3::WeightLimit */ + /** + * Lookup128: xcm::v3::WeightLimit + **/ XcmV3WeightLimit: { _enum: { Unlimited: "Null", - Limited: "SpWeightsWeightV2Weight", - }, + Limited: "SpWeightsWeightV2Weight" + } }, - /** Lookup129: xcm::VersionedAssets */ + /** + * Lookup129: xcm::VersionedAssets + **/ XcmVersionedAssets: { _enum: { __Unused0: "Null", V2: "XcmV2MultiassetMultiAssets", __Unused2: "Null", V3: "XcmV3MultiassetMultiAssets", - V4: "StagingXcmV4AssetAssets", - }, + V4: "StagingXcmV4AssetAssets" + } }, - /** Lookup130: xcm::v2::multiasset::MultiAssets */ + /** + * Lookup130: xcm::v2::multiasset::MultiAssets + **/ XcmV2MultiassetMultiAssets: "Vec", - /** Lookup132: xcm::v2::multiasset::MultiAsset */ + /** + * Lookup132: xcm::v2::multiasset::MultiAsset + **/ XcmV2MultiAsset: { id: "XcmV2MultiassetAssetId", - fun: "XcmV2MultiassetFungibility", + fun: "XcmV2MultiassetFungibility" }, - /** Lookup133: xcm::v2::multiasset::AssetId */ + /** + * Lookup133: xcm::v2::multiasset::AssetId + **/ XcmV2MultiassetAssetId: { _enum: { Concrete: "XcmV2MultiLocation", - Abstract: "Bytes", - }, + Abstract: "Bytes" + } }, - /** Lookup134: xcm::v2::multilocation::MultiLocation */ + /** + * Lookup134: xcm::v2::multilocation::MultiLocation + **/ XcmV2MultiLocation: { parents: "u8", - interior: "XcmV2MultilocationJunctions", + interior: "XcmV2MultilocationJunctions" }, - /** Lookup135: xcm::v2::multilocation::Junctions */ + /** + * Lookup135: xcm::v2::multilocation::Junctions + **/ XcmV2MultilocationJunctions: { _enum: { Here: "Null", @@ -1483,24 +1639,26 @@ export default { X5: "(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)", X6: "(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)", X7: "(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)", - X8: "(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)", - }, + X8: "(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)" + } }, - /** Lookup136: xcm::v2::junction::Junction */ + /** + * Lookup136: xcm::v2::junction::Junction + **/ XcmV2Junction: { _enum: { Parachain: "Compact", AccountId32: { network: "XcmV2NetworkId", - id: "[u8;32]", + id: "[u8;32]" }, AccountIndex64: { network: "XcmV2NetworkId", - index: "Compact", + index: "Compact" }, AccountKey20: { network: "XcmV2NetworkId", - key: "[u8;20]", + key: "[u8;20]" }, PalletInstance: "u8", GeneralIndex: "Compact", @@ -1508,20 +1666,24 @@ export default { OnlyChild: "Null", Plurality: { id: "XcmV2BodyId", - part: "XcmV2BodyPart", - }, - }, + part: "XcmV2BodyPart" + } + } }, - /** Lookup137: xcm::v2::NetworkId */ + /** + * Lookup137: xcm::v2::NetworkId + **/ XcmV2NetworkId: { _enum: { Any: "Null", Named: "Bytes", Polkadot: "Null", - Kusama: "Null", - }, + Kusama: "Null" + } }, - /** Lookup139: xcm::v2::BodyId */ + /** + * Lookup139: xcm::v2::BodyId + **/ XcmV2BodyId: { _enum: { Unit: "Null", @@ -1533,38 +1695,44 @@ export default { Judicial: "Null", Defense: "Null", Administration: "Null", - Treasury: "Null", - }, + Treasury: "Null" + } }, - /** Lookup140: xcm::v2::BodyPart */ + /** + * Lookup140: xcm::v2::BodyPart + **/ XcmV2BodyPart: { _enum: { Voice: "Null", Members: { - count: "Compact", + count: "Compact" }, Fraction: { nom: "Compact", - denom: "Compact", + denom: "Compact" }, AtLeastProportion: { nom: "Compact", - denom: "Compact", + denom: "Compact" }, MoreThanProportion: { nom: "Compact", - denom: "Compact", - }, - }, + denom: "Compact" + } + } }, - /** Lookup141: xcm::v2::multiasset::Fungibility */ + /** + * Lookup141: xcm::v2::multiasset::Fungibility + **/ XcmV2MultiassetFungibility: { _enum: { Fungible: "Compact", - NonFungible: "XcmV2MultiassetAssetInstance", - }, + NonFungible: "XcmV2MultiassetAssetInstance" + } }, - /** Lookup142: xcm::v2::multiasset::AssetInstance */ + /** + * Lookup142: xcm::v2::multiasset::AssetInstance + **/ XcmV2MultiassetAssetInstance: { _enum: { Undefined: "Null", @@ -1573,29 +1741,39 @@ export default { Array8: "[u8;8]", Array16: "[u8;16]", Array32: "[u8;32]", - Blob: "Bytes", - }, + Blob: "Bytes" + } }, - /** Lookup143: xcm::v3::multiasset::MultiAssets */ + /** + * Lookup143: xcm::v3::multiasset::MultiAssets + **/ XcmV3MultiassetMultiAssets: "Vec", - /** Lookup145: xcm::v3::multiasset::MultiAsset */ + /** + * Lookup145: xcm::v3::multiasset::MultiAsset + **/ XcmV3MultiAsset: { id: "XcmV3MultiassetAssetId", - fun: "XcmV3MultiassetFungibility", + fun: "XcmV3MultiassetFungibility" }, - /** Lookup146: xcm::v3::multiasset::AssetId */ + /** + * Lookup146: xcm::v3::multiasset::AssetId + **/ XcmV3MultiassetAssetId: { _enum: { Concrete: "StagingXcmV3MultiLocation", - Abstract: "[u8;32]", - }, + Abstract: "[u8;32]" + } }, - /** Lookup147: staging_xcm::v3::multilocation::MultiLocation */ + /** + * Lookup147: staging_xcm::v3::multilocation::MultiLocation + **/ StagingXcmV3MultiLocation: { parents: "u8", - interior: "XcmV3Junctions", + interior: "XcmV3Junctions" }, - /** Lookup148: xcm::v3::junctions::Junctions */ + /** + * Lookup148: xcm::v3::junctions::Junctions + **/ XcmV3Junctions: { _enum: { Here: "Null", @@ -1606,46 +1784,50 @@ export default { X5: "(XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction)", X6: "(XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction)", X7: "(XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction)", - X8: "(XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction)", - }, + X8: "(XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction)" + } }, - /** Lookup149: xcm::v3::junction::Junction */ + /** + * Lookup149: xcm::v3::junction::Junction + **/ XcmV3Junction: { _enum: { Parachain: "Compact", AccountId32: { network: "Option", - id: "[u8;32]", + id: "[u8;32]" }, AccountIndex64: { network: "Option", - index: "Compact", + index: "Compact" }, AccountKey20: { network: "Option", - key: "[u8;20]", + key: "[u8;20]" }, PalletInstance: "u8", GeneralIndex: "Compact", GeneralKey: { length: "u8", - data: "[u8;32]", + data: "[u8;32]" }, OnlyChild: "Null", Plurality: { id: "XcmV3JunctionBodyId", - part: "XcmV3JunctionBodyPart", + part: "XcmV3JunctionBodyPart" }, - GlobalConsensus: "XcmV3JunctionNetworkId", - }, + GlobalConsensus: "XcmV3JunctionNetworkId" + } }, - /** Lookup151: xcm::v3::junction::NetworkId */ + /** + * Lookup151: xcm::v3::junction::NetworkId + **/ XcmV3JunctionNetworkId: { _enum: { ByGenesis: "[u8;32]", ByFork: { blockNumber: "u64", - blockHash: "[u8;32]", + blockHash: "[u8;32]" }, Polkadot: "Null", Kusama: "Null", @@ -1653,21 +1835,25 @@ export default { Rococo: "Null", Wococo: "Null", Ethereum: { - chainId: "Compact", + chainId: "Compact" }, BitcoinCore: "Null", BitcoinCash: "Null", - PolkadotBulletin: "Null", - }, + PolkadotBulletin: "Null" + } }, - /** Lookup152: xcm::v3::multiasset::Fungibility */ + /** + * Lookup152: xcm::v3::multiasset::Fungibility + **/ XcmV3MultiassetFungibility: { _enum: { Fungible: "Compact", - NonFungible: "XcmV3MultiassetAssetInstance", - }, + NonFungible: "XcmV3MultiassetAssetInstance" + } }, - /** Lookup153: xcm::v3::multiasset::AssetInstance */ + /** + * Lookup153: xcm::v3::multiasset::AssetInstance + **/ XcmV3MultiassetAssetInstance: { _enum: { Undefined: "Null", @@ -1675,325 +1861,353 @@ export default { Array4: "[u8;4]", Array8: "[u8;8]", Array16: "[u8;16]", - Array32: "[u8;32]", - }, + Array32: "[u8;32]" + } }, - /** Lookup154: xcm::VersionedLocation */ + /** + * Lookup154: xcm::VersionedLocation + **/ XcmVersionedLocation: { _enum: { __Unused0: "Null", V2: "XcmV2MultiLocation", __Unused2: "Null", V3: "StagingXcmV3MultiLocation", - V4: "StagingXcmV4Location", - }, + V4: "StagingXcmV4Location" + } }, - /** Lookup155: pallet_assets::pallet::Event */ + /** + * Lookup155: pallet_assets::pallet::Event + **/ PalletAssetsEvent: { _enum: { Created: { assetId: "u128", creator: "AccountId20", - owner: "AccountId20", + owner: "AccountId20" }, Issued: { assetId: "u128", owner: "AccountId20", - amount: "u128", + amount: "u128" }, Transferred: { assetId: "u128", from: "AccountId20", to: "AccountId20", - amount: "u128", + amount: "u128" }, Burned: { assetId: "u128", owner: "AccountId20", - balance: "u128", + balance: "u128" }, TeamChanged: { assetId: "u128", issuer: "AccountId20", admin: "AccountId20", - freezer: "AccountId20", + freezer: "AccountId20" }, OwnerChanged: { assetId: "u128", - owner: "AccountId20", + owner: "AccountId20" }, Frozen: { assetId: "u128", - who: "AccountId20", + who: "AccountId20" }, Thawed: { assetId: "u128", - who: "AccountId20", + who: "AccountId20" }, AssetFrozen: { - assetId: "u128", + assetId: "u128" }, AssetThawed: { - assetId: "u128", + assetId: "u128" }, AccountsDestroyed: { assetId: "u128", accountsDestroyed: "u32", - accountsRemaining: "u32", + accountsRemaining: "u32" }, ApprovalsDestroyed: { assetId: "u128", approvalsDestroyed: "u32", - approvalsRemaining: "u32", + approvalsRemaining: "u32" }, DestructionStarted: { - assetId: "u128", + assetId: "u128" }, Destroyed: { - assetId: "u128", + assetId: "u128" }, ForceCreated: { assetId: "u128", - owner: "AccountId20", + owner: "AccountId20" }, MetadataSet: { assetId: "u128", name: "Bytes", symbol: "Bytes", decimals: "u8", - isFrozen: "bool", + isFrozen: "bool" }, MetadataCleared: { - assetId: "u128", + assetId: "u128" }, ApprovedTransfer: { assetId: "u128", source: "AccountId20", delegate: "AccountId20", - amount: "u128", + amount: "u128" }, ApprovalCancelled: { assetId: "u128", owner: "AccountId20", - delegate: "AccountId20", + delegate: "AccountId20" }, TransferredApproved: { assetId: "u128", owner: "AccountId20", delegate: "AccountId20", destination: "AccountId20", - amount: "u128", + amount: "u128" }, AssetStatusChanged: { - assetId: "u128", + assetId: "u128" }, AssetMinBalanceChanged: { assetId: "u128", - newMinBalance: "u128", + newMinBalance: "u128" }, Touched: { assetId: "u128", who: "AccountId20", - depositor: "AccountId20", + depositor: "AccountId20" }, Blocked: { assetId: "u128", - who: "AccountId20", + who: "AccountId20" }, Deposited: { assetId: "u128", who: "AccountId20", - amount: "u128", + amount: "u128" }, Withdrawn: { assetId: "u128", who: "AccountId20", - amount: "u128", - }, - }, + amount: "u128" + } + } }, - /** Lookup156: pallet_asset_manager::pallet::Event */ + /** + * Lookup156: pallet_asset_manager::pallet::Event + **/ PalletAssetManagerEvent: { _enum: { ForeignAssetRegistered: { assetId: "u128", asset: "MoonbaseRuntimeXcmConfigAssetType", - metadata: "MoonbaseRuntimeAssetConfigAssetRegistrarMetadata", + metadata: "MoonbaseRuntimeAssetConfigAssetRegistrarMetadata" }, UnitsPerSecondChanged: "Null", ForeignAssetXcmLocationChanged: { assetId: "u128", - newAssetType: "MoonbaseRuntimeXcmConfigAssetType", + newAssetType: "MoonbaseRuntimeXcmConfigAssetType" }, ForeignAssetRemoved: { assetId: "u128", - assetType: "MoonbaseRuntimeXcmConfigAssetType", + assetType: "MoonbaseRuntimeXcmConfigAssetType" }, SupportedAssetRemoved: { - assetType: "MoonbaseRuntimeXcmConfigAssetType", + assetType: "MoonbaseRuntimeXcmConfigAssetType" }, ForeignAssetDestroyed: { assetId: "u128", - assetType: "MoonbaseRuntimeXcmConfigAssetType", + assetType: "MoonbaseRuntimeXcmConfigAssetType" }, LocalAssetDestroyed: { - assetId: "u128", - }, - }, + assetId: "u128" + } + } }, - /** Lookup157: moonbase_runtime::xcm_config::AssetType */ + /** + * Lookup157: moonbase_runtime::xcm_config::AssetType + **/ MoonbaseRuntimeXcmConfigAssetType: { _enum: { - Xcm: "StagingXcmV3MultiLocation", - }, + Xcm: "StagingXcmV3MultiLocation" + } }, - /** Lookup158: moonbase_runtime::asset_config::AssetRegistrarMetadata */ + /** + * Lookup158: moonbase_runtime::asset_config::AssetRegistrarMetadata + **/ MoonbaseRuntimeAssetConfigAssetRegistrarMetadata: { name: "Bytes", symbol: "Bytes", decimals: "u8", - isFrozen: "bool", + isFrozen: "bool" }, - /** Lookup159: pallet_migrations::pallet::Event */ + /** + * Lookup159: pallet_migrations::pallet::Event + **/ PalletMigrationsEvent: { _enum: { RuntimeUpgradeStarted: "Null", RuntimeUpgradeCompleted: { - weight: "SpWeightsWeightV2Weight", + weight: "SpWeightsWeightV2Weight" }, MigrationStarted: { - migrationName: "Bytes", + migrationName: "Bytes" }, MigrationCompleted: { migrationName: "Bytes", - consumedWeight: "SpWeightsWeightV2Weight", + consumedWeight: "SpWeightsWeightV2Weight" }, FailedToSuspendIdleXcmExecution: { - error: "SpRuntimeDispatchError", + error: "SpRuntimeDispatchError" }, FailedToResumeIdleXcmExecution: { - error: "SpRuntimeDispatchError", - }, - }, + error: "SpRuntimeDispatchError" + } + } }, - /** Lookup160: pallet_xcm_transactor::pallet::Event */ + /** + * Lookup160: pallet_xcm_transactor::pallet::Event + **/ PalletXcmTransactorEvent: { _enum: { TransactedDerivative: { accountId: "AccountId20", dest: "StagingXcmV4Location", call: "Bytes", - index: "u16", + index: "u16" }, TransactedSovereign: { feePayer: "Option", dest: "StagingXcmV4Location", - call: "Bytes", + call: "Bytes" }, TransactedSigned: { feePayer: "AccountId20", dest: "StagingXcmV4Location", - call: "Bytes", + call: "Bytes" }, RegisteredDerivative: { accountId: "AccountId20", - index: "u16", + index: "u16" }, DeRegisteredDerivative: { - index: "u16", + index: "u16" }, TransactFailed: { - error: "XcmV3TraitsError", + error: "XcmV3TraitsError" }, TransactInfoChanged: { location: "StagingXcmV4Location", - remoteInfo: "PalletXcmTransactorRemoteTransactInfoWithMaxWeight", + remoteInfo: "PalletXcmTransactorRemoteTransactInfoWithMaxWeight" }, TransactInfoRemoved: { - location: "StagingXcmV4Location", + location: "StagingXcmV4Location" }, DestFeePerSecondChanged: { location: "StagingXcmV4Location", - feePerSecond: "u128", + feePerSecond: "u128" }, DestFeePerSecondRemoved: { - location: "StagingXcmV4Location", + location: "StagingXcmV4Location" }, HrmpManagementSent: { - action: "PalletXcmTransactorHrmpOperation", - }, - }, + action: "PalletXcmTransactorHrmpOperation" + } + } }, - /** Lookup161: pallet_xcm_transactor::pallet::RemoteTransactInfoWithMaxWeight */ + /** + * Lookup161: pallet_xcm_transactor::pallet::RemoteTransactInfoWithMaxWeight + **/ PalletXcmTransactorRemoteTransactInfoWithMaxWeight: { transactExtraWeight: "SpWeightsWeightV2Weight", maxWeight: "SpWeightsWeightV2Weight", - transactExtraWeightSigned: "Option", + transactExtraWeightSigned: "Option" }, - /** Lookup163: pallet_xcm_transactor::pallet::HrmpOperation */ + /** + * Lookup163: pallet_xcm_transactor::pallet::HrmpOperation + **/ PalletXcmTransactorHrmpOperation: { _enum: { InitOpen: "PalletXcmTransactorHrmpInitParams", Accept: { - paraId: "u32", + paraId: "u32" }, Close: "PolkadotParachainPrimitivesPrimitivesHrmpChannelId", Cancel: { channelId: "PolkadotParachainPrimitivesPrimitivesHrmpChannelId", - openRequests: "u32", - }, - }, + openRequests: "u32" + } + } }, - /** Lookup164: pallet_xcm_transactor::pallet::HrmpInitParams */ + /** + * Lookup164: pallet_xcm_transactor::pallet::HrmpInitParams + **/ PalletXcmTransactorHrmpInitParams: { paraId: "u32", proposedMaxCapacity: "u32", - proposedMaxMessageSize: "u32", + proposedMaxMessageSize: "u32" }, - /** Lookup166: polkadot_parachain_primitives::primitives::HrmpChannelId */ + /** + * Lookup166: polkadot_parachain_primitives::primitives::HrmpChannelId + **/ PolkadotParachainPrimitivesPrimitivesHrmpChannelId: { sender: "u32", - recipient: "u32", + recipient: "u32" }, - /** Lookup167: pallet_moonbeam_orbiters::pallet::Event */ + /** + * Lookup167: pallet_moonbeam_orbiters::pallet::Event + **/ PalletMoonbeamOrbitersEvent: { _enum: { OrbiterJoinCollatorPool: { collator: "AccountId20", - orbiter: "AccountId20", + orbiter: "AccountId20" }, OrbiterLeaveCollatorPool: { collator: "AccountId20", - orbiter: "AccountId20", + orbiter: "AccountId20" }, OrbiterRewarded: { account: "AccountId20", - rewards: "u128", + rewards: "u128" }, OrbiterRotation: { collator: "AccountId20", oldOrbiter: "Option", - newOrbiter: "Option", + newOrbiter: "Option" }, OrbiterRegistered: { account: "AccountId20", - deposit: "u128", + deposit: "u128" }, OrbiterUnregistered: { - account: "AccountId20", - }, - }, + account: "AccountId20" + } + } }, - /** Lookup168: pallet_ethereum_xcm::pallet::Event */ + /** + * Lookup168: pallet_ethereum_xcm::pallet::Event + **/ PalletEthereumXcmEvent: { _enum: { ExecutedFromXcm: { xcmMsgHash: "H256", - ethTxHash: "H256", - }, - }, + ethTxHash: "H256" + } + } }, - /** Lookup169: pallet_randomness::pallet::Event */ + /** + * Lookup169: pallet_randomness::pallet::Event + **/ PalletRandomnessEvent: { _enum: { RandomnessRequestedBabeEpoch: { @@ -2004,7 +2218,7 @@ export default { gasLimit: "u64", numWords: "u8", salt: "H256", - earliestEpoch: "u64", + earliestEpoch: "u64" }, RandomnessRequestedLocal: { id: "u64", @@ -2014,234 +2228,245 @@ export default { gasLimit: "u64", numWords: "u8", salt: "H256", - earliestBlock: "u32", + earliestBlock: "u32" }, RequestFulfilled: { - id: "u64", + id: "u64" }, RequestFeeIncreased: { id: "u64", - newFee: "u128", + newFee: "u128" }, RequestExpirationExecuted: { - id: "u64", - }, - }, + id: "u64" + } + } }, - /** Lookup170: pallet_collective::pallet::Event */ + /** + * Lookup170: pallet_collective::pallet::Event + **/ PalletCollectiveEvent: { _enum: { Proposed: { account: "AccountId20", proposalIndex: "u32", proposalHash: "H256", - threshold: "u32", + threshold: "u32" }, Voted: { account: "AccountId20", proposalHash: "H256", voted: "bool", yes: "u32", - no: "u32", + no: "u32" }, Approved: { - proposalHash: "H256", + proposalHash: "H256" }, Disapproved: { - proposalHash: "H256", + proposalHash: "H256" }, Executed: { proposalHash: "H256", - result: "Result", + result: "Result" }, MemberExecuted: { proposalHash: "H256", - result: "Result", + result: "Result" }, Closed: { proposalHash: "H256", yes: "u32", - no: "u32", - }, - }, + no: "u32" + } + } }, - /** Lookup171: pallet_conviction_voting::pallet::Event */ + /** + * Lookup171: pallet_conviction_voting::pallet::Event + **/ PalletConvictionVotingEvent: { _enum: { Delegated: "(AccountId20,AccountId20)", - Undelegated: "AccountId20", - }, + Undelegated: "AccountId20" + } }, - /** Lookup172: pallet_referenda::pallet::Event */ + /** + * Lookup172: pallet_referenda::pallet::Event + **/ PalletReferendaEvent: { _enum: { Submitted: { index: "u32", track: "u16", - proposal: "FrameSupportPreimagesBounded", + proposal: "FrameSupportPreimagesBounded" }, DecisionDepositPlaced: { index: "u32", who: "AccountId20", - amount: "u128", + amount: "u128" }, DecisionDepositRefunded: { index: "u32", who: "AccountId20", - amount: "u128", + amount: "u128" }, DepositSlashed: { who: "AccountId20", - amount: "u128", + amount: "u128" }, DecisionStarted: { index: "u32", track: "u16", proposal: "FrameSupportPreimagesBounded", - tally: "PalletConvictionVotingTally", + tally: "PalletConvictionVotingTally" }, ConfirmStarted: { - index: "u32", + index: "u32" }, ConfirmAborted: { - index: "u32", + index: "u32" }, Confirmed: { index: "u32", - tally: "PalletConvictionVotingTally", + tally: "PalletConvictionVotingTally" }, Approved: { - index: "u32", + index: "u32" }, Rejected: { index: "u32", - tally: "PalletConvictionVotingTally", + tally: "PalletConvictionVotingTally" }, TimedOut: { index: "u32", - tally: "PalletConvictionVotingTally", + tally: "PalletConvictionVotingTally" }, Cancelled: { index: "u32", - tally: "PalletConvictionVotingTally", + tally: "PalletConvictionVotingTally" }, Killed: { index: "u32", - tally: "PalletConvictionVotingTally", + tally: "PalletConvictionVotingTally" }, SubmissionDepositRefunded: { index: "u32", who: "AccountId20", - amount: "u128", + amount: "u128" }, MetadataSet: { _alias: { - hash_: "hash", + hash_: "hash" }, index: "u32", - hash_: "H256", + hash_: "H256" }, MetadataCleared: { _alias: { - hash_: "hash", + hash_: "hash" }, index: "u32", - hash_: "H256", - }, - }, + hash_: "H256" + } + } }, /** - * Lookup173: frame_support::traits::preimages::Bounded - */ + * Lookup173: frame_support::traits::preimages::Bounded + **/ FrameSupportPreimagesBounded: { _enum: { Legacy: { _alias: { - hash_: "hash", + hash_: "hash" }, - hash_: "H256", + hash_: "H256" }, Inline: "Bytes", Lookup: { _alias: { - hash_: "hash", + hash_: "hash" }, hash_: "H256", - len: "u32", - }, - }, + len: "u32" + } + } }, - /** Lookup175: frame_system::pallet::Call */ + /** + * Lookup175: frame_system::pallet::Call + **/ FrameSystemCall: { _enum: { remark: { - remark: "Bytes", + remark: "Bytes" }, set_heap_pages: { - pages: "u64", + pages: "u64" }, set_code: { - code: "Bytes", + code: "Bytes" }, set_code_without_checks: { - code: "Bytes", + code: "Bytes" }, set_storage: { - items: "Vec<(Bytes,Bytes)>", + items: "Vec<(Bytes,Bytes)>" }, kill_storage: { _alias: { - keys_: "keys", + keys_: "keys" }, - keys_: "Vec", + keys_: "Vec" }, kill_prefix: { prefix: "Bytes", - subkeys: "u32", + subkeys: "u32" }, remark_with_event: { - remark: "Bytes", + remark: "Bytes" }, __Unused8: "Null", authorize_upgrade: { - codeHash: "H256", + codeHash: "H256" }, authorize_upgrade_without_checks: { - codeHash: "H256", + codeHash: "H256" }, apply_authorized_upgrade: { - code: "Bytes", - }, - }, + code: "Bytes" + } + } }, - /** Lookup179: pallet_utility::pallet::Call */ + /** + * Lookup179: pallet_utility::pallet::Call + **/ PalletUtilityCall: { _enum: { batch: { - calls: "Vec", + calls: "Vec" }, as_derivative: { index: "u16", - call: "Call", + call: "Call" }, batch_all: { - calls: "Vec", + calls: "Vec" }, dispatch_as: { asOrigin: "MoonbaseRuntimeOriginCaller", - call: "Call", + call: "Call" }, force_batch: { - calls: "Vec", + calls: "Vec" }, with_weight: { call: "Call", - weight: "SpWeightsWeightV2Weight", - }, - }, + weight: "SpWeightsWeightV2Weight" + } + } }, - /** Lookup181: moonbase_runtime::OriginCaller */ + /** + * Lookup181: moonbase_runtime::OriginCaller + **/ MoonbaseRuntimeOriginCaller: { _enum: { system: "FrameSupportDispatchRawOrigin", @@ -2290,193 +2515,231 @@ export default { Origins: "MoonbaseRuntimeGovernanceOriginsCustomOriginsOrigin", __Unused44: "Null", __Unused45: "Null", - OpenTechCommitteeCollective: "PalletCollectiveRawOrigin", - }, + OpenTechCommitteeCollective: "PalletCollectiveRawOrigin" + } }, - /** Lookup182: frame_support::dispatch::RawOrigin[account::AccountId20](account::AccountId20) */ + /** + * Lookup182: frame_support::dispatch::RawOrigin + **/ FrameSupportDispatchRawOrigin: { _enum: { Root: "Null", Signed: "AccountId20", - None: "Null", - }, + None: "Null" + } }, - /** Lookup183: pallet_ethereum::RawOrigin */ + /** + * Lookup183: pallet_ethereum::RawOrigin + **/ PalletEthereumRawOrigin: { _enum: { - EthereumTransaction: "H160", - }, + EthereumTransaction: "H160" + } }, - /** Lookup184: cumulus_pallet_xcm::pallet::Origin */ + /** + * Lookup184: cumulus_pallet_xcm::pallet::Origin + **/ CumulusPalletXcmOrigin: { _enum: { Relay: "Null", - SiblingParachain: "u32", - }, + SiblingParachain: "u32" + } }, - /** Lookup185: pallet_xcm::pallet::Origin */ + /** + * Lookup185: pallet_xcm::pallet::Origin + **/ PalletXcmOrigin: { _enum: { Xcm: "StagingXcmV4Location", - Response: "StagingXcmV4Location", - }, + Response: "StagingXcmV4Location" + } }, - /** Lookup186: pallet_ethereum_xcm::RawOrigin */ + /** + * Lookup186: pallet_ethereum_xcm::RawOrigin + **/ PalletEthereumXcmRawOrigin: { _enum: { - XcmEthereumTransaction: "H160", - }, + XcmEthereumTransaction: "H160" + } }, - /** Lookup187: pallet_collective::RawOrigin */ + /** + * Lookup187: pallet_collective::RawOrigin + **/ PalletCollectiveRawOrigin: { _enum: { Members: "(u32,u32)", Member: "AccountId20", - _Phantom: "Null", - }, + _Phantom: "Null" + } }, - /** Lookup188: moonbase_runtime::governance::origins::custom_origins::Origin */ + /** + * Lookup188: moonbase_runtime::governance::origins::custom_origins::Origin + **/ MoonbaseRuntimeGovernanceOriginsCustomOriginsOrigin: { _enum: [ "WhitelistedCaller", "GeneralAdmin", "ReferendumCanceller", "ReferendumKiller", - "FastGeneralAdmin", - ], + "FastGeneralAdmin" + ] }, - /** Lookup190: sp_core::Void */ + /** + * Lookup190: sp_core::Void + **/ SpCoreVoid: "Null", - /** Lookup191: pallet_timestamp::pallet::Call */ + /** + * Lookup191: pallet_timestamp::pallet::Call + **/ PalletTimestampCall: { _enum: { set: { - now: "Compact", - }, - }, + now: "Compact" + } + } }, - /** Lookup192: pallet_balances::pallet::Call */ + /** + * Lookup192: pallet_balances::pallet::Call + **/ PalletBalancesCall: { _enum: { transfer_allow_death: { dest: "AccountId20", - value: "Compact", + value: "Compact" }, __Unused1: "Null", force_transfer: { source: "AccountId20", dest: "AccountId20", - value: "Compact", + value: "Compact" }, transfer_keep_alive: { dest: "AccountId20", - value: "Compact", + value: "Compact" }, transfer_all: { dest: "AccountId20", - keepAlive: "bool", + keepAlive: "bool" }, force_unreserve: { who: "AccountId20", - amount: "u128", + amount: "u128" }, upgrade_accounts: { - who: "Vec", + who: "Vec" }, __Unused7: "Null", force_set_balance: { who: "AccountId20", - newFree: "Compact", + newFree: "Compact" }, force_adjust_total_issuance: { direction: "PalletBalancesAdjustmentDirection", - delta: "Compact", + delta: "Compact" }, burn: { value: "Compact", - keepAlive: "bool", - }, - }, + keepAlive: "bool" + } + } }, - /** Lookup194: pallet_balances::types::AdjustmentDirection */ + /** + * Lookup194: pallet_balances::types::AdjustmentDirection + **/ PalletBalancesAdjustmentDirection: { - _enum: ["Increase", "Decrease"], + _enum: ["Increase", "Decrease"] }, - /** Lookup195: pallet_sudo::pallet::Call */ + /** + * Lookup195: pallet_sudo::pallet::Call + **/ PalletSudoCall: { _enum: { sudo: { - call: "Call", + call: "Call" }, sudo_unchecked_weight: { call: "Call", - weight: "SpWeightsWeightV2Weight", + weight: "SpWeightsWeightV2Weight" }, set_key: { _alias: { - new_: "new", + new_: "new" }, - new_: "AccountId20", + new_: "AccountId20" }, sudo_as: { who: "AccountId20", - call: "Call", + call: "Call" }, - remove_key: "Null", - }, + remove_key: "Null" + } }, - /** Lookup196: cumulus_pallet_parachain_system::pallet::Call */ + /** + * Lookup196: cumulus_pallet_parachain_system::pallet::Call + **/ CumulusPalletParachainSystemCall: { _enum: { set_validation_data: { - data: "CumulusPrimitivesParachainInherentParachainInherentData", + data: "CumulusPrimitivesParachainInherentParachainInherentData" }, sudo_send_upward_message: { - message: "Bytes", + message: "Bytes" }, authorize_upgrade: { codeHash: "H256", - checkVersion: "bool", + checkVersion: "bool" }, enact_authorized_upgrade: { - code: "Bytes", - }, - }, + code: "Bytes" + } + } }, - /** Lookup197: cumulus_primitives_parachain_inherent::ParachainInherentData */ + /** + * Lookup197: cumulus_primitives_parachain_inherent::ParachainInherentData + **/ CumulusPrimitivesParachainInherentParachainInherentData: { validationData: "PolkadotPrimitivesV7PersistedValidationData", relayChainState: "SpTrieStorageProof", downwardMessages: "Vec", - horizontalMessages: "BTreeMap>", + horizontalMessages: "BTreeMap>" }, - /** Lookup198: polkadot_primitives::v7::PersistedValidationData */ + /** + * Lookup198: polkadot_primitives::v7::PersistedValidationData + **/ PolkadotPrimitivesV7PersistedValidationData: { parentHead: "Bytes", relayParentNumber: "u32", relayParentStorageRoot: "H256", - maxPovSize: "u32", + maxPovSize: "u32" }, - /** Lookup200: sp_trie::storage_proof::StorageProof */ + /** + * Lookup200: sp_trie::storage_proof::StorageProof + **/ SpTrieStorageProof: { - trieNodes: "BTreeSet", + trieNodes: "BTreeSet" }, - /** Lookup203: polkadot_core_primitives::InboundDownwardMessage */ + /** + * Lookup203: polkadot_core_primitives::InboundDownwardMessage + **/ PolkadotCorePrimitivesInboundDownwardMessage: { sentAt: "u32", - msg: "Bytes", + msg: "Bytes" }, - /** Lookup206: polkadot_core_primitives::InboundHrmpMessage */ + /** + * Lookup206: polkadot_core_primitives::InboundHrmpMessage + **/ PolkadotCorePrimitivesInboundHrmpMessage: { sentAt: "u32", - data: "Bytes", + data: "Bytes" }, - /** Lookup209: pallet_evm::pallet::Call */ + /** + * Lookup209: pallet_evm::pallet::Call + **/ PalletEvmCall: { _enum: { withdraw: { address: "H160", - value: "u128", + value: "u128" }, call: { source: "H160", @@ -2487,7 +2750,7 @@ export default { maxFeePerGas: "U256", maxPriorityFeePerGas: "Option", nonce: "Option", - accessList: "Vec<(H160,Vec)>", + accessList: "Vec<(H160,Vec)>" }, create: { source: "H160", @@ -2497,7 +2760,7 @@ export default { maxFeePerGas: "U256", maxPriorityFeePerGas: "Option", nonce: "Option", - accessList: "Vec<(H160,Vec)>", + accessList: "Vec<(H160,Vec)>" }, create2: { source: "H160", @@ -2508,27 +2771,33 @@ export default { maxFeePerGas: "U256", maxPriorityFeePerGas: "Option", nonce: "Option", - accessList: "Vec<(H160,Vec)>", - }, - }, + accessList: "Vec<(H160,Vec)>" + } + } }, - /** Lookup215: pallet_ethereum::pallet::Call */ + /** + * Lookup215: pallet_ethereum::pallet::Call + **/ PalletEthereumCall: { _enum: { transact: { - transaction: "EthereumTransactionTransactionV2", - }, - }, + transaction: "EthereumTransactionTransactionV2" + } + } }, - /** Lookup216: ethereum::transaction::TransactionV2 */ + /** + * Lookup216: ethereum::transaction::TransactionV2 + **/ EthereumTransactionTransactionV2: { _enum: { Legacy: "EthereumTransactionLegacyTransaction", EIP2930: "EthereumTransactionEip2930Transaction", - EIP1559: "EthereumTransactionEip1559Transaction", - }, + EIP1559: "EthereumTransactionEip1559Transaction" + } }, - /** Lookup217: ethereum::transaction::LegacyTransaction */ + /** + * Lookup217: ethereum::transaction::LegacyTransaction + **/ EthereumTransactionLegacyTransaction: { nonce: "U256", gasPrice: "U256", @@ -2536,22 +2805,28 @@ export default { action: "EthereumTransactionTransactionAction", value: "U256", input: "Bytes", - signature: "EthereumTransactionTransactionSignature", + signature: "EthereumTransactionTransactionSignature" }, - /** Lookup218: ethereum::transaction::TransactionAction */ + /** + * Lookup218: ethereum::transaction::TransactionAction + **/ EthereumTransactionTransactionAction: { _enum: { Call: "H160", - Create: "Null", - }, + Create: "Null" + } }, - /** Lookup219: ethereum::transaction::TransactionSignature */ + /** + * Lookup219: ethereum::transaction::TransactionSignature + **/ EthereumTransactionTransactionSignature: { v: "u64", r: "H256", - s: "H256", + s: "H256" }, - /** Lookup221: ethereum::transaction::EIP2930Transaction */ + /** + * Lookup221: ethereum::transaction::EIP2930Transaction + **/ EthereumTransactionEip2930Transaction: { chainId: "u64", nonce: "U256", @@ -2563,14 +2838,18 @@ export default { accessList: "Vec", oddYParity: "bool", r: "H256", - s: "H256", + s: "H256" }, - /** Lookup223: ethereum::transaction::AccessListItem */ + /** + * Lookup223: ethereum::transaction::AccessListItem + **/ EthereumTransactionAccessListItem: { address: "H160", - storageKeys: "Vec", + storageKeys: "Vec" }, - /** Lookup224: ethereum::transaction::EIP1559Transaction */ + /** + * Lookup224: ethereum::transaction::EIP1559Transaction + **/ EthereumTransactionEip1559Transaction: { chainId: "u64", nonce: "U256", @@ -2583,86 +2862,88 @@ export default { accessList: "Vec", oddYParity: "bool", r: "H256", - s: "H256", + s: "H256" }, - /** Lookup225: pallet_parachain_staking::pallet::Call */ + /** + * Lookup225: pallet_parachain_staking::pallet::Call + **/ PalletParachainStakingCall: { _enum: { set_staking_expectations: { expectations: { min: "u128", ideal: "u128", - max: "u128", - }, + max: "u128" + } }, set_inflation: { schedule: { min: "Perbill", ideal: "Perbill", - max: "Perbill", - }, + max: "Perbill" + } }, set_parachain_bond_account: { _alias: { - new_: "new", + new_: "new" }, - new_: "AccountId20", + new_: "AccountId20" }, set_parachain_bond_reserve_percent: { _alias: { - new_: "new", + new_: "new" }, - new_: "Percent", + new_: "Percent" }, set_total_selected: { _alias: { - new_: "new", + new_: "new" }, - new_: "u32", + new_: "u32" }, set_collator_commission: { _alias: { - new_: "new", + new_: "new" }, - new_: "Perbill", + new_: "Perbill" }, set_blocks_per_round: { _alias: { - new_: "new", + new_: "new" }, - new_: "u32", + new_: "u32" }, join_candidates: { bond: "u128", - candidateCount: "u32", + candidateCount: "u32" }, schedule_leave_candidates: { - candidateCount: "u32", + candidateCount: "u32" }, execute_leave_candidates: { candidate: "AccountId20", - candidateDelegationCount: "u32", + candidateDelegationCount: "u32" }, cancel_leave_candidates: { - candidateCount: "u32", + candidateCount: "u32" }, go_offline: "Null", go_online: "Null", candidate_bond_more: { - more: "u128", + more: "u128" }, schedule_candidate_bond_less: { - less: "u128", + less: "u128" }, execute_candidate_bond_less: { - candidate: "AccountId20", + candidate: "AccountId20" }, cancel_candidate_bond_less: "Null", delegate: { candidate: "AccountId20", amount: "u128", candidateDelegationCount: "u32", - delegationCount: "u32", + delegationCount: "u32" }, delegate_with_auto_compound: { candidate: "AccountId20", @@ -2670,112 +2951,116 @@ export default { autoCompound: "Percent", candidateDelegationCount: "u32", candidateAutoCompoundingDelegationCount: "u32", - delegationCount: "u32", + delegationCount: "u32" }, removed_call_19: "Null", removed_call_20: "Null", removed_call_21: "Null", schedule_revoke_delegation: { - collator: "AccountId20", + collator: "AccountId20" }, delegator_bond_more: { candidate: "AccountId20", - more: "u128", + more: "u128" }, schedule_delegator_bond_less: { candidate: "AccountId20", - less: "u128", + less: "u128" }, execute_delegation_request: { delegator: "AccountId20", - candidate: "AccountId20", + candidate: "AccountId20" }, cancel_delegation_request: { - candidate: "AccountId20", + candidate: "AccountId20" }, set_auto_compound: { candidate: "AccountId20", value: "Percent", candidateAutoCompoundingDelegationCountHint: "u32", - delegationCountHint: "u32", + delegationCountHint: "u32" }, hotfix_remove_delegation_requests_exited_candidates: { - candidates: "Vec", + candidates: "Vec" }, notify_inactive_collator: { - collator: "AccountId20", + collator: "AccountId20" }, enable_marking_offline: { - value: "bool", + value: "bool" }, force_join_candidates: { account: "AccountId20", bond: "u128", - candidateCount: "u32", + candidateCount: "u32" }, set_inflation_distribution_config: { _alias: { - new_: "new", + new_: "new" }, - new_: "PalletParachainStakingInflationDistributionConfig", - }, - }, + new_: "PalletParachainStakingInflationDistributionConfig" + } + } }, - /** Lookup228: pallet_scheduler::pallet::Call */ + /** + * Lookup228: pallet_scheduler::pallet::Call + **/ PalletSchedulerCall: { _enum: { schedule: { when: "u32", maybePeriodic: "Option<(u32,u32)>", priority: "u8", - call: "Call", + call: "Call" }, cancel: { when: "u32", - index: "u32", + index: "u32" }, schedule_named: { id: "[u8;32]", when: "u32", maybePeriodic: "Option<(u32,u32)>", priority: "u8", - call: "Call", + call: "Call" }, cancel_named: { - id: "[u8;32]", + id: "[u8;32]" }, schedule_after: { after: "u32", maybePeriodic: "Option<(u32,u32)>", priority: "u8", - call: "Call", + call: "Call" }, schedule_named_after: { id: "[u8;32]", after: "u32", maybePeriodic: "Option<(u32,u32)>", priority: "u8", - call: "Call", + call: "Call" }, set_retry: { task: "(u32,u32)", retries: "u8", - period: "u32", + period: "u32" }, set_retry_named: { id: "[u8;32]", retries: "u8", - period: "u32", + period: "u32" }, cancel_retry: { - task: "(u32,u32)", + task: "(u32,u32)" }, cancel_retry_named: { - id: "[u8;32]", - }, - }, + id: "[u8;32]" + } + } }, - /** Lookup230: pallet_treasury::pallet::Call */ + /** + * Lookup230: pallet_treasury::pallet::Call + **/ PalletTreasuryCall: { _enum: { __Unused0: "Null", @@ -2783,237 +3068,255 @@ export default { __Unused2: "Null", spend_local: { amount: "Compact", - beneficiary: "AccountId20", + beneficiary: "AccountId20" }, remove_approval: { - proposalId: "Compact", + proposalId: "Compact" }, spend: { assetKind: "Null", amount: "Compact", beneficiary: "AccountId20", - validFrom: "Option", + validFrom: "Option" }, payout: { - index: "u32", + index: "u32" }, check_status: { - index: "u32", + index: "u32" }, void_spend: { - index: "u32", - }, - }, + index: "u32" + } + } }, - /** Lookup232: pallet_author_inherent::pallet::Call */ + /** + * Lookup232: pallet_author_inherent::pallet::Call + **/ PalletAuthorInherentCall: { - _enum: ["kick_off_authorship_validation"], + _enum: ["kick_off_authorship_validation"] }, - /** Lookup233: pallet_author_slot_filter::pallet::Call */ + /** + * Lookup233: pallet_author_slot_filter::pallet::Call + **/ PalletAuthorSlotFilterCall: { _enum: { set_eligible: { _alias: { - new_: "new", + new_: "new" }, - new_: "u32", - }, - }, + new_: "u32" + } + } }, - /** Lookup234: pallet_crowdloan_rewards::pallet::Call */ + /** + * Lookup234: pallet_crowdloan_rewards::pallet::Call + **/ PalletCrowdloanRewardsCall: { _enum: { associate_native_identity: { rewardAccount: "AccountId20", relayAccount: "[u8;32]", - proof: "SpRuntimeMultiSignature", + proof: "SpRuntimeMultiSignature" }, change_association_with_relay_keys: { rewardAccount: "AccountId20", previousAccount: "AccountId20", - proofs: "Vec<([u8;32],SpRuntimeMultiSignature)>", + proofs: "Vec<([u8;32],SpRuntimeMultiSignature)>" }, claim: "Null", update_reward_address: { - newRewardAccount: "AccountId20", + newRewardAccount: "AccountId20" }, complete_initialization: { - leaseEndingBlock: "u32", + leaseEndingBlock: "u32" }, initialize_reward_vec: { - rewards: "Vec<([u8;32],Option,u128)>", - }, - }, + rewards: "Vec<([u8;32],Option,u128)>" + } + } }, - /** Lookup235: sp_runtime::MultiSignature */ + /** + * Lookup235: sp_runtime::MultiSignature + **/ SpRuntimeMultiSignature: { _enum: { Ed25519: "[u8;64]", Sr25519: "[u8;64]", - Ecdsa: "[u8;65]", - }, + Ecdsa: "[u8;65]" + } }, - /** Lookup242: pallet_author_mapping::pallet::Call */ + /** + * Lookup242: pallet_author_mapping::pallet::Call + **/ PalletAuthorMappingCall: { _enum: { add_association: { - nimbusId: "NimbusPrimitivesNimbusCryptoPublic", + nimbusId: "NimbusPrimitivesNimbusCryptoPublic" }, update_association: { oldNimbusId: "NimbusPrimitivesNimbusCryptoPublic", - newNimbusId: "NimbusPrimitivesNimbusCryptoPublic", + newNimbusId: "NimbusPrimitivesNimbusCryptoPublic" }, clear_association: { - nimbusId: "NimbusPrimitivesNimbusCryptoPublic", + nimbusId: "NimbusPrimitivesNimbusCryptoPublic" }, remove_keys: "Null", set_keys: { _alias: { - keys_: "keys", + keys_: "keys" }, - keys_: "Bytes", - }, - }, + keys_: "Bytes" + } + } }, - /** Lookup243: pallet_proxy::pallet::Call */ + /** + * Lookup243: pallet_proxy::pallet::Call + **/ PalletProxyCall: { _enum: { proxy: { real: "AccountId20", forceProxyType: "Option", - call: "Call", + call: "Call" }, add_proxy: { delegate: "AccountId20", proxyType: "MoonbaseRuntimeProxyType", - delay: "u32", + delay: "u32" }, remove_proxy: { delegate: "AccountId20", proxyType: "MoonbaseRuntimeProxyType", - delay: "u32", + delay: "u32" }, remove_proxies: "Null", create_pure: { proxyType: "MoonbaseRuntimeProxyType", delay: "u32", - index: "u16", + index: "u16" }, kill_pure: { spawner: "AccountId20", proxyType: "MoonbaseRuntimeProxyType", index: "u16", height: "Compact", - extIndex: "Compact", + extIndex: "Compact" }, announce: { real: "AccountId20", - callHash: "H256", + callHash: "H256" }, remove_announcement: { real: "AccountId20", - callHash: "H256", + callHash: "H256" }, reject_announcement: { delegate: "AccountId20", - callHash: "H256", + callHash: "H256" }, proxy_announced: { delegate: "AccountId20", real: "AccountId20", forceProxyType: "Option", - call: "Call", - }, - }, + call: "Call" + } + } }, - /** Lookup245: pallet_maintenance_mode::pallet::Call */ + /** + * Lookup245: pallet_maintenance_mode::pallet::Call + **/ PalletMaintenanceModeCall: { - _enum: ["enter_maintenance_mode", "resume_normal_operation"], + _enum: ["enter_maintenance_mode", "resume_normal_operation"] }, - /** Lookup246: pallet_identity::pallet::Call */ + /** + * Lookup246: pallet_identity::pallet::Call + **/ PalletIdentityCall: { _enum: { add_registrar: { - account: "AccountId20", + account: "AccountId20" }, set_identity: { - info: "PalletIdentityLegacyIdentityInfo", + info: "PalletIdentityLegacyIdentityInfo" }, set_subs: { - subs: "Vec<(AccountId20,Data)>", + subs: "Vec<(AccountId20,Data)>" }, clear_identity: "Null", request_judgement: { regIndex: "Compact", - maxFee: "Compact", + maxFee: "Compact" }, cancel_request: { - regIndex: "u32", + regIndex: "u32" }, set_fee: { index: "Compact", - fee: "Compact", + fee: "Compact" }, set_account_id: { _alias: { - new_: "new", + new_: "new" }, index: "Compact", - new_: "AccountId20", + new_: "AccountId20" }, set_fields: { index: "Compact", - fields: "u64", + fields: "u64" }, provide_judgement: { regIndex: "Compact", target: "AccountId20", judgement: "PalletIdentityJudgement", - identity: "H256", + identity: "H256" }, kill_identity: { - target: "AccountId20", + target: "AccountId20" }, add_sub: { sub: "AccountId20", - data: "Data", + data: "Data" }, rename_sub: { sub: "AccountId20", - data: "Data", + data: "Data" }, remove_sub: { - sub: "AccountId20", + sub: "AccountId20" }, quit_sub: "Null", add_username_authority: { authority: "AccountId20", suffix: "Bytes", - allocation: "u32", + allocation: "u32" }, remove_username_authority: { - authority: "AccountId20", + authority: "AccountId20" }, set_username_for: { who: "AccountId20", username: "Bytes", - signature: "Option", + signature: "Option" }, accept_username: { - username: "Bytes", + username: "Bytes" }, remove_expired_approval: { - username: "Bytes", + username: "Bytes" }, set_primary_username: { - username: "Bytes", + username: "Bytes" }, remove_dangling_username: { - username: "Bytes", - }, - }, + username: "Bytes" + } + } }, - /** Lookup247: pallet_identity::legacy::IdentityInfo */ + /** + * Lookup247: pallet_identity::legacy::IdentityInfo + **/ PalletIdentityLegacyIdentityInfo: { additional: "Vec<(Data,Data)>", display: "Data", @@ -3023,9 +3326,11 @@ export default { email: "Data", pgpFingerprint: "Option<[u8;20]>", image: "Data", - twitter: "Data", + twitter: "Data" }, - /** Lookup283: pallet_identity::types::Judgement */ + /** + * Lookup283: pallet_identity::types::Judgement + **/ PalletIdentityJudgement: { _enum: { Unknown: "Null", @@ -3034,12 +3339,16 @@ export default { KnownGood: "Null", OutOfDate: "Null", LowQuality: "Null", - Erroneous: "Null", - }, + Erroneous: "Null" + } }, - /** Lookup285: account::EthereumSignature */ + /** + * Lookup285: account::EthereumSignature + **/ AccountEthereumSignature: "[u8;65]", - /** Lookup286: cumulus_pallet_xcmp_queue::pallet::Call */ + /** + * Lookup286: cumulus_pallet_xcmp_queue::pallet::Call + **/ CumulusPalletXcmpQueueCall: { _enum: { __Unused0: "Null", @@ -3047,87 +3356,89 @@ export default { resume_xcm_execution: "Null", update_suspend_threshold: { _alias: { - new_: "new", + new_: "new" }, - new_: "u32", + new_: "u32" }, update_drop_threshold: { _alias: { - new_: "new", + new_: "new" }, - new_: "u32", + new_: "u32" }, update_resume_threshold: { _alias: { - new_: "new", + new_: "new" }, - new_: "u32", - }, - }, + new_: "u32" + } + } }, - /** Lookup287: pallet_xcm::pallet::Call */ + /** + * Lookup287: pallet_xcm::pallet::Call + **/ PalletXcmCall: { _enum: { send: { dest: "XcmVersionedLocation", - message: "XcmVersionedXcm", + message: "XcmVersionedXcm" }, teleport_assets: { dest: "XcmVersionedLocation", beneficiary: "XcmVersionedLocation", assets: "XcmVersionedAssets", - feeAssetItem: "u32", + feeAssetItem: "u32" }, reserve_transfer_assets: { dest: "XcmVersionedLocation", beneficiary: "XcmVersionedLocation", assets: "XcmVersionedAssets", - feeAssetItem: "u32", + feeAssetItem: "u32" }, execute: { message: "XcmVersionedXcm", - maxWeight: "SpWeightsWeightV2Weight", + maxWeight: "SpWeightsWeightV2Weight" }, force_xcm_version: { location: "StagingXcmV4Location", - version: "u32", + version: "u32" }, force_default_xcm_version: { - maybeXcmVersion: "Option", + maybeXcmVersion: "Option" }, force_subscribe_version_notify: { - location: "XcmVersionedLocation", + location: "XcmVersionedLocation" }, force_unsubscribe_version_notify: { - location: "XcmVersionedLocation", + location: "XcmVersionedLocation" }, limited_reserve_transfer_assets: { dest: "XcmVersionedLocation", beneficiary: "XcmVersionedLocation", assets: "XcmVersionedAssets", feeAssetItem: "u32", - weightLimit: "XcmV3WeightLimit", + weightLimit: "XcmV3WeightLimit" }, limited_teleport_assets: { dest: "XcmVersionedLocation", beneficiary: "XcmVersionedLocation", assets: "XcmVersionedAssets", feeAssetItem: "u32", - weightLimit: "XcmV3WeightLimit", + weightLimit: "XcmV3WeightLimit" }, force_suspension: { - suspended: "bool", + suspended: "bool" }, transfer_assets: { dest: "XcmVersionedLocation", beneficiary: "XcmVersionedLocation", assets: "XcmVersionedAssets", feeAssetItem: "u32", - weightLimit: "XcmV3WeightLimit", + weightLimit: "XcmV3WeightLimit" }, claim_assets: { assets: "XcmVersionedAssets", - beneficiary: "XcmVersionedLocation", + beneficiary: "XcmVersionedLocation" }, transfer_assets_using_type_and_then: { dest: "XcmVersionedLocation", @@ -3136,23 +3447,29 @@ export default { remoteFeesId: "XcmVersionedAssetId", feesTransferType: "StagingXcmExecutorAssetTransferTransferType", customXcmOnDest: "XcmVersionedXcm", - weightLimit: "XcmV3WeightLimit", - }, - }, + weightLimit: "XcmV3WeightLimit" + } + } }, - /** Lookup288: xcm::VersionedXcm */ + /** + * Lookup288: xcm::VersionedXcm + **/ XcmVersionedXcm: { _enum: { __Unused0: "Null", __Unused1: "Null", V2: "XcmV2Xcm", V3: "XcmV3Xcm", - V4: "StagingXcmV4Xcm", - }, + V4: "StagingXcmV4Xcm" + } }, - /** Lookup289: xcm::v2::Xcm */ + /** + * Lookup289: xcm::v2::Xcm + **/ XcmV2Xcm: "Vec", - /** Lookup291: xcm::v2::Instruction */ + /** + * Lookup291: xcm::v2::Instruction + **/ XcmV2Instruction: { _enum: { WithdrawAsset: "XcmV2MultiassetMultiAssets", @@ -3161,76 +3478,76 @@ export default { QueryResponse: { queryId: "Compact", response: "XcmV2Response", - maxWeight: "Compact", + maxWeight: "Compact" }, TransferAsset: { assets: "XcmV2MultiassetMultiAssets", - beneficiary: "XcmV2MultiLocation", + beneficiary: "XcmV2MultiLocation" }, TransferReserveAsset: { assets: "XcmV2MultiassetMultiAssets", dest: "XcmV2MultiLocation", - xcm: "XcmV2Xcm", + xcm: "XcmV2Xcm" }, Transact: { originType: "XcmV2OriginKind", requireWeightAtMost: "Compact", - call: "XcmDoubleEncoded", + call: "XcmDoubleEncoded" }, HrmpNewChannelOpenRequest: { sender: "Compact", maxMessageSize: "Compact", - maxCapacity: "Compact", + maxCapacity: "Compact" }, HrmpChannelAccepted: { - recipient: "Compact", + recipient: "Compact" }, HrmpChannelClosing: { initiator: "Compact", sender: "Compact", - recipient: "Compact", + recipient: "Compact" }, ClearOrigin: "Null", DescendOrigin: "XcmV2MultilocationJunctions", ReportError: { queryId: "Compact", dest: "XcmV2MultiLocation", - maxResponseWeight: "Compact", + maxResponseWeight: "Compact" }, DepositAsset: { assets: "XcmV2MultiassetMultiAssetFilter", maxAssets: "Compact", - beneficiary: "XcmV2MultiLocation", + beneficiary: "XcmV2MultiLocation" }, DepositReserveAsset: { assets: "XcmV2MultiassetMultiAssetFilter", maxAssets: "Compact", dest: "XcmV2MultiLocation", - xcm: "XcmV2Xcm", + xcm: "XcmV2Xcm" }, ExchangeAsset: { give: "XcmV2MultiassetMultiAssetFilter", - receive: "XcmV2MultiassetMultiAssets", + receive: "XcmV2MultiassetMultiAssets" }, InitiateReserveWithdraw: { assets: "XcmV2MultiassetMultiAssetFilter", reserve: "XcmV2MultiLocation", - xcm: "XcmV2Xcm", + xcm: "XcmV2Xcm" }, InitiateTeleport: { assets: "XcmV2MultiassetMultiAssetFilter", dest: "XcmV2MultiLocation", - xcm: "XcmV2Xcm", + xcm: "XcmV2Xcm" }, QueryHolding: { queryId: "Compact", dest: "XcmV2MultiLocation", assets: "XcmV2MultiassetMultiAssetFilter", - maxResponseWeight: "Compact", + maxResponseWeight: "Compact" }, BuyExecution: { fees: "XcmV2MultiAsset", - weightLimit: "XcmV2WeightLimit", + weightLimit: "XcmV2WeightLimit" }, RefundSurplus: "Null", SetErrorHandler: "XcmV2Xcm", @@ -3238,26 +3555,30 @@ export default { ClearError: "Null", ClaimAsset: { assets: "XcmV2MultiassetMultiAssets", - ticket: "XcmV2MultiLocation", + ticket: "XcmV2MultiLocation" }, Trap: "Compact", SubscribeVersion: { queryId: "Compact", - maxResponseWeight: "Compact", + maxResponseWeight: "Compact" }, - UnsubscribeVersion: "Null", - }, + UnsubscribeVersion: "Null" + } }, - /** Lookup292: xcm::v2::Response */ + /** + * Lookup292: xcm::v2::Response + **/ XcmV2Response: { _enum: { Null: "Null", Assets: "XcmV2MultiassetMultiAssets", ExecutionResult: "Option<(u32,XcmV2TraitsError)>", - Version: "u32", - }, + Version: "u32" + } }, - /** Lookup295: xcm::v2::traits::Error */ + /** + * Lookup295: xcm::v2::traits::Error + **/ XcmV2TraitsError: { _enum: { Overflow: "Null", @@ -3285,44 +3606,58 @@ export default { UnhandledXcmVersion: "Null", WeightLimitReached: "u64", Barrier: "Null", - WeightNotComputable: "Null", - }, + WeightNotComputable: "Null" + } }, - /** Lookup296: xcm::v2::OriginKind */ + /** + * Lookup296: xcm::v2::OriginKind + **/ XcmV2OriginKind: { - _enum: ["Native", "SovereignAccount", "Superuser", "Xcm"], + _enum: ["Native", "SovereignAccount", "Superuser", "Xcm"] }, - /** Lookup297: xcm::v2::multiasset::MultiAssetFilter */ + /** + * Lookup297: xcm::v2::multiasset::MultiAssetFilter + **/ XcmV2MultiassetMultiAssetFilter: { _enum: { Definite: "XcmV2MultiassetMultiAssets", - Wild: "XcmV2MultiassetWildMultiAsset", - }, + Wild: "XcmV2MultiassetWildMultiAsset" + } }, - /** Lookup298: xcm::v2::multiasset::WildMultiAsset */ + /** + * Lookup298: xcm::v2::multiasset::WildMultiAsset + **/ XcmV2MultiassetWildMultiAsset: { _enum: { All: "Null", AllOf: { id: "XcmV2MultiassetAssetId", - fun: "XcmV2MultiassetWildFungibility", - }, - }, + fun: "XcmV2MultiassetWildFungibility" + } + } }, - /** Lookup299: xcm::v2::multiasset::WildFungibility */ + /** + * Lookup299: xcm::v2::multiasset::WildFungibility + **/ XcmV2MultiassetWildFungibility: { - _enum: ["Fungible", "NonFungible"], + _enum: ["Fungible", "NonFungible"] }, - /** Lookup300: xcm::v2::WeightLimit */ + /** + * Lookup300: xcm::v2::WeightLimit + **/ XcmV2WeightLimit: { _enum: { Unlimited: "Null", - Limited: "Compact", - }, + Limited: "Compact" + } }, - /** Lookup301: xcm::v3::Xcm */ + /** + * Lookup301: xcm::v3::Xcm + **/ XcmV3Xcm: "Vec", - /** Lookup303: xcm::v3::Instruction */ + /** + * Lookup303: xcm::v3::Instruction + **/ XcmV3Instruction: { _enum: { WithdrawAsset: "XcmV3MultiassetMultiAssets", @@ -3332,69 +3667,69 @@ export default { queryId: "Compact", response: "XcmV3Response", maxWeight: "SpWeightsWeightV2Weight", - querier: "Option", + querier: "Option" }, TransferAsset: { assets: "XcmV3MultiassetMultiAssets", - beneficiary: "StagingXcmV3MultiLocation", + beneficiary: "StagingXcmV3MultiLocation" }, TransferReserveAsset: { assets: "XcmV3MultiassetMultiAssets", dest: "StagingXcmV3MultiLocation", - xcm: "XcmV3Xcm", + xcm: "XcmV3Xcm" }, Transact: { originKind: "XcmV3OriginKind", requireWeightAtMost: "SpWeightsWeightV2Weight", - call: "XcmDoubleEncoded", + call: "XcmDoubleEncoded" }, HrmpNewChannelOpenRequest: { sender: "Compact", maxMessageSize: "Compact", - maxCapacity: "Compact", + maxCapacity: "Compact" }, HrmpChannelAccepted: { - recipient: "Compact", + recipient: "Compact" }, HrmpChannelClosing: { initiator: "Compact", sender: "Compact", - recipient: "Compact", + recipient: "Compact" }, ClearOrigin: "Null", DescendOrigin: "XcmV3Junctions", ReportError: "XcmV3QueryResponseInfo", DepositAsset: { assets: "XcmV3MultiassetMultiAssetFilter", - beneficiary: "StagingXcmV3MultiLocation", + beneficiary: "StagingXcmV3MultiLocation" }, DepositReserveAsset: { assets: "XcmV3MultiassetMultiAssetFilter", dest: "StagingXcmV3MultiLocation", - xcm: "XcmV3Xcm", + xcm: "XcmV3Xcm" }, ExchangeAsset: { give: "XcmV3MultiassetMultiAssetFilter", want: "XcmV3MultiassetMultiAssets", - maximal: "bool", + maximal: "bool" }, InitiateReserveWithdraw: { assets: "XcmV3MultiassetMultiAssetFilter", reserve: "StagingXcmV3MultiLocation", - xcm: "XcmV3Xcm", + xcm: "XcmV3Xcm" }, InitiateTeleport: { assets: "XcmV3MultiassetMultiAssetFilter", dest: "StagingXcmV3MultiLocation", - xcm: "XcmV3Xcm", + xcm: "XcmV3Xcm" }, ReportHolding: { responseInfo: "XcmV3QueryResponseInfo", - assets: "XcmV3MultiassetMultiAssetFilter", + assets: "XcmV3MultiassetMultiAssetFilter" }, BuyExecution: { fees: "XcmV3MultiAsset", - weightLimit: "XcmV3WeightLimit", + weightLimit: "XcmV3WeightLimit" }, RefundSurplus: "Null", SetErrorHandler: "XcmV3Xcm", @@ -3402,12 +3737,12 @@ export default { ClearError: "Null", ClaimAsset: { assets: "XcmV3MultiassetMultiAssets", - ticket: "StagingXcmV3MultiLocation", + ticket: "StagingXcmV3MultiLocation" }, Trap: "Compact", SubscribeVersion: { queryId: "Compact", - maxResponseWeight: "SpWeightsWeightV2Weight", + maxResponseWeight: "SpWeightsWeightV2Weight" }, UnsubscribeVersion: "Null", BurnAsset: "XcmV3MultiassetMultiAssets", @@ -3417,14 +3752,14 @@ export default { ExpectTransactStatus: "XcmV3MaybeErrorCode", QueryPallet: { moduleName: "Bytes", - responseInfo: "XcmV3QueryResponseInfo", + responseInfo: "XcmV3QueryResponseInfo" }, ExpectPallet: { index: "Compact", name: "Bytes", moduleName: "Bytes", crateMajor: "Compact", - minCrateMinor: "Compact", + minCrateMinor: "Compact" }, ReportTransactStatus: "XcmV3QueryResponseInfo", ClearTransactStatus: "Null", @@ -3432,37 +3767,39 @@ export default { ExportMessage: { network: "XcmV3JunctionNetworkId", destination: "XcmV3Junctions", - xcm: "XcmV3Xcm", + xcm: "XcmV3Xcm" }, LockAsset: { asset: "XcmV3MultiAsset", - unlocker: "StagingXcmV3MultiLocation", + unlocker: "StagingXcmV3MultiLocation" }, UnlockAsset: { asset: "XcmV3MultiAsset", - target: "StagingXcmV3MultiLocation", + target: "StagingXcmV3MultiLocation" }, NoteUnlockable: { asset: "XcmV3MultiAsset", - owner: "StagingXcmV3MultiLocation", + owner: "StagingXcmV3MultiLocation" }, RequestUnlock: { asset: "XcmV3MultiAsset", - locker: "StagingXcmV3MultiLocation", + locker: "StagingXcmV3MultiLocation" }, SetFeesMode: { - jitWithdraw: "bool", + jitWithdraw: "bool" }, SetTopic: "[u8;32]", ClearTopic: "Null", AliasOrigin: "StagingXcmV3MultiLocation", UnpaidExecution: { weightLimit: "XcmV3WeightLimit", - checkOrigin: "Option", - }, - }, + checkOrigin: "Option" + } + } }, - /** Lookup304: xcm::v3::Response */ + /** + * Lookup304: xcm::v3::Response + **/ XcmV3Response: { _enum: { Null: "Null", @@ -3470,164 +3807,180 @@ export default { ExecutionResult: "Option<(u32,XcmV3TraitsError)>", Version: "u32", PalletsInfo: "Vec", - DispatchResult: "XcmV3MaybeErrorCode", - }, + DispatchResult: "XcmV3MaybeErrorCode" + } }, - /** Lookup306: xcm::v3::PalletInfo */ + /** + * Lookup306: xcm::v3::PalletInfo + **/ XcmV3PalletInfo: { index: "Compact", name: "Bytes", moduleName: "Bytes", major: "Compact", minor: "Compact", - patch: "Compact", + patch: "Compact" }, - /** Lookup310: xcm::v3::QueryResponseInfo */ + /** + * Lookup310: xcm::v3::QueryResponseInfo + **/ XcmV3QueryResponseInfo: { destination: "StagingXcmV3MultiLocation", queryId: "Compact", - maxWeight: "SpWeightsWeightV2Weight", + maxWeight: "SpWeightsWeightV2Weight" }, - /** Lookup311: xcm::v3::multiasset::MultiAssetFilter */ + /** + * Lookup311: xcm::v3::multiasset::MultiAssetFilter + **/ XcmV3MultiassetMultiAssetFilter: { _enum: { Definite: "XcmV3MultiassetMultiAssets", - Wild: "XcmV3MultiassetWildMultiAsset", - }, + Wild: "XcmV3MultiassetWildMultiAsset" + } }, - /** Lookup312: xcm::v3::multiasset::WildMultiAsset */ + /** + * Lookup312: xcm::v3::multiasset::WildMultiAsset + **/ XcmV3MultiassetWildMultiAsset: { _enum: { All: "Null", AllOf: { id: "XcmV3MultiassetAssetId", - fun: "XcmV3MultiassetWildFungibility", + fun: "XcmV3MultiassetWildFungibility" }, AllCounted: "Compact", AllOfCounted: { id: "XcmV3MultiassetAssetId", fun: "XcmV3MultiassetWildFungibility", - count: "Compact", - }, - }, + count: "Compact" + } + } }, - /** Lookup313: xcm::v3::multiasset::WildFungibility */ + /** + * Lookup313: xcm::v3::multiasset::WildFungibility + **/ XcmV3MultiassetWildFungibility: { - _enum: ["Fungible", "NonFungible"], + _enum: ["Fungible", "NonFungible"] }, - /** Lookup325: staging_xcm_executor::traits::asset_transfer::TransferType */ + /** + * Lookup325: staging_xcm_executor::traits::asset_transfer::TransferType + **/ StagingXcmExecutorAssetTransferTransferType: { _enum: { Teleport: "Null", LocalReserve: "Null", DestinationReserve: "Null", - RemoteReserve: "XcmVersionedLocation", - }, + RemoteReserve: "XcmVersionedLocation" + } }, - /** Lookup326: xcm::VersionedAssetId */ + /** + * Lookup326: xcm::VersionedAssetId + **/ XcmVersionedAssetId: { _enum: { __Unused0: "Null", __Unused1: "Null", __Unused2: "Null", V3: "XcmV3MultiassetAssetId", - V4: "StagingXcmV4AssetAssetId", - }, + V4: "StagingXcmV4AssetAssetId" + } }, - /** Lookup327: pallet_assets::pallet::Call */ + /** + * Lookup327: pallet_assets::pallet::Call + **/ PalletAssetsCall: { _enum: { create: { id: "Compact", admin: "AccountId20", - minBalance: "u128", + minBalance: "u128" }, force_create: { id: "Compact", owner: "AccountId20", isSufficient: "bool", - minBalance: "Compact", + minBalance: "Compact" }, start_destroy: { - id: "Compact", + id: "Compact" }, destroy_accounts: { - id: "Compact", + id: "Compact" }, destroy_approvals: { - id: "Compact", + id: "Compact" }, finish_destroy: { - id: "Compact", + id: "Compact" }, mint: { id: "Compact", beneficiary: "AccountId20", - amount: "Compact", + amount: "Compact" }, burn: { id: "Compact", who: "AccountId20", - amount: "Compact", + amount: "Compact" }, transfer: { id: "Compact", target: "AccountId20", - amount: "Compact", + amount: "Compact" }, transfer_keep_alive: { id: "Compact", target: "AccountId20", - amount: "Compact", + amount: "Compact" }, force_transfer: { id: "Compact", source: "AccountId20", dest: "AccountId20", - amount: "Compact", + amount: "Compact" }, freeze: { id: "Compact", - who: "AccountId20", + who: "AccountId20" }, thaw: { id: "Compact", - who: "AccountId20", + who: "AccountId20" }, freeze_asset: { - id: "Compact", + id: "Compact" }, thaw_asset: { - id: "Compact", + id: "Compact" }, transfer_ownership: { id: "Compact", - owner: "AccountId20", + owner: "AccountId20" }, set_team: { id: "Compact", issuer: "AccountId20", admin: "AccountId20", - freezer: "AccountId20", + freezer: "AccountId20" }, set_metadata: { id: "Compact", name: "Bytes", symbol: "Bytes", - decimals: "u8", + decimals: "u8" }, clear_metadata: { - id: "Compact", + id: "Compact" }, force_set_metadata: { id: "Compact", name: "Bytes", symbol: "Bytes", decimals: "u8", - isFrozen: "bool", + isFrozen: "bool" }, force_clear_metadata: { - id: "Compact", + id: "Compact" }, force_asset_status: { id: "Compact", @@ -3637,89 +3990,93 @@ export default { freezer: "AccountId20", minBalance: "Compact", isSufficient: "bool", - isFrozen: "bool", + isFrozen: "bool" }, approve_transfer: { id: "Compact", delegate: "AccountId20", - amount: "Compact", + amount: "Compact" }, cancel_approval: { id: "Compact", - delegate: "AccountId20", + delegate: "AccountId20" }, force_cancel_approval: { id: "Compact", owner: "AccountId20", - delegate: "AccountId20", + delegate: "AccountId20" }, transfer_approved: { id: "Compact", owner: "AccountId20", destination: "AccountId20", - amount: "Compact", + amount: "Compact" }, touch: { - id: "Compact", + id: "Compact" }, refund: { id: "Compact", - allowBurn: "bool", + allowBurn: "bool" }, set_min_balance: { id: "Compact", - minBalance: "u128", + minBalance: "u128" }, touch_other: { id: "Compact", - who: "AccountId20", + who: "AccountId20" }, refund_other: { id: "Compact", - who: "AccountId20", + who: "AccountId20" }, block: { id: "Compact", - who: "AccountId20", - }, - }, + who: "AccountId20" + } + } }, - /** Lookup328: pallet_asset_manager::pallet::Call */ + /** + * Lookup328: pallet_asset_manager::pallet::Call + **/ PalletAssetManagerCall: { _enum: { register_foreign_asset: { asset: "MoonbaseRuntimeXcmConfigAssetType", metadata: "MoonbaseRuntimeAssetConfigAssetRegistrarMetadata", minAmount: "u128", - isSufficient: "bool", + isSufficient: "bool" }, __Unused1: "Null", change_existing_asset_type: { assetId: "u128", newAssetType: "MoonbaseRuntimeXcmConfigAssetType", - numAssetsWeightHint: "u32", + numAssetsWeightHint: "u32" }, __Unused3: "Null", remove_existing_asset_type: { assetId: "u128", - numAssetsWeightHint: "u32", + numAssetsWeightHint: "u32" }, __Unused5: "Null", destroy_foreign_asset: { assetId: "u128", - numAssetsWeightHint: "u32", - }, - }, + numAssetsWeightHint: "u32" + } + } }, - /** Lookup329: pallet_xcm_transactor::pallet::Call */ + /** + * Lookup329: pallet_xcm_transactor::pallet::Call + **/ PalletXcmTransactorCall: { _enum: { register: { who: "AccountId20", - index: "u16", + index: "u16" }, deregister: { - index: "u16", + index: "u16" }, transact_through_derivative: { dest: "MoonbaseRuntimeXcmConfigTransactors", @@ -3727,7 +4084,7 @@ export default { fee: "PalletXcmTransactorCurrencyPayment", innerCall: "Bytes", weightInfo: "PalletXcmTransactorTransactWeights", - refund: "bool", + refund: "bool" }, transact_through_sovereign: { dest: "XcmVersionedLocation", @@ -3736,428 +4093,486 @@ export default { call: "Bytes", originKind: "XcmV3OriginKind", weightInfo: "PalletXcmTransactorTransactWeights", - refund: "bool", + refund: "bool" }, set_transact_info: { location: "XcmVersionedLocation", transactExtraWeight: "SpWeightsWeightV2Weight", maxWeight: "SpWeightsWeightV2Weight", - transactExtraWeightSigned: "Option", + transactExtraWeightSigned: "Option" }, remove_transact_info: { - location: "XcmVersionedLocation", + location: "XcmVersionedLocation" }, transact_through_signed: { dest: "XcmVersionedLocation", fee: "PalletXcmTransactorCurrencyPayment", call: "Bytes", weightInfo: "PalletXcmTransactorTransactWeights", - refund: "bool", + refund: "bool" }, set_fee_per_second: { assetLocation: "XcmVersionedLocation", - feePerSecond: "u128", + feePerSecond: "u128" }, remove_fee_per_second: { - assetLocation: "XcmVersionedLocation", + assetLocation: "XcmVersionedLocation" }, hrmp_manage: { action: "PalletXcmTransactorHrmpOperation", fee: "PalletXcmTransactorCurrencyPayment", - weightInfo: "PalletXcmTransactorTransactWeights", - }, - }, + weightInfo: "PalletXcmTransactorTransactWeights" + } + } }, - /** Lookup330: moonbase_runtime::xcm_config::Transactors */ + /** + * Lookup330: moonbase_runtime::xcm_config::Transactors + **/ MoonbaseRuntimeXcmConfigTransactors: { - _enum: ["Relay"], + _enum: ["Relay"] }, - /** Lookup331: pallet_xcm_transactor::pallet::CurrencyPayment */ + /** + * Lookup331: pallet_xcm_transactor::pallet::CurrencyPayment + **/ PalletXcmTransactorCurrencyPayment: { currency: "PalletXcmTransactorCurrency", - feeAmount: "Option", + feeAmount: "Option" }, - /** Lookup332: moonbase_runtime::xcm_config::CurrencyId */ + /** + * Lookup332: moonbase_runtime::xcm_config::CurrencyId + **/ MoonbaseRuntimeXcmConfigCurrencyId: { _enum: { SelfReserve: "Null", ForeignAsset: "u128", Erc20: { - contractAddress: "H160", - }, - }, + contractAddress: "H160" + } + } }, - /** Lookup333: pallet_xcm_transactor::pallet::Currency */ + /** + * Lookup333: pallet_xcm_transactor::pallet::Currency + **/ PalletXcmTransactorCurrency: { _enum: { AsCurrencyId: "MoonbaseRuntimeXcmConfigCurrencyId", - AsMultiLocation: "XcmVersionedLocation", - }, + AsMultiLocation: "XcmVersionedLocation" + } }, - /** Lookup335: pallet_xcm_transactor::pallet::TransactWeights */ + /** + * Lookup335: pallet_xcm_transactor::pallet::TransactWeights + **/ PalletXcmTransactorTransactWeights: { transactRequiredWeightAtMost: "SpWeightsWeightV2Weight", - overallWeight: "Option", + overallWeight: "Option" }, - /** Lookup337: pallet_moonbeam_orbiters::pallet::Call */ + /** + * Lookup337: pallet_moonbeam_orbiters::pallet::Call + **/ PalletMoonbeamOrbitersCall: { _enum: { collator_add_orbiter: { - orbiter: "AccountId20", + orbiter: "AccountId20" }, collator_remove_orbiter: { - orbiter: "AccountId20", + orbiter: "AccountId20" }, orbiter_leave_collator_pool: { - collator: "AccountId20", + collator: "AccountId20" }, orbiter_register: "Null", orbiter_unregister: { - collatorsPoolCount: "u32", + collatorsPoolCount: "u32" }, add_collator: { - collator: "AccountId20", + collator: "AccountId20" }, remove_collator: { - collator: "AccountId20", - }, - }, + collator: "AccountId20" + } + } }, - /** Lookup338: pallet_ethereum_xcm::pallet::Call */ + /** + * Lookup338: pallet_ethereum_xcm::pallet::Call + **/ PalletEthereumXcmCall: { _enum: { transact: { - xcmTransaction: "XcmPrimitivesEthereumXcmEthereumXcmTransaction", + xcmTransaction: "XcmPrimitivesEthereumXcmEthereumXcmTransaction" }, transact_through_proxy: { transactAs: "H160", - xcmTransaction: "XcmPrimitivesEthereumXcmEthereumXcmTransaction", + xcmTransaction: "XcmPrimitivesEthereumXcmEthereumXcmTransaction" }, suspend_ethereum_xcm_execution: "Null", resume_ethereum_xcm_execution: "Null", force_transact_as: { transactAs: "H160", xcmTransaction: "XcmPrimitivesEthereumXcmEthereumXcmTransaction", - forceCreateAddress: "Option", - }, - }, + forceCreateAddress: "Option" + } + } }, - /** Lookup339: xcm_primitives::ethereum_xcm::EthereumXcmTransaction */ + /** + * Lookup339: xcm_primitives::ethereum_xcm::EthereumXcmTransaction + **/ XcmPrimitivesEthereumXcmEthereumXcmTransaction: { _enum: { V1: "XcmPrimitivesEthereumXcmEthereumXcmTransactionV1", - V2: "XcmPrimitivesEthereumXcmEthereumXcmTransactionV2", - }, + V2: "XcmPrimitivesEthereumXcmEthereumXcmTransactionV2" + } }, - /** Lookup340: xcm_primitives::ethereum_xcm::EthereumXcmTransactionV1 */ + /** + * Lookup340: xcm_primitives::ethereum_xcm::EthereumXcmTransactionV1 + **/ XcmPrimitivesEthereumXcmEthereumXcmTransactionV1: { gasLimit: "U256", feePayment: "XcmPrimitivesEthereumXcmEthereumXcmFee", action: "EthereumTransactionTransactionAction", value: "U256", input: "Bytes", - accessList: "Option)>>", + accessList: "Option)>>" }, - /** Lookup341: xcm_primitives::ethereum_xcm::EthereumXcmFee */ + /** + * Lookup341: xcm_primitives::ethereum_xcm::EthereumXcmFee + **/ XcmPrimitivesEthereumXcmEthereumXcmFee: { _enum: { Manual: "XcmPrimitivesEthereumXcmManualEthereumXcmFee", - Auto: "Null", - }, + Auto: "Null" + } }, - /** Lookup342: xcm_primitives::ethereum_xcm::ManualEthereumXcmFee */ + /** + * Lookup342: xcm_primitives::ethereum_xcm::ManualEthereumXcmFee + **/ XcmPrimitivesEthereumXcmManualEthereumXcmFee: { gasPrice: "Option", - maxFeePerGas: "Option", + maxFeePerGas: "Option" }, - /** Lookup345: xcm_primitives::ethereum_xcm::EthereumXcmTransactionV2 */ + /** + * Lookup345: xcm_primitives::ethereum_xcm::EthereumXcmTransactionV2 + **/ XcmPrimitivesEthereumXcmEthereumXcmTransactionV2: { gasLimit: "U256", action: "EthereumTransactionTransactionAction", value: "U256", input: "Bytes", - accessList: "Option)>>", + accessList: "Option)>>" }, - /** Lookup347: pallet_randomness::pallet::Call */ + /** + * Lookup347: pallet_randomness::pallet::Call + **/ PalletRandomnessCall: { - _enum: ["set_babe_randomness_results"], + _enum: ["set_babe_randomness_results"] }, - /** Lookup348: pallet_collective::pallet::Call */ + /** + * Lookup348: pallet_collective::pallet::Call + **/ PalletCollectiveCall: { _enum: { set_members: { newMembers: "Vec", prime: "Option", - oldCount: "u32", + oldCount: "u32" }, execute: { proposal: "Call", - lengthBound: "Compact", + lengthBound: "Compact" }, propose: { threshold: "Compact", proposal: "Call", - lengthBound: "Compact", + lengthBound: "Compact" }, vote: { proposal: "H256", index: "Compact", - approve: "bool", + approve: "bool" }, __Unused4: "Null", disapprove_proposal: { - proposalHash: "H256", + proposalHash: "H256" }, close: { proposalHash: "H256", index: "Compact", proposalWeightBound: "SpWeightsWeightV2Weight", - lengthBound: "Compact", - }, - }, + lengthBound: "Compact" + } + } }, - /** Lookup349: pallet_conviction_voting::pallet::Call */ + /** + * Lookup349: pallet_conviction_voting::pallet::Call + **/ PalletConvictionVotingCall: { _enum: { vote: { pollIndex: "Compact", - vote: "PalletConvictionVotingVoteAccountVote", + vote: "PalletConvictionVotingVoteAccountVote" }, delegate: { class: "u16", to: "AccountId20", conviction: "PalletConvictionVotingConviction", - balance: "u128", + balance: "u128" }, undelegate: { - class: "u16", + class: "u16" }, unlock: { class: "u16", - target: "AccountId20", + target: "AccountId20" }, remove_vote: { class: "Option", - index: "u32", + index: "u32" }, remove_other_vote: { target: "AccountId20", class: "u16", - index: "u32", - }, - }, + index: "u32" + } + } }, - /** Lookup350: pallet_conviction_voting::vote::AccountVote */ + /** + * Lookup350: pallet_conviction_voting::vote::AccountVote + **/ PalletConvictionVotingVoteAccountVote: { _enum: { Standard: { vote: "Vote", - balance: "u128", + balance: "u128" }, Split: { aye: "u128", - nay: "u128", + nay: "u128" }, SplitAbstain: { aye: "u128", nay: "u128", - abstain: "u128", - }, - }, + abstain: "u128" + } + } }, - /** Lookup352: pallet_conviction_voting::conviction::Conviction */ + /** + * Lookup352: pallet_conviction_voting::conviction::Conviction + **/ PalletConvictionVotingConviction: { - _enum: ["None", "Locked1x", "Locked2x", "Locked3x", "Locked4x", "Locked5x", "Locked6x"], + _enum: ["None", "Locked1x", "Locked2x", "Locked3x", "Locked4x", "Locked5x", "Locked6x"] }, - /** Lookup354: pallet_referenda::pallet::Call */ + /** + * Lookup354: pallet_referenda::pallet::Call + **/ PalletReferendaCall: { _enum: { submit: { proposalOrigin: "MoonbaseRuntimeOriginCaller", proposal: "FrameSupportPreimagesBounded", - enactmentMoment: "FrameSupportScheduleDispatchTime", + enactmentMoment: "FrameSupportScheduleDispatchTime" }, place_decision_deposit: { - index: "u32", + index: "u32" }, refund_decision_deposit: { - index: "u32", + index: "u32" }, cancel: { - index: "u32", + index: "u32" }, kill: { - index: "u32", + index: "u32" }, nudge_referendum: { - index: "u32", + index: "u32" }, one_fewer_deciding: { - track: "u16", + track: "u16" }, refund_submission_deposit: { - index: "u32", + index: "u32" }, set_metadata: { index: "u32", - maybeHash: "Option", - }, - }, + maybeHash: "Option" + } + } }, - /** Lookup355: frame_support::traits::schedule::DispatchTime */ + /** + * Lookup355: frame_support::traits::schedule::DispatchTime + **/ FrameSupportScheduleDispatchTime: { _enum: { At: "u32", - After: "u32", - }, + After: "u32" + } }, - /** Lookup357: pallet_preimage::pallet::Call */ + /** + * Lookup357: pallet_preimage::pallet::Call + **/ PalletPreimageCall: { _enum: { note_preimage: { - bytes: "Bytes", + bytes: "Bytes" }, unnote_preimage: { _alias: { - hash_: "hash", + hash_: "hash" }, - hash_: "H256", + hash_: "H256" }, request_preimage: { _alias: { - hash_: "hash", + hash_: "hash" }, - hash_: "H256", + hash_: "H256" }, unrequest_preimage: { _alias: { - hash_: "hash", + hash_: "hash" }, - hash_: "H256", + hash_: "H256" }, ensure_updated: { - hashes: "Vec", - }, - }, + hashes: "Vec" + } + } }, - /** Lookup358: pallet_whitelist::pallet::Call */ + /** + * Lookup358: pallet_whitelist::pallet::Call + **/ PalletWhitelistCall: { _enum: { whitelist_call: { - callHash: "H256", + callHash: "H256" }, remove_whitelisted_call: { - callHash: "H256", + callHash: "H256" }, dispatch_whitelisted_call: { callHash: "H256", callEncodedLen: "u32", - callWeightWitness: "SpWeightsWeightV2Weight", + callWeightWitness: "SpWeightsWeightV2Weight" }, dispatch_whitelisted_call_with_preimage: { - call: "Call", - }, - }, + call: "Call" + } + } }, - /** Lookup360: pallet_root_testing::pallet::Call */ + /** + * Lookup360: pallet_root_testing::pallet::Call + **/ PalletRootTestingCall: { _enum: { fill_block: { - ratio: "Perbill", + ratio: "Perbill" }, - trigger_defensive: "Null", - }, + trigger_defensive: "Null" + } }, - /** Lookup361: pallet_multisig::pallet::Call */ + /** + * Lookup361: pallet_multisig::pallet::Call + **/ PalletMultisigCall: { _enum: { as_multi_threshold_1: { otherSignatories: "Vec", - call: "Call", + call: "Call" }, as_multi: { threshold: "u16", otherSignatories: "Vec", maybeTimepoint: "Option", call: "Call", - maxWeight: "SpWeightsWeightV2Weight", + maxWeight: "SpWeightsWeightV2Weight" }, approve_as_multi: { threshold: "u16", otherSignatories: "Vec", maybeTimepoint: "Option", callHash: "[u8;32]", - maxWeight: "SpWeightsWeightV2Weight", + maxWeight: "SpWeightsWeightV2Weight" }, cancel_as_multi: { threshold: "u16", otherSignatories: "Vec", timepoint: "PalletMultisigTimepoint", - callHash: "[u8;32]", - }, - }, + callHash: "[u8;32]" + } + } }, - /** Lookup363: pallet_multisig::Timepoint */ + /** + * Lookup363: pallet_multisig::Timepoint + **/ PalletMultisigTimepoint: { height: "u32", - index: "u32", + index: "u32" }, - /** Lookup364: pallet_moonbeam_lazy_migrations::pallet::Call */ + /** + * Lookup364: pallet_moonbeam_lazy_migrations::pallet::Call + **/ PalletMoonbeamLazyMigrationsCall: { _enum: { __Unused0: "Null", __Unused1: "Null", create_contract_metadata: { - address: "H160", + address: "H160" }, approve_assets_to_migrate: { - assets: "Vec", + assets: "Vec" }, start_foreign_assets_migration: { - assetId: "u128", + assetId: "u128" }, migrate_foreign_asset_balances: { - limit: "u32", + limit: "u32" }, migrate_foreign_asset_approvals: { - limit: "u32", + limit: "u32" }, - finish_foreign_assets_migration: "Null", - }, + finish_foreign_assets_migration: "Null" + } }, - /** Lookup367: pallet_message_queue::pallet::Call */ + /** + * Lookup367: pallet_message_queue::pallet::Call + **/ PalletMessageQueueCall: { _enum: { reap_page: { messageOrigin: "CumulusPrimitivesCoreAggregateMessageOrigin", - pageIndex: "u32", + pageIndex: "u32" }, execute_overweight: { messageOrigin: "CumulusPrimitivesCoreAggregateMessageOrigin", page: "u32", index: "u32", - weightLimit: "SpWeightsWeightV2Weight", - }, - }, + weightLimit: "SpWeightsWeightV2Weight" + } + } }, - /** Lookup368: cumulus_primitives_core::AggregateMessageOrigin */ + /** + * Lookup368: cumulus_primitives_core::AggregateMessageOrigin + **/ CumulusPrimitivesCoreAggregateMessageOrigin: { _enum: { Here: "Null", Parent: "Null", - Sibling: "u32", - }, + Sibling: "u32" + } }, - /** Lookup369: pallet_emergency_para_xcm::pallet::Call */ + /** + * Lookup369: pallet_emergency_para_xcm::pallet::Call + **/ PalletEmergencyParaXcmCall: { _enum: { paused_to_normal: "Null", fast_authorize_upgrade: { - codeHash: "H256", - }, - }, + codeHash: "H256" + } + } }, - /** Lookup370: pallet_moonbeam_foreign_assets::pallet::Call */ + /** + * Lookup370: pallet_moonbeam_foreign_assets::pallet::Call + **/ PalletMoonbeamForeignAssetsCall: { _enum: { create_foreign_asset: { @@ -4165,191 +4580,225 @@ export default { xcmLocation: "StagingXcmV4Location", decimals: "u8", symbol: "Bytes", - name: "Bytes", + name: "Bytes" }, change_xcm_location: { assetId: "u128", - newXcmLocation: "StagingXcmV4Location", + newXcmLocation: "StagingXcmV4Location" }, freeze_foreign_asset: { assetId: "u128", - allowXcmDeposit: "bool", + allowXcmDeposit: "bool" }, unfreeze_foreign_asset: { - assetId: "u128", - }, - }, + assetId: "u128" + } + } }, - /** Lookup372: pallet_parameters::pallet::Call */ + /** + * Lookup372: pallet_parameters::pallet::Call + **/ PalletParametersCall: { _enum: { set_parameter: { - keyValue: "MoonbaseRuntimeRuntimeParamsRuntimeParameters", - }, - }, + keyValue: "MoonbaseRuntimeRuntimeParamsRuntimeParameters" + } + } }, - /** Lookup373: moonbase_runtime::runtime_params::RuntimeParameters */ + /** + * Lookup373: moonbase_runtime::runtime_params::RuntimeParameters + **/ MoonbaseRuntimeRuntimeParamsRuntimeParameters: { _enum: { RuntimeConfig: "MoonbaseRuntimeRuntimeParamsDynamicParamsRuntimeConfigParameters", - PalletRandomness: "MoonbaseRuntimeRuntimeParamsDynamicParamsPalletRandomnessParameters", - }, + PalletRandomness: "MoonbaseRuntimeRuntimeParamsDynamicParamsPalletRandomnessParameters" + } }, - /** Lookup374: moonbase_runtime::runtime_params::dynamic_params::runtime_config::Parameters */ + /** + * Lookup374: moonbase_runtime::runtime_params::dynamic_params::runtime_config::Parameters + **/ MoonbaseRuntimeRuntimeParamsDynamicParamsRuntimeConfigParameters: { _enum: { FeesTreasuryProportion: - "(MoonbaseRuntimeRuntimeParamsDynamicParamsRuntimeConfigFeesTreasuryProportion,Option)", - }, + "(MoonbaseRuntimeRuntimeParamsDynamicParamsRuntimeConfigFeesTreasuryProportion,Option)" + } }, - /** Lookup375: moonbase_runtime::runtime_params::dynamic_params::runtime_config::FeesTreasuryProportion */ + /** + * Lookup375: moonbase_runtime::runtime_params::dynamic_params::runtime_config::FeesTreasuryProportion + **/ MoonbaseRuntimeRuntimeParamsDynamicParamsRuntimeConfigFeesTreasuryProportion: "Null", - /** Lookup377: moonbase_runtime::runtime_params::dynamic_params::pallet_randomness::Parameters */ + /** + * Lookup377: moonbase_runtime::runtime_params::dynamic_params::pallet_randomness::Parameters + **/ MoonbaseRuntimeRuntimeParamsDynamicParamsPalletRandomnessParameters: { _enum: { - Deposit: "(MoonbaseRuntimeRuntimeParamsDynamicParamsPalletRandomnessDeposit,Option)", - }, + Deposit: "(MoonbaseRuntimeRuntimeParamsDynamicParamsPalletRandomnessDeposit,Option)" + } }, - /** Lookup378: moonbase_runtime::runtime_params::dynamic_params::pallet_randomness::Deposit */ + /** + * Lookup378: moonbase_runtime::runtime_params::dynamic_params::pallet_randomness::Deposit + **/ MoonbaseRuntimeRuntimeParamsDynamicParamsPalletRandomnessDeposit: "Null", - /** Lookup381: pallet_xcm_weight_trader::pallet::Call */ + /** + * Lookup381: pallet_xcm_weight_trader::pallet::Call + **/ PalletXcmWeightTraderCall: { _enum: { add_asset: { location: "StagingXcmV4Location", - relativePrice: "u128", + relativePrice: "u128" }, edit_asset: { location: "StagingXcmV4Location", - relativePrice: "u128", + relativePrice: "u128" }, pause_asset_support: { - location: "StagingXcmV4Location", + location: "StagingXcmV4Location" }, resume_asset_support: { - location: "StagingXcmV4Location", + location: "StagingXcmV4Location" }, remove_asset: { - location: "StagingXcmV4Location", - }, - }, + location: "StagingXcmV4Location" + } + } }, - /** Lookup382: sp_runtime::traits::BlakeTwo256 */ + /** + * Lookup382: sp_runtime::traits::BlakeTwo256 + **/ SpRuntimeBlakeTwo256: "Null", - /** Lookup384: pallet_conviction_voting::types::Tally */ + /** + * Lookup384: pallet_conviction_voting::types::Tally + **/ PalletConvictionVotingTally: { ayes: "u128", nays: "u128", - support: "u128", + support: "u128" }, - /** Lookup385: pallet_preimage::pallet::Event */ + /** + * Lookup385: pallet_preimage::pallet::Event + **/ PalletPreimageEvent: { _enum: { Noted: { _alias: { - hash_: "hash", + hash_: "hash" }, - hash_: "H256", + hash_: "H256" }, Requested: { _alias: { - hash_: "hash", + hash_: "hash" }, - hash_: "H256", + hash_: "H256" }, Cleared: { _alias: { - hash_: "hash", + hash_: "hash" }, - hash_: "H256", - }, - }, + hash_: "H256" + } + } }, - /** Lookup386: pallet_whitelist::pallet::Event */ + /** + * Lookup386: pallet_whitelist::pallet::Event + **/ PalletWhitelistEvent: { _enum: { CallWhitelisted: { - callHash: "H256", + callHash: "H256" }, WhitelistedCallRemoved: { - callHash: "H256", + callHash: "H256" }, WhitelistedCallDispatched: { callHash: "H256", - result: "Result", - }, - }, + result: "Result" + } + } }, - /** Lookup388: frame_support::dispatch::PostDispatchInfo */ + /** + * Lookup388: frame_support::dispatch::PostDispatchInfo + **/ FrameSupportDispatchPostDispatchInfo: { actualWeight: "Option", - paysFee: "FrameSupportDispatchPays", + paysFee: "FrameSupportDispatchPays" }, - /** Lookup389: sp_runtime::DispatchErrorWithPostInfo */ + /** + * Lookup389: sp_runtime::DispatchErrorWithPostInfo + **/ SpRuntimeDispatchErrorWithPostInfo: { postInfo: "FrameSupportDispatchPostDispatchInfo", - error: "SpRuntimeDispatchError", + error: "SpRuntimeDispatchError" }, - /** Lookup391: pallet_root_testing::pallet::Event */ + /** + * Lookup391: pallet_root_testing::pallet::Event + **/ PalletRootTestingEvent: { - _enum: ["DefensiveTestCall"], + _enum: ["DefensiveTestCall"] }, - /** Lookup392: pallet_multisig::pallet::Event */ + /** + * Lookup392: pallet_multisig::pallet::Event + **/ PalletMultisigEvent: { _enum: { NewMultisig: { approving: "AccountId20", multisig: "AccountId20", - callHash: "[u8;32]", + callHash: "[u8;32]" }, MultisigApproval: { approving: "AccountId20", timepoint: "PalletMultisigTimepoint", multisig: "AccountId20", - callHash: "[u8;32]", + callHash: "[u8;32]" }, MultisigExecuted: { approving: "AccountId20", timepoint: "PalletMultisigTimepoint", multisig: "AccountId20", callHash: "[u8;32]", - result: "Result", + result: "Result" }, MultisigCancelled: { cancelling: "AccountId20", timepoint: "PalletMultisigTimepoint", multisig: "AccountId20", - callHash: "[u8;32]", - }, - }, + callHash: "[u8;32]" + } + } }, - /** Lookup393: pallet_message_queue::pallet::Event */ + /** + * Lookup393: pallet_message_queue::pallet::Event + **/ PalletMessageQueueEvent: { _enum: { ProcessingFailed: { id: "H256", origin: "CumulusPrimitivesCoreAggregateMessageOrigin", - error: "FrameSupportMessagesProcessMessageError", + error: "FrameSupportMessagesProcessMessageError" }, Processed: { id: "H256", origin: "CumulusPrimitivesCoreAggregateMessageOrigin", weightUsed: "SpWeightsWeightV2Weight", - success: "bool", + success: "bool" }, OverweightEnqueued: { id: "[u8;32]", origin: "CumulusPrimitivesCoreAggregateMessageOrigin", pageIndex: "u32", - messageIndex: "u32", + messageIndex: "u32" }, PageReaped: { origin: "CumulusPrimitivesCoreAggregateMessageOrigin", - index: "u32", - }, - }, + index: "u32" + } + } }, - /** Lookup394: frame_support::traits::messages::ProcessMessageError */ + /** + * Lookup394: frame_support::traits::messages::ProcessMessageError + **/ FrameSupportMessagesProcessMessageError: { _enum: { BadFormat: "Null", @@ -4357,154 +4806,194 @@ export default { Unsupported: "Null", Overweight: "SpWeightsWeightV2Weight", Yield: "Null", - StackLimitReached: "Null", - }, + StackLimitReached: "Null" + } }, - /** Lookup395: pallet_emergency_para_xcm::pallet::Event */ + /** + * Lookup395: pallet_emergency_para_xcm::pallet::Event + **/ PalletEmergencyParaXcmEvent: { - _enum: ["EnteredPausedXcmMode", "NormalXcmOperationResumed"], + _enum: ["EnteredPausedXcmMode", "NormalXcmOperationResumed"] }, - /** Lookup396: pallet_moonbeam_foreign_assets::pallet::Event */ + /** + * Lookup396: pallet_moonbeam_foreign_assets::pallet::Event + **/ PalletMoonbeamForeignAssetsEvent: { _enum: { ForeignAssetCreated: { contractAddress: "H160", assetId: "u128", - xcmLocation: "StagingXcmV4Location", + xcmLocation: "StagingXcmV4Location" }, ForeignAssetXcmLocationChanged: { assetId: "u128", - newXcmLocation: "StagingXcmV4Location", + newXcmLocation: "StagingXcmV4Location" }, ForeignAssetFrozen: { assetId: "u128", - xcmLocation: "StagingXcmV4Location", + xcmLocation: "StagingXcmV4Location" }, ForeignAssetUnfrozen: { assetId: "u128", - xcmLocation: "StagingXcmV4Location", - }, - }, + xcmLocation: "StagingXcmV4Location" + } + } }, - /** Lookup397: pallet_parameters::pallet::Event */ + /** + * Lookup397: pallet_parameters::pallet::Event + **/ PalletParametersEvent: { _enum: { Updated: { key: "MoonbaseRuntimeRuntimeParamsRuntimeParametersKey", oldValue: "Option", - newValue: "Option", - }, - }, + newValue: "Option" + } + } }, - /** Lookup398: moonbase_runtime::runtime_params::RuntimeParametersKey */ + /** + * Lookup398: moonbase_runtime::runtime_params::RuntimeParametersKey + **/ MoonbaseRuntimeRuntimeParamsRuntimeParametersKey: { _enum: { RuntimeConfig: "MoonbaseRuntimeRuntimeParamsDynamicParamsRuntimeConfigParametersKey", - PalletRandomness: "MoonbaseRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersKey", - }, + PalletRandomness: "MoonbaseRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersKey" + } }, - /** Lookup399: moonbase_runtime::runtime_params::dynamic_params::runtime_config::ParametersKey */ + /** + * Lookup399: moonbase_runtime::runtime_params::dynamic_params::runtime_config::ParametersKey + **/ MoonbaseRuntimeRuntimeParamsDynamicParamsRuntimeConfigParametersKey: { - _enum: ["FeesTreasuryProportion"], + _enum: ["FeesTreasuryProportion"] }, - /** Lookup400: moonbase_runtime::runtime_params::dynamic_params::pallet_randomness::ParametersKey */ + /** + * Lookup400: moonbase_runtime::runtime_params::dynamic_params::pallet_randomness::ParametersKey + **/ MoonbaseRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersKey: { - _enum: ["Deposit"], + _enum: ["Deposit"] }, - /** Lookup402: moonbase_runtime::runtime_params::RuntimeParametersValue */ + /** + * Lookup402: moonbase_runtime::runtime_params::RuntimeParametersValue + **/ MoonbaseRuntimeRuntimeParamsRuntimeParametersValue: { _enum: { RuntimeConfig: "MoonbaseRuntimeRuntimeParamsDynamicParamsRuntimeConfigParametersValue", - PalletRandomness: "MoonbaseRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersValue", - }, + PalletRandomness: "MoonbaseRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersValue" + } }, - /** Lookup403: moonbase_runtime::runtime_params::dynamic_params::runtime_config::ParametersValue */ + /** + * Lookup403: moonbase_runtime::runtime_params::dynamic_params::runtime_config::ParametersValue + **/ MoonbaseRuntimeRuntimeParamsDynamicParamsRuntimeConfigParametersValue: { _enum: { - FeesTreasuryProportion: "Perbill", - }, + FeesTreasuryProportion: "Perbill" + } }, - /** Lookup404: moonbase_runtime::runtime_params::dynamic_params::pallet_randomness::ParametersValue */ + /** + * Lookup404: moonbase_runtime::runtime_params::dynamic_params::pallet_randomness::ParametersValue + **/ MoonbaseRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersValue: { _enum: { - Deposit: "u128", - }, + Deposit: "u128" + } }, - /** Lookup405: pallet_xcm_weight_trader::pallet::Event */ + /** + * Lookup405: pallet_xcm_weight_trader::pallet::Event + **/ PalletXcmWeightTraderEvent: { _enum: { SupportedAssetAdded: { location: "StagingXcmV4Location", - relativePrice: "u128", + relativePrice: "u128" }, SupportedAssetEdited: { location: "StagingXcmV4Location", - relativePrice: "u128", + relativePrice: "u128" }, PauseAssetSupport: { - location: "StagingXcmV4Location", + location: "StagingXcmV4Location" }, ResumeAssetSupport: { - location: "StagingXcmV4Location", + location: "StagingXcmV4Location" }, SupportedAssetRemoved: { - location: "StagingXcmV4Location", - }, - }, + location: "StagingXcmV4Location" + } + } }, - /** Lookup406: frame_system::Phase */ + /** + * Lookup406: frame_system::Phase + **/ FrameSystemPhase: { _enum: { ApplyExtrinsic: "u32", Finalization: "Null", - Initialization: "Null", - }, + Initialization: "Null" + } }, - /** Lookup408: frame_system::LastRuntimeUpgradeInfo */ + /** + * Lookup408: frame_system::LastRuntimeUpgradeInfo + **/ FrameSystemLastRuntimeUpgradeInfo: { specVersion: "Compact", - specName: "Text", + specName: "Text" }, - /** Lookup409: frame_system::CodeUpgradeAuthorization */ + /** + * Lookup409: frame_system::CodeUpgradeAuthorization + **/ FrameSystemCodeUpgradeAuthorization: { codeHash: "H256", - checkVersion: "bool", + checkVersion: "bool" }, - /** Lookup410: frame_system::limits::BlockWeights */ + /** + * Lookup410: frame_system::limits::BlockWeights + **/ FrameSystemLimitsBlockWeights: { baseBlock: "SpWeightsWeightV2Weight", maxBlock: "SpWeightsWeightV2Weight", - perClass: "FrameSupportDispatchPerDispatchClassWeightsPerClass", + perClass: "FrameSupportDispatchPerDispatchClassWeightsPerClass" }, - /** Lookup411: frame_support::dispatch::PerDispatchClass */ + /** + * Lookup411: frame_support::dispatch::PerDispatchClass + **/ FrameSupportDispatchPerDispatchClassWeightsPerClass: { normal: "FrameSystemLimitsWeightsPerClass", operational: "FrameSystemLimitsWeightsPerClass", - mandatory: "FrameSystemLimitsWeightsPerClass", + mandatory: "FrameSystemLimitsWeightsPerClass" }, - /** Lookup412: frame_system::limits::WeightsPerClass */ + /** + * Lookup412: frame_system::limits::WeightsPerClass + **/ FrameSystemLimitsWeightsPerClass: { baseExtrinsic: "SpWeightsWeightV2Weight", maxExtrinsic: "Option", maxTotal: "Option", - reserved: "Option", + reserved: "Option" }, - /** Lookup413: frame_system::limits::BlockLength */ + /** + * Lookup413: frame_system::limits::BlockLength + **/ FrameSystemLimitsBlockLength: { - max: "FrameSupportDispatchPerDispatchClassU32", + max: "FrameSupportDispatchPerDispatchClassU32" }, - /** Lookup414: frame_support::dispatch::PerDispatchClass */ + /** + * Lookup414: frame_support::dispatch::PerDispatchClass + **/ FrameSupportDispatchPerDispatchClassU32: { normal: "u32", operational: "u32", - mandatory: "u32", + mandatory: "u32" }, - /** Lookup415: sp_weights::RuntimeDbWeight */ + /** + * Lookup415: sp_weights::RuntimeDbWeight + **/ SpWeightsRuntimeDbWeight: { read: "u64", - write: "u64", + write: "u64" }, - /** Lookup416: sp_version::RuntimeVersion */ + /** + * Lookup416: sp_version::RuntimeVersion + **/ SpVersionRuntimeVersion: { specName: "Text", implName: "Text", @@ -4513,9 +5002,11 @@ export default { implVersion: "u32", apis: "Vec<([u8;8],u32)>", transactionVersion: "u32", - stateVersion: "u8", + stateVersion: "u8" }, - /** Lookup420: frame_system::pallet::Error */ + /** + * Lookup420: frame_system::pallet::Error + **/ FrameSystemError: { _enum: [ "InvalidSpecName", @@ -4526,29 +5017,39 @@ export default { "CallFiltered", "MultiBlockMigrationsOngoing", "NothingAuthorized", - "Unauthorized", - ], + "Unauthorized" + ] }, - /** Lookup421: pallet_utility::pallet::Error */ + /** + * Lookup421: pallet_utility::pallet::Error + **/ PalletUtilityError: { - _enum: ["TooManyCalls"], + _enum: ["TooManyCalls"] }, - /** Lookup423: pallet_balances::types::BalanceLock */ + /** + * Lookup423: pallet_balances::types::BalanceLock + **/ PalletBalancesBalanceLock: { id: "[u8;8]", amount: "u128", - reasons: "PalletBalancesReasons", + reasons: "PalletBalancesReasons" }, - /** Lookup424: pallet_balances::types::Reasons */ + /** + * Lookup424: pallet_balances::types::Reasons + **/ PalletBalancesReasons: { - _enum: ["Fee", "Misc", "All"], + _enum: ["Fee", "Misc", "All"] }, - /** Lookup427: pallet_balances::types::ReserveData */ + /** + * Lookup427: pallet_balances::types::ReserveData + **/ PalletBalancesReserveData: { id: "[u8;4]", - amount: "u128", + amount: "u128" }, - /** Lookup431: moonbase_runtime::RuntimeHoldReason */ + /** + * Lookup431: moonbase_runtime::RuntimeHoldReason + **/ MoonbaseRuntimeRuntimeHoldReason: { _enum: { __Unused0: "Null", @@ -4595,19 +5096,25 @@ export default { __Unused41: "Null", __Unused42: "Null", __Unused43: "Null", - Preimage: "PalletPreimageHoldReason", - }, + Preimage: "PalletPreimageHoldReason" + } }, - /** Lookup432: pallet_preimage::pallet::HoldReason */ + /** + * Lookup432: pallet_preimage::pallet::HoldReason + **/ PalletPreimageHoldReason: { - _enum: ["Preimage"], + _enum: ["Preimage"] }, - /** Lookup435: frame_support::traits::tokens::misc::IdAmount */ + /** + * Lookup435: frame_support::traits::tokens::misc::IdAmount + **/ FrameSupportTokensMiscIdAmount: { id: "Null", - amount: "u128", + amount: "u128" }, - /** Lookup437: pallet_balances::pallet::Error */ + /** + * Lookup437: pallet_balances::pallet::Error + **/ PalletBalancesError: { _enum: [ "VestingBalance", @@ -4621,67 +5128,89 @@ export default { "TooManyHolds", "TooManyFreezes", "IssuanceDeactivated", - "DeltaZero", - ], + "DeltaZero" + ] }, - /** Lookup438: pallet_sudo::pallet::Error */ + /** + * Lookup438: pallet_sudo::pallet::Error + **/ PalletSudoError: { - _enum: ["RequireSudo"], + _enum: ["RequireSudo"] }, - /** Lookup440: cumulus_pallet_parachain_system::unincluded_segment::Ancestor */ + /** + * Lookup440: cumulus_pallet_parachain_system::unincluded_segment::Ancestor + **/ CumulusPalletParachainSystemUnincludedSegmentAncestor: { usedBandwidth: "CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth", paraHeadHash: "Option", - consumedGoAheadSignal: "Option", + consumedGoAheadSignal: "Option" }, - /** Lookup441: cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth */ + /** + * Lookup441: cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth + **/ CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth: { umpMsgCount: "u32", umpTotalBytes: "u32", - hrmpOutgoing: "BTreeMap", + hrmpOutgoing: "BTreeMap" }, - /** Lookup443: cumulus_pallet_parachain_system::unincluded_segment::HrmpChannelUpdate */ + /** + * Lookup443: cumulus_pallet_parachain_system::unincluded_segment::HrmpChannelUpdate + **/ CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate: { msgCount: "u32", - totalBytes: "u32", + totalBytes: "u32" }, - /** Lookup447: polkadot_primitives::v7::UpgradeGoAhead */ + /** + * Lookup447: polkadot_primitives::v7::UpgradeGoAhead + **/ PolkadotPrimitivesV7UpgradeGoAhead: { - _enum: ["Abort", "GoAhead"], + _enum: ["Abort", "GoAhead"] }, - /** Lookup448: cumulus_pallet_parachain_system::unincluded_segment::SegmentTracker */ + /** + * Lookup448: cumulus_pallet_parachain_system::unincluded_segment::SegmentTracker + **/ CumulusPalletParachainSystemUnincludedSegmentSegmentTracker: { usedBandwidth: "CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth", hrmpWatermark: "Option", - consumedGoAheadSignal: "Option", + consumedGoAheadSignal: "Option" }, - /** Lookup450: polkadot_primitives::v7::UpgradeRestriction */ + /** + * Lookup450: polkadot_primitives::v7::UpgradeRestriction + **/ PolkadotPrimitivesV7UpgradeRestriction: { - _enum: ["Present"], + _enum: ["Present"] }, - /** Lookup451: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot */ + /** + * Lookup451: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot + **/ CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: { dmqMqcHead: "H256", relayDispatchQueueRemainingCapacity: "CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity", ingressChannels: "Vec<(u32,PolkadotPrimitivesV7AbridgedHrmpChannel)>", - egressChannels: "Vec<(u32,PolkadotPrimitivesV7AbridgedHrmpChannel)>", + egressChannels: "Vec<(u32,PolkadotPrimitivesV7AbridgedHrmpChannel)>" }, - /** Lookup452: cumulus_pallet_parachain_system::relay_state_snapshot::RelayDispatchQueueRemainingCapacity */ + /** + * Lookup452: cumulus_pallet_parachain_system::relay_state_snapshot::RelayDispatchQueueRemainingCapacity + **/ CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity: { remainingCount: "u32", - remainingSize: "u32", + remainingSize: "u32" }, - /** Lookup455: polkadot_primitives::v7::AbridgedHrmpChannel */ + /** + * Lookup455: polkadot_primitives::v7::AbridgedHrmpChannel + **/ PolkadotPrimitivesV7AbridgedHrmpChannel: { maxCapacity: "u32", maxTotalSize: "u32", maxMessageSize: "u32", msgCount: "u32", totalSize: "u32", - mqcHead: "Option", + mqcHead: "Option" }, - /** Lookup456: polkadot_primitives::v7::AbridgedHostConfiguration */ + /** + * Lookup456: polkadot_primitives::v7::AbridgedHostConfiguration + **/ PolkadotPrimitivesV7AbridgedHostConfiguration: { maxCodeSize: "u32", maxHeadDataSize: "u32", @@ -4692,19 +5221,25 @@ export default { hrmpMaxMessageNumPerCandidate: "u32", validationUpgradeCooldown: "u32", validationUpgradeDelay: "u32", - asyncBackingParams: "PolkadotPrimitivesV7AsyncBackingAsyncBackingParams", + asyncBackingParams: "PolkadotPrimitivesV7AsyncBackingAsyncBackingParams" }, - /** Lookup457: polkadot_primitives::v7::async_backing::AsyncBackingParams */ + /** + * Lookup457: polkadot_primitives::v7::async_backing::AsyncBackingParams + **/ PolkadotPrimitivesV7AsyncBackingAsyncBackingParams: { maxCandidateDepth: "u32", - allowedAncestryLen: "u32", + allowedAncestryLen: "u32" }, - /** Lookup463: polkadot_core_primitives::OutboundHrmpMessage */ + /** + * Lookup463: polkadot_core_primitives::OutboundHrmpMessage + **/ PolkadotCorePrimitivesOutboundHrmpMessage: { recipient: "u32", - data: "Bytes", + data: "Bytes" }, - /** Lookup465: cumulus_pallet_parachain_system::pallet::Error */ + /** + * Lookup465: cumulus_pallet_parachain_system::pallet::Error + **/ CumulusPalletParachainSystemError: { _enum: [ "OverlappingUpgrades", @@ -4714,23 +5249,29 @@ export default { "HostConfigurationNotAvailable", "NotScheduled", "NothingAuthorized", - "Unauthorized", - ], + "Unauthorized" + ] }, - /** Lookup466: pallet_transaction_payment::Releases */ + /** + * Lookup466: pallet_transaction_payment::Releases + **/ PalletTransactionPaymentReleases: { - _enum: ["V1Ancient", "V2"], + _enum: ["V1Ancient", "V2"] }, - /** Lookup467: pallet_evm::CodeMetadata */ + /** + * Lookup467: pallet_evm::CodeMetadata + **/ PalletEvmCodeMetadata: { _alias: { size_: "size", - hash_: "hash", + hash_: "hash" }, size_: "u64", - hash_: "H256", + hash_: "H256" }, - /** Lookup469: pallet_evm::pallet::Error */ + /** + * Lookup469: pallet_evm::pallet::Error + **/ PalletEvmError: { _enum: [ "BalanceLow", @@ -4745,10 +5286,12 @@ export default { "InvalidSignature", "Reentrancy", "TransactionMustComeFromEOA", - "Undefined", - ], + "Undefined" + ] }, - /** Lookup472: fp_rpc::TransactionStatus */ + /** + * Lookup472: fp_rpc::TransactionStatus + **/ FpRpcTransactionStatus: { transactionHash: "H256", transactionIndex: "u32", @@ -4756,35 +5299,42 @@ export default { to: "Option", contractAddress: "Option", logs: "Vec", - logsBloom: "EthbloomBloom", + logsBloom: "EthbloomBloom" }, - /** Lookup474: ethbloom::Bloom */ + /** + * Lookup474: ethbloom::Bloom + **/ EthbloomBloom: "[u8;256]", - /** Lookup476: ethereum::receipt::ReceiptV3 */ + /** + * Lookup476: ethereum::receipt::ReceiptV3 + **/ EthereumReceiptReceiptV3: { _enum: { Legacy: "EthereumReceiptEip658ReceiptData", EIP2930: "EthereumReceiptEip658ReceiptData", - EIP1559: "EthereumReceiptEip658ReceiptData", - }, + EIP1559: "EthereumReceiptEip658ReceiptData" + } }, - /** Lookup477: ethereum::receipt::EIP658ReceiptData */ + /** + * Lookup477: ethereum::receipt::EIP658ReceiptData + **/ EthereumReceiptEip658ReceiptData: { statusCode: "u8", usedGas: "U256", logsBloom: "EthbloomBloom", - logs: "Vec", + logs: "Vec" }, /** - * Lookup478: - * ethereum::block::Block[ethereum::transaction::TransactionV2](ethereum::transaction::TransactionV2) - */ + * Lookup478: ethereum::block::Block + **/ EthereumBlock: { header: "EthereumHeader", transactions: "Vec", - ommers: "Vec", + ommers: "Vec" }, - /** Lookup479: ethereum::header::Header */ + /** + * Lookup479: ethereum::header::Header + **/ EthereumHeader: { parentHash: "H256", ommersHash: "H256", @@ -4800,48 +5350,60 @@ export default { timestamp: "u64", extraData: "Bytes", mixHash: "H256", - nonce: "EthereumTypesHashH64", + nonce: "EthereumTypesHashH64" }, - /** Lookup480: ethereum_types::hash::H64 */ + /** + * Lookup480: ethereum_types::hash::H64 + **/ EthereumTypesHashH64: "[u8;8]", - /** Lookup485: pallet_ethereum::pallet::Error */ + /** + * Lookup485: pallet_ethereum::pallet::Error + **/ PalletEthereumError: { - _enum: ["InvalidSignature", "PreLogExists"], + _enum: ["InvalidSignature", "PreLogExists"] }, - /** Lookup486: pallet_parachain_staking::types::RoundInfo */ + /** + * Lookup486: pallet_parachain_staking::types::RoundInfo + **/ PalletParachainStakingRoundInfo: { current: "u32", first: "u32", length: "u32", - firstSlot: "u64", + firstSlot: "u64" }, - /** Lookup487: pallet_parachain_staking::types::Delegator */ + /** + * Lookup487: pallet_parachain_staking::types::Delegator + **/ PalletParachainStakingDelegator: { id: "AccountId20", delegations: "PalletParachainStakingSetOrderedSet", total: "u128", lessTotal: "u128", - status: "PalletParachainStakingDelegatorStatus", + status: "PalletParachainStakingDelegatorStatus" }, /** - * Lookup488: - * pallet_parachain_staking::set::OrderedSet> - */ + * Lookup488: pallet_parachain_staking::set::OrderedSet> + **/ PalletParachainStakingSetOrderedSet: "Vec", - /** Lookup489: pallet_parachain_staking::types::Bond */ + /** + * Lookup489: pallet_parachain_staking::types::Bond + **/ PalletParachainStakingBond: { owner: "AccountId20", - amount: "u128", + amount: "u128" }, - /** Lookup491: pallet_parachain_staking::types::DelegatorStatus */ + /** + * Lookup491: pallet_parachain_staking::types::DelegatorStatus + **/ PalletParachainStakingDelegatorStatus: { _enum: { Active: "Null", - Leaving: "u32", - }, + Leaving: "u32" + } }, - /** Lookup492: pallet_parachain_staking::types::CandidateMetadata */ + /** + * Lookup492: pallet_parachain_staking::types::CandidateMetadata + **/ PalletParachainStakingCandidateMetadata: { bond: "u128", delegationCount: "u32", @@ -4852,87 +5414,104 @@ export default { topCapacity: "PalletParachainStakingCapacityStatus", bottomCapacity: "PalletParachainStakingCapacityStatus", request: "Option", - status: "PalletParachainStakingCollatorStatus", + status: "PalletParachainStakingCollatorStatus" }, - /** Lookup493: pallet_parachain_staking::types::CapacityStatus */ + /** + * Lookup493: pallet_parachain_staking::types::CapacityStatus + **/ PalletParachainStakingCapacityStatus: { - _enum: ["Full", "Empty", "Partial"], + _enum: ["Full", "Empty", "Partial"] }, - /** Lookup495: pallet_parachain_staking::types::CandidateBondLessRequest */ + /** + * Lookup495: pallet_parachain_staking::types::CandidateBondLessRequest + **/ PalletParachainStakingCandidateBondLessRequest: { amount: "u128", - whenExecutable: "u32", + whenExecutable: "u32" }, - /** Lookup496: pallet_parachain_staking::types::CollatorStatus */ + /** + * Lookup496: pallet_parachain_staking::types::CollatorStatus + **/ PalletParachainStakingCollatorStatus: { _enum: { Active: "Null", Idle: "Null", - Leaving: "u32", - }, + Leaving: "u32" + } }, - /** Lookup498: pallet_parachain_staking::delegation_requests::ScheduledRequest */ + /** + * Lookup498: pallet_parachain_staking::delegation_requests::ScheduledRequest + **/ PalletParachainStakingDelegationRequestsScheduledRequest: { delegator: "AccountId20", whenExecutable: "u32", - action: "PalletParachainStakingDelegationRequestsDelegationAction", + action: "PalletParachainStakingDelegationRequestsDelegationAction" }, /** - * Lookup501: - * pallet_parachain_staking::auto_compound::AutoCompoundConfig[account::AccountId20](account::AccountId20) - */ + * Lookup501: pallet_parachain_staking::auto_compound::AutoCompoundConfig + **/ PalletParachainStakingAutoCompoundAutoCompoundConfig: { delegator: "AccountId20", - value: "Percent", + value: "Percent" }, - /** Lookup503: pallet_parachain_staking::types::Delegations */ + /** + * Lookup503: pallet_parachain_staking::types::Delegations + **/ PalletParachainStakingDelegations: { delegations: "Vec", - total: "u128", + total: "u128" }, /** - * Lookup505: - * pallet_parachain_staking::set::BoundedOrderedSet, S> - */ + * Lookup505: pallet_parachain_staking::set::BoundedOrderedSet, S> + **/ PalletParachainStakingSetBoundedOrderedSet: "Vec", - /** Lookup508: pallet_parachain_staking::types::CollatorSnapshot */ + /** + * Lookup508: pallet_parachain_staking::types::CollatorSnapshot + **/ PalletParachainStakingCollatorSnapshot: { bond: "u128", delegations: "Vec", - total: "u128", + total: "u128" }, - /** Lookup510: pallet_parachain_staking::types::BondWithAutoCompound */ + /** + * Lookup510: pallet_parachain_staking::types::BondWithAutoCompound + **/ PalletParachainStakingBondWithAutoCompound: { owner: "AccountId20", amount: "u128", - autoCompound: "Percent", + autoCompound: "Percent" }, - /** Lookup511: pallet_parachain_staking::types::DelayedPayout */ + /** + * Lookup511: pallet_parachain_staking::types::DelayedPayout + **/ PalletParachainStakingDelayedPayout: { roundIssuance: "u128", totalStakingReward: "u128", - collatorCommission: "Perbill", + collatorCommission: "Perbill" }, - /** Lookup512: pallet_parachain_staking::inflation::InflationInfo */ + /** + * Lookup512: pallet_parachain_staking::inflation::InflationInfo + **/ PalletParachainStakingInflationInflationInfo: { expect: { min: "u128", ideal: "u128", - max: "u128", + max: "u128" }, annual: { min: "Perbill", ideal: "Perbill", - max: "Perbill", + max: "Perbill" }, round: { min: "Perbill", ideal: "Perbill", - max: "Perbill", - }, + max: "Perbill" + } }, - /** Lookup513: pallet_parachain_staking::pallet::Error */ + /** + * Lookup513: pallet_parachain_staking::pallet::Error + **/ PalletParachainStakingError: { _enum: [ "DelegatorDNE", @@ -4990,69 +5569,78 @@ export default { "CannotSetAboveMaxCandidates", "RemovedCall", "MarkingOfflineNotEnabled", - "CurrentRoundTooLow", - ], + "CurrentRoundTooLow" + ] }, /** - * Lookup516: pallet_scheduler::Scheduled, BlockNumber, moonbase_runtime::OriginCaller, account::AccountId20> - */ + * Lookup516: pallet_scheduler::Scheduled, BlockNumber, moonbase_runtime::OriginCaller, account::AccountId20> + **/ PalletSchedulerScheduled: { maybeId: "Option<[u8;32]>", priority: "u8", call: "FrameSupportPreimagesBounded", maybePeriodic: "Option<(u32,u32)>", - origin: "MoonbaseRuntimeOriginCaller", + origin: "MoonbaseRuntimeOriginCaller" }, - /** Lookup518: pallet_scheduler::RetryConfig */ + /** + * Lookup518: pallet_scheduler::RetryConfig + **/ PalletSchedulerRetryConfig: { totalRetries: "u8", remaining: "u8", - period: "u32", + period: "u32" }, - /** Lookup519: pallet_scheduler::pallet::Error */ + /** + * Lookup519: pallet_scheduler::pallet::Error + **/ PalletSchedulerError: { _enum: [ "FailedToSchedule", "NotFound", "TargetBlockNumberInPast", "RescheduleNoChange", - "Named", - ], + "Named" + ] }, - /** Lookup520: pallet_treasury::Proposal */ + /** + * Lookup520: pallet_treasury::Proposal + **/ PalletTreasuryProposal: { proposer: "AccountId20", value: "u128", beneficiary: "AccountId20", - bond: "u128", + bond: "u128" }, /** - * Lookup523: pallet_treasury::SpendStatus - */ + * Lookup523: pallet_treasury::SpendStatus + **/ PalletTreasurySpendStatus: { assetKind: "Null", amount: "u128", beneficiary: "AccountId20", validFrom: "u32", expireAt: "u32", - status: "PalletTreasuryPaymentState", + status: "PalletTreasuryPaymentState" }, - /** Lookup524: pallet_treasury::PaymentState */ + /** + * Lookup524: pallet_treasury::PaymentState + **/ PalletTreasuryPaymentState: { _enum: { Pending: "Null", Attempted: { - id: "Null", + id: "Null" }, - Failed: "Null", - }, + Failed: "Null" + } }, - /** Lookup526: frame_support::PalletId */ + /** + * Lookup526: frame_support::PalletId + **/ FrameSupportPalletId: "[u8;8]", - /** Lookup527: pallet_treasury::pallet::Error */ + /** + * Lookup527: pallet_treasury::pallet::Error + **/ PalletTreasuryError: { _enum: [ "InvalidIndex", @@ -5065,20 +5653,26 @@ export default { "AlreadyAttempted", "PayoutError", "NotAttempted", - "Inconclusive", - ], + "Inconclusive" + ] }, - /** Lookup528: pallet_author_inherent::pallet::Error */ + /** + * Lookup528: pallet_author_inherent::pallet::Error + **/ PalletAuthorInherentError: { - _enum: ["AuthorAlreadySet", "NoAccountId", "CannotBeAuthor"], + _enum: ["AuthorAlreadySet", "NoAccountId", "CannotBeAuthor"] }, - /** Lookup529: pallet_crowdloan_rewards::pallet::RewardInfo */ + /** + * Lookup529: pallet_crowdloan_rewards::pallet::RewardInfo + **/ PalletCrowdloanRewardsRewardInfo: { totalReward: "u128", claimedReward: "u128", - contributedRelayAddresses: "Vec<[u8;32]>", + contributedRelayAddresses: "Vec<[u8;32]>" }, - /** Lookup531: pallet_crowdloan_rewards::pallet::Error */ + /** + * Lookup531: pallet_crowdloan_rewards::pallet::Error + **/ PalletCrowdloanRewardsError: { _enum: [ "AlreadyAssociated", @@ -5095,19 +5689,23 @@ export default { "TooManyContributors", "VestingPeriodNonValid", "NonContributedAddressProvided", - "InsufficientNumberOfValidProofs", - ], + "InsufficientNumberOfValidProofs" + ] }, - /** Lookup532: pallet_author_mapping::pallet::RegistrationInfo */ + /** + * Lookup532: pallet_author_mapping::pallet::RegistrationInfo + **/ PalletAuthorMappingRegistrationInfo: { _alias: { - keys_: "keys", + keys_: "keys" }, account: "AccountId20", deposit: "u128", - keys_: "SessionKeysPrimitivesVrfVrfCryptoPublic", + keys_: "SessionKeysPrimitivesVrfVrfCryptoPublic" }, - /** Lookup533: pallet_author_mapping::pallet::Error */ + /** + * Lookup533: pallet_author_mapping::pallet::Error + **/ PalletAuthorMappingError: { _enum: [ "AssociationNotFound", @@ -5117,22 +5715,28 @@ export default { "OldAuthorIdNotFound", "WrongKeySize", "DecodeNimbusFailed", - "DecodeKeysFailed", - ], + "DecodeKeysFailed" + ] }, - /** Lookup536: pallet_proxy::ProxyDefinition */ + /** + * Lookup536: pallet_proxy::ProxyDefinition + **/ PalletProxyProxyDefinition: { delegate: "AccountId20", proxyType: "MoonbaseRuntimeProxyType", - delay: "u32", + delay: "u32" }, - /** Lookup540: pallet_proxy::Announcement */ + /** + * Lookup540: pallet_proxy::Announcement + **/ PalletProxyAnnouncement: { real: "AccountId20", callHash: "H256", - height: "u32", + height: "u32" }, - /** Lookup542: pallet_proxy::pallet::Error */ + /** + * Lookup542: pallet_proxy::pallet::Error + **/ PalletProxyError: { _enum: [ "TooMany", @@ -5142,37 +5746,41 @@ export default { "Duplicate", "NoPermission", "Unannounced", - "NoSelfProxy", - ], + "NoSelfProxy" + ] }, - /** Lookup543: pallet_maintenance_mode::pallet::Error */ + /** + * Lookup543: pallet_maintenance_mode::pallet::Error + **/ PalletMaintenanceModeError: { - _enum: ["AlreadyInMaintenanceMode", "NotInMaintenanceMode"], + _enum: ["AlreadyInMaintenanceMode", "NotInMaintenanceMode"] }, /** - * Lookup545: pallet_identity::types::Registration> - */ + * Lookup545: pallet_identity::types::Registration> + **/ PalletIdentityRegistration: { judgements: "Vec<(u32,PalletIdentityJudgement)>", deposit: "u128", - info: "PalletIdentityLegacyIdentityInfo", + info: "PalletIdentityLegacyIdentityInfo" }, - /** Lookup554: pallet_identity::types::RegistrarInfo */ + /** + * Lookup554: pallet_identity::types::RegistrarInfo + **/ PalletIdentityRegistrarInfo: { account: "AccountId20", fee: "u128", - fields: "u64", + fields: "u64" }, /** - * Lookup556: - * pallet_identity::types::AuthorityProperties> - */ + * Lookup556: pallet_identity::types::AuthorityProperties> + **/ PalletIdentityAuthorityProperties: { suffix: "Bytes", - allocation: "u32", + allocation: "u32" }, - /** Lookup559: pallet_identity::pallet::Error */ + /** + * Lookup559: pallet_identity::pallet::Error + **/ PalletIdentityError: { _enum: [ "TooManySubAccounts", @@ -5200,83 +5808,101 @@ export default { "InvalidUsername", "UsernameTaken", "NoUsername", - "NotExpired", - ], + "NotExpired" + ] }, - /** Lookup564: cumulus_pallet_xcmp_queue::OutboundChannelDetails */ + /** + * Lookup564: cumulus_pallet_xcmp_queue::OutboundChannelDetails + **/ CumulusPalletXcmpQueueOutboundChannelDetails: { recipient: "u32", state: "CumulusPalletXcmpQueueOutboundState", signalsExist: "bool", firstIndex: "u16", - lastIndex: "u16", + lastIndex: "u16" }, - /** Lookup565: cumulus_pallet_xcmp_queue::OutboundState */ + /** + * Lookup565: cumulus_pallet_xcmp_queue::OutboundState + **/ CumulusPalletXcmpQueueOutboundState: { - _enum: ["Ok", "Suspended"], + _enum: ["Ok", "Suspended"] }, - /** Lookup569: cumulus_pallet_xcmp_queue::QueueConfigData */ + /** + * Lookup569: cumulus_pallet_xcmp_queue::QueueConfigData + **/ CumulusPalletXcmpQueueQueueConfigData: { suspendThreshold: "u32", dropThreshold: "u32", - resumeThreshold: "u32", + resumeThreshold: "u32" }, - /** Lookup570: cumulus_pallet_xcmp_queue::pallet::Error */ + /** + * Lookup570: cumulus_pallet_xcmp_queue::pallet::Error + **/ CumulusPalletXcmpQueueError: { _enum: [ "BadQueueConfig", "AlreadySuspended", "AlreadyResumed", "TooManyActiveOutboundChannels", - "TooBig", - ], + "TooBig" + ] }, - /** Lookup571: pallet_xcm::pallet::QueryStatus */ + /** + * Lookup571: pallet_xcm::pallet::QueryStatus + **/ PalletXcmQueryStatus: { _enum: { Pending: { responder: "XcmVersionedLocation", maybeMatchQuerier: "Option", maybeNotify: "Option<(u8,u8)>", - timeout: "u32", + timeout: "u32" }, VersionNotifier: { origin: "XcmVersionedLocation", - isActive: "bool", + isActive: "bool" }, Ready: { response: "XcmVersionedResponse", - at: "u32", - }, - }, + at: "u32" + } + } }, - /** Lookup575: xcm::VersionedResponse */ + /** + * Lookup575: xcm::VersionedResponse + **/ XcmVersionedResponse: { _enum: { __Unused0: "Null", __Unused1: "Null", V2: "XcmV2Response", V3: "XcmV3Response", - V4: "StagingXcmV4Response", - }, + V4: "StagingXcmV4Response" + } }, - /** Lookup581: pallet_xcm::pallet::VersionMigrationStage */ + /** + * Lookup581: pallet_xcm::pallet::VersionMigrationStage + **/ PalletXcmVersionMigrationStage: { _enum: { MigrateSupportedVersion: "Null", MigrateVersionNotifiers: "Null", NotifyCurrentTargets: "Option", - MigrateAndNotifyOldTargets: "Null", - }, + MigrateAndNotifyOldTargets: "Null" + } }, - /** Lookup584: pallet_xcm::pallet::RemoteLockedFungibleRecord */ + /** + * Lookup584: pallet_xcm::pallet::RemoteLockedFungibleRecord + **/ PalletXcmRemoteLockedFungibleRecord: { amount: "u128", owner: "XcmVersionedLocation", locker: "XcmVersionedLocation", - consumers: "Vec<(Null,u128)>", + consumers: "Vec<(Null,u128)>" }, - /** Lookup591: pallet_xcm::pallet::Error */ + /** + * Lookup591: pallet_xcm::pallet::Error + **/ PalletXcmError: { _enum: [ "Unreachable", @@ -5303,10 +5929,12 @@ export default { "InvalidAssetUnknownReserve", "InvalidAssetUnsupportedReserve", "TooManyReserves", - "LocalExecutionIncomplete", - ], + "LocalExecutionIncomplete" + ] }, - /** Lookup592: pallet_assets::types::AssetDetails */ + /** + * Lookup592: pallet_assets::types::AssetDetails + **/ PalletAssetsAssetDetails: { owner: "AccountId20", issuer: "AccountId20", @@ -5319,50 +5947,61 @@ export default { accounts: "u32", sufficients: "u32", approvals: "u32", - status: "PalletAssetsAssetStatus", + status: "PalletAssetsAssetStatus" }, - /** Lookup593: pallet_assets::types::AssetStatus */ + /** + * Lookup593: pallet_assets::types::AssetStatus + **/ PalletAssetsAssetStatus: { - _enum: ["Live", "Frozen", "Destroying"], + _enum: ["Live", "Frozen", "Destroying"] }, - /** Lookup595: pallet_assets::types::AssetAccount */ + /** + * Lookup595: pallet_assets::types::AssetAccount + **/ PalletAssetsAssetAccount: { balance: "u128", status: "PalletAssetsAccountStatus", reason: "PalletAssetsExistenceReason", - extra: "Null", + extra: "Null" }, - /** Lookup596: pallet_assets::types::AccountStatus */ + /** + * Lookup596: pallet_assets::types::AccountStatus + **/ PalletAssetsAccountStatus: { - _enum: ["Liquid", "Frozen", "Blocked"], + _enum: ["Liquid", "Frozen", "Blocked"] }, - /** Lookup597: pallet_assets::types::ExistenceReason */ + /** + * Lookup597: pallet_assets::types::ExistenceReason + **/ PalletAssetsExistenceReason: { _enum: { Consumer: "Null", Sufficient: "Null", DepositHeld: "u128", DepositRefunded: "Null", - DepositFrom: "(AccountId20,u128)", - }, + DepositFrom: "(AccountId20,u128)" + } }, - /** Lookup599: pallet_assets::types::Approval */ + /** + * Lookup599: pallet_assets::types::Approval + **/ PalletAssetsApproval: { amount: "u128", - deposit: "u128", + deposit: "u128" }, /** - * Lookup600: pallet_assets::types::AssetMetadata> - */ + * Lookup600: pallet_assets::types::AssetMetadata> + **/ PalletAssetsAssetMetadata: { deposit: "u128", name: "Bytes", symbol: "Bytes", decimals: "u8", - isFrozen: "bool", + isFrozen: "bool" }, - /** Lookup602: pallet_assets::pallet::Error */ + /** + * Lookup602: pallet_assets::pallet::Error + **/ PalletAssetsError: { _enum: [ "BalanceLow", @@ -5385,10 +6024,12 @@ export default { "IncorrectStatus", "NotFrozen", "CallbackFailed", - "BadAssetId", - ], + "BadAssetId" + ] }, - /** Lookup603: pallet_asset_manager::pallet::Error */ + /** + * Lookup603: pallet_asset_manager::pallet::Error + **/ PalletAssetManagerError: { _enum: [ "ErrorCreatingAsset", @@ -5398,14 +6039,18 @@ export default { "LocalAssetLimitReached", "ErrorDestroyingAsset", "NotSufficientDeposit", - "NonExistentLocalAsset", - ], + "NonExistentLocalAsset" + ] }, - /** Lookup604: pallet_migrations::pallet::Error */ + /** + * Lookup604: pallet_migrations::pallet::Error + **/ PalletMigrationsError: { - _enum: ["PreimageMissing", "WrongUpperBound", "PreimageIsTooBig", "PreimageAlreadyExists"], + _enum: ["PreimageMissing", "WrongUpperBound", "PreimageIsTooBig", "PreimageAlreadyExists"] }, - /** Lookup605: pallet_xcm_transactor::relay_indices::RelayChainIndices */ + /** + * Lookup605: pallet_xcm_transactor::relay_indices::RelayChainIndices + **/ PalletXcmTransactorRelayIndicesRelayChainIndices: { staking: "u8", utility: "u8", @@ -5424,9 +6069,11 @@ export default { initOpenChannel: "u8", acceptOpenChannel: "u8", closeChannel: "u8", - cancelOpenRequest: "u8", + cancelOpenRequest: "u8" }, - /** Lookup606: pallet_xcm_transactor::pallet::Error */ + /** + * Lookup606: pallet_xcm_transactor::pallet::Error + **/ PalletXcmTransactorError: { _enum: [ "IndexAlreadyClaimed", @@ -5455,21 +6102,27 @@ export default { "HrmpHandlerNotImplemented", "TooMuchFeeUsed", "ErrorValidating", - "RefundNotSupportedWithTransactInfo", - ], + "RefundNotSupportedWithTransactInfo" + ] }, - /** Lookup607: pallet_moonbeam_orbiters::types::CollatorPoolInfo[account::AccountId20](account::AccountId20) */ + /** + * Lookup607: pallet_moonbeam_orbiters::types::CollatorPoolInfo + **/ PalletMoonbeamOrbitersCollatorPoolInfo: { orbiters: "Vec", maybeCurrentOrbiter: "Option", - nextOrbiter: "u32", + nextOrbiter: "u32" }, - /** Lookup609: pallet_moonbeam_orbiters::types::CurrentOrbiter[account::AccountId20](account::AccountId20) */ + /** + * Lookup609: pallet_moonbeam_orbiters::types::CurrentOrbiter + **/ PalletMoonbeamOrbitersCurrentOrbiter: { accountId: "AccountId20", - removed: "bool", + removed: "bool" }, - /** Lookup610: pallet_moonbeam_orbiters::pallet::Error */ + /** + * Lookup610: pallet_moonbeam_orbiters::pallet::Error + **/ PalletMoonbeamOrbitersError: { _enum: [ "CollatorAlreadyAdded", @@ -5480,19 +6133,25 @@ export default { "OrbiterAlreadyInPool", "OrbiterDepositNotFound", "OrbiterNotFound", - "OrbiterStillInAPool", - ], + "OrbiterStillInAPool" + ] }, - /** Lookup611: pallet_ethereum_xcm::pallet::Error */ + /** + * Lookup611: pallet_ethereum_xcm::pallet::Error + **/ PalletEthereumXcmError: { - _enum: ["EthereumXcmExecutionSuspended"], + _enum: ["EthereumXcmExecutionSuspended"] }, - /** Lookup612: pallet_randomness::types::RequestState */ + /** + * Lookup612: pallet_randomness::types::RequestState + **/ PalletRandomnessRequestState: { request: "PalletRandomnessRequest", - deposit: "u128", + deposit: "u128" }, - /** Lookup613: pallet_randomness::types::Request> */ + /** + * Lookup613: pallet_randomness::types::Request> + **/ PalletRandomnessRequest: { refundAddress: "H160", contractAddress: "H160", @@ -5500,28 +6159,36 @@ export default { gasLimit: "u64", numWords: "u8", salt: "H256", - info: "PalletRandomnessRequestInfo", + info: "PalletRandomnessRequestInfo" }, - /** Lookup614: pallet_randomness::types::RequestInfo */ + /** + * Lookup614: pallet_randomness::types::RequestInfo + **/ PalletRandomnessRequestInfo: { _enum: { BabeEpoch: "(u64,u64)", - Local: "(u32,u32)", - }, + Local: "(u32,u32)" + } }, - /** Lookup615: pallet_randomness::types::RequestType */ + /** + * Lookup615: pallet_randomness::types::RequestType + **/ PalletRandomnessRequestType: { _enum: { BabeEpoch: "u64", - Local: "u32", - }, + Local: "u32" + } }, - /** Lookup616: pallet_randomness::types::RandomnessResult */ + /** + * Lookup616: pallet_randomness::types::RandomnessResult + **/ PalletRandomnessRandomnessResult: { randomness: "Option", - requestCount: "u64", + requestCount: "u64" }, - /** Lookup617: pallet_randomness::pallet::Error */ + /** + * Lookup617: pallet_randomness::pallet::Error + **/ PalletRandomnessError: { _enum: [ "RequestCounterOverflowed", @@ -5535,18 +6202,22 @@ export default { "OnlyRequesterCanIncreaseFee", "RequestHasNotExpired", "RandomnessResultDNE", - "RandomnessResultNotFilled", - ], + "RandomnessResultNotFilled" + ] }, - /** Lookup619: pallet_collective::Votes */ + /** + * Lookup619: pallet_collective::Votes + **/ PalletCollectiveVotes: { index: "u32", threshold: "u32", ayes: "Vec", nays: "Vec", - end: "u32", + end: "u32" }, - /** Lookup620: pallet_collective::pallet::Error */ + /** + * Lookup620: pallet_collective::pallet::Error + **/ PalletCollectiveError: { _enum: [ "NotMember", @@ -5559,41 +6230,50 @@ export default { "TooManyProposals", "WrongProposalWeight", "WrongProposalLength", - "PrimeAccountNotMember", - ], + "PrimeAccountNotMember" + ] }, /** - * Lookup622: pallet_conviction_voting::vote::Voting - */ + * Lookup622: pallet_conviction_voting::vote::Voting + **/ PalletConvictionVotingVoteVoting: { _enum: { Casting: "PalletConvictionVotingVoteCasting", - Delegating: "PalletConvictionVotingVoteDelegating", - }, + Delegating: "PalletConvictionVotingVoteDelegating" + } }, - /** Lookup623: pallet_conviction_voting::vote::Casting */ + /** + * Lookup623: pallet_conviction_voting::vote::Casting + **/ PalletConvictionVotingVoteCasting: { votes: "Vec<(u32,PalletConvictionVotingVoteAccountVote)>", delegations: "PalletConvictionVotingDelegations", - prior: "PalletConvictionVotingVotePriorLock", + prior: "PalletConvictionVotingVotePriorLock" }, - /** Lookup627: pallet_conviction_voting::types::Delegations */ + /** + * Lookup627: pallet_conviction_voting::types::Delegations + **/ PalletConvictionVotingDelegations: { votes: "u128", - capital: "u128", + capital: "u128" }, - /** Lookup628: pallet_conviction_voting::vote::PriorLock */ + /** + * Lookup628: pallet_conviction_voting::vote::PriorLock + **/ PalletConvictionVotingVotePriorLock: "(u32,u128)", - /** Lookup629: pallet_conviction_voting::vote::Delegating */ + /** + * Lookup629: pallet_conviction_voting::vote::Delegating + **/ PalletConvictionVotingVoteDelegating: { balance: "u128", target: "AccountId20", conviction: "PalletConvictionVotingConviction", delegations: "PalletConvictionVotingDelegations", - prior: "PalletConvictionVotingVotePriorLock", + prior: "PalletConvictionVotingVotePriorLock" }, - /** Lookup633: pallet_conviction_voting::pallet::Error */ + /** + * Lookup633: pallet_conviction_voting::pallet::Error + **/ PalletConvictionVotingError: { _enum: [ "NotOngoing", @@ -5607,15 +6287,12 @@ export default { "Nonsense", "MaxVotesReached", "ClassNeeded", - "BadClass", - ], + "BadClass" + ] }, /** - * Lookup634: pallet_referenda::types::ReferendumInfo, Balance, pallet_conviction_voting::types::Tally, account::AccountId20, ScheduleAddress> - */ + * Lookup634: pallet_referenda::types::ReferendumInfo, Balance, pallet_conviction_voting::types::Tally, account::AccountId20, ScheduleAddress> + **/ PalletReferendaReferendumInfo: { _enum: { Ongoing: "PalletReferendaReferendumStatus", @@ -5623,15 +6300,12 @@ export default { Rejected: "(u32,Option,Option)", Cancelled: "(u32,Option,Option)", TimedOut: "(u32,Option,Option)", - Killed: "u32", - }, + Killed: "u32" + } }, /** - * Lookup635: pallet_referenda::types::ReferendumStatus, Balance, pallet_conviction_voting::types::Tally, account::AccountId20, ScheduleAddress> - */ + * Lookup635: pallet_referenda::types::ReferendumStatus, Balance, pallet_conviction_voting::types::Tally, account::AccountId20, ScheduleAddress> + **/ PalletReferendaReferendumStatus: { track: "u16", origin: "MoonbaseRuntimeOriginCaller", @@ -5643,19 +6317,25 @@ export default { deciding: "Option", tally: "PalletConvictionVotingTally", inQueue: "bool", - alarm: "Option<(u32,(u32,u32))>", + alarm: "Option<(u32,(u32,u32))>" }, - /** Lookup636: pallet_referenda::types::Deposit */ + /** + * Lookup636: pallet_referenda::types::Deposit + **/ PalletReferendaDeposit: { who: "AccountId20", - amount: "u128", + amount: "u128" }, - /** Lookup639: pallet_referenda::types::DecidingStatus */ + /** + * Lookup639: pallet_referenda::types::DecidingStatus + **/ PalletReferendaDecidingStatus: { since: "u32", - confirming: "Option", + confirming: "Option" }, - /** Lookup647: pallet_referenda::types::TrackInfo */ + /** + * Lookup647: pallet_referenda::types::TrackInfo + **/ PalletReferendaTrackInfo: { name: "Text", maxDeciding: "u32", @@ -5665,30 +6345,34 @@ export default { confirmPeriod: "u32", minEnactmentPeriod: "u32", minApproval: "PalletReferendaCurve", - minSupport: "PalletReferendaCurve", + minSupport: "PalletReferendaCurve" }, - /** Lookup648: pallet_referenda::types::Curve */ + /** + * Lookup648: pallet_referenda::types::Curve + **/ PalletReferendaCurve: { _enum: { LinearDecreasing: { length: "Perbill", floor: "Perbill", - ceil: "Perbill", + ceil: "Perbill" }, SteppedDecreasing: { begin: "Perbill", end: "Perbill", step: "Perbill", - period: "Perbill", + period: "Perbill" }, Reciprocal: { factor: "i64", xOffset: "i64", - yOffset: "i64", - }, - }, + yOffset: "i64" + } + } }, - /** Lookup651: pallet_referenda::pallet::Error */ + /** + * Lookup651: pallet_referenda::pallet::Error + **/ PalletReferendaError: { _enum: [ "NotOngoing", @@ -5704,41 +6388,44 @@ export default { "NoDeposit", "BadStatus", "PreimageNotExist", - "PreimageStoredWithDifferentLength", - ], + "PreimageStoredWithDifferentLength" + ] }, - /** Lookup652: pallet_preimage::OldRequestStatus */ + /** + * Lookup652: pallet_preimage::OldRequestStatus + **/ PalletPreimageOldRequestStatus: { _enum: { Unrequested: { deposit: "(AccountId20,u128)", - len: "u32", + len: "u32" }, Requested: { deposit: "Option<(AccountId20,u128)>", count: "u32", - len: "Option", - }, - }, + len: "Option" + } + } }, /** - * Lookup655: pallet_preimage::RequestStatus> - */ + * Lookup655: pallet_preimage::RequestStatus> + **/ PalletPreimageRequestStatus: { _enum: { Unrequested: { ticket: "(AccountId20,u128)", - len: "u32", + len: "u32" }, Requested: { maybeTicket: "Option<(AccountId20,u128)>", count: "u32", - maybeLen: "Option", - }, - }, + maybeLen: "Option" + } + } }, - /** Lookup661: pallet_preimage::pallet::Error */ + /** + * Lookup661: pallet_preimage::pallet::Error + **/ PalletPreimageError: { _enum: [ "TooBig", @@ -5749,27 +6436,33 @@ export default { "NotRequested", "TooMany", "TooFew", - "NoCost", - ], + "NoCost" + ] }, - /** Lookup662: pallet_whitelist::pallet::Error */ + /** + * Lookup662: pallet_whitelist::pallet::Error + **/ PalletWhitelistError: { _enum: [ "UnavailablePreImage", "UndecodableCall", "InvalidCallWeightWitness", "CallIsNotWhitelisted", - "CallAlreadyWhitelisted", - ], + "CallAlreadyWhitelisted" + ] }, - /** Lookup666: pallet_multisig::Multisig */ + /** + * Lookup666: pallet_multisig::Multisig + **/ PalletMultisigMultisig: { when: "PalletMultisigTimepoint", deposit: "u128", depositor: "AccountId20", - approvals: "Vec", + approvals: "Vec" }, - /** Lookup668: pallet_multisig::pallet::Error */ + /** + * Lookup668: pallet_multisig::pallet::Error + **/ PalletMultisigError: { _enum: [ "MinimumThreshold", @@ -5785,32 +6478,40 @@ export default { "WrongTimepoint", "UnexpectedTimepoint", "MaxWeightTooLow", - "AlreadyStored", - ], + "AlreadyStored" + ] }, - /** Lookup672: pallet_moonbeam_lazy_migrations::pallet::StateMigrationStatus */ + /** + * Lookup672: pallet_moonbeam_lazy_migrations::pallet::StateMigrationStatus + **/ PalletMoonbeamLazyMigrationsStateMigrationStatus: { _enum: { NotStarted: "Null", Started: "Bytes", Error: "Bytes", - Complete: "Null", - }, + Complete: "Null" + } }, - /** Lookup674: pallet_moonbeam_lazy_migrations::foreign_asset::ForeignAssetMigrationStatus */ + /** + * Lookup674: pallet_moonbeam_lazy_migrations::foreign_asset::ForeignAssetMigrationStatus + **/ PalletMoonbeamLazyMigrationsForeignAssetForeignAssetMigrationStatus: { _enum: { Idle: "Null", - Migrating: "PalletMoonbeamLazyMigrationsForeignAssetForeignAssetMigrationInfo", - }, + Migrating: "PalletMoonbeamLazyMigrationsForeignAssetForeignAssetMigrationInfo" + } }, - /** Lookup675: pallet_moonbeam_lazy_migrations::foreign_asset::ForeignAssetMigrationInfo */ + /** + * Lookup675: pallet_moonbeam_lazy_migrations::foreign_asset::ForeignAssetMigrationInfo + **/ PalletMoonbeamLazyMigrationsForeignAssetForeignAssetMigrationInfo: { assetId: "u128", remainingBalances: "u32", - remainingApprovals: "u32", + remainingApprovals: "u32" }, - /** Lookup676: pallet_moonbeam_lazy_migrations::pallet::Error */ + /** + * Lookup676: pallet_moonbeam_lazy_migrations::pallet::Error + **/ PalletMoonbeamLazyMigrationsError: { _enum: [ "LimitCannotBeZero", @@ -5825,40 +6526,50 @@ export default { "MigrationNotFinished", "NoMigrationInProgress", "MintFailed", - "ApprovalFailed", - ], + "ApprovalFailed" + ] }, - /** Lookup678: pallet_precompile_benchmarks::pallet::Error */ + /** + * Lookup678: pallet_precompile_benchmarks::pallet::Error + **/ PalletPrecompileBenchmarksError: { - _enum: ["BenchmarkError"], + _enum: ["BenchmarkError"] }, - /** Lookup679: pallet_message_queue::BookState */ + /** + * Lookup679: pallet_message_queue::BookState + **/ PalletMessageQueueBookState: { _alias: { - size_: "size", + size_: "size" }, begin: "u32", end: "u32", count: "u32", readyNeighbours: "Option", messageCount: "u64", - size_: "u64", + size_: "u64" }, - /** Lookup681: pallet_message_queue::Neighbours */ + /** + * Lookup681: pallet_message_queue::Neighbours + **/ PalletMessageQueueNeighbours: { prev: "CumulusPrimitivesCoreAggregateMessageOrigin", - next: "CumulusPrimitivesCoreAggregateMessageOrigin", + next: "CumulusPrimitivesCoreAggregateMessageOrigin" }, - /** Lookup683: pallet_message_queue::Page */ + /** + * Lookup683: pallet_message_queue::Page + **/ PalletMessageQueuePage: { remaining: "u32", remainingSize: "u32", firstIndex: "u32", first: "u32", last: "u32", - heap: "Bytes", + heap: "Bytes" }, - /** Lookup685: pallet_message_queue::pallet::Error */ + /** + * Lookup685: pallet_message_queue::pallet::Error + **/ PalletMessageQueueError: { _enum: [ "NotReapable", @@ -5869,22 +6580,30 @@ export default { "InsufficientWeight", "TemporarilyUnprocessable", "QueuePaused", - "RecursiveDisallowed", - ], + "RecursiveDisallowed" + ] }, - /** Lookup686: pallet_emergency_para_xcm::XcmMode */ + /** + * Lookup686: pallet_emergency_para_xcm::XcmMode + **/ PalletEmergencyParaXcmXcmMode: { - _enum: ["Normal", "Paused"], + _enum: ["Normal", "Paused"] }, - /** Lookup687: pallet_emergency_para_xcm::pallet::Error */ + /** + * Lookup687: pallet_emergency_para_xcm::pallet::Error + **/ PalletEmergencyParaXcmError: { - _enum: ["NotInPausedMode"], + _enum: ["NotInPausedMode"] }, - /** Lookup689: pallet_moonbeam_foreign_assets::AssetStatus */ + /** + * Lookup689: pallet_moonbeam_foreign_assets::AssetStatus + **/ PalletMoonbeamForeignAssetsAssetStatus: { - _enum: ["Active", "FrozenXcmDepositAllowed", "FrozenXcmDepositForbidden"], + _enum: ["Active", "FrozenXcmDepositAllowed", "FrozenXcmDepositForbidden"] }, - /** Lookup690: pallet_moonbeam_foreign_assets::pallet::Error */ + /** + * Lookup690: pallet_moonbeam_foreign_assets::pallet::Error + **/ PalletMoonbeamForeignAssetsError: { _enum: [ "AssetAlreadyExists", @@ -5900,10 +6619,12 @@ export default { "InvalidSymbol", "InvalidTokenName", "LocationAlreadyExists", - "TooManyForeignAssets", - ], + "TooManyForeignAssets" + ] }, - /** Lookup692: pallet_xcm_weight_trader::pallet::Error */ + /** + * Lookup692: pallet_xcm_weight_trader::pallet::Error + **/ PalletXcmWeightTraderError: { _enum: [ "AssetAlreadyAdded", @@ -5911,33 +6632,55 @@ export default { "AssetNotFound", "AssetNotPaused", "XcmLocationFiltered", - "PriceCannotBeZero", - ], + "PriceCannotBeZero" + ] }, - /** Lookup695: frame_system::extensions::check_non_zero_sender::CheckNonZeroSender */ + /** + * Lookup695: frame_system::extensions::check_non_zero_sender::CheckNonZeroSender + **/ FrameSystemExtensionsCheckNonZeroSender: "Null", - /** Lookup696: frame_system::extensions::check_spec_version::CheckSpecVersion */ + /** + * Lookup696: frame_system::extensions::check_spec_version::CheckSpecVersion + **/ FrameSystemExtensionsCheckSpecVersion: "Null", - /** Lookup697: frame_system::extensions::check_tx_version::CheckTxVersion */ + /** + * Lookup697: frame_system::extensions::check_tx_version::CheckTxVersion + **/ FrameSystemExtensionsCheckTxVersion: "Null", - /** Lookup698: frame_system::extensions::check_genesis::CheckGenesis */ + /** + * Lookup698: frame_system::extensions::check_genesis::CheckGenesis + **/ FrameSystemExtensionsCheckGenesis: "Null", - /** Lookup701: frame_system::extensions::check_nonce::CheckNonce */ + /** + * Lookup701: frame_system::extensions::check_nonce::CheckNonce + **/ FrameSystemExtensionsCheckNonce: "Compact", - /** Lookup702: frame_system::extensions::check_weight::CheckWeight */ + /** + * Lookup702: frame_system::extensions::check_weight::CheckWeight + **/ FrameSystemExtensionsCheckWeight: "Null", - /** Lookup703: pallet_transaction_payment::ChargeTransactionPayment */ + /** + * Lookup703: pallet_transaction_payment::ChargeTransactionPayment + **/ PalletTransactionPaymentChargeTransactionPayment: "Compact", - /** Lookup704: frame_metadata_hash_extension::CheckMetadataHash */ + /** + * Lookup704: frame_metadata_hash_extension::CheckMetadataHash + **/ FrameMetadataHashExtensionCheckMetadataHash: { - mode: "FrameMetadataHashExtensionMode", + mode: "FrameMetadataHashExtensionMode" }, - /** Lookup705: frame_metadata_hash_extension::Mode */ + /** + * Lookup705: frame_metadata_hash_extension::Mode + **/ FrameMetadataHashExtensionMode: { - _enum: ["Disabled", "Enabled"], + _enum: ["Disabled", "Enabled"] }, - /** Lookup706: cumulus_primitives_storage_weight_reclaim::StorageWeightReclaim */ + /** + * Lookup706: cumulus_primitives_storage_weight_reclaim::StorageWeightReclaim + **/ CumulusPrimitivesStorageWeightReclaimStorageWeightReclaim: "Null", - /** Lookup708: moonbase_runtime::Runtime */ - MoonbaseRuntimeRuntime: "Null", + /** + * Lookup708: moonbase_runtime::Runtime + **/ + MoonbaseRuntimeRuntime: "Null" }; diff --git a/typescript-api/src/moonbase/interfaces/moon/definitions.ts b/typescript-api/src/moonbase/interfaces/moon/definitions.ts index 745e4404ef..9f581c812e 100644 --- a/typescript-api/src/moonbase/interfaces/moon/definitions.ts +++ b/typescript-api/src/moonbase/interfaces/moon/definitions.ts @@ -3,6 +3,6 @@ import { moonbeamDefinitions } from "moonbeam-types-bundle"; export default { types: {}, rpc: { - ...moonbeamDefinitions.rpc?.moon, - }, + ...moonbeamDefinitions.rpc?.moon + } }; diff --git a/typescript-api/src/moonbase/interfaces/registry.ts b/typescript-api/src/moonbase/interfaces/registry.ts index 748da8f6fe..e7ead8168c 100644 --- a/typescript-api/src/moonbase/interfaces/registry.ts +++ b/typescript-api/src/moonbase/interfaces/registry.ts @@ -404,7 +404,7 @@ import type { XcmVersionedAssets, XcmVersionedLocation, XcmVersionedResponse, - XcmVersionedXcm, + XcmVersionedXcm } from "@polkadot/types/lookup"; declare module "@polkadot/types/types/registry" { diff --git a/typescript-api/src/moonbase/interfaces/types-lookup.ts b/typescript-api/src/moonbase/interfaces/types-lookup.ts index 8b58d96e4a..e62a24ce3e 100644 --- a/typescript-api/src/moonbase/interfaces/types-lookup.ts +++ b/typescript-api/src/moonbase/interfaces/types-lookup.ts @@ -26,7 +26,7 @@ import type { u16, u32, u64, - u8, + u8 } from "@polkadot/types-codec"; import type { ITuple } from "@polkadot/types-codec/types"; import type { Vote } from "@polkadot/types/interfaces/elections"; @@ -36,7 +36,7 @@ import type { H160, H256, Perbill, - Percent, + Percent } from "@polkadot/types/interfaces/runtime"; import type { Event } from "@polkadot/types/interfaces/system"; diff --git a/typescript-api/src/moonbeam/interfaces/augment-api-consts.ts b/typescript-api/src/moonbeam/interfaces/augment-api-consts.ts index 7f2154f1da..4406481db6 100644 --- a/typescript-api/src/moonbeam/interfaces/augment-api-consts.ts +++ b/typescript-api/src/moonbeam/interfaces/augment-api-consts.ts @@ -17,7 +17,7 @@ import type { SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, - StagingXcmV4Location, + StagingXcmV4Location } from "@polkadot/types/lookup"; export type __AugmentedConst = AugmentedConst; @@ -25,125 +25,168 @@ export type __AugmentedConst = AugmentedConst declare module "@polkadot/api-base/types/consts" { interface AugmentedConsts { assets: { - /** The amount of funds that must be reserved when creating a new approval. */ + /** + * The amount of funds that must be reserved when creating a new approval. + **/ approvalDeposit: u128 & AugmentedConst; - /** The amount of funds that must be reserved for a non-provider asset account to be maintained. */ + /** + * The amount of funds that must be reserved for a non-provider asset account to be + * maintained. + **/ assetAccountDeposit: u128 & AugmentedConst; - /** The basic amount of funds that must be reserved for an asset. */ + /** + * The basic amount of funds that must be reserved for an asset. + **/ assetDeposit: u128 & AugmentedConst; - /** The basic amount of funds that must be reserved when adding metadata to your asset. */ + /** + * The basic amount of funds that must be reserved when adding metadata to your asset. + **/ metadataDepositBase: u128 & AugmentedConst; - /** The additional funds that must be reserved for the number of bytes you store in your metadata. */ + /** + * The additional funds that must be reserved for the number of bytes you store in your + * metadata. + **/ metadataDepositPerByte: u128 & AugmentedConst; /** * Max number of items to destroy per `destroy_accounts` and `destroy_approvals` call. * * Must be configured to result in a weight that makes each call fit in a block. - */ + **/ removeItemsLimit: u32 & AugmentedConst; - /** The maximum length of a name or symbol stored on-chain. */ + /** + * The maximum length of a name or symbol stored on-chain. + **/ stringLimit: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; asyncBacking: { - /** Purely informative, but used by mocking tools like chospticks to allow knowing how to mock blocks */ + /** + * Purely informative, but used by mocking tools like chospticks to allow knowing how to mock + * blocks + **/ expectedBlockTime: u64 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; balances: { /** * The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO! * - * If you _really_ need it to be zero, you can enable the feature `insecure_zero_ed` for this - * pallet. However, you do so at your own risk: this will open up a major DoS vector. In case - * you have multiple sources of provider references, you may also get unexpected behaviour if - * you set this to zero. + * If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for + * this pallet. However, you do so at your own risk: this will open up a major DoS vector. + * In case you have multiple sources of provider references, you may also get unexpected + * behaviour if you set this to zero. * * Bottom line: Do yourself a favour and make it at least one! - */ + **/ existentialDeposit: u128 & AugmentedConst; - /** The maximum number of individual freeze locks that can exist on an account at any time. */ + /** + * The maximum number of individual freeze locks that can exist on an account at any time. + **/ maxFreezes: u32 & AugmentedConst; /** - * The maximum number of locks that should exist on an account. Not strictly enforced, but - * used for weight estimation. + * The maximum number of locks that should exist on an account. + * Not strictly enforced, but used for weight estimation. * - * Use of locks is deprecated in favour of freezes. See - * `https://github.com/paritytech/substrate/pull/12951/` - */ + * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/` + **/ maxLocks: u32 & AugmentedConst; /** * The maximum number of named reserves that can exist on an account. * - * Use of reserves is deprecated in favour of holds. See - * `https://github.com/paritytech/substrate/pull/12951/` - */ + * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/` + **/ maxReserves: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; convictionVoting: { /** * The maximum number of concurrent votes an account may have. * - * Also used to compute weight, an overly large value can lead to extrinsics with large weight - * estimation: see `delegate` for instance. - */ + * Also used to compute weight, an overly large value can lead to extrinsics with large + * weight estimation: see `delegate` for instance. + **/ maxVotes: u32 & AugmentedConst; /** * The minimum period of vote locking. * * It should be no shorter than enactment period to ensure that in the case of an approval, * those successful voters are locked into the consequences that their votes entail. - */ + **/ voteLockingPeriod: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; crowdloanRewards: { - /** Percentage to be payed at initialization */ + /** + * Percentage to be payed at initialization + **/ initializationPayment: Perbill & AugmentedConst; maxInitContributors: u32 & AugmentedConst; /** - * A fraction representing the percentage of proofs that need to be presented to change a - * reward address through the relay keys - */ + * A fraction representing the percentage of proofs + * that need to be presented to change a reward address through the relay keys + **/ rewardAddressRelayVoteThreshold: Perbill & AugmentedConst; /** * Network Identifier to be appended into the signatures for reward address change/association * Prevents replay attacks from one network to the other - */ + **/ signatureNetworkIdentifier: Bytes & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; identity: { - /** The amount held on deposit for a registered identity. */ + /** + * The amount held on deposit for a registered identity. + **/ basicDeposit: u128 & AugmentedConst; - /** The amount held on deposit per encoded byte for a registered identity. */ + /** + * The amount held on deposit per encoded byte for a registered identity. + **/ byteDeposit: u128 & AugmentedConst; /** - * Maximum number of registrars allowed in the system. Needed to bound the complexity of, - * e.g., updating judgements. - */ + * Maximum number of registrars allowed in the system. Needed to bound the complexity + * of, e.g., updating judgements. + **/ maxRegistrars: u32 & AugmentedConst; - /** The maximum number of sub-accounts allowed per identified account. */ + /** + * The maximum number of sub-accounts allowed per identified account. + **/ maxSubAccounts: u32 & AugmentedConst; - /** The maximum length of a suffix. */ + /** + * The maximum length of a suffix. + **/ maxSuffixLength: u32 & AugmentedConst; - /** The maximum length of a username, including its suffix and any system-added delimiters. */ + /** + * The maximum length of a username, including its suffix and any system-added delimiters. + **/ maxUsernameLength: u32 & AugmentedConst; - /** The number of blocks within which a username grant must be accepted. */ + /** + * The number of blocks within which a username grant must be accepted. + **/ pendingUsernameExpiration: u32 & AugmentedConst; /** * The amount held on deposit for a registered subaccount. This should account for the fact - * that one storage item's value will increase by the size of an account ID, and there will be - * another trie item whose value is the size of an account ID plus 32 bytes. - */ + * that one storage item's value will increase by the size of an account ID, and there will + * be another trie item whose value is the size of an account ID plus 32 bytes. + **/ subAccountDeposit: u128 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; messageQueue: { @@ -151,179 +194,251 @@ declare module "@polkadot/api-base/types/consts" { * The size of the page; this implies the maximum message size which can be sent. * * A good value depends on the expected message sizes, their weights, the weight that is - * available for processing them and the maximal needed message size. The maximal message size - * is slightly lower than this as defined by [`MaxMessageLenOf`]. - */ + * available for processing them and the maximal needed message size. The maximal message + * size is slightly lower than this as defined by [`MaxMessageLenOf`]. + **/ heapSize: u32 & AugmentedConst; /** * The maximum amount of weight (if any) to be used from remaining weight `on_idle` which - * should be provided to the message queue for servicing enqueued items `on_idle`. Useful for - * parachains to process messages at the same block they are received. + * should be provided to the message queue for servicing enqueued items `on_idle`. + * Useful for parachains to process messages at the same block they are received. * * If `None`, it will not call `ServiceQueues::service_queues` in `on_idle`. - */ + **/ idleMaxServiceWeight: Option & AugmentedConst; /** - * The maximum number of stale pages (i.e. of overweight messages) allowed before culling can - * happen. Once there are more stale pages than this, then historical pages may be dropped, - * even if they contain unprocessed overweight messages. - */ + * The maximum number of stale pages (i.e. of overweight messages) allowed before culling + * can happen. Once there are more stale pages than this, then historical pages may be + * dropped, even if they contain unprocessed overweight messages. + **/ maxStale: u32 & AugmentedConst; /** - * The amount of weight (if any) which should be provided to the message queue for servicing - * enqueued items `on_initialize`. + * The amount of weight (if any) which should be provided to the message queue for + * servicing enqueued items `on_initialize`. * * This may be legitimately `None` in the case that you will call - * `ServiceQueues::service_queues` manually or set [`Self::IdleMaxServiceWeight`] to have it - * run in `on_idle`. - */ + * `ServiceQueues::service_queues` manually or set [`Self::IdleMaxServiceWeight`] to have + * it run in `on_idle`. + **/ serviceWeight: Option & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; moonbeamOrbiters: { - /** Maximum number of orbiters per collator. */ + /** + * Maximum number of orbiters per collator. + **/ maxPoolSize: u32 & AugmentedConst; - /** Maximum number of round to keep on storage. */ + /** + * Maximum number of round to keep on storage. + **/ maxRoundArchive: u32 & AugmentedConst; /** - * Number of rounds before changing the selected orbiter. WARNING: when changing - * `RotatePeriod`, you need a migration code that sets `ForceRotation` to true to avoid holes - * in `OrbiterPerRound`. - */ + * Number of rounds before changing the selected orbiter. + * WARNING: when changing `RotatePeriod`, you need a migration code that sets + * `ForceRotation` to true to avoid holes in `OrbiterPerRound`. + **/ rotatePeriod: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; multisig: { /** - * The base amount of currency needed to reserve for creating a multisig execution or to store - * a dispatch call for later. + * The base amount of currency needed to reserve for creating a multisig execution or to + * store a dispatch call for later. * - * This is held for an additional storage item whose value size is `4 + sizeof((BlockNumber, - * Balance, AccountId))` bytes and whose key size is `32 + sizeof(AccountId)` bytes. - */ + * This is held for an additional storage item whose value size is + * `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is + * `32 + sizeof(AccountId)` bytes. + **/ depositBase: u128 & AugmentedConst; /** * The amount of currency needed per unit threshold when creating a multisig execution. * * This is held for adding 32 bytes more into a pre-existing storage value. - */ + **/ depositFactor: u128 & AugmentedConst; - /** The maximum amount of signatories allowed in the multisig. */ + /** + * The maximum amount of signatories allowed in the multisig. + **/ maxSignatories: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; openTechCommitteeCollective: { - /** The maximum weight of a dispatch call that can be proposed and executed. */ + /** + * The maximum weight of a dispatch call that can be proposed and executed. + **/ maxProposalWeight: SpWeightsWeightV2Weight & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; parachainStaking: { - /** Get the average time beetween 2 blocks in milliseconds */ + /** + * Get the average time beetween 2 blocks in milliseconds + **/ blockTime: u64 & AugmentedConst; - /** Number of rounds candidate requests to decrease self-bond must wait to be executable */ + /** + * Number of rounds candidate requests to decrease self-bond must wait to be executable + **/ candidateBondLessDelay: u32 & AugmentedConst; - /** Number of rounds that delegation less requests must wait before executable */ + /** + * Number of rounds that delegation less requests must wait before executable + **/ delegationBondLessDelay: u32 & AugmentedConst; - /** Number of rounds that candidates remain bonded before exit request is executable */ + /** + * Number of rounds that candidates remain bonded before exit request is executable + **/ leaveCandidatesDelay: u32 & AugmentedConst; - /** Number of rounds that delegators remain bonded before exit request is executable */ + /** + * Number of rounds that delegators remain bonded before exit request is executable + **/ leaveDelegatorsDelay: u32 & AugmentedConst; - /** Maximum bottom delegations (not counted) per candidate */ + /** + * Maximum bottom delegations (not counted) per candidate + **/ maxBottomDelegationsPerCandidate: u32 & AugmentedConst; - /** Maximum candidates */ + /** + * Maximum candidates + **/ maxCandidates: u32 & AugmentedConst; - /** Maximum delegations per delegator */ + /** + * Maximum delegations per delegator + **/ maxDelegationsPerDelegator: u32 & AugmentedConst; /** - * If a collator doesn't produce any block on this number of rounds, it is notified as - * inactive. This value must be less than or equal to RewardPaymentDelay. - */ + * If a collator doesn't produce any block on this number of rounds, it is notified as inactive. + * This value must be less than or equal to RewardPaymentDelay. + **/ maxOfflineRounds: u32 & AugmentedConst; - /** Maximum top delegations counted per candidate */ + /** + * Maximum top delegations counted per candidate + **/ maxTopDelegationsPerCandidate: u32 & AugmentedConst; - /** Minimum number of blocks per round */ + /** + * Minimum number of blocks per round + **/ minBlocksPerRound: u32 & AugmentedConst; - /** Minimum stake required for any account to be a collator candidate */ + /** + * Minimum stake required for any account to be a collator candidate + **/ minCandidateStk: u128 & AugmentedConst; - /** Minimum stake for any registered on-chain account to delegate */ + /** + * Minimum stake for any registered on-chain account to delegate + **/ minDelegation: u128 & AugmentedConst; - /** Minimum number of selected candidates every round */ + /** + * Minimum number of selected candidates every round + **/ minSelectedCandidates: u32 & AugmentedConst; - /** Number of rounds that delegations remain bonded before revocation request is executable */ + /** + * Number of rounds that delegations remain bonded before revocation request is executable + **/ revokeDelegationDelay: u32 & AugmentedConst; - /** Number of rounds after which block authors are rewarded */ + /** + * Number of rounds after which block authors are rewarded + **/ rewardPaymentDelay: u32 & AugmentedConst; - /** Get the slot duration in milliseconds */ + /** + * Get the slot duration in milliseconds + **/ slotDuration: u64 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; parachainSystem: { - /** Returns the parachain ID we are running with. */ + /** + * Returns the parachain ID we are running with. + **/ selfParaId: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; proxy: { /** * The base amount of currency needed to reserve for creating an announcement. * - * This is held when a new storage item holding a `Balance` is created (typically 16 bytes). - */ + * This is held when a new storage item holding a `Balance` is created (typically 16 + * bytes). + **/ announcementDepositBase: u128 & AugmentedConst; /** * The amount of currency needed per announcement made. * - * This is held for adding an `AccountId`, `Hash` and `BlockNumber` (typically 68 bytes) into - * a pre-existing storage value. - */ + * This is held for adding an `AccountId`, `Hash` and `BlockNumber` (typically 68 bytes) + * into a pre-existing storage value. + **/ announcementDepositFactor: u128 & AugmentedConst; - /** The maximum amount of time-delayed announcements that are allowed to be pending. */ + /** + * The maximum amount of time-delayed announcements that are allowed to be pending. + **/ maxPending: u32 & AugmentedConst; - /** The maximum amount of proxies allowed for a single account. */ + /** + * The maximum amount of proxies allowed for a single account. + **/ maxProxies: u32 & AugmentedConst; /** * The base amount of currency needed to reserve for creating a proxy. * - * This is held for an additional storage item whose value size is `sizeof(Balance)` bytes and - * whose key size is `sizeof(AccountId)` bytes. - */ + * This is held for an additional storage item whose value size is + * `sizeof(Balance)` bytes and whose key size is `sizeof(AccountId)` bytes. + **/ proxyDepositBase: u128 & AugmentedConst; /** * The amount of currency needed per proxy added. * - * This is held for adding 32 bytes plus an instance of `ProxyType` more into a pre-existing - * storage value. Thus, when configuring `ProxyDepositFactor` one should take into account `32 - * + proxy_type.encode().len()` bytes of data. - */ + * This is held for adding 32 bytes plus an instance of `ProxyType` more into a + * pre-existing storage value. Thus, when configuring `ProxyDepositFactor` one should take + * into account `32 + proxy_type.encode().len()` bytes of data. + **/ proxyDepositFactor: u128 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; randomness: { - /** Local requests expire and can be purged from storage after this many blocks/epochs */ + /** + * Local requests expire and can be purged from storage after this many blocks/epochs + **/ blockExpirationDelay: u32 & AugmentedConst; - /** The amount that should be taken as a security deposit when requesting randomness. */ + /** + * The amount that should be taken as a security deposit when requesting randomness. + **/ deposit: u128 & AugmentedConst; - /** Babe requests expire and can be purged from storage after this many blocks/epochs */ + /** + * Babe requests expire and can be purged from storage after this many blocks/epochs + **/ epochExpirationDelay: u64 & AugmentedConst; /** - * Local per-block VRF requests must be at most this many blocks after the block in which they - * were requested - */ + * Local per-block VRF requests must be at most this many blocks after the block in which + * they were requested + **/ maxBlockDelay: u32 & AugmentedConst; - /** Maximum number of random words that can be requested per request */ + /** + * Maximum number of random words that can be requested per request + **/ maxRandomWords: u8 & AugmentedConst; /** * Local per-block VRF requests must be at least this many blocks after the block in which * they were requested - */ + **/ minBlockDelay: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; referenda: { @@ -331,89 +446,119 @@ declare module "@polkadot/api-base/types/consts" { * Quantization level for the referendum wakeup scheduler. A higher number will result in * fewer storage reads/writes needed for smaller voters, but also result in delays to the * automatic referendum status changes. Explicit servicing instructions are unaffected. - */ + **/ alarmInterval: u32 & AugmentedConst; - /** Maximum size of the referendum queue for a single track. */ + /** + * Maximum size of the referendum queue for a single track. + **/ maxQueued: u32 & AugmentedConst; - /** The minimum amount to be used as a deposit for a public referendum proposal. */ + /** + * The minimum amount to be used as a deposit for a public referendum proposal. + **/ submissionDeposit: u128 & AugmentedConst; - /** Information concerning the different referendum tracks. */ + /** + * Information concerning the different referendum tracks. + **/ tracks: Vec> & AugmentedConst; /** - * The number of blocks after submission that a referendum must begin being decided by. Once - * this passes, then anyone may cancel the referendum. - */ + * The number of blocks after submission that a referendum must begin being decided by. + * Once this passes, then anyone may cancel the referendum. + **/ undecidingTimeout: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; relayStorageRoots: { /** - * Limit the number of relay storage roots that will be stored. This limit applies to the - * number of items, not to their age. Decreasing the value of `MaxStorageRoots` is a breaking - * change and needs a migration to clean the `RelayStorageRoots` mapping. - */ + * Limit the number of relay storage roots that will be stored. + * This limit applies to the number of items, not to their age. Decreasing the value of + * `MaxStorageRoots` is a breaking change and needs a migration to clean the + * `RelayStorageRoots` mapping. + **/ maxStorageRoots: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; scheduler: { - /** The maximum weight that may be scheduled per block for any dispatchables. */ + /** + * The maximum weight that may be scheduled per block for any dispatchables. + **/ maximumWeight: SpWeightsWeightV2Weight & AugmentedConst; /** * The maximum number of scheduled calls in the queue for a single block. * * NOTE: - * - * - Dependent pallets' benchmarks might require a higher limit for the setting. Set a higher - * limit under `runtime-benchmarks` feature. - */ + * + Dependent pallets' benchmarks might require a higher limit for the setting. Set a + * higher limit under `runtime-benchmarks` feature. + **/ maxScheduledPerBlock: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; system: { - /** Maximum number of block number to block hash mappings to keep (oldest pruned first). */ + /** + * Maximum number of block number to block hash mappings to keep (oldest pruned first). + **/ blockHashCount: u32 & AugmentedConst; - /** The maximum length of a block (in bytes). */ + /** + * The maximum length of a block (in bytes). + **/ blockLength: FrameSystemLimitsBlockLength & AugmentedConst; - /** Block & extrinsics weights: base values and limits. */ + /** + * Block & extrinsics weights: base values and limits. + **/ blockWeights: FrameSystemLimitsBlockWeights & AugmentedConst; - /** The weight of runtime database operations the runtime can invoke. */ + /** + * The weight of runtime database operations the runtime can invoke. + **/ dbWeight: SpWeightsRuntimeDbWeight & AugmentedConst; /** * The designated SS58 prefix of this chain. * - * This replaces the "ss58Format" property declared in the chain spec. Reason is that the - * runtime should know about the prefix in order to make use of it as an identifier of the chain. - */ + * This replaces the "ss58Format" property declared in the chain spec. Reason is + * that the runtime should know about the prefix in order to make use of it as + * an identifier of the chain. + **/ ss58Prefix: u16 & AugmentedConst; - /** Get the chain's in-code version. */ + /** + * Get the chain's in-code version. + **/ version: SpVersionRuntimeVersion & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; timestamp: { /** * The minimum period between blocks. * - * Be aware that this is different to the _expected_ period that the block production - * apparatus provides. Your chosen consensus system will generally work with this to determine - * a sensible block time. For example, in the Aura pallet it will be double this period on - * default settings. - */ + * Be aware that this is different to the *expected* period that the block production + * apparatus provides. Your chosen consensus system will generally work with this to + * determine a sensible block time. For example, in the Aura pallet it will be double this + * period on default settings. + **/ minimumPeriod: u64 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; transactionPayment: { /** - * A fee multiplier for `Operational` extrinsics to compute "virtual tip" to boost their `priority` + * A fee multiplier for `Operational` extrinsics to compute "virtual tip" to boost their + * `priority` * - * This value is multiplied by the `final_fee` to obtain a "virtual tip" that is later added - * to a tip component in regular `priority` calculations. It means that a `Normal` transaction - * can front-run a similarly-sized `Operational` extrinsic (with no tip), by including a tip - * value greater than the virtual tip. + * This value is multiplied by the `final_fee` to obtain a "virtual tip" that is later + * added to a tip component in regular `priority` calculations. + * It means that a `Normal` transaction can front-run a similarly-sized `Operational` + * extrinsic (with no tip), by including a tip value greater than the virtual tip. * * ```rust,ignore * // For `Normal` @@ -424,55 +569,76 @@ declare module "@polkadot/api-base/types/consts" { * let priority = priority_calc(tip + virtual_tip); * ``` * - * Note that since we use `final_fee` the multiplier applies also to the regular `tip` sent - * with the transaction. So, not only does the transaction get a priority bump based on the - * `inclusion_fee`, but we also amplify the impact of tips applied to `Operational` transactions. - */ + * Note that since we use `final_fee` the multiplier applies also to the regular `tip` + * sent with the transaction. So, not only does the transaction get a priority bump based + * on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational` + * transactions. + **/ operationalFeeMultiplier: u8 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; treasury: { - /** Percentage of spare funds (if any) that are burnt per spend period. */ + /** + * Percentage of spare funds (if any) that are burnt per spend period. + **/ burn: Permill & AugmentedConst; /** * The maximum number of approvals that can wait in the spending queue. * * NOTE: This parameter is also used within the Bounties Pallet extension if enabled. - */ + **/ maxApprovals: u32 & AugmentedConst; - /** The treasury's pallet id, used for deriving its sovereign account ID. */ + /** + * The treasury's pallet id, used for deriving its sovereign account ID. + **/ palletId: FrameSupportPalletId & AugmentedConst; - /** The period during which an approved treasury spend has to be claimed. */ + /** + * The period during which an approved treasury spend has to be claimed. + **/ payoutPeriod: u32 & AugmentedConst; - /** Period between successive spends. */ + /** + * Period between successive spends. + **/ spendPeriod: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; treasuryCouncilCollective: { - /** The maximum weight of a dispatch call that can be proposed and executed. */ + /** + * The maximum weight of a dispatch call that can be proposed and executed. + **/ maxProposalWeight: SpWeightsWeightV2Weight & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; utility: { - /** The limit on the number of batched calls. */ + /** + * The limit on the number of batched calls. + **/ batchedCallsLimit: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; xcmpQueue: { /** * Maximal number of outbound XCMP channels that can have messages queued at the same time. * - * If this is reached, then no further messages can be sent to channels that do not yet have a - * message queued. This should be set to the expected maximum of outbound channels which is - * determined by [`Self::ChannelInfo`]. It is important to set this large enough, since - * otherwise the congestion control protocol will not work as intended and messages may be - * dropped. This value increases the PoV and should therefore not be picked too high. - * Governance needs to pay attention to not open more channels than this value. - */ + * If this is reached, then no further messages can be sent to channels that do not yet + * have a message queued. This should be set to the expected maximum of outbound channels + * which is determined by [`Self::ChannelInfo`]. It is important to set this large enough, + * since otherwise the congestion control protocol will not work as intended and messages + * may be dropped. This value increases the PoV and should therefore not be picked too + * high. Governance needs to pay attention to not open more channels than this value. + **/ maxActiveOutboundChannels: u32 & AugmentedConst; /** * The maximum number of inbound XCMP channels that can be suspended simultaneously. @@ -480,7 +646,7 @@ declare module "@polkadot/api-base/types/consts" { * Any further channel suspensions will fail and messages may get dropped without further * notice. Choosing a high value (1000) is okay; the trade-off that is described in * [`InboundXcmpSuspended`] still applies at that scale. - */ + **/ maxInboundSuspended: u32 & AugmentedConst; /** * The maximal page size for HRMP message pages. @@ -488,17 +654,27 @@ declare module "@polkadot/api-base/types/consts" { * A lower limit can be set dynamically, but this is the hard-limit for the PoV worst case * benchmarking. The limit for the size of a message is slightly below this, since some * overhead is incurred for encoding the format. - */ + **/ maxPageSize: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; xcmTransactor: { - /** The actual weight for an XCM message is `T::BaseXcmWeight + T::Weigher::weight(&msg)`. */ + /** + * + * The actual weight for an XCM message is `T::BaseXcmWeight + + * T::Weigher::weight(&msg)`. + **/ baseXcmWeight: SpWeightsWeightV2Weight & AugmentedConst; - /** Self chain location. */ + /** + * Self chain location. + **/ selfLocation: StagingXcmV4Location & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; } // AugmentedConsts diff --git a/typescript-api/src/moonbeam/interfaces/augment-api-errors.ts b/typescript-api/src/moonbeam/interfaces/augment-api-errors.ts index d64ef4b4ad..26967c2553 100644 --- a/typescript-api/src/moonbeam/interfaces/augment-api-errors.ts +++ b/typescript-api/src/moonbeam/interfaces/augment-api-errors.ts @@ -20,246 +20,430 @@ declare module "@polkadot/api-base/types/errors" { NonExistentLocalAsset: AugmentedError; NotSufficientDeposit: AugmentedError; TooLowNumAssetsWeightHint: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; assets: { - /** The asset-account already exists. */ + /** + * The asset-account already exists. + **/ AlreadyExists: AugmentedError; - /** The asset is not live, and likely being destroyed. */ + /** + * The asset is not live, and likely being destroyed. + **/ AssetNotLive: AugmentedError; - /** The asset ID must be equal to the [`NextAssetId`]. */ + /** + * The asset ID must be equal to the [`NextAssetId`]. + **/ BadAssetId: AugmentedError; - /** Invalid metadata given. */ + /** + * Invalid metadata given. + **/ BadMetadata: AugmentedError; - /** Invalid witness data given. */ + /** + * Invalid witness data given. + **/ BadWitness: AugmentedError; - /** Account balance must be greater than or equal to the transfer amount. */ + /** + * Account balance must be greater than or equal to the transfer amount. + **/ BalanceLow: AugmentedError; - /** Callback action resulted in error */ + /** + * Callback action resulted in error + **/ CallbackFailed: AugmentedError; - /** The origin account is frozen. */ + /** + * The origin account is frozen. + **/ Frozen: AugmentedError; - /** The asset status is not the expected status. */ + /** + * The asset status is not the expected status. + **/ IncorrectStatus: AugmentedError; - /** The asset ID is already taken. */ + /** + * The asset ID is already taken. + **/ InUse: AugmentedError; /** - * The asset is a live asset and is actively being used. Usually emit for operations such as - * `start_destroy` which require the asset to be in a destroying state. - */ + * The asset is a live asset and is actively being used. Usually emit for operations such + * as `start_destroy` which require the asset to be in a destroying state. + **/ LiveAsset: AugmentedError; - /** Minimum balance should be non-zero. */ + /** + * Minimum balance should be non-zero. + **/ MinBalanceZero: AugmentedError; - /** The account to alter does not exist. */ + /** + * The account to alter does not exist. + **/ NoAccount: AugmentedError; - /** The asset-account doesn't have an associated deposit. */ + /** + * The asset-account doesn't have an associated deposit. + **/ NoDeposit: AugmentedError; - /** The signing account has no permission to do the operation. */ + /** + * The signing account has no permission to do the operation. + **/ NoPermission: AugmentedError; - /** The asset should be frozen before the given operation. */ + /** + * The asset should be frozen before the given operation. + **/ NotFrozen: AugmentedError; - /** No approval exists that would allow the transfer. */ + /** + * No approval exists that would allow the transfer. + **/ Unapproved: AugmentedError; /** * Unable to increment the consumer reference counters on the account. Either no provider - * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one fewer - * then the maximum number of consumers has been reached. - */ + * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one + * fewer then the maximum number of consumers has been reached. + **/ UnavailableConsumer: AugmentedError; - /** The given asset ID is unknown. */ + /** + * The given asset ID is unknown. + **/ Unknown: AugmentedError; - /** The operation would result in funds being burned. */ + /** + * The operation would result in funds being burned. + **/ WouldBurn: AugmentedError; - /** The source account would not survive the transfer and it needs to stay alive. */ + /** + * The source account would not survive the transfer and it needs to stay alive. + **/ WouldDie: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; authorInherent: { - /** Author already set in block. */ + /** + * Author already set in block. + **/ AuthorAlreadySet: AugmentedError; - /** The author in the inherent is not an eligible author. */ + /** + * The author in the inherent is not an eligible author. + **/ CannotBeAuthor: AugmentedError; - /** No AccountId was found to be associated with this author */ + /** + * No AccountId was found to be associated with this author + **/ NoAccountId: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; authorMapping: { - /** The NimbusId in question is already associated and cannot be overwritten */ + /** + * The NimbusId in question is already associated and cannot be overwritten + **/ AlreadyAssociated: AugmentedError; - /** The association can't be cleared because it is not found. */ + /** + * The association can't be cleared because it is not found. + **/ AssociationNotFound: AugmentedError; - /** This account cannot set an author because it cannon afford the security deposit */ + /** + * This account cannot set an author because it cannon afford the security deposit + **/ CannotAffordSecurityDeposit: AugmentedError; - /** Failed to decode T::Keys for `set_keys` */ + /** + * Failed to decode T::Keys for `set_keys` + **/ DecodeKeysFailed: AugmentedError; - /** Failed to decode NimbusId for `set_keys` */ + /** + * Failed to decode NimbusId for `set_keys` + **/ DecodeNimbusFailed: AugmentedError; - /** The association can't be cleared because it belongs to another account. */ + /** + * The association can't be cleared because it belongs to another account. + **/ NotYourAssociation: AugmentedError; - /** No existing NimbusId can be found for the account */ + /** + * No existing NimbusId can be found for the account + **/ OldAuthorIdNotFound: AugmentedError; - /** Keys have wrong size */ + /** + * Keys have wrong size + **/ WrongKeySize: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; balances: { - /** Beneficiary account must pre-exist. */ + /** + * Beneficiary account must pre-exist. + **/ DeadAccount: AugmentedError; - /** The delta cannot be zero. */ + /** + * The delta cannot be zero. + **/ DeltaZero: AugmentedError; - /** Value too low to create account due to existential deposit. */ + /** + * Value too low to create account due to existential deposit. + **/ ExistentialDeposit: AugmentedError; - /** A vesting schedule already exists for this account. */ + /** + * A vesting schedule already exists for this account. + **/ ExistingVestingSchedule: AugmentedError; - /** Transfer/payment would kill account. */ + /** + * Transfer/payment would kill account. + **/ Expendability: AugmentedError; - /** Balance too low to send value. */ + /** + * Balance too low to send value. + **/ InsufficientBalance: AugmentedError; - /** The issuance cannot be modified since it is already deactivated. */ + /** + * The issuance cannot be modified since it is already deactivated. + **/ IssuanceDeactivated: AugmentedError; - /** Account liquidity restrictions prevent withdrawal. */ + /** + * Account liquidity restrictions prevent withdrawal. + **/ LiquidityRestrictions: AugmentedError; - /** Number of freezes exceed `MaxFreezes`. */ + /** + * Number of freezes exceed `MaxFreezes`. + **/ TooManyFreezes: AugmentedError; - /** Number of holds exceed `VariantCountOf`. */ + /** + * Number of holds exceed `VariantCountOf`. + **/ TooManyHolds: AugmentedError; - /** Number of named reserves exceed `MaxReserves`. */ + /** + * Number of named reserves exceed `MaxReserves`. + **/ TooManyReserves: AugmentedError; - /** Vesting balance too high to send value. */ + /** + * Vesting balance too high to send value. + **/ VestingBalance: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; convictionVoting: { - /** The account is already delegating. */ + /** + * The account is already delegating. + **/ AlreadyDelegating: AugmentedError; /** - * The account currently has votes attached to it and the operation cannot succeed until these - * are removed through `remove_vote`. - */ + * The account currently has votes attached to it and the operation cannot succeed until + * these are removed through `remove_vote`. + **/ AlreadyVoting: AugmentedError; - /** The class ID supplied is invalid. */ + /** + * The class ID supplied is invalid. + **/ BadClass: AugmentedError; - /** The class must be supplied since it is not easily determinable from the state. */ + /** + * The class must be supplied since it is not easily determinable from the state. + **/ ClassNeeded: AugmentedError; - /** Too high a balance was provided that the account cannot afford. */ + /** + * Too high a balance was provided that the account cannot afford. + **/ InsufficientFunds: AugmentedError; - /** Maximum number of votes reached. */ + /** + * Maximum number of votes reached. + **/ MaxVotesReached: AugmentedError; - /** Delegation to oneself makes no sense. */ + /** + * Delegation to oneself makes no sense. + **/ Nonsense: AugmentedError; - /** The actor has no permission to conduct the action. */ + /** + * The actor has no permission to conduct the action. + **/ NoPermission: AugmentedError; - /** The actor has no permission to conduct the action right now but will do in the future. */ + /** + * The actor has no permission to conduct the action right now but will do in the future. + **/ NoPermissionYet: AugmentedError; - /** The account is not currently delegating. */ + /** + * The account is not currently delegating. + **/ NotDelegating: AugmentedError; - /** Poll is not ongoing. */ + /** + * Poll is not ongoing. + **/ NotOngoing: AugmentedError; - /** The given account did not vote on the poll. */ + /** + * The given account did not vote on the poll. + **/ NotVoter: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; crowdloanRewards: { /** - * User trying to associate a native identity with a relay chain identity for posterior reward - * claiming provided an already associated relay chain identity - */ + * User trying to associate a native identity with a relay chain identity for posterior + * reward claiming provided an already associated relay chain identity + **/ AlreadyAssociated: AugmentedError; - /** Trying to introduce a batch that goes beyond the limits of the funds */ + /** + * Trying to introduce a batch that goes beyond the limits of the funds + **/ BatchBeyondFundPot: AugmentedError; - /** First claim already done */ + /** + * First claim already done + **/ FirstClaimAlreadyDone: AugmentedError; - /** User submitted an unsifficient number of proofs to change the reward address */ + /** + * User submitted an unsifficient number of proofs to change the reward address + **/ InsufficientNumberOfValidProofs: AugmentedError; /** - * User trying to associate a native identity with a relay chain identity for posterior reward - * claiming provided a wrong signature - */ + * User trying to associate a native identity with a relay chain identity for posterior + * reward claiming provided a wrong signature + **/ InvalidClaimSignature: AugmentedError; - /** User trying to claim the first free reward provided the wrong signature */ + /** + * User trying to claim the first free reward provided the wrong signature + **/ InvalidFreeClaimSignature: AugmentedError; /** - * User trying to claim an award did not have an claim associated with it. This may mean they - * did not contribute to the crowdloan, or they have not yet associated a native id with their - * contribution - */ + * User trying to claim an award did not have an claim associated with it. This may mean + * they did not contribute to the crowdloan, or they have not yet associated a native id + * with their contribution + **/ NoAssociatedClaim: AugmentedError; - /** User provided a signature from a non-contributor relay account */ + /** + * User provided a signature from a non-contributor relay account + **/ NonContributedAddressProvided: AugmentedError; - /** The contribution is not high enough to be eligible for rewards */ + /** + * The contribution is not high enough to be eligible for rewards + **/ RewardNotHighEnough: AugmentedError; /** - * User trying to claim rewards has already claimed all rewards associated with its identity - * and contribution - */ + * User trying to claim rewards has already claimed all rewards associated with its + * identity and contribution + **/ RewardsAlreadyClaimed: AugmentedError; - /** Rewards should match funds of the pallet */ + /** + * Rewards should match funds of the pallet + **/ RewardsDoNotMatchFund: AugmentedError; - /** Reward vec has already been initialized */ + /** + * Reward vec has already been initialized + **/ RewardVecAlreadyInitialized: AugmentedError; - /** Reward vec has not yet been fully initialized */ + /** + * Reward vec has not yet been fully initialized + **/ RewardVecNotFullyInitializedYet: AugmentedError; - /** Initialize_reward_vec received too many contributors */ + /** + * Initialize_reward_vec received too many contributors + **/ TooManyContributors: AugmentedError; - /** Provided vesting period is not valid */ + /** + * Provided vesting period is not valid + **/ VestingPeriodNonValid: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; emergencyParaXcm: { - /** The current XCM Mode is not Paused */ + /** + * The current XCM Mode is not Paused + **/ NotInPausedMode: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; ethereum: { - /** Signature is invalid. */ + /** + * Signature is invalid. + **/ InvalidSignature: AugmentedError; - /** Pre-log is present, therefore transact is not allowed. */ + /** + * Pre-log is present, therefore transact is not allowed. + **/ PreLogExists: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; ethereumXcm: { - /** Xcm to Ethereum execution is suspended */ + /** + * Xcm to Ethereum execution is suspended + **/ EthereumXcmExecutionSuspended: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; evm: { - /** Not enough balance to perform action */ + /** + * Not enough balance to perform action + **/ BalanceLow: AugmentedError; - /** Calculating total fee overflowed */ + /** + * Calculating total fee overflowed + **/ FeeOverflow: AugmentedError; - /** Gas limit is too high. */ + /** + * Gas limit is too high. + **/ GasLimitTooHigh: AugmentedError; - /** Gas limit is too low. */ + /** + * Gas limit is too low. + **/ GasLimitTooLow: AugmentedError; - /** Gas price is too low. */ + /** + * Gas price is too low. + **/ GasPriceTooLow: AugmentedError; - /** The chain id is invalid. */ + /** + * The chain id is invalid. + **/ InvalidChainId: AugmentedError; - /** Nonce is invalid */ + /** + * Nonce is invalid + **/ InvalidNonce: AugmentedError; - /** The signature is invalid. */ + /** + * the signature is invalid. + **/ InvalidSignature: AugmentedError; - /** Calculating total payment overflowed */ + /** + * Calculating total payment overflowed + **/ PaymentOverflow: AugmentedError; - /** EVM reentrancy */ + /** + * EVM reentrancy + **/ Reentrancy: AugmentedError; - /** EIP-3607, */ + /** + * EIP-3607, + **/ TransactionMustComeFromEOA: AugmentedError; - /** Undefined error. */ + /** + * Undefined error. + **/ Undefined: AugmentedError; - /** Withdraw fee failed */ + /** + * Withdraw fee failed + **/ WithdrawFailed: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; evmForeignAssets: { @@ -277,226 +461,416 @@ declare module "@polkadot/api-base/types/errors" { InvalidTokenName: AugmentedError; LocationAlreadyExists: AugmentedError; TooManyForeignAssets: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; identity: { - /** Account ID is already named. */ + /** + * Account ID is already named. + **/ AlreadyClaimed: AugmentedError; - /** Empty index. */ + /** + * Empty index. + **/ EmptyIndex: AugmentedError; - /** Fee is changed. */ + /** + * Fee is changed. + **/ FeeChanged: AugmentedError; - /** The index is invalid. */ + /** + * The index is invalid. + **/ InvalidIndex: AugmentedError; - /** Invalid judgement. */ + /** + * Invalid judgement. + **/ InvalidJudgement: AugmentedError; - /** The signature on a username was not valid. */ + /** + * The signature on a username was not valid. + **/ InvalidSignature: AugmentedError; - /** The provided suffix is too long. */ + /** + * The provided suffix is too long. + **/ InvalidSuffix: AugmentedError; - /** The target is invalid. */ + /** + * The target is invalid. + **/ InvalidTarget: AugmentedError; - /** The username does not meet the requirements. */ + /** + * The username does not meet the requirements. + **/ InvalidUsername: AugmentedError; - /** The provided judgement was for a different identity. */ + /** + * The provided judgement was for a different identity. + **/ JudgementForDifferentIdentity: AugmentedError; - /** Judgement given. */ + /** + * Judgement given. + **/ JudgementGiven: AugmentedError; - /** Error that occurs when there is an issue paying for judgement. */ + /** + * Error that occurs when there is an issue paying for judgement. + **/ JudgementPaymentFailed: AugmentedError; - /** The authority cannot allocate any more usernames. */ + /** + * The authority cannot allocate any more usernames. + **/ NoAllocation: AugmentedError; - /** No identity found. */ + /** + * No identity found. + **/ NoIdentity: AugmentedError; - /** The username cannot be forcefully removed because it can still be accepted. */ + /** + * The username cannot be forcefully removed because it can still be accepted. + **/ NotExpired: AugmentedError; - /** Account isn't found. */ + /** + * Account isn't found. + **/ NotFound: AugmentedError; - /** Account isn't named. */ + /** + * Account isn't named. + **/ NotNamed: AugmentedError; - /** Sub-account isn't owned by sender. */ + /** + * Sub-account isn't owned by sender. + **/ NotOwned: AugmentedError; - /** Sender is not a sub-account. */ + /** + * Sender is not a sub-account. + **/ NotSub: AugmentedError; - /** The sender does not have permission to issue a username. */ + /** + * The sender does not have permission to issue a username. + **/ NotUsernameAuthority: AugmentedError; - /** The requested username does not exist. */ + /** + * The requested username does not exist. + **/ NoUsername: AugmentedError; - /** Setting this username requires a signature, but none was provided. */ + /** + * Setting this username requires a signature, but none was provided. + **/ RequiresSignature: AugmentedError; - /** Sticky judgement. */ + /** + * Sticky judgement. + **/ StickyJudgement: AugmentedError; - /** Maximum amount of registrars reached. Cannot add any more. */ + /** + * Maximum amount of registrars reached. Cannot add any more. + **/ TooManyRegistrars: AugmentedError; - /** Too many subs-accounts. */ + /** + * Too many subs-accounts. + **/ TooManySubAccounts: AugmentedError; - /** The username is already taken. */ + /** + * The username is already taken. + **/ UsernameTaken: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; maintenanceMode: { - /** The chain cannot enter maintenance mode because it is already in maintenance mode */ + /** + * The chain cannot enter maintenance mode because it is already in maintenance mode + **/ AlreadyInMaintenanceMode: AugmentedError; - /** The chain cannot resume normal operation because it is not in maintenance mode */ + /** + * The chain cannot resume normal operation because it is not in maintenance mode + **/ NotInMaintenanceMode: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; messageQueue: { - /** The message was already processed and cannot be processed again. */ + /** + * The message was already processed and cannot be processed again. + **/ AlreadyProcessed: AugmentedError; - /** There is temporarily not enough weight to continue servicing messages. */ + /** + * There is temporarily not enough weight to continue servicing messages. + **/ InsufficientWeight: AugmentedError; - /** The referenced message could not be found. */ + /** + * The referenced message could not be found. + **/ NoMessage: AugmentedError; - /** Page to be reaped does not exist. */ + /** + * Page to be reaped does not exist. + **/ NoPage: AugmentedError; - /** Page is not reapable because it has items remaining to be processed and is not old enough. */ + /** + * Page is not reapable because it has items remaining to be processed and is not old + * enough. + **/ NotReapable: AugmentedError; - /** The message is queued for future execution. */ + /** + * The message is queued for future execution. + **/ Queued: AugmentedError; /** * The queue is paused and no message can be executed from it. * * This can change at any time and may resolve in the future by re-trying. - */ + **/ QueuePaused: AugmentedError; - /** Another call is in progress and needs to finish before this call can happen. */ + /** + * Another call is in progress and needs to finish before this call can happen. + **/ RecursiveDisallowed: AugmentedError; /** * This message is temporarily unprocessable. * - * Such errors are expected, but not guaranteed, to resolve themselves eventually through retrying. - */ + * Such errors are expected, but not guaranteed, to resolve themselves eventually through + * retrying. + **/ TemporarilyUnprocessable: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; migrations: { - /** Preimage already exists in the new storage. */ + /** + * Preimage already exists in the new storage. + **/ PreimageAlreadyExists: AugmentedError; - /** Preimage is larger than the new max size. */ + /** + * Preimage is larger than the new max size. + **/ PreimageIsTooBig: AugmentedError; - /** Missing preimage in original democracy storage */ + /** + * Missing preimage in original democracy storage + **/ PreimageMissing: AugmentedError; - /** Provided upper bound is too low. */ + /** + * Provided upper bound is too low. + **/ WrongUpperBound: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; moonbeamLazyMigrations: { - /** Fail to add an approval */ + /** + * Fail to add an approval + **/ ApprovalFailed: AugmentedError; - /** Asset not found */ + /** + * Asset not found + **/ AssetNotFound: AugmentedError; - /** The asset type was not found */ + /** + * The asset type was not found + **/ AssetTypeNotFound: AugmentedError; - /** The contract already have metadata */ + /** + * The contract already have metadata + **/ ContractMetadataAlreadySet: AugmentedError; - /** Contract not exist */ + /** + * Contract not exist + **/ ContractNotExist: AugmentedError; - /** The key lengths exceeds the maximum allowed */ + /** + * The key lengths exceeds the maximum allowed + **/ KeyTooLong: AugmentedError; - /** The limit cannot be zero */ + /** + * The limit cannot be zero + **/ LimitCannotBeZero: AugmentedError; - /** The location of the asset was not found */ + /** + * The location of the asset was not found + **/ LocationNotFound: AugmentedError; - /** Migration is not finished yet */ + /** + * Migration is not finished yet + **/ MigrationNotFinished: AugmentedError; - /** Fail to mint the foreign asset */ + /** + * Fail to mint the foreign asset + **/ MintFailed: AugmentedError; - /** The name length exceeds the maximum allowed */ + /** + * The name length exceeds the maximum allowed + **/ NameTooLong: AugmentedError; - /** No migration in progress */ + /** + * No migration in progress + **/ NoMigrationInProgress: AugmentedError; - /** The symbol length exceeds the maximum allowed */ + /** + * The symbol length exceeds the maximum allowed + **/ SymbolTooLong: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; moonbeamOrbiters: { - /** The collator is already added in orbiters program. */ + /** + * The collator is already added in orbiters program. + **/ CollatorAlreadyAdded: AugmentedError; - /** This collator is not in orbiters program. */ + /** + * This collator is not in orbiters program. + **/ CollatorNotFound: AugmentedError; - /** There are already too many orbiters associated with this collator. */ + /** + * There are already too many orbiters associated with this collator. + **/ CollatorPoolTooLarge: AugmentedError; - /** There are more collator pools than the number specified in the parameter. */ + /** + * There are more collator pools than the number specified in the parameter. + **/ CollatorsPoolCountTooLow: AugmentedError; /** * The minimum deposit required to register as an orbiter has not yet been included in the * onchain storage - */ + **/ MinOrbiterDepositNotSet: AugmentedError; - /** This orbiter is already associated with this collator. */ + /** + * This orbiter is already associated with this collator. + **/ OrbiterAlreadyInPool: AugmentedError; - /** This orbiter has not made a deposit */ + /** + * This orbiter has not made a deposit + **/ OrbiterDepositNotFound: AugmentedError; - /** This orbiter is not found */ + /** + * This orbiter is not found + **/ OrbiterNotFound: AugmentedError; - /** The orbiter is still at least in one pool */ + /** + * The orbiter is still at least in one pool + **/ OrbiterStillInAPool: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; multisig: { - /** Call is already approved by this signatory. */ + /** + * Call is already approved by this signatory. + **/ AlreadyApproved: AugmentedError; - /** The data to be stored is already stored. */ + /** + * The data to be stored is already stored. + **/ AlreadyStored: AugmentedError; - /** The maximum weight information provided was too low. */ + /** + * The maximum weight information provided was too low. + **/ MaxWeightTooLow: AugmentedError; - /** Threshold must be 2 or greater. */ + /** + * Threshold must be 2 or greater. + **/ MinimumThreshold: AugmentedError; - /** Call doesn't need any (more) approvals. */ + /** + * Call doesn't need any (more) approvals. + **/ NoApprovalsNeeded: AugmentedError; - /** Multisig operation not found when attempting to cancel. */ + /** + * Multisig operation not found when attempting to cancel. + **/ NotFound: AugmentedError; - /** No timepoint was given, yet the multisig operation is already underway. */ + /** + * No timepoint was given, yet the multisig operation is already underway. + **/ NoTimepoint: AugmentedError; - /** Only the account that originally created the multisig is able to cancel it. */ + /** + * Only the account that originally created the multisig is able to cancel it. + **/ NotOwner: AugmentedError; - /** The sender was contained in the other signatories; it shouldn't be. */ + /** + * The sender was contained in the other signatories; it shouldn't be. + **/ SenderInSignatories: AugmentedError; - /** The signatories were provided out of order; they should be ordered. */ + /** + * The signatories were provided out of order; they should be ordered. + **/ SignatoriesOutOfOrder: AugmentedError; - /** There are too few signatories in the list. */ + /** + * There are too few signatories in the list. + **/ TooFewSignatories: AugmentedError; - /** There are too many signatories in the list. */ + /** + * There are too many signatories in the list. + **/ TooManySignatories: AugmentedError; - /** A timepoint was given, yet no multisig operation is underway. */ + /** + * A timepoint was given, yet no multisig operation is underway. + **/ UnexpectedTimepoint: AugmentedError; - /** A different timepoint was given to the multisig operation that is underway. */ + /** + * A different timepoint was given to the multisig operation that is underway. + **/ WrongTimepoint: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; openTechCommitteeCollective: { - /** Members are already initialized! */ + /** + * Members are already initialized! + **/ AlreadyInitialized: AugmentedError; - /** Duplicate proposals not allowed */ + /** + * Duplicate proposals not allowed + **/ DuplicateProposal: AugmentedError; - /** Duplicate vote ignored */ + /** + * Duplicate vote ignored + **/ DuplicateVote: AugmentedError; - /** Account is not a member */ + /** + * Account is not a member + **/ NotMember: AugmentedError; - /** Prime account is not a member */ + /** + * Prime account is not a member + **/ PrimeAccountNotMember: AugmentedError; - /** Proposal must exist */ + /** + * Proposal must exist + **/ ProposalMissing: AugmentedError; - /** The close call was made too early, before the end of the voting. */ + /** + * The close call was made too early, before the end of the voting. + **/ TooEarly: AugmentedError; - /** There can only be a maximum of `MaxProposals` active proposals. */ + /** + * There can only be a maximum of `MaxProposals` active proposals. + **/ TooManyProposals: AugmentedError; - /** Mismatched index */ + /** + * Mismatched index + **/ WrongIndex: AugmentedError; - /** The given length bound for the proposal was too low. */ + /** + * The given length bound for the proposal was too low. + **/ WrongProposalLength: AugmentedError; - /** The given weight bound for the proposal was too low. */ + /** + * The given weight bound for the proposal was too low. + **/ WrongProposalWeight: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; parachainStaking: { @@ -556,132 +930,240 @@ declare module "@polkadot/api-base/types/errors" { TooLowDelegationCountToDelegate: AugmentedError; TooLowDelegationCountToLeaveDelegators: AugmentedError; TotalInflationDistributionPercentExceeds100: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; parachainSystem: { - /** The inherent which supplies the host configuration did not run this block. */ + /** + * The inherent which supplies the host configuration did not run this block. + **/ HostConfigurationNotAvailable: AugmentedError; - /** No code upgrade has been authorized. */ + /** + * No code upgrade has been authorized. + **/ NothingAuthorized: AugmentedError; - /** No validation function upgrade is currently scheduled. */ + /** + * No validation function upgrade is currently scheduled. + **/ NotScheduled: AugmentedError; - /** Attempt to upgrade validation function while existing upgrade pending. */ + /** + * Attempt to upgrade validation function while existing upgrade pending. + **/ OverlappingUpgrades: AugmentedError; - /** Polkadot currently prohibits this parachain from upgrading its validation function. */ + /** + * Polkadot currently prohibits this parachain from upgrading its validation function. + **/ ProhibitedByPolkadot: AugmentedError; - /** The supplied validation function has compiled into a blob larger than Polkadot is willing to run. */ + /** + * The supplied validation function has compiled into a blob larger than Polkadot is + * willing to run. + **/ TooBig: AugmentedError; - /** The given code upgrade has not been authorized. */ + /** + * The given code upgrade has not been authorized. + **/ Unauthorized: AugmentedError; - /** The inherent which supplies the validation data did not run this block. */ + /** + * The inherent which supplies the validation data did not run this block. + **/ ValidationDataNotAvailable: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; polkadotXcm: { - /** The given account is not an identifiable sovereign account for any location. */ + /** + * The given account is not an identifiable sovereign account for any location. + **/ AccountNotSovereign: AugmentedError; - /** The location is invalid since it already has a subscription from us. */ + /** + * The location is invalid since it already has a subscription from us. + **/ AlreadySubscribed: AugmentedError; /** - * The given location could not be used (e.g. because it cannot be expressed in the desired - * version of XCM). - */ + * The given location could not be used (e.g. because it cannot be expressed in the + * desired version of XCM). + **/ BadLocation: AugmentedError; - /** The version of the `Versioned` value used is not able to be interpreted. */ + /** + * The version of the `Versioned` value used is not able to be interpreted. + **/ BadVersion: AugmentedError; - /** Could not check-out the assets for teleportation to the destination chain. */ + /** + * Could not check-out the assets for teleportation to the destination chain. + **/ CannotCheckOutTeleport: AugmentedError; - /** Could not re-anchor the assets to declare the fees for the destination chain. */ + /** + * Could not re-anchor the assets to declare the fees for the destination chain. + **/ CannotReanchor: AugmentedError; - /** The destination `Location` provided cannot be inverted. */ + /** + * The destination `Location` provided cannot be inverted. + **/ DestinationNotInvertible: AugmentedError; - /** The assets to be sent are empty. */ + /** + * The assets to be sent are empty. + **/ Empty: AugmentedError; - /** The operation required fees to be paid which the initiator could not meet. */ + /** + * The operation required fees to be paid which the initiator could not meet. + **/ FeesNotMet: AugmentedError; - /** The message execution fails the filter. */ + /** + * The message execution fails the filter. + **/ Filtered: AugmentedError; - /** The unlock operation cannot succeed because there are still consumers of the lock. */ + /** + * The unlock operation cannot succeed because there are still consumers of the lock. + **/ InUse: AugmentedError; - /** Invalid asset, reserve chain could not be determined for it. */ + /** + * Invalid asset, reserve chain could not be determined for it. + **/ InvalidAssetUnknownReserve: AugmentedError; - /** Invalid asset, do not support remote asset reserves with different fees reserves. */ + /** + * Invalid asset, do not support remote asset reserves with different fees reserves. + **/ InvalidAssetUnsupportedReserve: AugmentedError; - /** Origin is invalid for sending. */ + /** + * Origin is invalid for sending. + **/ InvalidOrigin: AugmentedError; - /** Local XCM execution incomplete. */ + /** + * Local XCM execution incomplete. + **/ LocalExecutionIncomplete: AugmentedError; - /** A remote lock with the corresponding data could not be found. */ + /** + * A remote lock with the corresponding data could not be found. + **/ LockNotFound: AugmentedError; - /** The owner does not own (all) of the asset that they wish to do the operation on. */ + /** + * The owner does not own (all) of the asset that they wish to do the operation on. + **/ LowBalance: AugmentedError; - /** The referenced subscription could not be found. */ + /** + * The referenced subscription could not be found. + **/ NoSubscription: AugmentedError; /** - * There was some other issue (i.e. not to do with routing) in sending the message. Perhaps a - * lack of space for buffering the message. - */ + * There was some other issue (i.e. not to do with routing) in sending the message. + * Perhaps a lack of space for buffering the message. + **/ SendFailure: AugmentedError; - /** Too many assets have been attempted for transfer. */ + /** + * Too many assets have been attempted for transfer. + **/ TooManyAssets: AugmentedError; - /** The asset owner has too many locks on the asset. */ + /** + * The asset owner has too many locks on the asset. + **/ TooManyLocks: AugmentedError; - /** Too many assets with different reserve locations have been attempted for transfer. */ + /** + * Too many assets with different reserve locations have been attempted for transfer. + **/ TooManyReserves: AugmentedError; - /** The desired destination was unreachable, generally because there is a no way of routing to it. */ + /** + * The desired destination was unreachable, generally because there is a no way of routing + * to it. + **/ Unreachable: AugmentedError; - /** The message's weight could not be determined. */ + /** + * The message's weight could not be determined. + **/ UnweighableMessage: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; precompileBenchmarks: { BenchmarkError: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; preimage: { - /** Preimage has already been noted on-chain. */ + /** + * Preimage has already been noted on-chain. + **/ AlreadyNoted: AugmentedError; - /** No ticket with a cost was returned by [`Config::Consideration`] to store the preimage. */ + /** + * No ticket with a cost was returned by [`Config::Consideration`] to store the preimage. + **/ NoCost: AugmentedError; - /** The user is not authorized to perform this action. */ + /** + * The user is not authorized to perform this action. + **/ NotAuthorized: AugmentedError; - /** The preimage cannot be removed since it has not yet been noted. */ + /** + * The preimage cannot be removed since it has not yet been noted. + **/ NotNoted: AugmentedError; - /** The preimage request cannot be removed since no outstanding requests exist. */ + /** + * The preimage request cannot be removed since no outstanding requests exist. + **/ NotRequested: AugmentedError; - /** A preimage may not be removed when there are outstanding requests. */ + /** + * A preimage may not be removed when there are outstanding requests. + **/ Requested: AugmentedError; - /** Preimage is too large to store on-chain. */ + /** + * Preimage is too large to store on-chain. + **/ TooBig: AugmentedError; - /** Too few hashes were requested to be upgraded (i.e. zero). */ + /** + * Too few hashes were requested to be upgraded (i.e. zero). + **/ TooFew: AugmentedError; - /** More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once. */ + /** + * More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once. + **/ TooMany: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; proxy: { - /** Account is already a proxy. */ + /** + * Account is already a proxy. + **/ Duplicate: AugmentedError; - /** Call may not be made by proxy because it may escalate its privileges. */ + /** + * Call may not be made by proxy because it may escalate its privileges. + **/ NoPermission: AugmentedError; - /** Cannot add self as proxy. */ + /** + * Cannot add self as proxy. + **/ NoSelfProxy: AugmentedError; - /** Proxy registration not found. */ + /** + * Proxy registration not found. + **/ NotFound: AugmentedError; - /** Sender is not a proxy of the account to be proxied. */ + /** + * Sender is not a proxy of the account to be proxied. + **/ NotProxy: AugmentedError; - /** There are too many proxies registered or too many announcements pending. */ + /** + * There are too many proxies registered or too many announcements pending. + **/ TooMany: AugmentedError; - /** Announcement, if made at all, was made too recently. */ + /** + * Announcement, if made at all, was made too recently. + **/ Unannounced: AugmentedError; - /** A call which is incompatible with the proxy type's filter was attempted. */ + /** + * A call which is incompatible with the proxy type's filter was attempted. + **/ Unproxyable: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; randomness: { @@ -697,165 +1179,306 @@ declare module "@polkadot/api-base/types/errors" { RequestDNE: AugmentedError; RequestFeeOverflowed: AugmentedError; RequestHasNotExpired: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; referenda: { - /** The referendum index provided is invalid in this context. */ + /** + * The referendum index provided is invalid in this context. + **/ BadReferendum: AugmentedError; - /** The referendum status is invalid for this operation. */ + /** + * The referendum status is invalid for this operation. + **/ BadStatus: AugmentedError; - /** The track identifier given was invalid. */ + /** + * The track identifier given was invalid. + **/ BadTrack: AugmentedError; - /** There are already a full complement of referenda in progress for this track. */ + /** + * There are already a full complement of referenda in progress for this track. + **/ Full: AugmentedError; - /** Referendum's decision deposit is already paid. */ + /** + * Referendum's decision deposit is already paid. + **/ HasDeposit: AugmentedError; - /** The deposit cannot be refunded since none was made. */ + /** + * The deposit cannot be refunded since none was made. + **/ NoDeposit: AugmentedError; - /** The deposit refunder is not the depositor. */ + /** + * The deposit refunder is not the depositor. + **/ NoPermission: AugmentedError; - /** There was nothing to do in the advancement. */ + /** + * There was nothing to do in the advancement. + **/ NothingToDo: AugmentedError; - /** Referendum is not ongoing. */ + /** + * Referendum is not ongoing. + **/ NotOngoing: AugmentedError; - /** No track exists for the proposal origin. */ + /** + * No track exists for the proposal origin. + **/ NoTrack: AugmentedError; - /** The preimage does not exist. */ + /** + * The preimage does not exist. + **/ PreimageNotExist: AugmentedError; - /** The preimage is stored with a different length than the one provided. */ + /** + * The preimage is stored with a different length than the one provided. + **/ PreimageStoredWithDifferentLength: AugmentedError; - /** The queue of the track is empty. */ + /** + * The queue of the track is empty. + **/ QueueEmpty: AugmentedError; - /** Any deposit cannot be refunded until after the decision is over. */ + /** + * Any deposit cannot be refunded until after the decision is over. + **/ Unfinished: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; scheduler: { - /** Failed to schedule a call */ + /** + * Failed to schedule a call + **/ FailedToSchedule: AugmentedError; - /** Attempt to use a non-named function on a named task. */ + /** + * Attempt to use a non-named function on a named task. + **/ Named: AugmentedError; - /** Cannot find the scheduled call. */ + /** + * Cannot find the scheduled call. + **/ NotFound: AugmentedError; - /** Reschedule failed because it does not change scheduled time. */ + /** + * Reschedule failed because it does not change scheduled time. + **/ RescheduleNoChange: AugmentedError; - /** Given target block number is in the past. */ + /** + * Given target block number is in the past. + **/ TargetBlockNumberInPast: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; system: { - /** The origin filter prevent the call to be dispatched. */ + /** + * The origin filter prevent the call to be dispatched. + **/ CallFiltered: AugmentedError; /** * Failed to extract the runtime version from the new runtime. * * Either calling `Core_version` or decoding `RuntimeVersion` failed. - */ + **/ FailedToExtractRuntimeVersion: AugmentedError; - /** The name of specification does not match between the current runtime and the new runtime. */ + /** + * The name of specification does not match between the current runtime + * and the new runtime. + **/ InvalidSpecName: AugmentedError; - /** A multi-block migration is ongoing and prevents the current code from being replaced. */ + /** + * A multi-block migration is ongoing and prevents the current code from being replaced. + **/ MultiBlockMigrationsOngoing: AugmentedError; - /** Suicide called when the account has non-default composite data. */ + /** + * Suicide called when the account has non-default composite data. + **/ NonDefaultComposite: AugmentedError; - /** There is a non-zero reference count preventing the account from being purged. */ + /** + * There is a non-zero reference count preventing the account from being purged. + **/ NonZeroRefCount: AugmentedError; - /** No upgrade authorized. */ + /** + * No upgrade authorized. + **/ NothingAuthorized: AugmentedError; - /** The specification version is not allowed to decrease between the current runtime and the new runtime. */ + /** + * The specification version is not allowed to decrease between the current runtime + * and the new runtime. + **/ SpecVersionNeedsToIncrease: AugmentedError; - /** The submitted code is not authorized. */ + /** + * The submitted code is not authorized. + **/ Unauthorized: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; treasury: { - /** The payment has already been attempted. */ + /** + * The payment has already been attempted. + **/ AlreadyAttempted: AugmentedError; - /** The spend is not yet eligible for payout. */ + /** + * The spend is not yet eligible for payout. + **/ EarlyPayout: AugmentedError; - /** The balance of the asset kind is not convertible to the balance of the native asset. */ + /** + * The balance of the asset kind is not convertible to the balance of the native asset. + **/ FailedToConvertBalance: AugmentedError; - /** The payment has neither failed nor succeeded yet. */ + /** + * The payment has neither failed nor succeeded yet. + **/ Inconclusive: AugmentedError; - /** The spend origin is valid but the amount it is allowed to spend is lower than the amount to be spent. */ + /** + * The spend origin is valid but the amount it is allowed to spend is lower than the + * amount to be spent. + **/ InsufficientPermission: AugmentedError; - /** No proposal, bounty or spend at that index. */ + /** + * No proposal, bounty or spend at that index. + **/ InvalidIndex: AugmentedError; - /** The payout was not yet attempted/claimed. */ + /** + * The payout was not yet attempted/claimed. + **/ NotAttempted: AugmentedError; - /** There was some issue with the mechanism of payment. */ + /** + * There was some issue with the mechanism of payment. + **/ PayoutError: AugmentedError; - /** Proposal has not been approved. */ + /** + * Proposal has not been approved. + **/ ProposalNotApproved: AugmentedError; - /** The spend has expired and cannot be claimed. */ + /** + * The spend has expired and cannot be claimed. + **/ SpendExpired: AugmentedError; - /** Too many approvals in the queue. */ + /** + * Too many approvals in the queue. + **/ TooManyApprovals: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; treasuryCouncilCollective: { - /** Members are already initialized! */ + /** + * Members are already initialized! + **/ AlreadyInitialized: AugmentedError; - /** Duplicate proposals not allowed */ + /** + * Duplicate proposals not allowed + **/ DuplicateProposal: AugmentedError; - /** Duplicate vote ignored */ + /** + * Duplicate vote ignored + **/ DuplicateVote: AugmentedError; - /** Account is not a member */ + /** + * Account is not a member + **/ NotMember: AugmentedError; - /** Prime account is not a member */ + /** + * Prime account is not a member + **/ PrimeAccountNotMember: AugmentedError; - /** Proposal must exist */ + /** + * Proposal must exist + **/ ProposalMissing: AugmentedError; - /** The close call was made too early, before the end of the voting. */ + /** + * The close call was made too early, before the end of the voting. + **/ TooEarly: AugmentedError; - /** There can only be a maximum of `MaxProposals` active proposals. */ + /** + * There can only be a maximum of `MaxProposals` active proposals. + **/ TooManyProposals: AugmentedError; - /** Mismatched index */ + /** + * Mismatched index + **/ WrongIndex: AugmentedError; - /** The given length bound for the proposal was too low. */ + /** + * The given length bound for the proposal was too low. + **/ WrongProposalLength: AugmentedError; - /** The given weight bound for the proposal was too low. */ + /** + * The given weight bound for the proposal was too low. + **/ WrongProposalWeight: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; utility: { - /** Too many calls batched. */ + /** + * Too many calls batched. + **/ TooManyCalls: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; whitelist: { - /** The call was already whitelisted; No-Op. */ + /** + * The call was already whitelisted; No-Op. + **/ CallAlreadyWhitelisted: AugmentedError; - /** The call was not whitelisted. */ + /** + * The call was not whitelisted. + **/ CallIsNotWhitelisted: AugmentedError; - /** The weight of the decoded call was higher than the witness. */ + /** + * The weight of the decoded call was higher than the witness. + **/ InvalidCallWeightWitness: AugmentedError; - /** The preimage of the call hash could not be loaded. */ + /** + * The preimage of the call hash could not be loaded. + **/ UnavailablePreImage: AugmentedError; - /** The call could not be decoded. */ + /** + * The call could not be decoded. + **/ UndecodableCall: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; xcmpQueue: { - /** The execution is already resumed. */ + /** + * The execution is already resumed. + **/ AlreadyResumed: AugmentedError; - /** The execution is already suspended. */ + /** + * The execution is already suspended. + **/ AlreadySuspended: AugmentedError; - /** Setting the queue config failed since one of its values was invalid. */ + /** + * Setting the queue config failed since one of its values was invalid. + **/ BadQueueConfig: AugmentedError; - /** The message is too big. */ + /** + * The message is too big. + **/ TooBig: AugmentedError; - /** There are too many active outbound channels. */ + /** + * There are too many active outbound channels. + **/ TooManyActiveOutboundChannels: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; xcmTransactor: { @@ -886,23 +1509,39 @@ declare module "@polkadot/api-base/types/errors" { UnweighableMessage: AugmentedError; WeightOverflow: AugmentedError; XcmExecuteError: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; xcmWeightTrader: { - /** The given asset was already added */ + /** + * The given asset was already added + **/ AssetAlreadyAdded: AugmentedError; - /** The given asset was already paused */ + /** + * The given asset was already paused + **/ AssetAlreadyPaused: AugmentedError; - /** The given asset was not found */ + /** + * The given asset was not found + **/ AssetNotFound: AugmentedError; - /** The given asset is not paused */ + /** + * The given asset is not paused + **/ AssetNotPaused: AugmentedError; - /** The relative price cannot be zero */ + /** + * The relative price cannot be zero + **/ PriceCannotBeZero: AugmentedError; - /** XCM location filtered */ + /** + * XCM location filtered + **/ XcmLocationFiltered: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; } // AugmentedErrors diff --git a/typescript-api/src/moonbeam/interfaces/augment-api-events.ts b/typescript-api/src/moonbeam/interfaces/augment-api-events.ts index 75d903e2e3..d905baec3b 100644 --- a/typescript-api/src/moonbeam/interfaces/augment-api-events.ts +++ b/typescript-api/src/moonbeam/interfaces/augment-api-events.ts @@ -17,7 +17,7 @@ import type { u16, u32, u64, - u8, + u8 } from "@polkadot/types-codec"; import type { ITuple } from "@polkadot/types-codec/types"; import type { AccountId20, H160, H256, Perbill, Percent } from "@polkadot/types/interfaces/runtime"; @@ -54,7 +54,7 @@ import type { StagingXcmV4Xcm, XcmV3TraitsError, XcmVersionedAssets, - XcmVersionedLocation, + XcmVersionedLocation } from "@polkadot/types/lookup"; export type __AugmentedEvent = AugmentedEvent; @@ -62,13 +62,17 @@ export type __AugmentedEvent = AugmentedEvent declare module "@polkadot/api-base/types/events" { interface AugmentedEvents { assetManager: { - /** Removed all information related to an assetId and destroyed asset */ + /** + * Removed all information related to an assetId and destroyed asset + **/ ForeignAssetDestroyed: AugmentedEvent< ApiType, [assetId: u128, assetType: MoonbeamRuntimeXcmConfigAssetType], { assetId: u128; assetType: MoonbeamRuntimeXcmConfigAssetType } >; - /** New asset with the asset manager is registered */ + /** + * New asset with the asset manager is registered + **/ ForeignAssetRegistered: AugmentedEvent< ApiType, [ @@ -82,153 +86,216 @@ declare module "@polkadot/api-base/types/events" { metadata: MoonbeamRuntimeAssetConfigAssetRegistrarMetadata; } >; - /** Removed all information related to an assetId */ + /** + * Removed all information related to an assetId + **/ ForeignAssetRemoved: AugmentedEvent< ApiType, [assetId: u128, assetType: MoonbeamRuntimeXcmConfigAssetType], { assetId: u128; assetType: MoonbeamRuntimeXcmConfigAssetType } >; - /** Changed the xcm type mapping for a given asset id */ + /** + * Changed the xcm type mapping for a given asset id + **/ ForeignAssetXcmLocationChanged: AugmentedEvent< ApiType, [assetId: u128, newAssetType: MoonbeamRuntimeXcmConfigAssetType], { assetId: u128; newAssetType: MoonbeamRuntimeXcmConfigAssetType } >; - /** Removed all information related to an assetId and destroyed asset */ + /** + * Removed all information related to an assetId and destroyed asset + **/ LocalAssetDestroyed: AugmentedEvent; - /** Supported asset type for fee payment removed */ + /** + * Supported asset type for fee payment removed + **/ SupportedAssetRemoved: AugmentedEvent< ApiType, [assetType: MoonbeamRuntimeXcmConfigAssetType], { assetType: MoonbeamRuntimeXcmConfigAssetType } >; - /** Changed the amount of units we are charging per execution second for a given asset */ + /** + * Changed the amount of units we are charging per execution second for a given asset + **/ UnitsPerSecondChanged: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; assets: { - /** Accounts were destroyed for given asset. */ + /** + * Accounts were destroyed for given asset. + **/ AccountsDestroyed: AugmentedEvent< ApiType, [assetId: u128, accountsDestroyed: u32, accountsRemaining: u32], { assetId: u128; accountsDestroyed: u32; accountsRemaining: u32 } >; - /** An approval for account `delegate` was cancelled by `owner`. */ + /** + * An approval for account `delegate` was cancelled by `owner`. + **/ ApprovalCancelled: AugmentedEvent< ApiType, [assetId: u128, owner: AccountId20, delegate: AccountId20], { assetId: u128; owner: AccountId20; delegate: AccountId20 } >; - /** Approvals were destroyed for given asset. */ + /** + * Approvals were destroyed for given asset. + **/ ApprovalsDestroyed: AugmentedEvent< ApiType, [assetId: u128, approvalsDestroyed: u32, approvalsRemaining: u32], { assetId: u128; approvalsDestroyed: u32; approvalsRemaining: u32 } >; - /** (Additional) funds have been approved for transfer to a destination account. */ + /** + * (Additional) funds have been approved for transfer to a destination account. + **/ ApprovedTransfer: AugmentedEvent< ApiType, [assetId: u128, source: AccountId20, delegate: AccountId20, amount: u128], { assetId: u128; source: AccountId20; delegate: AccountId20; amount: u128 } >; - /** Some asset `asset_id` was frozen. */ + /** + * Some asset `asset_id` was frozen. + **/ AssetFrozen: AugmentedEvent; - /** The min_balance of an asset has been updated by the asset owner. */ + /** + * The min_balance of an asset has been updated by the asset owner. + **/ AssetMinBalanceChanged: AugmentedEvent< ApiType, [assetId: u128, newMinBalance: u128], { assetId: u128; newMinBalance: u128 } >; - /** An asset has had its attributes changed by the `Force` origin. */ + /** + * An asset has had its attributes changed by the `Force` origin. + **/ AssetStatusChanged: AugmentedEvent; - /** Some asset `asset_id` was thawed. */ + /** + * Some asset `asset_id` was thawed. + **/ AssetThawed: AugmentedEvent; - /** Some account `who` was blocked. */ + /** + * Some account `who` was blocked. + **/ Blocked: AugmentedEvent< ApiType, [assetId: u128, who: AccountId20], { assetId: u128; who: AccountId20 } >; - /** Some assets were destroyed. */ + /** + * Some assets were destroyed. + **/ Burned: AugmentedEvent< ApiType, [assetId: u128, owner: AccountId20, balance: u128], { assetId: u128; owner: AccountId20; balance: u128 } >; - /** Some asset class was created. */ + /** + * Some asset class was created. + **/ Created: AugmentedEvent< ApiType, [assetId: u128, creator: AccountId20, owner: AccountId20], { assetId: u128; creator: AccountId20; owner: AccountId20 } >; - /** Some assets were deposited (e.g. for transaction fees). */ + /** + * Some assets were deposited (e.g. for transaction fees). + **/ Deposited: AugmentedEvent< ApiType, [assetId: u128, who: AccountId20, amount: u128], { assetId: u128; who: AccountId20; amount: u128 } >; - /** An asset class was destroyed. */ + /** + * An asset class was destroyed. + **/ Destroyed: AugmentedEvent; - /** An asset class is in the process of being destroyed. */ + /** + * An asset class is in the process of being destroyed. + **/ DestructionStarted: AugmentedEvent; - /** Some asset class was force-created. */ + /** + * Some asset class was force-created. + **/ ForceCreated: AugmentedEvent< ApiType, [assetId: u128, owner: AccountId20], { assetId: u128; owner: AccountId20 } >; - /** Some account `who` was frozen. */ + /** + * Some account `who` was frozen. + **/ Frozen: AugmentedEvent< ApiType, [assetId: u128, who: AccountId20], { assetId: u128; who: AccountId20 } >; - /** Some assets were issued. */ + /** + * Some assets were issued. + **/ Issued: AugmentedEvent< ApiType, [assetId: u128, owner: AccountId20, amount: u128], { assetId: u128; owner: AccountId20; amount: u128 } >; - /** Metadata has been cleared for an asset. */ + /** + * Metadata has been cleared for an asset. + **/ MetadataCleared: AugmentedEvent; - /** New metadata has been set for an asset. */ + /** + * New metadata has been set for an asset. + **/ MetadataSet: AugmentedEvent< ApiType, [assetId: u128, name: Bytes, symbol_: Bytes, decimals: u8, isFrozen: bool], { assetId: u128; name: Bytes; symbol: Bytes; decimals: u8; isFrozen: bool } >; - /** The owner changed. */ + /** + * The owner changed. + **/ OwnerChanged: AugmentedEvent< ApiType, [assetId: u128, owner: AccountId20], { assetId: u128; owner: AccountId20 } >; - /** The management team changed. */ + /** + * The management team changed. + **/ TeamChanged: AugmentedEvent< ApiType, [assetId: u128, issuer: AccountId20, admin: AccountId20, freezer: AccountId20], { assetId: u128; issuer: AccountId20; admin: AccountId20; freezer: AccountId20 } >; - /** Some account `who` was thawed. */ + /** + * Some account `who` was thawed. + **/ Thawed: AugmentedEvent< ApiType, [assetId: u128, who: AccountId20], { assetId: u128; who: AccountId20 } >; - /** Some account `who` was created with a deposit from `depositor`. */ + /** + * Some account `who` was created with a deposit from `depositor`. + **/ Touched: AugmentedEvent< ApiType, [assetId: u128, who: AccountId20, depositor: AccountId20], { assetId: u128; who: AccountId20; depositor: AccountId20 } >; - /** Some assets were transferred. */ + /** + * Some assets were transferred. + **/ Transferred: AugmentedEvent< ApiType, [assetId: u128, from: AccountId20, to: AccountId20, amount: u128], { assetId: u128; from: AccountId20; to: AccountId20; amount: u128 } >; - /** An `amount` was transferred in its entirety from `owner` to `destination` by the approved `delegate`. */ + /** + * An `amount` was transferred in its entirety from `owner` to `destination` by + * the approved `delegate`. + **/ TransferredApproved: AugmentedEvent< ApiType, [ @@ -246,23 +313,33 @@ declare module "@polkadot/api-base/types/events" { amount: u128; } >; - /** Some assets were withdrawn from the account (e.g. for transaction fees). */ + /** + * Some assets were withdrawn from the account (e.g. for transaction fees). + **/ Withdrawn: AugmentedEvent< ApiType, [assetId: u128, who: AccountId20, amount: u128], { assetId: u128; who: AccountId20; amount: u128 } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; authorFilter: { - /** The amount of eligible authors for the filter to select has been changed. */ + /** + * The amount of eligible authors for the filter to select has been changed. + **/ EligibleUpdated: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; authorMapping: { - /** A NimbusId has been registered and mapped to an AccountId. */ + /** + * A NimbusId has been registered and mapped to an AccountId. + **/ KeysRegistered: AugmentedEvent< ApiType, [ @@ -276,7 +353,9 @@ declare module "@polkadot/api-base/types/events" { keys_: SessionKeysPrimitivesVrfVrfCryptoPublic; } >; - /** An NimbusId has been de-registered, and its AccountId mapping removed. */ + /** + * An NimbusId has been de-registered, and its AccountId mapping removed. + **/ KeysRemoved: AugmentedEvent< ApiType, [ @@ -290,7 +369,9 @@ declare module "@polkadot/api-base/types/events" { keys_: SessionKeysPrimitivesVrfVrfCryptoPublic; } >; - /** An NimbusId has been registered, replacing a previous registration and its mapping. */ + /** + * An NimbusId has been registered, replacing a previous registration and its mapping. + **/ KeysRotated: AugmentedEvent< ApiType, [ @@ -304,75 +385,97 @@ declare module "@polkadot/api-base/types/events" { newKeys: SessionKeysPrimitivesVrfVrfCryptoPublic; } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; balances: { - /** A balance was set by root. */ + /** + * A balance was set by root. + **/ BalanceSet: AugmentedEvent< ApiType, [who: AccountId20, free: u128], { who: AccountId20; free: u128 } >; - /** Some amount was burned from an account. */ + /** + * Some amount was burned from an account. + **/ Burned: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Some amount was deposited (e.g. for transaction fees). */ + /** + * Some amount was deposited (e.g. for transaction fees). + **/ Deposit: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; /** - * An account was removed whose balance was non-zero but below ExistentialDeposit, resulting - * in an outright loss. - */ + * An account was removed whose balance was non-zero but below ExistentialDeposit, + * resulting in an outright loss. + **/ DustLost: AugmentedEvent< ApiType, [account: AccountId20, amount: u128], { account: AccountId20; amount: u128 } >; - /** An account was created with some free balance. */ + /** + * An account was created with some free balance. + **/ Endowed: AugmentedEvent< ApiType, [account: AccountId20, freeBalance: u128], { account: AccountId20; freeBalance: u128 } >; - /** Some balance was frozen. */ + /** + * Some balance was frozen. + **/ Frozen: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Total issuance was increased by `amount`, creating a credit to be balanced. */ + /** + * Total issuance was increased by `amount`, creating a credit to be balanced. + **/ Issued: AugmentedEvent; - /** Some balance was locked. */ + /** + * Some balance was locked. + **/ Locked: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Some amount was minted into an account. */ + /** + * Some amount was minted into an account. + **/ Minted: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Total issuance was decreased by `amount`, creating a debt to be balanced. */ + /** + * Total issuance was decreased by `amount`, creating a debt to be balanced. + **/ Rescinded: AugmentedEvent; - /** Some balance was reserved (moved from free to reserved). */ + /** + * Some balance was reserved (moved from free to reserved). + **/ Reserved: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; /** - * Some balance was moved from the reserve of the first account to the second account. Final - * argument indicates the destination balance type. - */ + * Some balance was moved from the reserve of the first account to the second account. + * Final argument indicates the destination balance type. + **/ ReserveRepatriated: AugmentedEvent< ApiType, [ @@ -388,121 +491,178 @@ declare module "@polkadot/api-base/types/events" { destinationStatus: FrameSupportTokensMiscBalanceStatus; } >; - /** Some amount was restored into an account. */ + /** + * Some amount was restored into an account. + **/ Restored: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Some amount was removed from the account (e.g. for misbehavior). */ + /** + * Some amount was removed from the account (e.g. for misbehavior). + **/ Slashed: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Some amount was suspended from an account (it can be restored later). */ + /** + * Some amount was suspended from an account (it can be restored later). + **/ Suspended: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Some balance was thawed. */ + /** + * Some balance was thawed. + **/ Thawed: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** The `TotalIssuance` was forcefully changed. */ + /** + * The `TotalIssuance` was forcefully changed. + **/ TotalIssuanceForced: AugmentedEvent< ApiType, [old: u128, new_: u128], { old: u128; new_: u128 } >; - /** Transfer succeeded. */ + /** + * Transfer succeeded. + **/ Transfer: AugmentedEvent< ApiType, [from: AccountId20, to: AccountId20, amount: u128], { from: AccountId20; to: AccountId20; amount: u128 } >; - /** Some balance was unlocked. */ + /** + * Some balance was unlocked. + **/ Unlocked: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Some balance was unreserved (moved from reserved to free). */ + /** + * Some balance was unreserved (moved from reserved to free). + **/ Unreserved: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** An account was upgraded. */ + /** + * An account was upgraded. + **/ Upgraded: AugmentedEvent; - /** Some amount was withdrawn from the account (e.g. for transaction fees). */ + /** + * Some amount was withdrawn from the account (e.g. for transaction fees). + **/ Withdraw: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; convictionVoting: { - /** An account has delegated their vote to another account. [who, target] */ + /** + * An account has delegated their vote to another account. \[who, target\] + **/ Delegated: AugmentedEvent; - /** An [account] has cancelled a previous delegation operation. */ + /** + * An \[account\] has cancelled a previous delegation operation. + **/ Undelegated: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; crowdloanRewards: { - /** When initializing the reward vec an already initialized account was found */ + /** + * When initializing the reward vec an already initialized account was found + **/ InitializedAccountWithNotEnoughContribution: AugmentedEvent< ApiType, [U8aFixed, Option, u128] >; - /** When initializing the reward vec an already initialized account was found */ + /** + * When initializing the reward vec an already initialized account was found + **/ InitializedAlreadyInitializedAccount: AugmentedEvent< ApiType, [U8aFixed, Option, u128] >; - /** The initial payment of InitializationPayment % was paid */ + /** + * The initial payment of InitializationPayment % was paid + **/ InitialPaymentMade: AugmentedEvent; /** - * Someone has proven they made a contribution and associated a native identity with it. Data - * is the relay account, native account and the total amount of _rewards_ that will be paid - */ + * Someone has proven they made a contribution and associated a native identity with it. + * Data is the relay account, native account and the total amount of _rewards_ that will be paid + **/ NativeIdentityAssociated: AugmentedEvent; - /** A contributor has updated the reward address. */ + /** + * A contributor has updated the reward address. + **/ RewardAddressUpdated: AugmentedEvent; /** - * A contributor has claimed some rewards. Data is the account getting paid and the amount of - * rewards paid. - */ + * A contributor has claimed some rewards. + * Data is the account getting paid and the amount of rewards paid. + **/ RewardsPaid: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; cumulusXcm: { - /** Downward message executed with the given outcome. [ id, outcome ] */ + /** + * Downward message executed with the given outcome. + * \[ id, outcome \] + **/ ExecutedDownward: AugmentedEvent; - /** Downward message is invalid XCM. [ id ] */ + /** + * Downward message is invalid XCM. + * \[ id \] + **/ InvalidFormat: AugmentedEvent; - /** Downward message is unsupported version of XCM. [ id ] */ + /** + * Downward message is unsupported version of XCM. + * \[ id \] + **/ UnsupportedVersion: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; emergencyParaXcm: { - /** The XCM incoming execution was Paused */ + /** + * The XCM incoming execution was Paused + **/ EnteredPausedXcmMode: AugmentedEvent; - /** The XCM incoming execution returned to normal operation */ + /** + * The XCM incoming execution returned to normal operation + **/ NormalXcmOperationResumed: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; ethereum: { - /** An ethereum transaction was successfully executed. */ + /** + * An ethereum transaction was successfully executed. + **/ Executed: AugmentedEvent< ApiType, [ @@ -520,35 +680,55 @@ declare module "@polkadot/api-base/types/events" { extraData: Bytes; } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; ethereumXcm: { - /** Ethereum transaction executed from XCM */ + /** + * Ethereum transaction executed from XCM + **/ ExecutedFromXcm: AugmentedEvent< ApiType, [xcmMsgHash: H256, ethTxHash: H256], { xcmMsgHash: H256; ethTxHash: H256 } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; evm: { - /** A contract has been created at given address. */ + /** + * A contract has been created at given address. + **/ Created: AugmentedEvent; - /** A contract was attempted to be created, but the execution failed. */ + /** + * A contract was attempted to be created, but the execution failed. + **/ CreatedFailed: AugmentedEvent; - /** A contract has been executed successfully with states applied. */ + /** + * A contract has been executed successfully with states applied. + **/ Executed: AugmentedEvent; - /** A contract has been executed with errors. States are reverted with only gas fees applied. */ + /** + * A contract has been executed with errors. States are reverted with only gas fees applied. + **/ ExecutedFailed: AugmentedEvent; - /** Ethereum events from contracts. */ + /** + * Ethereum events from contracts. + **/ Log: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; evmForeignAssets: { - /** New asset with the asset manager is registered */ + /** + * New asset with the asset manager is registered + **/ ForeignAssetCreated: AugmentedEvent< ApiType, [contractAddress: H160, assetId: u128, xcmLocation: StagingXcmV4Location], @@ -564,19 +744,27 @@ declare module "@polkadot/api-base/types/events" { [assetId: u128, xcmLocation: StagingXcmV4Location], { assetId: u128; xcmLocation: StagingXcmV4Location } >; - /** Changed the xcm type mapping for a given asset id */ + /** + * Changed the xcm type mapping for a given asset id + **/ ForeignAssetXcmLocationChanged: AugmentedEvent< ApiType, [assetId: u128, newXcmLocation: StagingXcmV4Location], { assetId: u128; newXcmLocation: StagingXcmV4Location } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; identity: { - /** A username authority was added. */ + /** + * A username authority was added. + **/ AuthorityAdded: AugmentedEvent; - /** A username authority was removed. */ + /** + * A username authority was removed. + **/ AuthorityRemoved: AugmentedEvent< ApiType, [authority: AccountId20], @@ -585,112 +773,152 @@ declare module "@polkadot/api-base/types/events" { /** * A dangling username (as in, a username corresponding to an account that has removed its * identity) has been removed. - */ + **/ DanglingUsernameRemoved: AugmentedEvent< ApiType, [who: AccountId20, username: Bytes], { who: AccountId20; username: Bytes } >; - /** A name was cleared, and the given balance returned. */ + /** + * A name was cleared, and the given balance returned. + **/ IdentityCleared: AugmentedEvent< ApiType, [who: AccountId20, deposit: u128], { who: AccountId20; deposit: u128 } >; - /** A name was removed and the given balance slashed. */ + /** + * A name was removed and the given balance slashed. + **/ IdentityKilled: AugmentedEvent< ApiType, [who: AccountId20, deposit: u128], { who: AccountId20; deposit: u128 } >; - /** A name was set or reset (which will remove all judgements). */ + /** + * A name was set or reset (which will remove all judgements). + **/ IdentitySet: AugmentedEvent; - /** A judgement was given by a registrar. */ + /** + * A judgement was given by a registrar. + **/ JudgementGiven: AugmentedEvent< ApiType, [target: AccountId20, registrarIndex: u32], { target: AccountId20; registrarIndex: u32 } >; - /** A judgement was asked from a registrar. */ + /** + * A judgement was asked from a registrar. + **/ JudgementRequested: AugmentedEvent< ApiType, [who: AccountId20, registrarIndex: u32], { who: AccountId20; registrarIndex: u32 } >; - /** A judgement request was retracted. */ + /** + * A judgement request was retracted. + **/ JudgementUnrequested: AugmentedEvent< ApiType, [who: AccountId20, registrarIndex: u32], { who: AccountId20; registrarIndex: u32 } >; - /** A queued username passed its expiration without being claimed and was removed. */ + /** + * A queued username passed its expiration without being claimed and was removed. + **/ PreapprovalExpired: AugmentedEvent; - /** A username was set as a primary and can be looked up from `who`. */ + /** + * A username was set as a primary and can be looked up from `who`. + **/ PrimaryUsernameSet: AugmentedEvent< ApiType, [who: AccountId20, username: Bytes], { who: AccountId20; username: Bytes } >; - /** A registrar was added. */ + /** + * A registrar was added. + **/ RegistrarAdded: AugmentedEvent; - /** A sub-identity was added to an identity and the deposit paid. */ + /** + * A sub-identity was added to an identity and the deposit paid. + **/ SubIdentityAdded: AugmentedEvent< ApiType, [sub: AccountId20, main: AccountId20, deposit: u128], { sub: AccountId20; main: AccountId20; deposit: u128 } >; - /** A sub-identity was removed from an identity and the deposit freed. */ + /** + * A sub-identity was removed from an identity and the deposit freed. + **/ SubIdentityRemoved: AugmentedEvent< ApiType, [sub: AccountId20, main: AccountId20, deposit: u128], { sub: AccountId20; main: AccountId20; deposit: u128 } >; /** - * A sub-identity was cleared, and the given deposit repatriated from the main identity - * account to the sub-identity account. - */ + * A sub-identity was cleared, and the given deposit repatriated from the + * main identity account to the sub-identity account. + **/ SubIdentityRevoked: AugmentedEvent< ApiType, [sub: AccountId20, main: AccountId20, deposit: u128], { sub: AccountId20; main: AccountId20; deposit: u128 } >; - /** A username was queued, but `who` must accept it prior to `expiration`. */ + /** + * A username was queued, but `who` must accept it prior to `expiration`. + **/ UsernameQueued: AugmentedEvent< ApiType, [who: AccountId20, username: Bytes, expiration: u32], { who: AccountId20; username: Bytes; expiration: u32 } >; - /** A username was set for `who`. */ + /** + * A username was set for `who`. + **/ UsernameSet: AugmentedEvent< ApiType, [who: AccountId20, username: Bytes], { who: AccountId20; username: Bytes } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; maintenanceMode: { - /** The chain was put into Maintenance Mode */ + /** + * The chain was put into Maintenance Mode + **/ EnteredMaintenanceMode: AugmentedEvent; - /** The call to resume on_idle XCM execution failed with inner error */ + /** + * The call to resume on_idle XCM execution failed with inner error + **/ FailedToResumeIdleXcmExecution: AugmentedEvent< ApiType, [error: SpRuntimeDispatchError], { error: SpRuntimeDispatchError } >; - /** The call to suspend on_idle XCM execution failed with inner error */ + /** + * The call to suspend on_idle XCM execution failed with inner error + **/ FailedToSuspendIdleXcmExecution: AugmentedEvent< ApiType, [error: SpRuntimeDispatchError], { error: SpRuntimeDispatchError } >; - /** The chain returned to its normal operating state */ + /** + * The chain returned to its normal operating state + **/ NormalOperationResumed: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; messageQueue: { - /** Message placed in overweight queue. */ + /** + * Message placed in overweight queue. + **/ OverweightEnqueued: AugmentedEvent< ApiType, [ @@ -706,13 +934,17 @@ declare module "@polkadot/api-base/types/events" { messageIndex: u32; } >; - /** This page was reaped. */ + /** + * This page was reaped. + **/ PageReaped: AugmentedEvent< ApiType, [origin: CumulusPrimitivesCoreAggregateMessageOrigin, index: u32], { origin: CumulusPrimitivesCoreAggregateMessageOrigin; index: u32 } >; - /** Message is processed. */ + /** + * Message is processed. + **/ Processed: AugmentedEvent< ApiType, [ @@ -728,7 +960,9 @@ declare module "@polkadot/api-base/types/events" { success: bool; } >; - /** Message discarded due to an error in the `MessageProcessor` (usually a format error). */ + /** + * Message discarded due to an error in the `MessageProcessor` (usually a format error). + **/ ProcessingFailed: AugmentedEvent< ApiType, [ @@ -742,61 +976,85 @@ declare module "@polkadot/api-base/types/events" { error: FrameSupportMessagesProcessMessageError; } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; migrations: { - /** XCM execution resume failed with inner error */ + /** + * XCM execution resume failed with inner error + **/ FailedToResumeIdleXcmExecution: AugmentedEvent< ApiType, [error: SpRuntimeDispatchError], { error: SpRuntimeDispatchError } >; - /** XCM execution suspension failed with inner error */ + /** + * XCM execution suspension failed with inner error + **/ FailedToSuspendIdleXcmExecution: AugmentedEvent< ApiType, [error: SpRuntimeDispatchError], { error: SpRuntimeDispatchError } >; - /** Migration completed */ + /** + * Migration completed + **/ MigrationCompleted: AugmentedEvent< ApiType, [migrationName: Bytes, consumedWeight: SpWeightsWeightV2Weight], { migrationName: Bytes; consumedWeight: SpWeightsWeightV2Weight } >; - /** Migration started */ + /** + * Migration started + **/ MigrationStarted: AugmentedEvent; - /** Runtime upgrade completed */ + /** + * Runtime upgrade completed + **/ RuntimeUpgradeCompleted: AugmentedEvent< ApiType, [weight: SpWeightsWeightV2Weight], { weight: SpWeightsWeightV2Weight } >; - /** Runtime upgrade started */ + /** + * Runtime upgrade started + **/ RuntimeUpgradeStarted: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; moonbeamOrbiters: { - /** An orbiter join a collator pool */ + /** + * An orbiter join a collator pool + **/ OrbiterJoinCollatorPool: AugmentedEvent< ApiType, [collator: AccountId20, orbiter: AccountId20], { collator: AccountId20; orbiter: AccountId20 } >; - /** An orbiter leave a collator pool */ + /** + * An orbiter leave a collator pool + **/ OrbiterLeaveCollatorPool: AugmentedEvent< ApiType, [collator: AccountId20, orbiter: AccountId20], { collator: AccountId20; orbiter: AccountId20 } >; - /** An orbiter has registered */ + /** + * An orbiter has registered + **/ OrbiterRegistered: AugmentedEvent< ApiType, [account: AccountId20, deposit: u128], { account: AccountId20; deposit: u128 } >; - /** Paid the orbiter account the balance as liquid rewards. */ + /** + * Paid the orbiter account the balance as liquid rewards. + **/ OrbiterRewarded: AugmentedEvent< ApiType, [account: AccountId20, rewards: u128], @@ -807,17 +1065,23 @@ declare module "@polkadot/api-base/types/events" { [collator: AccountId20, oldOrbiter: Option, newOrbiter: Option], { collator: AccountId20; oldOrbiter: Option; newOrbiter: Option } >; - /** An orbiter has unregistered */ + /** + * An orbiter has unregistered + **/ OrbiterUnregistered: AugmentedEvent< ApiType, [account: AccountId20], { account: AccountId20 } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; multisig: { - /** A multisig operation has been approved by someone. */ + /** + * A multisig operation has been approved by someone. + **/ MultisigApproval: AugmentedEvent< ApiType, [ @@ -833,7 +1097,9 @@ declare module "@polkadot/api-base/types/events" { callHash: U8aFixed; } >; - /** A multisig operation has been cancelled. */ + /** + * A multisig operation has been cancelled. + **/ MultisigCancelled: AugmentedEvent< ApiType, [ @@ -849,7 +1115,9 @@ declare module "@polkadot/api-base/types/events" { callHash: U8aFixed; } >; - /** A multisig operation has been executed. */ + /** + * A multisig operation has been executed. + **/ MultisigExecuted: AugmentedEvent< ApiType, [ @@ -867,64 +1135,87 @@ declare module "@polkadot/api-base/types/events" { result: Result; } >; - /** A new multisig operation has begun. */ + /** + * A new multisig operation has begun. + **/ NewMultisig: AugmentedEvent< ApiType, [approving: AccountId20, multisig: AccountId20, callHash: U8aFixed], { approving: AccountId20; multisig: AccountId20; callHash: U8aFixed } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; openTechCommitteeCollective: { - /** A motion was approved by the required threshold. */ + /** + * A motion was approved by the required threshold. + **/ Approved: AugmentedEvent; - /** A proposal was closed because its threshold was reached or after its duration was up. */ + /** + * A proposal was closed because its threshold was reached or after its duration was up. + **/ Closed: AugmentedEvent< ApiType, [proposalHash: H256, yes: u32, no: u32], { proposalHash: H256; yes: u32; no: u32 } >; - /** A motion was not approved by the required threshold. */ + /** + * A motion was not approved by the required threshold. + **/ Disapproved: AugmentedEvent; - /** A motion was executed; result will be `Ok` if it returned without error. */ + /** + * A motion was executed; result will be `Ok` if it returned without error. + **/ Executed: AugmentedEvent< ApiType, [proposalHash: H256, result: Result], { proposalHash: H256; result: Result } >; - /** A single member did some action; result will be `Ok` if it returned without error. */ + /** + * A single member did some action; result will be `Ok` if it returned without error. + **/ MemberExecuted: AugmentedEvent< ApiType, [proposalHash: H256, result: Result], { proposalHash: H256; result: Result } >; - /** A motion (given hash) has been proposed (by given account) with a threshold (given `MemberCount`). */ + /** + * A motion (given hash) has been proposed (by given account) with a threshold (given + * `MemberCount`). + **/ Proposed: AugmentedEvent< ApiType, [account: AccountId20, proposalIndex: u32, proposalHash: H256, threshold: u32], { account: AccountId20; proposalIndex: u32; proposalHash: H256; threshold: u32 } >; /** - * A motion (given hash) has been voted on by given account, leaving a tally (yes votes and no - * votes given respectively as `MemberCount`). - */ + * A motion (given hash) has been voted on by given account, leaving + * a tally (yes votes and no votes given respectively as `MemberCount`). + **/ Voted: AugmentedEvent< ApiType, [account: AccountId20, proposalHash: H256, voted: bool, yes: u32, no: u32], { account: AccountId20; proposalHash: H256; voted: bool; yes: u32; no: u32 } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; parachainStaking: { - /** Auto-compounding reward percent was set for a delegation. */ + /** + * Auto-compounding reward percent was set for a delegation. + **/ AutoCompoundSet: AugmentedEvent< ApiType, [candidate: AccountId20, delegator: AccountId20, value: Percent], { candidate: AccountId20; delegator: AccountId20; value: Percent } >; - /** Set blocks per round */ + /** + * Set blocks per round + **/ BlocksPerRoundSet: AugmentedEvent< ApiType, [ @@ -946,19 +1237,25 @@ declare module "@polkadot/api-base/types/events" { newPerRoundInflationMax: Perbill; } >; - /** Cancelled request to decrease candidate's bond. */ + /** + * Cancelled request to decrease candidate's bond. + **/ CancelledCandidateBondLess: AugmentedEvent< ApiType, [candidate: AccountId20, amount: u128, executeRound: u32], { candidate: AccountId20; amount: u128; executeRound: u32 } >; - /** Cancelled request to leave the set of candidates. */ + /** + * Cancelled request to leave the set of candidates. + **/ CancelledCandidateExit: AugmentedEvent< ApiType, [candidate: AccountId20], { candidate: AccountId20 } >; - /** Cancelled request to change an existing delegation. */ + /** + * Cancelled request to change an existing delegation. + **/ CancelledDelegationRequest: AugmentedEvent< ApiType, [ @@ -972,67 +1269,89 @@ declare module "@polkadot/api-base/types/events" { collator: AccountId20; } >; - /** Candidate rejoins the set of collator candidates. */ + /** + * Candidate rejoins the set of collator candidates. + **/ CandidateBackOnline: AugmentedEvent< ApiType, [candidate: AccountId20], { candidate: AccountId20 } >; - /** Candidate has decreased a self bond. */ + /** + * Candidate has decreased a self bond. + **/ CandidateBondedLess: AugmentedEvent< ApiType, [candidate: AccountId20, amount: u128, newBond: u128], { candidate: AccountId20; amount: u128; newBond: u128 } >; - /** Candidate has increased a self bond. */ + /** + * Candidate has increased a self bond. + **/ CandidateBondedMore: AugmentedEvent< ApiType, [candidate: AccountId20, amount: u128, newTotalBond: u128], { candidate: AccountId20; amount: u128; newTotalBond: u128 } >; - /** Candidate requested to decrease a self bond. */ + /** + * Candidate requested to decrease a self bond. + **/ CandidateBondLessRequested: AugmentedEvent< ApiType, [candidate: AccountId20, amountToDecrease: u128, executeRound: u32], { candidate: AccountId20; amountToDecrease: u128; executeRound: u32 } >; - /** Candidate has left the set of candidates. */ + /** + * Candidate has left the set of candidates. + **/ CandidateLeft: AugmentedEvent< ApiType, [exCandidate: AccountId20, unlockedAmount: u128, newTotalAmtLocked: u128], { exCandidate: AccountId20; unlockedAmount: u128; newTotalAmtLocked: u128 } >; - /** Candidate has requested to leave the set of candidates. */ + /** + * Candidate has requested to leave the set of candidates. + **/ CandidateScheduledExit: AugmentedEvent< ApiType, [exitAllowedRound: u32, candidate: AccountId20, scheduledExit: u32], { exitAllowedRound: u32; candidate: AccountId20; scheduledExit: u32 } >; - /** Candidate temporarily leave the set of collator candidates without unbonding. */ + /** + * Candidate temporarily leave the set of collator candidates without unbonding. + **/ CandidateWentOffline: AugmentedEvent< ApiType, [candidate: AccountId20], { candidate: AccountId20 } >; - /** Candidate selected for collators. Total Exposed Amount includes all delegations. */ + /** + * Candidate selected for collators. Total Exposed Amount includes all delegations. + **/ CollatorChosen: AugmentedEvent< ApiType, [round: u32, collatorAccount: AccountId20, totalExposedAmount: u128], { round: u32; collatorAccount: AccountId20; totalExposedAmount: u128 } >; - /** Set collator commission to this value. */ + /** + * Set collator commission to this value. + **/ CollatorCommissionSet: AugmentedEvent< ApiType, [old: Perbill, new_: Perbill], { old: Perbill; new_: Perbill } >; - /** Compounded a portion of rewards towards the delegation. */ + /** + * Compounded a portion of rewards towards the delegation. + **/ Compounded: AugmentedEvent< ApiType, [candidate: AccountId20, delegator: AccountId20, amount: u128], { candidate: AccountId20; delegator: AccountId20; amount: u128 } >; - /** New delegation (increase of the existing one). */ + /** + * New delegation (increase of the existing one). + **/ Delegation: AugmentedEvent< ApiType, [ @@ -1055,7 +1374,9 @@ declare module "@polkadot/api-base/types/events" { [delegator: AccountId20, candidate: AccountId20, amount: u128, inTop: bool], { delegator: AccountId20; candidate: AccountId20; amount: u128; inTop: bool } >; - /** Delegator requested to decrease a bond for the collator candidate. */ + /** + * Delegator requested to decrease a bond for the collator candidate. + **/ DelegationDecreaseScheduled: AugmentedEvent< ApiType, [delegator: AccountId20, candidate: AccountId20, amountToDecrease: u128, executeRound: u32], @@ -1071,43 +1392,57 @@ declare module "@polkadot/api-base/types/events" { [delegator: AccountId20, candidate: AccountId20, amount: u128, inTop: bool], { delegator: AccountId20; candidate: AccountId20; amount: u128; inTop: bool } >; - /** Delegation kicked. */ + /** + * Delegation kicked. + **/ DelegationKicked: AugmentedEvent< ApiType, [delegator: AccountId20, candidate: AccountId20, unstakedAmount: u128], { delegator: AccountId20; candidate: AccountId20; unstakedAmount: u128 } >; - /** Delegator requested to revoke delegation. */ + /** + * Delegator requested to revoke delegation. + **/ DelegationRevocationScheduled: AugmentedEvent< ApiType, [round: u32, delegator: AccountId20, candidate: AccountId20, scheduledExit: u32], { round: u32; delegator: AccountId20; candidate: AccountId20; scheduledExit: u32 } >; - /** Delegation revoked. */ + /** + * Delegation revoked. + **/ DelegationRevoked: AugmentedEvent< ApiType, [delegator: AccountId20, candidate: AccountId20, unstakedAmount: u128], { delegator: AccountId20; candidate: AccountId20; unstakedAmount: u128 } >; - /** Cancelled a pending request to exit the set of delegators. */ + /** + * Cancelled a pending request to exit the set of delegators. + **/ DelegatorExitCancelled: AugmentedEvent< ApiType, [delegator: AccountId20], { delegator: AccountId20 } >; - /** Delegator requested to leave the set of delegators. */ + /** + * Delegator requested to leave the set of delegators. + **/ DelegatorExitScheduled: AugmentedEvent< ApiType, [round: u32, delegator: AccountId20, scheduledExit: u32], { round: u32; delegator: AccountId20; scheduledExit: u32 } >; - /** Delegator has left the set of delegators. */ + /** + * Delegator has left the set of delegators. + **/ DelegatorLeft: AugmentedEvent< ApiType, [delegator: AccountId20, unstakedAmount: u128], { delegator: AccountId20; unstakedAmount: u128 } >; - /** Delegation from candidate state has been remove. */ + /** + * Delegation from candidate state has been remove. + **/ DelegatorLeftCandidate: AugmentedEvent< ApiType, [ @@ -1123,7 +1458,9 @@ declare module "@polkadot/api-base/types/events" { totalCandidateStaked: u128; } >; - /** Transferred to account which holds funds reserved for parachain bond. */ + /** + * Transferred to account which holds funds reserved for parachain bond. + **/ InflationDistributed: AugmentedEvent< ApiType, [index: u32, account: AccountId20, value: u128], @@ -1140,7 +1477,9 @@ declare module "@polkadot/api-base/types/events" { new_: PalletParachainStakingInflationDistributionConfig; } >; - /** Annual inflation input (first 3) was used to derive new per-round inflation (last 3) */ + /** + * Annual inflation input (first 3) was used to derive new per-round inflation (last 3) + **/ InflationSet: AugmentedEvent< ApiType, [ @@ -1160,61 +1499,87 @@ declare module "@polkadot/api-base/types/events" { roundMax: Perbill; } >; - /** Account joined the set of collator candidates. */ + /** + * Account joined the set of collator candidates. + **/ JoinedCollatorCandidates: AugmentedEvent< ApiType, [account: AccountId20, amountLocked: u128, newTotalAmtLocked: u128], { account: AccountId20; amountLocked: u128; newTotalAmtLocked: u128 } >; - /** Started new round. */ + /** + * Started new round. + **/ NewRound: AugmentedEvent< ApiType, [startingBlock: u32, round: u32, selectedCollatorsNumber: u32, totalBalance: u128], { startingBlock: u32; round: u32; selectedCollatorsNumber: u32; totalBalance: u128 } >; - /** Paid the account (delegator or collator) the balance as liquid rewards. */ + /** + * Paid the account (delegator or collator) the balance as liquid rewards. + **/ Rewarded: AugmentedEvent< ApiType, [account: AccountId20, rewards: u128], { account: AccountId20; rewards: u128 } >; - /** Staking expectations set. */ + /** + * Staking expectations set. + **/ StakeExpectationsSet: AugmentedEvent< ApiType, [expectMin: u128, expectIdeal: u128, expectMax: u128], { expectMin: u128; expectIdeal: u128; expectMax: u128 } >; - /** Set total selected candidates to this value. */ + /** + * Set total selected candidates to this value. + **/ TotalSelectedSet: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; parachainSystem: { - /** Downward messages were processed using the given weight. */ + /** + * Downward messages were processed using the given weight. + **/ DownwardMessagesProcessed: AugmentedEvent< ApiType, [weightUsed: SpWeightsWeightV2Weight, dmqHead: H256], { weightUsed: SpWeightsWeightV2Weight; dmqHead: H256 } >; - /** Some downward messages have been received and will be processed. */ + /** + * Some downward messages have been received and will be processed. + **/ DownwardMessagesReceived: AugmentedEvent; - /** An upward message was sent to the relay chain. */ + /** + * An upward message was sent to the relay chain. + **/ UpwardMessageSent: AugmentedEvent< ApiType, [messageHash: Option], { messageHash: Option } >; - /** The validation function was applied as of the contained relay chain block number. */ + /** + * The validation function was applied as of the contained relay chain block number. + **/ ValidationFunctionApplied: AugmentedEvent< ApiType, [relayChainBlockNum: u32], { relayChainBlockNum: u32 } >; - /** The relay-chain aborted the upgrade process. */ + /** + * The relay-chain aborted the upgrade process. + **/ ValidationFunctionDiscarded: AugmentedEvent; - /** The validation function has been scheduled to apply. */ + /** + * The validation function has been scheduled to apply. + **/ ValidationFunctionStored: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; parameters: { @@ -1222,7 +1587,7 @@ declare module "@polkadot/api-base/types/events" { * A Parameter was set. * * Is also emitted when the value was not changed. - */ + **/ Updated: AugmentedEvent< ApiType, [ @@ -1236,39 +1601,49 @@ declare module "@polkadot/api-base/types/events" { newValue: Option; } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; polkadotXcm: { - /** Some assets have been claimed from an asset trap */ + /** + * Some assets have been claimed from an asset trap + **/ AssetsClaimed: AugmentedEvent< ApiType, [hash_: H256, origin: StagingXcmV4Location, assets: XcmVersionedAssets], { hash_: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets } >; - /** Some assets have been placed in an asset trap. */ + /** + * Some assets have been placed in an asset trap. + **/ AssetsTrapped: AugmentedEvent< ApiType, [hash_: H256, origin: StagingXcmV4Location, assets: XcmVersionedAssets], { hash_: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets } >; - /** Execution of an XCM message was attempted. */ + /** + * Execution of an XCM message was attempted. + **/ Attempted: AugmentedEvent< ApiType, [outcome: StagingXcmV4TraitsOutcome], { outcome: StagingXcmV4TraitsOutcome } >; - /** Fees were paid from a location for an operation (often for using `SendXcm`). */ + /** + * Fees were paid from a location for an operation (often for using `SendXcm`). + **/ FeesPaid: AugmentedEvent< ApiType, [paying: StagingXcmV4Location, fees: StagingXcmV4AssetAssets], { paying: StagingXcmV4Location; fees: StagingXcmV4AssetAssets } >; /** - * Expected query response has been received but the querier location of the response does not - * match the expected. The query remains registered for a later, valid, response to be - * received and acted upon. - */ + * Expected query response has been received but the querier location of the response does + * not match the expected. The query remains registered for a later, valid, response to + * be received and acted upon. + **/ InvalidQuerier: AugmentedEvent< ApiType, [ @@ -1288,20 +1663,21 @@ declare module "@polkadot/api-base/types/events" { * Expected query response has been received but the expected querier location placed in * storage by this runtime previously cannot be decoded. The query remains registered. * - * This is unexpected (since a location placed in storage in a previously executing runtime - * should be readable prior to query timeout) and dangerous since the possibly valid response - * will be dropped. Manual governance intervention is probably going to be needed. - */ + * This is unexpected (since a location placed in storage in a previously executing + * runtime should be readable prior to query timeout) and dangerous since the possibly + * valid response will be dropped. Manual governance intervention is probably going to be + * needed. + **/ InvalidQuerierVersion: AugmentedEvent< ApiType, [origin: StagingXcmV4Location, queryId: u64], { origin: StagingXcmV4Location; queryId: u64 } >; /** - * Expected query response has been received but the origin location of the response does not - * match that expected. The query remains registered for a later, valid, response to be - * received and acted upon. - */ + * Expected query response has been received but the origin location of the response does + * not match that expected. The query remains registered for a later, valid, response to + * be received and acted upon. + **/ InvalidResponder: AugmentedEvent< ApiType, [ @@ -1319,19 +1695,20 @@ declare module "@polkadot/api-base/types/events" { * Expected query response has been received but the expected origin location placed in * storage by this runtime previously cannot be decoded. The query remains registered. * - * This is unexpected (since a location placed in storage in a previously executing runtime - * should be readable prior to query timeout) and dangerous since the possibly valid response - * will be dropped. Manual governance intervention is probably going to be needed. - */ + * This is unexpected (since a location placed in storage in a previously executing + * runtime should be readable prior to query timeout) and dangerous since the possibly + * valid response will be dropped. Manual governance intervention is probably going to be + * needed. + **/ InvalidResponderVersion: AugmentedEvent< ApiType, [origin: StagingXcmV4Location, queryId: u64], { origin: StagingXcmV4Location; queryId: u64 } >; /** - * Query response has been received and query is removed. The registered notification has been - * dispatched and executed successfully. - */ + * Query response has been received and query is removed. The registered notification has + * been dispatched and executed successfully. + **/ Notified: AugmentedEvent< ApiType, [queryId: u64, palletIndex: u8, callIndex: u8], @@ -1339,9 +1716,9 @@ declare module "@polkadot/api-base/types/events" { >; /** * Query response has been received and query is removed. The dispatch was unable to be - * decoded into a `Call`; this might be due to dispatch function having a signature which is - * not `(origin, QueryId, Response)`. - */ + * decoded into a `Call`; this might be due to dispatch function having a signature which + * is not `(origin, QueryId, Response)`. + **/ NotifyDecodeFailed: AugmentedEvent< ApiType, [queryId: u64, palletIndex: u8, callIndex: u8], @@ -1350,17 +1727,17 @@ declare module "@polkadot/api-base/types/events" { /** * Query response has been received and query is removed. There was a general error with * dispatching the notification call. - */ + **/ NotifyDispatchError: AugmentedEvent< ApiType, [queryId: u64, palletIndex: u8, callIndex: u8], { queryId: u64; palletIndex: u8; callIndex: u8 } >; /** - * Query response has been received and query is removed. The registered notification could - * not be dispatched because the dispatch weight is greater than the maximum weight originally - * budgeted by this runtime for the query result. - */ + * Query response has been received and query is removed. The registered notification + * could not be dispatched because the dispatch weight is greater than the maximum weight + * originally budgeted by this runtime for the query result. + **/ NotifyOverweight: AugmentedEvent< ApiType, [ @@ -1381,7 +1758,7 @@ declare module "@polkadot/api-base/types/events" { /** * A given location which had a version change subscription was dropped owing to an error * migrating the location to our new XCM format. - */ + **/ NotifyTargetMigrationFail: AugmentedEvent< ApiType, [location: XcmVersionedLocation, queryId: u64], @@ -1390,24 +1767,28 @@ declare module "@polkadot/api-base/types/events" { /** * A given location which had a version change subscription was dropped owing to an error * sending the notification to it. - */ + **/ NotifyTargetSendFail: AugmentedEvent< ApiType, [location: StagingXcmV4Location, queryId: u64, error: XcmV3TraitsError], { location: StagingXcmV4Location; queryId: u64; error: XcmV3TraitsError } >; /** - * Query response has been received and is ready for taking with `take_response`. There is no - * registered notification call. - */ + * Query response has been received and is ready for taking with `take_response`. There is + * no registered notification call. + **/ ResponseReady: AugmentedEvent< ApiType, [queryId: u64, response: StagingXcmV4Response], { queryId: u64; response: StagingXcmV4Response } >; - /** Received query response has been read and removed. */ + /** + * Received query response has been read and removed. + **/ ResponseTaken: AugmentedEvent; - /** A XCM message was sent. */ + /** + * A XCM message was sent. + **/ Sent: AugmentedEvent< ApiType, [ @@ -1424,9 +1805,9 @@ declare module "@polkadot/api-base/types/events" { } >; /** - * The supported version of a location has been changed. This might be through an automatic - * notification or a manual intervention. - */ + * The supported version of a location has been changed. This might be through an + * automatic notification or a manual intervention. + **/ SupportedVersionChanged: AugmentedEvent< ApiType, [location: StagingXcmV4Location, version: u32], @@ -1436,7 +1817,7 @@ declare module "@polkadot/api-base/types/events" { * Query response received which does not match a registered query. This may be because a * matching query was never registered, it may be because it is a duplicate response, or * because the query timed out. - */ + **/ UnexpectedResponse: AugmentedEvent< ApiType, [origin: StagingXcmV4Location, queryId: u64], @@ -1446,7 +1827,7 @@ declare module "@polkadot/api-base/types/events" { * An XCM version change notification message has been attempted to be sent. * * The cost of sending it (borne by the chain) is included. - */ + **/ VersionChangeNotified: AugmentedEvent< ApiType, [ @@ -1462,50 +1843,71 @@ declare module "@polkadot/api-base/types/events" { messageId: U8aFixed; } >; - /** A XCM version migration finished. */ + /** + * A XCM version migration finished. + **/ VersionMigrationFinished: AugmentedEvent; - /** We have requested that a remote chain send us XCM version change notifications. */ + /** + * We have requested that a remote chain send us XCM version change notifications. + **/ VersionNotifyRequested: AugmentedEvent< ApiType, [destination: StagingXcmV4Location, cost: StagingXcmV4AssetAssets, messageId: U8aFixed], { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: U8aFixed } >; /** - * A remote has requested XCM version change notification from us and we have honored it. A - * version information message is sent to them and its cost is included. - */ + * A remote has requested XCM version change notification from us and we have honored it. + * A version information message is sent to them and its cost is included. + **/ VersionNotifyStarted: AugmentedEvent< ApiType, [destination: StagingXcmV4Location, cost: StagingXcmV4AssetAssets, messageId: U8aFixed], { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: U8aFixed } >; - /** We have requested that a remote chain stops sending us XCM version change notifications. */ + /** + * We have requested that a remote chain stops sending us XCM version change + * notifications. + **/ VersionNotifyUnrequested: AugmentedEvent< ApiType, [destination: StagingXcmV4Location, cost: StagingXcmV4AssetAssets, messageId: U8aFixed], { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: U8aFixed } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; preimage: { - /** A preimage has ben cleared. */ + /** + * A preimage has ben cleared. + **/ Cleared: AugmentedEvent; - /** A preimage has been noted. */ + /** + * A preimage has been noted. + **/ Noted: AugmentedEvent; - /** A preimage has been requested. */ + /** + * A preimage has been requested. + **/ Requested: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; proxy: { - /** An announcement was placed to make a call in the future. */ + /** + * An announcement was placed to make a call in the future. + **/ Announced: AugmentedEvent< ApiType, [real: AccountId20, proxy: AccountId20, callHash: H256], { real: AccountId20; proxy: AccountId20; callHash: H256 } >; - /** A proxy was added. */ + /** + * A proxy was added. + **/ ProxyAdded: AugmentedEvent< ApiType, [ @@ -1521,13 +1923,17 @@ declare module "@polkadot/api-base/types/events" { delay: u32; } >; - /** A proxy was executed correctly, with the given. */ + /** + * A proxy was executed correctly, with the given. + **/ ProxyExecuted: AugmentedEvent< ApiType, [result: Result], { result: Result } >; - /** A proxy was removed. */ + /** + * A proxy was removed. + **/ ProxyRemoved: AugmentedEvent< ApiType, [ @@ -1543,7 +1949,10 @@ declare module "@polkadot/api-base/types/events" { delay: u32; } >; - /** A pure account has been created by new proxy with given disambiguation index and proxy type. */ + /** + * A pure account has been created by new proxy with given + * disambiguation index and proxy type. + **/ PureCreated: AugmentedEvent< ApiType, [ @@ -1559,7 +1968,9 @@ declare module "@polkadot/api-base/types/events" { disambiguationIndex: u16; } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; randomness: { @@ -1616,39 +2027,53 @@ declare module "@polkadot/api-base/types/events" { { id: u64; newFee: u128 } >; RequestFulfilled: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; referenda: { - /** A referendum has been approved and its proposal has been scheduled. */ + /** + * A referendum has been approved and its proposal has been scheduled. + **/ Approved: AugmentedEvent; - /** A referendum has been cancelled. */ + /** + * A referendum has been cancelled. + **/ Cancelled: AugmentedEvent< ApiType, [index: u32, tally: PalletConvictionVotingTally], { index: u32; tally: PalletConvictionVotingTally } >; ConfirmAborted: AugmentedEvent; - /** A referendum has ended its confirmation phase and is ready for approval. */ + /** + * A referendum has ended its confirmation phase and is ready for approval. + **/ Confirmed: AugmentedEvent< ApiType, [index: u32, tally: PalletConvictionVotingTally], { index: u32; tally: PalletConvictionVotingTally } >; ConfirmStarted: AugmentedEvent; - /** The decision deposit has been placed. */ + /** + * The decision deposit has been placed. + **/ DecisionDepositPlaced: AugmentedEvent< ApiType, [index: u32, who: AccountId20, amount: u128], { index: u32; who: AccountId20; amount: u128 } >; - /** The decision deposit has been refunded. */ + /** + * The decision deposit has been refunded. + **/ DecisionDepositRefunded: AugmentedEvent< ApiType, [index: u32, who: AccountId20, amount: u128], { index: u32; who: AccountId20; amount: u128 } >; - /** A referendum has moved into the deciding phase. */ + /** + * A referendum has moved into the deciding phase. + **/ DecisionStarted: AugmentedEvent< ApiType, [ @@ -1664,69 +2089,97 @@ declare module "@polkadot/api-base/types/events" { tally: PalletConvictionVotingTally; } >; - /** A deposit has been slashed. */ + /** + * A deposit has been slashed. + **/ DepositSlashed: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** A referendum has been killed. */ + /** + * A referendum has been killed. + **/ Killed: AugmentedEvent< ApiType, [index: u32, tally: PalletConvictionVotingTally], { index: u32; tally: PalletConvictionVotingTally } >; - /** Metadata for a referendum has been cleared. */ + /** + * Metadata for a referendum has been cleared. + **/ MetadataCleared: AugmentedEvent< ApiType, [index: u32, hash_: H256], { index: u32; hash_: H256 } >; - /** Metadata for a referendum has been set. */ + /** + * Metadata for a referendum has been set. + **/ MetadataSet: AugmentedEvent; - /** A proposal has been rejected by referendum. */ + /** + * A proposal has been rejected by referendum. + **/ Rejected: AugmentedEvent< ApiType, [index: u32, tally: PalletConvictionVotingTally], { index: u32; tally: PalletConvictionVotingTally } >; - /** The submission deposit has been refunded. */ + /** + * The submission deposit has been refunded. + **/ SubmissionDepositRefunded: AugmentedEvent< ApiType, [index: u32, who: AccountId20, amount: u128], { index: u32; who: AccountId20; amount: u128 } >; - /** A referendum has been submitted. */ + /** + * A referendum has been submitted. + **/ Submitted: AugmentedEvent< ApiType, [index: u32, track: u16, proposal: FrameSupportPreimagesBounded], { index: u32; track: u16; proposal: FrameSupportPreimagesBounded } >; - /** A referendum has been timed out without being decided. */ + /** + * A referendum has been timed out without being decided. + **/ TimedOut: AugmentedEvent< ApiType, [index: u32, tally: PalletConvictionVotingTally], { index: u32; tally: PalletConvictionVotingTally } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; rootTesting: { - /** Event dispatched when the trigger_defensive extrinsic is called. */ + /** + * Event dispatched when the trigger_defensive extrinsic is called. + **/ DefensiveTestCall: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; scheduler: { - /** The call for the provided hash was not found so the task has been aborted. */ + /** + * The call for the provided hash was not found so the task has been aborted. + **/ CallUnavailable: AugmentedEvent< ApiType, [task: ITuple<[u32, u32]>, id: Option], { task: ITuple<[u32, u32]>; id: Option } >; - /** Canceled some task. */ + /** + * Canceled some task. + **/ Canceled: AugmentedEvent; - /** Dispatched some task. */ + /** + * Dispatched some task. + **/ Dispatched: AugmentedEvent< ApiType, [ @@ -1740,93 +2193,125 @@ declare module "@polkadot/api-base/types/events" { result: Result; } >; - /** The given task was unable to be renewed since the agenda is full at that block. */ + /** + * The given task was unable to be renewed since the agenda is full at that block. + **/ PeriodicFailed: AugmentedEvent< ApiType, [task: ITuple<[u32, u32]>, id: Option], { task: ITuple<[u32, u32]>; id: Option } >; - /** The given task can never be executed since it is overweight. */ + /** + * The given task can never be executed since it is overweight. + **/ PermanentlyOverweight: AugmentedEvent< ApiType, [task: ITuple<[u32, u32]>, id: Option], { task: ITuple<[u32, u32]>; id: Option } >; - /** Cancel a retry configuration for some task. */ + /** + * Cancel a retry configuration for some task. + **/ RetryCancelled: AugmentedEvent< ApiType, [task: ITuple<[u32, u32]>, id: Option], { task: ITuple<[u32, u32]>; id: Option } >; /** - * The given task was unable to be retried since the agenda is full at that block or there was - * not enough weight to reschedule it. - */ + * The given task was unable to be retried since the agenda is full at that block or there + * was not enough weight to reschedule it. + **/ RetryFailed: AugmentedEvent< ApiType, [task: ITuple<[u32, u32]>, id: Option], { task: ITuple<[u32, u32]>; id: Option } >; - /** Set a retry configuration for some task. */ + /** + * Set a retry configuration for some task. + **/ RetrySet: AugmentedEvent< ApiType, [task: ITuple<[u32, u32]>, id: Option, period: u32, retries: u8], { task: ITuple<[u32, u32]>; id: Option; period: u32; retries: u8 } >; - /** Scheduled some task. */ + /** + * Scheduled some task. + **/ Scheduled: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; system: { - /** `:code` was updated. */ + /** + * `:code` was updated. + **/ CodeUpdated: AugmentedEvent; - /** An extrinsic failed. */ + /** + * An extrinsic failed. + **/ ExtrinsicFailed: AugmentedEvent< ApiType, [dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSupportDispatchDispatchInfo], { dispatchError: SpRuntimeDispatchError; dispatchInfo: FrameSupportDispatchDispatchInfo } >; - /** An extrinsic completed successfully. */ + /** + * An extrinsic completed successfully. + **/ ExtrinsicSuccess: AugmentedEvent< ApiType, [dispatchInfo: FrameSupportDispatchDispatchInfo], { dispatchInfo: FrameSupportDispatchDispatchInfo } >; - /** An account was reaped. */ + /** + * An account was reaped. + **/ KilledAccount: AugmentedEvent; - /** A new account was created. */ + /** + * A new account was created. + **/ NewAccount: AugmentedEvent; - /** On on-chain remark happened. */ + /** + * On on-chain remark happened. + **/ Remarked: AugmentedEvent< ApiType, [sender: AccountId20, hash_: H256], { sender: AccountId20; hash_: H256 } >; - /** An upgrade was authorized. */ + /** + * An upgrade was authorized. + **/ UpgradeAuthorized: AugmentedEvent< ApiType, [codeHash: H256, checkVersion: bool], { codeHash: H256; checkVersion: bool } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; transactionPayment: { /** - * A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee, has - * been paid by `who`. - */ + * A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee, + * has been paid by `who`. + **/ TransactionFeePaid: AugmentedEvent< ApiType, [who: AccountId20, actualFee: u128, tip: u128], { who: AccountId20; actualFee: u128; tip: u128 } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; treasury: { - /** A new asset spend proposal has been approved. */ + /** + * A new asset spend proposal has been approved. + **/ AssetSpendApproved: AugmentedEvent< ApiType, [ @@ -1846,120 +2331,169 @@ declare module "@polkadot/api-base/types/events" { expireAt: u32; } >; - /** An approved spend was voided. */ + /** + * An approved spend was voided. + **/ AssetSpendVoided: AugmentedEvent; - /** Some funds have been allocated. */ + /** + * Some funds have been allocated. + **/ Awarded: AugmentedEvent< ApiType, [proposalIndex: u32, award: u128, account: AccountId20], { proposalIndex: u32; award: u128; account: AccountId20 } >; - /** Some of our funds have been burnt. */ + /** + * Some of our funds have been burnt. + **/ Burnt: AugmentedEvent; - /** Some funds have been deposited. */ + /** + * Some funds have been deposited. + **/ Deposit: AugmentedEvent; - /** A payment happened. */ + /** + * A payment happened. + **/ Paid: AugmentedEvent; - /** A payment failed and can be retried. */ + /** + * A payment failed and can be retried. + **/ PaymentFailed: AugmentedEvent< ApiType, [index: u32, paymentId: Null], { index: u32; paymentId: Null } >; - /** Spending has finished; this is the amount that rolls over until next spend. */ + /** + * Spending has finished; this is the amount that rolls over until next spend. + **/ Rollover: AugmentedEvent; - /** A new spend proposal has been approved. */ + /** + * A new spend proposal has been approved. + **/ SpendApproved: AugmentedEvent< ApiType, [proposalIndex: u32, amount: u128, beneficiary: AccountId20], { proposalIndex: u32; amount: u128; beneficiary: AccountId20 } >; - /** We have ended a spend period and will now allocate funds. */ + /** + * We have ended a spend period and will now allocate funds. + **/ Spending: AugmentedEvent; /** - * A spend was processed and removed from the storage. It might have been successfully paid or - * it may have expired. - */ + * A spend was processed and removed from the storage. It might have been successfully + * paid or it may have expired. + **/ SpendProcessed: AugmentedEvent; - /** The inactive funds of the pallet have been updated. */ + /** + * The inactive funds of the pallet have been updated. + **/ UpdatedInactive: AugmentedEvent< ApiType, [reactivated: u128, deactivated: u128], { reactivated: u128; deactivated: u128 } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; treasuryCouncilCollective: { - /** A motion was approved by the required threshold. */ + /** + * A motion was approved by the required threshold. + **/ Approved: AugmentedEvent; - /** A proposal was closed because its threshold was reached or after its duration was up. */ + /** + * A proposal was closed because its threshold was reached or after its duration was up. + **/ Closed: AugmentedEvent< ApiType, [proposalHash: H256, yes: u32, no: u32], { proposalHash: H256; yes: u32; no: u32 } >; - /** A motion was not approved by the required threshold. */ + /** + * A motion was not approved by the required threshold. + **/ Disapproved: AugmentedEvent; - /** A motion was executed; result will be `Ok` if it returned without error. */ + /** + * A motion was executed; result will be `Ok` if it returned without error. + **/ Executed: AugmentedEvent< ApiType, [proposalHash: H256, result: Result], { proposalHash: H256; result: Result } >; - /** A single member did some action; result will be `Ok` if it returned without error. */ + /** + * A single member did some action; result will be `Ok` if it returned without error. + **/ MemberExecuted: AugmentedEvent< ApiType, [proposalHash: H256, result: Result], { proposalHash: H256; result: Result } >; - /** A motion (given hash) has been proposed (by given account) with a threshold (given `MemberCount`). */ + /** + * A motion (given hash) has been proposed (by given account) with a threshold (given + * `MemberCount`). + **/ Proposed: AugmentedEvent< ApiType, [account: AccountId20, proposalIndex: u32, proposalHash: H256, threshold: u32], { account: AccountId20; proposalIndex: u32; proposalHash: H256; threshold: u32 } >; /** - * A motion (given hash) has been voted on by given account, leaving a tally (yes votes and no - * votes given respectively as `MemberCount`). - */ + * A motion (given hash) has been voted on by given account, leaving + * a tally (yes votes and no votes given respectively as `MemberCount`). + **/ Voted: AugmentedEvent< ApiType, [account: AccountId20, proposalHash: H256, voted: bool, yes: u32, no: u32], { account: AccountId20; proposalHash: H256; voted: bool; yes: u32; no: u32 } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; utility: { - /** Batch of dispatches completed fully with no error. */ + /** + * Batch of dispatches completed fully with no error. + **/ BatchCompleted: AugmentedEvent; - /** Batch of dispatches completed but has errors. */ + /** + * Batch of dispatches completed but has errors. + **/ BatchCompletedWithErrors: AugmentedEvent; /** - * Batch of dispatches did not complete fully. Index of first failing dispatch given, as well - * as the error. - */ + * Batch of dispatches did not complete fully. Index of first failing dispatch given, as + * well as the error. + **/ BatchInterrupted: AugmentedEvent< ApiType, [index: u32, error: SpRuntimeDispatchError], { index: u32; error: SpRuntimeDispatchError } >; - /** A call was dispatched. */ + /** + * A call was dispatched. + **/ DispatchedAs: AugmentedEvent< ApiType, [result: Result], { result: Result } >; - /** A single item within a Batch of dispatches has completed with no error. */ + /** + * A single item within a Batch of dispatches has completed with no error. + **/ ItemCompleted: AugmentedEvent; - /** A single item within a Batch of dispatches has completed with error. */ + /** + * A single item within a Batch of dispatches has completed with error. + **/ ItemFailed: AugmentedEvent< ApiType, [error: SpRuntimeDispatchError], { error: SpRuntimeDispatchError } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; whitelist: { @@ -1976,66 +2510,90 @@ declare module "@polkadot/api-base/types/events" { } >; WhitelistedCallRemoved: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; xcmpQueue: { - /** An HRMP message was sent to a sibling parachain. */ + /** + * An HRMP message was sent to a sibling parachain. + **/ XcmpMessageSent: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; xcmTransactor: { DeRegisteredDerivative: AugmentedEvent; - /** Set dest fee per second */ + /** + * Set dest fee per second + **/ DestFeePerSecondChanged: AugmentedEvent< ApiType, [location: StagingXcmV4Location, feePerSecond: u128], { location: StagingXcmV4Location; feePerSecond: u128 } >; - /** Remove dest fee per second */ + /** + * Remove dest fee per second + **/ DestFeePerSecondRemoved: AugmentedEvent< ApiType, [location: StagingXcmV4Location], { location: StagingXcmV4Location } >; - /** HRMP manage action succesfully sent */ + /** + * HRMP manage action succesfully sent + **/ HrmpManagementSent: AugmentedEvent< ApiType, [action: PalletXcmTransactorHrmpOperation], { action: PalletXcmTransactorHrmpOperation } >; - /** Registered a derivative index for an account id. */ + /** + * Registered a derivative index for an account id. + **/ RegisteredDerivative: AugmentedEvent< ApiType, [accountId: AccountId20, index: u16], { accountId: AccountId20; index: u16 } >; - /** Transacted the inner call through a derivative account in a destination chain. */ + /** + * Transacted the inner call through a derivative account in a destination chain. + **/ TransactedDerivative: AugmentedEvent< ApiType, [accountId: AccountId20, dest: StagingXcmV4Location, call: Bytes, index: u16], { accountId: AccountId20; dest: StagingXcmV4Location; call: Bytes; index: u16 } >; - /** Transacted the call through a signed account in a destination chain. */ + /** + * Transacted the call through a signed account in a destination chain. + **/ TransactedSigned: AugmentedEvent< ApiType, [feePayer: AccountId20, dest: StagingXcmV4Location, call: Bytes], { feePayer: AccountId20; dest: StagingXcmV4Location; call: Bytes } >; - /** Transacted the call through the sovereign account in a destination chain. */ + /** + * Transacted the call through the sovereign account in a destination chain. + **/ TransactedSovereign: AugmentedEvent< ApiType, [feePayer: Option, dest: StagingXcmV4Location, call: Bytes], { feePayer: Option; dest: StagingXcmV4Location; call: Bytes } >; - /** Transact failed */ + /** + * Transact failed + **/ TransactFailed: AugmentedEvent< ApiType, [error: XcmV3TraitsError], { error: XcmV3TraitsError } >; - /** Changed the transact info of a location */ + /** + * Changed the transact info of a location + **/ TransactInfoChanged: AugmentedEvent< ApiType, [ @@ -2047,47 +2605,63 @@ declare module "@polkadot/api-base/types/events" { remoteInfo: PalletXcmTransactorRemoteTransactInfoWithMaxWeight; } >; - /** Removed the transact info of a location */ + /** + * Removed the transact info of a location + **/ TransactInfoRemoved: AugmentedEvent< ApiType, [location: StagingXcmV4Location], { location: StagingXcmV4Location } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; xcmWeightTrader: { - /** Pause support for a given asset */ + /** + * Pause support for a given asset + **/ PauseAssetSupport: AugmentedEvent< ApiType, [location: StagingXcmV4Location], { location: StagingXcmV4Location } >; - /** Resume support for a given asset */ + /** + * Resume support for a given asset + **/ ResumeAssetSupport: AugmentedEvent< ApiType, [location: StagingXcmV4Location], { location: StagingXcmV4Location } >; - /** New supported asset is registered */ + /** + * New supported asset is registered + **/ SupportedAssetAdded: AugmentedEvent< ApiType, [location: StagingXcmV4Location, relativePrice: u128], { location: StagingXcmV4Location; relativePrice: u128 } >; - /** Changed the amount of units we are charging per execution second for a given asset */ + /** + * Changed the amount of units we are charging per execution second for a given asset + **/ SupportedAssetEdited: AugmentedEvent< ApiType, [location: StagingXcmV4Location, relativePrice: u128], { location: StagingXcmV4Location; relativePrice: u128 } >; - /** Supported asset type for fee payment removed */ + /** + * Supported asset type for fee payment removed + **/ SupportedAssetRemoved: AugmentedEvent< ApiType, [location: StagingXcmV4Location], { location: StagingXcmV4Location } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; } // AugmentedEvents diff --git a/typescript-api/src/moonbeam/interfaces/augment-api-query.ts b/typescript-api/src/moonbeam/interfaces/augment-api-query.ts index 2f309faa78..23ec786f53 100644 --- a/typescript-api/src/moonbeam/interfaces/augment-api-query.ts +++ b/typescript-api/src/moonbeam/interfaces/augment-api-query.ts @@ -21,7 +21,7 @@ import type { u128, u16, u32, - u64, + u64 } from "@polkadot/types-codec"; import type { AnyNumber, ITuple } from "@polkadot/types-codec/types"; import type { @@ -30,7 +30,7 @@ import type { H160, H256, Perbill, - Percent, + Percent } from "@polkadot/types/interfaces/runtime"; import type { CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, @@ -121,7 +121,7 @@ import type { StagingXcmV4Location, StagingXcmV4Xcm, XcmVersionedAssetId, - XcmVersionedLocation, + XcmVersionedLocation } from "@polkadot/types/lookup"; import type { Observable } from "@polkadot/types/types"; @@ -132,9 +132,10 @@ declare module "@polkadot/api-base/types/storage" { interface AugmentedQueries { assetManager: { /** - * Mapping from an asset id to asset type. This is mostly used when receiving transaction - * specifying an asset directly, like transferring an asset from this chain to another. - */ + * Mapping from an asset id to asset type. + * This is mostly used when receiving transaction specifying an asset directly, + * like transferring an asset from this chain to another. + **/ assetIdType: AugmentedQuery< ApiType, ( @@ -144,10 +145,10 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * Reverse mapping of AssetIdType. Mapping from an asset type to an asset id. This is mostly - * used when receiving a multilocation XCM message to retrieve the corresponding asset in - * which tokens should me minted. - */ + * Reverse mapping of AssetIdType. Mapping from an asset type to an asset id. + * This is mostly used when receiving a multilocation XCM message to retrieve + * the corresponding asset in which tokens should me minted. + **/ assetTypeId: AugmentedQuery< ApiType, ( @@ -156,11 +157,15 @@ declare module "@polkadot/api-base/types/storage" { [MoonbeamRuntimeXcmConfigAssetType] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; assets: { - /** The holdings of a specific account for a specific asset. */ + /** + * The holdings of a specific account for a specific asset. + **/ account: AugmentedQuery< ApiType, ( @@ -171,10 +176,10 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * Approved balance transfers. First balance is the amount approved for transfer. Second is - * the amount of `T::Currency` reserved for storing this. First key is the asset ID, second - * key is the owner and third key is the delegate. - */ + * Approved balance transfers. First balance is the amount approved for transfer. Second + * is the amount of `T::Currency` reserved for storing this. + * First key is the asset ID, second key is the owner and third key is the delegate. + **/ approvals: AugmentedQuery< ApiType, ( @@ -185,14 +190,18 @@ declare module "@polkadot/api-base/types/storage" { [u128, AccountId20, AccountId20] > & QueryableStorageEntry; - /** Details of an asset. */ + /** + * Details of an asset. + **/ asset: AugmentedQuery< ApiType, (arg: u128 | AnyNumber | Uint8Array) => Observable>, [u128] > & QueryableStorageEntry; - /** Metadata of an asset. */ + /** + * Metadata of an asset. + **/ metadata: AugmentedQuery< ApiType, (arg: u128 | AnyNumber | Uint8Array) => Observable, @@ -209,44 +218,61 @@ declare module "@polkadot/api-base/types/storage" { * * The initial next asset ID can be set using the [`GenesisConfig`] or the * [SetNextAssetId](`migration::next_asset_id::SetNextAssetId`) migration. - */ + **/ nextAssetId: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; asyncBacking: { /** * First tuple element is the highest slot that has been seen in the history of this chain. - * Second tuple element is the number of authored blocks so far. This is a strictly-increasing - * value if T::AllowMultipleBlocksPerSlot = false. - */ + * Second tuple element is the number of authored blocks so far. + * This is a strictly-increasing value if T::AllowMultipleBlocksPerSlot = false. + **/ slotInfo: AugmentedQuery Observable>>, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; authorFilter: { - /** The number of active authors that will be eligible at each height. */ + /** + * The number of active authors that will be eligible at each height. + **/ eligibleCount: AugmentedQuery Observable, []> & QueryableStorageEntry; eligibleRatio: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; authorInherent: { - /** Author of current block. */ + /** + * Author of current block. + **/ author: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Check if the inherent was included */ + /** + * Check if the inherent was included + **/ inherentIncluded: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; authorMapping: { - /** We maintain a mapping from the NimbusIds used in the consensus layer to the AccountIds runtime. */ + /** + * We maintain a mapping from the NimbusIds used in the consensus layer + * to the AccountIds runtime. + **/ mappingWithDeposit: AugmentedQuery< ApiType, ( @@ -255,7 +281,9 @@ declare module "@polkadot/api-base/types/storage" { [NimbusPrimitivesNimbusCryptoPublic] > & QueryableStorageEntry; - /** We maintain a reverse mapping from AccountIds to NimbusIDS */ + /** + * We maintain a reverse mapping from AccountIds to NimbusIDS + **/ nimbusLookup: AugmentedQuery< ApiType, ( @@ -264,7 +292,9 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; balances: { @@ -291,23 +321,27 @@ declare module "@polkadot/api-base/types/storage" { * * But this comes with tradeoffs, storing account balances in the system pallet stores * `frame_system` data alongside the account data contrary to storing account balances in the - * `Balances` pallet, which uses a `StorageMap` to store balances data only. NOTE: This is - * only used in the case that this pallet is used to store balances. - */ + * `Balances` pallet, which uses a `StorageMap` to store balances data only. + * NOTE: This is only used in the case that this pallet is used to store balances. + **/ account: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable, [AccountId20] > & QueryableStorageEntry; - /** Freeze locks on account balances. */ + /** + * Freeze locks on account balances. + **/ freezes: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable>, [AccountId20] > & QueryableStorageEntry; - /** Holds on account balances. */ + /** + * Holds on account balances. + **/ holds: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable< @@ -321,16 +355,17 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** The total units of outstanding deactivated balance in the system. */ + /** + * The total units of outstanding deactivated balance in the system. + **/ inactiveIssuance: AugmentedQuery Observable, []> & QueryableStorageEntry; /** - * Any liquidity locks on some account balances. NOTE: Should only be accessed when setting, - * changing and freeing a lock. + * Any liquidity locks on some account balances. + * NOTE: Should only be accessed when setting, changing and freeing a lock. * - * Use of locks is deprecated in favour of freezes. See - * `https://github.com/paritytech/substrate/pull/12951/` - */ + * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/` + **/ locks: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable>, @@ -340,19 +375,22 @@ declare module "@polkadot/api-base/types/storage" { /** * Named reserves on some account balances. * - * Use of reserves is deprecated in favour of holds. See - * `https://github.com/paritytech/substrate/pull/12951/` - */ + * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/` + **/ reserves: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable>, [AccountId20] > & QueryableStorageEntry; - /** The total units issued in the system. */ + /** + * The total units issued in the system. + **/ totalIssuance: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; convictionVoting: { @@ -360,7 +398,7 @@ declare module "@polkadot/api-base/types/storage" { * The voting classes which have a non-zero lock requirement and the lock amounts which they * require. The actual amount locked on behalf of this pallet should always be the maximum of * this list. - */ + **/ classLocksFor: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable>>, @@ -368,9 +406,9 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * All voting for a particular voter in a particular voting class. We store the balance for - * the number of votes that we have recorded. - */ + * All voting for a particular voter in a particular voting class. We store the balance for the + * number of votes that we have recorded. + **/ votingFor: AugmentedQuery< ApiType, ( @@ -380,7 +418,9 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20, u16] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; crowdloanRewards: { @@ -398,7 +438,9 @@ declare module "@polkadot/api-base/types/storage" { [U8aFixed] > & QueryableStorageEntry; - /** Vesting block height at the initialization of the pallet */ + /** + * Vesting block height at the initialization of the pallet + **/ endRelayBlock: AugmentedQuery Observable, []> & QueryableStorageEntry; initialized: AugmentedQuery Observable, []> & @@ -406,13 +448,17 @@ declare module "@polkadot/api-base/types/storage" { /** * Total initialized amount so far. We store this to make pallet funds == contributors reward * check easier and more efficient - */ + **/ initializedRewardAmount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Vesting block height at the initialization of the pallet */ + /** + * Vesting block height at the initialization of the pallet + **/ initRelayBlock: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Total number of contributors to aid hinting benchmarking */ + /** + * Total number of contributors to aid hinting benchmarking + **/ totalContributors: AugmentedQuery Observable, []> & QueryableStorageEntry; unassociatedContributions: AugmentedQuery< @@ -423,14 +469,20 @@ declare module "@polkadot/api-base/types/storage" { [U8aFixed] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; emergencyParaXcm: { - /** Whether incoming XCM is enabled or paused */ + /** + * Whether incoming XCM is enabled or paused + **/ mode: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; ethereum: { @@ -440,24 +492,32 @@ declare module "@polkadot/api-base/types/storage" { [U256] > & QueryableStorageEntry; - /** The current Ethereum block. */ + /** + * The current Ethereum block. + **/ currentBlock: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** The current Ethereum receipts. */ + /** + * The current Ethereum receipts. + **/ currentReceipts: AugmentedQuery< ApiType, () => Observable>>, [] > & QueryableStorageEntry; - /** The current transaction statuses. */ + /** + * The current transaction statuses. + **/ currentTransactionStatuses: AugmentedQuery< ApiType, () => Observable>>, [] > & QueryableStorageEntry; - /** Current building block's transactions and receipts. */ + /** + * Current building block's transactions and receipts. + **/ pending: AugmentedQuery< ApiType, () => Observable< @@ -470,24 +530,36 @@ declare module "@polkadot/api-base/types/storage" { [] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; ethereumChainId: { - /** The EVM chain ID. */ + /** + * The EVM chain ID. + **/ chainId: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; ethereumXcm: { - /** Whether or not Ethereum-XCM is suspended from executing */ + /** + * Whether or not Ethereum-XCM is suspended from executing + **/ ethereumXcmSuspended: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Global nonce used for building Ethereum transaction payload. */ + /** + * Global nonce used for building Ethereum transaction payload. + **/ nonce: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; evm: { @@ -515,14 +587,17 @@ declare module "@polkadot/api-base/types/storage" { [H160] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; evmForeignAssets: { /** - * Mapping from an asset id to a Foreign asset type. This is mostly used when receiving - * transaction specifying an asset directly, like transferring an asset from this chain to another. - */ + * Mapping from an asset id to a Foreign asset type. + * This is mostly used when receiving transaction specifying an asset directly, + * like transferring an asset from this chain to another. + **/ assetsById: AugmentedQuery< ApiType, (arg: u128 | AnyNumber | Uint8Array) => Observable>, @@ -530,10 +605,10 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * Reverse mapping of AssetsById. Mapping from a foreign asset to an asset id. This is mostly - * used when receiving a multilocation XCM message to retrieve the corresponding asset in - * which tokens should me minted. - */ + * Reverse mapping of AssetsById. Mapping from a foreign asset to an asset id. + * This is mostly used when receiving a multilocation XCM message to retrieve + * the corresponding asset in which tokens should me minted. + **/ assetsByLocation: AugmentedQuery< ApiType, ( @@ -542,10 +617,14 @@ declare module "@polkadot/api-base/types/storage" { [StagingXcmV4Location] > & QueryableStorageEntry; - /** Counter for the related counted storage map */ + /** + * Counter for the related counted storage map + **/ counterForAssetsById: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; identity: { @@ -555,7 +634,7 @@ declare module "@polkadot/api-base/types/storage" { * * Multiple usernames may map to the same `AccountId`, but `IdentityOf` will only map to one * primary username. - */ + **/ accountOfUsername: AugmentedQuery< ApiType, (arg: Bytes | string | Uint8Array) => Observable>, @@ -567,7 +646,7 @@ declare module "@polkadot/api-base/types/storage" { * registration, second is the account's primary username. * * TWOX-NOTE: OK ― `AccountId` is a secure hash. - */ + **/ identityOf: AugmentedQuery< ApiType, ( @@ -583,7 +662,7 @@ declare module "@polkadot/api-base/types/storage" { * [`Call::accept_username`]. * * First tuple item is the account and second is the acceptance deadline. - */ + **/ pendingUsernames: AugmentedQuery< ApiType, (arg: Bytes | string | Uint8Array) => Observable>>, @@ -591,11 +670,11 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * The set of registrars. Not expected to get very big as can only be added through a special - * origin (likely a council motion). + * The set of registrars. Not expected to get very big as can only be added through a + * special origin (likely a council motion). * * The index into this can be cast to `RegistrarIndex` to get a valid value. - */ + **/ registrars: AugmentedQuery< ApiType, () => Observable>>, @@ -608,7 +687,7 @@ declare module "@polkadot/api-base/types/storage" { * The first item is the deposit, the second is a vector of the accounts. * * TWOX-NOTE: OK ― `AccountId` is a secure hash. - */ + **/ subsOf: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable]>>, @@ -618,14 +697,16 @@ declare module "@polkadot/api-base/types/storage" { /** * The super-identity of an alternative "sub" identity together with its name, within that * context. If the account is not some other account's sub-identity, then just `None`. - */ + **/ superOf: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable>>, [AccountId20] > & QueryableStorageEntry; - /** A map of the accounts who are authorized to grant usernames. */ + /** + * A map of the accounts who are authorized to grant usernames. + **/ usernameAuthorities: AugmentedQuery< ApiType, ( @@ -634,18 +715,26 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; maintenanceMode: { - /** Whether the site is in maintenance mode */ + /** + * Whether the site is in maintenance mode + **/ maintenanceMode: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; messageQueue: { - /** The index of the first and last (non-empty) pages. */ + /** + * The index of the first and last (non-empty) pages. + **/ bookStateFor: AugmentedQuery< ApiType, ( @@ -660,7 +749,9 @@ declare module "@polkadot/api-base/types/storage" { [CumulusPrimitivesCoreAggregateMessageOrigin] > & QueryableStorageEntry; - /** The map of page indices to pages. */ + /** + * The map of page indices to pages. + **/ pages: AugmentedQuery< ApiType, ( @@ -676,24 +767,30 @@ declare module "@polkadot/api-base/types/storage" { [CumulusPrimitivesCoreAggregateMessageOrigin, u32] > & QueryableStorageEntry; - /** The origin at which we should begin servicing. */ + /** + * The origin at which we should begin servicing. + **/ serviceHead: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; migrations: { - /** True if all required migrations have completed */ + /** + * True if all required migrations have completed + **/ fullyUpgraded: AugmentedQuery Observable, []> & QueryableStorageEntry; /** - * MigrationState tracks the progress of a migration. Maps name (Vec) -> whether or not - * migration has been completed (bool) - */ + * MigrationState tracks the progress of a migration. + * Maps name (Vec) -> whether or not migration has been completed (bool) + **/ migrationState: AugmentedQuery< ApiType, (arg: Bytes | string | Uint8Array) => Observable, @@ -701,12 +798,14 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * Temporary value that is set to true at the beginning of the block during which the - * execution of xcm messages must be paused. - */ + * Temporary value that is set to true at the beginning of the block during which the execution + * of xcm messages must be paused. + **/ shouldPauseXcm: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; moonbeamLazyMigrations: { @@ -728,18 +827,24 @@ declare module "@polkadot/api-base/types/storage" { [] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; moonbeamOrbiters: { - /** Account lookup override */ + /** + * Account lookup override + **/ accountLookupOverride: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable>>, [AccountId20] > & QueryableStorageEntry; - /** Current orbiters, with their "parent" collator */ + /** + * Current orbiters, with their "parent" collator + **/ collatorsPool: AugmentedQuery< ApiType, ( @@ -748,22 +853,31 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Counter for the related counted storage map */ + /** + * Counter for the related counted storage map + **/ counterForCollatorsPool: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Current round index */ + /** + * Current round index + **/ currentRound: AugmentedQuery Observable, []> & QueryableStorageEntry; /** - * If true, it forces the rotation at the next round. A use case: when changing RotatePeriod, - * you need a migration code that sets this value to true to avoid holes in OrbiterPerRound. - */ + * If true, it forces the rotation at the next round. + * A use case: when changing RotatePeriod, you need a migration code that sets this value to + * true to avoid holes in OrbiterPerRound. + **/ forceRotation: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Minimum deposit required to be registered as an orbiter */ + /** + * Minimum deposit required to be registered as an orbiter + **/ minOrbiterDeposit: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Store active orbiter per round and per parent collator */ + /** + * Store active orbiter per round and per parent collator + **/ orbiterPerRound: AugmentedQuery< ApiType, ( @@ -773,18 +887,24 @@ declare module "@polkadot/api-base/types/storage" { [u32, AccountId20] > & QueryableStorageEntry; - /** Check if account is an orbiter */ + /** + * Check if account is an orbiter + **/ registeredOrbiter: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable>, [AccountId20] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; multisig: { - /** The set of open multisig operations. */ + /** + * The set of open multisig operations. + **/ multisigs: AugmentedQuery< ApiType, ( @@ -794,47 +914,67 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20, U8aFixed] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; openTechCommitteeCollective: { - /** The current members of the collective. This is stored sorted (just by value). */ + /** + * The current members of the collective. This is stored sorted (just by value). + **/ members: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** The prime member that helps determine the default vote behavior in case of abstentions. */ + /** + * The prime member that helps determine the default vote behavior in case of abstentions. + **/ prime: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Proposals so far. */ + /** + * Proposals so far. + **/ proposalCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Actual proposal for a given hash, if it's current. */ + /** + * Actual proposal for a given hash, if it's current. + **/ proposalOf: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable>, [H256] > & QueryableStorageEntry; - /** The hashes of the active proposals. */ + /** + * The hashes of the active proposals. + **/ proposals: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Votes on a given proposal, if it is ongoing. */ + /** + * Votes on a given proposal, if it is ongoing. + **/ voting: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable>, [H256] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; parachainInfo: { parachainId: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; parachainStaking: { - /** Snapshot of collator delegation stake at the start of the round */ + /** + * Snapshot of collator delegation stake at the start of the round + **/ atStake: AugmentedQuery< ApiType, ( @@ -844,7 +984,9 @@ declare module "@polkadot/api-base/types/storage" { [u32, AccountId20] > & QueryableStorageEntry; - /** Stores auto-compounding configuration per collator. */ + /** + * Stores auto-compounding configuration per collator. + **/ autoCompoundingDelegations: AugmentedQuery< ApiType, ( @@ -853,7 +995,9 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Points for each collator per round */ + /** + * Points for each collator per round + **/ awardedPts: AugmentedQuery< ApiType, ( @@ -863,7 +1007,9 @@ declare module "@polkadot/api-base/types/storage" { [u32, AccountId20] > & QueryableStorageEntry; - /** Bottom delegations for collator candidate */ + /** + * Bottom delegations for collator candidate + **/ bottomDelegations: AugmentedQuery< ApiType, ( @@ -872,7 +1018,9 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Get collator candidate info associated with an account if account is candidate else None */ + /** + * Get collator candidate info associated with an account if account is candidate else None + **/ candidateInfo: AugmentedQuery< ApiType, ( @@ -881,17 +1029,23 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** The pool of collator candidates, each with their total backing stake */ + /** + * The pool of collator candidates, each with their total backing stake + **/ candidatePool: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** Commission percent taken off of rewards for all collators */ + /** + * Commission percent taken off of rewards for all collators + **/ collatorCommission: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Delayed payouts */ + /** + * Delayed payouts + **/ delayedPayouts: AugmentedQuery< ApiType, ( @@ -900,7 +1054,9 @@ declare module "@polkadot/api-base/types/storage" { [u32] > & QueryableStorageEntry; - /** Stores outstanding delegation requests per collator. */ + /** + * Stores outstanding delegation requests per collator. + **/ delegationScheduledRequests: AugmentedQuery< ApiType, ( @@ -909,7 +1065,9 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Get delegator state associated with an account if account is delegating else None */ + /** + * Get delegator state associated with an account if account is delegating else None + **/ delegatorState: AugmentedQuery< ApiType, ( @@ -918,10 +1076,14 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Killswitch to enable/disable marking offline feature. */ + /** + * Killswitch to enable/disable marking offline feature. + **/ enableMarkingOffline: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Inflation configuration */ + /** + * Inflation configuration + **/ inflationConfig: AugmentedQuery< ApiType, () => Observable, @@ -933,27 +1095,35 @@ declare module "@polkadot/api-base/types/storage" { * before it is distributed to collators and delegators. * * The sum of the distribution percents must be less than or equal to 100. - */ + **/ inflationDistributionInfo: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** Total points awarded to collators for block production in the round */ + /** + * Total points awarded to collators for block production in the round + **/ points: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable, [u32] > & QueryableStorageEntry; - /** Current round index and next round scheduled transition */ + /** + * Current round index and next round scheduled transition + **/ round: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** The collator candidates selected for the current round */ + /** + * The collator candidates selected for the current round + **/ selectedCandidates: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Top delegations for collator candidate */ + /** + * Top delegations for collator candidate + **/ topDelegations: AugmentedQuery< ApiType, ( @@ -962,21 +1132,27 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Total capital locked by this staking pallet */ + /** + * Total capital locked by this staking pallet + **/ total: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** The total candidates selected every round */ + /** + * The total candidates selected every round + **/ totalSelected: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; parachainSystem: { /** * Storage field that keeps track of bandwidth used by the unincluded segment along with the - * latest HRMP watermark. Used for limiting the acceptance of new blocks with respect to relay - * chain constraints. - */ + * latest HRMP watermark. Used for limiting the acceptance of new blocks with + * respect to relay chain constraints. + **/ aggregatedUnincludedSegment: AugmentedQuery< ApiType, () => Observable>, @@ -986,17 +1162,19 @@ declare module "@polkadot/api-base/types/storage" { /** * The number of HRMP messages we observed in `on_initialize` and thus used that number for * announcing the weight of `on_initialize` and `on_finalize`. - */ + **/ announcedHrmpMessagesPerCandidate: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * A custom head data that should be returned as result of `validate_block`. * * See `Pallet::set_custom_validation_head_data` for more information. - */ + **/ customValidationHeadData: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Were the validation data set to notify the relay chain? */ + /** + * Were the validation data set to notify the relay chain? + **/ didSetValidationCode: AugmentedQuery Observable, []> & QueryableStorageEntry; /** @@ -1006,7 +1184,7 @@ declare module "@polkadot/api-base/types/storage" { * before processing of the inherent, e.g. in `on_initialize` this data may be stale. * * This data is also absent from the genesis. - */ + **/ hostConfiguration: AugmentedQuery< ApiType, () => Observable>, @@ -1017,7 +1195,7 @@ declare module "@polkadot/api-base/types/storage" { * HRMP messages that were sent in a block. * * This will be cleared in `on_initialize` of each new block. - */ + **/ hrmpOutboundMessages: AugmentedQuery< ApiType, () => Observable>, @@ -1028,57 +1206,61 @@ declare module "@polkadot/api-base/types/storage" { * HRMP watermark that was set in a block. * * This will be cleared in `on_initialize` of each new block. - */ + **/ hrmpWatermark: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * The last downward message queue chain head we have observed. * - * This value is loaded before and saved after processing inbound downward messages carried by - * the system inherent. - */ + * This value is loaded before and saved after processing inbound downward messages carried + * by the system inherent. + **/ lastDmqMqcHead: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * The message queue chain heads we have observed per each channel incoming channel. * - * This value is loaded before and saved after processing inbound downward messages carried by - * the system inherent. - */ + * This value is loaded before and saved after processing inbound downward messages carried + * by the system inherent. + **/ lastHrmpMqcHeads: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * The relay chain block number associated with the last parachain block. * * This is updated in `on_finalize`. - */ + **/ lastRelayChainBlockNumber: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Validation code that is set by the parachain and is to be communicated to collator and * consequently the relay-chain. * - * This will be cleared in `on_initialize` of each new block if no other pallet already set the value. - */ + * This will be cleared in `on_initialize` of each new block if no other pallet already set + * the value. + **/ newValidationCode: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Upward messages that are still pending and not yet send to the relay chain. */ + /** + * Upward messages that are still pending and not yet send to the relay chain. + **/ pendingUpwardMessages: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** - * In case of a scheduled upgrade, this storage field contains the validation code to be applied. + * In case of a scheduled upgrade, this storage field contains the validation code to be + * applied. * * As soon as the relay chain gives us the go-ahead signal, we will overwrite the * [`:code`][sp_core::storage::well_known_keys::CODE] which will result the next block process * with the new validation code. This concludes the upgrade process. - */ + **/ pendingValidationCode: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Number of downward messages processed in a block. * * This will be cleared in `on_initialize` of each new block. - */ + **/ processedDownwardMessages: AugmentedQuery Observable, []> & QueryableStorageEntry; /** @@ -1088,7 +1270,7 @@ declare module "@polkadot/api-base/types/storage" { * before processing of the inherent, e.g. in `on_initialize` this data may be stale. * * This data is also absent from the genesis. - */ + **/ relayStateProof: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** @@ -1099,7 +1281,7 @@ declare module "@polkadot/api-base/types/storage" { * before processing of the inherent, e.g. in `on_initialize` this data may be stale. * * This data is also absent from the genesis. - */ + **/ relevantMessagingState: AugmentedQuery< ApiType, () => Observable< @@ -1111,7 +1293,7 @@ declare module "@polkadot/api-base/types/storage" { /** * The weight we reserve at the beginning of the block for processing DMP messages. This * overrides the amount set in the Config trait. - */ + **/ reservedDmpWeightOverride: AugmentedQuery< ApiType, () => Observable>, @@ -1121,7 +1303,7 @@ declare module "@polkadot/api-base/types/storage" { /** * The weight we reserve at the beginning of the block for processing XCMP messages. This * overrides the amount set in the Config trait. - */ + **/ reservedXcmpWeightOverride: AugmentedQuery< ApiType, () => Observable>, @@ -1129,12 +1311,13 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * Latest included block descendants the runtime accepted. In other words, these are ancestors - * of the currently executing block which have not been included in the observed relay-chain state. + * Latest included block descendants the runtime accepted. In other words, these are + * ancestors of the currently executing block which have not been included in the observed + * relay-chain state. * - * The segment length is limited by the capacity returned from the [`ConsensusHook`] - * configured in the pallet. - */ + * The segment length is limited by the capacity returned from the [`ConsensusHook`] configured + * in the pallet. + **/ unincludedSegment: AugmentedQuery< ApiType, () => Observable>, @@ -1147,7 +1330,7 @@ declare module "@polkadot/api-base/types/storage" { * This storage item is a mirror of the corresponding value for the current parachain from the * relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is * set after the inherent. - */ + **/ upgradeGoAhead: AugmentedQuery< ApiType, () => Observable>, @@ -1155,45 +1338,52 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * An option which indicates if the relay-chain restricts signalling a validation code - * upgrade. In other words, if this is `Some` and [`NewValidationCode`] is `Some` then the - * produced candidate will be invalid. + * An option which indicates if the relay-chain restricts signalling a validation code upgrade. + * In other words, if this is `Some` and [`NewValidationCode`] is `Some` then the produced + * candidate will be invalid. * * This storage item is a mirror of the corresponding value for the current parachain from the * relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is * set after the inherent. - */ + **/ upgradeRestrictionSignal: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** The factor to multiply the base delivery fee by for UMP. */ + /** + * The factor to multiply the base delivery fee by for UMP. + **/ upwardDeliveryFeeFactor: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Upward messages that were sent in a block. * * This will be cleared in `on_initialize` of each new block. - */ + **/ upwardMessages: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** - * The [`PersistedValidationData`] set for this block. This value is expected to be set only - * once per block and it's never stored in the trie. - */ + * The [`PersistedValidationData`] set for this block. + * This value is expected to be set only once per block and it's never stored + * in the trie. + **/ validationData: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; parameters: { - /** Stored parameters. */ + /** + * Stored parameters. + **/ parameters: AugmentedQuery< ApiType, ( @@ -1207,7 +1397,9 @@ declare module "@polkadot/api-base/types/storage" { [MoonbeamRuntimeRuntimeParamsRuntimeParametersKey] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; polkadotXcm: { @@ -1216,21 +1408,25 @@ declare module "@polkadot/api-base/types/storage" { * * Key is the blake2 256 hash of (origin, versioned `Assets`) pair. Value is the number of * times this pair has been trapped (usually just 1 if it exists at all). - */ + **/ assetTraps: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable, [H256] > & QueryableStorageEntry; - /** The current migration's stage, if any. */ + /** + * The current migration's stage, if any. + **/ currentMigration: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** Fungible assets which we know are locked on this chain. */ + /** + * Fungible assets which we know are locked on this chain. + **/ lockedFungibles: AugmentedQuery< ApiType, ( @@ -1239,30 +1435,37 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** The ongoing queries. */ + /** + * The ongoing queries. + **/ queries: AugmentedQuery< ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable>, [u64] > & QueryableStorageEntry; - /** The latest available query index. */ + /** + * The latest available query index. + **/ queryCounter: AugmentedQuery Observable, []> & QueryableStorageEntry; /** - * If [`ShouldRecordXcm`] is set to true, then the last XCM program executed locally will be - * stored here. Runtime APIs can fetch the XCM that was executed by accessing this value. + * If [`ShouldRecordXcm`] is set to true, then the last XCM program executed locally + * will be stored here. + * Runtime APIs can fetch the XCM that was executed by accessing this value. * * Only relevant if this pallet is being used as the [`xcm_executor::traits::RecordXcm`] * implementation in the XCM executor configuration. - */ + **/ recordedXcm: AugmentedQuery< ApiType, () => Observable>>, [] > & QueryableStorageEntry; - /** Fungible assets which we know are locked on a remote chain. */ + /** + * Fungible assets which we know are locked on a remote chain. + **/ remoteLockedFungibles: AugmentedQuery< ApiType, ( @@ -1276,20 +1479,23 @@ declare module "@polkadot/api-base/types/storage" { /** * Default version to encode XCM when latest version of destination is unknown. If `None`, * then the destinations whose XCM version is unknown are considered unreachable. - */ + **/ safeXcmVersion: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** - * Whether or not incoming XCMs (both executed locally and received) should be recorded. Only - * one XCM program will be recorded at a time. This is meant to be used in runtime APIs, and - * it's advised it stays false for all other use cases, so as to not degrade regular performance. + * Whether or not incoming XCMs (both executed locally and received) should be recorded. + * Only one XCM program will be recorded at a time. + * This is meant to be used in runtime APIs, and it's advised it stays false + * for all other use cases, so as to not degrade regular performance. * * Only relevant if this pallet is being used as the [`xcm_executor::traits::RecordXcm`] * implementation in the XCM executor configuration. - */ + **/ shouldRecordXcm: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** The Latest versions that we know various locations support. */ + /** + * The Latest versions that we know various locations support. + **/ supportedVersion: AugmentedQuery< ApiType, ( @@ -1303,14 +1509,16 @@ declare module "@polkadot/api-base/types/storage" { * Destinations whose latest XCM version we would like to know. Duplicates not allowed, and * the `u32` counter is the number of times that a send to the destination has been attempted, * which is used as a prioritization. - */ + **/ versionDiscoveryQueue: AugmentedQuery< ApiType, () => Observable>>, [] > & QueryableStorageEntry; - /** All locations that we have requested version notifications from. */ + /** + * All locations that we have requested version notifications from. + **/ versionNotifiers: AugmentedQuery< ApiType, ( @@ -1323,7 +1531,7 @@ declare module "@polkadot/api-base/types/storage" { /** * The target locations that are subscribed to our version changes, as well as the most recent * of our versions we informed them of. - */ + **/ versionNotifyTargets: AugmentedQuery< ApiType, ( @@ -1333,10 +1541,14 @@ declare module "@polkadot/api-base/types/storage" { [u32, XcmVersionedLocation] > & QueryableStorageEntry; - /** Global suspension state of the XCM executor. */ + /** + * Global suspension state of the XCM executor. + **/ xcmExecutionSuspended: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; preimage: { @@ -1348,25 +1560,33 @@ declare module "@polkadot/api-base/types/storage" { [ITuple<[H256, u32]>] > & QueryableStorageEntry]>; - /** The request status of a given hash. */ + /** + * The request status of a given hash. + **/ requestStatusFor: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable>, [H256] > & QueryableStorageEntry; - /** The request status of a given hash. */ + /** + * The request status of a given hash. + **/ statusFor: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable>, [H256] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; proxy: { - /** The announcements made by the proxy (key). */ + /** + * The announcements made by the proxy (key). + **/ announcements: AugmentedQuery< ApiType, ( @@ -1376,9 +1596,9 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * The set of account proxies. Maps the account which has delegated to the accounts which are - * being delegated to, together with the amount held on deposit. - */ + * The set of account proxies. Maps the account which has delegated to the accounts + * which are being delegated to, together with the amount held on deposit. + **/ proxies: AugmentedQuery< ApiType, ( @@ -1387,26 +1607,38 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; randomness: { - /** Ensures the mandatory inherent was included in the block */ + /** + * Ensures the mandatory inherent was included in the block + **/ inherentIncluded: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Current local per-block VRF randomness Set in `on_initialize` */ + /** + * Current local per-block VRF randomness + * Set in `on_initialize` + **/ localVrfOutput: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Records whether this is the first block (genesis or runtime upgrade) */ + /** + * Records whether this is the first block (genesis or runtime upgrade) + **/ notFirstBlock: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Previous local per-block VRF randomness Set in `on_finalize` of last block */ + /** + * Previous local per-block VRF randomness + * Set in `on_finalize` of last block + **/ previousLocalVrfOutput: AugmentedQuery Observable, []> & QueryableStorageEntry; /** - * Snapshot of randomness to fulfill all requests that are for the same raw randomness Removed - * once $value.request_count == 0 - */ + * Snapshot of randomness to fulfill all requests that are for the same raw randomness + * Removed once $value.request_count == 0 + **/ randomnessResults: AugmentedQuery< ApiType, ( @@ -1420,24 +1652,34 @@ declare module "@polkadot/api-base/types/storage" { [PalletRandomnessRequestType] > & QueryableStorageEntry; - /** Relay epoch */ + /** + * Relay epoch + **/ relayEpoch: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Number of randomness requests made so far, used to generate the next request's uid */ + /** + * Number of randomness requests made so far, used to generate the next request's uid + **/ requestCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Randomness requests not yet fulfilled or purged */ + /** + * Randomness requests not yet fulfilled or purged + **/ requests: AugmentedQuery< ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable>, [u64] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; referenda: { - /** The number of referenda being decided currently. */ + /** + * The number of referenda being decided currently. + **/ decidingCount: AugmentedQuery< ApiType, (arg: u16 | AnyNumber | Uint8Array) => Observable, @@ -1445,22 +1687,27 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * The metadata is a general information concerning the referendum. The `Hash` refers to the - * preimage of the `Preimages` provider which can be a JSON dump or IPFS hash of a JSON file. + * The metadata is a general information concerning the referendum. + * The `Hash` refers to the preimage of the `Preimages` provider which can be a JSON + * dump or IPFS hash of a JSON file. * - * Consider a garbage collection for a metadata of finished referendums to `unrequest` - * (remove) large preimages. - */ + * Consider a garbage collection for a metadata of finished referendums to `unrequest` (remove) + * large preimages. + **/ metadataOf: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable>, [u32] > & QueryableStorageEntry; - /** The next free referendum index, aka the number of referenda started so far. */ + /** + * The next free referendum index, aka the number of referenda started so far. + **/ referendumCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Information concerning any given referendum. */ + /** + * Information concerning any given referendum. + **/ referendumInfoFor: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable>, @@ -1472,18 +1719,22 @@ declare module "@polkadot/api-base/types/storage" { * conviction-weighted approvals. * * This should be empty if `DecidingCount` is less than `TrackInfo::max_deciding`. - */ + **/ trackQueue: AugmentedQuery< ApiType, (arg: u16 | AnyNumber | Uint8Array) => Observable>>, [u16] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; relayStorageRoots: { - /** Map of relay block number to relay storage root */ + /** + * Map of relay block number to relay storage root + **/ relayStorageRoot: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable>, @@ -1491,20 +1742,26 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * List of all the keys in `RelayStorageRoot`. Used to remove the oldest key without having to - * iterate over all of them. - */ + * List of all the keys in `RelayStorageRoot`. + * Used to remove the oldest key without having to iterate over all of them. + **/ relayStorageRootKeys: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; rootTesting: { - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; scheduler: { - /** Items to be executed, indexed by the block number that they should be executed on. */ + /** + * Items to be executed, indexed by the block number that they should be executed on. + **/ agenda: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable>>, @@ -1516,15 +1773,18 @@ declare module "@polkadot/api-base/types/storage" { /** * Lookup from a name to the block number and index of the task. * - * For v3 -> v4 the previously unbounded identities are Blake2-256 hashed to form the v4 identities. - */ + * For v3 -> v4 the previously unbounded identities are Blake2-256 hashed to form the v4 + * identities. + **/ lookup: AugmentedQuery< ApiType, (arg: U8aFixed | string | Uint8Array) => Observable>>, [U8aFixed] > & QueryableStorageEntry; - /** Retry configurations for items to be executed, indexed by task address. */ + /** + * Retry configurations for items to be executed, indexed by task address. + **/ retries: AugmentedQuery< ApiType, ( @@ -1533,129 +1793,167 @@ declare module "@polkadot/api-base/types/storage" { [ITuple<[u32, u32]>] > & QueryableStorageEntry]>; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; system: { - /** The full account information for a particular account ID. */ + /** + * The full account information for a particular account ID. + **/ account: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable, [AccountId20] > & QueryableStorageEntry; - /** Total length (in bytes) for all extrinsics put together, for the current block. */ + /** + * Total length (in bytes) for all extrinsics put together, for the current block. + **/ allExtrinsicsLen: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** `Some` if a code upgrade has been authorized. */ + /** + * `Some` if a code upgrade has been authorized. + **/ authorizedUpgrade: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** Map of block numbers to block hashes. */ + /** + * Map of block numbers to block hashes. + **/ blockHash: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable, [u32] > & QueryableStorageEntry; - /** The current weight for the block. */ + /** + * The current weight for the block. + **/ blockWeight: AugmentedQuery< ApiType, () => Observable, [] > & QueryableStorageEntry; - /** Digest of the current block, also part of the block header. */ + /** + * Digest of the current block, also part of the block header. + **/ digest: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** The number of events in the `Events` list. */ + /** + * The number of events in the `Events` list. + **/ eventCount: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Events deposited for the current block. * - * NOTE: The item is unbound and should therefore never be read on chain. It could otherwise - * inflate the PoV size of a block. + * NOTE: The item is unbound and should therefore never be read on chain. + * It could otherwise inflate the PoV size of a block. * - * Events have a large in-memory size. Box the events to not go out-of-memory just in case - * someone still reads them from within the runtime. - */ + * Events have a large in-memory size. Box the events to not go out-of-memory + * just in case someone still reads them from within the runtime. + **/ events: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** - * Mapping between a topic (represented by T::Hash) and a vector of indexes of events in the - * `>` list. + * Mapping between a topic (represented by T::Hash) and a vector of indexes + * of events in the `>` list. * - * All topic vectors have deterministic storage locations depending on the topic. This allows - * light-clients to leverage the changes trie storage tracking mechanism and in case of - * changes fetch the list of events of interest. + * All topic vectors have deterministic storage locations depending on the topic. This + * allows light-clients to leverage the changes trie storage tracking mechanism and + * in case of changes fetch the list of events of interest. * - * The value has the type `(BlockNumberFor, EventIndex)` because if we used only just the - * `EventIndex` then in case if the topic has the same contents on the next block no - * notification will be triggered thus the event might be lost. - */ + * The value has the type `(BlockNumberFor, EventIndex)` because if we used only just + * the `EventIndex` then in case if the topic has the same contents on the next block + * no notification will be triggered thus the event might be lost. + **/ eventTopics: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable>>, [H256] > & QueryableStorageEntry; - /** The execution phase of the block. */ + /** + * The execution phase of the block. + **/ executionPhase: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Total extrinsics count for the current block. */ + /** + * Total extrinsics count for the current block. + **/ extrinsicCount: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Extrinsics data for the current block (maps an extrinsic's index to its data). */ + /** + * Extrinsics data for the current block (maps an extrinsic's index to its data). + **/ extrinsicData: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable, [u32] > & QueryableStorageEntry; - /** Whether all inherents have been applied. */ + /** + * Whether all inherents have been applied. + **/ inherentsApplied: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened. */ + /** + * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened. + **/ lastRuntimeUpgrade: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** The current block number being processed. Set by `execute_block`. */ + /** + * The current block number being processed. Set by `execute_block`. + **/ number: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Hash of the previous block. */ + /** + * Hash of the previous block. + **/ parentHash: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * True if we have upgraded so that AccountInfo contains three types of `RefCount`. False * (default) if not. - */ + **/ upgradedToTripleRefCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** True if we have upgraded so that `type RefCount` is `u32`. False (default) if not. */ + /** + * True if we have upgraded so that `type RefCount` is `u32`. False (default) if not. + **/ upgradedToU32RefCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; timestamp: { /** * Whether the timestamp has been updated in this block. * - * This value is updated to `true` upon successful submission of a timestamp by a node. It is - * then checked at the end of each block execution in the `on_finalize` hook. - */ + * This value is updated to `true` upon successful submission of a timestamp by a node. + * It is then checked at the end of each block execution in the `on_finalize` hook. + **/ didUpdate: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** The current time for the current block. */ + /** + * The current time for the current block. + **/ now: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; transactionPayment: { @@ -1667,67 +1965,97 @@ declare module "@polkadot/api-base/types/storage" { [] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; treasury: { - /** Proposal indices that have been approved but not yet awarded. */ + /** + * Proposal indices that have been approved but not yet awarded. + **/ approvals: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** The amount which has been reported as inactive to Currency. */ + /** + * The amount which has been reported as inactive to Currency. + **/ deactivated: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Number of proposals that have been made. */ + /** + * Number of proposals that have been made. + **/ proposalCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Proposals that have been made. */ + /** + * Proposals that have been made. + **/ proposals: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable>, [u32] > & QueryableStorageEntry; - /** The count of spends that have been made. */ + /** + * The count of spends that have been made. + **/ spendCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Spends that have been approved and being processed. */ + /** + * Spends that have been approved and being processed. + **/ spends: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable>, [u32] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; treasuryCouncilCollective: { - /** The current members of the collective. This is stored sorted (just by value). */ + /** + * The current members of the collective. This is stored sorted (just by value). + **/ members: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** The prime member that helps determine the default vote behavior in case of abstentions. */ + /** + * The prime member that helps determine the default vote behavior in case of abstentions. + **/ prime: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Proposals so far. */ + /** + * Proposals so far. + **/ proposalCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Actual proposal for a given hash, if it's current. */ + /** + * Actual proposal for a given hash, if it's current. + **/ proposalOf: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable>, [H256] > & QueryableStorageEntry; - /** The hashes of the active proposals. */ + /** + * The hashes of the active proposals. + **/ proposals: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Votes on a given proposal, if it is ongoing. */ + /** + * Votes on a given proposal, if it is ongoing. + **/ voting: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable>, [H256] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; whitelist: { @@ -1737,11 +2065,15 @@ declare module "@polkadot/api-base/types/storage" { [H256] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; xcmpQueue: { - /** The factor to multiply the base delivery fee by. */ + /** + * The factor to multiply the base delivery fee by. + **/ deliveryFeeFactor: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable, @@ -1757,10 +2089,12 @@ declare module "@polkadot/api-base/types/storage" { * * NOTE: The PoV benchmarking cannot know this and will over-estimate, but the actual proof * will be smaller. - */ + **/ inboundXcmpSuspended: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** The messages outbound in a given XCMP channel. */ + /** + * The messages outbound in a given XCMP channel. + **/ outboundXcmpMessages: AugmentedQuery< ApiType, ( @@ -1771,44 +2105,52 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * The non-empty XCMP channels in order of becoming non-empty, and the index of the first and - * last outbound message. If the two indices are equal, then it indicates an empty queue and - * there must be a non-`Ok` `OutboundStatus`. We assume queues grow no greater than 65535 - * items. Queue indices for normal messages begin at one; zero is reserved in case of the need - * to send a high-priority signal message this block. The bool is true if there is a signal - * message waiting to be sent. - */ + * The non-empty XCMP channels in order of becoming non-empty, and the index of the first + * and last outbound message. If the two indices are equal, then it indicates an empty + * queue and there must be a non-`Ok` `OutboundStatus`. We assume queues grow no greater + * than 65535 items. Queue indices for normal messages begin at one; zero is reserved in + * case of the need to send a high-priority signal message this block. + * The bool is true if there is a signal message waiting to be sent. + **/ outboundXcmpStatus: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** The configuration which controls the dynamics of the outbound queue. */ + /** + * The configuration which controls the dynamics of the outbound queue. + **/ queueConfig: AugmentedQuery< ApiType, () => Observable, [] > & QueryableStorageEntry; - /** Whether or not the XCMP queue is suspended from executing incoming XCMs or not. */ + /** + * Whether or not the XCMP queue is suspended from executing incoming XCMs or not. + **/ queueSuspended: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Any signal messages waiting to be sent. */ + /** + * Any signal messages waiting to be sent. + **/ signalMessages: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable, [u32] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; xcmTransactor: { /** - * Stores the fee per second for an asset in its reserve chain. This allows us to convert from - * weight to fee - */ + * Stores the fee per second for an asset in its reserve chain. This allows us to convert + * from weight to fee + **/ destinationAssetFeePerSecond: AugmentedQuery< ApiType, ( @@ -1818,17 +2160,19 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * Since we are using pallet-utility for account derivation (through AsDerivative), we need to - * provide an index for the account derivation. This storage item stores the index assigned - * for a given local account. These indices are usable as derivative in the relay chain - */ + * Since we are using pallet-utility for account derivation (through AsDerivative), + * we need to provide an index for the account derivation. This storage item stores the index + * assigned for a given local account. These indices are usable as derivative in the relay chain + **/ indexToAccount: AugmentedQuery< ApiType, (arg: u16 | AnyNumber | Uint8Array) => Observable>, [u16] > & QueryableStorageEntry; - /** Stores the indices of relay chain pallets */ + /** + * Stores the indices of relay chain pallets + **/ relayIndices: AugmentedQuery< ApiType, () => Observable, @@ -1836,10 +2180,10 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * Stores the transact info of a Location. This defines how much extra weight we need to add - * when we want to transact in the destination chain and maximum amount of weight allowed by - * the destination chain - */ + * Stores the transact info of a Location. This defines how much extra weight we need to + * add when we want to transact in the destination chain and maximum amount of weight allowed + * by the destination chain + **/ transactInfoWithWeightLimit: AugmentedQuery< ApiType, ( @@ -1848,14 +2192,17 @@ declare module "@polkadot/api-base/types/storage" { [StagingXcmV4Location] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; xcmWeightTrader: { /** - * Stores all supported assets per XCM Location. The u128 is the asset price relative to - * native asset with 18 decimals The boolean specify if the support for this asset is active - */ + * Stores all supported assets per XCM Location. + * The u128 is the asset price relative to native asset with 18 decimals + * The boolean specify if the support for this asset is active + **/ supportedAssets: AugmentedQuery< ApiType, ( @@ -1864,7 +2211,9 @@ declare module "@polkadot/api-base/types/storage" { [StagingXcmV4Location] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; } // AugmentedQueries diff --git a/typescript-api/src/moonbeam/interfaces/augment-api-rpc.ts b/typescript-api/src/moonbeam/interfaces/augment-api-rpc.ts index a71564cc61..7752ea2d20 100644 --- a/typescript-api/src/moonbeam/interfaces/augment-api-rpc.ts +++ b/typescript-api/src/moonbeam/interfaces/augment-api-rpc.ts @@ -20,7 +20,7 @@ import type { bool, f64, u32, - u64, + u64 } from "@polkadot/types-codec"; import type { AnyNumber, Codec } from "@polkadot/types-codec/types"; import type { ExtrinsicOrHash, ExtrinsicStatus } from "@polkadot/types/interfaces/author"; @@ -35,7 +35,7 @@ import type { ContractCallRequest, ContractExecResult, ContractInstantiateResult, - InstantiateRequestV1, + InstantiateRequestV1 } from "@polkadot/types/interfaces/contracts"; import type { BlockStats } from "@polkadot/types/interfaces/dev"; import type { CreatedBlock } from "@polkadot/types/interfaces/engine"; @@ -53,13 +53,13 @@ import type { EthSyncStatus, EthTransaction, EthTransactionRequest, - EthWork, + EthWork } from "@polkadot/types/interfaces/eth"; import type { Extrinsic } from "@polkadot/types/interfaces/extrinsics"; import type { EncodedFinalityProofs, JustificationNotification, - ReportedRoundStates, + ReportedRoundStates } from "@polkadot/types/interfaces/grandpa"; import type { MmrHash, MmrLeafBatchProof } from "@polkadot/types/interfaces/mmr"; import type { StorageKind } from "@polkadot/types/interfaces/offchain"; @@ -77,13 +77,13 @@ import type { Justification, KeyValue, SignedBlock, - StorageData, + StorageData } from "@polkadot/types/interfaces/runtime"; import type { MigrationStatusResult, ReadProof, RuntimeVersion, - TraceBlockResponse, + TraceBlockResponse } from "@polkadot/types/interfaces/state"; import type { ApplyExtrinsicResult, @@ -93,7 +93,7 @@ import type { NetworkState, NodeRole, PeerInfo, - SyncState, + SyncState } from "@polkadot/types/interfaces/system"; import type { IExtrinsic, Observable } from "@polkadot/types/types"; @@ -102,13 +102,19 @@ export type __AugmentedRpc = AugmentedRpc<() => unknown>; declare module "@polkadot/rpc-core/types/jsonrpc" { interface RpcInterface { author: { - /** Returns true if the keystore has private keys for the given public key and key type. */ + /** + * Returns true if the keystore has private keys for the given public key and key type. + **/ hasKey: AugmentedRpc< (publicKey: Bytes | string | Uint8Array, keyType: Text | string) => Observable >; - /** Returns true if the keystore has private keys for the given session public keys. */ + /** + * Returns true if the keystore has private keys for the given session public keys. + **/ hasSessionKeys: AugmentedRpc<(sessionKeys: Bytes | string | Uint8Array) => Observable>; - /** Insert a key into the keystore. */ + /** + * Insert a key into the keystore. + **/ insertKey: AugmentedRpc< ( keyType: Text | string, @@ -116,9 +122,13 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { publicKey: Bytes | string | Uint8Array ) => Observable >; - /** Returns all pending extrinsics, potentially grouped by sender */ + /** + * Returns all pending extrinsics, potentially grouped by sender + **/ pendingExtrinsics: AugmentedRpc<() => Observable>>; - /** Remove given extrinsic from the pool and temporarily ban it to prevent reimporting */ + /** + * Remove given extrinsic from the pool and temporarily ban it to prevent reimporting + **/ removeExtrinsic: AugmentedRpc< ( bytesOrHash: @@ -126,50 +136,75 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { | (ExtrinsicOrHash | { Hash: any } | { Extrinsic: any } | string | Uint8Array)[] ) => Observable> >; - /** Generate new session keys and returns the corresponding public keys */ + /** + * Generate new session keys and returns the corresponding public keys + **/ rotateKeys: AugmentedRpc<() => Observable>; - /** Submit and subscribe to watch an extrinsic until unsubscribed */ + /** + * Submit and subscribe to watch an extrinsic until unsubscribed + **/ submitAndWatchExtrinsic: AugmentedRpc< (extrinsic: Extrinsic | IExtrinsic | string | Uint8Array) => Observable >; - /** Submit a fully formatted extrinsic for block inclusion */ + /** + * Submit a fully formatted extrinsic for block inclusion + **/ submitExtrinsic: AugmentedRpc< (extrinsic: Extrinsic | IExtrinsic | string | Uint8Array) => Observable >; }; babe: { /** - * Returns data about which slots (primary or secondary) can be claimed in the current epoch - * with the keys in the keystore - */ + * Returns data about which slots (primary or secondary) can be claimed in the current epoch with the keys in the keystore + **/ epochAuthorship: AugmentedRpc<() => Observable>>; }; beefy: { - /** Returns hash of the latest BEEFY finalized block as seen by this client. */ + /** + * Returns hash of the latest BEEFY finalized block as seen by this client. + **/ getFinalizedHead: AugmentedRpc<() => Observable>; - /** Returns the block most recently finalized by BEEFY, alongside its justification. */ + /** + * Returns the block most recently finalized by BEEFY, alongside its justification. + **/ subscribeJustifications: AugmentedRpc<() => Observable>; }; chain: { - /** Get header and body of a relay chain block */ + /** + * Get header and body of a relay chain block + **/ getBlock: AugmentedRpc<(hash?: BlockHash | string | Uint8Array) => Observable>; - /** Get the block hash for a specific block */ + /** + * Get the block hash for a specific block + **/ getBlockHash: AugmentedRpc< (blockNumber?: BlockNumber | AnyNumber | Uint8Array) => Observable >; - /** Get hash of the last finalized block in the canon chain */ + /** + * Get hash of the last finalized block in the canon chain + **/ getFinalizedHead: AugmentedRpc<() => Observable>; - /** Retrieves the header for a specific block */ + /** + * Retrieves the header for a specific block + **/ getHeader: AugmentedRpc<(hash?: BlockHash | string | Uint8Array) => Observable
>; - /** Retrieves the newest header via subscription */ + /** + * Retrieves the newest header via subscription + **/ subscribeAllHeads: AugmentedRpc<() => Observable
>; - /** Retrieves the best finalized header via subscription */ + /** + * Retrieves the best finalized header via subscription + **/ subscribeFinalizedHeads: AugmentedRpc<() => Observable
>; - /** Retrieves the best header via subscription */ + /** + * Retrieves the best header via subscription + **/ subscribeNewHeads: AugmentedRpc<() => Observable
>; }; childstate: { - /** Returns the keys with prefix from a child storage, leave empty to get all the keys */ + /** + * Returns the keys with prefix from a child storage, leave empty to get all the keys + **/ getKeys: AugmentedRpc< ( childKey: PrefixedStorageKey | string | Uint8Array, @@ -177,7 +212,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: Hash | string | Uint8Array ) => Observable> >; - /** Returns the keys with prefix from a child storage with pagination support */ + /** + * Returns the keys with prefix from a child storage with pagination support + **/ getKeysPaged: AugmentedRpc< ( childKey: PrefixedStorageKey | string | Uint8Array, @@ -187,7 +224,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: Hash | string | Uint8Array ) => Observable> >; - /** Returns a child storage entry at a specific block state */ + /** + * Returns a child storage entry at a specific block state + **/ getStorage: AugmentedRpc< ( childKey: PrefixedStorageKey | string | Uint8Array, @@ -195,7 +234,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: Hash | string | Uint8Array ) => Observable> >; - /** Returns child storage entries for multiple keys at a specific block state */ + /** + * Returns child storage entries for multiple keys at a specific block state + **/ getStorageEntries: AugmentedRpc< ( childKey: PrefixedStorageKey | string | Uint8Array, @@ -203,7 +244,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: Hash | string | Uint8Array ) => Observable>> >; - /** Returns the hash of a child storage entry at a block state */ + /** + * Returns the hash of a child storage entry at a block state + **/ getStorageHash: AugmentedRpc< ( childKey: PrefixedStorageKey | string | Uint8Array, @@ -211,7 +254,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: Hash | string | Uint8Array ) => Observable> >; - /** Returns the size of a child storage entry at a block state */ + /** + * Returns the size of a child storage entry at a block state + **/ getStorageSize: AugmentedRpc< ( childKey: PrefixedStorageKey | string | Uint8Array, @@ -222,9 +267,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { }; contracts: { /** - * @deprecated Use the runtime interface `api.call.contractsApi.call` instead Executes a call - * to a contract - */ + * @deprecated Use the runtime interface `api.call.contractsApi.call` instead + * Executes a call to a contract + **/ call: AugmentedRpc< ( callRequest: @@ -243,9 +288,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { ) => Observable >; /** - * @deprecated Use the runtime interface `api.call.contractsApi.getStorage` instead Returns - * the value under a specified storage key in a contract - */ + * @deprecated Use the runtime interface `api.call.contractsApi.getStorage` instead + * Returns the value under a specified storage key in a contract + **/ getStorage: AugmentedRpc< ( address: AccountId | string | Uint8Array, @@ -255,8 +300,8 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { >; /** * @deprecated Use the runtime interface `api.call.contractsApi.instantiate` instead - * Instantiate a new contract - */ + * Instantiate a new contract + **/ instantiate: AugmentedRpc< ( request: @@ -268,9 +313,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { ) => Observable >; /** - * @deprecated Not available in newer versions of the contracts interfaces Returns the - * projected time a given contract will be able to sustain paying its rent - */ + * @deprecated Not available in newer versions of the contracts interfaces + * Returns the projected time a given contract will be able to sustain paying its rent + **/ rentProjection: AugmentedRpc< ( address: AccountId | string | Uint8Array, @@ -278,9 +323,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { ) => Observable> >; /** - * @deprecated Use the runtime interface `api.call.contractsApi.uploadCode` instead Upload new - * code without instantiating a contract from it - */ + * @deprecated Use the runtime interface `api.call.contractsApi.uploadCode` instead + * Upload new code without instantiating a contract from it + **/ uploadCode: AugmentedRpc< ( uploadRequest: @@ -293,13 +338,17 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { >; }; dev: { - /** Reexecute the specified `block_hash` and gather statistics while doing so */ + /** + * Reexecute the specified `block_hash` and gather statistics while doing so + **/ getBlockStats: AugmentedRpc< (at: Hash | string | Uint8Array) => Observable> >; }; engine: { - /** Instructs the manual-seal authorship task to create a new block */ + /** + * Instructs the manual-seal authorship task to create a new block + **/ createBlock: AugmentedRpc< ( createEmpty: bool | boolean | Uint8Array, @@ -307,17 +356,25 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { parentHash?: BlockHash | string | Uint8Array ) => Observable >; - /** Instructs the manual-seal authorship task to finalize a block */ + /** + * Instructs the manual-seal authorship task to finalize a block + **/ finalizeBlock: AugmentedRpc< (hash: BlockHash | string | Uint8Array, justification?: Justification) => Observable >; }; eth: { - /** Returns accounts list. */ + /** + * Returns accounts list. + **/ accounts: AugmentedRpc<() => Observable>>; - /** Returns the blockNumber */ + /** + * Returns the blockNumber + **/ blockNumber: AugmentedRpc<() => Observable>; - /** Call contract, returning the output data. */ + /** + * Call contract, returning the output data. + **/ call: AugmentedRpc< ( request: @@ -337,13 +394,16 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { ) => Observable >; /** - * Returns the chain ID used for transaction signing at the current best block. None is - * returned if not available. - */ + * Returns the chain ID used for transaction signing at the current best block. None is returned if not available. + **/ chainId: AugmentedRpc<() => Observable>; - /** Returns block author. */ + /** + * Returns block author. + **/ coinbase: AugmentedRpc<() => Observable>; - /** Estimate gas needed for execution of given contract. */ + /** + * Estimate gas needed for execution of given contract. + **/ estimateGas: AugmentedRpc< ( request: @@ -362,7 +422,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { number?: BlockNumber | AnyNumber | Uint8Array ) => Observable >; - /** Returns fee history for given block count & reward percentiles */ + /** + * Returns fee history for given block count & reward percentiles + **/ feeHistory: AugmentedRpc< ( blockCount: U256 | AnyNumber | Uint8Array, @@ -370,53 +432,73 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { rewardPercentiles: Option> | null | Uint8Array | Vec | f64[] ) => Observable >; - /** Returns current gas price. */ + /** + * Returns current gas price. + **/ gasPrice: AugmentedRpc<() => Observable>; - /** Returns balance of the given account. */ + /** + * Returns balance of the given account. + **/ getBalance: AugmentedRpc< ( address: H160 | string | Uint8Array, number?: BlockNumber | AnyNumber | Uint8Array ) => Observable >; - /** Returns block with given hash. */ + /** + * Returns block with given hash. + **/ getBlockByHash: AugmentedRpc< ( hash: H256 | string | Uint8Array, full: bool | boolean | Uint8Array ) => Observable> >; - /** Returns block with given number. */ + /** + * Returns block with given number. + **/ getBlockByNumber: AugmentedRpc< ( block: BlockNumber | AnyNumber | Uint8Array, full: bool | boolean | Uint8Array ) => Observable> >; - /** Returns the number of transactions in a block with given hash. */ + /** + * Returns the number of transactions in a block with given hash. + **/ getBlockTransactionCountByHash: AugmentedRpc< (hash: H256 | string | Uint8Array) => Observable >; - /** Returns the number of transactions in a block with given block number. */ + /** + * Returns the number of transactions in a block with given block number. + **/ getBlockTransactionCountByNumber: AugmentedRpc< (block: BlockNumber | AnyNumber | Uint8Array) => Observable >; - /** Returns the code at given address at given time (block number). */ + /** + * Returns the code at given address at given time (block number). + **/ getCode: AugmentedRpc< ( address: H160 | string | Uint8Array, number?: BlockNumber | AnyNumber | Uint8Array ) => Observable >; - /** Returns filter changes since last poll. */ + /** + * Returns filter changes since last poll. + **/ getFilterChanges: AugmentedRpc< (index: U256 | AnyNumber | Uint8Array) => Observable >; - /** Returns all logs matching given filter (in a range 'from' - 'to'). */ + /** + * Returns all logs matching given filter (in a range 'from' - 'to'). + **/ getFilterLogs: AugmentedRpc< (index: U256 | AnyNumber | Uint8Array) => Observable> >; - /** Returns logs matching given filter object. */ + /** + * Returns logs matching given filter object. + **/ getLogs: AugmentedRpc< ( filter: @@ -426,7 +508,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { | Uint8Array ) => Observable> >; - /** Returns proof for account and storage. */ + /** + * Returns proof for account and storage. + **/ getProof: AugmentedRpc< ( address: H160 | string | Uint8Array, @@ -434,7 +518,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { number: BlockNumber | AnyNumber | Uint8Array ) => Observable >; - /** Returns content of the storage at given address. */ + /** + * Returns content of the storage at given address. + **/ getStorageAt: AugmentedRpc< ( address: H160 | string | Uint8Array, @@ -442,68 +528,98 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { number?: BlockNumber | AnyNumber | Uint8Array ) => Observable >; - /** Returns transaction at given block hash and index. */ + /** + * Returns transaction at given block hash and index. + **/ getTransactionByBlockHashAndIndex: AugmentedRpc< ( hash: H256 | string | Uint8Array, index: U256 | AnyNumber | Uint8Array ) => Observable >; - /** Returns transaction by given block number and index. */ + /** + * Returns transaction by given block number and index. + **/ getTransactionByBlockNumberAndIndex: AugmentedRpc< ( number: BlockNumber | AnyNumber | Uint8Array, index: U256 | AnyNumber | Uint8Array ) => Observable >; - /** Get transaction by its hash. */ + /** + * Get transaction by its hash. + **/ getTransactionByHash: AugmentedRpc< (hash: H256 | string | Uint8Array) => Observable >; - /** Returns the number of transactions sent from given address at given time (block number). */ + /** + * Returns the number of transactions sent from given address at given time (block number). + **/ getTransactionCount: AugmentedRpc< ( address: H160 | string | Uint8Array, number?: BlockNumber | AnyNumber | Uint8Array ) => Observable >; - /** Returns transaction receipt by transaction hash. */ + /** + * Returns transaction receipt by transaction hash. + **/ getTransactionReceipt: AugmentedRpc< (hash: H256 | string | Uint8Array) => Observable >; - /** Returns an uncles at given block and index. */ + /** + * Returns an uncles at given block and index. + **/ getUncleByBlockHashAndIndex: AugmentedRpc< ( hash: H256 | string | Uint8Array, index: U256 | AnyNumber | Uint8Array ) => Observable >; - /** Returns an uncles at given block and index. */ + /** + * Returns an uncles at given block and index. + **/ getUncleByBlockNumberAndIndex: AugmentedRpc< ( number: BlockNumber | AnyNumber | Uint8Array, index: U256 | AnyNumber | Uint8Array ) => Observable >; - /** Returns the number of uncles in a block with given hash. */ + /** + * Returns the number of uncles in a block with given hash. + **/ getUncleCountByBlockHash: AugmentedRpc< (hash: H256 | string | Uint8Array) => Observable >; - /** Returns the number of uncles in a block with given block number. */ + /** + * Returns the number of uncles in a block with given block number. + **/ getUncleCountByBlockNumber: AugmentedRpc< (number: BlockNumber | AnyNumber | Uint8Array) => Observable >; - /** Returns the hash of the current block, the seedHash, and the boundary condition to be met. */ + /** + * Returns the hash of the current block, the seedHash, and the boundary condition to be met. + **/ getWork: AugmentedRpc<() => Observable>; - /** Returns the number of hashes per second that the node is mining with. */ + /** + * Returns the number of hashes per second that the node is mining with. + **/ hashrate: AugmentedRpc<() => Observable>; - /** Returns max priority fee per gas */ + /** + * Returns max priority fee per gas + **/ maxPriorityFeePerGas: AugmentedRpc<() => Observable>; - /** Returns true if client is actively mining new blocks. */ + /** + * Returns true if client is actively mining new blocks. + **/ mining: AugmentedRpc<() => Observable>; - /** Returns id of new block filter. */ + /** + * Returns id of new block filter. + **/ newBlockFilter: AugmentedRpc<() => Observable>; - /** Returns id of new filter. */ + /** + * Returns id of new filter. + **/ newFilter: AugmentedRpc< ( filter: @@ -513,13 +629,21 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { | Uint8Array ) => Observable >; - /** Returns id of new block filter. */ + /** + * Returns id of new block filter. + **/ newPendingTransactionFilter: AugmentedRpc<() => Observable>; - /** Returns protocol version encoded as a string (quotes are necessary). */ + /** + * Returns protocol version encoded as a string (quotes are necessary). + **/ protocolVersion: AugmentedRpc<() => Observable>; - /** Sends signed transaction, returning its hash. */ + /** + * Sends signed transaction, returning its hash. + **/ sendRawTransaction: AugmentedRpc<(bytes: Bytes | string | Uint8Array) => Observable>; - /** Sends transaction; will block waiting for signer to return the transaction hash */ + /** + * Sends transaction; will block waiting for signer to return the transaction hash + **/ sendTransaction: AugmentedRpc< ( tx: @@ -537,11 +661,15 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { | Uint8Array ) => Observable >; - /** Used for submitting mining hashrate. */ + /** + * Used for submitting mining hashrate. + **/ submitHashrate: AugmentedRpc< (index: U256 | AnyNumber | Uint8Array, hash: H256 | string | Uint8Array) => Observable >; - /** Used for submitting a proof-of-work solution. */ + /** + * Used for submitting a proof-of-work solution. + **/ submitWork: AugmentedRpc< ( nonce: H64 | string | Uint8Array, @@ -549,7 +677,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { mixDigest: H256 | string | Uint8Array ) => Observable >; - /** Subscribe to Eth subscription. */ + /** + * Subscribe to Eth subscription. + **/ subscribe: AugmentedRpc< ( kind: @@ -563,25 +693,37 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { params?: EthSubParams | { None: any } | { Logs: any } | string | Uint8Array ) => Observable >; - /** Returns an object with data about the sync status or false. */ + /** + * Returns an object with data about the sync status or false. + **/ syncing: AugmentedRpc<() => Observable>; - /** Uninstalls filter. */ + /** + * Uninstalls filter. + **/ uninstallFilter: AugmentedRpc<(index: U256 | AnyNumber | Uint8Array) => Observable>; }; grandpa: { - /** Prove finality for the given block number, returning the Justification for the last block in the set. */ + /** + * Prove finality for the given block number, returning the Justification for the last block in the set. + **/ proveFinality: AugmentedRpc< ( blockNumber: BlockNumber | AnyNumber | Uint8Array ) => Observable> >; - /** Returns the state of the current best round state as well as the ongoing background rounds */ + /** + * Returns the state of the current best round state as well as the ongoing background rounds + **/ roundState: AugmentedRpc<() => Observable>; - /** Subscribes to grandpa justifications */ + /** + * Subscribes to grandpa justifications + **/ subscribeJustifications: AugmentedRpc<() => Observable>; }; mmr: { - /** Generate MMR proof for the given block numbers. */ + /** + * Generate MMR proof for the given block numbers. + **/ generateProof: AugmentedRpc< ( blockNumbers: Vec | (u64 | AnyNumber | Uint8Array)[], @@ -589,9 +731,13 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: BlockHash | string | Uint8Array ) => Observable >; - /** Get the MMR root hash for the current best block. */ + /** + * Get the MMR root hash for the current best block. + **/ root: AugmentedRpc<(at?: BlockHash | string | Uint8Array) => Observable>; - /** Verify an MMR proof */ + /** + * Verify an MMR proof + **/ verifyProof: AugmentedRpc< ( proof: @@ -601,7 +747,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { | Uint8Array ) => Observable >; - /** Verify an MMR proof statelessly given an mmr_root */ + /** + * Verify an MMR proof statelessly given an mmr_root + **/ verifyProofStateless: AugmentedRpc< ( root: MmrHash | string | Uint8Array, @@ -614,30 +762,46 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { >; }; moon: { - /** Returns the latest synced block from frontier's backend */ + /** + * Returns the latest synced block from frontier's backend + **/ getLatestSyncedBlock: AugmentedRpc<() => Observable>; - /** Returns whether an Ethereum block is finalized */ + /** + * Returns whether an Ethereum block is finalized + **/ isBlockFinalized: AugmentedRpc<(blockHash: Hash | string | Uint8Array) => Observable>; - /** Returns whether an Ethereum transaction is finalized */ + /** + * Returns whether an Ethereum transaction is finalized + **/ isTxFinalized: AugmentedRpc<(txHash: Hash | string | Uint8Array) => Observable>; }; net: { - /** Returns true if client is actively listening for network connections. Otherwise false. */ + /** + * Returns true if client is actively listening for network connections. Otherwise false. + **/ listening: AugmentedRpc<() => Observable>; - /** Returns number of peers connected to node. */ + /** + * Returns number of peers connected to node. + **/ peerCount: AugmentedRpc<() => Observable>; - /** Returns protocol version. */ + /** + * Returns protocol version. + **/ version: AugmentedRpc<() => Observable>; }; offchain: { - /** Get offchain local storage under given key and prefix */ + /** + * Get offchain local storage under given key and prefix + **/ localStorageGet: AugmentedRpc< ( kind: StorageKind | "PERSISTENT" | "LOCAL" | number | Uint8Array, key: Bytes | string | Uint8Array ) => Observable> >; - /** Set offchain local storage under given key and prefix */ + /** + * Set offchain local storage under given key and prefix + **/ localStorageSet: AugmentedRpc< ( kind: StorageKind | "PERSISTENT" | "LOCAL" | number | Uint8Array, @@ -648,9 +812,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { }; payment: { /** - * @deprecated Use `api.call.transactionPaymentApi.queryFeeDetails` instead Query the detailed - * fee of a given encoded extrinsic - */ + * @deprecated Use `api.call.transactionPaymentApi.queryFeeDetails` instead + * Query the detailed fee of a given encoded extrinsic + **/ queryFeeDetails: AugmentedRpc< ( extrinsic: Bytes | string | Uint8Array, @@ -658,9 +822,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { ) => Observable >; /** - * @deprecated Use `api.call.transactionPaymentApi.queryInfo` instead Retrieves the fee - * information for an encoded extrinsic - */ + * @deprecated Use `api.call.transactionPaymentApi.queryInfo` instead + * Retrieves the fee information for an encoded extrinsic + **/ queryInfo: AugmentedRpc< ( extrinsic: Bytes | string | Uint8Array, @@ -669,11 +833,15 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { >; }; rpc: { - /** Retrieves the list of RPC methods that are exposed by the node */ + /** + * Retrieves the list of RPC methods that are exposed by the node + **/ methods: AugmentedRpc<() => Observable>; }; state: { - /** Perform a call to a builtin on the chain */ + /** + * Perform a call to a builtin on the chain + **/ call: AugmentedRpc< ( method: Text | string, @@ -681,7 +849,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: BlockHash | string | Uint8Array ) => Observable >; - /** Retrieves the keys with prefix of a specific child storage */ + /** + * Retrieves the keys with prefix of a specific child storage + **/ getChildKeys: AugmentedRpc< ( childStorageKey: StorageKey | string | Uint8Array | any, @@ -691,7 +861,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: BlockHash | string | Uint8Array ) => Observable> >; - /** Returns proof of storage for child key entries at a specific block state. */ + /** + * Returns proof of storage for child key entries at a specific block state. + **/ getChildReadProof: AugmentedRpc< ( childStorageKey: PrefixedStorageKey | string | Uint8Array, @@ -699,7 +871,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: BlockHash | string | Uint8Array ) => Observable >; - /** Retrieves the child storage for a key */ + /** + * Retrieves the child storage for a key + **/ getChildStorage: AugmentedRpc< ( childStorageKey: StorageKey | string | Uint8Array | any, @@ -709,7 +883,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: BlockHash | string | Uint8Array ) => Observable >; - /** Retrieves the child storage hash */ + /** + * Retrieves the child storage hash + **/ getChildStorageHash: AugmentedRpc< ( childStorageKey: StorageKey | string | Uint8Array | any, @@ -719,7 +895,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: BlockHash | string | Uint8Array ) => Observable >; - /** Retrieves the child storage size */ + /** + * Retrieves the child storage size + **/ getChildStorageSize: AugmentedRpc< ( childStorageKey: StorageKey | string | Uint8Array | any, @@ -730,16 +908,18 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { ) => Observable >; /** - * @deprecated Use `api.rpc.state.getKeysPaged` to retrieve keys Retrieves the keys with a - * certain prefix - */ + * @deprecated Use `api.rpc.state.getKeysPaged` to retrieve keys + * Retrieves the keys with a certain prefix + **/ getKeys: AugmentedRpc< ( key: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array ) => Observable> >; - /** Returns the keys with prefix with pagination support. */ + /** + * Returns the keys with prefix with pagination support. + **/ getKeysPaged: AugmentedRpc< ( key: StorageKey | string | Uint8Array | any, @@ -748,51 +928,65 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: BlockHash | string | Uint8Array ) => Observable> >; - /** Returns the runtime metadata */ + /** + * Returns the runtime metadata + **/ getMetadata: AugmentedRpc<(at?: BlockHash | string | Uint8Array) => Observable>; /** - * @deprecated Use `api.rpc.state.getKeysPaged` to retrieve keys Returns the keys with prefix, - * leave empty to get all the keys (deprecated: Use getKeysPaged) - */ + * @deprecated Use `api.rpc.state.getKeysPaged` to retrieve keys + * Returns the keys with prefix, leave empty to get all the keys (deprecated: Use getKeysPaged) + **/ getPairs: AugmentedRpc< ( prefix: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array ) => Observable> >; - /** Returns proof of storage entries at a specific block state */ + /** + * Returns proof of storage entries at a specific block state + **/ getReadProof: AugmentedRpc< ( keys: Vec | (StorageKey | string | Uint8Array | any)[], at?: BlockHash | string | Uint8Array ) => Observable >; - /** Get the runtime version */ + /** + * Get the runtime version + **/ getRuntimeVersion: AugmentedRpc< (at?: BlockHash | string | Uint8Array) => Observable >; - /** Retrieves the storage for a key */ + /** + * Retrieves the storage for a key + **/ getStorage: AugmentedRpc< ( key: StorageKey | string | Uint8Array | any, block?: Hash | Uint8Array | string ) => Observable >; - /** Retrieves the storage hash */ + /** + * Retrieves the storage hash + **/ getStorageHash: AugmentedRpc< ( key: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array ) => Observable >; - /** Retrieves the storage size */ + /** + * Retrieves the storage size + **/ getStorageSize: AugmentedRpc< ( key: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array ) => Observable >; - /** Query historical storage entries (by key) starting from a start block */ + /** + * Query historical storage entries (by key) starting from a start block + **/ queryStorage: AugmentedRpc< ( keys: Vec | (StorageKey | string | Uint8Array | any)[], @@ -800,22 +994,30 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { toBlock?: Hash | Uint8Array | string ) => Observable<[Hash, T][]> >; - /** Query storage entries (by key) starting at block hash given as the second parameter */ + /** + * Query storage entries (by key) starting at block hash given as the second parameter + **/ queryStorageAt: AugmentedRpc< ( keys: Vec | (StorageKey | string | Uint8Array | any)[], at?: Hash | Uint8Array | string ) => Observable >; - /** Retrieves the runtime version via subscription */ + /** + * Retrieves the runtime version via subscription + **/ subscribeRuntimeVersion: AugmentedRpc<() => Observable>; - /** Subscribes to storage changes for the provided keys */ + /** + * Subscribes to storage changes for the provided keys + **/ subscribeStorage: AugmentedRpc< ( keys?: Vec | (StorageKey | string | Uint8Array | any)[] ) => Observable >; - /** Provides a way to trace the re-execution of a single block */ + /** + * Provides a way to trace the re-execution of a single block + **/ traceBlock: AugmentedRpc< ( block: Hash | string | Uint8Array, @@ -824,69 +1026,112 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { methods: Option | null | Uint8Array | Text | string ) => Observable >; - /** Check current migration state */ + /** + * Check current migration state + **/ trieMigrationStatus: AugmentedRpc< (at?: BlockHash | string | Uint8Array) => Observable >; }; syncstate: { - /** Returns the json-serialized chainspec running the node, with a sync state. */ + /** + * Returns the json-serialized chainspec running the node, with a sync state. + **/ genSyncSpec: AugmentedRpc<(raw: bool | boolean | Uint8Array) => Observable>; }; system: { - /** Retrieves the next accountIndex as available on the node */ + /** + * Retrieves the next accountIndex as available on the node + **/ accountNextIndex: AugmentedRpc< (accountId: AccountId | string | Uint8Array) => Observable >; - /** Adds the supplied directives to the current log filter */ + /** + * Adds the supplied directives to the current log filter + **/ addLogFilter: AugmentedRpc<(directives: Text | string) => Observable>; - /** Adds a reserved peer */ + /** + * Adds a reserved peer + **/ addReservedPeer: AugmentedRpc<(peer: Text | string) => Observable>; - /** Retrieves the chain */ + /** + * Retrieves the chain + **/ chain: AugmentedRpc<() => Observable>; - /** Retrieves the chain type */ + /** + * Retrieves the chain type + **/ chainType: AugmentedRpc<() => Observable>; - /** Dry run an extrinsic at a given block */ + /** + * Dry run an extrinsic at a given block + **/ dryRun: AugmentedRpc< ( extrinsic: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array ) => Observable >; - /** Return health status of the node */ + /** + * Return health status of the node + **/ health: AugmentedRpc<() => Observable>; /** - * The addresses include a trailing /p2p/ with the local PeerId, and are thus suitable to be - * passed to addReservedPeer or as a bootnode address for example - */ + * The addresses include a trailing /p2p/ with the local PeerId, and are thus suitable to be passed to addReservedPeer or as a bootnode address for example + **/ localListenAddresses: AugmentedRpc<() => Observable>>; - /** Returns the base58-encoded PeerId of the node */ + /** + * Returns the base58-encoded PeerId of the node + **/ localPeerId: AugmentedRpc<() => Observable>; - /** Retrieves the node name */ + /** + * Retrieves the node name + **/ name: AugmentedRpc<() => Observable>; - /** Returns current state of the network */ + /** + * Returns current state of the network + **/ networkState: AugmentedRpc<() => Observable>; - /** Returns the roles the node is running as */ + /** + * Returns the roles the node is running as + **/ nodeRoles: AugmentedRpc<() => Observable>>; - /** Returns the currently connected peers */ + /** + * Returns the currently connected peers + **/ peers: AugmentedRpc<() => Observable>>; - /** Get a custom set of properties as a JSON object, defined in the chain spec */ + /** + * Get a custom set of properties as a JSON object, defined in the chain spec + **/ properties: AugmentedRpc<() => Observable>; - /** Remove a reserved peer */ + /** + * Remove a reserved peer + **/ removeReservedPeer: AugmentedRpc<(peerId: Text | string) => Observable>; - /** Returns the list of reserved peers */ + /** + * Returns the list of reserved peers + **/ reservedPeers: AugmentedRpc<() => Observable>>; - /** Resets the log filter to Substrate defaults */ + /** + * Resets the log filter to Substrate defaults + **/ resetLogFilter: AugmentedRpc<() => Observable>; - /** Returns the state of the syncing of the node */ + /** + * Returns the state of the syncing of the node + **/ syncState: AugmentedRpc<() => Observable>; - /** Retrieves the version of the node */ + /** + * Retrieves the version of the node + **/ version: AugmentedRpc<() => Observable>; }; web3: { - /** Returns current client version. */ + /** + * Returns current client version. + **/ clientVersion: AugmentedRpc<() => Observable>; - /** Returns sha3 of the given data */ + /** + * Returns sha3 of the given data + **/ sha3: AugmentedRpc<(data: Bytes | string | Uint8Array) => Observable>; }; } // RpcInterface diff --git a/typescript-api/src/moonbeam/interfaces/augment-api-runtime.ts b/typescript-api/src/moonbeam/interfaces/augment-api-runtime.ts index 798d1db8cc..aacce6b598 100644 --- a/typescript-api/src/moonbeam/interfaces/augment-api-runtime.ts +++ b/typescript-api/src/moonbeam/interfaces/augment-api-runtime.ts @@ -17,7 +17,7 @@ import type { u128, u256, u32, - u64, + u64 } from "@polkadot/types-codec"; import type { AnyNumber, IMethod, ITuple } from "@polkadot/types-codec/types"; import type { CheckInherentsResult, InherentData } from "@polkadot/types/interfaces/blockbuilder"; @@ -26,13 +26,13 @@ import type { CollationInfo } from "@polkadot/types/interfaces/cumulus"; import type { CallDryRunEffects, XcmDryRunApiError, - XcmDryRunEffects, + XcmDryRunEffects } from "@polkadot/types/interfaces/dryRunApi"; import type { BlockV2, EthReceiptV3, EthTransactionStatus, - TransactionV2, + TransactionV2 } from "@polkadot/types/interfaces/eth"; import type { EvmAccount, EvmCallInfoV2, EvmCreateInfoV2 } from "@polkadot/types/interfaces/evm"; import type { Extrinsic } from "@polkadot/types/interfaces/extrinsics"; @@ -53,7 +53,7 @@ import type { Permill, RuntimeCall, Weight, - WeightV2, + WeightV2 } from "@polkadot/types/interfaces/runtime"; import type { RuntimeVersion } from "@polkadot/types/interfaces/state"; import type { ApplyExtrinsicResult, DispatchError } from "@polkadot/types/interfaces/system"; @@ -64,7 +64,7 @@ import type { Error } from "@polkadot/types/interfaces/xcmRuntimeApi"; import type { XcmVersionedAssetId, XcmVersionedLocation, - XcmVersionedXcm, + XcmVersionedXcm } from "@polkadot/types/lookup"; import type { IExtrinsic, Observable } from "@polkadot/types/types"; @@ -75,24 +75,32 @@ declare module "@polkadot/api-base/types/calls" { interface AugmentedCalls { /** 0xbc9d89904f5b923f/1 */ accountNonceApi: { - /** The API to query account nonce (aka transaction index) */ + /** + * The API to query account nonce (aka transaction index) + **/ accountNonce: AugmentedCall< ApiType, (accountId: AccountId | string | Uint8Array) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0x40fe3ad401f8959a/6 */ blockBuilder: { - /** Apply the given extrinsic. */ + /** + * Apply the given extrinsic. + **/ applyExtrinsic: AugmentedCall< ApiType, ( extrinsic: Extrinsic | IExtrinsic | string | Uint8Array ) => Observable >; - /** Check that the inherents are valid. */ + /** + * Check that the inherents are valid. + **/ checkInherents: AugmentedCall< ApiType, ( @@ -100,21 +108,29 @@ declare module "@polkadot/api-base/types/calls" { data: InherentData | { data?: any } | string | Uint8Array ) => Observable >; - /** Finish the current block. */ + /** + * Finish the current block. + **/ finalizeBlock: AugmentedCall Observable
>; - /** Generate inherent extrinsics. */ + /** + * Generate inherent extrinsics. + **/ inherentExtrinsics: AugmentedCall< ApiType, ( inherent: InherentData | { data?: any } | string | Uint8Array ) => Observable> >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0xea93e3f16f3d6962/2 */ collectCollationInfo: { - /** Collect information about a collation. */ + /** + * Collect information about a collation. + **/ collectCollationInfo: AugmentedCall< ApiType, ( @@ -131,12 +147,16 @@ declare module "@polkadot/api-base/types/calls" { | Uint8Array ) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0xe65b00e46cedd0aa/2 */ convertTransactionRuntimeApi: { - /** Converts an Ethereum-style transaction to Extrinsic */ + /** + * Converts an Ethereum-style transaction to Extrinsic + **/ convertTransaction: AugmentedCall< ApiType, ( @@ -149,19 +169,25 @@ declare module "@polkadot/api-base/types/calls" { | Uint8Array ) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0xdf6acb689907609b/5 */ core: { - /** Execute the given block. */ + /** + * Execute the given block. + **/ executeBlock: AugmentedCall< ApiType, ( block: Block | { header?: any; extrinsics?: any } | string | Uint8Array ) => Observable >; - /** Initialize a block with the given header. */ + /** + * Initialize a block with the given header. + **/ initializeBlock: AugmentedCall< ApiType, ( @@ -178,14 +204,20 @@ declare module "@polkadot/api-base/types/calls" { | Uint8Array ) => Observable >; - /** Returns the version of the runtime. */ + /** + * Returns the version of the runtime. + **/ version: AugmentedCall Observable>; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0x91b1c8b16328eb92/1 */ dryRunApi: { - /** Dry run call */ + /** + * Dry run call + **/ dryRunCall: AugmentedCall< ApiType, ( @@ -193,7 +225,9 @@ declare module "@polkadot/api-base/types/calls" { call: RuntimeCall | IMethod | string | Uint8Array ) => Observable> >; - /** Dry run XCM program */ + /** + * Dry run XCM program + **/ dryRunXcm: AugmentedCall< ApiType, ( @@ -217,24 +251,34 @@ declare module "@polkadot/api-base/types/calls" { | Uint8Array ) => Observable> >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0x582211f65bb14b89/5 */ ethereumRuntimeRPCApi: { - /** Returns pallet_evm::Accounts by address. */ + /** + * Returns pallet_evm::Accounts by address. + **/ accountBasic: AugmentedCall< ApiType, (address: H160 | string | Uint8Array) => Observable >; - /** For a given account address, returns pallet_evm::AccountCodes. */ + /** + * For a given account address, returns pallet_evm::AccountCodes. + **/ accountCodeAt: AugmentedCall< ApiType, (address: H160 | string | Uint8Array) => Observable >; - /** Returns the converted FindAuthor::find_author authority id. */ + /** + * Returns the converted FindAuthor::find_author authority id. + **/ author: AugmentedCall Observable>; - /** Returns a frame_ethereum::call response. If `estimate` is true, */ + /** + * Returns a frame_ethereum::call response. If `estimate` is true, + **/ call: AugmentedCall< ApiType, ( @@ -255,9 +299,13 @@ declare module "@polkadot/api-base/types/calls" { | [H160 | string | Uint8Array, Vec | (H256 | string | Uint8Array)[]][] ) => Observable> >; - /** Returns runtime defined pallet_evm::ChainId. */ + /** + * Returns runtime defined pallet_evm::ChainId. + **/ chainId: AugmentedCall Observable>; - /** Returns a frame_ethereum::call response. If `estimate` is true, */ + /** + * Returns a frame_ethereum::call response. If `estimate` is true, + **/ create: AugmentedCall< ApiType, ( @@ -277,34 +325,50 @@ declare module "@polkadot/api-base/types/calls" { | [H160 | string | Uint8Array, Vec | (H256 | string | Uint8Array)[]][] ) => Observable> >; - /** Return all the current data for a block in a single runtime call. */ + /** + * Return all the current data for a block in a single runtime call. + **/ currentAll: AugmentedCall< ApiType, () => Observable< ITuple<[Option, Option>, Option>]> > >; - /** Return the current block. */ + /** + * Return the current block. + **/ currentBlock: AugmentedCall Observable>; - /** Return the current receipt. */ + /** + * Return the current receipt. + **/ currentReceipts: AugmentedCall Observable>>>; - /** Return the current transaction status. */ + /** + * Return the current transaction status. + **/ currentTransactionStatuses: AugmentedCall< ApiType, () => Observable>> >; - /** Return the elasticity multiplier. */ + /** + * Return the elasticity multiplier. + **/ elasticity: AugmentedCall Observable>>; - /** Receives a `Vec` and filters all the ethereum transactions. */ + /** + * Receives a `Vec` and filters all the ethereum transactions. + **/ extrinsicFilter: AugmentedCall< ApiType, ( xts: Vec | (Extrinsic | IExtrinsic | string | Uint8Array)[] ) => Observable> >; - /** Returns FixedGasPrice::min_gas_price */ + /** + * Returns FixedGasPrice::min_gas_price + **/ gasPrice: AugmentedCall Observable>; - /** For a given account address and index, returns pallet_evm::AccountStorages. */ + /** + * For a given account address and index, returns pallet_evm::AccountStorages. + **/ storageAt: AugmentedCall< ApiType, ( @@ -312,24 +376,34 @@ declare module "@polkadot/api-base/types/calls" { index: u256 | AnyNumber | Uint8Array ) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0xfbc577b9d747efd6/1 */ genesisBuilder: { - /** Build `RuntimeGenesisConfig` from a JSON blob not using any defaults and store it in the storage. */ + /** + * Build `RuntimeGenesisConfig` from a JSON blob not using any defaults and store it in the storage. + **/ buildConfig: AugmentedCall< ApiType, (json: Bytes | string | Uint8Array) => Observable, GenesisBuildErr>> >; - /** Creates the default `RuntimeGenesisConfig` and returns it as a JSON blob. */ + /** + * Creates the default `RuntimeGenesisConfig` and returns it as a JSON blob. + **/ createDefaultConfig: AugmentedCall Observable>; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0x9ffb505aa738d69c/1 */ locationToAccountApi: { - /** Converts `Location` to `AccountId` */ + /** + * Converts `Location` to `AccountId` + **/ convertLocation: AugmentedCall< ApiType, ( @@ -342,26 +416,38 @@ declare module "@polkadot/api-base/types/calls" { | Uint8Array ) => Observable> >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0x37e397fc7c91f5e4/2 */ metadata: { - /** Returns the metadata of a runtime */ + /** + * Returns the metadata of a runtime + **/ metadata: AugmentedCall Observable>; - /** Returns the metadata at a given version. */ + /** + * Returns the metadata at a given version. + **/ metadataAtVersion: AugmentedCall< ApiType, (version: u32 | AnyNumber | Uint8Array) => Observable> >; - /** Returns the supported metadata versions. */ + /** + * Returns the supported metadata versions. + **/ metadataVersions: AugmentedCall Observable>>; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0x2aa62120049dd2d2/1 */ nimbusApi: { - /** The runtime api used to predict whether a Nimbus author will be eligible in the given slot */ + /** + * The runtime api used to predict whether a Nimbus author will be eligible in the given slot + **/ canAuthor: AugmentedCall< ApiType, ( @@ -380,12 +466,16 @@ declare module "@polkadot/api-base/types/calls" { | Uint8Array ) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0xf78b278be53f454c/2 */ offchainWorkerApi: { - /** Starts the off-chain task for given block header. */ + /** + * Starts the off-chain task for given block header. + **/ offchainWorker: AugmentedCall< ApiType, ( @@ -402,29 +492,39 @@ declare module "@polkadot/api-base/types/calls" { | Uint8Array ) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0xab3c0572291feb8b/1 */ sessionKeys: { - /** Decode the given public session keys. */ + /** + * Decode the given public session keys. + **/ decodeSessionKeys: AugmentedCall< ApiType, ( encoded: Bytes | string | Uint8Array ) => Observable>>> >; - /** Generate a set of session keys with optionally using the given seed. */ + /** + * Generate a set of session keys with optionally using the given seed. + **/ generateSessionKeys: AugmentedCall< ApiType, (seed: Option | null | Uint8Array | Bytes | string) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0xd2bc9897eed08f15/3 */ taggedTransactionQueue: { - /** Validate the transaction. */ + /** + * Validate the transaction. + **/ validateTransaction: AugmentedCall< ApiType, ( @@ -433,12 +533,16 @@ declare module "@polkadot/api-base/types/calls" { blockHash: BlockHash | string | Uint8Array ) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0x37c8bb1350a9a2a8/4 */ transactionPaymentApi: { - /** The transaction fee details */ + /** + * The transaction fee details + **/ queryFeeDetails: AugmentedCall< ApiType, ( @@ -446,7 +550,9 @@ declare module "@polkadot/api-base/types/calls" { len: u32 | AnyNumber | Uint8Array ) => Observable >; - /** The transaction info */ + /** + * The transaction info + **/ queryInfo: AugmentedCall< ApiType, ( @@ -454,30 +560,41 @@ declare module "@polkadot/api-base/types/calls" { len: u32 | AnyNumber | Uint8Array ) => Observable >; - /** Query the output of the current LengthToFee given some input */ + /** + * Query the output of the current LengthToFee given some input + **/ queryLengthToFee: AugmentedCall< ApiType, (length: u32 | AnyNumber | Uint8Array) => Observable >; - /** Query the output of the current WeightToFee given some input */ + /** + * Query the output of the current WeightToFee given some input + **/ queryWeightToFee: AugmentedCall< ApiType, ( weight: Weight | { refTime?: any; proofSize?: any } | string | Uint8Array ) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0x6ff52ee858e6c5bd/1 */ xcmPaymentApi: { - /** The API to query acceptable payment assets */ + /** + * The API to query acceptable payment assets + **/ queryAcceptablePaymentAssets: AugmentedCall< ApiType, ( version: u32 | AnyNumber | Uint8Array ) => Observable, XcmPaymentApiError>> >; + /** + * + **/ queryWeightToAssetFee: AugmentedCall< ApiType, ( @@ -485,13 +602,18 @@ declare module "@polkadot/api-base/types/calls" { asset: XcmVersionedAssetId | { V3: any } | { V4: any } | string | Uint8Array ) => Observable> >; + /** + * + **/ queryXcmWeight: AugmentedCall< ApiType, ( message: XcmVersionedXcm | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array ) => Observable> >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; } // AugmentedCalls diff --git a/typescript-api/src/moonbeam/interfaces/augment-api-tx.ts b/typescript-api/src/moonbeam/interfaces/augment-api-tx.ts index b72dcfa17c..c9bb67c19b 100644 --- a/typescript-api/src/moonbeam/interfaces/augment-api-tx.ts +++ b/typescript-api/src/moonbeam/interfaces/augment-api-tx.ts @@ -9,7 +9,7 @@ import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, - SubmittableExtrinsicFunction, + SubmittableExtrinsicFunction } from "@polkadot/api-base/types"; import type { Data } from "@polkadot/types"; import type { @@ -26,7 +26,7 @@ import type { u16, u32, u64, - u8, + u8 } from "@polkadot/types-codec"; import type { AnyNumber, IMethod, ITuple } from "@polkadot/types-codec/types"; import type { @@ -35,7 +35,7 @@ import type { H160, H256, Perbill, - Percent, + Percent } from "@polkadot/types/interfaces/runtime"; import type { AccountEthereumSignature, @@ -71,7 +71,7 @@ import type { XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, - XcmVersionedXcm, + XcmVersionedXcm } from "@polkadot/types/lookup"; export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>; @@ -83,9 +83,10 @@ declare module "@polkadot/api-base/types/submittable" { interface AugmentedSubmittables { assetManager: { /** - * Change the xcm type mapping for a given assetId We also change this if the previous units - * per second where pointing at the old assetType - */ + * Change the xcm type mapping for a given assetId + * We also change this if the previous units per second where pointing at the old + * assetType + **/ changeExistingAssetType: AugmentedSubmittable< ( assetId: u128 | AnyNumber | Uint8Array, @@ -95,9 +96,11 @@ declare module "@polkadot/api-base/types/submittable" { [u128, MoonbeamRuntimeXcmConfigAssetType, u32] >; /** - * Destroy a given foreign assetId The weight in this case is the one returned by the trait - * plus the db writes and reads from removing all the associated data - */ + * Destroy a given foreign assetId + * The weight in this case is the one returned by the trait + * plus the db writes and reads from removing all the associated + * data + **/ destroyForeignAsset: AugmentedSubmittable< ( assetId: u128 | AnyNumber | Uint8Array, @@ -105,7 +108,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u128, u32] >; - /** Register new asset with the asset manager */ + /** + * Register new asset with the asset manager + **/ registerForeignAsset: AugmentedSubmittable< ( asset: MoonbeamRuntimeXcmConfigAssetType | { Xcm: any } | string | Uint8Array, @@ -124,7 +129,9 @@ declare module "@polkadot/api-base/types/submittable" { bool ] >; - /** Remove a given assetId -> assetType association */ + /** + * Remove a given assetId -> assetType association + **/ removeExistingAssetType: AugmentedSubmittable< ( assetId: u128 | AnyNumber | Uint8Array, @@ -132,7 +139,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u128, u32] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; assets: { @@ -141,21 +150,23 @@ declare module "@polkadot/api-base/types/submittable" { * * Origin must be Signed. * - * Ensures that `ApprovalDeposit` worth of `Currency` is reserved from signing account for the - * purpose of holding the approval. If some non-zero amount of assets is already approved from - * signing account to `delegate`, then it is topped up or unreserved to meet the right value. + * Ensures that `ApprovalDeposit` worth of `Currency` is reserved from signing account + * for the purpose of holding the approval. If some non-zero amount of assets is already + * approved from signing account to `delegate`, then it is topped up or unreserved to + * meet the right value. * - * NOTE: The signing account does not need to own `amount` of assets at the point of making this call. + * NOTE: The signing account does not need to own `amount` of assets at the point of + * making this call. * * - `id`: The identifier of the asset. * - `delegate`: The account to delegate permission to transfer asset. - * - `amount`: The amount of asset that may be transferred by `delegate`. If there is already an - * approval in place, then this acts additively. + * - `amount`: The amount of asset that may be transferred by `delegate`. If there is + * already an approval in place, then this acts additively. * * Emits `ApprovedTransfer` on success. * * Weight: `O(1)` - */ + **/ approveTransfer: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -175,7 +186,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `Blocked`. * * Weight: `O(1)` - */ + **/ block: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -197,8 +208,9 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `Burned` with the actual amount burned. If this takes the balance to below the * minimum for the asset, then the amount burned is increased to take it to zero. * - * Weight: `O(1)` Modes: Post-existence of `who`; Pre & post Zombie-status of `who`. - */ + * Weight: `O(1)` + * Modes: Post-existence of `who`; Pre & post Zombie-status of `who`. + **/ burn: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -210,7 +222,8 @@ declare module "@polkadot/api-base/types/submittable" { /** * Cancel all of some asset approved for delegated transfer by a third-party account. * - * Origin must be Signed and there must be an approval in place between signer and `delegate`. + * Origin must be Signed and there must be an approval in place between signer and + * `delegate`. * * Unreserves any deposit previously reserved by `approve_transfer` for the approval. * @@ -220,7 +233,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `ApprovalCancelled` on success. * * Weight: `O(1)` - */ + **/ cancelApproval: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -240,7 +253,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `MetadataCleared`. * * Weight: `O(1)` - */ + **/ clearMetadata: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -255,18 +268,17 @@ declare module "@polkadot/api-base/types/submittable" { * Funds of sender are reserved by `AssetDeposit`. * * Parameters: - * - * - `id`: The identifier of the new asset. This must not be currently in use to identify an - * existing asset. If [`NextAssetId`] is set, then this must be equal to it. - * - `admin`: The admin of this class of assets. The admin is the initial address of each member - * of the asset class's admin team. - * - `min_balance`: The minimum balance of this new asset that any single account must have. If - * an account's balance is reduced below this, then it collapses to zero. + * - `id`: The identifier of the new asset. This must not be currently in use to identify + * an existing asset. If [`NextAssetId`] is set, then this must be equal to it. + * - `admin`: The admin of this class of assets. The admin is the initial address of each + * member of the asset class's admin team. + * - `min_balance`: The minimum balance of this new asset that any single account must + * have. If an account's balance is reduced below this, then it collapses to zero. * * Emits `Created` event when successful. * * Weight: `O(1)` - */ + **/ create: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -284,10 +296,11 @@ declare module "@polkadot/api-base/types/submittable" { * Due to weight restrictions, this function may need to be called multiple times to fully * destroy all accounts. It will destroy `RemoveItemsLimit` accounts at a time. * - * - `id`: The identifier of the asset to be destroyed. This must identify an existing asset. + * - `id`: The identifier of the asset to be destroyed. This must identify an existing + * asset. * * Each call emits the `Event::DestroyedAccounts` event. - */ + **/ destroyAccounts: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -301,10 +314,11 @@ declare module "@polkadot/api-base/types/submittable" { * Due to weight restrictions, this function may need to be called multiple times to fully * destroy all approvals. It will destroy `RemoveItemsLimit` approvals at a time. * - * - `id`: The identifier of the asset to be destroyed. This must identify an existing asset. + * - `id`: The identifier of the asset to be destroyed. This must identify an existing + * asset. * * Each call emits the `Event::DestroyedApprovals` event. - */ + **/ destroyApprovals: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -312,13 +326,15 @@ declare module "@polkadot/api-base/types/submittable" { /** * Complete destroying asset and unreserve currency. * - * `finish_destroy` should only be called after `start_destroy` has been called, and the asset - * is in a `Destroying` state. All accounts or approvals should be destroyed before hand. + * `finish_destroy` should only be called after `start_destroy` has been called, and the + * asset is in a `Destroying` state. All accounts or approvals should be destroyed before + * hand. * - * - `id`: The identifier of the asset to be destroyed. This must identify an existing asset. + * - `id`: The identifier of the asset to be destroyed. This must identify an existing + * asset. * * Each successful call emits the `Event::Destroyed` event. - */ + **/ finishDestroy: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -333,18 +349,20 @@ declare module "@polkadot/api-base/types/submittable" { * - `issuer`: The new Issuer of this asset. * - `admin`: The new Admin of this asset. * - `freezer`: The new Freezer of this asset. - * - `min_balance`: The minimum balance of this new asset that any single account must have. If - * an account's balance is reduced below this, then it collapses to zero. - * - `is_sufficient`: Whether a non-zero balance of this asset is deposit of sufficient value to - * account for the state bloat associated with its balance storage. If set to `true`, then - * non-zero balances may be stored without a `consumer` reference (and thus an ED in the - * Balances pallet or whatever else is used to control user-account state growth). - * - `is_frozen`: Whether this asset class is frozen except for permissioned/admin instructions. + * - `min_balance`: The minimum balance of this new asset that any single account must + * have. If an account's balance is reduced below this, then it collapses to zero. + * - `is_sufficient`: Whether a non-zero balance of this asset is deposit of sufficient + * value to account for the state bloat associated with its balance storage. If set to + * `true`, then non-zero balances may be stored without a `consumer` reference (and thus + * an ED in the Balances pallet or whatever else is used to control user-account state + * growth). + * - `is_frozen`: Whether this asset class is frozen except for permissioned/admin + * instructions. * * Emits `AssetStatusChanged` with the identity of the asset. * * Weight: `O(1)` - */ + **/ forceAssetStatus: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -370,8 +388,8 @@ declare module "@polkadot/api-base/types/submittable" { /** * Cancel all of some asset approved for delegated transfer by a third-party account. * - * Origin must be either ForceOrigin or Signed origin with the signer being the Admin account - * of the asset `id`. + * Origin must be either ForceOrigin or Signed origin with the signer being the Admin + * account of the asset `id`. * * Unreserves any deposit previously reserved by `approve_transfer` for the approval. * @@ -381,7 +399,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `ApprovalCancelled` on success. * * Weight: `O(1)` - */ + **/ forceCancelApproval: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -402,7 +420,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `MetadataCleared`. * * Weight: `O(1)` - */ + **/ forceClearMetadata: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -416,18 +434,18 @@ declare module "@polkadot/api-base/types/submittable" { * * Unlike `create`, no funds are reserved. * - * - `id`: The identifier of the new asset. This must not be currently in use to identify an - * existing asset. If [`NextAssetId`] is set, then this must be equal to it. - * - `owner`: The owner of this class of assets. The owner has full superuser permissions over - * this asset, but may later change and configure the permissions using `transfer_ownership` - * and `set_team`. - * - `min_balance`: The minimum balance of this new asset that any single account must have. If - * an account's balance is reduced below this, then it collapses to zero. + * - `id`: The identifier of the new asset. This must not be currently in use to identify + * an existing asset. If [`NextAssetId`] is set, then this must be equal to it. + * - `owner`: The owner of this class of assets. The owner has full superuser permissions + * over this asset, but may later change and configure the permissions using + * `transfer_ownership` and `set_team`. + * - `min_balance`: The minimum balance of this new asset that any single account must + * have. If an account's balance is reduced below this, then it collapses to zero. * * Emits `ForceCreated` event when successful. * * Weight: `O(1)` - */ + **/ forceCreate: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -452,7 +470,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `MetadataSet`. * * Weight: `O(N + S)` where N and S are the length of the name and symbol respectively. - */ + **/ forceSetMetadata: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -472,16 +490,18 @@ declare module "@polkadot/api-base/types/submittable" { * - `source`: The account to be debited. * - `dest`: The account to be credited. * - `amount`: The amount by which the `source`'s balance of assets should be reduced and - * `dest`'s balance increased. The amount actually transferred may be slightly greater in - * the case that the transfer would otherwise take the `source` balance above zero but below - * the minimum balance. Must be greater than zero. + * `dest`'s balance increased. The amount actually transferred may be slightly greater in + * the case that the transfer would otherwise take the `source` balance above zero but + * below the minimum balance. Must be greater than zero. * - * Emits `Transferred` with the actual amount transferred. If this takes the source balance to - * below the minimum for the asset, then the amount transferred is increased to take it to zero. + * Emits `Transferred` with the actual amount transferred. If this takes the source balance + * to below the minimum for the asset, then the amount transferred is increased to take it + * to zero. * - * Weight: `O(1)` Modes: Pre-existence of `dest`; Post-existence of `source`; Account - * pre-existence of `dest`. - */ + * Weight: `O(1)` + * Modes: Pre-existence of `dest`; Post-existence of `source`; Account pre-existence of + * `dest`. + **/ forceTransfer: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -492,9 +512,9 @@ declare module "@polkadot/api-base/types/submittable" { [Compact, AccountId20, AccountId20, Compact] >; /** - * Disallow further unprivileged transfers of an asset `id` from an account `who`. `who` must - * already exist as an entry in `Account`s of the asset. If you want to freeze an account that - * does not have an entry, use `touch_other` first. + * Disallow further unprivileged transfers of an asset `id` from an account `who`. `who` + * must already exist as an entry in `Account`s of the asset. If you want to freeze an + * account that does not have an entry, use `touch_other` first. * * Origin must be Signed and the sender should be the Freezer of the asset `id`. * @@ -504,7 +524,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `Frozen`. * * Weight: `O(1)` - */ + **/ freeze: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -522,7 +542,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `Frozen`. * * Weight: `O(1)` - */ + **/ freezeAsset: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -538,8 +558,9 @@ declare module "@polkadot/api-base/types/submittable" { * * Emits `Issued` event when successful. * - * Weight: `O(1)` Modes: Pre-existing balance of `beneficiary`; Account pre-existence of `beneficiary`. - */ + * Weight: `O(1)` + * Modes: Pre-existing balance of `beneficiary`; Account pre-existence of `beneficiary`. + **/ mint: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -549,15 +570,17 @@ declare module "@polkadot/api-base/types/submittable" { [Compact, AccountId20, Compact] >; /** - * Return the deposit (if any) of an asset account or a consumer reference (if any) of an account. + * Return the deposit (if any) of an asset account or a consumer reference (if any) of an + * account. * * The origin must be Signed. * - * - `id`: The identifier of the asset for which the caller would like the deposit refunded. + * - `id`: The identifier of the asset for which the caller would like the deposit + * refunded. * - `allow_burn`: If `true` then assets may be destroyed in order to complete the refund. * * Emits `Refunded` event when successful. - */ + **/ refund: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -576,7 +599,7 @@ declare module "@polkadot/api-base/types/submittable" { * - `who`: The account to refund. * * Emits `Refunded` event when successful. - */ + **/ refundOther: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -589,8 +612,9 @@ declare module "@polkadot/api-base/types/submittable" { * * Origin must be Signed and the sender should be the Owner of the asset `id`. * - * Funds of sender are reserved according to the formula: `MetadataDepositBase + - * MetadataDepositPerByte * (name.len + symbol.len)` taking into account any already reserved funds. + * Funds of sender are reserved according to the formula: + * `MetadataDepositBase + MetadataDepositPerByte * (name.len + symbol.len)` taking into + * account any already reserved funds. * * - `id`: The identifier of the asset to update. * - `name`: The user friendly name of this asset. Limited in length by `StringLimit`. @@ -600,7 +624,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `MetadataSet`. * * Weight: `O(1)` - */ + **/ setMetadata: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -613,16 +637,17 @@ declare module "@polkadot/api-base/types/submittable" { /** * Sets the minimum balance of an asset. * - * Only works if there aren't any accounts that are holding the asset or if the new value of - * `min_balance` is less than the old one. + * Only works if there aren't any accounts that are holding the asset or if + * the new value of `min_balance` is less than the old one. * - * Origin must be Signed and the sender has to be the Owner of the asset `id`. + * Origin must be Signed and the sender has to be the Owner of the + * asset `id`. * * - `id`: The identifier of the asset. * - `min_balance`: The new value of `min_balance`. * * Emits `AssetMinBalanceChanged` event when successful. - */ + **/ setMinBalance: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -643,7 +668,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `TeamChanged`. * * Weight: `O(1)` - */ + **/ setTeam: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -661,10 +686,11 @@ declare module "@polkadot/api-base/types/submittable" { * * The origin must conform to `ForceOrigin` or must be `Signed` by the asset's `owner`. * - * - `id`: The identifier of the asset to be destroyed. This must identify an existing asset. + * - `id`: The identifier of the asset to be destroyed. This must identify an existing + * asset. * * The asset class must be frozen before calling `start_destroy`. - */ + **/ startDestroy: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -680,7 +706,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `Thawed`. * * Weight: `O(1)` - */ + **/ thaw: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -698,7 +724,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `Thawed`. * * Weight: `O(1)` - */ + **/ thawAsset: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -708,11 +734,12 @@ declare module "@polkadot/api-base/types/submittable" { * * A deposit will be taken from the signer account. * - * - `origin`: Must be Signed; the signer account must have sufficient funds for a deposit to be taken. + * - `origin`: Must be Signed; the signer account must have sufficient funds for a deposit + * to be taken. * - `id`: The identifier of the asset for the account to be created. * * Emits `Touched` event when successful. - */ + **/ touch: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -722,13 +749,13 @@ declare module "@polkadot/api-base/types/submittable" { * * A deposit will be taken from the signer account. * - * - `origin`: Must be Signed by `Freezer` or `Admin` of the asset `id`; the signer account must - * have sufficient funds for a deposit to be taken. + * - `origin`: Must be Signed by `Freezer` or `Admin` of the asset `id`; the signer account + * must have sufficient funds for a deposit to be taken. * - `id`: The identifier of the asset for the account to be created. * - `who`: The account to be created. * * Emits `Touched` event when successful. - */ + **/ touchOther: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -744,16 +771,18 @@ declare module "@polkadot/api-base/types/submittable" { * - `id`: The identifier of the asset to have some amount transferred. * - `target`: The account to be credited. * - `amount`: The amount by which the sender's balance of assets should be reduced and - * `target`'s balance increased. The amount actually transferred may be slightly greater in - * the case that the transfer would otherwise take the sender balance above zero but below - * the minimum balance. Must be greater than zero. + * `target`'s balance increased. The amount actually transferred may be slightly greater in + * the case that the transfer would otherwise take the sender balance above zero but below + * the minimum balance. Must be greater than zero. * - * Emits `Transferred` with the actual amount transferred. If this takes the source balance to - * below the minimum for the asset, then the amount transferred is increased to take it to zero. + * Emits `Transferred` with the actual amount transferred. If this takes the source balance + * to below the minimum for the asset, then the amount transferred is increased to take it + * to zero. * - * Weight: `O(1)` Modes: Pre-existence of `target`; Post-existence of sender; Account - * pre-existence of `target`. - */ + * Weight: `O(1)` + * Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of + * `target`. + **/ transfer: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -763,23 +792,25 @@ declare module "@polkadot/api-base/types/submittable" { [Compact, AccountId20, Compact] >; /** - * Transfer some asset balance from a previously delegated account to some third-party account. + * Transfer some asset balance from a previously delegated account to some third-party + * account. * - * Origin must be Signed and there must be an approval in place by the `owner` to the signer. + * Origin must be Signed and there must be an approval in place by the `owner` to the + * signer. * * If the entire amount approved for transfer is transferred, then any deposit previously * reserved by `approve_transfer` is unreserved. * * - `id`: The identifier of the asset. - * - `owner`: The account which previously approved for a transfer of at least `amount` and from - * which the asset balance will be withdrawn. + * - `owner`: The account which previously approved for a transfer of at least `amount` and + * from which the asset balance will be withdrawn. * - `destination`: The account to which the asset balance of `amount` will be transferred. * - `amount`: The amount of assets to transfer. * * Emits `TransferredApproved` on success. * * Weight: `O(1)` - */ + **/ transferApproved: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -797,16 +828,18 @@ declare module "@polkadot/api-base/types/submittable" { * - `id`: The identifier of the asset to have some amount transferred. * - `target`: The account to be credited. * - `amount`: The amount by which the sender's balance of assets should be reduced and - * `target`'s balance increased. The amount actually transferred may be slightly greater in - * the case that the transfer would otherwise take the sender balance above zero but below - * the minimum balance. Must be greater than zero. + * `target`'s balance increased. The amount actually transferred may be slightly greater in + * the case that the transfer would otherwise take the sender balance above zero but below + * the minimum balance. Must be greater than zero. * - * Emits `Transferred` with the actual amount transferred. If this takes the source balance to - * below the minimum for the asset, then the amount transferred is increased to take it to zero. + * Emits `Transferred` with the actual amount transferred. If this takes the source balance + * to below the minimum for the asset, then the amount transferred is increased to take it + * to zero. * - * Weight: `O(1)` Modes: Pre-existence of `target`; Post-existence of sender; Account - * pre-existence of `target`. - */ + * Weight: `O(1)` + * Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of + * `target`. + **/ transferKeepAlive: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -826,7 +859,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `OwnerChanged`. * * Weight: `O(1)` - */ + **/ transferOwnership: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -834,34 +867,42 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; authorFilter: { - /** Update the eligible count. Intended to be called by governance. */ + /** + * Update the eligible count. Intended to be called by governance. + **/ setEligible: AugmentedSubmittable< (updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; authorInherent: { /** - * This inherent is a workaround to run code after the "real" inherents have executed, but - * before transactions are executed. - */ + * This inherent is a workaround to run code after the "real" inherents have executed, + * but before transactions are executed. + **/ kickOffAuthorshipValidation: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; authorMapping: { /** * Register your NimbusId onchain so blocks you author are associated with your account. * - * Users who have been (or will soon be) elected active collators in staking, should submit - * this extrinsic to have their blocks accepted and earn rewards. - */ + * Users who have been (or will soon be) elected active collators in staking, + * should submit this extrinsic to have their blocks accepted and earn rewards. + **/ addAssociation: AugmentedSubmittable< ( nimbusId: NimbusPrimitivesNimbusCryptoPublic | string | Uint8Array @@ -871,8 +912,9 @@ declare module "@polkadot/api-base/types/submittable" { /** * Clear your Mapping. * - * This is useful when you are no longer an author and would like to re-claim your security deposit. - */ + * This is useful when you are no longer an author and would like to re-claim your security + * deposit. + **/ clearAssociation: AugmentedSubmittable< ( nimbusId: NimbusPrimitivesNimbusCryptoPublic | string | Uint8Array @@ -882,16 +924,17 @@ declare module "@polkadot/api-base/types/submittable" { /** * Remove your Mapping. * - * This is useful when you are no longer an author and would like to re-claim your security deposit. - */ + * This is useful when you are no longer an author and would like to re-claim your security + * deposit. + **/ removeKeys: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * Set association and session keys at once. * - * This is useful for key rotation to update Nimbus and VRF keys in one call. No new security - * deposit is required. Will replace `update_association` which is kept now for backwards - * compatibility reasons. - */ + * This is useful for key rotation to update Nimbus and VRF keys in one call. + * No new security deposit is required. Will replace `update_association` which is kept + * now for backwards compatibility reasons. + **/ setKeys: AugmentedSubmittable< (keys: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] @@ -900,9 +943,9 @@ declare module "@polkadot/api-base/types/submittable" { * Change your Mapping. * * This is useful for normal key rotation or for when switching from one physical collator - * machine to another. No new security deposit is required. This sets keys to - * new_nimbus_id.into() by default. - */ + * machine to another. No new security deposit is required. + * This sets keys to new_nimbus_id.into() by default. + **/ updateAssociation: AugmentedSubmittable< ( oldNimbusId: NimbusPrimitivesNimbusCryptoPublic | string | Uint8Array, @@ -910,19 +953,21 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [NimbusPrimitivesNimbusCryptoPublic, NimbusPrimitivesNimbusCryptoPublic] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; balances: { /** * Burn the specified liquid free balance from the origin account. * - * If the origin's account ends up below the existential deposit as a result of the burn and - * `keep_alive` is false, the account will be reaped. + * If the origin's account ends up below the existential deposit as a result + * of the burn and `keep_alive` is false, the account will be reaped. * - * Unlike sending funds to a _burn_ address, which merely makes the funds inaccessible, this - * `burn` operation will reduce total issuance by the amount _burned_. - */ + * Unlike sending funds to a _burn_ address, which merely makes the funds inaccessible, + * this `burn` operation will reduce total issuance by the amount _burned_. + **/ burn: AugmentedSubmittable< ( value: Compact | AnyNumber | Uint8Array, @@ -936,7 +981,7 @@ declare module "@polkadot/api-base/types/submittable" { * Can only be called by root and always needs a positive `delta`. * * # Example - */ + **/ forceAdjustTotalIssuance: AugmentedSubmittable< ( direction: @@ -953,7 +998,7 @@ declare module "@polkadot/api-base/types/submittable" { * Set the regular balance of a given account. * * The dispatch origin for this call is `root`. - */ + **/ forceSetBalance: AugmentedSubmittable< ( who: AccountId20 | string | Uint8Array, @@ -964,7 +1009,7 @@ declare module "@polkadot/api-base/types/submittable" { /** * Exactly as `transfer_allow_death`, except the origin must be root and the source account * may be specified. - */ + **/ forceTransfer: AugmentedSubmittable< ( source: AccountId20 | string | Uint8Array, @@ -977,7 +1022,7 @@ declare module "@polkadot/api-base/types/submittable" { * Unreserve some balance from a user by force. * * Can only be called by ROOT. - */ + **/ forceUnreserve: AugmentedSubmittable< ( who: AccountId20 | string | Uint8Array, @@ -988,19 +1033,20 @@ declare module "@polkadot/api-base/types/submittable" { /** * Transfer the entire transferable balance from the caller account. * - * NOTE: This function only attempts to transfer _transferable_ balances. This means that any - * locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be - * transferred by this function. To ensure that this function results in a killed account, you - * might need to prepare the account by removing any reference counters, storage deposits, etc... + * NOTE: This function only attempts to transfer _transferable_ balances. This means that + * any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be + * transferred by this function. To ensure that this function results in a killed account, + * you might need to prepare the account by removing any reference counters, storage + * deposits, etc... * * The dispatch origin of this call must be Signed. * * - `dest`: The recipient of the transfer. - * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all of the - * funds the account has, causing the sender account to be killed (false), or transfer - * everything except at least the existential deposit, which will guarantee to keep the - * sender account alive (true). - */ + * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all + * of the funds the account has, causing the sender account to be killed (false), or + * transfer everything except at least the existential deposit, which will guarantee to + * keep the sender account alive (true). + **/ transferAll: AugmentedSubmittable< ( dest: AccountId20 | string | Uint8Array, @@ -1011,12 +1057,12 @@ declare module "@polkadot/api-base/types/submittable" { /** * Transfer some liquid free balance to another account. * - * `transfer_allow_death` will set the `FreeBalance` of the sender and receiver. If the - * sender's account is below the existential deposit as a result of the transfer, the account - * will be reaped. + * `transfer_allow_death` will set the `FreeBalance` of the sender and receiver. + * If the sender's account is below the existential deposit as a result + * of the transfer, the account will be reaped. * * The dispatch origin for this call must be `Signed` by the transactor. - */ + **/ transferAllowDeath: AugmentedSubmittable< ( dest: AccountId20 | string | Uint8Array, @@ -1025,13 +1071,13 @@ declare module "@polkadot/api-base/types/submittable" { [AccountId20, Compact] >; /** - * Same as the [`transfer_allow_death`][`transfer_allow_death`] call, but with a check that - * the transfer will not kill the origin account. + * Same as the [`transfer_allow_death`] call, but with a check that the transfer will not + * kill the origin account. * - * 99% of the time you want [`transfer_allow_death`][`transfer_allow_death`] instead. + * 99% of the time you want [`transfer_allow_death`] instead. * * [`transfer_allow_death`]: struct.Pallet.html#method.transfer - */ + **/ transferKeepAlive: AugmentedSubmittable< ( dest: AccountId20 | string | Uint8Array, @@ -1045,16 +1091,19 @@ declare module "@polkadot/api-base/types/submittable" { * - `origin`: Must be `Signed`. * - `who`: The account to be upgraded. * - * This will waive the transaction fee if at least all but 10% of the accounts needed to be - * upgraded. (We let some not have to be upgraded just in order to allow for the possibility of churn). - */ + * This will waive the transaction fee if at least all but 10% of the accounts needed to + * be upgraded. (We let some not have to be upgraded just in order to allow for the + * possibility of churn). + **/ upgradeAccounts: AugmentedSubmittable< ( who: Vec | (AccountId20 | string | Uint8Array)[] ) => SubmittableExtrinsic, [Vec] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; convictionVoting: { @@ -1062,26 +1111,27 @@ declare module "@polkadot/api-base/types/submittable" { * Delegate the voting power (with some given conviction) of the sending account for a * particular class of polls. * - * The balance delegated is locked for as long as it's delegated, and thereafter for the time - * appropriate for the conviction's lock period. + * The balance delegated is locked for as long as it's delegated, and thereafter for the + * time appropriate for the conviction's lock period. * * The dispatch origin of this call must be _Signed_, and the signing account must either: + * - be delegating already; or + * - have no voting activity (if there is, then it will need to be removed through + * `remove_vote`). * - * - Be delegating already; or - * - Have no voting activity (if there is, then it will need to be removed through `remove_vote`). * - `to`: The account whose voting the `target` account's voting power will follow. - * - `class`: The class of polls to delegate. To delegate multiple classes, multiple calls to - * this function are required. - * - `conviction`: The conviction that will be attached to the delegated votes. When the account - * is undelegated, the funds will be locked for the corresponding period. - * - `balance`: The amount of the account's balance to be used in delegating. This must not be - * more than the account's current balance. + * - `class`: The class of polls to delegate. To delegate multiple classes, multiple calls + * to this function are required. + * - `conviction`: The conviction that will be attached to the delegated votes. When the + * account is undelegated, the funds will be locked for the corresponding period. + * - `balance`: The amount of the account's balance to be used in delegating. This must not + * be more than the account's current balance. * * Emits `Delegated`. * - * Weight: `O(R)` where R is the number of polls the voter delegating to has voted on. Weight - * is initially charged as if maximum votes, but is refunded later. - */ + * Weight: `O(R)` where R is the number of polls the voter delegating to has + * voted on. Weight is initially charged as if maximum votes, but is refunded later. + **/ delegate: AugmentedSubmittable< ( clazz: u16 | AnyNumber | Uint8Array, @@ -1105,18 +1155,20 @@ declare module "@polkadot/api-base/types/submittable" { * Remove a vote for a poll. * * If the `target` is equal to the signer, then this function is exactly equivalent to - * `remove_vote`. If not equal to the signer, then the vote must have expired, either because - * the poll was cancelled, because the voter lost the poll or because the conviction period is over. + * `remove_vote`. If not equal to the signer, then the vote must have expired, + * either because the poll was cancelled, because the voter lost the poll or + * because the conviction period is over. * * The dispatch origin of this call must be _Signed_. * - * - `target`: The account of the vote to be removed; this account must have voted for poll `index`. + * - `target`: The account of the vote to be removed; this account must have voted for poll + * `index`. * - `index`: The index of poll of the vote to be removed. * - `class`: The class of the poll. * - * Weight: `O(R + log R)` where R is the number of polls that `target` has voted on. Weight is - * calculated for the maximum number of vote. - */ + * Weight: `O(R + log R)` where R is the number of polls that `target` has voted on. + * Weight is calculated for the maximum number of vote. + **/ removeOtherVote: AugmentedSubmittable< ( target: AccountId20 | string | Uint8Array, @@ -1129,33 +1181,33 @@ declare module "@polkadot/api-base/types/submittable" { * Remove a vote for a poll. * * If: - * - * - The poll was cancelled, or - * - The poll is ongoing, or - * - The poll has ended such that - * - The vote of the account was in opposition to the result; or - * - There was no conviction to the account's vote; or - * - The account made a split vote ...then the vote is removed cleanly and a following call to - * `unlock` may result in more funds being available. + * - the poll was cancelled, or + * - the poll is ongoing, or + * - the poll has ended such that + * - the vote of the account was in opposition to the result; or + * - there was no conviction to the account's vote; or + * - the account made a split vote + * ...then the vote is removed cleanly and a following call to `unlock` may result in more + * funds being available. * * If, however, the poll has ended and: - * - * - It finished corresponding to the vote of the account, and - * - The account made a standard vote with conviction, and - * - The lock period of the conviction is not over ...then the lock will be aggregated into the - * overall account's lock, which may involve _overlocking_ (where the two locks are combined - * into a single lock that is the maximum of both the amount locked and the time is it locked for). + * - it finished corresponding to the vote of the account, and + * - the account made a standard vote with conviction, and + * - the lock period of the conviction is not over + * ...then the lock will be aggregated into the overall account's lock, which may involve + * *overlocking* (where the two locks are combined into a single lock that is the maximum + * of both the amount locked and the time is it locked for). * * The dispatch origin of this call must be _Signed_, and the signer must have a vote * registered for poll `index`. * * - `index`: The index of poll of the vote to be removed. - * - `class`: Optional parameter, if given it indicates the class of the poll. For polls which - * have finished or are cancelled, this must be `Some`. + * - `class`: Optional parameter, if given it indicates the class of the poll. For polls + * which have finished or are cancelled, this must be `Some`. * - * Weight: `O(R + log R)` where R is the number of polls that `target` has voted on. Weight is - * calculated for the maximum number of vote. - */ + * Weight: `O(R + log R)` where R is the number of polls that `target` has voted on. + * Weight is calculated for the maximum number of vote. + **/ removeVote: AugmentedSubmittable< ( clazz: Option | null | Uint8Array | u16 | AnyNumber, @@ -1166,25 +1218,26 @@ declare module "@polkadot/api-base/types/submittable" { /** * Undelegate the voting power of the sending account for a particular class of polls. * - * Tokens may be unlocked following once an amount of time consistent with the lock period of - * the conviction with which the delegation was issued has passed. + * Tokens may be unlocked following once an amount of time consistent with the lock period + * of the conviction with which the delegation was issued has passed. * - * The dispatch origin of this call must be _Signed_ and the signing account must be currently - * delegating. + * The dispatch origin of this call must be _Signed_ and the signing account must be + * currently delegating. * * - `class`: The class of polls to remove the delegation from. * * Emits `Undelegated`. * - * Weight: `O(R)` where R is the number of polls the voter delegating to has voted on. Weight - * is initially charged as if maximum votes, but is refunded later. - */ + * Weight: `O(R)` where R is the number of polls the voter delegating to has + * voted on. Weight is initially charged as if maximum votes, but is refunded later. + **/ undelegate: AugmentedSubmittable< (clazz: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u16] >; /** - * Remove the lock caused by prior voting/delegating which has expired within a particular class. + * Remove the lock caused by prior voting/delegating which has expired within a particular + * class. * * The dispatch origin of this call must be _Signed_. * @@ -1192,7 +1245,7 @@ declare module "@polkadot/api-base/types/submittable" { * - `target`: The account to remove the lock on. * * Weight: `O(R)` with R number of vote of target. - */ + **/ unlock: AugmentedSubmittable< ( clazz: u16 | AnyNumber | Uint8Array, @@ -1201,8 +1254,8 @@ declare module "@polkadot/api-base/types/submittable" { [u16, AccountId20] >; /** - * Vote in a poll. If `vote.is_aye()`, the vote is to enact the proposal; otherwise it is a - * vote to keep the status quo. + * Vote in a poll. If `vote.is_aye()`, the vote is to enact the proposal; + * otherwise it is a vote to keep the status quo. * * The dispatch origin of this call must be _Signed_. * @@ -1210,7 +1263,7 @@ declare module "@polkadot/api-base/types/submittable" { * - `vote`: The vote configuration. * * Weight: `O(R)` where R is the number of polls the voter has voted on. - */ + **/ vote: AugmentedSubmittable< ( pollIndex: Compact | AnyNumber | Uint8Array, @@ -1224,16 +1277,19 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, PalletConvictionVotingVoteAccountVote] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; crowdloanRewards: { /** * Associate a native rewards_destination identity with a crowdloan contribution. * - * The caller needs to provide the unassociated relay account and a proof to succeed with the - * association The proof is nothing but a signature over the reward_address using the relay keys - */ + * The caller needs to provide the unassociated relay account and a proof to succeed + * with the association + * The proof is nothing but a signature over the reward_address using the relay keys + **/ associateNativeIdentity: AugmentedSubmittable< ( rewardAccount: AccountId20 | string | Uint8Array, @@ -1251,10 +1307,10 @@ declare module "@polkadot/api-base/types/submittable" { /** * Change reward account by submitting proofs from relay accounts * - * The number of valid proofs needs to be bigger than 'RewardAddressRelayVoteThreshold' The - * account to be changed needs to be submitted as 'previous_account' Origin must be - * RewardAddressChangeOrigin - */ + * The number of valid proofs needs to be bigger than 'RewardAddressRelayVoteThreshold' + * The account to be changed needs to be submitted as 'previous_account' + * Origin must be RewardAddressChangeOrigin + **/ changeAssociationWithRelayKeys: AugmentedSubmittable< ( rewardAccount: AccountId20 | string | Uint8Array, @@ -1275,22 +1331,25 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, AccountId20, Vec>] >; - /** Collect whatever portion of your reward are currently vested. */ + /** + * Collect whatever portion of your reward are currently vested. + **/ claim: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * This extrinsic completes the initialization if some checks are fullfiled. These checks are: - * -The reward contribution money matches the crowdloan pot -The end vesting block is higher - * than the init vesting block -The initialization has not complete yet - */ + * -The reward contribution money matches the crowdloan pot + * -The end vesting block is higher than the init vesting block + * -The initialization has not complete yet + **/ completeInitialization: AugmentedSubmittable< (leaseEndingBlock: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; /** - * Initialize the reward distribution storage. It shortcuts whenever an error is found This - * does not enforce any checks other than making sure we dont go over funds + * Initialize the reward distribution storage. It shortcuts whenever an error is found + * This does not enforce any checks other than making sure we dont go over funds * complete_initialization should perform any additional - */ + **/ initializeRewardVec: AugmentedSubmittable< ( rewards: @@ -1303,27 +1362,39 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Vec, u128]>>] >; - /** Update reward address, proving that the caller owns the current native key */ + /** + * Update reward address, proving that the caller owns the current native key + **/ updateRewardAddress: AugmentedSubmittable< (newRewardAccount: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; emergencyParaXcm: { - /** Authorize a runtime upgrade. Only callable in `Paused` mode */ + /** + * Authorize a runtime upgrade. Only callable in `Paused` mode + **/ fastAuthorizeUpgrade: AugmentedSubmittable< (codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] >; - /** Resume `Normal` mode */ + /** + * Resume `Normal` mode + **/ pausedToNormal: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; ethereum: { - /** Transact an Ethereum transaction. */ + /** + * Transact an Ethereum transaction. + **/ transact: AugmentedSubmittable< ( transaction: @@ -1336,15 +1407,17 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [EthereumTransactionTransactionV2] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; ethereumXcm: { /** * Xcm Transact an Ethereum transaction, but allow to force the caller and create address. - * This call should be restricted (callable only by the runtime or governance). Weight: Gas - * limit plus the db reads involving the suspension and proxy checks - */ + * This call should be restricted (callable only by the runtime or governance). + * Weight: Gas limit plus the db reads involving the suspension and proxy checks + **/ forceTransactAs: AugmentedSubmittable< ( transactAs: H160 | string | Uint8Array, @@ -1362,18 +1435,18 @@ declare module "@polkadot/api-base/types/submittable" { * Resumes all Ethereum executions from XCM. * * - `origin`: Must pass `ControllerOrigin`. - */ + **/ resumeEthereumXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * Suspends all Ethereum executions from XCM. * * - `origin`: Must pass `ControllerOrigin`. - */ + **/ suspendEthereumXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** - * Xcm Transact an Ethereum transaction. Weight: Gas limit plus the db read involving the - * suspension check - */ + * Xcm Transact an Ethereum transaction. + * Weight: Gas limit plus the db read involving the suspension check + **/ transact: AugmentedSubmittable< ( xcmTransaction: @@ -1386,9 +1459,9 @@ declare module "@polkadot/api-base/types/submittable" { [XcmPrimitivesEthereumXcmEthereumXcmTransaction] >; /** - * Xcm Transact an Ethereum transaction through proxy. Weight: Gas limit plus the db reads - * involving the suspension and proxy checks - */ + * Xcm Transact an Ethereum transaction through proxy. + * Weight: Gas limit plus the db reads involving the suspension and proxy checks + **/ transactThroughProxy: AugmentedSubmittable< ( transactAs: H160 | string | Uint8Array, @@ -1401,11 +1474,15 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [H160, XcmPrimitivesEthereumXcmEthereumXcmTransaction] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; evm: { - /** Issue an EVM call operation. This is similar to a message call transaction in Ethereum. */ + /** + * Issue an EVM call operation. This is similar to a message call transaction in Ethereum. + **/ call: AugmentedSubmittable< ( source: H160 | string | Uint8Array, @@ -1432,7 +1509,10 @@ declare module "@polkadot/api-base/types/submittable" { Vec]>> ] >; - /** Issue an EVM create operation. This is similar to a contract creation transaction in Ethereum. */ + /** + * Issue an EVM create operation. This is similar to a contract creation transaction in + * Ethereum. + **/ create: AugmentedSubmittable< ( source: H160 | string | Uint8Array, @@ -1448,7 +1528,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [H160, Bytes, U256, u64, U256, Option, Option, Vec]>>] >; - /** Issue an EVM create2 operation. */ + /** + * Issue an EVM create2 operation. + **/ create2: AugmentedSubmittable< ( source: H160 | string | Uint8Array, @@ -1475,7 +1557,9 @@ declare module "@polkadot/api-base/types/submittable" { Vec]>> ] >; - /** Withdraw balance from EVM into currency/balances pallet. */ + /** + * Withdraw balance from EVM into currency/balances pallet. + **/ withdraw: AugmentedSubmittable< ( address: H160 | string | Uint8Array, @@ -1483,14 +1567,17 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [H160, u128] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; evmForeignAssets: { /** - * Change the xcm type mapping for a given assetId We also change this if the previous units - * per second where pointing at the old assetType - */ + * Change the xcm type mapping for a given assetId + * We also change this if the previous units per second where pointing at the old + * assetType + **/ changeXcmLocation: AugmentedSubmittable< ( assetId: u128 | AnyNumber | Uint8Array, @@ -1502,7 +1589,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u128, StagingXcmV4Location] >; - /** Create new asset with the ForeignAssetCreator */ + /** + * Create new asset with the ForeignAssetCreator + **/ createForeignAsset: AugmentedSubmittable< ( assetId: u128 | AnyNumber | Uint8Array, @@ -1517,7 +1606,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u128, StagingXcmV4Location, u8, Bytes, Bytes] >; - /** Freeze a given foreign assetId */ + /** + * Freeze a given foreign assetId + **/ freezeForeignAsset: AugmentedSubmittable< ( assetId: u128 | AnyNumber | Uint8Array, @@ -1525,19 +1616,23 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u128, bool] >; - /** Unfreeze a given foreign assetId */ + /** + * Unfreeze a given foreign assetId + **/ unfreezeForeignAsset: AugmentedSubmittable< (assetId: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u128] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; identity: { /** * Accept a given username that an `authority` granted. The call must include the full * username, as in `username.suffix`. - */ + **/ acceptUsername: AugmentedSubmittable< (username: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] @@ -1550,7 +1645,7 @@ declare module "@polkadot/api-base/types/submittable" { * - `account`: the account of the registrar. * * Emits `RegistrarAdded` if successful. - */ + **/ addRegistrar: AugmentedSubmittable< (account: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] @@ -1558,12 +1653,12 @@ declare module "@polkadot/api-base/types/submittable" { /** * Add the given account to the sender's subs. * - * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated to - * the sender. + * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated + * to the sender. * * The dispatch origin for this call must be _Signed_ and the sender must have a registered * sub identity of `sub`. - */ + **/ addSub: AugmentedSubmittable< ( sub: AccountId20 | string | Uint8Array, @@ -1585,7 +1680,7 @@ declare module "@polkadot/api-base/types/submittable" { * * The authority can grant up to `allocation` usernames. To top up their allocation, they * should just issue (or request via governance) a new `add_username_authority` call. - */ + **/ addUsernameAuthority: AugmentedSubmittable< ( authority: AccountId20 | string | Uint8Array, @@ -1599,12 +1694,13 @@ declare module "@polkadot/api-base/types/submittable" { * * Payment: A previously reserved deposit is returned on success. * - * The dispatch origin for this call must be _Signed_ and the sender must have a registered identity. + * The dispatch origin for this call must be _Signed_ and the sender must have a + * registered identity. * * - `reg_index`: The index of the registrar whose judgement is no longer requested. * * Emits `JudgementUnrequested` if successful. - */ + **/ cancelRequest: AugmentedSubmittable< (regIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -1614,25 +1710,26 @@ declare module "@polkadot/api-base/types/submittable" { * * Payment: All reserved balances on the account are returned. * - * The dispatch origin for this call must be _Signed_ and the sender must have a registered identity. + * The dispatch origin for this call must be _Signed_ and the sender must have a registered + * identity. * * Emits `IdentityCleared` if successful. - */ + **/ clearIdentity: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * Remove an account's identity and sub-account information and slash the deposits. * * Payment: Reserved balances from `set_subs` and `set_identity` are slashed and handled by - * `Slash`. Verification request deposits are not returned; they should be cancelled manually - * using `cancel_request`. + * `Slash`. Verification request deposits are not returned; they should be cancelled + * manually using `cancel_request`. * * The dispatch origin for this call must match `T::ForceOrigin`. * - * - `target`: the account whose identity the judgement is upon. This must be an account with a - * registered identity. + * - `target`: the account whose identity the judgement is upon. This must be an account + * with a registered identity. * * Emits `IdentityKilled` if successful. - */ + **/ killIdentity: AugmentedSubmittable< (target: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] @@ -1640,19 +1737,20 @@ declare module "@polkadot/api-base/types/submittable" { /** * Provide a judgement for an account's identity. * - * The dispatch origin for this call must be _Signed_ and the sender must be the account of - * the registrar whose index is `reg_index`. + * The dispatch origin for this call must be _Signed_ and the sender must be the account + * of the registrar whose index is `reg_index`. * * - `reg_index`: the index of the registrar whose judgement is being made. - * - `target`: the account whose identity the judgement is upon. This must be an account with a - * registered identity. + * - `target`: the account whose identity the judgement is upon. This must be an account + * with a registered identity. * - `judgement`: the judgement of the registrar of index `reg_index` about `target`. - * - `identity`: The hash of the [`IdentityInformationProvider`] for that the judgement is provided. + * - `identity`: The hash of the [`IdentityInformationProvider`] for that the judgement is + * provided. * * Note: Judgements do not apply to a username. * * Emits `JudgementGiven` if successful. - */ + **/ provideJudgement: AugmentedSubmittable< ( regIndex: Compact | AnyNumber | Uint8Array, @@ -1675,29 +1773,29 @@ declare module "@polkadot/api-base/types/submittable" { /** * Remove the sender as a sub-account. * - * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated to - * the sender (_not_ the original depositor). + * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated + * to the sender (*not* the original depositor). * * The dispatch origin for this call must be _Signed_ and the sender must have a registered * super-identity. * * NOTE: This should not normally be used, but is provided in the case that the non- * controller of an account is maliciously registered as a sub-account. - */ + **/ quitSub: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** - * Remove a username that corresponds to an account with no identity. Exists when a user gets - * a username but then calls `clear_identity`. - */ + * Remove a username that corresponds to an account with no identity. Exists when a user + * gets a username but then calls `clear_identity`. + **/ removeDanglingUsername: AugmentedSubmittable< (username: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; /** * Remove an expired username approval. The username was approved by an authority but never - * accepted by the user and must now be beyond its expiration. The call must include the full - * username, as in `username.suffix`. - */ + * accepted by the user and must now be beyond its expiration. The call must include the + * full username, as in `username.suffix`. + **/ removeExpiredApproval: AugmentedSubmittable< (username: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] @@ -1705,17 +1803,19 @@ declare module "@polkadot/api-base/types/submittable" { /** * Remove the given account from the sender's subs. * - * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated to - * the sender. + * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated + * to the sender. * * The dispatch origin for this call must be _Signed_ and the sender must have a registered * sub identity of `sub`. - */ + **/ removeSub: AugmentedSubmittable< (sub: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Remove `authority` from the username authorities. */ + /** + * Remove `authority` from the username authorities. + **/ removeUsernameAuthority: AugmentedSubmittable< (authority: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] @@ -1725,7 +1825,7 @@ declare module "@polkadot/api-base/types/submittable" { * * The dispatch origin for this call must be _Signed_ and the sender must have a registered * sub identity of `sub`. - */ + **/ renameSub: AugmentedSubmittable< ( sub: AccountId20 | string | Uint8Array, @@ -1745,19 +1845,21 @@ declare module "@polkadot/api-base/types/submittable" { /** * Request a judgement from a registrar. * - * Payment: At most `max_fee` will be reserved for payment to the registrar if judgement given. + * Payment: At most `max_fee` will be reserved for payment to the registrar if judgement + * given. * - * The dispatch origin for this call must be _Signed_ and the sender must have a registered identity. + * The dispatch origin for this call must be _Signed_ and the sender must have a + * registered identity. * * - `reg_index`: The index of the registrar whose judgement is requested. * - `max_fee`: The maximum fee that may be paid. This should just be auto-populated as: * * ```nocompile - * Self::registrars().get(reg_index).unwrap().fee; + * Self::registrars().get(reg_index).unwrap().fee * ``` * * Emits `JudgementRequested` if successful. - */ + **/ requestJudgement: AugmentedSubmittable< ( regIndex: Compact | AnyNumber | Uint8Array, @@ -1768,12 +1870,12 @@ declare module "@polkadot/api-base/types/submittable" { /** * Change the account associated with a registrar. * - * The dispatch origin for this call must be _Signed_ and the sender must be the account of - * the registrar whose index is `index`. + * The dispatch origin for this call must be _Signed_ and the sender must be the account + * of the registrar whose index is `index`. * * - `index`: the index of the registrar whose fee is to be set. * - `new`: the new account ID. - */ + **/ setAccountId: AugmentedSubmittable< ( index: Compact | AnyNumber | Uint8Array, @@ -1784,12 +1886,12 @@ declare module "@polkadot/api-base/types/submittable" { /** * Set the fee required for a judgement to be requested from a registrar. * - * The dispatch origin for this call must be _Signed_ and the sender must be the account of - * the registrar whose index is `index`. + * The dispatch origin for this call must be _Signed_ and the sender must be the account + * of the registrar whose index is `index`. * * - `index`: the index of the registrar whose fee is to be set. * - `fee`: the new fee. - */ + **/ setFee: AugmentedSubmittable< ( index: Compact | AnyNumber | Uint8Array, @@ -1800,12 +1902,12 @@ declare module "@polkadot/api-base/types/submittable" { /** * Set the field information for a registrar. * - * The dispatch origin for this call must be _Signed_ and the sender must be the account of - * the registrar whose index is `index`. + * The dispatch origin for this call must be _Signed_ and the sender must be the account + * of the registrar whose index is `index`. * * - `index`: the index of the registrar whose fee is to be set. * - `fields`: the fields that the registrar concerns themselves with. - */ + **/ setFields: AugmentedSubmittable< ( index: Compact | AnyNumber | Uint8Array, @@ -1816,15 +1918,15 @@ declare module "@polkadot/api-base/types/submittable" { /** * Set an account's identity information and reserve the appropriate deposit. * - * If the account already has identity information, the deposit is taken as part payment for - * the new deposit. + * If the account already has identity information, the deposit is taken as part payment + * for the new deposit. * * The dispatch origin for this call must be _Signed_. * * - `info`: The identity information. * * Emits `IdentitySet` if successful. - */ + **/ setIdentity: AugmentedSubmittable< ( info: @@ -1845,7 +1947,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [PalletIdentityLegacyIdentityInfo] >; - /** Set a given username as the primary. The username should include the suffix. */ + /** + * Set a given username as the primary. The username should include the suffix. + **/ setPrimaryUsername: AugmentedSubmittable< (username: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] @@ -1853,13 +1957,14 @@ declare module "@polkadot/api-base/types/submittable" { /** * Set the sub-accounts of the sender. * - * Payment: Any aggregate balance reserved by previous `set_subs` calls will be returned and - * an amount `SubAccountDeposit` will be reserved for each item in `subs`. + * Payment: Any aggregate balance reserved by previous `set_subs` calls will be returned + * and an amount `SubAccountDeposit` will be reserved for each item in `subs`. * - * The dispatch origin for this call must be _Signed_ and the sender must have a registered identity. + * The dispatch origin for this call must be _Signed_ and the sender must have a registered + * identity. * * - `subs`: The identity's (new) sub-accounts. - */ + **/ setSubs: AugmentedSubmittable< ( subs: @@ -1888,10 +1993,10 @@ declare module "@polkadot/api-base/types/submittable" { * accept them later. * * Usernames must: - * * - Only contain lowercase ASCII characters or digits. - * - When combined with the suffix of the issuing authority be _less than_ the `MaxUsernameLength`. - */ + * - When combined with the suffix of the issuing authority be _less than_ the + * `MaxUsernameLength`. + **/ setUsernameFor: AugmentedSubmittable< ( who: AccountId20 | string | Uint8Array, @@ -1905,7 +2010,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, Bytes, Option] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; maintenanceMode: { @@ -1913,38 +2020,39 @@ declare module "@polkadot/api-base/types/submittable" { * Place the chain in maintenance mode * * Weight cost is: - * - * - One DB read to ensure we're not already in maintenance mode - * - Three DB writes - 1 for the mode, 1 for suspending xcm execution, 1 for the event - */ + * * One DB read to ensure we're not already in maintenance mode + * * Three DB writes - 1 for the mode, 1 for suspending xcm execution, 1 for the event + **/ enterMaintenanceMode: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * Return the chain to normal operating mode * * Weight cost is: - * - * - One DB read to ensure we're in maintenance mode - * - Three DB writes - 1 for the mode, 1 for resuming xcm execution, 1 for the event - */ + * * One DB read to ensure we're in maintenance mode + * * Three DB writes - 1 for the mode, 1 for resuming xcm execution, 1 for the event + **/ resumeNormalOperation: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; messageQueue: { /** * Execute an overweight message. * - * Temporary processing errors will be propagated whereas permanent errors are treated as - * success condition. + * Temporary processing errors will be propagated whereas permanent errors are treated + * as success condition. * * - `origin`: Must be `Signed`. * - `message_origin`: The origin from which the message to be executed arrived. * - `page`: The page in the queue in which the message to be executed is sitting. * - `index`: The index into the queue of the message to be executed. - * - `weight_limit`: The maximum amount of weight allowed to be consumed in the execution of the message. + * - `weight_limit`: The maximum amount of weight allowed to be consumed in the execution + * of the message. * * Benchmark complexity considerations: O(index + weight_limit). - */ + **/ executeOverweight: AugmentedSubmittable< ( messageOrigin: @@ -1964,7 +2072,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [CumulusPrimitivesCoreAggregateMessageOrigin, u32, u32, SpWeightsWeightV2Weight] >; - /** Remove a page which has no more messages remaining to be processed or is stale. */ + /** + * Remove a page which has no more messages remaining to be processed or is stale. + **/ reapPage: AugmentedSubmittable< ( messageOrigin: @@ -1978,7 +2088,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [CumulusPrimitivesCoreAggregateMessageOrigin, u32] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; moonbeamLazyMigrations: { @@ -2003,43 +2115,61 @@ declare module "@polkadot/api-base/types/submittable" { (assetId: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u128] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; moonbeamOrbiters: { - /** Add a collator to orbiters program. */ + /** + * Add a collator to orbiters program. + **/ addCollator: AugmentedSubmittable< (collator: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Add an orbiter in a collator pool */ + /** + * Add an orbiter in a collator pool + **/ collatorAddOrbiter: AugmentedSubmittable< (orbiter: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Remove an orbiter from the caller collator pool */ + /** + * Remove an orbiter from the caller collator pool + **/ collatorRemoveOrbiter: AugmentedSubmittable< (orbiter: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Remove the caller from the specified collator pool */ + /** + * Remove the caller from the specified collator pool + **/ orbiterLeaveCollatorPool: AugmentedSubmittable< (collator: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Registering as an orbiter */ + /** + * Registering as an orbiter + **/ orbiterRegister: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Deregistering from orbiters */ + /** + * Deregistering from orbiters + **/ orbiterUnregister: AugmentedSubmittable< (collatorsPoolCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** Remove a collator from orbiters program. */ + /** + * Remove a collator from orbiters program. + **/ removeCollator: AugmentedSubmittable< (collator: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; multisig: { @@ -2047,34 +2177,34 @@ declare module "@polkadot/api-base/types/submittable" { * Register approval for a dispatch to be made from a deterministic composite account if * approved by a total of `threshold - 1` of `other_signatories`. * - * Payment: `DepositBase` will be reserved if this is the first approval, plus `threshold` - * times `DepositFactor`. It is returned once this dispatch happens or is cancelled. + * Payment: `DepositBase` will be reserved if this is the first approval, plus + * `threshold` times `DepositFactor`. It is returned once this dispatch happens or + * is cancelled. * * The dispatch origin for this call must be _Signed_. * * - `threshold`: The total number of approvals for this dispatch before it is executed. - * - `other_signatories`: The accounts (other than the sender) who can approve this dispatch. - * May not be empty. - * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is not - * the first approval, then it must be `Some`, with the timepoint (block number and - * transaction index) of the first approval transaction. + * - `other_signatories`: The accounts (other than the sender) who can approve this + * dispatch. May not be empty. + * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is + * not the first approval, then it must be `Some`, with the timepoint (block number and + * transaction index) of the first approval transaction. * - `call_hash`: The hash of the call to be executed. * * NOTE: If this is the final approval, you will want to use `as_multi` instead. * * ## Complexity - * * - `O(S)`. * - Up to one balance-reserve or unreserve operation. - * - One passthrough operation, one insert, both `O(S)` where `S` is the number of signatories. - * `S` is capped by `MaxSignatories`, with weight being proportional. + * - One passthrough operation, one insert, both `O(S)` where `S` is the number of + * signatories. `S` is capped by `MaxSignatories`, with weight being proportional. * - One encode & hash, both of complexity `O(S)`. * - Up to one binary search and insert (`O(logS + S)`). * - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove. * - One event. - * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit taken for - * its lifetime of `DepositBase + threshold * DepositFactor`. - */ + * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit + * taken for its lifetime of `DepositBase + threshold * DepositFactor`. + **/ approveAsMulti: AugmentedSubmittable< ( threshold: u16 | AnyNumber | Uint8Array, @@ -2101,41 +2231,41 @@ declare module "@polkadot/api-base/types/submittable" { * * If there are enough, then dispatch the call. * - * Payment: `DepositBase` will be reserved if this is the first approval, plus `threshold` - * times `DepositFactor`. It is returned once this dispatch happens or is cancelled. + * Payment: `DepositBase` will be reserved if this is the first approval, plus + * `threshold` times `DepositFactor`. It is returned once this dispatch happens or + * is cancelled. * * The dispatch origin for this call must be _Signed_. * * - `threshold`: The total number of approvals for this dispatch before it is executed. - * - `other_signatories`: The accounts (other than the sender) who can approve this dispatch. - * May not be empty. - * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is not - * the first approval, then it must be `Some`, with the timepoint (block number and - * transaction index) of the first approval transaction. + * - `other_signatories`: The accounts (other than the sender) who can approve this + * dispatch. May not be empty. + * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is + * not the first approval, then it must be `Some`, with the timepoint (block number and + * transaction index) of the first approval transaction. * - `call`: The call to be executed. * - * NOTE: Unless this is the final approval, you will generally want to use `approve_as_multi` - * instead, since it only requires a hash of the call. + * NOTE: Unless this is the final approval, you will generally want to use + * `approve_as_multi` instead, since it only requires a hash of the call. * - * Result is equivalent to the dispatched result if `threshold` is exactly `1`. Otherwise on - * success, result is `Ok` and the result from the interior call, if it was executed, may be - * found in the deposited `MultisigExecuted` event. + * Result is equivalent to the dispatched result if `threshold` is exactly `1`. Otherwise + * on success, result is `Ok` and the result from the interior call, if it was executed, + * may be found in the deposited `MultisigExecuted` event. * * ## Complexity - * * - `O(S + Z + Call)`. * - Up to one balance-reserve or unreserve operation. - * - One passthrough operation, one insert, both `O(S)` where `S` is the number of signatories. - * `S` is capped by `MaxSignatories`, with weight being proportional. + * - One passthrough operation, one insert, both `O(S)` where `S` is the number of + * signatories. `S` is capped by `MaxSignatories`, with weight being proportional. * - One call encode & hash, both of complexity `O(Z)` where `Z` is tx-len. * - One encode & hash, both of complexity `O(S)`. * - Up to one binary search and insert (`O(logS + S)`). * - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove. * - One event. * - The weight of the `call`. - * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit taken for - * its lifetime of `DepositBase + threshold * DepositFactor`. - */ + * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit + * taken for its lifetime of `DepositBase + threshold * DepositFactor`. + **/ asMulti: AugmentedSubmittable< ( threshold: u16 | AnyNumber | Uint8Array, @@ -2162,15 +2292,14 @@ declare module "@polkadot/api-base/types/submittable" { * The dispatch origin for this call must be _Signed_. * * - `other_signatories`: The accounts (other than the sender) who are part of the - * multi-signature, but do not participate in the approval process. + * multi-signature, but do not participate in the approval process. * - `call`: The call to be executed. * * Result is equivalent to the dispatched result. * * ## Complexity - * * O(Z + C) where Z is the length of the call and C its execution weight. - */ + **/ asMultiThreshold1: AugmentedSubmittable< ( otherSignatories: Vec | (AccountId20 | string | Uint8Array)[], @@ -2179,29 +2308,28 @@ declare module "@polkadot/api-base/types/submittable" { [Vec, Call] >; /** - * Cancel a pre-existing, on-going multisig transaction. Any deposit reserved previously for - * this operation will be unreserved on success. + * Cancel a pre-existing, on-going multisig transaction. Any deposit reserved previously + * for this operation will be unreserved on success. * * The dispatch origin for this call must be _Signed_. * * - `threshold`: The total number of approvals for this dispatch before it is executed. - * - `other_signatories`: The accounts (other than the sender) who can approve this dispatch. - * May not be empty. + * - `other_signatories`: The accounts (other than the sender) who can approve this + * dispatch. May not be empty. * - `timepoint`: The timepoint (block number and transaction index) of the first approval - * transaction for this dispatch. + * transaction for this dispatch. * - `call_hash`: The hash of the call to be executed. * * ## Complexity - * * - `O(S)`. * - Up to one balance-reserve or unreserve operation. - * - One passthrough operation, one insert, both `O(S)` where `S` is the number of signatories. - * `S` is capped by `MaxSignatories`, with weight being proportional. + * - One passthrough operation, one insert, both `O(S)` where `S` is the number of + * signatories. `S` is capped by `MaxSignatories`, with weight being proportional. * - One encode & hash, both of complexity `O(S)`. * - One event. * - I/O: 1 read `O(S)`, one remove. * - Storage: removes one item. - */ + **/ cancelAsMulti: AugmentedSubmittable< ( threshold: u16 | AnyNumber | Uint8Array, @@ -2211,7 +2339,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u16, Vec, PalletMultisigTimepoint, U8aFixed] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; openTechCommitteeCollective: { @@ -2220,27 +2350,27 @@ declare module "@polkadot/api-base/types/submittable" { * * May be called by any signed account in order to finish voting and close the proposal. * - * If called before the end of the voting period it will only close the vote if it is has - * enough votes to be approved or disapproved. + * If called before the end of the voting period it will only close the vote if it is + * has enough votes to be approved or disapproved. * - * If called after the end of the voting period abstentions are counted as rejections unless - * there is a prime member set and the prime member cast an approval. + * If called after the end of the voting period abstentions are counted as rejections + * unless there is a prime member set and the prime member cast an approval. * - * If the close operation completes successfully with disapproval, the transaction fee will be - * waived. Otherwise execution of the approved operation will be charged to the caller. + * If the close operation completes successfully with disapproval, the transaction fee will + * be waived. Otherwise execution of the approved operation will be charged to the caller. * - * - `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed proposal. - * - `length_bound`: The upper bound for the length of the proposal in storage. Checked via - * `storage::read` so it is `size_of::() == 4` larger than the pure length. + * + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed + * proposal. + * + `length_bound`: The upper bound for the length of the proposal in storage. Checked via + * `storage::read` so it is `size_of::() == 4` larger than the pure length. * * ## Complexity - * * - `O(B + M + P1 + P2)` where: * - `B` is `proposal` size in bytes (length-fee-bounded) * - `M` is members-count (code- and governance-bounded) * - `P1` is the complexity of `proposal` preimage. * - `P2` is proposal-count (code-bounded) - */ + **/ close: AugmentedSubmittable< ( proposalHash: H256 | string | Uint8Array, @@ -2255,18 +2385,17 @@ declare module "@polkadot/api-base/types/submittable" { [H256, Compact, SpWeightsWeightV2Weight, Compact] >; /** - * Disapprove a proposal, close, and remove it from the system, regardless of its current state. + * Disapprove a proposal, close, and remove it from the system, regardless of its current + * state. * * Must be called by the Root origin. * * Parameters: - * - * - `proposal_hash`: The hash of the proposal that should be disapproved. + * * `proposal_hash`: The hash of the proposal that should be disapproved. * * ## Complexity - * * O(P) where P is the number of max proposals - */ + **/ disapproveProposal: AugmentedSubmittable< (proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] @@ -2277,12 +2406,11 @@ declare module "@polkadot/api-base/types/submittable" { * Origin must be a member of the collective. * * ## Complexity: - * * - `O(B + M + P)` where: * - `B` is `proposal` size in bytes (length-fee-bounded) * - `M` members-count (code-bounded) * - `P` complexity of dispatching `proposal` - */ + **/ execute: AugmentedSubmittable< ( proposal: Call | IMethod | string | Uint8Array, @@ -2295,18 +2423,17 @@ declare module "@polkadot/api-base/types/submittable" { * * Requires the sender to be member. * - * `threshold` determines whether `proposal` is executed directly (`threshold < 2`) or put up - * for voting. + * `threshold` determines whether `proposal` is executed directly (`threshold < 2`) + * or put up for voting. * * ## Complexity - * * - `O(B + M + P1)` or `O(B + M + P2)` where: * - `B` is `proposal` size in bytes (length-fee-bounded) * - `M` is members-count (code- and governance-bounded) - * - Branching is influenced by `threshold` where: + * - branching is influenced by `threshold` where: * - `P1` is proposal execution complexity (`threshold < 2`) * - `P2` is proposals-count (code-bounded) (`threshold >= 2`) - */ + **/ propose: AugmentedSubmittable< ( threshold: Compact | AnyNumber | Uint8Array, @@ -2320,27 +2447,27 @@ declare module "@polkadot/api-base/types/submittable" { * * - `new_members`: The new member list. Be nice to the chain and provide it sorted. * - `prime`: The prime member whose vote sets the default. - * - `old_count`: The upper bound for the previous number of members in storage. Used for weight - * estimation. + * - `old_count`: The upper bound for the previous number of members in storage. Used for + * weight estimation. * * The dispatch of this call must be `SetMembersOrigin`. * - * NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but the - * weight estimations rely on it to estimate dispatchable weight. + * NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but + * the weight estimations rely on it to estimate dispatchable weight. * * # WARNING: * * The `pallet-collective` can also be managed by logic outside of the pallet through the - * implementation of the trait [`ChangeMembers`]. Any call to `set_members` must be careful - * that the member set doesn't get out of sync with other logic managing the member set. + * implementation of the trait [`ChangeMembers`]. + * Any call to `set_members` must be careful that the member set doesn't get out of sync + * with other logic managing the member set. * * ## Complexity: - * * - `O(MP + N)` where: * - `M` old-members-count (code- and governance-bounded) * - `N` new-members-count (code- and governance-bounded) * - `P` proposals-count (code-bounded) - */ + **/ setMembers: AugmentedSubmittable< ( newMembers: Vec | (AccountId20 | string | Uint8Array)[], @@ -2354,13 +2481,12 @@ declare module "@polkadot/api-base/types/submittable" { * * Requires the sender to be a member. * - * Transaction fees will be waived if the member is voting on any particular proposal for the - * first time and the call is successful. Subsequent vote changes will charge a fee. - * + * Transaction fees will be waived if the member is voting on any particular proposal + * for the first time and the call is successful. Subsequent vote changes will charge a + * fee. * ## Complexity - * * - `O(M)` where `M` is members-count (code- and governance-bounded) - */ + **/ vote: AugmentedSubmittable< ( proposal: H256 | string | Uint8Array, @@ -2369,37 +2495,44 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [H256, Compact, bool] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; parachainStaking: { - /** Cancel pending request to adjust the collator candidate self bond */ + /** + * Cancel pending request to adjust the collator candidate self bond + **/ cancelCandidateBondLess: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Cancel request to change an existing delegation. */ + /** + * Cancel request to change an existing delegation. + **/ cancelDelegationRequest: AugmentedSubmittable< (candidate: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; /** * Cancel open request to leave candidates - * - * - Only callable by collator account - * - Result upon successful call is the candidate is active in the candidate pool - */ + * - only callable by collator account + * - result upon successful call is the candidate is active in the candidate pool + **/ cancelLeaveCandidates: AugmentedSubmittable< (candidateCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** Increase collator candidate self bond by `more` */ + /** + * Increase collator candidate self bond by `more` + **/ candidateBondMore: AugmentedSubmittable< (more: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u128] >; /** - * DEPRECATED use delegateWithAutoCompound If caller is not a delegator and not a collator, - * then join the set of delegators If caller is a delegator, then makes delegation to change - * their delegation state - */ + * DEPRECATED use delegateWithAutoCompound + * If caller is not a delegator and not a collator, then join the set of delegators + * If caller is a delegator, then makes delegation to change their delegation state + **/ delegate: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -2410,10 +2543,10 @@ declare module "@polkadot/api-base/types/submittable" { [AccountId20, u128, u32, u32] >; /** - * If caller is not a delegator and not a collator, then join the set of delegators If caller - * is a delegator, then makes delegation to change their delegation state Sets the - * auto-compound config for the delegation - */ + * If caller is not a delegator and not a collator, then join the set of delegators + * If caller is a delegator, then makes delegation to change their delegation state + * Sets the auto-compound config for the delegation + **/ delegateWithAutoCompound: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -2425,7 +2558,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u128, Percent, u32, u32, u32] >; - /** Bond more for delegators wrt a specific collator candidate. */ + /** + * Bond more for delegators wrt a specific collator candidate. + **/ delegatorBondMore: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -2433,17 +2568,23 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u128] >; - /** Enable/Disable marking offline feature */ + /** + * Enable/Disable marking offline feature + **/ enableMarkingOffline: AugmentedSubmittable< (value: bool | boolean | Uint8Array) => SubmittableExtrinsic, [bool] >; - /** Execute pending request to adjust the collator candidate self bond */ + /** + * Execute pending request to adjust the collator candidate self bond + **/ executeCandidateBondLess: AugmentedSubmittable< (candidate: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Execute pending request to change an existing delegation */ + /** + * Execute pending request to change an existing delegation + **/ executeDelegationRequest: AugmentedSubmittable< ( delegator: AccountId20 | string | Uint8Array, @@ -2451,7 +2592,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, AccountId20] >; - /** Execute leave candidates request */ + /** + * Execute leave candidates request + **/ executeLeaveCandidates: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -2459,7 +2602,10 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u32] >; - /** Force join the set of collator candidates. It will skip the minimum required bond check. */ + /** + * Force join the set of collator candidates. + * It will skip the minimum required bond check. + **/ forceJoinCandidates: AugmentedSubmittable< ( account: AccountId20 | string | Uint8Array, @@ -2468,18 +2614,26 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u128, u32] >; - /** Temporarily leave the set of collator candidates without unbonding */ + /** + * Temporarily leave the set of collator candidates without unbonding + **/ goOffline: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Rejoin the set of collator candidates if previously had called `go_offline` */ + /** + * Rejoin the set of collator candidates if previously had called `go_offline` + **/ goOnline: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Hotfix to remove existing empty entries for candidates that have left. */ + /** + * Hotfix to remove existing empty entries for candidates that have left. + **/ hotfixRemoveDelegationRequestsExitedCandidates: AugmentedSubmittable< ( candidates: Vec | (AccountId20 | string | Uint8Array)[] ) => SubmittableExtrinsic, [Vec] >; - /** Join the set of collator candidates */ + /** + * Join the set of collator candidates + **/ joinCandidates: AugmentedSubmittable< ( bond: u128 | AnyNumber | Uint8Array, @@ -2487,27 +2641,37 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u128, u32] >; - /** Notify a collator is inactive during MaxOfflineRounds */ + /** + * Notify a collator is inactive during MaxOfflineRounds + **/ notifyInactiveCollator: AugmentedSubmittable< (collator: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** REMOVED, was schedule_leave_delegators */ + /** + * REMOVED, was schedule_leave_delegators + **/ removedCall19: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** REMOVED, was execute_leave_delegators */ + /** + * REMOVED, was execute_leave_delegators + **/ removedCall20: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** REMOVED, was cancel_leave_delegators */ + /** + * REMOVED, was cancel_leave_delegators + **/ removedCall21: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Request by collator candidate to decrease self bond by `less` */ + /** + * Request by collator candidate to decrease self bond by `less` + **/ scheduleCandidateBondLess: AugmentedSubmittable< (less: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u128] >; /** * Request bond less for delegators wrt a specific collator candidate. The delegation's - * rewards for rounds while the request is pending use the reduced bonded amount. A bond less - * may not be performed if any other scheduled request is pending. - */ + * rewards for rounds while the request is pending use the reduced bonded amount. + * A bond less may not be performed if any other scheduled request is pending. + **/ scheduleDelegatorBondLess: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -2516,24 +2680,26 @@ declare module "@polkadot/api-base/types/submittable" { [AccountId20, u128] >; /** - * Request to leave the set of candidates. If successful, the account is immediately removed - * from the candidate pool to prevent selection as a collator. - */ + * Request to leave the set of candidates. If successful, the account is immediately + * removed from the candidate pool to prevent selection as a collator. + **/ scheduleLeaveCandidates: AugmentedSubmittable< (candidateCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; /** - * Request to revoke an existing delegation. If successful, the delegation is scheduled to be - * allowed to be revoked via the `execute_delegation_request` extrinsic. The delegation - * receives no rewards for the rounds while a revoke is pending. A revoke may not be performed - * if any other scheduled request is pending. - */ + * Request to revoke an existing delegation. If successful, the delegation is scheduled + * to be allowed to be revoked via the `execute_delegation_request` extrinsic. + * The delegation receives no rewards for the rounds while a revoke is pending. + * A revoke may not be performed if any other scheduled request is pending. + **/ scheduleRevokeDelegation: AugmentedSubmittable< (collator: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Sets the auto-compounding reward percentage for a delegation. */ + /** + * Sets the auto-compounding reward percentage for a delegation. + **/ setAutoCompound: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -2545,20 +2711,24 @@ declare module "@polkadot/api-base/types/submittable" { >; /** * Set blocks per round - * - * - If called with `new` less than length of current round, will transition immediately in the next block - * - Also updates per-round inflation config - */ + * - if called with `new` less than length of current round, will transition immediately + * in the next block + * - also updates per-round inflation config + **/ setBlocksPerRound: AugmentedSubmittable< (updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** Set the commission for all collators */ + /** + * Set the commission for all collators + **/ setCollatorCommission: AugmentedSubmittable< (updated: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Perbill] >; - /** Set the annual inflation rate to derive per-round inflation */ + /** + * Set the annual inflation rate to derive per-round inflation + **/ setInflation: AugmentedSubmittable< ( schedule: @@ -2579,7 +2749,9 @@ declare module "@polkadot/api-base/types/submittable" { } & Struct ] >; - /** Set the inflation distribution configuration. */ + /** + * Set the inflation distribution configuration. + **/ setInflationDistributionConfig: AugmentedSubmittable< ( updated: PalletParachainStakingInflationDistributionConfig @@ -2590,7 +2762,7 @@ declare module "@polkadot/api-base/types/submittable" { * Deprecated: please use `set_inflation_distribution_config` instead. * * Set the account that will hold funds set aside for parachain bond - */ + **/ setParachainBondAccount: AugmentedSubmittable< (updated: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] @@ -2599,15 +2771,15 @@ declare module "@polkadot/api-base/types/submittable" { * Deprecated: please use `set_inflation_distribution_config` instead. * * Set the percent of inflation set aside for parachain bond - */ + **/ setParachainBondReservePercent: AugmentedSubmittable< (updated: Percent | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Percent] >; /** - * Set the expectations for total staked. These expectations determine the issuance for the - * round according to logic in `fn compute_issuance` - */ + * Set the expectations for total staked. These expectations determine the issuance for + * the round according to logic in `fn compute_issuance` + **/ setStakingExpectations: AugmentedSubmittable< ( expectations: @@ -2630,26 +2802,28 @@ declare module "@polkadot/api-base/types/submittable" { >; /** * Set the total number of collator candidates selected per round - * - * - Changes are not applied until the start of the next round - */ + * - changes are not applied until the start of the next round + **/ setTotalSelected: AugmentedSubmittable< (updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; parachainSystem: { /** - * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied later. + * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied + * later. * * The `check_version` parameter sets a boolean flag for whether or not the runtime's spec - * version and name should be verified on upgrade. Since the authorization only has a hash, it - * cannot actually perform the verification. + * version and name should be verified on upgrade. Since the authorization only has a hash, + * it cannot actually perform the verification. * * This call requires Root origin. - */ + **/ authorizeUpgrade: AugmentedSubmittable< ( codeHash: H256 | string | Uint8Array, @@ -2660,14 +2834,14 @@ declare module "@polkadot/api-base/types/submittable" { /** * Provide the preimage (runtime binary) `code` for an upgrade that has been authorized. * - * If the authorization required a version check, this call will ensure the spec name remains - * unchanged and that the spec version has increased. + * If the authorization required a version check, this call will ensure the spec name + * remains unchanged and that the spec version has increased. * * Note that this function will not apply the new `code`, but only attempt to schedule the * upgrade with the Relay Chain. * * All origins are allowed. - */ + **/ enactAuthorizedUpgrade: AugmentedSubmittable< (code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] @@ -2675,14 +2849,14 @@ declare module "@polkadot/api-base/types/submittable" { /** * Set the current validation data. * - * This should be invoked exactly once per block. It will panic at the finalization phase if - * the call was not invoked. + * This should be invoked exactly once per block. It will panic at the finalization + * phase if the call was not invoked. * * The dispatch origin for this call must be `Inherent` * - * As a side effect, this function upgrades the current validation function if the appropriate - * time has come. - */ + * As a side effect, this function upgrades the current validation function + * if the appropriate time has come. + **/ setValidationData: AugmentedSubmittable< ( data: @@ -2702,7 +2876,9 @@ declare module "@polkadot/api-base/types/submittable" { (message: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; parameters: { @@ -2711,7 +2887,7 @@ declare module "@polkadot/api-base/types/submittable" { * * The dispatch origin of this call must be `AdminOrigin` for the given `key`. Values be * deleted by setting them to `None`. - */ + **/ setParameter: AugmentedSubmittable< ( keyValue: @@ -2723,7 +2899,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [MoonbeamRuntimeRuntimeParamsRuntimeParameters] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; polkadotXcm: { @@ -2731,10 +2909,10 @@ declare module "@polkadot/api-base/types/submittable" { * Claims assets trapped on this pallet because of leftover assets during XCM execution. * * - `origin`: Anyone can call this extrinsic. - * - `assets`: The exact assets that were trapped. Use the version to specify what version was - * the latest when they were trapped. + * - `assets`: The exact assets that were trapped. Use the version to specify what version + * was the latest when they were trapped. * - `beneficiary`: The location/account where the claimed assets will be deposited. - */ + **/ claimAssets: AugmentedSubmittable< ( assets: @@ -2757,12 +2935,13 @@ declare module "@polkadot/api-base/types/submittable" { /** * Execute an XCM message from a local, signed, origin. * - * An event is deposited indicating whether `msg` could be executed completely or only partially. + * An event is deposited indicating whether `msg` could be executed completely or only + * partially. * - * No more than `max_weight` will be used in its attempted execution. If this is less than the - * maximum amount of weight that the message could take to be executed, then no execution - * attempt will be made. - */ + * No more than `max_weight` will be used in its attempted execution. If this is less than + * the maximum amount of weight that the message could take to be executed, then no + * execution attempt will be made. + **/ execute: AugmentedSubmittable< ( message: XcmVersionedXcm | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, @@ -2780,7 +2959,7 @@ declare module "@polkadot/api-base/types/submittable" { * * - `origin`: Must be an origin specified by AdminOrigin. * - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable. - */ + **/ forceDefaultXcmVersion: AugmentedSubmittable< ( maybeXcmVersion: Option | null | Uint8Array | u32 | AnyNumber @@ -2792,7 +2971,7 @@ declare module "@polkadot/api-base/types/submittable" { * * - `origin`: Must be an origin specified by AdminOrigin. * - `location`: The location to which we should subscribe for XCM version notifications. - */ + **/ forceSubscribeVersionNotify: AugmentedSubmittable< ( location: @@ -2810,18 +2989,19 @@ declare module "@polkadot/api-base/types/submittable" { * * - `origin`: Must be an origin specified by AdminOrigin. * - `suspended`: `true` to suspend, `false` to resume. - */ + **/ forceSuspension: AugmentedSubmittable< (suspended: bool | boolean | Uint8Array) => SubmittableExtrinsic, [bool] >; /** - * Require that a particular destination should no longer notify us regarding any XCM version changes. + * Require that a particular destination should no longer notify us regarding any XCM + * version changes. * * - `origin`: Must be an origin specified by AdminOrigin. - * - `location`: The location to which we are currently subscribed for XCM version notifications - * which we no longer desire. - */ + * - `location`: The location to which we are currently subscribed for XCM version + * notifications which we no longer desire. + **/ forceUnsubscribeVersionNotify: AugmentedSubmittable< ( location: @@ -2835,12 +3015,13 @@ declare module "@polkadot/api-base/types/submittable" { [XcmVersionedLocation] >; /** - * Extoll that a particular destination can be communicated with through a particular version of XCM. + * Extoll that a particular destination can be communicated with through a particular + * version of XCM. * * - `origin`: Must be an origin specified by AdminOrigin. * - `location`: The destination that is being described. * - `xcm_version`: The latest version of XCM that `location` supports. - */ + **/ forceXcmVersion: AugmentedSubmittable< ( location: StagingXcmV4Location | { parents?: any; interior?: any } | string | Uint8Array, @@ -2853,30 +3034,33 @@ declare module "@polkadot/api-base/types/submittable" { * destination or remote reserve. * * `assets` must have same reserve location and may not be teleportable to `dest`. - * - * - `assets` have local reserve: transfer assets to sovereign account of destination chain and - * forward a notification XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. - * - `assets` have destination reserve: burn local assets and forward a notification to `dest` - * chain to withdraw the reserve assets from this chain's sovereign account and deposit them - * to `beneficiary`. + * - `assets` have local reserve: transfer assets to sovereign account of destination + * chain and forward a notification XCM to `dest` to mint and deposit reserve-based + * assets to `beneficiary`. + * - `assets` have destination reserve: burn local assets and forward a notification to + * `dest` chain to withdraw the reserve assets from this chain's sovereign account and + * deposit them to `beneficiary`. * - `assets` have remote reserve: burn local assets, forward XCM to reserve chain to move - * reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` to - * mint and deposit reserve-based assets to `beneficiary`. + * reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` + * to mint and deposit reserve-based assets to `beneficiary`. * - * Fee payment on the destination side is made from the asset in the `assets` vector of index - * `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight is - * needed than `weight_limit`, then the operation will fail and the sent assets may be at risk. + * Fee payment on the destination side is made from the asset in the `assets` vector of + * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight + * is needed than `weight_limit`, then the operation will fail and the sent assets may be + * at risk. * * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. - * - `dest`: Destination context for the assets. Will typically be `[Parent, Parachain(..)]` to - * send from parachain to parachain, or `[Parachain(..)]` to send from relay to parachain. + * - `dest`: Destination context for the assets. Will typically be `[Parent, + * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from + * relay to parachain. * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will - * generally be an `AccountId32` value. - * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on - * the `dest` (and possibly reserve) chains. - * - `fee_asset_item`: The index into `assets` of the item which should be used to pay fees. + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the + * fee on the `dest` (and possibly reserve) chains. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay + * fees. * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. - */ + **/ limitedReserveTransferAssets: AugmentedSubmittable< ( dest: @@ -2913,20 +3097,23 @@ declare module "@polkadot/api-base/types/submittable" { /** * Teleport some assets from the local chain to some destination chain. * - * Fee payment on the destination side is made from the asset in the `assets` vector of index - * `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight is - * needed than `weight_limit`, then the operation will fail and the sent assets may be at risk. + * Fee payment on the destination side is made from the asset in the `assets` vector of + * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight + * is needed than `weight_limit`, then the operation will fail and the sent assets may be + * at risk. * * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. - * - `dest`: Destination context for the assets. Will typically be `[Parent, Parachain(..)]` to - * send from parachain to parachain, or `[Parachain(..)]` to send from relay to parachain. + * - `dest`: Destination context for the assets. Will typically be `[Parent, + * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from + * relay to parachain. * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will - * generally be an `AccountId32` value. - * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on - * the `dest` chain. - * - `fee_asset_item`: The index into `assets` of the item which should be used to pay fees. + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the + * fee on the `dest` chain. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay + * fees. * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. - */ + **/ limitedTeleportAssets: AugmentedSubmittable< ( dest: @@ -2965,31 +3152,33 @@ declare module "@polkadot/api-base/types/submittable" { * destination or remote reserve. * * `assets` must have same reserve location and may not be teleportable to `dest`. - * - * - `assets` have local reserve: transfer assets to sovereign account of destination chain and - * forward a notification XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. - * - `assets` have destination reserve: burn local assets and forward a notification to `dest` - * chain to withdraw the reserve assets from this chain's sovereign account and deposit them - * to `beneficiary`. + * - `assets` have local reserve: transfer assets to sovereign account of destination + * chain and forward a notification XCM to `dest` to mint and deposit reserve-based + * assets to `beneficiary`. + * - `assets` have destination reserve: burn local assets and forward a notification to + * `dest` chain to withdraw the reserve assets from this chain's sovereign account and + * deposit them to `beneficiary`. * - `assets` have remote reserve: burn local assets, forward XCM to reserve chain to move - * reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` to - * mint and deposit reserve-based assets to `beneficiary`. + * reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` + * to mint and deposit reserve-based assets to `beneficiary`. * * **This function is deprecated: Use `limited_reserve_transfer_assets` instead.** * - * Fee payment on the destination side is made from the asset in the `assets` vector of index - * `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited, with all - * fees taken as needed from the asset. + * Fee payment on the destination side is made from the asset in the `assets` vector of + * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited, + * with all fees taken as needed from the asset. * * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. - * - `dest`: Destination context for the assets. Will typically be `[Parent, Parachain(..)]` to - * send from parachain to parachain, or `[Parachain(..)]` to send from relay to parachain. + * - `dest`: Destination context for the assets. Will typically be `[Parent, + * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from + * relay to parachain. * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will - * generally be an `AccountId32` value. - * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on - * the `dest` (and possibly reserve) chains. - * - `fee_asset_item`: The index into `assets` of the item which should be used to pay fees. - */ + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the + * fee on the `dest` (and possibly reserve) chains. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay + * fees. + **/ reserveTransferAssets: AugmentedSubmittable< ( dest: @@ -3035,19 +3224,21 @@ declare module "@polkadot/api-base/types/submittable" { * * **This function is deprecated: Use `limited_teleport_assets` instead.** * - * Fee payment on the destination side is made from the asset in the `assets` vector of index - * `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited, with all - * fees taken as needed from the asset. + * Fee payment on the destination side is made from the asset in the `assets` vector of + * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited, + * with all fees taken as needed from the asset. * * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. - * - `dest`: Destination context for the assets. Will typically be `[Parent, Parachain(..)]` to - * send from parachain to parachain, or `[Parachain(..)]` to send from relay to parachain. + * - `dest`: Destination context for the assets. Will typically be `[Parent, + * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from + * relay to parachain. * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will - * generally be an `AccountId32` value. - * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on - * the `dest` chain. - * - `fee_asset_item`: The index into `assets` of the item which should be used to pay fees. - */ + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the + * fee on the `dest` chain. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay + * fees. + **/ teleportAssets: AugmentedSubmittable< ( dest: @@ -3079,33 +3270,37 @@ declare module "@polkadot/api-base/types/submittable" { * Transfer some assets from the local chain to the destination chain through their local, * destination or remote reserve, or through teleports. * - * Fee payment on the destination side is made from the asset in the `assets` vector of index - * `fee_asset_item` (hence referred to as `fees`), up to enough to pay for `weight_limit` of - * weight. If more weight is needed than `weight_limit`, then the operation will fail and the - * sent assets may be at risk. - * - * `assets` (excluding `fees`) must have same reserve location or otherwise be teleportable to - * `dest`, no limitations imposed on `fees`. - * - * - For local reserve: transfer assets to sovereign account of destination chain and forward a - * notification XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. - * - For destination reserve: burn local assets and forward a notification to `dest` chain to - * withdraw the reserve assets from this chain's sovereign account and deposit them to `beneficiary`. - * - For remote reserve: burn local assets, forward XCM to reserve chain to move reserves from - * this chain's SA to `dest` chain's SA, and forward another XCM to `dest` to mint and - * deposit reserve-based assets to `beneficiary`. - * - For teleports: burn local assets and forward XCM to `dest` chain to mint/teleport assets - * and deposit them to `beneficiary`. + * Fee payment on the destination side is made from the asset in the `assets` vector of + * index `fee_asset_item` (hence referred to as `fees`), up to enough to pay for + * `weight_limit` of weight. If more weight is needed than `weight_limit`, then the + * operation will fail and the sent assets may be at risk. + * + * `assets` (excluding `fees`) must have same reserve location or otherwise be teleportable + * to `dest`, no limitations imposed on `fees`. + * - for local reserve: transfer assets to sovereign account of destination chain and + * forward a notification XCM to `dest` to mint and deposit reserve-based assets to + * `beneficiary`. + * - for destination reserve: burn local assets and forward a notification to `dest` chain + * to withdraw the reserve assets from this chain's sovereign account and deposit them + * to `beneficiary`. + * - for remote reserve: burn local assets, forward XCM to reserve chain to move reserves + * from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` to mint + * and deposit reserve-based assets to `beneficiary`. + * - for teleports: burn local assets and forward XCM to `dest` chain to mint/teleport + * assets and deposit them to `beneficiary`. + * * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. - * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` - * to send from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain. + * - `dest`: Destination context for the assets. Will typically be `X2(Parent, + * Parachain(..))` to send from parachain to parachain, or `X1(Parachain(..))` to send + * from relay to parachain. * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will - * generally be an `AccountId32` value. - * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on - * the `dest` (and possibly reserve) chains. - * - `fee_asset_item`: The index into `assets` of the item which should be used to pay fees. + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the + * fee on the `dest` (and possibly reserve) chains. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay + * fees. * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. - */ + **/ transferAssets: AugmentedSubmittable< ( dest: @@ -3140,53 +3335,55 @@ declare module "@polkadot/api-base/types/submittable" { [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit] >; /** - * Transfer assets from the local chain to the destination chain using explicit transfer types - * for assets and fees. + * Transfer assets from the local chain to the destination chain using explicit transfer + * types for assets and fees. * * `assets` must have same reserve location or may be teleportable to `dest`. Caller must * provide the `assets_transfer_type` to be used for `assets`: - * - * - `TransferType::LocalReserve`: transfer assets to sovereign account of destination chain and - * forward a notification XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. - * - `TransferType::DestinationReserve`: burn local assets and forward a notification to `dest` - * chain to withdraw the reserve assets from this chain's sovereign account and deposit them - * to `beneficiary`. - * - `TransferType::RemoteReserve(reserve)`: burn local assets, forward XCM to `reserve` chain - * to move reserves from this chain's SA to `dest` chain's SA, and forward another XCM to - * `dest` to mint and deposit reserve-based assets to `beneficiary`. Typically the remote - * `reserve` is Asset Hub. + * - `TransferType::LocalReserve`: transfer assets to sovereign account of destination + * chain and forward a notification XCM to `dest` to mint and deposit reserve-based + * assets to `beneficiary`. + * - `TransferType::DestinationReserve`: burn local assets and forward a notification to + * `dest` chain to withdraw the reserve assets from this chain's sovereign account and + * deposit them to `beneficiary`. + * - `TransferType::RemoteReserve(reserve)`: burn local assets, forward XCM to `reserve` + * chain to move reserves from this chain's SA to `dest` chain's SA, and forward another + * XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. Typically + * the remote `reserve` is Asset Hub. * - `TransferType::Teleport`: burn local assets and forward XCM to `dest` chain to - * mint/teleport assets and deposit them to `beneficiary`. + * mint/teleport assets and deposit them to `beneficiary`. * - * On the destination chain, as well as any intermediary hops, `BuyExecution` is used to buy - * execution using transferred `assets` identified by `remote_fees_id`. Make sure enough of - * the specified `remote_fees_id` asset is included in the given list of `assets`. - * `remote_fees_id` should be enough to pay for `weight_limit`. If more weight is needed than - * `weight_limit`, then the operation will fail and the sent assets may be at risk. + * On the destination chain, as well as any intermediary hops, `BuyExecution` is used to + * buy execution using transferred `assets` identified by `remote_fees_id`. + * Make sure enough of the specified `remote_fees_id` asset is included in the given list + * of `assets`. `remote_fees_id` should be enough to pay for `weight_limit`. If more weight + * is needed than `weight_limit`, then the operation will fail and the sent assets may be + * at risk. * - * `remote_fees_id` may use different transfer type than rest of `assets` and can be specified - * through `fees_transfer_type`. + * `remote_fees_id` may use different transfer type than rest of `assets` and can be + * specified through `fees_transfer_type`. * * The caller needs to specify what should happen to the transferred assets once they reach - * the `dest` chain. This is done through the `custom_xcm_on_dest` parameter, which contains - * the instructions to execute on `dest` as a final step. This is usually as simple as: - * `Xcm(vec![DepositAsset { assets: Wild(AllCounted(assets.len())), beneficiary }])`, but - * could be something more exotic like sending the `assets` even further. + * the `dest` chain. This is done through the `custom_xcm_on_dest` parameter, which + * contains the instructions to execute on `dest` as a final step. + * This is usually as simple as: + * `Xcm(vec![DepositAsset { assets: Wild(AllCounted(assets.len())), beneficiary }])`, + * but could be something more exotic like sending the `assets` even further. * * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. - * - `dest`: Destination context for the assets. Will typically be `[Parent, Parachain(..)]` to - * send from parachain to parachain, or `[Parachain(..)]` to send from relay to parachain, - * or `(parents: 2, (GlobalConsensus(..), ..))` to send from parachain across a bridge to - * another ecosystem destination. - * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on - * the `dest` (and possibly reserve) chains. + * - `dest`: Destination context for the assets. Will typically be `[Parent, + * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from + * relay to parachain, or `(parents: 2, (GlobalConsensus(..), ..))` to send from + * parachain across a bridge to another ecosystem destination. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the + * fee on the `dest` (and possibly reserve) chains. * - `assets_transfer_type`: The XCM `TransferType` used to transfer the `assets`. * - `remote_fees_id`: One of the included `assets` to be used to pay fees. * - `fees_transfer_type`: The XCM `TransferType` used to transfer the `fees` assets. * - `custom_xcm_on_dest`: The XCM to be executed on `dest` chain as the last step of the - * transfer, which also determines what happens to the assets on the destination chain. + * transfer, which also determines what happens to the assets on the destination chain. * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. - */ + **/ transferAssetsUsingTypeAndThen: AugmentedSubmittable< ( dest: @@ -3244,7 +3441,9 @@ declare module "@polkadot/api-base/types/submittable" { XcmV3WeightLimit ] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; preimage: { @@ -3252,7 +3451,7 @@ declare module "@polkadot/api-base/types/submittable" { * Ensure that the a bulk of pre-images is upgraded. * * The caller pays no fee if at least 90% of pre-images were successfully updated. - */ + **/ ensureUpdated: AugmentedSubmittable< (hashes: Vec | (H256 | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec] @@ -3260,9 +3459,9 @@ declare module "@polkadot/api-base/types/submittable" { /** * Register a preimage on-chain. * - * If the preimage was previously requested, no fees or deposits are taken for providing the - * preimage. Otherwise, a deposit is taken proportional to the size of the preimage. - */ + * If the preimage was previously requested, no fees or deposits are taken for providing + * the preimage. Otherwise, a deposit is taken proportional to the size of the preimage. + **/ notePreimage: AugmentedSubmittable< (bytes: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] @@ -3270,9 +3469,9 @@ declare module "@polkadot/api-base/types/submittable" { /** * Request a preimage be uploaded to the chain without paying any fees or deposits. * - * If the preimage requests has already been provided on-chain, we unreserve any deposit a - * user may have paid, and take the control of the preimage out of their hands. - */ + * If the preimage requests has already been provided on-chain, we unreserve any deposit + * a user may have paid, and take the control of the preimage out of their hands. + **/ requestPreimage: AugmentedSubmittable< (hash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] @@ -3284,7 +3483,7 @@ declare module "@polkadot/api-base/types/submittable" { * * - `hash`: The hash of the preimage to be removed from the store. * - `len`: The length of the preimage of `hash`. - */ + **/ unnotePreimage: AugmentedSubmittable< (hash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] @@ -3293,12 +3492,14 @@ declare module "@polkadot/api-base/types/submittable" { * Clear a previously made request for a preimage. * * NOTE: THIS MUST NOT BE CALLED ON `hash` MORE TIMES THAN `request_preimage`. - */ + **/ unrequestPreimage: AugmentedSubmittable< (hash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; proxy: { @@ -3308,11 +3509,11 @@ declare module "@polkadot/api-base/types/submittable" { * The dispatch origin for this call must be _Signed_. * * Parameters: - * * - `proxy`: The account that the `caller` would like to make a proxy. * - `proxy_type`: The permissions allowed for this proxy account. - * - `delay`: The announcement period required of the initial proxy. Will generally be zero. - */ + * - `delay`: The announcement period required of the initial proxy. Will generally be + * zero. + **/ addProxy: AugmentedSubmittable< ( delegate: AccountId20 | string | Uint8Array, @@ -3335,8 +3536,8 @@ declare module "@polkadot/api-base/types/submittable" { /** * Publish the hash of a proxy-call that will be made in the future. * - * This must be called some number of blocks before the corresponding `proxy` is attempted if - * the delay associated with the proxy relationship is greater than zero. + * This must be called some number of blocks before the corresponding `proxy` is attempted + * if the delay associated with the proxy relationship is greater than zero. * * No more than `MaxPending` announcements may be made at any one time. * @@ -3346,10 +3547,9 @@ declare module "@polkadot/api-base/types/submittable" { * The dispatch origin for this call must be _Signed_ and a proxy of `real`. * * Parameters: - * * - `real`: The account that the proxy will make a call on behalf of. * - `call_hash`: The hash of the call to be made by the `real` account. - */ + **/ announce: AugmentedSubmittable< ( real: AccountId20 | string | Uint8Array, @@ -3358,24 +3558,25 @@ declare module "@polkadot/api-base/types/submittable" { [AccountId20, H256] >; /** - * Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and initialize - * it with a proxy of `proxy_type` for `origin` sender. + * Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and + * initialize it with a proxy of `proxy_type` for `origin` sender. * * Requires a `Signed` origin. * - * - `proxy_type`: The type of the proxy that the sender will be registered as over the new - * account. This will almost always be the most permissive `ProxyType` possible to allow for - * maximum flexibility. + * - `proxy_type`: The type of the proxy that the sender will be registered as over the + * new account. This will almost always be the most permissive `ProxyType` possible to + * allow for maximum flexibility. * - `index`: A disambiguation index, in case this is called multiple times in the same - * transaction (e.g. with `utility::batch`). Unless you're using `batch` you probably just - * want to use `0`. - * - `delay`: The announcement period required of the initial proxy. Will generally be zero. + * transaction (e.g. with `utility::batch`). Unless you're using `batch` you probably just + * want to use `0`. + * - `delay`: The announcement period required of the initial proxy. Will generally be + * zero. * - * Fails with `Duplicate` if this has already been called in this transaction, from the same - * sender, with the same parameters. + * Fails with `Duplicate` if this has already been called in this transaction, from the + * same sender, with the same parameters. * * Fails if there are insufficient funds to pay for deposit. - */ + **/ createPure: AugmentedSubmittable< ( proxyType: @@ -3398,7 +3599,8 @@ declare module "@polkadot/api-base/types/submittable" { /** * Removes a previously spawned pure proxy. * - * WARNING: **All access to this account will be lost.** Any funds held in it will be inaccessible. + * WARNING: **All access to this account will be lost.** Any funds held in it will be + * inaccessible. * * Requires a `Signed` origin, and the sender account must have been created by a call to * `pure` with corresponding parameters. @@ -3409,9 +3611,9 @@ declare module "@polkadot/api-base/types/submittable" { * - `height`: The height of the chain when the call to `pure` was processed. * - `ext_index`: The extrinsic index in which the call to `pure` was processed. * - * Fails with `NoPermission` in case the caller is not a previously created pure account whose - * `pure` call has corresponding parameters. - */ + * Fails with `NoPermission` in case the caller is not a previously created pure + * account whose `pure` call has corresponding parameters. + **/ killPure: AugmentedSubmittable< ( spawner: AccountId20 | string | Uint8Array, @@ -3434,16 +3636,16 @@ declare module "@polkadot/api-base/types/submittable" { [AccountId20, MoonbeamRuntimeProxyType, u16, Compact, Compact] >; /** - * Dispatch the given `call` from an account that the sender is authorised for through `add_proxy`. + * Dispatch the given `call` from an account that the sender is authorised for through + * `add_proxy`. * * The dispatch origin for this call must be _Signed_. * * Parameters: - * * - `real`: The account that the proxy will make a call on behalf of. * - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call. * - `call`: The call to be made by the `real` account. - */ + **/ proxy: AugmentedSubmittable< ( real: AccountId20 | string | Uint8Array, @@ -3466,18 +3668,18 @@ declare module "@polkadot/api-base/types/submittable" { [AccountId20, Option, Call] >; /** - * Dispatch the given `call` from an account that the sender is authorized for through `add_proxy`. + * Dispatch the given `call` from an account that the sender is authorized for through + * `add_proxy`. * * Removes any corresponding announcement(s). * * The dispatch origin for this call must be _Signed_. * * Parameters: - * * - `real`: The account that the proxy will make a call on behalf of. * - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call. * - `call`: The call to be made by the `real` account. - */ + **/ proxyAnnounced: AugmentedSubmittable< ( delegate: AccountId20 | string | Uint8Array, @@ -3509,10 +3711,9 @@ declare module "@polkadot/api-base/types/submittable" { * The dispatch origin for this call must be _Signed_. * * Parameters: - * * - `delegate`: The account that previously announced the call. * - `call_hash`: The hash of the call to be made. - */ + **/ rejectAnnouncement: AugmentedSubmittable< ( delegate: AccountId20 | string | Uint8Array, @@ -3523,15 +3724,15 @@ declare module "@polkadot/api-base/types/submittable" { /** * Remove a given announcement. * - * May be called by a proxy account to remove a call they previously announced and return the deposit. + * May be called by a proxy account to remove a call they previously announced and return + * the deposit. * * The dispatch origin for this call must be _Signed_. * * Parameters: - * * - `real`: The account that the proxy will make a call on behalf of. * - `call_hash`: The hash of the call to be made by the `real` account. - */ + **/ removeAnnouncement: AugmentedSubmittable< ( real: AccountId20 | string | Uint8Array, @@ -3544,9 +3745,9 @@ declare module "@polkadot/api-base/types/submittable" { * * The dispatch origin for this call must be _Signed_. * - * WARNING: This may be called on accounts created by `pure`, however if done, then the - * unreserved fees will be inaccessible. **All access to this account will be lost.** - */ + * WARNING: This may be called on accounts created by `pure`, however if done, then + * the unreserved fees will be inaccessible. **All access to this account will be lost.** + **/ removeProxies: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * Unregister a proxy account for the sender. @@ -3554,10 +3755,9 @@ declare module "@polkadot/api-base/types/submittable" { * The dispatch origin for this call must be _Signed_. * * Parameters: - * * - `proxy`: The account that the `caller` would like to remove as a proxy. * - `proxy_type`: The permissions currently enabled for the removed proxy account. - */ + **/ removeProxy: AugmentedSubmittable< ( delegate: AccountId20 | string | Uint8Array, @@ -3577,13 +3777,19 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, MoonbeamRuntimeProxyType, u32] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; randomness: { - /** Populates `RandomnessResults` due this epoch with BABE epoch randomness */ + /** + * Populates `RandomnessResults` due this epoch with BABE epoch randomness + **/ setBabeRandomnessResults: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; referenda: { @@ -3594,7 +3800,7 @@ declare module "@polkadot/api-base/types/submittable" { * - `index`: The index of the referendum to be cancelled. * * Emits `Cancelled`. - */ + **/ cancel: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -3606,7 +3812,7 @@ declare module "@polkadot/api-base/types/submittable" { * - `index`: The index of the referendum to be cancelled. * * Emits `Killed` and `DepositSlashed`. - */ + **/ kill: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -3616,7 +3822,7 @@ declare module "@polkadot/api-base/types/submittable" { * * - `origin`: must be `Root`. * - `index`: the referendum to be advanced. - */ + **/ nudgeReferendum: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -3629,10 +3835,9 @@ declare module "@polkadot/api-base/types/submittable" { * * Action item for when there is now one fewer referendum in the deciding phase and the * `DecidingCount` is not yet updated. This means that we should either: - * - * - Begin deciding another referendum (and leave `DecidingCount` alone); or - * - Decrement `DecidingCount`. - */ + * - begin deciding another referendum (and leave `DecidingCount` alone); or + * - decrement `DecidingCount`. + **/ oneFewerDeciding: AugmentedSubmittable< (track: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u16] @@ -3640,12 +3845,13 @@ declare module "@polkadot/api-base/types/submittable" { /** * Post the Decision Deposit for a referendum. * - * - `origin`: must be `Signed` and the account must have funds available for the referendum's - * track's Decision Deposit. - * - `index`: The index of the submitted referendum whose Decision Deposit is yet to be posted. + * - `origin`: must be `Signed` and the account must have funds available for the + * referendum's track's Decision Deposit. + * - `index`: The index of the submitted referendum whose Decision Deposit is yet to be + * posted. * * Emits `DecisionDepositPlaced`. - */ + **/ placeDecisionDeposit: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -3654,10 +3860,11 @@ declare module "@polkadot/api-base/types/submittable" { * Refund the Decision Deposit for a closed referendum back to the depositor. * * - `origin`: must be `Signed` or `Root`. - * - `index`: The index of a closed referendum whose Decision Deposit has not yet been refunded. + * - `index`: The index of a closed referendum whose Decision Deposit has not yet been + * refunded. * * Emits `DecisionDepositRefunded`. - */ + **/ refundDecisionDeposit: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -3666,10 +3873,11 @@ declare module "@polkadot/api-base/types/submittable" { * Refund the Submission Deposit for a closed referendum back to the depositor. * * - `origin`: must be `Signed` or `Root`. - * - `index`: The index of a closed referendum whose Submission Deposit has not yet been refunded. + * - `index`: The index of a closed referendum whose Submission Deposit has not yet been + * refunded. * * Emits `SubmissionDepositRefunded`. - */ + **/ refundSubmissionDeposit: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -3678,12 +3886,11 @@ declare module "@polkadot/api-base/types/submittable" { * Set or clear metadata of a referendum. * * Parameters: - * - * - `origin`: Must be `Signed` by a creator of a referendum or by anyone to clear a metadata of - * a finished referendum. - * - `index`: The index of a referendum to set or clear metadata for. + * - `origin`: Must be `Signed` by a creator of a referendum or by anyone to clear a + * metadata of a finished referendum. + * - `index`: The index of a referendum to set or clear metadata for. * - `maybe_hash`: The hash of an on-chain stored preimage. `None` to clear a metadata. - */ + **/ setMetadata: AugmentedSubmittable< ( index: u32 | AnyNumber | Uint8Array, @@ -3694,13 +3901,14 @@ declare module "@polkadot/api-base/types/submittable" { /** * Propose a referendum on a privileged action. * - * - `origin`: must be `SubmitOrigin` and the account must have `SubmissionDeposit` funds available. + * - `origin`: must be `SubmitOrigin` and the account must have `SubmissionDeposit` funds + * available. * - `proposal_origin`: The origin from which the proposal should be executed. * - `proposal`: The proposal. * - `enactment_moment`: The moment that the proposal should be enacted. * * Emits `Submitted`. - */ + **/ submit: AugmentedSubmittable< ( proposalOrigin: @@ -3736,21 +3944,29 @@ declare module "@polkadot/api-base/types/submittable" { FrameSupportScheduleDispatchTime ] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; rootTesting: { - /** A dispatch that will fill the block weight up to the given ratio. */ + /** + * A dispatch that will fill the block weight up to the given ratio. + **/ fillBlock: AugmentedSubmittable< (ratio: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Perbill] >; triggerDefensive: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; scheduler: { - /** Cancel an anonymously scheduled task. */ + /** + * Cancel an anonymously scheduled task. + **/ cancel: AugmentedSubmittable< ( when: u32 | AnyNumber | Uint8Array, @@ -3758,24 +3974,32 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u32, u32] >; - /** Cancel a named scheduled task. */ + /** + * Cancel a named scheduled task. + **/ cancelNamed: AugmentedSubmittable< (id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic, [U8aFixed] >; - /** Removes the retry configuration of a task. */ + /** + * Removes the retry configuration of a task. + **/ cancelRetry: AugmentedSubmittable< ( task: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array] ) => SubmittableExtrinsic, [ITuple<[u32, u32]>] >; - /** Cancel the retry configuration of a named task. */ + /** + * Cancel the retry configuration of a named task. + **/ cancelRetryNamed: AugmentedSubmittable< (id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic, [U8aFixed] >; - /** Anonymously schedule a task. */ + /** + * Anonymously schedule a task. + **/ schedule: AugmentedSubmittable< ( when: u32 | AnyNumber | Uint8Array, @@ -3790,7 +4014,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u32, Option>, u8, Call] >; - /** Anonymously schedule a task after a delay. */ + /** + * Anonymously schedule a task after a delay. + **/ scheduleAfter: AugmentedSubmittable< ( after: u32 | AnyNumber | Uint8Array, @@ -3805,7 +4031,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u32, Option>, u8, Call] >; - /** Schedule a named task. */ + /** + * Schedule a named task. + **/ scheduleNamed: AugmentedSubmittable< ( id: U8aFixed | string | Uint8Array, @@ -3821,7 +4049,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [U8aFixed, u32, Option>, u8, Call] >; - /** Schedule a named task after a delay. */ + /** + * Schedule a named task after a delay. + **/ scheduleNamedAfter: AugmentedSubmittable< ( id: U8aFixed | string | Uint8Array, @@ -3838,17 +4068,19 @@ declare module "@polkadot/api-base/types/submittable" { [U8aFixed, u32, Option>, u8, Call] >; /** - * Set a retry configuration for a task so that, in case its scheduled run fails, it will be - * retried after `period` blocks, for a total amount of `retries` retries or until it succeeds. + * Set a retry configuration for a task so that, in case its scheduled run fails, it will + * be retried after `period` blocks, for a total amount of `retries` retries or until it + * succeeds. * * Tasks which need to be scheduled for a retry are still subject to weight metering and * agenda space, same as a regular task. If a periodic task fails, it will be scheduled * normally while the task is retrying. * - * Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic clones - * of the original task. Their retry configuration will be derived from the original task's - * configuration, but will have a lower value for `remaining` than the original `total_retries`. - */ + * Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic + * clones of the original task. Their retry configuration will be derived from the + * original task's configuration, but will have a lower value for `remaining` than the + * original `total_retries`. + **/ setRetry: AugmentedSubmittable< ( task: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], @@ -3859,16 +4091,18 @@ declare module "@polkadot/api-base/types/submittable" { >; /** * Set a retry configuration for a named task so that, in case its scheduled run fails, it - * will be retried after `period` blocks, for a total amount of `retries` retries or until it succeeds. + * will be retried after `period` blocks, for a total amount of `retries` retries or until + * it succeeds. * * Tasks which need to be scheduled for a retry are still subject to weight metering and * agenda space, same as a regular task. If a periodic task fails, it will be scheduled * normally while the task is retrying. * - * Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic clones - * of the original task. Their retry configuration will be derived from the original task's - * configuration, but will have a lower value for `remaining` than the original `total_retries`. - */ + * Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic + * clones of the original task. Their retry configuration will be derived from the + * original task's configuration, but will have a lower value for `remaining` than the + * original `total_retries`. + **/ setRetryNamed: AugmentedSubmittable< ( id: U8aFixed | string | Uint8Array, @@ -3877,43 +4111,47 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [U8aFixed, u8, u32] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; system: { /** * Provide the preimage (runtime binary) `code` for an upgrade that has been authorized. * - * If the authorization required a version check, this call will ensure the spec name remains - * unchanged and that the spec version has increased. + * If the authorization required a version check, this call will ensure the spec name + * remains unchanged and that the spec version has increased. * - * Depending on the runtime's `OnSetCode` configuration, this function may directly apply the - * new `code` in the same block or attempt to schedule the upgrade. + * Depending on the runtime's `OnSetCode` configuration, this function may directly apply + * the new `code` in the same block or attempt to schedule the upgrade. * * All origins are allowed. - */ + **/ applyAuthorizedUpgrade: AugmentedSubmittable< (code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; /** - * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied later. + * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied + * later. * * This call requires Root origin. - */ + **/ authorizeUpgrade: AugmentedSubmittable< (codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] >; /** - * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied later. + * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied + * later. * * WARNING: This authorizes an upgrade that will take place without any safety checks, for * example that the spec name remains the same and that the version number increases. Not * recommended for normal use. Use `authorize_upgrade` instead. * * This call requires Root origin. - */ + **/ authorizeUpgradeWithoutChecks: AugmentedSubmittable< (codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] @@ -3921,9 +4159,9 @@ declare module "@polkadot/api-base/types/submittable" { /** * Kill all storage items with a key that starts with the given prefix. * - * **NOTE:** We rely on the Root origin to provide us the number of subkeys under the prefix - * we are removing to accurately calculate the weight of this function. - */ + * **NOTE:** We rely on the Root origin to provide us the number of subkeys under + * the prefix we are removing to accurately calculate the weight of this function. + **/ killPrefix: AugmentedSubmittable< ( prefix: Bytes | string | Uint8Array, @@ -3931,7 +4169,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Bytes, u32] >; - /** Kill some items from storage. */ + /** + * Kill some items from storage. + **/ killStorage: AugmentedSubmittable< (keys: Vec | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec] @@ -3940,17 +4180,21 @@ declare module "@polkadot/api-base/types/submittable" { * Make some on-chain remark. * * Can be executed by every `origin`. - */ + **/ remark: AugmentedSubmittable< (remark: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** Make some on-chain remark and emit event. */ + /** + * Make some on-chain remark and emit event. + **/ remarkWithEvent: AugmentedSubmittable< (remark: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** Set the new runtime code. */ + /** + * Set the new runtime code. + **/ setCode: AugmentedSubmittable< (code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] @@ -3958,18 +4202,23 @@ declare module "@polkadot/api-base/types/submittable" { /** * Set the new runtime code without doing any checks of the given `code`. * - * Note that runtime upgrades will not run if this is called with a not-increasing spec version! - */ + * Note that runtime upgrades will not run if this is called with a not-increasing spec + * version! + **/ setCodeWithoutChecks: AugmentedSubmittable< (code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** Set the number of pages in the WebAssembly environment's heap. */ + /** + * Set the number of pages in the WebAssembly environment's heap. + **/ setHeapPages: AugmentedSubmittable< (pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u64] >; - /** Set some items of storage. */ + /** + * Set some items of storage. + **/ setStorage: AugmentedSubmittable< ( items: @@ -3978,7 +4227,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Vec>] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; timestamp: { @@ -3993,21 +4244,23 @@ declare module "@polkadot/api-base/types/submittable" { * * The dispatch origin for this call must be _None_. * - * This dispatch class is _Mandatory_ to ensure it gets executed in the block. Be aware that - * changing the complexity of this call could result exhausting the resources in a block to - * execute any other calls. + * This dispatch class is _Mandatory_ to ensure it gets executed in the block. Be aware + * that changing the complexity of this call could result exhausting the resources in a + * block to execute any other calls. * * ## Complexity - * * - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`) - * - 1 storage read and 1 storage mutation (codec `O(1)` because of `DidUpdate::take` in `on_finalize`) + * - 1 storage read and 1 storage mutation (codec `O(1)` because of `DidUpdate::take` in + * `on_finalize`) * - 1 event handler `on_timestamp_set`. Must be `O(1)`. - */ + **/ set: AugmentedSubmittable< (now: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; treasury: { @@ -4020,19 +4273,18 @@ declare module "@polkadot/api-base/types/submittable" { * * ## Details * - * The status check is a prerequisite for retrying a failed payout. If a spend has either - * succeeded or expired, it is removed from the storage by this function. In such instances, - * transaction fees are refunded. + * The status check is a prerequisite for retrying a failed payout. + * If a spend has either succeeded or expired, it is removed from the storage by this + * function. In such instances, transaction fees are refunded. * * ### Parameters - * * - `index`: The spend index. * * ## Events * - * Emits [`Event::PaymentFailed`] if the spend payout has failed. Emits - * [`Event::SpendProcessed`] if the spend payout has succeed. - */ + * Emits [`Event::PaymentFailed`] if the spend payout has failed. + * Emits [`Event::SpendProcessed`] if the spend payout has succeed. + **/ checkStatus: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -4047,18 +4299,17 @@ declare module "@polkadot/api-base/types/submittable" { * ## Details * * Spends must be claimed within some temporal bounds. A spend may be claimed within one - * [`Config::PayoutPeriod`] from the `valid_from` block. In case of a payout failure, the - * spend status must be updated with the `check_status` dispatchable before retrying with the - * current function. + * [`Config::PayoutPeriod`] from the `valid_from` block. + * In case of a payout failure, the spend status must be updated with the `check_status` + * dispatchable before retrying with the current function. * * ### Parameters - * * - `index`: The spend index. * * ## Events * * Emits [`Event::Paid`] if successful. - */ + **/ payout: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -4075,19 +4326,17 @@ declare module "@polkadot/api-base/types/submittable" { * The original deposit will no longer be returned. * * ### Parameters - * * - `proposal_id`: The index of a proposal * * ### Complexity - * * - O(A) where `A` is the number of approvals * * ### Errors - * - * - [`Error::ProposalNotApproved`]: The `proposal_id` supplied was not found in the approval - * queue, i.e., the proposal has not been approved. This could also mean the proposal does - * not exist altogether, thus there is no way it would have been approved in the first place. - */ + * - [`Error::ProposalNotApproved`]: The `proposal_id` supplied was not found in the + * approval queue, i.e., the proposal has not been approved. This could also mean the + * proposal does not exist altogether, thus there is no way it would have been approved + * in the first place. + **/ removeApproval: AugmentedSubmittable< (proposalId: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -4097,9 +4346,9 @@ declare module "@polkadot/api-base/types/submittable" { * * ## Dispatch Origin * - * Must be [`Config::SpendOrigin`] with the `Success` value being at least `amount` of - * `asset_kind` in the native asset. The amount of `asset_kind` is converted for assertion - * using the [`Config::BalanceConverter`]. + * Must be [`Config::SpendOrigin`] with the `Success` value being at least + * `amount` of `asset_kind` in the native asset. The amount of `asset_kind` is converted + * for assertion using the [`Config::BalanceConverter`]. * * ## Details * @@ -4108,18 +4357,18 @@ declare module "@polkadot/api-base/types/submittable" { * the [`Config::PayoutPeriod`]. * * ### Parameters - * * - `asset_kind`: An indicator of the specific asset class to be spent. * - `amount`: The amount to be transferred from the treasury to the `beneficiary`. * - `beneficiary`: The beneficiary of the spend. - * - `valid_from`: The block number from which the spend can be claimed. It can refer to the - * past if the resulting spend has not yet expired according to the - * [`Config::PayoutPeriod`]. If `None`, the spend can be claimed immediately after approval. + * - `valid_from`: The block number from which the spend can be claimed. It can refer to + * the past if the resulting spend has not yet expired according to the + * [`Config::PayoutPeriod`]. If `None`, the spend can be claimed immediately after + * approval. * * ## Events * * Emits [`Event::AssetSpendApproved`] if successful. - */ + **/ spend: AugmentedSubmittable< ( assetKind: Null | null, @@ -4137,18 +4386,17 @@ declare module "@polkadot/api-base/types/submittable" { * Must be [`Config::SpendOrigin`] with the `Success` value being at least `amount`. * * ### Details - * - * NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the beneficiary. + * NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the + * beneficiary. * * ### Parameters - * * - `amount`: The amount to be transferred from the treasury to the `beneficiary`. * - `beneficiary`: The destination account for the transfer. * * ## Events * * Emits [`Event::SpendApproved`] if successful. - */ + **/ spendLocal: AugmentedSubmittable< ( amount: Compact | AnyNumber | Uint8Array, @@ -4168,18 +4416,19 @@ declare module "@polkadot/api-base/types/submittable" { * A spend void is only possible if the payout has not been attempted yet. * * ### Parameters - * * - `index`: The spend index. * * ## Events * * Emits [`Event::AssetSpendVoided`] if successful. - */ + **/ voidSpend: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; treasuryCouncilCollective: { @@ -4188,27 +4437,27 @@ declare module "@polkadot/api-base/types/submittable" { * * May be called by any signed account in order to finish voting and close the proposal. * - * If called before the end of the voting period it will only close the vote if it is has - * enough votes to be approved or disapproved. + * If called before the end of the voting period it will only close the vote if it is + * has enough votes to be approved or disapproved. * - * If called after the end of the voting period abstentions are counted as rejections unless - * there is a prime member set and the prime member cast an approval. + * If called after the end of the voting period abstentions are counted as rejections + * unless there is a prime member set and the prime member cast an approval. * - * If the close operation completes successfully with disapproval, the transaction fee will be - * waived. Otherwise execution of the approved operation will be charged to the caller. + * If the close operation completes successfully with disapproval, the transaction fee will + * be waived. Otherwise execution of the approved operation will be charged to the caller. * - * - `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed proposal. - * - `length_bound`: The upper bound for the length of the proposal in storage. Checked via - * `storage::read` so it is `size_of::() == 4` larger than the pure length. + * + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed + * proposal. + * + `length_bound`: The upper bound for the length of the proposal in storage. Checked via + * `storage::read` so it is `size_of::() == 4` larger than the pure length. * * ## Complexity - * * - `O(B + M + P1 + P2)` where: * - `B` is `proposal` size in bytes (length-fee-bounded) * - `M` is members-count (code- and governance-bounded) * - `P1` is the complexity of `proposal` preimage. * - `P2` is proposal-count (code-bounded) - */ + **/ close: AugmentedSubmittable< ( proposalHash: H256 | string | Uint8Array, @@ -4223,18 +4472,17 @@ declare module "@polkadot/api-base/types/submittable" { [H256, Compact, SpWeightsWeightV2Weight, Compact] >; /** - * Disapprove a proposal, close, and remove it from the system, regardless of its current state. + * Disapprove a proposal, close, and remove it from the system, regardless of its current + * state. * * Must be called by the Root origin. * * Parameters: - * - * - `proposal_hash`: The hash of the proposal that should be disapproved. + * * `proposal_hash`: The hash of the proposal that should be disapproved. * * ## Complexity - * * O(P) where P is the number of max proposals - */ + **/ disapproveProposal: AugmentedSubmittable< (proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] @@ -4245,12 +4493,11 @@ declare module "@polkadot/api-base/types/submittable" { * Origin must be a member of the collective. * * ## Complexity: - * * - `O(B + M + P)` where: * - `B` is `proposal` size in bytes (length-fee-bounded) * - `M` members-count (code-bounded) * - `P` complexity of dispatching `proposal` - */ + **/ execute: AugmentedSubmittable< ( proposal: Call | IMethod | string | Uint8Array, @@ -4263,18 +4510,17 @@ declare module "@polkadot/api-base/types/submittable" { * * Requires the sender to be member. * - * `threshold` determines whether `proposal` is executed directly (`threshold < 2`) or put up - * for voting. + * `threshold` determines whether `proposal` is executed directly (`threshold < 2`) + * or put up for voting. * * ## Complexity - * * - `O(B + M + P1)` or `O(B + M + P2)` where: * - `B` is `proposal` size in bytes (length-fee-bounded) * - `M` is members-count (code- and governance-bounded) - * - Branching is influenced by `threshold` where: + * - branching is influenced by `threshold` where: * - `P1` is proposal execution complexity (`threshold < 2`) * - `P2` is proposals-count (code-bounded) (`threshold >= 2`) - */ + **/ propose: AugmentedSubmittable< ( threshold: Compact | AnyNumber | Uint8Array, @@ -4288,27 +4534,27 @@ declare module "@polkadot/api-base/types/submittable" { * * - `new_members`: The new member list. Be nice to the chain and provide it sorted. * - `prime`: The prime member whose vote sets the default. - * - `old_count`: The upper bound for the previous number of members in storage. Used for weight - * estimation. + * - `old_count`: The upper bound for the previous number of members in storage. Used for + * weight estimation. * * The dispatch of this call must be `SetMembersOrigin`. * - * NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but the - * weight estimations rely on it to estimate dispatchable weight. + * NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but + * the weight estimations rely on it to estimate dispatchable weight. * * # WARNING: * * The `pallet-collective` can also be managed by logic outside of the pallet through the - * implementation of the trait [`ChangeMembers`]. Any call to `set_members` must be careful - * that the member set doesn't get out of sync with other logic managing the member set. + * implementation of the trait [`ChangeMembers`]. + * Any call to `set_members` must be careful that the member set doesn't get out of sync + * with other logic managing the member set. * * ## Complexity: - * * - `O(MP + N)` where: * - `M` old-members-count (code- and governance-bounded) * - `N` new-members-count (code- and governance-bounded) * - `P` proposals-count (code-bounded) - */ + **/ setMembers: AugmentedSubmittable< ( newMembers: Vec | (AccountId20 | string | Uint8Array)[], @@ -4322,13 +4568,12 @@ declare module "@polkadot/api-base/types/submittable" { * * Requires the sender to be a member. * - * Transaction fees will be waived if the member is voting on any particular proposal for the - * first time and the call is successful. Subsequent vote changes will charge a fee. - * + * Transaction fees will be waived if the member is voting on any particular proposal + * for the first time and the call is successful. Subsequent vote changes will charge a + * fee. * ## Complexity - * * - `O(M)` where `M` is members-count (code- and governance-bounded) - */ + **/ vote: AugmentedSubmittable< ( proposal: H256 | string | Uint8Array, @@ -4337,25 +4582,27 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [H256, Compact, bool] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; utility: { /** * Send a call through an indexed pseudonym of the sender. * - * Filter from origin are passed along. The call will be dispatched with an origin which use - * the same filter as the origin of this call. + * Filter from origin are passed along. The call will be dispatched with an origin which + * use the same filter as the origin of this call. * - * NOTE: If you need to ensure that any account-based filtering is not honored (i.e. because - * you expect `proxy` to have been used prior in the call stack and you do not want the call - * restrictions to apply to any sub-accounts), then use `as_multi_threshold_1` in the Multisig - * pallet instead. + * NOTE: If you need to ensure that any account-based filtering is not honored (i.e. + * because you expect `proxy` to have been used prior in the call stack and you do not want + * the call restrictions to apply to any sub-accounts), then use `as_multi_threshold_1` + * in the Multisig pallet instead. * * NOTE: Prior to version *12, this was called `as_limited_sub`. * * The dispatch origin for this call must be _Signed_. - */ + **/ asDerivative: AugmentedSubmittable< ( index: u16 | AnyNumber | Uint8Array, @@ -4369,20 +4616,20 @@ declare module "@polkadot/api-base/types/submittable" { * May be called from any origin except `None`. * * - `calls`: The calls to be dispatched from the same origin. The number of call must not - * exceed the constant: `batched_calls_limit` (available in constant metadata). + * exceed the constant: `batched_calls_limit` (available in constant metadata). * * If origin is root then the calls are dispatched without checking origin filter. (This * includes bypassing `frame_system::Config::BaseCallFilter`). * * ## Complexity - * * - O(C) where C is the number of calls to be batched. * - * This will return `Ok` in all circumstances. To determine the success of the batch, an event - * is deposited. If a call failed and the batch was interrupted, then the `BatchInterrupted` - * event is deposited, along with the number of successful calls made and the error of the - * failed call. If all were successful, then the `BatchCompleted` event is deposited. - */ + * This will return `Ok` in all circumstances. To determine the success of the batch, an + * event is deposited. If a call failed and the batch was interrupted, then the + * `BatchInterrupted` event is deposited, along with the number of successful calls made + * and the error of the failed call. If all were successful, then the `BatchCompleted` + * event is deposited. + **/ batch: AugmentedSubmittable< ( calls: Vec | (Call | IMethod | string | Uint8Array)[] @@ -4390,21 +4637,20 @@ declare module "@polkadot/api-base/types/submittable" { [Vec] >; /** - * Send a batch of dispatch calls and atomically execute them. The whole transaction will - * rollback and fail if any of the calls failed. + * Send a batch of dispatch calls and atomically execute them. + * The whole transaction will rollback and fail if any of the calls failed. * * May be called from any origin except `None`. * * - `calls`: The calls to be dispatched from the same origin. The number of call must not - * exceed the constant: `batched_calls_limit` (available in constant metadata). + * exceed the constant: `batched_calls_limit` (available in constant metadata). * * If origin is root then the calls are dispatched without checking origin filter. (This * includes bypassing `frame_system::Config::BaseCallFilter`). * * ## Complexity - * * - O(C) where C is the number of calls to be batched. - */ + **/ batchAll: AugmentedSubmittable< ( calls: Vec | (Call | IMethod | string | Uint8Array)[] @@ -4417,9 +4663,8 @@ declare module "@polkadot/api-base/types/submittable" { * The dispatch origin for this call must be _Root_. * * ## Complexity - * * - O(1). - */ + **/ dispatchAs: AugmentedSubmittable< ( asOrigin: @@ -4440,20 +4685,20 @@ declare module "@polkadot/api-base/types/submittable" { [MoonbeamRuntimeOriginCaller, Call] >; /** - * Send a batch of dispatch calls. Unlike `batch`, it allows errors and won't interrupt. + * Send a batch of dispatch calls. + * Unlike `batch`, it allows errors and won't interrupt. * * May be called from any origin except `None`. * * - `calls`: The calls to be dispatched from the same origin. The number of call must not - * exceed the constant: `batched_calls_limit` (available in constant metadata). + * exceed the constant: `batched_calls_limit` (available in constant metadata). * * If origin is root then the calls are dispatch without checking origin filter. (This * includes bypassing `frame_system::Config::BaseCallFilter`). * * ## Complexity - * * - O(C) where C is the number of calls to be batched. - */ + **/ forceBatch: AugmentedSubmittable< ( calls: Vec | (Call | IMethod | string | Uint8Array)[] @@ -4463,11 +4708,11 @@ declare module "@polkadot/api-base/types/submittable" { /** * Dispatch a function call with a specified weight. * - * This function does not check the weight of the call, and instead allows the Root origin to - * specify the weight of the call. + * This function does not check the weight of the call, and instead allows the + * Root origin to specify the weight of the call. * * The dispatch origin for this call must be _Root_. - */ + **/ withWeight: AugmentedSubmittable< ( call: Call | IMethod | string | Uint8Array, @@ -4475,7 +4720,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Call, SpWeightsWeightV2Weight] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; whitelist: { @@ -4503,19 +4750,23 @@ declare module "@polkadot/api-base/types/submittable" { (callHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; xcmTransactor: { /** * De-Register a derivative index. This prevents an account to use a derivative address * (represented by an index) from our of our sovereign accounts anymore - */ + **/ deregister: AugmentedSubmittable< (index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u16] >; - /** Manage HRMP operations */ + /** + * Manage HRMP operations + **/ hrmpManage: AugmentedSubmittable< ( action: @@ -4544,14 +4795,15 @@ declare module "@polkadot/api-base/types/submittable" { ] >; /** - * Register a derivative index for an account id. Dispatchable by DerivativeAddressRegistrationOrigin + * Register a derivative index for an account id. Dispatchable by + * DerivativeAddressRegistrationOrigin * - * We do not store the derivative address, but only the index. We do not need to store the - * derivative address to issue calls, only the index is enough + * We do not store the derivative address, but only the index. We do not need to store + * the derivative address to issue calls, only the index is enough * - * For now an index is registered for all possible destinations and not per-destination. We - * can change this in the future although it would just make things more complicated - */ + * For now an index is registered for all possible destinations and not per-destination. + * We can change this in the future although it would just make things more complicated + **/ register: AugmentedSubmittable< ( who: AccountId20 | string | Uint8Array, @@ -4559,7 +4811,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u16] >; - /** Remove the fee per second of an asset on its reserve chain */ + /** + * Remove the fee per second of an asset on its reserve chain + **/ removeFeePerSecond: AugmentedSubmittable< ( assetLocation: @@ -4572,7 +4826,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation] >; - /** Remove the transact info of a location */ + /** + * Remove the transact info of a location + **/ removeTransactInfo: AugmentedSubmittable< ( location: @@ -4585,7 +4841,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation] >; - /** Set the fee per second of an asset on its reserve chain */ + /** + * Set the fee per second of an asset on its reserve chain + **/ setFeePerSecond: AugmentedSubmittable< ( assetLocation: @@ -4599,7 +4857,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation, u128] >; - /** Change the transact info of a location */ + /** + * Change the transact info of a location + **/ setTransactInfo: AugmentedSubmittable< ( location: @@ -4635,12 +4895,12 @@ declare module "@polkadot/api-base/types/submittable" { ] >; /** - * Transact the inner call through a derivative account in a destination chain, using - * 'fee_location' to pay for the fees. This fee_location is given as a multilocation + * Transact the inner call through a derivative account in a destination chain, + * using 'fee_location' to pay for the fees. This fee_location is given as a multilocation * - * The caller needs to have the index registered in this pallet. The fee multiasset needs to - * be a reserve asset for the destination transactor::multilocation. - */ + * The caller needs to have the index registered in this pallet. The fee multiasset needs + * to be a reserve asset for the destination transactor::multilocation. + **/ transactThroughDerivative: AugmentedSubmittable< ( dest: MoonbeamRuntimeXcmConfigTransactors | "Relay" | number | Uint8Array, @@ -4668,12 +4928,12 @@ declare module "@polkadot/api-base/types/submittable" { ] >; /** - * Transact the call through the a signed origin in this chain that should be converted to a - * transaction dispatch account in the destination chain by any method implemented in the - * destination chains runtime + * Transact the call through the a signed origin in this chain + * that should be converted to a transaction dispatch account in the destination chain + * by any method implemented in the destination chains runtime * * This time we are giving the currency as a currencyId instead of multilocation - */ + **/ transactThroughSigned: AugmentedSubmittable< ( dest: @@ -4705,10 +4965,11 @@ declare module "@polkadot/api-base/types/submittable" { ] >; /** - * Transact the call through the sovereign account in a destination chain, 'fee_payer' pays for the fee + * Transact the call through the sovereign account in a destination chain, + * 'fee_payer' pays for the fee * * SovereignAccountDispatcherOrigin callable only - */ + **/ transactThroughSovereign: AugmentedSubmittable< ( dest: @@ -4750,7 +5011,9 @@ declare module "@polkadot/api-base/types/submittable" { bool ] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; xcmWeightTrader: { @@ -4786,7 +5049,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [StagingXcmV4Location] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; } // AugmentedSubmittables diff --git a/typescript-api/src/moonbeam/interfaces/augment-types.ts b/typescript-api/src/moonbeam/interfaces/augment-types.ts index 78a1a1dfc4..69009fb9c5 100644 --- a/typescript-api/src/moonbeam/interfaces/augment-types.ts +++ b/typescript-api/src/moonbeam/interfaces/augment-types.ts @@ -48,7 +48,7 @@ import type { u32, u64, u8, - usize, + usize } from "@polkadot/types-codec"; import type { TAssetConversion } from "@polkadot/types/interfaces/assetConversion"; import type { @@ -59,12 +59,12 @@ import type { AssetDetails, AssetMetadata, TAssetBalance, - TAssetDepositBalance, + TAssetDepositBalance } from "@polkadot/types/interfaces/assets"; import type { BlockAttestations, IncludedBlocks, - MoreAttestations, + MoreAttestations } from "@polkadot/types/interfaces/attestations"; import type { RawAuraPreDigest } from "@polkadot/types/interfaces/aura"; import type { ExtrinsicOrHash, ExtrinsicStatus } from "@polkadot/types/interfaces/author"; @@ -97,7 +97,7 @@ import type { SlotNumber, VrfData, VrfOutput, - VrfProof, + VrfProof } from "@polkadot/types/interfaces/babe"; import type { AccountData, @@ -108,7 +108,7 @@ import type { ReserveData, ReserveIdentifier, VestingSchedule, - WithdrawReasons, + WithdrawReasons } from "@polkadot/types/interfaces/balances"; import type { BeefyAuthoritySet, @@ -124,7 +124,7 @@ import type { BeefyVoteMessage, MmrRootHash, ValidatorSet, - ValidatorSetId, + ValidatorSetId } from "@polkadot/types/interfaces/beefy"; import type { BenchmarkBatch, @@ -132,12 +132,12 @@ import type { BenchmarkList, BenchmarkMetadata, BenchmarkParameter, - BenchmarkResult, + BenchmarkResult } from "@polkadot/types/interfaces/benchmark"; import type { CheckInherentsResult, InherentData, - InherentIdentifier, + InherentIdentifier } from "@polkadot/types/interfaces/blockbuilder"; import type { BridgeMessageId, @@ -164,7 +164,7 @@ import type { Parameter, RelayerId, UnrewardedRelayer, - UnrewardedRelayersState, + UnrewardedRelayersState } from "@polkadot/types/interfaces/bridges"; import type { BlockHash } from "@polkadot/types/interfaces/chain"; import type { PrefixedStorageKey } from "@polkadot/types/interfaces/childstate"; @@ -174,7 +174,7 @@ import type { MemberCount, ProposalIndex, Votes, - VotesTo230, + VotesTo230 } from "@polkadot/types/interfaces/collective"; import type { AuthorityId, RawVRFOutput } from "@polkadot/types/interfaces/consensus"; import type { @@ -225,7 +225,7 @@ import type { SeedOf, StorageDeposit, TombstoneContractInfo, - TrieId, + TrieId } from "@polkadot/types/interfaces/contracts"; import type { ContractConstructorSpecLatest, @@ -283,13 +283,13 @@ import type { ContractProjectV0, ContractSelector, ContractStorageLayout, - ContractTypeSpec, + ContractTypeSpec } from "@polkadot/types/interfaces/contractsAbi"; import type { FundIndex, FundInfo, LastContribution, - TrieIndex, + TrieIndex } from "@polkadot/types/interfaces/crowdloan"; import type { CollationInfo, @@ -298,7 +298,7 @@ import type { MessageId, OverweightIndex, PageCounter, - PageIndexData, + PageIndexData } from "@polkadot/types/interfaces/cumulus"; import type { AccountVote, @@ -321,7 +321,7 @@ import type { Voting, VotingDelegating, VotingDirect, - VotingDirectVote, + VotingDirectVote } from "@polkadot/types/interfaces/democracy"; import type { BlockStats } from "@polkadot/types/interfaces/dev"; import type { @@ -329,7 +329,7 @@ import type { DispatchResultWithPostInfo, PostDispatchInfo, XcmDryRunApiError, - XcmDryRunEffects, + XcmDryRunEffects } from "@polkadot/types/interfaces/dryRunApi"; import type { ApprovalFlag, @@ -339,7 +339,7 @@ import type { Vote, VoteIndex, VoteThreshold, - VoterInfo, + VoterInfo } from "@polkadot/types/interfaces/elections"; import type { CreatedBlock, ImportedAux } from "@polkadot/types/interfaces/engine"; import type { @@ -389,7 +389,7 @@ import type { LegacyTransaction, TransactionV0, TransactionV1, - TransactionV2, + TransactionV2 } from "@polkadot/types/interfaces/eth"; import type { EvmAccount, @@ -404,7 +404,7 @@ import type { ExitFatal, ExitReason, ExitRevert, - ExitSucceed, + ExitSucceed } from "@polkadot/types/interfaces/evm"; import type { AnySignature, @@ -428,7 +428,7 @@ import type { MultiSignature, Signature, SignerPayload, - Sr25519Signature, + Sr25519Signature } from "@polkadot/types/interfaces/extrinsics"; import type { FungiblesAccessError } from "@polkadot/types/interfaces/fungibles"; import type { @@ -436,14 +436,14 @@ import type { Owner, PermissionLatest, PermissionVersions, - PermissionsV1, + PermissionsV1 } from "@polkadot/types/interfaces/genericAsset"; import type { GenesisBuildErr } from "@polkadot/types/interfaces/genesisBuilder"; import type { ActiveGilt, ActiveGiltsTotal, ActiveIndex, - GiltBid, + GiltBid } from "@polkadot/types/interfaces/gilt"; import type { AuthorityIndex, @@ -477,7 +477,7 @@ import type { RoundState, SetId, StoredPendingChange, - StoredState, + StoredState } from "@polkadot/types/interfaces/grandpa"; import type { IdentityFields, @@ -489,7 +489,7 @@ import type { RegistrarInfo, Registration, RegistrationJudgement, - RegistrationTo198, + RegistrationTo198 } from "@polkadot/types/interfaces/identity"; import type { AuthIndex, @@ -498,7 +498,7 @@ import type { HeartbeatTo244, OpaqueMultiaddr, OpaqueNetworkState, - OpaquePeerId, + OpaquePeerId } from "@polkadot/types/interfaces/imOnline"; import type { CallIndex, LotteryConfig } from "@polkadot/types/interfaces/lottery"; import type { @@ -612,13 +612,13 @@ import type { StorageMetadataV11, StorageMetadataV12, StorageMetadataV13, - StorageMetadataV9, + StorageMetadataV9 } from "@polkadot/types/interfaces/metadata"; import type { Mixnode, MixnodesErr, SessionPhase, - SessionStatus, + SessionStatus } from "@polkadot/types/interfaces/mixnet"; import type { MmrBatchProof, @@ -629,7 +629,7 @@ import type { MmrLeafIndex, MmrLeafProof, MmrNodeIndex, - MmrProof, + MmrProof } from "@polkadot/types/interfaces/mmr"; import type { NftCollectionId, NftItemId } from "@polkadot/types/interfaces/nfts"; import type { NpApiError, NpPoolId } from "@polkadot/types/interfaces/nompools"; @@ -641,7 +641,7 @@ import type { Offender, OpaqueTimeSlot, ReportIdOf, - Reporter, + Reporter } from "@polkadot/types/interfaces/offences"; import type { AbridgedCandidateReceipt, @@ -782,20 +782,20 @@ import type { WinnersDataTuple10, WinningData, WinningData10, - WinningDataEntry, + WinningDataEntry } from "@polkadot/types/interfaces/parachains"; import type { FeeDetails, InclusionFee, RuntimeDispatchInfo, RuntimeDispatchInfoV1, - RuntimeDispatchInfoV2, + RuntimeDispatchInfoV2 } from "@polkadot/types/interfaces/payment"; import type { Approvals } from "@polkadot/types/interfaces/poll"; import type { ProxyAnnouncement, ProxyDefinition, - ProxyType, + ProxyType } from "@polkadot/types/interfaces/proxy"; import type { AccountStatus, AccountValidity } from "@polkadot/types/interfaces/purchase"; import type { ActiveRecovery, RecoveryConfig } from "@polkadot/types/interfaces/recovery"; @@ -901,7 +901,7 @@ import type { WeightMultiplier, WeightV0, WeightV1, - WeightV2, + WeightV2 } from "@polkadot/types/interfaces/runtime"; import type { Si0Field, @@ -949,7 +949,7 @@ import type { SiTypeDefTuple, SiTypeDefVariant, SiTypeParameter, - SiVariant, + SiVariant } from "@polkadot/types/interfaces/scaleInfo"; import type { Period, @@ -958,7 +958,7 @@ import type { SchedulePriority, Scheduled, ScheduledTo254, - TaskAddress, + TaskAddress } from "@polkadot/types/interfaces/scheduler"; import type { BeefyKey, @@ -982,7 +982,7 @@ import type { SessionKeys8B, SessionKeys9, SessionKeys9B, - ValidatorCount, + ValidatorCount } from "@polkadot/types/interfaces/session"; import type { Bid, @@ -990,7 +990,7 @@ import type { SocietyJudgement, SocietyVote, StrikeCount, - VouchingStatus, + VouchingStatus } from "@polkadot/types/interfaces/society"; import type { ActiveEraInfo, @@ -1060,7 +1060,7 @@ import type { ValidatorPrefsWithBlocked, ValidatorPrefsWithCommission, VoteWeight, - Voter, + Voter } from "@polkadot/types/interfaces/staking"; import type { ApiId, @@ -1079,12 +1079,12 @@ import type { SpecVersion, StorageChangeSet, TraceBlockResponse, - TraceError, + TraceError } from "@polkadot/types/interfaces/state"; import type { StatementStoreInvalidStatement, StatementStoreStatementSource, - StatementStoreValidStatement, + StatementStoreValidStatement } from "@polkadot/types/interfaces/statement"; import type { WeightToFeeCoefficient } from "@polkadot/types/interfaces/support"; import type { @@ -1151,7 +1151,7 @@ import type { TransactionValidityError, TransactionalError, UnknownTransaction, - WeightPerClass, + WeightPerClass } from "@polkadot/types/interfaces/system"; import type { Bounty, @@ -1164,13 +1164,13 @@ import type { OpenTipFinderTo225, OpenTipTip, OpenTipTo225, - TreasuryProposal, + TreasuryProposal } from "@polkadot/types/interfaces/treasury"; import type { Multiplier } from "@polkadot/types/interfaces/txpayment"; import type { TransactionSource, TransactionValidity, - ValidTransaction, + ValidTransaction } from "@polkadot/types/interfaces/txqueue"; import type { ClassDetails, @@ -1181,7 +1181,7 @@ import type { DestroyWitness, InstanceDetails, InstanceId, - InstanceMetadata, + InstanceMetadata } from "@polkadot/types/interfaces/uniques"; import type { Multisig, Timepoint } from "@polkadot/types/interfaces/utility"; import type { VestingInfo } from "@polkadot/types/interfaces/vesting"; @@ -1319,7 +1319,7 @@ import type { XcmV3, XcmV4, XcmVersion, - XcmpMessageFormat, + XcmpMessageFormat } from "@polkadot/types/interfaces/xcm"; import type { XcmPaymentApiError } from "@polkadot/types/interfaces/xcmPaymentApi"; import type { Error } from "@polkadot/types/interfaces/xcmRuntimeApi"; diff --git a/typescript-api/src/moonbeam/interfaces/lookup.ts b/typescript-api/src/moonbeam/interfaces/lookup.ts index 1ef92ab3aa..d6ede93692 100644 --- a/typescript-api/src/moonbeam/interfaces/lookup.ts +++ b/typescript-api/src/moonbeam/interfaces/lookup.ts @@ -4,37 +4,49 @@ /* eslint-disable sort-keys */ export default { - /** Lookup3: frame_system::AccountInfo> */ + /** + * Lookup3: frame_system::AccountInfo> + **/ FrameSystemAccountInfo: { nonce: "u32", consumers: "u32", providers: "u32", sufficients: "u32", - data: "PalletBalancesAccountData", + data: "PalletBalancesAccountData" }, - /** Lookup5: pallet_balances::types::AccountData */ + /** + * Lookup5: pallet_balances::types::AccountData + **/ PalletBalancesAccountData: { free: "u128", reserved: "u128", frozen: "u128", - flags: "u128", + flags: "u128" }, - /** Lookup9: frame_support::dispatch::PerDispatchClass */ + /** + * Lookup9: frame_support::dispatch::PerDispatchClass + **/ FrameSupportDispatchPerDispatchClassWeight: { normal: "SpWeightsWeightV2Weight", operational: "SpWeightsWeightV2Weight", - mandatory: "SpWeightsWeightV2Weight", + mandatory: "SpWeightsWeightV2Weight" }, - /** Lookup10: sp_weights::weight_v2::Weight */ + /** + * Lookup10: sp_weights::weight_v2::Weight + **/ SpWeightsWeightV2Weight: { refTime: "Compact", - proofSize: "Compact", + proofSize: "Compact" }, - /** Lookup16: sp_runtime::generic::digest::Digest */ + /** + * Lookup16: sp_runtime::generic::digest::Digest + **/ SpRuntimeDigest: { - logs: "Vec", + logs: "Vec" }, - /** Lookup18: sp_runtime::generic::digest::DigestItem */ + /** + * Lookup18: sp_runtime::generic::digest::DigestItem + **/ SpRuntimeDigestDigestItem: { _enum: { Other: "Bytes", @@ -45,60 +57,72 @@ export default { Seal: "([u8;4],Bytes)", PreRuntime: "([u8;4],Bytes)", __Unused7: "Null", - RuntimeEnvironmentUpdated: "Null", - }, + RuntimeEnvironmentUpdated: "Null" + } }, - /** Lookup21: frame_system::EventRecord */ + /** + * Lookup21: frame_system::EventRecord + **/ FrameSystemEventRecord: { phase: "FrameSystemPhase", event: "Event", - topics: "Vec", + topics: "Vec" }, - /** Lookup23: frame_system::pallet::Event */ + /** + * Lookup23: frame_system::pallet::Event + **/ FrameSystemEvent: { _enum: { ExtrinsicSuccess: { - dispatchInfo: "FrameSupportDispatchDispatchInfo", + dispatchInfo: "FrameSupportDispatchDispatchInfo" }, ExtrinsicFailed: { dispatchError: "SpRuntimeDispatchError", - dispatchInfo: "FrameSupportDispatchDispatchInfo", + dispatchInfo: "FrameSupportDispatchDispatchInfo" }, CodeUpdated: "Null", NewAccount: { - account: "AccountId20", + account: "AccountId20" }, KilledAccount: { - account: "AccountId20", + account: "AccountId20" }, Remarked: { _alias: { - hash_: "hash", + hash_: "hash" }, sender: "AccountId20", - hash_: "H256", + hash_: "H256" }, UpgradeAuthorized: { codeHash: "H256", - checkVersion: "bool", - }, - }, + checkVersion: "bool" + } + } }, - /** Lookup24: frame_support::dispatch::DispatchInfo */ + /** + * Lookup24: frame_support::dispatch::DispatchInfo + **/ FrameSupportDispatchDispatchInfo: { weight: "SpWeightsWeightV2Weight", class: "FrameSupportDispatchDispatchClass", - paysFee: "FrameSupportDispatchPays", + paysFee: "FrameSupportDispatchPays" }, - /** Lookup25: frame_support::dispatch::DispatchClass */ + /** + * Lookup25: frame_support::dispatch::DispatchClass + **/ FrameSupportDispatchDispatchClass: { - _enum: ["Normal", "Operational", "Mandatory"], + _enum: ["Normal", "Operational", "Mandatory"] }, - /** Lookup26: frame_support::dispatch::Pays */ + /** + * Lookup26: frame_support::dispatch::Pays + **/ FrameSupportDispatchPays: { - _enum: ["Yes", "No"], + _enum: ["Yes", "No"] }, - /** Lookup27: sp_runtime::DispatchError */ + /** + * Lookup27: sp_runtime::DispatchError + **/ SpRuntimeDispatchError: { _enum: { Other: "Null", @@ -114,15 +138,19 @@ export default { Exhausted: "Null", Corruption: "Null", Unavailable: "Null", - RootNotAllowed: "Null", - }, + RootNotAllowed: "Null" + } }, - /** Lookup28: sp_runtime::ModuleError */ + /** + * Lookup28: sp_runtime::ModuleError + **/ SpRuntimeModuleError: { index: "u8", - error: "[u8;4]", + error: "[u8;4]" }, - /** Lookup29: sp_runtime::TokenError */ + /** + * Lookup29: sp_runtime::TokenError + **/ SpRuntimeTokenError: { _enum: [ "FundsUnavailable", @@ -134,288 +162,304 @@ export default { "Unsupported", "CannotCreateHold", "NotExpendable", - "Blocked", - ], + "Blocked" + ] }, - /** Lookup30: sp_arithmetic::ArithmeticError */ + /** + * Lookup30: sp_arithmetic::ArithmeticError + **/ SpArithmeticArithmeticError: { - _enum: ["Underflow", "Overflow", "DivisionByZero"], + _enum: ["Underflow", "Overflow", "DivisionByZero"] }, - /** Lookup31: sp_runtime::TransactionalError */ + /** + * Lookup31: sp_runtime::TransactionalError + **/ SpRuntimeTransactionalError: { - _enum: ["LimitReached", "NoLayer"], + _enum: ["LimitReached", "NoLayer"] }, - /** Lookup32: cumulus_pallet_parachain_system::pallet::Event */ + /** + * Lookup32: cumulus_pallet_parachain_system::pallet::Event + **/ CumulusPalletParachainSystemEvent: { _enum: { ValidationFunctionStored: "Null", ValidationFunctionApplied: { - relayChainBlockNum: "u32", + relayChainBlockNum: "u32" }, ValidationFunctionDiscarded: "Null", DownwardMessagesReceived: { - count: "u32", + count: "u32" }, DownwardMessagesProcessed: { weightUsed: "SpWeightsWeightV2Weight", - dmqHead: "H256", + dmqHead: "H256" }, UpwardMessageSent: { - messageHash: "Option<[u8;32]>", - }, - }, + messageHash: "Option<[u8;32]>" + } + } }, - /** Lookup34: pallet_root_testing::pallet::Event */ + /** + * Lookup34: pallet_root_testing::pallet::Event + **/ PalletRootTestingEvent: { - _enum: ["DefensiveTestCall"], + _enum: ["DefensiveTestCall"] }, - /** Lookup35: pallet_balances::pallet::Event */ + /** + * Lookup35: pallet_balances::pallet::Event + **/ PalletBalancesEvent: { _enum: { Endowed: { account: "AccountId20", - freeBalance: "u128", + freeBalance: "u128" }, DustLost: { account: "AccountId20", - amount: "u128", + amount: "u128" }, Transfer: { from: "AccountId20", to: "AccountId20", - amount: "u128", + amount: "u128" }, BalanceSet: { who: "AccountId20", - free: "u128", + free: "u128" }, Reserved: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Unreserved: { who: "AccountId20", - amount: "u128", + amount: "u128" }, ReserveRepatriated: { from: "AccountId20", to: "AccountId20", amount: "u128", - destinationStatus: "FrameSupportTokensMiscBalanceStatus", + destinationStatus: "FrameSupportTokensMiscBalanceStatus" }, Deposit: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Withdraw: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Slashed: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Minted: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Burned: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Suspended: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Restored: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Upgraded: { - who: "AccountId20", + who: "AccountId20" }, Issued: { - amount: "u128", + amount: "u128" }, Rescinded: { - amount: "u128", + amount: "u128" }, Locked: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Unlocked: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Frozen: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Thawed: { who: "AccountId20", - amount: "u128", + amount: "u128" }, TotalIssuanceForced: { _alias: { - new_: "new", + new_: "new" }, old: "u128", - new_: "u128", - }, - }, + new_: "u128" + } + } }, - /** Lookup36: frame_support::traits::tokens::misc::BalanceStatus */ + /** + * Lookup36: frame_support::traits::tokens::misc::BalanceStatus + **/ FrameSupportTokensMiscBalanceStatus: { - _enum: ["Free", "Reserved"], + _enum: ["Free", "Reserved"] }, - /** Lookup37: pallet_transaction_payment::pallet::Event */ + /** + * Lookup37: pallet_transaction_payment::pallet::Event + **/ PalletTransactionPaymentEvent: { _enum: { TransactionFeePaid: { who: "AccountId20", actualFee: "u128", - tip: "u128", - }, - }, + tip: "u128" + } + } }, - /** Lookup38: pallet_parachain_staking::pallet::Event */ + /** + * Lookup38: pallet_parachain_staking::pallet::Event + **/ PalletParachainStakingEvent: { _enum: { NewRound: { startingBlock: "u32", round: "u32", selectedCollatorsNumber: "u32", - totalBalance: "u128", + totalBalance: "u128" }, JoinedCollatorCandidates: { account: "AccountId20", amountLocked: "u128", - newTotalAmtLocked: "u128", + newTotalAmtLocked: "u128" }, CollatorChosen: { round: "u32", collatorAccount: "AccountId20", - totalExposedAmount: "u128", + totalExposedAmount: "u128" }, CandidateBondLessRequested: { candidate: "AccountId20", amountToDecrease: "u128", - executeRound: "u32", + executeRound: "u32" }, CandidateBondedMore: { candidate: "AccountId20", amount: "u128", - newTotalBond: "u128", + newTotalBond: "u128" }, CandidateBondedLess: { candidate: "AccountId20", amount: "u128", - newBond: "u128", + newBond: "u128" }, CandidateWentOffline: { - candidate: "AccountId20", + candidate: "AccountId20" }, CandidateBackOnline: { - candidate: "AccountId20", + candidate: "AccountId20" }, CandidateScheduledExit: { exitAllowedRound: "u32", candidate: "AccountId20", - scheduledExit: "u32", + scheduledExit: "u32" }, CancelledCandidateExit: { - candidate: "AccountId20", + candidate: "AccountId20" }, CancelledCandidateBondLess: { candidate: "AccountId20", amount: "u128", - executeRound: "u32", + executeRound: "u32" }, CandidateLeft: { exCandidate: "AccountId20", unlockedAmount: "u128", - newTotalAmtLocked: "u128", + newTotalAmtLocked: "u128" }, DelegationDecreaseScheduled: { delegator: "AccountId20", candidate: "AccountId20", amountToDecrease: "u128", - executeRound: "u32", + executeRound: "u32" }, DelegationIncreased: { delegator: "AccountId20", candidate: "AccountId20", amount: "u128", - inTop: "bool", + inTop: "bool" }, DelegationDecreased: { delegator: "AccountId20", candidate: "AccountId20", amount: "u128", - inTop: "bool", + inTop: "bool" }, DelegatorExitScheduled: { round: "u32", delegator: "AccountId20", - scheduledExit: "u32", + scheduledExit: "u32" }, DelegationRevocationScheduled: { round: "u32", delegator: "AccountId20", candidate: "AccountId20", - scheduledExit: "u32", + scheduledExit: "u32" }, DelegatorLeft: { delegator: "AccountId20", - unstakedAmount: "u128", + unstakedAmount: "u128" }, DelegationRevoked: { delegator: "AccountId20", candidate: "AccountId20", - unstakedAmount: "u128", + unstakedAmount: "u128" }, DelegationKicked: { delegator: "AccountId20", candidate: "AccountId20", - unstakedAmount: "u128", + unstakedAmount: "u128" }, DelegatorExitCancelled: { - delegator: "AccountId20", + delegator: "AccountId20" }, CancelledDelegationRequest: { delegator: "AccountId20", cancelledRequest: "PalletParachainStakingDelegationRequestsCancelledScheduledRequest", - collator: "AccountId20", + collator: "AccountId20" }, Delegation: { delegator: "AccountId20", lockedAmount: "u128", candidate: "AccountId20", delegatorPosition: "PalletParachainStakingDelegatorAdded", - autoCompound: "Percent", + autoCompound: "Percent" }, DelegatorLeftCandidate: { delegator: "AccountId20", candidate: "AccountId20", unstakedAmount: "u128", - totalCandidateStaked: "u128", + totalCandidateStaked: "u128" }, Rewarded: { account: "AccountId20", - rewards: "u128", + rewards: "u128" }, InflationDistributed: { index: "u32", account: "AccountId20", - value: "u128", + value: "u128" }, InflationDistributionConfigUpdated: { _alias: { - new_: "new", + new_: "new" }, old: "PalletParachainStakingInflationDistributionConfig", - new_: "PalletParachainStakingInflationDistributionConfig", + new_: "PalletParachainStakingInflationDistributionConfig" }, InflationSet: { annualMin: "Perbill", @@ -423,30 +467,30 @@ export default { annualMax: "Perbill", roundMin: "Perbill", roundIdeal: "Perbill", - roundMax: "Perbill", + roundMax: "Perbill" }, StakeExpectationsSet: { expectMin: "u128", expectIdeal: "u128", - expectMax: "u128", + expectMax: "u128" }, TotalSelectedSet: { _alias: { - new_: "new", + new_: "new" }, old: "u32", - new_: "u32", + new_: "u32" }, CollatorCommissionSet: { _alias: { - new_: "new", + new_: "new" }, old: "Perbill", - new_: "Perbill", + new_: "Perbill" }, BlocksPerRoundSet: { _alias: { - new_: "new", + new_: "new" }, currentRound: "u32", firstBlock: "u32", @@ -454,169 +498,189 @@ export default { new_: "u32", newPerRoundInflationMin: "Perbill", newPerRoundInflationIdeal: "Perbill", - newPerRoundInflationMax: "Perbill", + newPerRoundInflationMax: "Perbill" }, AutoCompoundSet: { candidate: "AccountId20", delegator: "AccountId20", - value: "Percent", + value: "Percent" }, Compounded: { candidate: "AccountId20", delegator: "AccountId20", - amount: "u128", - }, - }, + amount: "u128" + } + } }, - /** Lookup39: pallet_parachain_staking::delegation_requests::CancelledScheduledRequest */ + /** + * Lookup39: pallet_parachain_staking::delegation_requests::CancelledScheduledRequest + **/ PalletParachainStakingDelegationRequestsCancelledScheduledRequest: { whenExecutable: "u32", - action: "PalletParachainStakingDelegationRequestsDelegationAction", + action: "PalletParachainStakingDelegationRequestsDelegationAction" }, - /** Lookup40: pallet_parachain_staking::delegation_requests::DelegationAction */ + /** + * Lookup40: pallet_parachain_staking::delegation_requests::DelegationAction + **/ PalletParachainStakingDelegationRequestsDelegationAction: { _enum: { Revoke: "u128", - Decrease: "u128", - }, + Decrease: "u128" + } }, - /** Lookup41: pallet_parachain_staking::types::DelegatorAdded */ + /** + * Lookup41: pallet_parachain_staking::types::DelegatorAdded + **/ PalletParachainStakingDelegatorAdded: { _enum: { AddedToTop: { - newTotal: "u128", + newTotal: "u128" }, - AddedToBottom: "Null", - }, + AddedToBottom: "Null" + } }, /** - * Lookup43: - * pallet_parachain_staking::types::InflationDistributionConfig[account::AccountId20](account::AccountId20) - */ + * Lookup43: pallet_parachain_staking::types::InflationDistributionConfig + **/ PalletParachainStakingInflationDistributionConfig: "[Lookup45;2]", /** - * Lookup45: - * pallet_parachain_staking::types::InflationDistributionAccount[account::AccountId20](account::AccountId20) - */ + * Lookup45: pallet_parachain_staking::types::InflationDistributionAccount + **/ PalletParachainStakingInflationDistributionAccount: { account: "AccountId20", - percent: "Percent", + percent: "Percent" }, - /** Lookup47: pallet_author_slot_filter::pallet::Event */ + /** + * Lookup47: pallet_author_slot_filter::pallet::Event + **/ PalletAuthorSlotFilterEvent: { _enum: { - EligibleUpdated: "u32", - }, + EligibleUpdated: "u32" + } }, - /** Lookup49: pallet_author_mapping::pallet::Event */ + /** + * Lookup49: pallet_author_mapping::pallet::Event + **/ PalletAuthorMappingEvent: { _enum: { KeysRegistered: { _alias: { - keys_: "keys", + keys_: "keys" }, nimbusId: "NimbusPrimitivesNimbusCryptoPublic", accountId: "AccountId20", - keys_: "SessionKeysPrimitivesVrfVrfCryptoPublic", + keys_: "SessionKeysPrimitivesVrfVrfCryptoPublic" }, KeysRemoved: { _alias: { - keys_: "keys", + keys_: "keys" }, nimbusId: "NimbusPrimitivesNimbusCryptoPublic", accountId: "AccountId20", - keys_: "SessionKeysPrimitivesVrfVrfCryptoPublic", + keys_: "SessionKeysPrimitivesVrfVrfCryptoPublic" }, KeysRotated: { newNimbusId: "NimbusPrimitivesNimbusCryptoPublic", accountId: "AccountId20", - newKeys: "SessionKeysPrimitivesVrfVrfCryptoPublic", - }, - }, + newKeys: "SessionKeysPrimitivesVrfVrfCryptoPublic" + } + } }, - /** Lookup50: nimbus_primitives::nimbus_crypto::Public */ + /** + * Lookup50: nimbus_primitives::nimbus_crypto::Public + **/ NimbusPrimitivesNimbusCryptoPublic: "[u8;32]", - /** Lookup51: session_keys_primitives::vrf::vrf_crypto::Public */ + /** + * Lookup51: session_keys_primitives::vrf::vrf_crypto::Public + **/ SessionKeysPrimitivesVrfVrfCryptoPublic: "[u8;32]", - /** Lookup52: pallet_moonbeam_orbiters::pallet::Event */ + /** + * Lookup52: pallet_moonbeam_orbiters::pallet::Event + **/ PalletMoonbeamOrbitersEvent: { _enum: { OrbiterJoinCollatorPool: { collator: "AccountId20", - orbiter: "AccountId20", + orbiter: "AccountId20" }, OrbiterLeaveCollatorPool: { collator: "AccountId20", - orbiter: "AccountId20", + orbiter: "AccountId20" }, OrbiterRewarded: { account: "AccountId20", - rewards: "u128", + rewards: "u128" }, OrbiterRotation: { collator: "AccountId20", oldOrbiter: "Option", - newOrbiter: "Option", + newOrbiter: "Option" }, OrbiterRegistered: { account: "AccountId20", - deposit: "u128", + deposit: "u128" }, OrbiterUnregistered: { - account: "AccountId20", - }, - }, + account: "AccountId20" + } + } }, - /** Lookup54: pallet_utility::pallet::Event */ + /** + * Lookup54: pallet_utility::pallet::Event + **/ PalletUtilityEvent: { _enum: { BatchInterrupted: { index: "u32", - error: "SpRuntimeDispatchError", + error: "SpRuntimeDispatchError" }, BatchCompleted: "Null", BatchCompletedWithErrors: "Null", ItemCompleted: "Null", ItemFailed: { - error: "SpRuntimeDispatchError", + error: "SpRuntimeDispatchError" }, DispatchedAs: { - result: "Result", - }, - }, + result: "Result" + } + } }, - /** Lookup57: pallet_proxy::pallet::Event */ + /** + * Lookup57: pallet_proxy::pallet::Event + **/ PalletProxyEvent: { _enum: { ProxyExecuted: { - result: "Result", + result: "Result" }, PureCreated: { pure: "AccountId20", who: "AccountId20", proxyType: "MoonbeamRuntimeProxyType", - disambiguationIndex: "u16", + disambiguationIndex: "u16" }, Announced: { real: "AccountId20", proxy: "AccountId20", - callHash: "H256", + callHash: "H256" }, ProxyAdded: { delegator: "AccountId20", delegatee: "AccountId20", proxyType: "MoonbeamRuntimeProxyType", - delay: "u32", + delay: "u32" }, ProxyRemoved: { delegator: "AccountId20", delegatee: "AccountId20", proxyType: "MoonbeamRuntimeProxyType", - delay: "u32", - }, - }, + delay: "u32" + } + } }, - /** Lookup58: moonbeam_runtime::ProxyType */ + /** + * Lookup58: moonbeam_runtime::ProxyType + **/ MoonbeamRuntimeProxyType: { _enum: [ "Any", @@ -626,225 +690,259 @@ export default { "CancelProxy", "Balances", "AuthorMapping", - "IdentityJudgement", - ], + "IdentityJudgement" + ] }, - /** Lookup60: pallet_maintenance_mode::pallet::Event */ + /** + * Lookup60: pallet_maintenance_mode::pallet::Event + **/ PalletMaintenanceModeEvent: { _enum: { EnteredMaintenanceMode: "Null", NormalOperationResumed: "Null", FailedToSuspendIdleXcmExecution: { - error: "SpRuntimeDispatchError", + error: "SpRuntimeDispatchError" }, FailedToResumeIdleXcmExecution: { - error: "SpRuntimeDispatchError", - }, - }, + error: "SpRuntimeDispatchError" + } + } }, - /** Lookup61: pallet_identity::pallet::Event */ + /** + * Lookup61: pallet_identity::pallet::Event + **/ PalletIdentityEvent: { _enum: { IdentitySet: { - who: "AccountId20", + who: "AccountId20" }, IdentityCleared: { who: "AccountId20", - deposit: "u128", + deposit: "u128" }, IdentityKilled: { who: "AccountId20", - deposit: "u128", + deposit: "u128" }, JudgementRequested: { who: "AccountId20", - registrarIndex: "u32", + registrarIndex: "u32" }, JudgementUnrequested: { who: "AccountId20", - registrarIndex: "u32", + registrarIndex: "u32" }, JudgementGiven: { target: "AccountId20", - registrarIndex: "u32", + registrarIndex: "u32" }, RegistrarAdded: { - registrarIndex: "u32", + registrarIndex: "u32" }, SubIdentityAdded: { sub: "AccountId20", main: "AccountId20", - deposit: "u128", + deposit: "u128" }, SubIdentityRemoved: { sub: "AccountId20", main: "AccountId20", - deposit: "u128", + deposit: "u128" }, SubIdentityRevoked: { sub: "AccountId20", main: "AccountId20", - deposit: "u128", + deposit: "u128" }, AuthorityAdded: { - authority: "AccountId20", + authority: "AccountId20" }, AuthorityRemoved: { - authority: "AccountId20", + authority: "AccountId20" }, UsernameSet: { who: "AccountId20", - username: "Bytes", + username: "Bytes" }, UsernameQueued: { who: "AccountId20", username: "Bytes", - expiration: "u32", + expiration: "u32" }, PreapprovalExpired: { - whose: "AccountId20", + whose: "AccountId20" }, PrimaryUsernameSet: { who: "AccountId20", - username: "Bytes", + username: "Bytes" }, DanglingUsernameRemoved: { who: "AccountId20", - username: "Bytes", - }, - }, + username: "Bytes" + } + } }, - /** Lookup63: pallet_migrations::pallet::Event */ + /** + * Lookup63: pallet_migrations::pallet::Event + **/ PalletMigrationsEvent: { _enum: { RuntimeUpgradeStarted: "Null", RuntimeUpgradeCompleted: { - weight: "SpWeightsWeightV2Weight", + weight: "SpWeightsWeightV2Weight" }, MigrationStarted: { - migrationName: "Bytes", + migrationName: "Bytes" }, MigrationCompleted: { migrationName: "Bytes", - consumedWeight: "SpWeightsWeightV2Weight", + consumedWeight: "SpWeightsWeightV2Weight" }, FailedToSuspendIdleXcmExecution: { - error: "SpRuntimeDispatchError", + error: "SpRuntimeDispatchError" }, FailedToResumeIdleXcmExecution: { - error: "SpRuntimeDispatchError", - }, - }, + error: "SpRuntimeDispatchError" + } + } }, - /** Lookup64: pallet_multisig::pallet::Event */ + /** + * Lookup64: pallet_multisig::pallet::Event + **/ PalletMultisigEvent: { _enum: { NewMultisig: { approving: "AccountId20", multisig: "AccountId20", - callHash: "[u8;32]", + callHash: "[u8;32]" }, MultisigApproval: { approving: "AccountId20", timepoint: "PalletMultisigTimepoint", multisig: "AccountId20", - callHash: "[u8;32]", + callHash: "[u8;32]" }, MultisigExecuted: { approving: "AccountId20", timepoint: "PalletMultisigTimepoint", multisig: "AccountId20", callHash: "[u8;32]", - result: "Result", + result: "Result" }, MultisigCancelled: { cancelling: "AccountId20", timepoint: "PalletMultisigTimepoint", multisig: "AccountId20", - callHash: "[u8;32]", - }, - }, + callHash: "[u8;32]" + } + } }, - /** Lookup65: pallet_multisig::Timepoint */ + /** + * Lookup65: pallet_multisig::Timepoint + **/ PalletMultisigTimepoint: { height: "u32", - index: "u32", + index: "u32" }, - /** Lookup66: pallet_parameters::pallet::Event */ + /** + * Lookup66: pallet_parameters::pallet::Event + **/ PalletParametersEvent: { _enum: { Updated: { key: "MoonbeamRuntimeRuntimeParamsRuntimeParametersKey", oldValue: "Option", - newValue: "Option", - }, - }, + newValue: "Option" + } + } }, - /** Lookup67: moonbeam_runtime::runtime_params::RuntimeParametersKey */ + /** + * Lookup67: moonbeam_runtime::runtime_params::RuntimeParametersKey + **/ MoonbeamRuntimeRuntimeParamsRuntimeParametersKey: { _enum: { RuntimeConfig: "MoonbeamRuntimeRuntimeParamsDynamicParamsRuntimeConfigParametersKey", - PalletRandomness: "MoonbeamRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersKey", - }, + PalletRandomness: "MoonbeamRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersKey" + } }, - /** Lookup68: moonbeam_runtime::runtime_params::dynamic_params::runtime_config::ParametersKey */ + /** + * Lookup68: moonbeam_runtime::runtime_params::dynamic_params::runtime_config::ParametersKey + **/ MoonbeamRuntimeRuntimeParamsDynamicParamsRuntimeConfigParametersKey: { - _enum: ["FeesTreasuryProportion"], + _enum: ["FeesTreasuryProportion"] }, - /** Lookup69: moonbeam_runtime::runtime_params::dynamic_params::runtime_config::FeesTreasuryProportion */ + /** + * Lookup69: moonbeam_runtime::runtime_params::dynamic_params::runtime_config::FeesTreasuryProportion + **/ MoonbeamRuntimeRuntimeParamsDynamicParamsRuntimeConfigFeesTreasuryProportion: "Null", - /** Lookup70: moonbeam_runtime::runtime_params::dynamic_params::pallet_randomness::ParametersKey */ + /** + * Lookup70: moonbeam_runtime::runtime_params::dynamic_params::pallet_randomness::ParametersKey + **/ MoonbeamRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersKey: { - _enum: ["Deposit"], + _enum: ["Deposit"] }, - /** Lookup71: moonbeam_runtime::runtime_params::dynamic_params::pallet_randomness::Deposit */ + /** + * Lookup71: moonbeam_runtime::runtime_params::dynamic_params::pallet_randomness::Deposit + **/ MoonbeamRuntimeRuntimeParamsDynamicParamsPalletRandomnessDeposit: "Null", - /** Lookup73: moonbeam_runtime::runtime_params::RuntimeParametersValue */ + /** + * Lookup73: moonbeam_runtime::runtime_params::RuntimeParametersValue + **/ MoonbeamRuntimeRuntimeParamsRuntimeParametersValue: { _enum: { RuntimeConfig: "MoonbeamRuntimeRuntimeParamsDynamicParamsRuntimeConfigParametersValue", - PalletRandomness: "MoonbeamRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersValue", - }, + PalletRandomness: "MoonbeamRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersValue" + } }, - /** Lookup74: moonbeam_runtime::runtime_params::dynamic_params::runtime_config::ParametersValue */ + /** + * Lookup74: moonbeam_runtime::runtime_params::dynamic_params::runtime_config::ParametersValue + **/ MoonbeamRuntimeRuntimeParamsDynamicParamsRuntimeConfigParametersValue: { _enum: { - FeesTreasuryProportion: "Perbill", - }, + FeesTreasuryProportion: "Perbill" + } }, - /** Lookup75: moonbeam_runtime::runtime_params::dynamic_params::pallet_randomness::ParametersValue */ + /** + * Lookup75: moonbeam_runtime::runtime_params::dynamic_params::pallet_randomness::ParametersValue + **/ MoonbeamRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersValue: { _enum: { - Deposit: "u128", - }, + Deposit: "u128" + } }, - /** Lookup77: pallet_evm::pallet::Event */ + /** + * Lookup77: pallet_evm::pallet::Event + **/ PalletEvmEvent: { _enum: { Log: { - log: "EthereumLog", + log: "EthereumLog" }, Created: { - address: "H160", + address: "H160" }, CreatedFailed: { - address: "H160", + address: "H160" }, Executed: { - address: "H160", + address: "H160" }, ExecutedFailed: { - address: "H160", - }, - }, + address: "H160" + } + } }, - /** Lookup78: ethereum::log::Log */ + /** + * Lookup78: ethereum::log::Log + **/ EthereumLog: { address: "H160", topics: "Vec", - data: "Bytes", + data: "Bytes" }, - /** Lookup81: pallet_ethereum::pallet::Event */ + /** + * Lookup81: pallet_ethereum::pallet::Event + **/ PalletEthereumEvent: { _enum: { Executed: { @@ -852,24 +950,30 @@ export default { to: "H160", transactionHash: "H256", exitReason: "EvmCoreErrorExitReason", - extraData: "Bytes", - }, - }, + extraData: "Bytes" + } + } }, - /** Lookup82: evm_core::error::ExitReason */ + /** + * Lookup82: evm_core::error::ExitReason + **/ EvmCoreErrorExitReason: { _enum: { Succeed: "EvmCoreErrorExitSucceed", Error: "EvmCoreErrorExitError", Revert: "EvmCoreErrorExitRevert", - Fatal: "EvmCoreErrorExitFatal", - }, + Fatal: "EvmCoreErrorExitFatal" + } }, - /** Lookup83: evm_core::error::ExitSucceed */ + /** + * Lookup83: evm_core::error::ExitSucceed + **/ EvmCoreErrorExitSucceed: { - _enum: ["Stopped", "Returned", "Suicided"], + _enum: ["Stopped", "Returned", "Suicided"] }, - /** Lookup84: evm_core::error::ExitError */ + /** + * Lookup84: evm_core::error::ExitError + **/ EvmCoreErrorExitError: { _enum: { StackUnderflow: "Null", @@ -887,427 +991,462 @@ export default { CreateEmpty: "Null", Other: "Text", MaxNonce: "Null", - InvalidCode: "u8", - }, + InvalidCode: "u8" + } }, - /** Lookup88: evm_core::error::ExitRevert */ + /** + * Lookup88: evm_core::error::ExitRevert + **/ EvmCoreErrorExitRevert: { - _enum: ["Reverted"], + _enum: ["Reverted"] }, - /** Lookup89: evm_core::error::ExitFatal */ + /** + * Lookup89: evm_core::error::ExitFatal + **/ EvmCoreErrorExitFatal: { _enum: { NotSupported: "Null", UnhandledInterrupt: "Null", CallErrorAsFatal: "EvmCoreErrorExitError", - Other: "Text", - }, + Other: "Text" + } }, - /** Lookup90: pallet_scheduler::pallet::Event */ + /** + * Lookup90: pallet_scheduler::pallet::Event + **/ PalletSchedulerEvent: { _enum: { Scheduled: { when: "u32", - index: "u32", + index: "u32" }, Canceled: { when: "u32", - index: "u32", + index: "u32" }, Dispatched: { task: "(u32,u32)", id: "Option<[u8;32]>", - result: "Result", + result: "Result" }, RetrySet: { task: "(u32,u32)", id: "Option<[u8;32]>", period: "u32", - retries: "u8", + retries: "u8" }, RetryCancelled: { task: "(u32,u32)", - id: "Option<[u8;32]>", + id: "Option<[u8;32]>" }, CallUnavailable: { task: "(u32,u32)", - id: "Option<[u8;32]>", + id: "Option<[u8;32]>" }, PeriodicFailed: { task: "(u32,u32)", - id: "Option<[u8;32]>", + id: "Option<[u8;32]>" }, RetryFailed: { task: "(u32,u32)", - id: "Option<[u8;32]>", + id: "Option<[u8;32]>" }, PermanentlyOverweight: { task: "(u32,u32)", - id: "Option<[u8;32]>", - }, - }, + id: "Option<[u8;32]>" + } + } }, - /** Lookup92: pallet_preimage::pallet::Event */ + /** + * Lookup92: pallet_preimage::pallet::Event + **/ PalletPreimageEvent: { _enum: { Noted: { _alias: { - hash_: "hash", + hash_: "hash" }, - hash_: "H256", + hash_: "H256" }, Requested: { _alias: { - hash_: "hash", + hash_: "hash" }, - hash_: "H256", + hash_: "H256" }, Cleared: { _alias: { - hash_: "hash", + hash_: "hash" }, - hash_: "H256", - }, - }, + hash_: "H256" + } + } }, - /** Lookup93: pallet_conviction_voting::pallet::Event */ + /** + * Lookup93: pallet_conviction_voting::pallet::Event + **/ PalletConvictionVotingEvent: { _enum: { Delegated: "(AccountId20,AccountId20)", - Undelegated: "AccountId20", - }, + Undelegated: "AccountId20" + } }, - /** Lookup94: pallet_referenda::pallet::Event */ + /** + * Lookup94: pallet_referenda::pallet::Event + **/ PalletReferendaEvent: { _enum: { Submitted: { index: "u32", track: "u16", - proposal: "FrameSupportPreimagesBounded", + proposal: "FrameSupportPreimagesBounded" }, DecisionDepositPlaced: { index: "u32", who: "AccountId20", - amount: "u128", + amount: "u128" }, DecisionDepositRefunded: { index: "u32", who: "AccountId20", - amount: "u128", + amount: "u128" }, DepositSlashed: { who: "AccountId20", - amount: "u128", + amount: "u128" }, DecisionStarted: { index: "u32", track: "u16", proposal: "FrameSupportPreimagesBounded", - tally: "PalletConvictionVotingTally", + tally: "PalletConvictionVotingTally" }, ConfirmStarted: { - index: "u32", + index: "u32" }, ConfirmAborted: { - index: "u32", + index: "u32" }, Confirmed: { index: "u32", - tally: "PalletConvictionVotingTally", + tally: "PalletConvictionVotingTally" }, Approved: { - index: "u32", + index: "u32" }, Rejected: { index: "u32", - tally: "PalletConvictionVotingTally", + tally: "PalletConvictionVotingTally" }, TimedOut: { index: "u32", - tally: "PalletConvictionVotingTally", + tally: "PalletConvictionVotingTally" }, Cancelled: { index: "u32", - tally: "PalletConvictionVotingTally", + tally: "PalletConvictionVotingTally" }, Killed: { index: "u32", - tally: "PalletConvictionVotingTally", + tally: "PalletConvictionVotingTally" }, SubmissionDepositRefunded: { index: "u32", who: "AccountId20", - amount: "u128", + amount: "u128" }, MetadataSet: { _alias: { - hash_: "hash", + hash_: "hash" }, index: "u32", - hash_: "H256", + hash_: "H256" }, MetadataCleared: { _alias: { - hash_: "hash", + hash_: "hash" }, index: "u32", - hash_: "H256", - }, - }, + hash_: "H256" + } + } }, /** - * Lookup95: frame_support::traits::preimages::Bounded - */ + * Lookup95: frame_support::traits::preimages::Bounded + **/ FrameSupportPreimagesBounded: { _enum: { Legacy: { _alias: { - hash_: "hash", + hash_: "hash" }, - hash_: "H256", + hash_: "H256" }, Inline: "Bytes", Lookup: { _alias: { - hash_: "hash", + hash_: "hash" }, hash_: "H256", - len: "u32", - }, - }, + len: "u32" + } + } }, - /** Lookup97: frame_system::pallet::Call */ + /** + * Lookup97: frame_system::pallet::Call + **/ FrameSystemCall: { _enum: { remark: { - remark: "Bytes", + remark: "Bytes" }, set_heap_pages: { - pages: "u64", + pages: "u64" }, set_code: { - code: "Bytes", + code: "Bytes" }, set_code_without_checks: { - code: "Bytes", + code: "Bytes" }, set_storage: { - items: "Vec<(Bytes,Bytes)>", + items: "Vec<(Bytes,Bytes)>" }, kill_storage: { _alias: { - keys_: "keys", + keys_: "keys" }, - keys_: "Vec", + keys_: "Vec" }, kill_prefix: { prefix: "Bytes", - subkeys: "u32", + subkeys: "u32" }, remark_with_event: { - remark: "Bytes", + remark: "Bytes" }, __Unused8: "Null", authorize_upgrade: { - codeHash: "H256", + codeHash: "H256" }, authorize_upgrade_without_checks: { - codeHash: "H256", + codeHash: "H256" }, apply_authorized_upgrade: { - code: "Bytes", - }, - }, + code: "Bytes" + } + } }, - /** Lookup101: cumulus_pallet_parachain_system::pallet::Call */ + /** + * Lookup101: cumulus_pallet_parachain_system::pallet::Call + **/ CumulusPalletParachainSystemCall: { _enum: { set_validation_data: { - data: "CumulusPrimitivesParachainInherentParachainInherentData", + data: "CumulusPrimitivesParachainInherentParachainInherentData" }, sudo_send_upward_message: { - message: "Bytes", + message: "Bytes" }, authorize_upgrade: { codeHash: "H256", - checkVersion: "bool", + checkVersion: "bool" }, enact_authorized_upgrade: { - code: "Bytes", - }, - }, + code: "Bytes" + } + } }, - /** Lookup102: cumulus_primitives_parachain_inherent::ParachainInherentData */ + /** + * Lookup102: cumulus_primitives_parachain_inherent::ParachainInherentData + **/ CumulusPrimitivesParachainInherentParachainInherentData: { validationData: "PolkadotPrimitivesV7PersistedValidationData", relayChainState: "SpTrieStorageProof", downwardMessages: "Vec", - horizontalMessages: "BTreeMap>", + horizontalMessages: "BTreeMap>" }, - /** Lookup103: polkadot_primitives::v7::PersistedValidationData */ + /** + * Lookup103: polkadot_primitives::v7::PersistedValidationData + **/ PolkadotPrimitivesV7PersistedValidationData: { parentHead: "Bytes", relayParentNumber: "u32", relayParentStorageRoot: "H256", - maxPovSize: "u32", + maxPovSize: "u32" }, - /** Lookup105: sp_trie::storage_proof::StorageProof */ + /** + * Lookup105: sp_trie::storage_proof::StorageProof + **/ SpTrieStorageProof: { - trieNodes: "BTreeSet", + trieNodes: "BTreeSet" }, - /** Lookup108: polkadot_core_primitives::InboundDownwardMessage */ + /** + * Lookup108: polkadot_core_primitives::InboundDownwardMessage + **/ PolkadotCorePrimitivesInboundDownwardMessage: { sentAt: "u32", - msg: "Bytes", + msg: "Bytes" }, - /** Lookup112: polkadot_core_primitives::InboundHrmpMessage */ + /** + * Lookup112: polkadot_core_primitives::InboundHrmpMessage + **/ PolkadotCorePrimitivesInboundHrmpMessage: { sentAt: "u32", - data: "Bytes", + data: "Bytes" }, - /** Lookup115: pallet_timestamp::pallet::Call */ + /** + * Lookup115: pallet_timestamp::pallet::Call + **/ PalletTimestampCall: { _enum: { set: { - now: "Compact", - }, - }, + now: "Compact" + } + } }, - /** Lookup116: pallet_root_testing::pallet::Call */ + /** + * Lookup116: pallet_root_testing::pallet::Call + **/ PalletRootTestingCall: { _enum: { fill_block: { - ratio: "Perbill", + ratio: "Perbill" }, - trigger_defensive: "Null", - }, + trigger_defensive: "Null" + } }, - /** Lookup117: pallet_balances::pallet::Call */ + /** + * Lookup117: pallet_balances::pallet::Call + **/ PalletBalancesCall: { _enum: { transfer_allow_death: { dest: "AccountId20", - value: "Compact", + value: "Compact" }, __Unused1: "Null", force_transfer: { source: "AccountId20", dest: "AccountId20", - value: "Compact", + value: "Compact" }, transfer_keep_alive: { dest: "AccountId20", - value: "Compact", + value: "Compact" }, transfer_all: { dest: "AccountId20", - keepAlive: "bool", + keepAlive: "bool" }, force_unreserve: { who: "AccountId20", - amount: "u128", + amount: "u128" }, upgrade_accounts: { - who: "Vec", + who: "Vec" }, __Unused7: "Null", force_set_balance: { who: "AccountId20", - newFree: "Compact", + newFree: "Compact" }, force_adjust_total_issuance: { direction: "PalletBalancesAdjustmentDirection", - delta: "Compact", + delta: "Compact" }, burn: { value: "Compact", - keepAlive: "bool", - }, - }, + keepAlive: "bool" + } + } }, - /** Lookup120: pallet_balances::types::AdjustmentDirection */ + /** + * Lookup120: pallet_balances::types::AdjustmentDirection + **/ PalletBalancesAdjustmentDirection: { - _enum: ["Increase", "Decrease"], + _enum: ["Increase", "Decrease"] }, - /** Lookup121: pallet_parachain_staking::pallet::Call */ + /** + * Lookup121: pallet_parachain_staking::pallet::Call + **/ PalletParachainStakingCall: { _enum: { set_staking_expectations: { expectations: { min: "u128", ideal: "u128", - max: "u128", - }, + max: "u128" + } }, set_inflation: { schedule: { min: "Perbill", ideal: "Perbill", - max: "Perbill", - }, + max: "Perbill" + } }, set_parachain_bond_account: { _alias: { - new_: "new", + new_: "new" }, - new_: "AccountId20", + new_: "AccountId20" }, set_parachain_bond_reserve_percent: { _alias: { - new_: "new", + new_: "new" }, - new_: "Percent", + new_: "Percent" }, set_total_selected: { _alias: { - new_: "new", + new_: "new" }, - new_: "u32", + new_: "u32" }, set_collator_commission: { _alias: { - new_: "new", + new_: "new" }, - new_: "Perbill", + new_: "Perbill" }, set_blocks_per_round: { _alias: { - new_: "new", + new_: "new" }, - new_: "u32", + new_: "u32" }, join_candidates: { bond: "u128", - candidateCount: "u32", + candidateCount: "u32" }, schedule_leave_candidates: { - candidateCount: "u32", + candidateCount: "u32" }, execute_leave_candidates: { candidate: "AccountId20", - candidateDelegationCount: "u32", + candidateDelegationCount: "u32" }, cancel_leave_candidates: { - candidateCount: "u32", + candidateCount: "u32" }, go_offline: "Null", go_online: "Null", candidate_bond_more: { - more: "u128", + more: "u128" }, schedule_candidate_bond_less: { - less: "u128", + less: "u128" }, execute_candidate_bond_less: { - candidate: "AccountId20", + candidate: "AccountId20" }, cancel_candidate_bond_less: "Null", delegate: { candidate: "AccountId20", amount: "u128", candidateDelegationCount: "u32", - delegationCount: "u32", + delegationCount: "u32" }, delegate_with_auto_compound: { candidate: "AccountId20", @@ -1315,145 +1454,157 @@ export default { autoCompound: "Percent", candidateDelegationCount: "u32", candidateAutoCompoundingDelegationCount: "u32", - delegationCount: "u32", + delegationCount: "u32" }, removed_call_19: "Null", removed_call_20: "Null", removed_call_21: "Null", schedule_revoke_delegation: { - collator: "AccountId20", + collator: "AccountId20" }, delegator_bond_more: { candidate: "AccountId20", - more: "u128", + more: "u128" }, schedule_delegator_bond_less: { candidate: "AccountId20", - less: "u128", + less: "u128" }, execute_delegation_request: { delegator: "AccountId20", - candidate: "AccountId20", + candidate: "AccountId20" }, cancel_delegation_request: { - candidate: "AccountId20", + candidate: "AccountId20" }, set_auto_compound: { candidate: "AccountId20", value: "Percent", candidateAutoCompoundingDelegationCountHint: "u32", - delegationCountHint: "u32", + delegationCountHint: "u32" }, hotfix_remove_delegation_requests_exited_candidates: { - candidates: "Vec", + candidates: "Vec" }, notify_inactive_collator: { - collator: "AccountId20", + collator: "AccountId20" }, enable_marking_offline: { - value: "bool", + value: "bool" }, force_join_candidates: { account: "AccountId20", bond: "u128", - candidateCount: "u32", + candidateCount: "u32" }, set_inflation_distribution_config: { _alias: { - new_: "new", + new_: "new" }, - new_: "PalletParachainStakingInflationDistributionConfig", - }, - }, + new_: "PalletParachainStakingInflationDistributionConfig" + } + } }, - /** Lookup124: pallet_author_inherent::pallet::Call */ + /** + * Lookup124: pallet_author_inherent::pallet::Call + **/ PalletAuthorInherentCall: { - _enum: ["kick_off_authorship_validation"], + _enum: ["kick_off_authorship_validation"] }, - /** Lookup125: pallet_author_slot_filter::pallet::Call */ + /** + * Lookup125: pallet_author_slot_filter::pallet::Call + **/ PalletAuthorSlotFilterCall: { _enum: { set_eligible: { _alias: { - new_: "new", + new_: "new" }, - new_: "u32", - }, - }, + new_: "u32" + } + } }, - /** Lookup126: pallet_author_mapping::pallet::Call */ + /** + * Lookup126: pallet_author_mapping::pallet::Call + **/ PalletAuthorMappingCall: { _enum: { add_association: { - nimbusId: "NimbusPrimitivesNimbusCryptoPublic", + nimbusId: "NimbusPrimitivesNimbusCryptoPublic" }, update_association: { oldNimbusId: "NimbusPrimitivesNimbusCryptoPublic", - newNimbusId: "NimbusPrimitivesNimbusCryptoPublic", + newNimbusId: "NimbusPrimitivesNimbusCryptoPublic" }, clear_association: { - nimbusId: "NimbusPrimitivesNimbusCryptoPublic", + nimbusId: "NimbusPrimitivesNimbusCryptoPublic" }, remove_keys: "Null", set_keys: { _alias: { - keys_: "keys", + keys_: "keys" }, - keys_: "Bytes", - }, - }, + keys_: "Bytes" + } + } }, - /** Lookup127: pallet_moonbeam_orbiters::pallet::Call */ + /** + * Lookup127: pallet_moonbeam_orbiters::pallet::Call + **/ PalletMoonbeamOrbitersCall: { _enum: { collator_add_orbiter: { - orbiter: "AccountId20", + orbiter: "AccountId20" }, collator_remove_orbiter: { - orbiter: "AccountId20", + orbiter: "AccountId20" }, orbiter_leave_collator_pool: { - collator: "AccountId20", + collator: "AccountId20" }, orbiter_register: "Null", orbiter_unregister: { - collatorsPoolCount: "u32", + collatorsPoolCount: "u32" }, add_collator: { - collator: "AccountId20", + collator: "AccountId20" }, remove_collator: { - collator: "AccountId20", - }, - }, + collator: "AccountId20" + } + } }, - /** Lookup128: pallet_utility::pallet::Call */ + /** + * Lookup128: pallet_utility::pallet::Call + **/ PalletUtilityCall: { _enum: { batch: { - calls: "Vec", + calls: "Vec" }, as_derivative: { index: "u16", - call: "Call", + call: "Call" }, batch_all: { - calls: "Vec", + calls: "Vec" }, dispatch_as: { asOrigin: "MoonbeamRuntimeOriginCaller", - call: "Call", + call: "Call" }, force_batch: { - calls: "Vec", + calls: "Vec" }, with_weight: { call: "Call", - weight: "SpWeightsWeightV2Weight", - }, - }, + weight: "SpWeightsWeightV2Weight" + } + } }, - /** Lookup130: moonbeam_runtime::OriginCaller */ + /** + * Lookup130: moonbeam_runtime::OriginCaller + **/ MoonbeamRuntimeOriginCaller: { _enum: { system: "FrameSupportDispatchRawOrigin", @@ -1565,61 +1716,77 @@ export default { __Unused106: "Null", __Unused107: "Null", __Unused108: "Null", - EthereumXcm: "PalletEthereumXcmRawOrigin", - }, + EthereumXcm: "PalletEthereumXcmRawOrigin" + } }, - /** Lookup131: frame_support::dispatch::RawOrigin[account::AccountId20](account::AccountId20) */ + /** + * Lookup131: frame_support::dispatch::RawOrigin + **/ FrameSupportDispatchRawOrigin: { _enum: { Root: "Null", Signed: "AccountId20", - None: "Null", - }, + None: "Null" + } }, - /** Lookup132: pallet_ethereum::RawOrigin */ + /** + * Lookup132: pallet_ethereum::RawOrigin + **/ PalletEthereumRawOrigin: { _enum: { - EthereumTransaction: "H160", - }, + EthereumTransaction: "H160" + } }, - /** Lookup133: moonbeam_runtime::governance::origins::custom_origins::Origin */ + /** + * Lookup133: moonbeam_runtime::governance::origins::custom_origins::Origin + **/ MoonbeamRuntimeGovernanceOriginsCustomOriginsOrigin: { _enum: [ "WhitelistedCaller", "GeneralAdmin", "ReferendumCanceller", "ReferendumKiller", - "FastGeneralAdmin", - ], + "FastGeneralAdmin" + ] }, - /** Lookup134: pallet_collective::RawOrigin */ + /** + * Lookup134: pallet_collective::RawOrigin + **/ PalletCollectiveRawOrigin: { _enum: { Members: "(u32,u32)", Member: "AccountId20", - _Phantom: "Null", - }, + _Phantom: "Null" + } }, - /** Lookup136: cumulus_pallet_xcm::pallet::Origin */ + /** + * Lookup136: cumulus_pallet_xcm::pallet::Origin + **/ CumulusPalletXcmOrigin: { _enum: { Relay: "Null", - SiblingParachain: "u32", - }, + SiblingParachain: "u32" + } }, - /** Lookup137: pallet_xcm::pallet::Origin */ + /** + * Lookup137: pallet_xcm::pallet::Origin + **/ PalletXcmOrigin: { _enum: { Xcm: "StagingXcmV4Location", - Response: "StagingXcmV4Location", - }, + Response: "StagingXcmV4Location" + } }, - /** Lookup138: staging_xcm::v4::location::Location */ + /** + * Lookup138: staging_xcm::v4::location::Location + **/ StagingXcmV4Location: { parents: "u8", - interior: "StagingXcmV4Junctions", + interior: "StagingXcmV4Junctions" }, - /** Lookup139: staging_xcm::v4::junctions::Junctions */ + /** + * Lookup139: staging_xcm::v4::junctions::Junctions + **/ StagingXcmV4Junctions: { _enum: { Here: "Null", @@ -1630,46 +1797,50 @@ export default { X5: "[Lookup141;5]", X6: "[Lookup141;6]", X7: "[Lookup141;7]", - X8: "[Lookup141;8]", - }, + X8: "[Lookup141;8]" + } }, - /** Lookup141: staging_xcm::v4::junction::Junction */ + /** + * Lookup141: staging_xcm::v4::junction::Junction + **/ StagingXcmV4Junction: { _enum: { Parachain: "Compact", AccountId32: { network: "Option", - id: "[u8;32]", + id: "[u8;32]" }, AccountIndex64: { network: "Option", - index: "Compact", + index: "Compact" }, AccountKey20: { network: "Option", - key: "[u8;20]", + key: "[u8;20]" }, PalletInstance: "u8", GeneralIndex: "Compact", GeneralKey: { length: "u8", - data: "[u8;32]", + data: "[u8;32]" }, OnlyChild: "Null", Plurality: { id: "XcmV3JunctionBodyId", - part: "XcmV3JunctionBodyPart", + part: "XcmV3JunctionBodyPart" }, - GlobalConsensus: "StagingXcmV4JunctionNetworkId", - }, + GlobalConsensus: "StagingXcmV4JunctionNetworkId" + } }, - /** Lookup144: staging_xcm::v4::junction::NetworkId */ + /** + * Lookup144: staging_xcm::v4::junction::NetworkId + **/ StagingXcmV4JunctionNetworkId: { _enum: { ByGenesis: "[u8;32]", ByFork: { blockNumber: "u64", - blockHash: "[u8;32]", + blockHash: "[u8;32]" }, Polkadot: "Null", Kusama: "Null", @@ -1677,14 +1848,16 @@ export default { Rococo: "Null", Wococo: "Null", Ethereum: { - chainId: "Compact", + chainId: "Compact" }, BitcoinCore: "Null", BitcoinCash: "Null", - PolkadotBulletin: "Null", - }, + PolkadotBulletin: "Null" + } }, - /** Lookup145: xcm::v3::junction::BodyId */ + /** + * Lookup145: xcm::v3::junction::BodyId + **/ XcmV3JunctionBodyId: { _enum: { Unit: "Null", @@ -1696,177 +1869,191 @@ export default { Judicial: "Null", Defense: "Null", Administration: "Null", - Treasury: "Null", - }, + Treasury: "Null" + } }, - /** Lookup146: xcm::v3::junction::BodyPart */ + /** + * Lookup146: xcm::v3::junction::BodyPart + **/ XcmV3JunctionBodyPart: { _enum: { Voice: "Null", Members: { - count: "Compact", + count: "Compact" }, Fraction: { nom: "Compact", - denom: "Compact", + denom: "Compact" }, AtLeastProportion: { nom: "Compact", - denom: "Compact", + denom: "Compact" }, MoreThanProportion: { nom: "Compact", - denom: "Compact", - }, - }, + denom: "Compact" + } + } }, - /** Lookup154: pallet_ethereum_xcm::RawOrigin */ + /** + * Lookup154: pallet_ethereum_xcm::RawOrigin + **/ PalletEthereumXcmRawOrigin: { _enum: { - XcmEthereumTransaction: "H160", - }, + XcmEthereumTransaction: "H160" + } }, - /** Lookup155: sp_core::Void */ + /** + * Lookup155: sp_core::Void + **/ SpCoreVoid: "Null", - /** Lookup156: pallet_proxy::pallet::Call */ + /** + * Lookup156: pallet_proxy::pallet::Call + **/ PalletProxyCall: { _enum: { proxy: { real: "AccountId20", forceProxyType: "Option", - call: "Call", + call: "Call" }, add_proxy: { delegate: "AccountId20", proxyType: "MoonbeamRuntimeProxyType", - delay: "u32", + delay: "u32" }, remove_proxy: { delegate: "AccountId20", proxyType: "MoonbeamRuntimeProxyType", - delay: "u32", + delay: "u32" }, remove_proxies: "Null", create_pure: { proxyType: "MoonbeamRuntimeProxyType", delay: "u32", - index: "u16", + index: "u16" }, kill_pure: { spawner: "AccountId20", proxyType: "MoonbeamRuntimeProxyType", index: "u16", height: "Compact", - extIndex: "Compact", + extIndex: "Compact" }, announce: { real: "AccountId20", - callHash: "H256", + callHash: "H256" }, remove_announcement: { real: "AccountId20", - callHash: "H256", + callHash: "H256" }, reject_announcement: { delegate: "AccountId20", - callHash: "H256", + callHash: "H256" }, proxy_announced: { delegate: "AccountId20", real: "AccountId20", forceProxyType: "Option", - call: "Call", - }, - }, + call: "Call" + } + } }, - /** Lookup158: pallet_maintenance_mode::pallet::Call */ + /** + * Lookup158: pallet_maintenance_mode::pallet::Call + **/ PalletMaintenanceModeCall: { - _enum: ["enter_maintenance_mode", "resume_normal_operation"], + _enum: ["enter_maintenance_mode", "resume_normal_operation"] }, - /** Lookup159: pallet_identity::pallet::Call */ + /** + * Lookup159: pallet_identity::pallet::Call + **/ PalletIdentityCall: { _enum: { add_registrar: { - account: "AccountId20", + account: "AccountId20" }, set_identity: { - info: "PalletIdentityLegacyIdentityInfo", + info: "PalletIdentityLegacyIdentityInfo" }, set_subs: { - subs: "Vec<(AccountId20,Data)>", + subs: "Vec<(AccountId20,Data)>" }, clear_identity: "Null", request_judgement: { regIndex: "Compact", - maxFee: "Compact", + maxFee: "Compact" }, cancel_request: { - regIndex: "u32", + regIndex: "u32" }, set_fee: { index: "Compact", - fee: "Compact", + fee: "Compact" }, set_account_id: { _alias: { - new_: "new", + new_: "new" }, index: "Compact", - new_: "AccountId20", + new_: "AccountId20" }, set_fields: { index: "Compact", - fields: "u64", + fields: "u64" }, provide_judgement: { regIndex: "Compact", target: "AccountId20", judgement: "PalletIdentityJudgement", - identity: "H256", + identity: "H256" }, kill_identity: { - target: "AccountId20", + target: "AccountId20" }, add_sub: { sub: "AccountId20", - data: "Data", + data: "Data" }, rename_sub: { sub: "AccountId20", - data: "Data", + data: "Data" }, remove_sub: { - sub: "AccountId20", + sub: "AccountId20" }, quit_sub: "Null", add_username_authority: { authority: "AccountId20", suffix: "Bytes", - allocation: "u32", + allocation: "u32" }, remove_username_authority: { - authority: "AccountId20", + authority: "AccountId20" }, set_username_for: { who: "AccountId20", username: "Bytes", - signature: "Option", + signature: "Option" }, accept_username: { - username: "Bytes", + username: "Bytes" }, remove_expired_approval: { - username: "Bytes", + username: "Bytes" }, set_primary_username: { - username: "Bytes", + username: "Bytes" }, remove_dangling_username: { - username: "Bytes", - }, - }, + username: "Bytes" + } + } }, - /** Lookup160: pallet_identity::legacy::IdentityInfo */ + /** + * Lookup160: pallet_identity::legacy::IdentityInfo + **/ PalletIdentityLegacyIdentityInfo: { additional: "Vec<(Data,Data)>", display: "Data", @@ -1876,9 +2063,11 @@ export default { email: "Data", pgpFingerprint: "Option<[u8;20]>", image: "Data", - twitter: "Data", + twitter: "Data" }, - /** Lookup198: pallet_identity::types::Judgement */ + /** + * Lookup198: pallet_identity::types::Judgement + **/ PalletIdentityJudgement: { _enum: { Unknown: "Null", @@ -1887,97 +2076,113 @@ export default { KnownGood: "Null", OutOfDate: "Null", LowQuality: "Null", - Erroneous: "Null", - }, + Erroneous: "Null" + } }, - /** Lookup200: account::EthereumSignature */ + /** + * Lookup200: account::EthereumSignature + **/ AccountEthereumSignature: "[u8;65]", - /** Lookup202: pallet_multisig::pallet::Call */ + /** + * Lookup202: pallet_multisig::pallet::Call + **/ PalletMultisigCall: { _enum: { as_multi_threshold_1: { otherSignatories: "Vec", - call: "Call", + call: "Call" }, as_multi: { threshold: "u16", otherSignatories: "Vec", maybeTimepoint: "Option", call: "Call", - maxWeight: "SpWeightsWeightV2Weight", + maxWeight: "SpWeightsWeightV2Weight" }, approve_as_multi: { threshold: "u16", otherSignatories: "Vec", maybeTimepoint: "Option", callHash: "[u8;32]", - maxWeight: "SpWeightsWeightV2Weight", + maxWeight: "SpWeightsWeightV2Weight" }, cancel_as_multi: { threshold: "u16", otherSignatories: "Vec", timepoint: "PalletMultisigTimepoint", - callHash: "[u8;32]", - }, - }, + callHash: "[u8;32]" + } + } }, - /** Lookup204: pallet_moonbeam_lazy_migrations::pallet::Call */ + /** + * Lookup204: pallet_moonbeam_lazy_migrations::pallet::Call + **/ PalletMoonbeamLazyMigrationsCall: { _enum: { __Unused0: "Null", __Unused1: "Null", create_contract_metadata: { - address: "H160", + address: "H160" }, approve_assets_to_migrate: { - assets: "Vec", + assets: "Vec" }, start_foreign_assets_migration: { - assetId: "u128", + assetId: "u128" }, migrate_foreign_asset_balances: { - limit: "u32", + limit: "u32" }, migrate_foreign_asset_approvals: { - limit: "u32", + limit: "u32" }, - finish_foreign_assets_migration: "Null", - }, + finish_foreign_assets_migration: "Null" + } }, - /** Lookup207: pallet_parameters::pallet::Call */ + /** + * Lookup207: pallet_parameters::pallet::Call + **/ PalletParametersCall: { _enum: { set_parameter: { - keyValue: "MoonbeamRuntimeRuntimeParamsRuntimeParameters", - }, - }, + keyValue: "MoonbeamRuntimeRuntimeParamsRuntimeParameters" + } + } }, - /** Lookup208: moonbeam_runtime::runtime_params::RuntimeParameters */ + /** + * Lookup208: moonbeam_runtime::runtime_params::RuntimeParameters + **/ MoonbeamRuntimeRuntimeParamsRuntimeParameters: { _enum: { RuntimeConfig: "MoonbeamRuntimeRuntimeParamsDynamicParamsRuntimeConfigParameters", - PalletRandomness: "MoonbeamRuntimeRuntimeParamsDynamicParamsPalletRandomnessParameters", - }, + PalletRandomness: "MoonbeamRuntimeRuntimeParamsDynamicParamsPalletRandomnessParameters" + } }, - /** Lookup209: moonbeam_runtime::runtime_params::dynamic_params::runtime_config::Parameters */ + /** + * Lookup209: moonbeam_runtime::runtime_params::dynamic_params::runtime_config::Parameters + **/ MoonbeamRuntimeRuntimeParamsDynamicParamsRuntimeConfigParameters: { _enum: { FeesTreasuryProportion: - "(MoonbeamRuntimeRuntimeParamsDynamicParamsRuntimeConfigFeesTreasuryProportion,Option)", - }, + "(MoonbeamRuntimeRuntimeParamsDynamicParamsRuntimeConfigFeesTreasuryProportion,Option)" + } }, - /** Lookup211: moonbeam_runtime::runtime_params::dynamic_params::pallet_randomness::Parameters */ + /** + * Lookup211: moonbeam_runtime::runtime_params::dynamic_params::pallet_randomness::Parameters + **/ MoonbeamRuntimeRuntimeParamsDynamicParamsPalletRandomnessParameters: { _enum: { - Deposit: "(MoonbeamRuntimeRuntimeParamsDynamicParamsPalletRandomnessDeposit,Option)", - }, + Deposit: "(MoonbeamRuntimeRuntimeParamsDynamicParamsPalletRandomnessDeposit,Option)" + } }, - /** Lookup213: pallet_evm::pallet::Call */ + /** + * Lookup213: pallet_evm::pallet::Call + **/ PalletEvmCall: { _enum: { withdraw: { address: "H160", - value: "u128", + value: "u128" }, call: { source: "H160", @@ -1988,7 +2193,7 @@ export default { maxFeePerGas: "U256", maxPriorityFeePerGas: "Option", nonce: "Option", - accessList: "Vec<(H160,Vec)>", + accessList: "Vec<(H160,Vec)>" }, create: { source: "H160", @@ -1998,7 +2203,7 @@ export default { maxFeePerGas: "U256", maxPriorityFeePerGas: "Option", nonce: "Option", - accessList: "Vec<(H160,Vec)>", + accessList: "Vec<(H160,Vec)>" }, create2: { source: "H160", @@ -2009,27 +2214,33 @@ export default { maxFeePerGas: "U256", maxPriorityFeePerGas: "Option", nonce: "Option", - accessList: "Vec<(H160,Vec)>", - }, - }, + accessList: "Vec<(H160,Vec)>" + } + } }, - /** Lookup219: pallet_ethereum::pallet::Call */ + /** + * Lookup219: pallet_ethereum::pallet::Call + **/ PalletEthereumCall: { _enum: { transact: { - transaction: "EthereumTransactionTransactionV2", - }, - }, + transaction: "EthereumTransactionTransactionV2" + } + } }, - /** Lookup220: ethereum::transaction::TransactionV2 */ + /** + * Lookup220: ethereum::transaction::TransactionV2 + **/ EthereumTransactionTransactionV2: { _enum: { Legacy: "EthereumTransactionLegacyTransaction", EIP2930: "EthereumTransactionEip2930Transaction", - EIP1559: "EthereumTransactionEip1559Transaction", - }, + EIP1559: "EthereumTransactionEip1559Transaction" + } }, - /** Lookup221: ethereum::transaction::LegacyTransaction */ + /** + * Lookup221: ethereum::transaction::LegacyTransaction + **/ EthereumTransactionLegacyTransaction: { nonce: "U256", gasPrice: "U256", @@ -2037,22 +2248,28 @@ export default { action: "EthereumTransactionTransactionAction", value: "U256", input: "Bytes", - signature: "EthereumTransactionTransactionSignature", + signature: "EthereumTransactionTransactionSignature" }, - /** Lookup222: ethereum::transaction::TransactionAction */ + /** + * Lookup222: ethereum::transaction::TransactionAction + **/ EthereumTransactionTransactionAction: { _enum: { Call: "H160", - Create: "Null", - }, + Create: "Null" + } }, - /** Lookup223: ethereum::transaction::TransactionSignature */ + /** + * Lookup223: ethereum::transaction::TransactionSignature + **/ EthereumTransactionTransactionSignature: { v: "u64", r: "H256", - s: "H256", + s: "H256" }, - /** Lookup225: ethereum::transaction::EIP2930Transaction */ + /** + * Lookup225: ethereum::transaction::EIP2930Transaction + **/ EthereumTransactionEip2930Transaction: { chainId: "u64", nonce: "U256", @@ -2064,14 +2281,18 @@ export default { accessList: "Vec", oddYParity: "bool", r: "H256", - s: "H256", + s: "H256" }, - /** Lookup227: ethereum::transaction::AccessListItem */ + /** + * Lookup227: ethereum::transaction::AccessListItem + **/ EthereumTransactionAccessListItem: { address: "H160", - storageKeys: "Vec", + storageKeys: "Vec" }, - /** Lookup228: ethereum::transaction::EIP1559Transaction */ + /** + * Lookup228: ethereum::transaction::EIP1559Transaction + **/ EthereumTransactionEip1559Transaction: { chainId: "u64", nonce: "U256", @@ -2084,240 +2305,260 @@ export default { accessList: "Vec", oddYParity: "bool", r: "H256", - s: "H256", + s: "H256" }, - /** Lookup229: pallet_scheduler::pallet::Call */ + /** + * Lookup229: pallet_scheduler::pallet::Call + **/ PalletSchedulerCall: { _enum: { schedule: { when: "u32", maybePeriodic: "Option<(u32,u32)>", priority: "u8", - call: "Call", + call: "Call" }, cancel: { when: "u32", - index: "u32", + index: "u32" }, schedule_named: { id: "[u8;32]", when: "u32", maybePeriodic: "Option<(u32,u32)>", priority: "u8", - call: "Call", + call: "Call" }, cancel_named: { - id: "[u8;32]", + id: "[u8;32]" }, schedule_after: { after: "u32", maybePeriodic: "Option<(u32,u32)>", priority: "u8", - call: "Call", + call: "Call" }, schedule_named_after: { id: "[u8;32]", after: "u32", maybePeriodic: "Option<(u32,u32)>", priority: "u8", - call: "Call", + call: "Call" }, set_retry: { task: "(u32,u32)", retries: "u8", - period: "u32", + period: "u32" }, set_retry_named: { id: "[u8;32]", retries: "u8", - period: "u32", + period: "u32" }, cancel_retry: { - task: "(u32,u32)", + task: "(u32,u32)" }, cancel_retry_named: { - id: "[u8;32]", - }, - }, + id: "[u8;32]" + } + } }, - /** Lookup231: pallet_preimage::pallet::Call */ + /** + * Lookup231: pallet_preimage::pallet::Call + **/ PalletPreimageCall: { _enum: { note_preimage: { - bytes: "Bytes", + bytes: "Bytes" }, unnote_preimage: { _alias: { - hash_: "hash", + hash_: "hash" }, - hash_: "H256", + hash_: "H256" }, request_preimage: { _alias: { - hash_: "hash", + hash_: "hash" }, - hash_: "H256", + hash_: "H256" }, unrequest_preimage: { _alias: { - hash_: "hash", + hash_: "hash" }, - hash_: "H256", + hash_: "H256" }, ensure_updated: { - hashes: "Vec", - }, - }, + hashes: "Vec" + } + } }, - /** Lookup232: pallet_conviction_voting::pallet::Call */ + /** + * Lookup232: pallet_conviction_voting::pallet::Call + **/ PalletConvictionVotingCall: { _enum: { vote: { pollIndex: "Compact", - vote: "PalletConvictionVotingVoteAccountVote", + vote: "PalletConvictionVotingVoteAccountVote" }, delegate: { class: "u16", to: "AccountId20", conviction: "PalletConvictionVotingConviction", - balance: "u128", + balance: "u128" }, undelegate: { - class: "u16", + class: "u16" }, unlock: { class: "u16", - target: "AccountId20", + target: "AccountId20" }, remove_vote: { class: "Option", - index: "u32", + index: "u32" }, remove_other_vote: { target: "AccountId20", class: "u16", - index: "u32", - }, - }, + index: "u32" + } + } }, - /** Lookup233: pallet_conviction_voting::vote::AccountVote */ + /** + * Lookup233: pallet_conviction_voting::vote::AccountVote + **/ PalletConvictionVotingVoteAccountVote: { _enum: { Standard: { vote: "Vote", - balance: "u128", + balance: "u128" }, Split: { aye: "u128", - nay: "u128", + nay: "u128" }, SplitAbstain: { aye: "u128", nay: "u128", - abstain: "u128", - }, - }, + abstain: "u128" + } + } }, - /** Lookup235: pallet_conviction_voting::conviction::Conviction */ + /** + * Lookup235: pallet_conviction_voting::conviction::Conviction + **/ PalletConvictionVotingConviction: { - _enum: ["None", "Locked1x", "Locked2x", "Locked3x", "Locked4x", "Locked5x", "Locked6x"], + _enum: ["None", "Locked1x", "Locked2x", "Locked3x", "Locked4x", "Locked5x", "Locked6x"] }, - /** Lookup237: pallet_referenda::pallet::Call */ + /** + * Lookup237: pallet_referenda::pallet::Call + **/ PalletReferendaCall: { _enum: { submit: { proposalOrigin: "MoonbeamRuntimeOriginCaller", proposal: "FrameSupportPreimagesBounded", - enactmentMoment: "FrameSupportScheduleDispatchTime", + enactmentMoment: "FrameSupportScheduleDispatchTime" }, place_decision_deposit: { - index: "u32", + index: "u32" }, refund_decision_deposit: { - index: "u32", + index: "u32" }, cancel: { - index: "u32", + index: "u32" }, kill: { - index: "u32", + index: "u32" }, nudge_referendum: { - index: "u32", + index: "u32" }, one_fewer_deciding: { - track: "u16", + track: "u16" }, refund_submission_deposit: { - index: "u32", + index: "u32" }, set_metadata: { index: "u32", - maybeHash: "Option", - }, - }, + maybeHash: "Option" + } + } }, - /** Lookup238: frame_support::traits::schedule::DispatchTime */ + /** + * Lookup238: frame_support::traits::schedule::DispatchTime + **/ FrameSupportScheduleDispatchTime: { _enum: { At: "u32", - After: "u32", - }, + After: "u32" + } }, - /** Lookup240: pallet_whitelist::pallet::Call */ + /** + * Lookup240: pallet_whitelist::pallet::Call + **/ PalletWhitelistCall: { _enum: { whitelist_call: { - callHash: "H256", + callHash: "H256" }, remove_whitelisted_call: { - callHash: "H256", + callHash: "H256" }, dispatch_whitelisted_call: { callHash: "H256", callEncodedLen: "u32", - callWeightWitness: "SpWeightsWeightV2Weight", + callWeightWitness: "SpWeightsWeightV2Weight" }, dispatch_whitelisted_call_with_preimage: { - call: "Call", - }, - }, + call: "Call" + } + } }, - /** Lookup241: pallet_collective::pallet::Call */ + /** + * Lookup241: pallet_collective::pallet::Call + **/ PalletCollectiveCall: { _enum: { set_members: { newMembers: "Vec", prime: "Option", - oldCount: "u32", + oldCount: "u32" }, execute: { proposal: "Call", - lengthBound: "Compact", + lengthBound: "Compact" }, propose: { threshold: "Compact", proposal: "Call", - lengthBound: "Compact", + lengthBound: "Compact" }, vote: { proposal: "H256", index: "Compact", - approve: "bool", + approve: "bool" }, __Unused4: "Null", disapprove_proposal: { - proposalHash: "H256", + proposalHash: "H256" }, close: { proposalHash: "H256", index: "Compact", proposalWeightBound: "SpWeightsWeightV2Weight", - lengthBound: "Compact", - }, - }, + lengthBound: "Compact" + } + } }, - /** Lookup243: pallet_treasury::pallet::Call */ + /** + * Lookup243: pallet_treasury::pallet::Call + **/ PalletTreasuryCall: { _enum: { __Unused0: "Null", @@ -2325,124 +2566,130 @@ export default { __Unused2: "Null", spend_local: { amount: "Compact", - beneficiary: "AccountId20", + beneficiary: "AccountId20" }, remove_approval: { - proposalId: "Compact", + proposalId: "Compact" }, spend: { assetKind: "Null", amount: "Compact", beneficiary: "AccountId20", - validFrom: "Option", + validFrom: "Option" }, payout: { - index: "u32", + index: "u32" }, check_status: { - index: "u32", + index: "u32" }, void_spend: { - index: "u32", - }, - }, + index: "u32" + } + } }, - /** Lookup245: pallet_crowdloan_rewards::pallet::Call */ + /** + * Lookup245: pallet_crowdloan_rewards::pallet::Call + **/ PalletCrowdloanRewardsCall: { _enum: { associate_native_identity: { rewardAccount: "AccountId20", relayAccount: "[u8;32]", - proof: "SpRuntimeMultiSignature", + proof: "SpRuntimeMultiSignature" }, change_association_with_relay_keys: { rewardAccount: "AccountId20", previousAccount: "AccountId20", - proofs: "Vec<([u8;32],SpRuntimeMultiSignature)>", + proofs: "Vec<([u8;32],SpRuntimeMultiSignature)>" }, claim: "Null", update_reward_address: { - newRewardAccount: "AccountId20", + newRewardAccount: "AccountId20" }, complete_initialization: { - leaseEndingBlock: "u32", + leaseEndingBlock: "u32" }, initialize_reward_vec: { - rewards: "Vec<([u8;32],Option,u128)>", - }, - }, + rewards: "Vec<([u8;32],Option,u128)>" + } + } }, - /** Lookup246: sp_runtime::MultiSignature */ + /** + * Lookup246: sp_runtime::MultiSignature + **/ SpRuntimeMultiSignature: { _enum: { Ed25519: "[u8;64]", Sr25519: "[u8;64]", - Ecdsa: "[u8;65]", - }, + Ecdsa: "[u8;65]" + } }, - /** Lookup252: pallet_xcm::pallet::Call */ + /** + * Lookup252: pallet_xcm::pallet::Call + **/ PalletXcmCall: { _enum: { send: { dest: "XcmVersionedLocation", - message: "XcmVersionedXcm", + message: "XcmVersionedXcm" }, teleport_assets: { dest: "XcmVersionedLocation", beneficiary: "XcmVersionedLocation", assets: "XcmVersionedAssets", - feeAssetItem: "u32", + feeAssetItem: "u32" }, reserve_transfer_assets: { dest: "XcmVersionedLocation", beneficiary: "XcmVersionedLocation", assets: "XcmVersionedAssets", - feeAssetItem: "u32", + feeAssetItem: "u32" }, execute: { message: "XcmVersionedXcm", - maxWeight: "SpWeightsWeightV2Weight", + maxWeight: "SpWeightsWeightV2Weight" }, force_xcm_version: { location: "StagingXcmV4Location", - version: "u32", + version: "u32" }, force_default_xcm_version: { - maybeXcmVersion: "Option", + maybeXcmVersion: "Option" }, force_subscribe_version_notify: { - location: "XcmVersionedLocation", + location: "XcmVersionedLocation" }, force_unsubscribe_version_notify: { - location: "XcmVersionedLocation", + location: "XcmVersionedLocation" }, limited_reserve_transfer_assets: { dest: "XcmVersionedLocation", beneficiary: "XcmVersionedLocation", assets: "XcmVersionedAssets", feeAssetItem: "u32", - weightLimit: "XcmV3WeightLimit", + weightLimit: "XcmV3WeightLimit" }, limited_teleport_assets: { dest: "XcmVersionedLocation", beneficiary: "XcmVersionedLocation", assets: "XcmVersionedAssets", feeAssetItem: "u32", - weightLimit: "XcmV3WeightLimit", + weightLimit: "XcmV3WeightLimit" }, force_suspension: { - suspended: "bool", + suspended: "bool" }, transfer_assets: { dest: "XcmVersionedLocation", beneficiary: "XcmVersionedLocation", assets: "XcmVersionedAssets", feeAssetItem: "u32", - weightLimit: "XcmV3WeightLimit", + weightLimit: "XcmV3WeightLimit" }, claim_assets: { assets: "XcmVersionedAssets", - beneficiary: "XcmVersionedLocation", + beneficiary: "XcmVersionedLocation" }, transfer_assets_using_type_and_then: { dest: "XcmVersionedLocation", @@ -2451,26 +2698,32 @@ export default { remoteFeesId: "XcmVersionedAssetId", feesTransferType: "StagingXcmExecutorAssetTransferTransferType", customXcmOnDest: "XcmVersionedXcm", - weightLimit: "XcmV3WeightLimit", - }, - }, + weightLimit: "XcmV3WeightLimit" + } + } }, - /** Lookup253: xcm::VersionedLocation */ + /** + * Lookup253: xcm::VersionedLocation + **/ XcmVersionedLocation: { _enum: { __Unused0: "Null", V2: "XcmV2MultiLocation", __Unused2: "Null", V3: "StagingXcmV3MultiLocation", - V4: "StagingXcmV4Location", - }, + V4: "StagingXcmV4Location" + } }, - /** Lookup254: xcm::v2::multilocation::MultiLocation */ + /** + * Lookup254: xcm::v2::multilocation::MultiLocation + **/ XcmV2MultiLocation: { parents: "u8", - interior: "XcmV2MultilocationJunctions", + interior: "XcmV2MultilocationJunctions" }, - /** Lookup255: xcm::v2::multilocation::Junctions */ + /** + * Lookup255: xcm::v2::multilocation::Junctions + **/ XcmV2MultilocationJunctions: { _enum: { Here: "Null", @@ -2481,24 +2734,26 @@ export default { X5: "(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)", X6: "(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)", X7: "(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)", - X8: "(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)", - }, + X8: "(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)" + } }, - /** Lookup256: xcm::v2::junction::Junction */ + /** + * Lookup256: xcm::v2::junction::Junction + **/ XcmV2Junction: { _enum: { Parachain: "Compact", AccountId32: { network: "XcmV2NetworkId", - id: "[u8;32]", + id: "[u8;32]" }, AccountIndex64: { network: "XcmV2NetworkId", - index: "Compact", + index: "Compact" }, AccountKey20: { network: "XcmV2NetworkId", - key: "[u8;20]", + key: "[u8;20]" }, PalletInstance: "u8", GeneralIndex: "Compact", @@ -2506,20 +2761,24 @@ export default { OnlyChild: "Null", Plurality: { id: "XcmV2BodyId", - part: "XcmV2BodyPart", - }, - }, + part: "XcmV2BodyPart" + } + } }, - /** Lookup257: xcm::v2::NetworkId */ + /** + * Lookup257: xcm::v2::NetworkId + **/ XcmV2NetworkId: { _enum: { Any: "Null", Named: "Bytes", Polkadot: "Null", - Kusama: "Null", - }, + Kusama: "Null" + } }, - /** Lookup259: xcm::v2::BodyId */ + /** + * Lookup259: xcm::v2::BodyId + **/ XcmV2BodyId: { _enum: { Unit: "Null", @@ -2531,36 +2790,42 @@ export default { Judicial: "Null", Defense: "Null", Administration: "Null", - Treasury: "Null", - }, + Treasury: "Null" + } }, - /** Lookup260: xcm::v2::BodyPart */ + /** + * Lookup260: xcm::v2::BodyPart + **/ XcmV2BodyPart: { _enum: { Voice: "Null", Members: { - count: "Compact", + count: "Compact" }, Fraction: { nom: "Compact", - denom: "Compact", + denom: "Compact" }, AtLeastProportion: { nom: "Compact", - denom: "Compact", + denom: "Compact" }, MoreThanProportion: { nom: "Compact", - denom: "Compact", - }, - }, + denom: "Compact" + } + } }, - /** Lookup261: staging_xcm::v3::multilocation::MultiLocation */ + /** + * Lookup261: staging_xcm::v3::multilocation::MultiLocation + **/ StagingXcmV3MultiLocation: { parents: "u8", - interior: "XcmV3Junctions", + interior: "XcmV3Junctions" }, - /** Lookup262: xcm::v3::junctions::Junctions */ + /** + * Lookup262: xcm::v3::junctions::Junctions + **/ XcmV3Junctions: { _enum: { Here: "Null", @@ -2571,46 +2836,50 @@ export default { X5: "(XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction)", X6: "(XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction)", X7: "(XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction)", - X8: "(XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction)", - }, + X8: "(XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction)" + } }, - /** Lookup263: xcm::v3::junction::Junction */ + /** + * Lookup263: xcm::v3::junction::Junction + **/ XcmV3Junction: { _enum: { Parachain: "Compact", AccountId32: { network: "Option", - id: "[u8;32]", + id: "[u8;32]" }, AccountIndex64: { network: "Option", - index: "Compact", + index: "Compact" }, AccountKey20: { network: "Option", - key: "[u8;20]", + key: "[u8;20]" }, PalletInstance: "u8", GeneralIndex: "Compact", GeneralKey: { length: "u8", - data: "[u8;32]", + data: "[u8;32]" }, OnlyChild: "Null", Plurality: { id: "XcmV3JunctionBodyId", - part: "XcmV3JunctionBodyPart", + part: "XcmV3JunctionBodyPart" }, - GlobalConsensus: "XcmV3JunctionNetworkId", - }, + GlobalConsensus: "XcmV3JunctionNetworkId" + } }, - /** Lookup265: xcm::v3::junction::NetworkId */ + /** + * Lookup265: xcm::v3::junction::NetworkId + **/ XcmV3JunctionNetworkId: { _enum: { ByGenesis: "[u8;32]", ByFork: { blockNumber: "u64", - blockHash: "[u8;32]", + blockHash: "[u8;32]" }, Polkadot: "Null", Kusama: "Null", @@ -2618,26 +2887,32 @@ export default { Rococo: "Null", Wococo: "Null", Ethereum: { - chainId: "Compact", + chainId: "Compact" }, BitcoinCore: "Null", BitcoinCash: "Null", - PolkadotBulletin: "Null", - }, + PolkadotBulletin: "Null" + } }, - /** Lookup266: xcm::VersionedXcm */ + /** + * Lookup266: xcm::VersionedXcm + **/ XcmVersionedXcm: { _enum: { __Unused0: "Null", __Unused1: "Null", V2: "XcmV2Xcm", V3: "XcmV3Xcm", - V4: "StagingXcmV4Xcm", - }, + V4: "StagingXcmV4Xcm" + } }, - /** Lookup267: xcm::v2::Xcm */ + /** + * Lookup267: xcm::v2::Xcm + **/ XcmV2Xcm: "Vec", - /** Lookup269: xcm::v2::Instruction */ + /** + * Lookup269: xcm::v2::Instruction + **/ XcmV2Instruction: { _enum: { WithdrawAsset: "XcmV2MultiassetMultiAssets", @@ -2646,76 +2921,76 @@ export default { QueryResponse: { queryId: "Compact", response: "XcmV2Response", - maxWeight: "Compact", + maxWeight: "Compact" }, TransferAsset: { assets: "XcmV2MultiassetMultiAssets", - beneficiary: "XcmV2MultiLocation", + beneficiary: "XcmV2MultiLocation" }, TransferReserveAsset: { assets: "XcmV2MultiassetMultiAssets", dest: "XcmV2MultiLocation", - xcm: "XcmV2Xcm", + xcm: "XcmV2Xcm" }, Transact: { originType: "XcmV2OriginKind", requireWeightAtMost: "Compact", - call: "XcmDoubleEncoded", + call: "XcmDoubleEncoded" }, HrmpNewChannelOpenRequest: { sender: "Compact", maxMessageSize: "Compact", - maxCapacity: "Compact", + maxCapacity: "Compact" }, HrmpChannelAccepted: { - recipient: "Compact", + recipient: "Compact" }, HrmpChannelClosing: { initiator: "Compact", sender: "Compact", - recipient: "Compact", + recipient: "Compact" }, ClearOrigin: "Null", DescendOrigin: "XcmV2MultilocationJunctions", ReportError: { queryId: "Compact", dest: "XcmV2MultiLocation", - maxResponseWeight: "Compact", + maxResponseWeight: "Compact" }, DepositAsset: { assets: "XcmV2MultiassetMultiAssetFilter", maxAssets: "Compact", - beneficiary: "XcmV2MultiLocation", + beneficiary: "XcmV2MultiLocation" }, DepositReserveAsset: { assets: "XcmV2MultiassetMultiAssetFilter", maxAssets: "Compact", dest: "XcmV2MultiLocation", - xcm: "XcmV2Xcm", + xcm: "XcmV2Xcm" }, ExchangeAsset: { give: "XcmV2MultiassetMultiAssetFilter", - receive: "XcmV2MultiassetMultiAssets", + receive: "XcmV2MultiassetMultiAssets" }, InitiateReserveWithdraw: { assets: "XcmV2MultiassetMultiAssetFilter", reserve: "XcmV2MultiLocation", - xcm: "XcmV2Xcm", + xcm: "XcmV2Xcm" }, InitiateTeleport: { assets: "XcmV2MultiassetMultiAssetFilter", dest: "XcmV2MultiLocation", - xcm: "XcmV2Xcm", + xcm: "XcmV2Xcm" }, QueryHolding: { queryId: "Compact", dest: "XcmV2MultiLocation", assets: "XcmV2MultiassetMultiAssetFilter", - maxResponseWeight: "Compact", + maxResponseWeight: "Compact" }, BuyExecution: { fees: "XcmV2MultiAsset", - weightLimit: "XcmV2WeightLimit", + weightLimit: "XcmV2WeightLimit" }, RefundSurplus: "Null", SetErrorHandler: "XcmV2Xcm", @@ -2723,38 +2998,48 @@ export default { ClearError: "Null", ClaimAsset: { assets: "XcmV2MultiassetMultiAssets", - ticket: "XcmV2MultiLocation", + ticket: "XcmV2MultiLocation" }, Trap: "Compact", SubscribeVersion: { queryId: "Compact", - maxResponseWeight: "Compact", + maxResponseWeight: "Compact" }, - UnsubscribeVersion: "Null", - }, + UnsubscribeVersion: "Null" + } }, - /** Lookup270: xcm::v2::multiasset::MultiAssets */ + /** + * Lookup270: xcm::v2::multiasset::MultiAssets + **/ XcmV2MultiassetMultiAssets: "Vec", - /** Lookup272: xcm::v2::multiasset::MultiAsset */ + /** + * Lookup272: xcm::v2::multiasset::MultiAsset + **/ XcmV2MultiAsset: { id: "XcmV2MultiassetAssetId", - fun: "XcmV2MultiassetFungibility", + fun: "XcmV2MultiassetFungibility" }, - /** Lookup273: xcm::v2::multiasset::AssetId */ + /** + * Lookup273: xcm::v2::multiasset::AssetId + **/ XcmV2MultiassetAssetId: { _enum: { Concrete: "XcmV2MultiLocation", - Abstract: "Bytes", - }, + Abstract: "Bytes" + } }, - /** Lookup274: xcm::v2::multiasset::Fungibility */ + /** + * Lookup274: xcm::v2::multiasset::Fungibility + **/ XcmV2MultiassetFungibility: { _enum: { Fungible: "Compact", - NonFungible: "XcmV2MultiassetAssetInstance", - }, + NonFungible: "XcmV2MultiassetAssetInstance" + } }, - /** Lookup275: xcm::v2::multiasset::AssetInstance */ + /** + * Lookup275: xcm::v2::multiasset::AssetInstance + **/ XcmV2MultiassetAssetInstance: { _enum: { Undefined: "Null", @@ -2763,19 +3048,23 @@ export default { Array8: "[u8;8]", Array16: "[u8;16]", Array32: "[u8;32]", - Blob: "Bytes", - }, + Blob: "Bytes" + } }, - /** Lookup276: xcm::v2::Response */ + /** + * Lookup276: xcm::v2::Response + **/ XcmV2Response: { _enum: { Null: "Null", Assets: "XcmV2MultiassetMultiAssets", ExecutionResult: "Option<(u32,XcmV2TraitsError)>", - Version: "u32", - }, + Version: "u32" + } }, - /** Lookup279: xcm::v2::traits::Error */ + /** + * Lookup279: xcm::v2::traits::Error + **/ XcmV2TraitsError: { _enum: { Overflow: "Null", @@ -2803,48 +3092,64 @@ export default { UnhandledXcmVersion: "Null", WeightLimitReached: "u64", Barrier: "Null", - WeightNotComputable: "Null", - }, + WeightNotComputable: "Null" + } }, - /** Lookup280: xcm::v2::OriginKind */ + /** + * Lookup280: xcm::v2::OriginKind + **/ XcmV2OriginKind: { - _enum: ["Native", "SovereignAccount", "Superuser", "Xcm"], + _enum: ["Native", "SovereignAccount", "Superuser", "Xcm"] }, - /** Lookup281: xcm::double_encoded::DoubleEncoded */ + /** + * Lookup281: xcm::double_encoded::DoubleEncoded + **/ XcmDoubleEncoded: { - encoded: "Bytes", + encoded: "Bytes" }, - /** Lookup282: xcm::v2::multiasset::MultiAssetFilter */ + /** + * Lookup282: xcm::v2::multiasset::MultiAssetFilter + **/ XcmV2MultiassetMultiAssetFilter: { _enum: { Definite: "XcmV2MultiassetMultiAssets", - Wild: "XcmV2MultiassetWildMultiAsset", - }, + Wild: "XcmV2MultiassetWildMultiAsset" + } }, - /** Lookup283: xcm::v2::multiasset::WildMultiAsset */ + /** + * Lookup283: xcm::v2::multiasset::WildMultiAsset + **/ XcmV2MultiassetWildMultiAsset: { _enum: { All: "Null", AllOf: { id: "XcmV2MultiassetAssetId", - fun: "XcmV2MultiassetWildFungibility", - }, - }, + fun: "XcmV2MultiassetWildFungibility" + } + } }, - /** Lookup284: xcm::v2::multiasset::WildFungibility */ + /** + * Lookup284: xcm::v2::multiasset::WildFungibility + **/ XcmV2MultiassetWildFungibility: { - _enum: ["Fungible", "NonFungible"], + _enum: ["Fungible", "NonFungible"] }, - /** Lookup285: xcm::v2::WeightLimit */ + /** + * Lookup285: xcm::v2::WeightLimit + **/ XcmV2WeightLimit: { _enum: { Unlimited: "Null", - Limited: "Compact", - }, + Limited: "Compact" + } }, - /** Lookup286: xcm::v3::Xcm */ + /** + * Lookup286: xcm::v3::Xcm + **/ XcmV3Xcm: "Vec", - /** Lookup288: xcm::v3::Instruction */ + /** + * Lookup288: xcm::v3::Instruction + **/ XcmV3Instruction: { _enum: { WithdrawAsset: "XcmV3MultiassetMultiAssets", @@ -2854,69 +3159,69 @@ export default { queryId: "Compact", response: "XcmV3Response", maxWeight: "SpWeightsWeightV2Weight", - querier: "Option", + querier: "Option" }, TransferAsset: { assets: "XcmV3MultiassetMultiAssets", - beneficiary: "StagingXcmV3MultiLocation", + beneficiary: "StagingXcmV3MultiLocation" }, TransferReserveAsset: { assets: "XcmV3MultiassetMultiAssets", dest: "StagingXcmV3MultiLocation", - xcm: "XcmV3Xcm", + xcm: "XcmV3Xcm" }, Transact: { originKind: "XcmV3OriginKind", requireWeightAtMost: "SpWeightsWeightV2Weight", - call: "XcmDoubleEncoded", + call: "XcmDoubleEncoded" }, HrmpNewChannelOpenRequest: { sender: "Compact", maxMessageSize: "Compact", - maxCapacity: "Compact", + maxCapacity: "Compact" }, HrmpChannelAccepted: { - recipient: "Compact", + recipient: "Compact" }, HrmpChannelClosing: { initiator: "Compact", sender: "Compact", - recipient: "Compact", + recipient: "Compact" }, ClearOrigin: "Null", DescendOrigin: "XcmV3Junctions", ReportError: "XcmV3QueryResponseInfo", DepositAsset: { assets: "XcmV3MultiassetMultiAssetFilter", - beneficiary: "StagingXcmV3MultiLocation", + beneficiary: "StagingXcmV3MultiLocation" }, DepositReserveAsset: { assets: "XcmV3MultiassetMultiAssetFilter", dest: "StagingXcmV3MultiLocation", - xcm: "XcmV3Xcm", + xcm: "XcmV3Xcm" }, ExchangeAsset: { give: "XcmV3MultiassetMultiAssetFilter", want: "XcmV3MultiassetMultiAssets", - maximal: "bool", + maximal: "bool" }, InitiateReserveWithdraw: { assets: "XcmV3MultiassetMultiAssetFilter", reserve: "StagingXcmV3MultiLocation", - xcm: "XcmV3Xcm", + xcm: "XcmV3Xcm" }, InitiateTeleport: { assets: "XcmV3MultiassetMultiAssetFilter", dest: "StagingXcmV3MultiLocation", - xcm: "XcmV3Xcm", + xcm: "XcmV3Xcm" }, ReportHolding: { responseInfo: "XcmV3QueryResponseInfo", - assets: "XcmV3MultiassetMultiAssetFilter", + assets: "XcmV3MultiassetMultiAssetFilter" }, BuyExecution: { fees: "XcmV3MultiAsset", - weightLimit: "XcmV3WeightLimit", + weightLimit: "XcmV3WeightLimit" }, RefundSurplus: "Null", SetErrorHandler: "XcmV3Xcm", @@ -2924,12 +3229,12 @@ export default { ClearError: "Null", ClaimAsset: { assets: "XcmV3MultiassetMultiAssets", - ticket: "StagingXcmV3MultiLocation", + ticket: "StagingXcmV3MultiLocation" }, Trap: "Compact", SubscribeVersion: { queryId: "Compact", - maxResponseWeight: "SpWeightsWeightV2Weight", + maxResponseWeight: "SpWeightsWeightV2Weight" }, UnsubscribeVersion: "Null", BurnAsset: "XcmV3MultiassetMultiAssets", @@ -2939,14 +3244,14 @@ export default { ExpectTransactStatus: "XcmV3MaybeErrorCode", QueryPallet: { moduleName: "Bytes", - responseInfo: "XcmV3QueryResponseInfo", + responseInfo: "XcmV3QueryResponseInfo" }, ExpectPallet: { index: "Compact", name: "Bytes", moduleName: "Bytes", crateMajor: "Compact", - minCrateMinor: "Compact", + minCrateMinor: "Compact" }, ReportTransactStatus: "XcmV3QueryResponseInfo", ClearTransactStatus: "Null", @@ -2954,58 +3259,68 @@ export default { ExportMessage: { network: "XcmV3JunctionNetworkId", destination: "XcmV3Junctions", - xcm: "XcmV3Xcm", + xcm: "XcmV3Xcm" }, LockAsset: { asset: "XcmV3MultiAsset", - unlocker: "StagingXcmV3MultiLocation", + unlocker: "StagingXcmV3MultiLocation" }, UnlockAsset: { asset: "XcmV3MultiAsset", - target: "StagingXcmV3MultiLocation", + target: "StagingXcmV3MultiLocation" }, NoteUnlockable: { asset: "XcmV3MultiAsset", - owner: "StagingXcmV3MultiLocation", + owner: "StagingXcmV3MultiLocation" }, RequestUnlock: { asset: "XcmV3MultiAsset", - locker: "StagingXcmV3MultiLocation", + locker: "StagingXcmV3MultiLocation" }, SetFeesMode: { - jitWithdraw: "bool", + jitWithdraw: "bool" }, SetTopic: "[u8;32]", ClearTopic: "Null", AliasOrigin: "StagingXcmV3MultiLocation", UnpaidExecution: { weightLimit: "XcmV3WeightLimit", - checkOrigin: "Option", - }, - }, + checkOrigin: "Option" + } + } }, - /** Lookup289: xcm::v3::multiasset::MultiAssets */ + /** + * Lookup289: xcm::v3::multiasset::MultiAssets + **/ XcmV3MultiassetMultiAssets: "Vec", - /** Lookup291: xcm::v3::multiasset::MultiAsset */ + /** + * Lookup291: xcm::v3::multiasset::MultiAsset + **/ XcmV3MultiAsset: { id: "XcmV3MultiassetAssetId", - fun: "XcmV3MultiassetFungibility", + fun: "XcmV3MultiassetFungibility" }, - /** Lookup292: xcm::v3::multiasset::AssetId */ + /** + * Lookup292: xcm::v3::multiasset::AssetId + **/ XcmV3MultiassetAssetId: { _enum: { Concrete: "StagingXcmV3MultiLocation", - Abstract: "[u8;32]", - }, + Abstract: "[u8;32]" + } }, - /** Lookup293: xcm::v3::multiasset::Fungibility */ + /** + * Lookup293: xcm::v3::multiasset::Fungibility + **/ XcmV3MultiassetFungibility: { _enum: { Fungible: "Compact", - NonFungible: "XcmV3MultiassetAssetInstance", - }, + NonFungible: "XcmV3MultiassetAssetInstance" + } }, - /** Lookup294: xcm::v3::multiasset::AssetInstance */ + /** + * Lookup294: xcm::v3::multiasset::AssetInstance + **/ XcmV3MultiassetAssetInstance: { _enum: { Undefined: "Null", @@ -3013,10 +3328,12 @@ export default { Array4: "[u8;4]", Array8: "[u8;8]", Array16: "[u8;16]", - Array32: "[u8;32]", - }, + Array32: "[u8;32]" + } }, - /** Lookup295: xcm::v3::Response */ + /** + * Lookup295: xcm::v3::Response + **/ XcmV3Response: { _enum: { Null: "Null", @@ -3024,10 +3341,12 @@ export default { ExecutionResult: "Option<(u32,XcmV3TraitsError)>", Version: "u32", PalletsInfo: "Vec", - DispatchResult: "XcmV3MaybeErrorCode", - }, + DispatchResult: "XcmV3MaybeErrorCode" + } }, - /** Lookup298: xcm::v3::traits::Error */ + /** + * Lookup298: xcm::v3::traits::Error + **/ XcmV3TraitsError: { _enum: { Overflow: "Null", @@ -3069,73 +3388,93 @@ export default { WeightLimitReached: "SpWeightsWeightV2Weight", Barrier: "Null", WeightNotComputable: "Null", - ExceedsStackLimit: "Null", - }, + ExceedsStackLimit: "Null" + } }, - /** Lookup300: xcm::v3::PalletInfo */ + /** + * Lookup300: xcm::v3::PalletInfo + **/ XcmV3PalletInfo: { index: "Compact", name: "Bytes", moduleName: "Bytes", major: "Compact", minor: "Compact", - patch: "Compact", + patch: "Compact" }, - /** Lookup303: xcm::v3::MaybeErrorCode */ + /** + * Lookup303: xcm::v3::MaybeErrorCode + **/ XcmV3MaybeErrorCode: { _enum: { Success: "Null", Error: "Bytes", - TruncatedError: "Bytes", - }, + TruncatedError: "Bytes" + } }, - /** Lookup306: xcm::v3::OriginKind */ + /** + * Lookup306: xcm::v3::OriginKind + **/ XcmV3OriginKind: { - _enum: ["Native", "SovereignAccount", "Superuser", "Xcm"], + _enum: ["Native", "SovereignAccount", "Superuser", "Xcm"] }, - /** Lookup307: xcm::v3::QueryResponseInfo */ + /** + * Lookup307: xcm::v3::QueryResponseInfo + **/ XcmV3QueryResponseInfo: { destination: "StagingXcmV3MultiLocation", queryId: "Compact", - maxWeight: "SpWeightsWeightV2Weight", + maxWeight: "SpWeightsWeightV2Weight" }, - /** Lookup308: xcm::v3::multiasset::MultiAssetFilter */ + /** + * Lookup308: xcm::v3::multiasset::MultiAssetFilter + **/ XcmV3MultiassetMultiAssetFilter: { _enum: { Definite: "XcmV3MultiassetMultiAssets", - Wild: "XcmV3MultiassetWildMultiAsset", - }, + Wild: "XcmV3MultiassetWildMultiAsset" + } }, - /** Lookup309: xcm::v3::multiasset::WildMultiAsset */ + /** + * Lookup309: xcm::v3::multiasset::WildMultiAsset + **/ XcmV3MultiassetWildMultiAsset: { _enum: { All: "Null", AllOf: { id: "XcmV3MultiassetAssetId", - fun: "XcmV3MultiassetWildFungibility", + fun: "XcmV3MultiassetWildFungibility" }, AllCounted: "Compact", AllOfCounted: { id: "XcmV3MultiassetAssetId", fun: "XcmV3MultiassetWildFungibility", - count: "Compact", - }, - }, + count: "Compact" + } + } }, - /** Lookup310: xcm::v3::multiasset::WildFungibility */ + /** + * Lookup310: xcm::v3::multiasset::WildFungibility + **/ XcmV3MultiassetWildFungibility: { - _enum: ["Fungible", "NonFungible"], + _enum: ["Fungible", "NonFungible"] }, - /** Lookup311: xcm::v3::WeightLimit */ + /** + * Lookup311: xcm::v3::WeightLimit + **/ XcmV3WeightLimit: { _enum: { Unlimited: "Null", - Limited: "SpWeightsWeightV2Weight", - }, + Limited: "SpWeightsWeightV2Weight" + } }, - /** Lookup312: staging_xcm::v4::Xcm */ + /** + * Lookup312: staging_xcm::v4::Xcm + **/ StagingXcmV4Xcm: "Vec", - /** Lookup314: staging_xcm::v4::Instruction */ + /** + * Lookup314: staging_xcm::v4::Instruction + **/ StagingXcmV4Instruction: { _enum: { WithdrawAsset: "StagingXcmV4AssetAssets", @@ -3145,69 +3484,69 @@ export default { queryId: "Compact", response: "StagingXcmV4Response", maxWeight: "SpWeightsWeightV2Weight", - querier: "Option", + querier: "Option" }, TransferAsset: { assets: "StagingXcmV4AssetAssets", - beneficiary: "StagingXcmV4Location", + beneficiary: "StagingXcmV4Location" }, TransferReserveAsset: { assets: "StagingXcmV4AssetAssets", dest: "StagingXcmV4Location", - xcm: "StagingXcmV4Xcm", + xcm: "StagingXcmV4Xcm" }, Transact: { originKind: "XcmV3OriginKind", requireWeightAtMost: "SpWeightsWeightV2Weight", - call: "XcmDoubleEncoded", + call: "XcmDoubleEncoded" }, HrmpNewChannelOpenRequest: { sender: "Compact", maxMessageSize: "Compact", - maxCapacity: "Compact", + maxCapacity: "Compact" }, HrmpChannelAccepted: { - recipient: "Compact", + recipient: "Compact" }, HrmpChannelClosing: { initiator: "Compact", sender: "Compact", - recipient: "Compact", + recipient: "Compact" }, ClearOrigin: "Null", DescendOrigin: "StagingXcmV4Junctions", ReportError: "StagingXcmV4QueryResponseInfo", DepositAsset: { assets: "StagingXcmV4AssetAssetFilter", - beneficiary: "StagingXcmV4Location", + beneficiary: "StagingXcmV4Location" }, DepositReserveAsset: { assets: "StagingXcmV4AssetAssetFilter", dest: "StagingXcmV4Location", - xcm: "StagingXcmV4Xcm", + xcm: "StagingXcmV4Xcm" }, ExchangeAsset: { give: "StagingXcmV4AssetAssetFilter", want: "StagingXcmV4AssetAssets", - maximal: "bool", + maximal: "bool" }, InitiateReserveWithdraw: { assets: "StagingXcmV4AssetAssetFilter", reserve: "StagingXcmV4Location", - xcm: "StagingXcmV4Xcm", + xcm: "StagingXcmV4Xcm" }, InitiateTeleport: { assets: "StagingXcmV4AssetAssetFilter", dest: "StagingXcmV4Location", - xcm: "StagingXcmV4Xcm", + xcm: "StagingXcmV4Xcm" }, ReportHolding: { responseInfo: "StagingXcmV4QueryResponseInfo", - assets: "StagingXcmV4AssetAssetFilter", + assets: "StagingXcmV4AssetAssetFilter" }, BuyExecution: { fees: "StagingXcmV4Asset", - weightLimit: "XcmV3WeightLimit", + weightLimit: "XcmV3WeightLimit" }, RefundSurplus: "Null", SetErrorHandler: "StagingXcmV4Xcm", @@ -3215,12 +3554,12 @@ export default { ClearError: "Null", ClaimAsset: { assets: "StagingXcmV4AssetAssets", - ticket: "StagingXcmV4Location", + ticket: "StagingXcmV4Location" }, Trap: "Compact", SubscribeVersion: { queryId: "Compact", - maxResponseWeight: "SpWeightsWeightV2Weight", + maxResponseWeight: "SpWeightsWeightV2Weight" }, UnsubscribeVersion: "Null", BurnAsset: "StagingXcmV4AssetAssets", @@ -3230,14 +3569,14 @@ export default { ExpectTransactStatus: "XcmV3MaybeErrorCode", QueryPallet: { moduleName: "Bytes", - responseInfo: "StagingXcmV4QueryResponseInfo", + responseInfo: "StagingXcmV4QueryResponseInfo" }, ExpectPallet: { index: "Compact", name: "Bytes", moduleName: "Bytes", crateMajor: "Compact", - minCrateMinor: "Compact", + minCrateMinor: "Compact" }, ReportTransactStatus: "StagingXcmV4QueryResponseInfo", ClearTransactStatus: "Null", @@ -3245,53 +3584,63 @@ export default { ExportMessage: { network: "StagingXcmV4JunctionNetworkId", destination: "StagingXcmV4Junctions", - xcm: "StagingXcmV4Xcm", + xcm: "StagingXcmV4Xcm" }, LockAsset: { asset: "StagingXcmV4Asset", - unlocker: "StagingXcmV4Location", + unlocker: "StagingXcmV4Location" }, UnlockAsset: { asset: "StagingXcmV4Asset", - target: "StagingXcmV4Location", + target: "StagingXcmV4Location" }, NoteUnlockable: { asset: "StagingXcmV4Asset", - owner: "StagingXcmV4Location", + owner: "StagingXcmV4Location" }, RequestUnlock: { asset: "StagingXcmV4Asset", - locker: "StagingXcmV4Location", + locker: "StagingXcmV4Location" }, SetFeesMode: { - jitWithdraw: "bool", + jitWithdraw: "bool" }, SetTopic: "[u8;32]", ClearTopic: "Null", AliasOrigin: "StagingXcmV4Location", UnpaidExecution: { weightLimit: "XcmV3WeightLimit", - checkOrigin: "Option", - }, - }, + checkOrigin: "Option" + } + } }, - /** Lookup315: staging_xcm::v4::asset::Assets */ + /** + * Lookup315: staging_xcm::v4::asset::Assets + **/ StagingXcmV4AssetAssets: "Vec", - /** Lookup317: staging_xcm::v4::asset::Asset */ + /** + * Lookup317: staging_xcm::v4::asset::Asset + **/ StagingXcmV4Asset: { id: "StagingXcmV4AssetAssetId", - fun: "StagingXcmV4AssetFungibility", + fun: "StagingXcmV4AssetFungibility" }, - /** Lookup318: staging_xcm::v4::asset::AssetId */ + /** + * Lookup318: staging_xcm::v4::asset::AssetId + **/ StagingXcmV4AssetAssetId: "StagingXcmV4Location", - /** Lookup319: staging_xcm::v4::asset::Fungibility */ + /** + * Lookup319: staging_xcm::v4::asset::Fungibility + **/ StagingXcmV4AssetFungibility: { _enum: { Fungible: "Compact", - NonFungible: "StagingXcmV4AssetAssetInstance", - }, + NonFungible: "StagingXcmV4AssetAssetInstance" + } }, - /** Lookup320: staging_xcm::v4::asset::AssetInstance */ + /** + * Lookup320: staging_xcm::v4::asset::AssetInstance + **/ StagingXcmV4AssetAssetInstance: { _enum: { Undefined: "Null", @@ -3299,10 +3648,12 @@ export default { Array4: "[u8;4]", Array8: "[u8;8]", Array16: "[u8;16]", - Array32: "[u8;32]", - }, + Array32: "[u8;32]" + } }, - /** Lookup321: staging_xcm::v4::Response */ + /** + * Lookup321: staging_xcm::v4::Response + **/ StagingXcmV4Response: { _enum: { Null: "Null", @@ -3310,174 +3661,192 @@ export default { ExecutionResult: "Option<(u32,XcmV3TraitsError)>", Version: "u32", PalletsInfo: "Vec", - DispatchResult: "XcmV3MaybeErrorCode", - }, + DispatchResult: "XcmV3MaybeErrorCode" + } }, - /** Lookup323: staging_xcm::v4::PalletInfo */ + /** + * Lookup323: staging_xcm::v4::PalletInfo + **/ StagingXcmV4PalletInfo: { index: "Compact", name: "Bytes", moduleName: "Bytes", major: "Compact", minor: "Compact", - patch: "Compact", + patch: "Compact" }, - /** Lookup327: staging_xcm::v4::QueryResponseInfo */ + /** + * Lookup327: staging_xcm::v4::QueryResponseInfo + **/ StagingXcmV4QueryResponseInfo: { destination: "StagingXcmV4Location", queryId: "Compact", - maxWeight: "SpWeightsWeightV2Weight", + maxWeight: "SpWeightsWeightV2Weight" }, - /** Lookup328: staging_xcm::v4::asset::AssetFilter */ + /** + * Lookup328: staging_xcm::v4::asset::AssetFilter + **/ StagingXcmV4AssetAssetFilter: { _enum: { Definite: "StagingXcmV4AssetAssets", - Wild: "StagingXcmV4AssetWildAsset", - }, + Wild: "StagingXcmV4AssetWildAsset" + } }, - /** Lookup329: staging_xcm::v4::asset::WildAsset */ + /** + * Lookup329: staging_xcm::v4::asset::WildAsset + **/ StagingXcmV4AssetWildAsset: { _enum: { All: "Null", AllOf: { id: "StagingXcmV4AssetAssetId", - fun: "StagingXcmV4AssetWildFungibility", + fun: "StagingXcmV4AssetWildFungibility" }, AllCounted: "Compact", AllOfCounted: { id: "StagingXcmV4AssetAssetId", fun: "StagingXcmV4AssetWildFungibility", - count: "Compact", - }, - }, + count: "Compact" + } + } }, - /** Lookup330: staging_xcm::v4::asset::WildFungibility */ + /** + * Lookup330: staging_xcm::v4::asset::WildFungibility + **/ StagingXcmV4AssetWildFungibility: { - _enum: ["Fungible", "NonFungible"], + _enum: ["Fungible", "NonFungible"] }, - /** Lookup331: xcm::VersionedAssets */ + /** + * Lookup331: xcm::VersionedAssets + **/ XcmVersionedAssets: { _enum: { __Unused0: "Null", V2: "XcmV2MultiassetMultiAssets", __Unused2: "Null", V3: "XcmV3MultiassetMultiAssets", - V4: "StagingXcmV4AssetAssets", - }, + V4: "StagingXcmV4AssetAssets" + } }, - /** Lookup343: staging_xcm_executor::traits::asset_transfer::TransferType */ + /** + * Lookup343: staging_xcm_executor::traits::asset_transfer::TransferType + **/ StagingXcmExecutorAssetTransferTransferType: { _enum: { Teleport: "Null", LocalReserve: "Null", DestinationReserve: "Null", - RemoteReserve: "XcmVersionedLocation", - }, + RemoteReserve: "XcmVersionedLocation" + } }, - /** Lookup344: xcm::VersionedAssetId */ + /** + * Lookup344: xcm::VersionedAssetId + **/ XcmVersionedAssetId: { _enum: { __Unused0: "Null", __Unused1: "Null", __Unused2: "Null", V3: "XcmV3MultiassetAssetId", - V4: "StagingXcmV4AssetAssetId", - }, + V4: "StagingXcmV4AssetAssetId" + } }, - /** Lookup345: pallet_assets::pallet::Call */ + /** + * Lookup345: pallet_assets::pallet::Call + **/ PalletAssetsCall: { _enum: { create: { id: "Compact", admin: "AccountId20", - minBalance: "u128", + minBalance: "u128" }, force_create: { id: "Compact", owner: "AccountId20", isSufficient: "bool", - minBalance: "Compact", + minBalance: "Compact" }, start_destroy: { - id: "Compact", + id: "Compact" }, destroy_accounts: { - id: "Compact", + id: "Compact" }, destroy_approvals: { - id: "Compact", + id: "Compact" }, finish_destroy: { - id: "Compact", + id: "Compact" }, mint: { id: "Compact", beneficiary: "AccountId20", - amount: "Compact", + amount: "Compact" }, burn: { id: "Compact", who: "AccountId20", - amount: "Compact", + amount: "Compact" }, transfer: { id: "Compact", target: "AccountId20", - amount: "Compact", + amount: "Compact" }, transfer_keep_alive: { id: "Compact", target: "AccountId20", - amount: "Compact", + amount: "Compact" }, force_transfer: { id: "Compact", source: "AccountId20", dest: "AccountId20", - amount: "Compact", + amount: "Compact" }, freeze: { id: "Compact", - who: "AccountId20", + who: "AccountId20" }, thaw: { id: "Compact", - who: "AccountId20", + who: "AccountId20" }, freeze_asset: { - id: "Compact", + id: "Compact" }, thaw_asset: { - id: "Compact", + id: "Compact" }, transfer_ownership: { id: "Compact", - owner: "AccountId20", + owner: "AccountId20" }, set_team: { id: "Compact", issuer: "AccountId20", admin: "AccountId20", - freezer: "AccountId20", + freezer: "AccountId20" }, set_metadata: { id: "Compact", name: "Bytes", symbol: "Bytes", - decimals: "u8", + decimals: "u8" }, clear_metadata: { - id: "Compact", + id: "Compact" }, force_set_metadata: { id: "Compact", name: "Bytes", symbol: "Bytes", decimals: "u8", - isFrozen: "bool", + isFrozen: "bool" }, force_clear_metadata: { - id: "Compact", + id: "Compact" }, force_asset_status: { id: "Compact", @@ -3487,102 +3856,110 @@ export default { freezer: "AccountId20", minBalance: "Compact", isSufficient: "bool", - isFrozen: "bool", + isFrozen: "bool" }, approve_transfer: { id: "Compact", delegate: "AccountId20", - amount: "Compact", + amount: "Compact" }, cancel_approval: { id: "Compact", - delegate: "AccountId20", + delegate: "AccountId20" }, force_cancel_approval: { id: "Compact", owner: "AccountId20", - delegate: "AccountId20", + delegate: "AccountId20" }, transfer_approved: { id: "Compact", owner: "AccountId20", destination: "AccountId20", - amount: "Compact", + amount: "Compact" }, touch: { - id: "Compact", + id: "Compact" }, refund: { id: "Compact", - allowBurn: "bool", + allowBurn: "bool" }, set_min_balance: { id: "Compact", - minBalance: "u128", + minBalance: "u128" }, touch_other: { id: "Compact", - who: "AccountId20", + who: "AccountId20" }, refund_other: { id: "Compact", - who: "AccountId20", + who: "AccountId20" }, block: { id: "Compact", - who: "AccountId20", - }, - }, + who: "AccountId20" + } + } }, - /** Lookup346: pallet_asset_manager::pallet::Call */ + /** + * Lookup346: pallet_asset_manager::pallet::Call + **/ PalletAssetManagerCall: { _enum: { register_foreign_asset: { asset: "MoonbeamRuntimeXcmConfigAssetType", metadata: "MoonbeamRuntimeAssetConfigAssetRegistrarMetadata", minAmount: "u128", - isSufficient: "bool", + isSufficient: "bool" }, __Unused1: "Null", change_existing_asset_type: { assetId: "u128", newAssetType: "MoonbeamRuntimeXcmConfigAssetType", - numAssetsWeightHint: "u32", + numAssetsWeightHint: "u32" }, __Unused3: "Null", remove_existing_asset_type: { assetId: "u128", - numAssetsWeightHint: "u32", + numAssetsWeightHint: "u32" }, __Unused5: "Null", destroy_foreign_asset: { assetId: "u128", - numAssetsWeightHint: "u32", - }, - }, + numAssetsWeightHint: "u32" + } + } }, - /** Lookup347: moonbeam_runtime::xcm_config::AssetType */ + /** + * Lookup347: moonbeam_runtime::xcm_config::AssetType + **/ MoonbeamRuntimeXcmConfigAssetType: { _enum: { - Xcm: "StagingXcmV3MultiLocation", - }, + Xcm: "StagingXcmV3MultiLocation" + } }, - /** Lookup348: moonbeam_runtime::asset_config::AssetRegistrarMetadata */ + /** + * Lookup348: moonbeam_runtime::asset_config::AssetRegistrarMetadata + **/ MoonbeamRuntimeAssetConfigAssetRegistrarMetadata: { name: "Bytes", symbol: "Bytes", decimals: "u8", - isFrozen: "bool", + isFrozen: "bool" }, - /** Lookup349: pallet_xcm_transactor::pallet::Call */ + /** + * Lookup349: pallet_xcm_transactor::pallet::Call + **/ PalletXcmTransactorCall: { _enum: { register: { who: "AccountId20", - index: "u16", + index: "u16" }, deregister: { - index: "u16", + index: "u16" }, transact_through_derivative: { dest: "MoonbeamRuntimeXcmConfigTransactors", @@ -3590,7 +3967,7 @@ export default { fee: "PalletXcmTransactorCurrencyPayment", innerCall: "Bytes", weightInfo: "PalletXcmTransactorTransactWeights", - refund: "bool", + refund: "bool" }, transact_through_sovereign: { dest: "XcmVersionedLocation", @@ -3599,173 +3976,207 @@ export default { call: "Bytes", originKind: "XcmV3OriginKind", weightInfo: "PalletXcmTransactorTransactWeights", - refund: "bool", + refund: "bool" }, set_transact_info: { location: "XcmVersionedLocation", transactExtraWeight: "SpWeightsWeightV2Weight", maxWeight: "SpWeightsWeightV2Weight", - transactExtraWeightSigned: "Option", + transactExtraWeightSigned: "Option" }, remove_transact_info: { - location: "XcmVersionedLocation", + location: "XcmVersionedLocation" }, transact_through_signed: { dest: "XcmVersionedLocation", fee: "PalletXcmTransactorCurrencyPayment", call: "Bytes", weightInfo: "PalletXcmTransactorTransactWeights", - refund: "bool", + refund: "bool" }, set_fee_per_second: { assetLocation: "XcmVersionedLocation", - feePerSecond: "u128", + feePerSecond: "u128" }, remove_fee_per_second: { - assetLocation: "XcmVersionedLocation", + assetLocation: "XcmVersionedLocation" }, hrmp_manage: { action: "PalletXcmTransactorHrmpOperation", fee: "PalletXcmTransactorCurrencyPayment", - weightInfo: "PalletXcmTransactorTransactWeights", - }, - }, + weightInfo: "PalletXcmTransactorTransactWeights" + } + } }, - /** Lookup350: moonbeam_runtime::xcm_config::Transactors */ + /** + * Lookup350: moonbeam_runtime::xcm_config::Transactors + **/ MoonbeamRuntimeXcmConfigTransactors: { - _enum: ["Relay"], + _enum: ["Relay"] }, - /** Lookup351: pallet_xcm_transactor::pallet::CurrencyPayment */ + /** + * Lookup351: pallet_xcm_transactor::pallet::CurrencyPayment + **/ PalletXcmTransactorCurrencyPayment: { currency: "PalletXcmTransactorCurrency", - feeAmount: "Option", + feeAmount: "Option" }, - /** Lookup352: moonbeam_runtime::xcm_config::CurrencyId */ + /** + * Lookup352: moonbeam_runtime::xcm_config::CurrencyId + **/ MoonbeamRuntimeXcmConfigCurrencyId: { _enum: { SelfReserve: "Null", ForeignAsset: "u128", Erc20: { - contractAddress: "H160", - }, - }, + contractAddress: "H160" + } + } }, - /** Lookup353: pallet_xcm_transactor::pallet::Currency */ + /** + * Lookup353: pallet_xcm_transactor::pallet::Currency + **/ PalletXcmTransactorCurrency: { _enum: { AsCurrencyId: "MoonbeamRuntimeXcmConfigCurrencyId", - AsMultiLocation: "XcmVersionedLocation", - }, + AsMultiLocation: "XcmVersionedLocation" + } }, - /** Lookup355: pallet_xcm_transactor::pallet::TransactWeights */ + /** + * Lookup355: pallet_xcm_transactor::pallet::TransactWeights + **/ PalletXcmTransactorTransactWeights: { transactRequiredWeightAtMost: "SpWeightsWeightV2Weight", - overallWeight: "Option", + overallWeight: "Option" }, - /** Lookup358: pallet_xcm_transactor::pallet::HrmpOperation */ + /** + * Lookup358: pallet_xcm_transactor::pallet::HrmpOperation + **/ PalletXcmTransactorHrmpOperation: { _enum: { InitOpen: "PalletXcmTransactorHrmpInitParams", Accept: { - paraId: "u32", + paraId: "u32" }, Close: "PolkadotParachainPrimitivesPrimitivesHrmpChannelId", Cancel: { channelId: "PolkadotParachainPrimitivesPrimitivesHrmpChannelId", - openRequests: "u32", - }, - }, + openRequests: "u32" + } + } }, - /** Lookup359: pallet_xcm_transactor::pallet::HrmpInitParams */ + /** + * Lookup359: pallet_xcm_transactor::pallet::HrmpInitParams + **/ PalletXcmTransactorHrmpInitParams: { paraId: "u32", proposedMaxCapacity: "u32", - proposedMaxMessageSize: "u32", + proposedMaxMessageSize: "u32" }, - /** Lookup360: polkadot_parachain_primitives::primitives::HrmpChannelId */ + /** + * Lookup360: polkadot_parachain_primitives::primitives::HrmpChannelId + **/ PolkadotParachainPrimitivesPrimitivesHrmpChannelId: { sender: "u32", - recipient: "u32", + recipient: "u32" }, - /** Lookup361: pallet_ethereum_xcm::pallet::Call */ + /** + * Lookup361: pallet_ethereum_xcm::pallet::Call + **/ PalletEthereumXcmCall: { _enum: { transact: { - xcmTransaction: "XcmPrimitivesEthereumXcmEthereumXcmTransaction", + xcmTransaction: "XcmPrimitivesEthereumXcmEthereumXcmTransaction" }, transact_through_proxy: { transactAs: "H160", - xcmTransaction: "XcmPrimitivesEthereumXcmEthereumXcmTransaction", + xcmTransaction: "XcmPrimitivesEthereumXcmEthereumXcmTransaction" }, suspend_ethereum_xcm_execution: "Null", resume_ethereum_xcm_execution: "Null", force_transact_as: { transactAs: "H160", xcmTransaction: "XcmPrimitivesEthereumXcmEthereumXcmTransaction", - forceCreateAddress: "Option", - }, - }, + forceCreateAddress: "Option" + } + } }, - /** Lookup362: xcm_primitives::ethereum_xcm::EthereumXcmTransaction */ + /** + * Lookup362: xcm_primitives::ethereum_xcm::EthereumXcmTransaction + **/ XcmPrimitivesEthereumXcmEthereumXcmTransaction: { _enum: { V1: "XcmPrimitivesEthereumXcmEthereumXcmTransactionV1", - V2: "XcmPrimitivesEthereumXcmEthereumXcmTransactionV2", - }, + V2: "XcmPrimitivesEthereumXcmEthereumXcmTransactionV2" + } }, - /** Lookup363: xcm_primitives::ethereum_xcm::EthereumXcmTransactionV1 */ + /** + * Lookup363: xcm_primitives::ethereum_xcm::EthereumXcmTransactionV1 + **/ XcmPrimitivesEthereumXcmEthereumXcmTransactionV1: { gasLimit: "U256", feePayment: "XcmPrimitivesEthereumXcmEthereumXcmFee", action: "EthereumTransactionTransactionAction", value: "U256", input: "Bytes", - accessList: "Option)>>", + accessList: "Option)>>" }, - /** Lookup364: xcm_primitives::ethereum_xcm::EthereumXcmFee */ + /** + * Lookup364: xcm_primitives::ethereum_xcm::EthereumXcmFee + **/ XcmPrimitivesEthereumXcmEthereumXcmFee: { _enum: { Manual: "XcmPrimitivesEthereumXcmManualEthereumXcmFee", - Auto: "Null", - }, + Auto: "Null" + } }, - /** Lookup365: xcm_primitives::ethereum_xcm::ManualEthereumXcmFee */ + /** + * Lookup365: xcm_primitives::ethereum_xcm::ManualEthereumXcmFee + **/ XcmPrimitivesEthereumXcmManualEthereumXcmFee: { gasPrice: "Option", - maxFeePerGas: "Option", + maxFeePerGas: "Option" }, - /** Lookup368: xcm_primitives::ethereum_xcm::EthereumXcmTransactionV2 */ + /** + * Lookup368: xcm_primitives::ethereum_xcm::EthereumXcmTransactionV2 + **/ XcmPrimitivesEthereumXcmEthereumXcmTransactionV2: { gasLimit: "U256", action: "EthereumTransactionTransactionAction", value: "U256", input: "Bytes", - accessList: "Option)>>", + accessList: "Option)>>" }, - /** Lookup370: pallet_message_queue::pallet::Call */ + /** + * Lookup370: pallet_message_queue::pallet::Call + **/ PalletMessageQueueCall: { _enum: { reap_page: { messageOrigin: "CumulusPrimitivesCoreAggregateMessageOrigin", - pageIndex: "u32", + pageIndex: "u32" }, execute_overweight: { messageOrigin: "CumulusPrimitivesCoreAggregateMessageOrigin", page: "u32", index: "u32", - weightLimit: "SpWeightsWeightV2Weight", - }, - }, + weightLimit: "SpWeightsWeightV2Weight" + } + } }, - /** Lookup371: cumulus_primitives_core::AggregateMessageOrigin */ + /** + * Lookup371: cumulus_primitives_core::AggregateMessageOrigin + **/ CumulusPrimitivesCoreAggregateMessageOrigin: { _enum: { Here: "Null", Parent: "Null", - Sibling: "u32", - }, + Sibling: "u32" + } }, - /** Lookup372: pallet_moonbeam_foreign_assets::pallet::Call */ + /** + * Lookup372: pallet_moonbeam_foreign_assets::pallet::Call + **/ PalletMoonbeamForeignAssetsCall: { _enum: { create_foreign_asset: { @@ -3773,154 +4184,174 @@ export default { xcmLocation: "StagingXcmV4Location", decimals: "u8", symbol: "Bytes", - name: "Bytes", + name: "Bytes" }, change_xcm_location: { assetId: "u128", - newXcmLocation: "StagingXcmV4Location", + newXcmLocation: "StagingXcmV4Location" }, freeze_foreign_asset: { assetId: "u128", - allowXcmDeposit: "bool", + allowXcmDeposit: "bool" }, unfreeze_foreign_asset: { - assetId: "u128", - }, - }, + assetId: "u128" + } + } }, - /** Lookup374: pallet_xcm_weight_trader::pallet::Call */ + /** + * Lookup374: pallet_xcm_weight_trader::pallet::Call + **/ PalletXcmWeightTraderCall: { _enum: { add_asset: { location: "StagingXcmV4Location", - relativePrice: "u128", + relativePrice: "u128" }, edit_asset: { location: "StagingXcmV4Location", - relativePrice: "u128", + relativePrice: "u128" }, pause_asset_support: { - location: "StagingXcmV4Location", + location: "StagingXcmV4Location" }, resume_asset_support: { - location: "StagingXcmV4Location", + location: "StagingXcmV4Location" }, remove_asset: { - location: "StagingXcmV4Location", - }, - }, + location: "StagingXcmV4Location" + } + } }, - /** Lookup375: pallet_emergency_para_xcm::pallet::Call */ + /** + * Lookup375: pallet_emergency_para_xcm::pallet::Call + **/ PalletEmergencyParaXcmCall: { _enum: { paused_to_normal: "Null", fast_authorize_upgrade: { - codeHash: "H256", - }, - }, + codeHash: "H256" + } + } }, - /** Lookup376: pallet_randomness::pallet::Call */ + /** + * Lookup376: pallet_randomness::pallet::Call + **/ PalletRandomnessCall: { - _enum: ["set_babe_randomness_results"], + _enum: ["set_babe_randomness_results"] }, - /** Lookup377: sp_runtime::traits::BlakeTwo256 */ + /** + * Lookup377: sp_runtime::traits::BlakeTwo256 + **/ SpRuntimeBlakeTwo256: "Null", - /** Lookup379: pallet_conviction_voting::types::Tally */ + /** + * Lookup379: pallet_conviction_voting::types::Tally + **/ PalletConvictionVotingTally: { ayes: "u128", nays: "u128", - support: "u128", + support: "u128" }, - /** Lookup380: pallet_whitelist::pallet::Event */ + /** + * Lookup380: pallet_whitelist::pallet::Event + **/ PalletWhitelistEvent: { _enum: { CallWhitelisted: { - callHash: "H256", + callHash: "H256" }, WhitelistedCallRemoved: { - callHash: "H256", + callHash: "H256" }, WhitelistedCallDispatched: { callHash: "H256", - result: "Result", - }, - }, + result: "Result" + } + } }, - /** Lookup382: frame_support::dispatch::PostDispatchInfo */ + /** + * Lookup382: frame_support::dispatch::PostDispatchInfo + **/ FrameSupportDispatchPostDispatchInfo: { actualWeight: "Option", - paysFee: "FrameSupportDispatchPays", + paysFee: "FrameSupportDispatchPays" }, - /** Lookup383: sp_runtime::DispatchErrorWithPostInfo */ + /** + * Lookup383: sp_runtime::DispatchErrorWithPostInfo + **/ SpRuntimeDispatchErrorWithPostInfo: { postInfo: "FrameSupportDispatchPostDispatchInfo", - error: "SpRuntimeDispatchError", + error: "SpRuntimeDispatchError" }, - /** Lookup384: pallet_collective::pallet::Event */ + /** + * Lookup384: pallet_collective::pallet::Event + **/ PalletCollectiveEvent: { _enum: { Proposed: { account: "AccountId20", proposalIndex: "u32", proposalHash: "H256", - threshold: "u32", + threshold: "u32" }, Voted: { account: "AccountId20", proposalHash: "H256", voted: "bool", yes: "u32", - no: "u32", + no: "u32" }, Approved: { - proposalHash: "H256", + proposalHash: "H256" }, Disapproved: { - proposalHash: "H256", + proposalHash: "H256" }, Executed: { proposalHash: "H256", - result: "Result", + result: "Result" }, MemberExecuted: { proposalHash: "H256", - result: "Result", + result: "Result" }, Closed: { proposalHash: "H256", yes: "u32", - no: "u32", - }, - }, + no: "u32" + } + } }, - /** Lookup386: pallet_treasury::pallet::Event */ + /** + * Lookup386: pallet_treasury::pallet::Event + **/ PalletTreasuryEvent: { _enum: { Spending: { - budgetRemaining: "u128", + budgetRemaining: "u128" }, Awarded: { proposalIndex: "u32", award: "u128", - account: "AccountId20", + account: "AccountId20" }, Burnt: { - burntFunds: "u128", + burntFunds: "u128" }, Rollover: { - rolloverBalance: "u128", + rolloverBalance: "u128" }, Deposit: { - value: "u128", + value: "u128" }, SpendApproved: { proposalIndex: "u32", amount: "u128", - beneficiary: "AccountId20", + beneficiary: "AccountId20" }, UpdatedInactive: { reactivated: "u128", - deactivated: "u128", + deactivated: "u128" }, AssetSpendApproved: { index: "u32", @@ -3928,25 +4359,27 @@ export default { amount: "u128", beneficiary: "AccountId20", validFrom: "u32", - expireAt: "u32", + expireAt: "u32" }, AssetSpendVoided: { - index: "u32", + index: "u32" }, Paid: { index: "u32", - paymentId: "Null", + paymentId: "Null" }, PaymentFailed: { index: "u32", - paymentId: "Null", + paymentId: "Null" }, SpendProcessed: { - index: "u32", - }, - }, + index: "u32" + } + } }, - /** Lookup387: pallet_crowdloan_rewards::pallet::Event */ + /** + * Lookup387: pallet_crowdloan_rewards::pallet::Event + **/ PalletCrowdloanRewardsEvent: { _enum: { InitialPaymentMade: "(AccountId20,u128)", @@ -3954,406 +4387,428 @@ export default { RewardsPaid: "(AccountId20,u128)", RewardAddressUpdated: "(AccountId20,AccountId20)", InitializedAlreadyInitializedAccount: "([u8;32],Option,u128)", - InitializedAccountWithNotEnoughContribution: "([u8;32],Option,u128)", - }, + InitializedAccountWithNotEnoughContribution: "([u8;32],Option,u128)" + } }, - /** Lookup388: cumulus_pallet_xcmp_queue::pallet::Event */ + /** + * Lookup388: cumulus_pallet_xcmp_queue::pallet::Event + **/ CumulusPalletXcmpQueueEvent: { _enum: { XcmpMessageSent: { - messageHash: "[u8;32]", - }, - }, + messageHash: "[u8;32]" + } + } }, - /** Lookup389: cumulus_pallet_xcm::pallet::Event */ + /** + * Lookup389: cumulus_pallet_xcm::pallet::Event + **/ CumulusPalletXcmEvent: { _enum: { InvalidFormat: "[u8;32]", UnsupportedVersion: "[u8;32]", - ExecutedDownward: "([u8;32],StagingXcmV4TraitsOutcome)", - }, + ExecutedDownward: "([u8;32],StagingXcmV4TraitsOutcome)" + } }, - /** Lookup390: staging_xcm::v4::traits::Outcome */ + /** + * Lookup390: staging_xcm::v4::traits::Outcome + **/ StagingXcmV4TraitsOutcome: { _enum: { Complete: { - used: "SpWeightsWeightV2Weight", + used: "SpWeightsWeightV2Weight" }, Incomplete: { used: "SpWeightsWeightV2Weight", - error: "XcmV3TraitsError", + error: "XcmV3TraitsError" }, Error: { - error: "XcmV3TraitsError", - }, - }, + error: "XcmV3TraitsError" + } + } }, - /** Lookup391: pallet_xcm::pallet::Event */ + /** + * Lookup391: pallet_xcm::pallet::Event + **/ PalletXcmEvent: { _enum: { Attempted: { - outcome: "StagingXcmV4TraitsOutcome", + outcome: "StagingXcmV4TraitsOutcome" }, Sent: { origin: "StagingXcmV4Location", destination: "StagingXcmV4Location", message: "StagingXcmV4Xcm", - messageId: "[u8;32]", + messageId: "[u8;32]" }, UnexpectedResponse: { origin: "StagingXcmV4Location", - queryId: "u64", + queryId: "u64" }, ResponseReady: { queryId: "u64", - response: "StagingXcmV4Response", + response: "StagingXcmV4Response" }, Notified: { queryId: "u64", palletIndex: "u8", - callIndex: "u8", + callIndex: "u8" }, NotifyOverweight: { queryId: "u64", palletIndex: "u8", callIndex: "u8", actualWeight: "SpWeightsWeightV2Weight", - maxBudgetedWeight: "SpWeightsWeightV2Weight", + maxBudgetedWeight: "SpWeightsWeightV2Weight" }, NotifyDispatchError: { queryId: "u64", palletIndex: "u8", - callIndex: "u8", + callIndex: "u8" }, NotifyDecodeFailed: { queryId: "u64", palletIndex: "u8", - callIndex: "u8", + callIndex: "u8" }, InvalidResponder: { origin: "StagingXcmV4Location", queryId: "u64", - expectedLocation: "Option", + expectedLocation: "Option" }, InvalidResponderVersion: { origin: "StagingXcmV4Location", - queryId: "u64", + queryId: "u64" }, ResponseTaken: { - queryId: "u64", + queryId: "u64" }, AssetsTrapped: { _alias: { - hash_: "hash", + hash_: "hash" }, hash_: "H256", origin: "StagingXcmV4Location", - assets: "XcmVersionedAssets", + assets: "XcmVersionedAssets" }, VersionChangeNotified: { destination: "StagingXcmV4Location", result: "u32", cost: "StagingXcmV4AssetAssets", - messageId: "[u8;32]", + messageId: "[u8;32]" }, SupportedVersionChanged: { location: "StagingXcmV4Location", - version: "u32", + version: "u32" }, NotifyTargetSendFail: { location: "StagingXcmV4Location", queryId: "u64", - error: "XcmV3TraitsError", + error: "XcmV3TraitsError" }, NotifyTargetMigrationFail: { location: "XcmVersionedLocation", - queryId: "u64", + queryId: "u64" }, InvalidQuerierVersion: { origin: "StagingXcmV4Location", - queryId: "u64", + queryId: "u64" }, InvalidQuerier: { origin: "StagingXcmV4Location", queryId: "u64", expectedQuerier: "StagingXcmV4Location", - maybeActualQuerier: "Option", + maybeActualQuerier: "Option" }, VersionNotifyStarted: { destination: "StagingXcmV4Location", cost: "StagingXcmV4AssetAssets", - messageId: "[u8;32]", + messageId: "[u8;32]" }, VersionNotifyRequested: { destination: "StagingXcmV4Location", cost: "StagingXcmV4AssetAssets", - messageId: "[u8;32]", + messageId: "[u8;32]" }, VersionNotifyUnrequested: { destination: "StagingXcmV4Location", cost: "StagingXcmV4AssetAssets", - messageId: "[u8;32]", + messageId: "[u8;32]" }, FeesPaid: { paying: "StagingXcmV4Location", - fees: "StagingXcmV4AssetAssets", + fees: "StagingXcmV4AssetAssets" }, AssetsClaimed: { _alias: { - hash_: "hash", + hash_: "hash" }, hash_: "H256", origin: "StagingXcmV4Location", - assets: "XcmVersionedAssets", + assets: "XcmVersionedAssets" }, VersionMigrationFinished: { - version: "u32", - }, - }, + version: "u32" + } + } }, - /** Lookup392: pallet_assets::pallet::Event */ + /** + * Lookup392: pallet_assets::pallet::Event + **/ PalletAssetsEvent: { _enum: { Created: { assetId: "u128", creator: "AccountId20", - owner: "AccountId20", + owner: "AccountId20" }, Issued: { assetId: "u128", owner: "AccountId20", - amount: "u128", + amount: "u128" }, Transferred: { assetId: "u128", from: "AccountId20", to: "AccountId20", - amount: "u128", + amount: "u128" }, Burned: { assetId: "u128", owner: "AccountId20", - balance: "u128", + balance: "u128" }, TeamChanged: { assetId: "u128", issuer: "AccountId20", admin: "AccountId20", - freezer: "AccountId20", + freezer: "AccountId20" }, OwnerChanged: { assetId: "u128", - owner: "AccountId20", + owner: "AccountId20" }, Frozen: { assetId: "u128", - who: "AccountId20", + who: "AccountId20" }, Thawed: { assetId: "u128", - who: "AccountId20", + who: "AccountId20" }, AssetFrozen: { - assetId: "u128", + assetId: "u128" }, AssetThawed: { - assetId: "u128", + assetId: "u128" }, AccountsDestroyed: { assetId: "u128", accountsDestroyed: "u32", - accountsRemaining: "u32", + accountsRemaining: "u32" }, ApprovalsDestroyed: { assetId: "u128", approvalsDestroyed: "u32", - approvalsRemaining: "u32", + approvalsRemaining: "u32" }, DestructionStarted: { - assetId: "u128", + assetId: "u128" }, Destroyed: { - assetId: "u128", + assetId: "u128" }, ForceCreated: { assetId: "u128", - owner: "AccountId20", + owner: "AccountId20" }, MetadataSet: { assetId: "u128", name: "Bytes", symbol: "Bytes", decimals: "u8", - isFrozen: "bool", + isFrozen: "bool" }, MetadataCleared: { - assetId: "u128", + assetId: "u128" }, ApprovedTransfer: { assetId: "u128", source: "AccountId20", delegate: "AccountId20", - amount: "u128", + amount: "u128" }, ApprovalCancelled: { assetId: "u128", owner: "AccountId20", - delegate: "AccountId20", + delegate: "AccountId20" }, TransferredApproved: { assetId: "u128", owner: "AccountId20", delegate: "AccountId20", destination: "AccountId20", - amount: "u128", + amount: "u128" }, AssetStatusChanged: { - assetId: "u128", + assetId: "u128" }, AssetMinBalanceChanged: { assetId: "u128", - newMinBalance: "u128", + newMinBalance: "u128" }, Touched: { assetId: "u128", who: "AccountId20", - depositor: "AccountId20", + depositor: "AccountId20" }, Blocked: { assetId: "u128", - who: "AccountId20", + who: "AccountId20" }, Deposited: { assetId: "u128", who: "AccountId20", - amount: "u128", + amount: "u128" }, Withdrawn: { assetId: "u128", who: "AccountId20", - amount: "u128", - }, - }, + amount: "u128" + } + } }, - /** Lookup393: pallet_asset_manager::pallet::Event */ + /** + * Lookup393: pallet_asset_manager::pallet::Event + **/ PalletAssetManagerEvent: { _enum: { ForeignAssetRegistered: { assetId: "u128", asset: "MoonbeamRuntimeXcmConfigAssetType", - metadata: "MoonbeamRuntimeAssetConfigAssetRegistrarMetadata", + metadata: "MoonbeamRuntimeAssetConfigAssetRegistrarMetadata" }, UnitsPerSecondChanged: "Null", ForeignAssetXcmLocationChanged: { assetId: "u128", - newAssetType: "MoonbeamRuntimeXcmConfigAssetType", + newAssetType: "MoonbeamRuntimeXcmConfigAssetType" }, ForeignAssetRemoved: { assetId: "u128", - assetType: "MoonbeamRuntimeXcmConfigAssetType", + assetType: "MoonbeamRuntimeXcmConfigAssetType" }, SupportedAssetRemoved: { - assetType: "MoonbeamRuntimeXcmConfigAssetType", + assetType: "MoonbeamRuntimeXcmConfigAssetType" }, ForeignAssetDestroyed: { assetId: "u128", - assetType: "MoonbeamRuntimeXcmConfigAssetType", + assetType: "MoonbeamRuntimeXcmConfigAssetType" }, LocalAssetDestroyed: { - assetId: "u128", - }, - }, + assetId: "u128" + } + } }, - /** Lookup394: pallet_xcm_transactor::pallet::Event */ + /** + * Lookup394: pallet_xcm_transactor::pallet::Event + **/ PalletXcmTransactorEvent: { _enum: { TransactedDerivative: { accountId: "AccountId20", dest: "StagingXcmV4Location", call: "Bytes", - index: "u16", + index: "u16" }, TransactedSovereign: { feePayer: "Option", dest: "StagingXcmV4Location", - call: "Bytes", + call: "Bytes" }, TransactedSigned: { feePayer: "AccountId20", dest: "StagingXcmV4Location", - call: "Bytes", + call: "Bytes" }, RegisteredDerivative: { accountId: "AccountId20", - index: "u16", + index: "u16" }, DeRegisteredDerivative: { - index: "u16", + index: "u16" }, TransactFailed: { - error: "XcmV3TraitsError", + error: "XcmV3TraitsError" }, TransactInfoChanged: { location: "StagingXcmV4Location", - remoteInfo: "PalletXcmTransactorRemoteTransactInfoWithMaxWeight", + remoteInfo: "PalletXcmTransactorRemoteTransactInfoWithMaxWeight" }, TransactInfoRemoved: { - location: "StagingXcmV4Location", + location: "StagingXcmV4Location" }, DestFeePerSecondChanged: { location: "StagingXcmV4Location", - feePerSecond: "u128", + feePerSecond: "u128" }, DestFeePerSecondRemoved: { - location: "StagingXcmV4Location", + location: "StagingXcmV4Location" }, HrmpManagementSent: { - action: "PalletXcmTransactorHrmpOperation", - }, - }, + action: "PalletXcmTransactorHrmpOperation" + } + } }, - /** Lookup395: pallet_xcm_transactor::pallet::RemoteTransactInfoWithMaxWeight */ + /** + * Lookup395: pallet_xcm_transactor::pallet::RemoteTransactInfoWithMaxWeight + **/ PalletXcmTransactorRemoteTransactInfoWithMaxWeight: { transactExtraWeight: "SpWeightsWeightV2Weight", maxWeight: "SpWeightsWeightV2Weight", - transactExtraWeightSigned: "Option", + transactExtraWeightSigned: "Option" }, - /** Lookup396: pallet_ethereum_xcm::pallet::Event */ + /** + * Lookup396: pallet_ethereum_xcm::pallet::Event + **/ PalletEthereumXcmEvent: { _enum: { ExecutedFromXcm: { xcmMsgHash: "H256", - ethTxHash: "H256", - }, - }, + ethTxHash: "H256" + } + } }, - /** Lookup397: pallet_message_queue::pallet::Event */ + /** + * Lookup397: pallet_message_queue::pallet::Event + **/ PalletMessageQueueEvent: { _enum: { ProcessingFailed: { id: "H256", origin: "CumulusPrimitivesCoreAggregateMessageOrigin", - error: "FrameSupportMessagesProcessMessageError", + error: "FrameSupportMessagesProcessMessageError" }, Processed: { id: "H256", origin: "CumulusPrimitivesCoreAggregateMessageOrigin", weightUsed: "SpWeightsWeightV2Weight", - success: "bool", + success: "bool" }, OverweightEnqueued: { id: "[u8;32]", origin: "CumulusPrimitivesCoreAggregateMessageOrigin", pageIndex: "u32", - messageIndex: "u32", + messageIndex: "u32" }, PageReaped: { origin: "CumulusPrimitivesCoreAggregateMessageOrigin", - index: "u32", - }, - }, + index: "u32" + } + } }, - /** Lookup398: frame_support::traits::messages::ProcessMessageError */ + /** + * Lookup398: frame_support::traits::messages::ProcessMessageError + **/ FrameSupportMessagesProcessMessageError: { _enum: { BadFormat: "Null", @@ -4361,58 +4816,66 @@ export default { Unsupported: "Null", Overweight: "SpWeightsWeightV2Weight", Yield: "Null", - StackLimitReached: "Null", - }, + StackLimitReached: "Null" + } }, - /** Lookup399: pallet_moonbeam_foreign_assets::pallet::Event */ + /** + * Lookup399: pallet_moonbeam_foreign_assets::pallet::Event + **/ PalletMoonbeamForeignAssetsEvent: { _enum: { ForeignAssetCreated: { contractAddress: "H160", assetId: "u128", - xcmLocation: "StagingXcmV4Location", + xcmLocation: "StagingXcmV4Location" }, ForeignAssetXcmLocationChanged: { assetId: "u128", - newXcmLocation: "StagingXcmV4Location", + newXcmLocation: "StagingXcmV4Location" }, ForeignAssetFrozen: { assetId: "u128", - xcmLocation: "StagingXcmV4Location", + xcmLocation: "StagingXcmV4Location" }, ForeignAssetUnfrozen: { assetId: "u128", - xcmLocation: "StagingXcmV4Location", - }, - }, + xcmLocation: "StagingXcmV4Location" + } + } }, - /** Lookup400: pallet_xcm_weight_trader::pallet::Event */ + /** + * Lookup400: pallet_xcm_weight_trader::pallet::Event + **/ PalletXcmWeightTraderEvent: { _enum: { SupportedAssetAdded: { location: "StagingXcmV4Location", - relativePrice: "u128", + relativePrice: "u128" }, SupportedAssetEdited: { location: "StagingXcmV4Location", - relativePrice: "u128", + relativePrice: "u128" }, PauseAssetSupport: { - location: "StagingXcmV4Location", + location: "StagingXcmV4Location" }, ResumeAssetSupport: { - location: "StagingXcmV4Location", + location: "StagingXcmV4Location" }, SupportedAssetRemoved: { - location: "StagingXcmV4Location", - }, - }, + location: "StagingXcmV4Location" + } + } }, - /** Lookup401: pallet_emergency_para_xcm::pallet::Event */ + /** + * Lookup401: pallet_emergency_para_xcm::pallet::Event + **/ PalletEmergencyParaXcmEvent: { - _enum: ["EnteredPausedXcmMode", "NormalXcmOperationResumed"], + _enum: ["EnteredPausedXcmMode", "NormalXcmOperationResumed"] }, - /** Lookup402: pallet_randomness::pallet::Event */ + /** + * Lookup402: pallet_randomness::pallet::Event + **/ PalletRandomnessEvent: { _enum: { RandomnessRequestedBabeEpoch: { @@ -4423,7 +4886,7 @@ export default { gasLimit: "u64", numWords: "u8", salt: "H256", - earliestEpoch: "u64", + earliestEpoch: "u64" }, RandomnessRequestedLocal: { id: "u64", @@ -4433,73 +4896,93 @@ export default { gasLimit: "u64", numWords: "u8", salt: "H256", - earliestBlock: "u32", + earliestBlock: "u32" }, RequestFulfilled: { - id: "u64", + id: "u64" }, RequestFeeIncreased: { id: "u64", - newFee: "u128", + newFee: "u128" }, RequestExpirationExecuted: { - id: "u64", - }, - }, + id: "u64" + } + } }, - /** Lookup403: frame_system::Phase */ + /** + * Lookup403: frame_system::Phase + **/ FrameSystemPhase: { _enum: { ApplyExtrinsic: "u32", Finalization: "Null", - Initialization: "Null", - }, + Initialization: "Null" + } }, - /** Lookup405: frame_system::LastRuntimeUpgradeInfo */ + /** + * Lookup405: frame_system::LastRuntimeUpgradeInfo + **/ FrameSystemLastRuntimeUpgradeInfo: { specVersion: "Compact", - specName: "Text", + specName: "Text" }, - /** Lookup406: frame_system::CodeUpgradeAuthorization */ + /** + * Lookup406: frame_system::CodeUpgradeAuthorization + **/ FrameSystemCodeUpgradeAuthorization: { codeHash: "H256", - checkVersion: "bool", + checkVersion: "bool" }, - /** Lookup407: frame_system::limits::BlockWeights */ + /** + * Lookup407: frame_system::limits::BlockWeights + **/ FrameSystemLimitsBlockWeights: { baseBlock: "SpWeightsWeightV2Weight", maxBlock: "SpWeightsWeightV2Weight", - perClass: "FrameSupportDispatchPerDispatchClassWeightsPerClass", + perClass: "FrameSupportDispatchPerDispatchClassWeightsPerClass" }, - /** Lookup408: frame_support::dispatch::PerDispatchClass */ + /** + * Lookup408: frame_support::dispatch::PerDispatchClass + **/ FrameSupportDispatchPerDispatchClassWeightsPerClass: { normal: "FrameSystemLimitsWeightsPerClass", operational: "FrameSystemLimitsWeightsPerClass", - mandatory: "FrameSystemLimitsWeightsPerClass", + mandatory: "FrameSystemLimitsWeightsPerClass" }, - /** Lookup409: frame_system::limits::WeightsPerClass */ + /** + * Lookup409: frame_system::limits::WeightsPerClass + **/ FrameSystemLimitsWeightsPerClass: { baseExtrinsic: "SpWeightsWeightV2Weight", maxExtrinsic: "Option", maxTotal: "Option", - reserved: "Option", + reserved: "Option" }, - /** Lookup410: frame_system::limits::BlockLength */ + /** + * Lookup410: frame_system::limits::BlockLength + **/ FrameSystemLimitsBlockLength: { - max: "FrameSupportDispatchPerDispatchClassU32", + max: "FrameSupportDispatchPerDispatchClassU32" }, - /** Lookup411: frame_support::dispatch::PerDispatchClass */ + /** + * Lookup411: frame_support::dispatch::PerDispatchClass + **/ FrameSupportDispatchPerDispatchClassU32: { normal: "u32", operational: "u32", - mandatory: "u32", + mandatory: "u32" }, - /** Lookup412: sp_weights::RuntimeDbWeight */ + /** + * Lookup412: sp_weights::RuntimeDbWeight + **/ SpWeightsRuntimeDbWeight: { read: "u64", - write: "u64", + write: "u64" }, - /** Lookup413: sp_version::RuntimeVersion */ + /** + * Lookup413: sp_version::RuntimeVersion + **/ SpVersionRuntimeVersion: { specName: "Text", implName: "Text", @@ -4508,9 +4991,11 @@ export default { implVersion: "u32", apis: "Vec<([u8;8],u32)>", transactionVersion: "u32", - stateVersion: "u8", + stateVersion: "u8" }, - /** Lookup417: frame_system::pallet::Error */ + /** + * Lookup417: frame_system::pallet::Error + **/ FrameSystemError: { _enum: [ "InvalidSpecName", @@ -4521,63 +5006,83 @@ export default { "CallFiltered", "MultiBlockMigrationsOngoing", "NothingAuthorized", - "Unauthorized", - ], + "Unauthorized" + ] }, - /** Lookup419: cumulus_pallet_parachain_system::unincluded_segment::Ancestor */ + /** + * Lookup419: cumulus_pallet_parachain_system::unincluded_segment::Ancestor + **/ CumulusPalletParachainSystemUnincludedSegmentAncestor: { usedBandwidth: "CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth", paraHeadHash: "Option", - consumedGoAheadSignal: "Option", + consumedGoAheadSignal: "Option" }, - /** Lookup420: cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth */ + /** + * Lookup420: cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth + **/ CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth: { umpMsgCount: "u32", umpTotalBytes: "u32", - hrmpOutgoing: "BTreeMap", + hrmpOutgoing: "BTreeMap" }, - /** Lookup422: cumulus_pallet_parachain_system::unincluded_segment::HrmpChannelUpdate */ + /** + * Lookup422: cumulus_pallet_parachain_system::unincluded_segment::HrmpChannelUpdate + **/ CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate: { msgCount: "u32", - totalBytes: "u32", + totalBytes: "u32" }, - /** Lookup426: polkadot_primitives::v7::UpgradeGoAhead */ + /** + * Lookup426: polkadot_primitives::v7::UpgradeGoAhead + **/ PolkadotPrimitivesV7UpgradeGoAhead: { - _enum: ["Abort", "GoAhead"], + _enum: ["Abort", "GoAhead"] }, - /** Lookup427: cumulus_pallet_parachain_system::unincluded_segment::SegmentTracker */ + /** + * Lookup427: cumulus_pallet_parachain_system::unincluded_segment::SegmentTracker + **/ CumulusPalletParachainSystemUnincludedSegmentSegmentTracker: { usedBandwidth: "CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth", hrmpWatermark: "Option", - consumedGoAheadSignal: "Option", + consumedGoAheadSignal: "Option" }, - /** Lookup429: polkadot_primitives::v7::UpgradeRestriction */ + /** + * Lookup429: polkadot_primitives::v7::UpgradeRestriction + **/ PolkadotPrimitivesV7UpgradeRestriction: { - _enum: ["Present"], + _enum: ["Present"] }, - /** Lookup430: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot */ + /** + * Lookup430: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot + **/ CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: { dmqMqcHead: "H256", relayDispatchQueueRemainingCapacity: "CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity", ingressChannels: "Vec<(u32,PolkadotPrimitivesV7AbridgedHrmpChannel)>", - egressChannels: "Vec<(u32,PolkadotPrimitivesV7AbridgedHrmpChannel)>", + egressChannels: "Vec<(u32,PolkadotPrimitivesV7AbridgedHrmpChannel)>" }, - /** Lookup431: cumulus_pallet_parachain_system::relay_state_snapshot::RelayDispatchQueueRemainingCapacity */ + /** + * Lookup431: cumulus_pallet_parachain_system::relay_state_snapshot::RelayDispatchQueueRemainingCapacity + **/ CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity: { remainingCount: "u32", - remainingSize: "u32", + remainingSize: "u32" }, - /** Lookup434: polkadot_primitives::v7::AbridgedHrmpChannel */ + /** + * Lookup434: polkadot_primitives::v7::AbridgedHrmpChannel + **/ PolkadotPrimitivesV7AbridgedHrmpChannel: { maxCapacity: "u32", maxTotalSize: "u32", maxMessageSize: "u32", msgCount: "u32", totalSize: "u32", - mqcHead: "Option", + mqcHead: "Option" }, - /** Lookup435: polkadot_primitives::v7::AbridgedHostConfiguration */ + /** + * Lookup435: polkadot_primitives::v7::AbridgedHostConfiguration + **/ PolkadotPrimitivesV7AbridgedHostConfiguration: { maxCodeSize: "u32", maxHeadDataSize: "u32", @@ -4588,19 +5093,25 @@ export default { hrmpMaxMessageNumPerCandidate: "u32", validationUpgradeCooldown: "u32", validationUpgradeDelay: "u32", - asyncBackingParams: "PolkadotPrimitivesV7AsyncBackingAsyncBackingParams", + asyncBackingParams: "PolkadotPrimitivesV7AsyncBackingAsyncBackingParams" }, - /** Lookup436: polkadot_primitives::v7::async_backing::AsyncBackingParams */ + /** + * Lookup436: polkadot_primitives::v7::async_backing::AsyncBackingParams + **/ PolkadotPrimitivesV7AsyncBackingAsyncBackingParams: { maxCandidateDepth: "u32", - allowedAncestryLen: "u32", + allowedAncestryLen: "u32" }, - /** Lookup442: polkadot_core_primitives::OutboundHrmpMessage */ + /** + * Lookup442: polkadot_core_primitives::OutboundHrmpMessage + **/ PolkadotCorePrimitivesOutboundHrmpMessage: { recipient: "u32", - data: "Bytes", + data: "Bytes" }, - /** Lookup444: cumulus_pallet_parachain_system::pallet::Error */ + /** + * Lookup444: cumulus_pallet_parachain_system::pallet::Error + **/ CumulusPalletParachainSystemError: { _enum: [ "OverlappingUpgrades", @@ -4610,25 +5121,33 @@ export default { "HostConfigurationNotAvailable", "NotScheduled", "NothingAuthorized", - "Unauthorized", - ], + "Unauthorized" + ] }, - /** Lookup446: pallet_balances::types::BalanceLock */ + /** + * Lookup446: pallet_balances::types::BalanceLock + **/ PalletBalancesBalanceLock: { id: "[u8;8]", amount: "u128", - reasons: "PalletBalancesReasons", + reasons: "PalletBalancesReasons" }, - /** Lookup447: pallet_balances::types::Reasons */ + /** + * Lookup447: pallet_balances::types::Reasons + **/ PalletBalancesReasons: { - _enum: ["Fee", "Misc", "All"], + _enum: ["Fee", "Misc", "All"] }, - /** Lookup450: pallet_balances::types::ReserveData */ + /** + * Lookup450: pallet_balances::types::ReserveData + **/ PalletBalancesReserveData: { id: "[u8;4]", - amount: "u128", + amount: "u128" }, - /** Lookup454: moonbeam_runtime::RuntimeHoldReason */ + /** + * Lookup454: moonbeam_runtime::RuntimeHoldReason + **/ MoonbeamRuntimeRuntimeHoldReason: { _enum: { __Unused0: "Null", @@ -4693,19 +5212,25 @@ export default { __Unused59: "Null", __Unused60: "Null", __Unused61: "Null", - Preimage: "PalletPreimageHoldReason", - }, + Preimage: "PalletPreimageHoldReason" + } }, - /** Lookup455: pallet_preimage::pallet::HoldReason */ + /** + * Lookup455: pallet_preimage::pallet::HoldReason + **/ PalletPreimageHoldReason: { - _enum: ["Preimage"], + _enum: ["Preimage"] }, - /** Lookup458: frame_support::traits::tokens::misc::IdAmount */ + /** + * Lookup458: frame_support::traits::tokens::misc::IdAmount + **/ FrameSupportTokensMiscIdAmount: { id: "Null", - amount: "u128", + amount: "u128" }, - /** Lookup460: pallet_balances::pallet::Error */ + /** + * Lookup460: pallet_balances::pallet::Error + **/ PalletBalancesError: { _enum: [ "VestingBalance", @@ -4719,47 +5244,57 @@ export default { "TooManyHolds", "TooManyFreezes", "IssuanceDeactivated", - "DeltaZero", - ], + "DeltaZero" + ] }, - /** Lookup461: pallet_transaction_payment::Releases */ + /** + * Lookup461: pallet_transaction_payment::Releases + **/ PalletTransactionPaymentReleases: { - _enum: ["V1Ancient", "V2"], + _enum: ["V1Ancient", "V2"] }, - /** Lookup462: pallet_parachain_staking::types::RoundInfo */ + /** + * Lookup462: pallet_parachain_staking::types::RoundInfo + **/ PalletParachainStakingRoundInfo: { current: "u32", first: "u32", length: "u32", - firstSlot: "u64", + firstSlot: "u64" }, - /** Lookup463: pallet_parachain_staking::types::Delegator */ + /** + * Lookup463: pallet_parachain_staking::types::Delegator + **/ PalletParachainStakingDelegator: { id: "AccountId20", delegations: "PalletParachainStakingSetOrderedSet", total: "u128", lessTotal: "u128", - status: "PalletParachainStakingDelegatorStatus", + status: "PalletParachainStakingDelegatorStatus" }, /** - * Lookup464: - * pallet_parachain_staking::set::OrderedSet> - */ + * Lookup464: pallet_parachain_staking::set::OrderedSet> + **/ PalletParachainStakingSetOrderedSet: "Vec", - /** Lookup465: pallet_parachain_staking::types::Bond */ + /** + * Lookup465: pallet_parachain_staking::types::Bond + **/ PalletParachainStakingBond: { owner: "AccountId20", - amount: "u128", + amount: "u128" }, - /** Lookup467: pallet_parachain_staking::types::DelegatorStatus */ + /** + * Lookup467: pallet_parachain_staking::types::DelegatorStatus + **/ PalletParachainStakingDelegatorStatus: { _enum: { Active: "Null", - Leaving: "u32", - }, + Leaving: "u32" + } }, - /** Lookup468: pallet_parachain_staking::types::CandidateMetadata */ + /** + * Lookup468: pallet_parachain_staking::types::CandidateMetadata + **/ PalletParachainStakingCandidateMetadata: { bond: "u128", delegationCount: "u32", @@ -4770,87 +5305,104 @@ export default { topCapacity: "PalletParachainStakingCapacityStatus", bottomCapacity: "PalletParachainStakingCapacityStatus", request: "Option", - status: "PalletParachainStakingCollatorStatus", + status: "PalletParachainStakingCollatorStatus" }, - /** Lookup469: pallet_parachain_staking::types::CapacityStatus */ + /** + * Lookup469: pallet_parachain_staking::types::CapacityStatus + **/ PalletParachainStakingCapacityStatus: { - _enum: ["Full", "Empty", "Partial"], + _enum: ["Full", "Empty", "Partial"] }, - /** Lookup471: pallet_parachain_staking::types::CandidateBondLessRequest */ + /** + * Lookup471: pallet_parachain_staking::types::CandidateBondLessRequest + **/ PalletParachainStakingCandidateBondLessRequest: { amount: "u128", - whenExecutable: "u32", + whenExecutable: "u32" }, - /** Lookup472: pallet_parachain_staking::types::CollatorStatus */ + /** + * Lookup472: pallet_parachain_staking::types::CollatorStatus + **/ PalletParachainStakingCollatorStatus: { _enum: { Active: "Null", Idle: "Null", - Leaving: "u32", - }, + Leaving: "u32" + } }, - /** Lookup474: pallet_parachain_staking::delegation_requests::ScheduledRequest */ + /** + * Lookup474: pallet_parachain_staking::delegation_requests::ScheduledRequest + **/ PalletParachainStakingDelegationRequestsScheduledRequest: { delegator: "AccountId20", whenExecutable: "u32", - action: "PalletParachainStakingDelegationRequestsDelegationAction", + action: "PalletParachainStakingDelegationRequestsDelegationAction" }, /** - * Lookup477: - * pallet_parachain_staking::auto_compound::AutoCompoundConfig[account::AccountId20](account::AccountId20) - */ + * Lookup477: pallet_parachain_staking::auto_compound::AutoCompoundConfig + **/ PalletParachainStakingAutoCompoundAutoCompoundConfig: { delegator: "AccountId20", - value: "Percent", + value: "Percent" }, - /** Lookup479: pallet_parachain_staking::types::Delegations */ + /** + * Lookup479: pallet_parachain_staking::types::Delegations + **/ PalletParachainStakingDelegations: { delegations: "Vec", - total: "u128", + total: "u128" }, /** - * Lookup481: - * pallet_parachain_staking::set::BoundedOrderedSet, S> - */ + * Lookup481: pallet_parachain_staking::set::BoundedOrderedSet, S> + **/ PalletParachainStakingSetBoundedOrderedSet: "Vec", - /** Lookup484: pallet_parachain_staking::types::CollatorSnapshot */ + /** + * Lookup484: pallet_parachain_staking::types::CollatorSnapshot + **/ PalletParachainStakingCollatorSnapshot: { bond: "u128", delegations: "Vec", - total: "u128", + total: "u128" }, - /** Lookup486: pallet_parachain_staking::types::BondWithAutoCompound */ + /** + * Lookup486: pallet_parachain_staking::types::BondWithAutoCompound + **/ PalletParachainStakingBondWithAutoCompound: { owner: "AccountId20", amount: "u128", - autoCompound: "Percent", + autoCompound: "Percent" }, - /** Lookup487: pallet_parachain_staking::types::DelayedPayout */ + /** + * Lookup487: pallet_parachain_staking::types::DelayedPayout + **/ PalletParachainStakingDelayedPayout: { roundIssuance: "u128", totalStakingReward: "u128", - collatorCommission: "Perbill", + collatorCommission: "Perbill" }, - /** Lookup488: pallet_parachain_staking::inflation::InflationInfo */ + /** + * Lookup488: pallet_parachain_staking::inflation::InflationInfo + **/ PalletParachainStakingInflationInflationInfo: { expect: { min: "u128", ideal: "u128", - max: "u128", + max: "u128" }, annual: { min: "Perbill", ideal: "Perbill", - max: "Perbill", + max: "Perbill" }, round: { min: "Perbill", ideal: "Perbill", - max: "Perbill", - }, + max: "Perbill" + } }, - /** Lookup489: pallet_parachain_staking::pallet::Error */ + /** + * Lookup489: pallet_parachain_staking::pallet::Error + **/ PalletParachainStakingError: { _enum: [ "DelegatorDNE", @@ -4908,23 +5460,29 @@ export default { "CannotSetAboveMaxCandidates", "RemovedCall", "MarkingOfflineNotEnabled", - "CurrentRoundTooLow", - ], + "CurrentRoundTooLow" + ] }, - /** Lookup490: pallet_author_inherent::pallet::Error */ + /** + * Lookup490: pallet_author_inherent::pallet::Error + **/ PalletAuthorInherentError: { - _enum: ["AuthorAlreadySet", "NoAccountId", "CannotBeAuthor"], + _enum: ["AuthorAlreadySet", "NoAccountId", "CannotBeAuthor"] }, - /** Lookup491: pallet_author_mapping::pallet::RegistrationInfo */ + /** + * Lookup491: pallet_author_mapping::pallet::RegistrationInfo + **/ PalletAuthorMappingRegistrationInfo: { _alias: { - keys_: "keys", + keys_: "keys" }, account: "AccountId20", deposit: "u128", - keys_: "SessionKeysPrimitivesVrfVrfCryptoPublic", + keys_: "SessionKeysPrimitivesVrfVrfCryptoPublic" }, - /** Lookup492: pallet_author_mapping::pallet::Error */ + /** + * Lookup492: pallet_author_mapping::pallet::Error + **/ PalletAuthorMappingError: { _enum: [ "AssociationNotFound", @@ -4934,21 +5492,27 @@ export default { "OldAuthorIdNotFound", "WrongKeySize", "DecodeNimbusFailed", - "DecodeKeysFailed", - ], + "DecodeKeysFailed" + ] }, - /** Lookup493: pallet_moonbeam_orbiters::types::CollatorPoolInfo[account::AccountId20](account::AccountId20) */ + /** + * Lookup493: pallet_moonbeam_orbiters::types::CollatorPoolInfo + **/ PalletMoonbeamOrbitersCollatorPoolInfo: { orbiters: "Vec", maybeCurrentOrbiter: "Option", - nextOrbiter: "u32", + nextOrbiter: "u32" }, - /** Lookup495: pallet_moonbeam_orbiters::types::CurrentOrbiter[account::AccountId20](account::AccountId20) */ + /** + * Lookup495: pallet_moonbeam_orbiters::types::CurrentOrbiter + **/ PalletMoonbeamOrbitersCurrentOrbiter: { accountId: "AccountId20", - removed: "bool", + removed: "bool" }, - /** Lookup496: pallet_moonbeam_orbiters::pallet::Error */ + /** + * Lookup496: pallet_moonbeam_orbiters::pallet::Error + **/ PalletMoonbeamOrbitersError: { _enum: [ "CollatorAlreadyAdded", @@ -4959,26 +5523,34 @@ export default { "OrbiterAlreadyInPool", "OrbiterDepositNotFound", "OrbiterNotFound", - "OrbiterStillInAPool", - ], + "OrbiterStillInAPool" + ] }, - /** Lookup499: pallet_utility::pallet::Error */ + /** + * Lookup499: pallet_utility::pallet::Error + **/ PalletUtilityError: { - _enum: ["TooManyCalls"], + _enum: ["TooManyCalls"] }, - /** Lookup502: pallet_proxy::ProxyDefinition */ + /** + * Lookup502: pallet_proxy::ProxyDefinition + **/ PalletProxyProxyDefinition: { delegate: "AccountId20", proxyType: "MoonbeamRuntimeProxyType", - delay: "u32", + delay: "u32" }, - /** Lookup506: pallet_proxy::Announcement */ + /** + * Lookup506: pallet_proxy::Announcement + **/ PalletProxyAnnouncement: { real: "AccountId20", callHash: "H256", - height: "u32", + height: "u32" }, - /** Lookup508: pallet_proxy::pallet::Error */ + /** + * Lookup508: pallet_proxy::pallet::Error + **/ PalletProxyError: { _enum: [ "TooMany", @@ -4988,37 +5560,41 @@ export default { "Duplicate", "NoPermission", "Unannounced", - "NoSelfProxy", - ], + "NoSelfProxy" + ] }, - /** Lookup509: pallet_maintenance_mode::pallet::Error */ + /** + * Lookup509: pallet_maintenance_mode::pallet::Error + **/ PalletMaintenanceModeError: { - _enum: ["AlreadyInMaintenanceMode", "NotInMaintenanceMode"], + _enum: ["AlreadyInMaintenanceMode", "NotInMaintenanceMode"] }, /** - * Lookup511: pallet_identity::types::Registration> - */ + * Lookup511: pallet_identity::types::Registration> + **/ PalletIdentityRegistration: { judgements: "Vec<(u32,PalletIdentityJudgement)>", deposit: "u128", - info: "PalletIdentityLegacyIdentityInfo", + info: "PalletIdentityLegacyIdentityInfo" }, - /** Lookup520: pallet_identity::types::RegistrarInfo */ + /** + * Lookup520: pallet_identity::types::RegistrarInfo + **/ PalletIdentityRegistrarInfo: { account: "AccountId20", fee: "u128", - fields: "u64", + fields: "u64" }, /** - * Lookup522: - * pallet_identity::types::AuthorityProperties> - */ + * Lookup522: pallet_identity::types::AuthorityProperties> + **/ PalletIdentityAuthorityProperties: { suffix: "Bytes", - allocation: "u32", + allocation: "u32" }, - /** Lookup525: pallet_identity::pallet::Error */ + /** + * Lookup525: pallet_identity::pallet::Error + **/ PalletIdentityError: { _enum: [ "TooManySubAccounts", @@ -5046,21 +5622,27 @@ export default { "InvalidUsername", "UsernameTaken", "NoUsername", - "NotExpired", - ], + "NotExpired" + ] }, - /** Lookup526: pallet_migrations::pallet::Error */ + /** + * Lookup526: pallet_migrations::pallet::Error + **/ PalletMigrationsError: { - _enum: ["PreimageMissing", "WrongUpperBound", "PreimageIsTooBig", "PreimageAlreadyExists"], + _enum: ["PreimageMissing", "WrongUpperBound", "PreimageIsTooBig", "PreimageAlreadyExists"] }, - /** Lookup528: pallet_multisig::Multisig */ + /** + * Lookup528: pallet_multisig::Multisig + **/ PalletMultisigMultisig: { when: "PalletMultisigTimepoint", deposit: "u128", depositor: "AccountId20", - approvals: "Vec", + approvals: "Vec" }, - /** Lookup530: pallet_multisig::pallet::Error */ + /** + * Lookup530: pallet_multisig::pallet::Error + **/ PalletMultisigError: { _enum: [ "MinimumThreshold", @@ -5076,32 +5658,40 @@ export default { "WrongTimepoint", "UnexpectedTimepoint", "MaxWeightTooLow", - "AlreadyStored", - ], + "AlreadyStored" + ] }, - /** Lookup532: pallet_moonbeam_lazy_migrations::pallet::StateMigrationStatus */ + /** + * Lookup532: pallet_moonbeam_lazy_migrations::pallet::StateMigrationStatus + **/ PalletMoonbeamLazyMigrationsStateMigrationStatus: { _enum: { NotStarted: "Null", Started: "Bytes", Error: "Bytes", - Complete: "Null", - }, + Complete: "Null" + } }, - /** Lookup534: pallet_moonbeam_lazy_migrations::foreign_asset::ForeignAssetMigrationStatus */ + /** + * Lookup534: pallet_moonbeam_lazy_migrations::foreign_asset::ForeignAssetMigrationStatus + **/ PalletMoonbeamLazyMigrationsForeignAssetForeignAssetMigrationStatus: { _enum: { Idle: "Null", - Migrating: "PalletMoonbeamLazyMigrationsForeignAssetForeignAssetMigrationInfo", - }, + Migrating: "PalletMoonbeamLazyMigrationsForeignAssetForeignAssetMigrationInfo" + } }, - /** Lookup535: pallet_moonbeam_lazy_migrations::foreign_asset::ForeignAssetMigrationInfo */ + /** + * Lookup535: pallet_moonbeam_lazy_migrations::foreign_asset::ForeignAssetMigrationInfo + **/ PalletMoonbeamLazyMigrationsForeignAssetForeignAssetMigrationInfo: { assetId: "u128", remainingBalances: "u32", - remainingApprovals: "u32", + remainingApprovals: "u32" }, - /** Lookup536: pallet_moonbeam_lazy_migrations::pallet::Error */ + /** + * Lookup536: pallet_moonbeam_lazy_migrations::pallet::Error + **/ PalletMoonbeamLazyMigrationsError: { _enum: [ "LimitCannotBeZero", @@ -5116,19 +5706,23 @@ export default { "MigrationNotFinished", "NoMigrationInProgress", "MintFailed", - "ApprovalFailed", - ], + "ApprovalFailed" + ] }, - /** Lookup537: pallet_evm::CodeMetadata */ + /** + * Lookup537: pallet_evm::CodeMetadata + **/ PalletEvmCodeMetadata: { _alias: { size_: "size", - hash_: "hash", + hash_: "hash" }, size_: "u64", - hash_: "H256", + hash_: "H256" }, - /** Lookup539: pallet_evm::pallet::Error */ + /** + * Lookup539: pallet_evm::pallet::Error + **/ PalletEvmError: { _enum: [ "BalanceLow", @@ -5143,10 +5737,12 @@ export default { "InvalidSignature", "Reentrancy", "TransactionMustComeFromEOA", - "Undefined", - ], + "Undefined" + ] }, - /** Lookup542: fp_rpc::TransactionStatus */ + /** + * Lookup542: fp_rpc::TransactionStatus + **/ FpRpcTransactionStatus: { transactionHash: "H256", transactionIndex: "u32", @@ -5154,35 +5750,42 @@ export default { to: "Option", contractAddress: "Option", logs: "Vec", - logsBloom: "EthbloomBloom", + logsBloom: "EthbloomBloom" }, - /** Lookup544: ethbloom::Bloom */ + /** + * Lookup544: ethbloom::Bloom + **/ EthbloomBloom: "[u8;256]", - /** Lookup546: ethereum::receipt::ReceiptV3 */ + /** + * Lookup546: ethereum::receipt::ReceiptV3 + **/ EthereumReceiptReceiptV3: { _enum: { Legacy: "EthereumReceiptEip658ReceiptData", EIP2930: "EthereumReceiptEip658ReceiptData", - EIP1559: "EthereumReceiptEip658ReceiptData", - }, + EIP1559: "EthereumReceiptEip658ReceiptData" + } }, - /** Lookup547: ethereum::receipt::EIP658ReceiptData */ + /** + * Lookup547: ethereum::receipt::EIP658ReceiptData + **/ EthereumReceiptEip658ReceiptData: { statusCode: "u8", usedGas: "U256", logsBloom: "EthbloomBloom", - logs: "Vec", + logs: "Vec" }, /** - * Lookup548: - * ethereum::block::Block[ethereum::transaction::TransactionV2](ethereum::transaction::TransactionV2) - */ + * Lookup548: ethereum::block::Block + **/ EthereumBlock: { header: "EthereumHeader", transactions: "Vec", - ommers: "Vec", + ommers: "Vec" }, - /** Lookup549: ethereum::header::Header */ + /** + * Lookup549: ethereum::header::Header + **/ EthereumHeader: { parentHash: "H256", ommersHash: "H256", @@ -5198,74 +5801,83 @@ export default { timestamp: "u64", extraData: "Bytes", mixHash: "H256", - nonce: "EthereumTypesHashH64", + nonce: "EthereumTypesHashH64" }, - /** Lookup550: ethereum_types::hash::H64 */ + /** + * Lookup550: ethereum_types::hash::H64 + **/ EthereumTypesHashH64: "[u8;8]", - /** Lookup555: pallet_ethereum::pallet::Error */ + /** + * Lookup555: pallet_ethereum::pallet::Error + **/ PalletEthereumError: { - _enum: ["InvalidSignature", "PreLogExists"], + _enum: ["InvalidSignature", "PreLogExists"] }, /** - * Lookup558: pallet_scheduler::Scheduled, BlockNumber, moonbeam_runtime::OriginCaller, account::AccountId20> - */ + * Lookup558: pallet_scheduler::Scheduled, BlockNumber, moonbeam_runtime::OriginCaller, account::AccountId20> + **/ PalletSchedulerScheduled: { maybeId: "Option<[u8;32]>", priority: "u8", call: "FrameSupportPreimagesBounded", maybePeriodic: "Option<(u32,u32)>", - origin: "MoonbeamRuntimeOriginCaller", + origin: "MoonbeamRuntimeOriginCaller" }, - /** Lookup560: pallet_scheduler::RetryConfig */ + /** + * Lookup560: pallet_scheduler::RetryConfig + **/ PalletSchedulerRetryConfig: { totalRetries: "u8", remaining: "u8", - period: "u32", + period: "u32" }, - /** Lookup561: pallet_scheduler::pallet::Error */ + /** + * Lookup561: pallet_scheduler::pallet::Error + **/ PalletSchedulerError: { _enum: [ "FailedToSchedule", "NotFound", "TargetBlockNumberInPast", "RescheduleNoChange", - "Named", - ], + "Named" + ] }, - /** Lookup562: pallet_preimage::OldRequestStatus */ + /** + * Lookup562: pallet_preimage::OldRequestStatus + **/ PalletPreimageOldRequestStatus: { _enum: { Unrequested: { deposit: "(AccountId20,u128)", - len: "u32", + len: "u32" }, Requested: { deposit: "Option<(AccountId20,u128)>", count: "u32", - len: "Option", - }, - }, + len: "Option" + } + } }, /** - * Lookup565: pallet_preimage::RequestStatus> - */ + * Lookup565: pallet_preimage::RequestStatus> + **/ PalletPreimageRequestStatus: { _enum: { Unrequested: { ticket: "(AccountId20,u128)", - len: "u32", + len: "u32" }, Requested: { maybeTicket: "Option<(AccountId20,u128)>", count: "u32", - maybeLen: "Option", - }, - }, + maybeLen: "Option" + } + } }, - /** Lookup571: pallet_preimage::pallet::Error */ + /** + * Lookup571: pallet_preimage::pallet::Error + **/ PalletPreimageError: { _enum: [ "TooBig", @@ -5276,41 +5888,50 @@ export default { "NotRequested", "TooMany", "TooFew", - "NoCost", - ], + "NoCost" + ] }, /** - * Lookup573: pallet_conviction_voting::vote::Voting - */ + * Lookup573: pallet_conviction_voting::vote::Voting + **/ PalletConvictionVotingVoteVoting: { _enum: { Casting: "PalletConvictionVotingVoteCasting", - Delegating: "PalletConvictionVotingVoteDelegating", - }, + Delegating: "PalletConvictionVotingVoteDelegating" + } }, - /** Lookup574: pallet_conviction_voting::vote::Casting */ + /** + * Lookup574: pallet_conviction_voting::vote::Casting + **/ PalletConvictionVotingVoteCasting: { votes: "Vec<(u32,PalletConvictionVotingVoteAccountVote)>", delegations: "PalletConvictionVotingDelegations", - prior: "PalletConvictionVotingVotePriorLock", + prior: "PalletConvictionVotingVotePriorLock" }, - /** Lookup578: pallet_conviction_voting::types::Delegations */ + /** + * Lookup578: pallet_conviction_voting::types::Delegations + **/ PalletConvictionVotingDelegations: { votes: "u128", - capital: "u128", + capital: "u128" }, - /** Lookup579: pallet_conviction_voting::vote::PriorLock */ + /** + * Lookup579: pallet_conviction_voting::vote::PriorLock + **/ PalletConvictionVotingVotePriorLock: "(u32,u128)", - /** Lookup580: pallet_conviction_voting::vote::Delegating */ + /** + * Lookup580: pallet_conviction_voting::vote::Delegating + **/ PalletConvictionVotingVoteDelegating: { balance: "u128", target: "AccountId20", conviction: "PalletConvictionVotingConviction", delegations: "PalletConvictionVotingDelegations", - prior: "PalletConvictionVotingVotePriorLock", + prior: "PalletConvictionVotingVotePriorLock" }, - /** Lookup584: pallet_conviction_voting::pallet::Error */ + /** + * Lookup584: pallet_conviction_voting::pallet::Error + **/ PalletConvictionVotingError: { _enum: [ "NotOngoing", @@ -5324,15 +5945,12 @@ export default { "Nonsense", "MaxVotesReached", "ClassNeeded", - "BadClass", - ], + "BadClass" + ] }, /** - * Lookup585: pallet_referenda::types::ReferendumInfo, Balance, pallet_conviction_voting::types::Tally, account::AccountId20, ScheduleAddress> - */ + * Lookup585: pallet_referenda::types::ReferendumInfo, Balance, pallet_conviction_voting::types::Tally, account::AccountId20, ScheduleAddress> + **/ PalletReferendaReferendumInfo: { _enum: { Ongoing: "PalletReferendaReferendumStatus", @@ -5340,15 +5958,12 @@ export default { Rejected: "(u32,Option,Option)", Cancelled: "(u32,Option,Option)", TimedOut: "(u32,Option,Option)", - Killed: "u32", - }, + Killed: "u32" + } }, /** - * Lookup586: pallet_referenda::types::ReferendumStatus, Balance, pallet_conviction_voting::types::Tally, account::AccountId20, ScheduleAddress> - */ + * Lookup586: pallet_referenda::types::ReferendumStatus, Balance, pallet_conviction_voting::types::Tally, account::AccountId20, ScheduleAddress> + **/ PalletReferendaReferendumStatus: { track: "u16", origin: "MoonbeamRuntimeOriginCaller", @@ -5360,19 +5975,25 @@ export default { deciding: "Option", tally: "PalletConvictionVotingTally", inQueue: "bool", - alarm: "Option<(u32,(u32,u32))>", + alarm: "Option<(u32,(u32,u32))>" }, - /** Lookup587: pallet_referenda::types::Deposit */ + /** + * Lookup587: pallet_referenda::types::Deposit + **/ PalletReferendaDeposit: { who: "AccountId20", - amount: "u128", + amount: "u128" }, - /** Lookup590: pallet_referenda::types::DecidingStatus */ + /** + * Lookup590: pallet_referenda::types::DecidingStatus + **/ PalletReferendaDecidingStatus: { since: "u32", - confirming: "Option", + confirming: "Option" }, - /** Lookup598: pallet_referenda::types::TrackInfo */ + /** + * Lookup598: pallet_referenda::types::TrackInfo + **/ PalletReferendaTrackInfo: { name: "Text", maxDeciding: "u32", @@ -5382,30 +6003,34 @@ export default { confirmPeriod: "u32", minEnactmentPeriod: "u32", minApproval: "PalletReferendaCurve", - minSupport: "PalletReferendaCurve", + minSupport: "PalletReferendaCurve" }, - /** Lookup599: pallet_referenda::types::Curve */ + /** + * Lookup599: pallet_referenda::types::Curve + **/ PalletReferendaCurve: { _enum: { LinearDecreasing: { length: "Perbill", floor: "Perbill", - ceil: "Perbill", + ceil: "Perbill" }, SteppedDecreasing: { begin: "Perbill", end: "Perbill", step: "Perbill", - period: "Perbill", + period: "Perbill" }, Reciprocal: { factor: "i64", xOffset: "i64", - yOffset: "i64", - }, - }, + yOffset: "i64" + } + } }, - /** Lookup602: pallet_referenda::pallet::Error */ + /** + * Lookup602: pallet_referenda::pallet::Error + **/ PalletReferendaError: { _enum: [ "NotOngoing", @@ -5421,28 +6046,34 @@ export default { "NoDeposit", "BadStatus", "PreimageNotExist", - "PreimageStoredWithDifferentLength", - ], + "PreimageStoredWithDifferentLength" + ] }, - /** Lookup603: pallet_whitelist::pallet::Error */ + /** + * Lookup603: pallet_whitelist::pallet::Error + **/ PalletWhitelistError: { _enum: [ "UnavailablePreImage", "UndecodableCall", "InvalidCallWeightWitness", "CallIsNotWhitelisted", - "CallAlreadyWhitelisted", - ], + "CallAlreadyWhitelisted" + ] }, - /** Lookup605: pallet_collective::Votes */ + /** + * Lookup605: pallet_collective::Votes + **/ PalletCollectiveVotes: { index: "u32", threshold: "u32", ayes: "Vec", nays: "Vec", - end: "u32", + end: "u32" }, - /** Lookup606: pallet_collective::pallet::Error */ + /** + * Lookup606: pallet_collective::pallet::Error + **/ PalletCollectiveError: { _enum: [ "NotMember", @@ -5455,41 +6086,48 @@ export default { "TooManyProposals", "WrongProposalWeight", "WrongProposalLength", - "PrimeAccountNotMember", - ], + "PrimeAccountNotMember" + ] }, - /** Lookup609: pallet_treasury::Proposal */ + /** + * Lookup609: pallet_treasury::Proposal + **/ PalletTreasuryProposal: { proposer: "AccountId20", value: "u128", beneficiary: "AccountId20", - bond: "u128", + bond: "u128" }, /** - * Lookup612: pallet_treasury::SpendStatus - */ + * Lookup612: pallet_treasury::SpendStatus + **/ PalletTreasurySpendStatus: { assetKind: "Null", amount: "u128", beneficiary: "AccountId20", validFrom: "u32", expireAt: "u32", - status: "PalletTreasuryPaymentState", + status: "PalletTreasuryPaymentState" }, - /** Lookup613: pallet_treasury::PaymentState */ + /** + * Lookup613: pallet_treasury::PaymentState + **/ PalletTreasuryPaymentState: { _enum: { Pending: "Null", Attempted: { - id: "Null", + id: "Null" }, - Failed: "Null", - }, + Failed: "Null" + } }, - /** Lookup615: frame_support::PalletId */ + /** + * Lookup615: frame_support::PalletId + **/ FrameSupportPalletId: "[u8;8]", - /** Lookup616: pallet_treasury::pallet::Error */ + /** + * Lookup616: pallet_treasury::pallet::Error + **/ PalletTreasuryError: { _enum: [ "InvalidIndex", @@ -5502,16 +6140,20 @@ export default { "AlreadyAttempted", "PayoutError", "NotAttempted", - "Inconclusive", - ], + "Inconclusive" + ] }, - /** Lookup617: pallet_crowdloan_rewards::pallet::RewardInfo */ + /** + * Lookup617: pallet_crowdloan_rewards::pallet::RewardInfo + **/ PalletCrowdloanRewardsRewardInfo: { totalReward: "u128", claimedReward: "u128", - contributedRelayAddresses: "Vec<[u8;32]>", + contributedRelayAddresses: "Vec<[u8;32]>" }, - /** Lookup619: pallet_crowdloan_rewards::pallet::Error */ + /** + * Lookup619: pallet_crowdloan_rewards::pallet::Error + **/ PalletCrowdloanRewardsError: { _enum: [ "AlreadyAssociated", @@ -5528,83 +6170,101 @@ export default { "TooManyContributors", "VestingPeriodNonValid", "NonContributedAddressProvided", - "InsufficientNumberOfValidProofs", - ], + "InsufficientNumberOfValidProofs" + ] }, - /** Lookup624: cumulus_pallet_xcmp_queue::OutboundChannelDetails */ + /** + * Lookup624: cumulus_pallet_xcmp_queue::OutboundChannelDetails + **/ CumulusPalletXcmpQueueOutboundChannelDetails: { recipient: "u32", state: "CumulusPalletXcmpQueueOutboundState", signalsExist: "bool", firstIndex: "u16", - lastIndex: "u16", + lastIndex: "u16" }, - /** Lookup625: cumulus_pallet_xcmp_queue::OutboundState */ + /** + * Lookup625: cumulus_pallet_xcmp_queue::OutboundState + **/ CumulusPalletXcmpQueueOutboundState: { - _enum: ["Ok", "Suspended"], + _enum: ["Ok", "Suspended"] }, - /** Lookup629: cumulus_pallet_xcmp_queue::QueueConfigData */ + /** + * Lookup629: cumulus_pallet_xcmp_queue::QueueConfigData + **/ CumulusPalletXcmpQueueQueueConfigData: { suspendThreshold: "u32", dropThreshold: "u32", - resumeThreshold: "u32", + resumeThreshold: "u32" }, - /** Lookup630: cumulus_pallet_xcmp_queue::pallet::Error */ + /** + * Lookup630: cumulus_pallet_xcmp_queue::pallet::Error + **/ CumulusPalletXcmpQueueError: { _enum: [ "BadQueueConfig", "AlreadySuspended", "AlreadyResumed", "TooManyActiveOutboundChannels", - "TooBig", - ], + "TooBig" + ] }, - /** Lookup631: pallet_xcm::pallet::QueryStatus */ + /** + * Lookup631: pallet_xcm::pallet::QueryStatus + **/ PalletXcmQueryStatus: { _enum: { Pending: { responder: "XcmVersionedLocation", maybeMatchQuerier: "Option", maybeNotify: "Option<(u8,u8)>", - timeout: "u32", + timeout: "u32" }, VersionNotifier: { origin: "XcmVersionedLocation", - isActive: "bool", + isActive: "bool" }, Ready: { response: "XcmVersionedResponse", - at: "u32", - }, - }, + at: "u32" + } + } }, - /** Lookup635: xcm::VersionedResponse */ + /** + * Lookup635: xcm::VersionedResponse + **/ XcmVersionedResponse: { _enum: { __Unused0: "Null", __Unused1: "Null", V2: "XcmV2Response", V3: "XcmV3Response", - V4: "StagingXcmV4Response", - }, + V4: "StagingXcmV4Response" + } }, - /** Lookup641: pallet_xcm::pallet::VersionMigrationStage */ + /** + * Lookup641: pallet_xcm::pallet::VersionMigrationStage + **/ PalletXcmVersionMigrationStage: { _enum: { MigrateSupportedVersion: "Null", MigrateVersionNotifiers: "Null", NotifyCurrentTargets: "Option", - MigrateAndNotifyOldTargets: "Null", - }, + MigrateAndNotifyOldTargets: "Null" + } }, - /** Lookup644: pallet_xcm::pallet::RemoteLockedFungibleRecord */ + /** + * Lookup644: pallet_xcm::pallet::RemoteLockedFungibleRecord + **/ PalletXcmRemoteLockedFungibleRecord: { amount: "u128", owner: "XcmVersionedLocation", locker: "XcmVersionedLocation", - consumers: "Vec<(Null,u128)>", + consumers: "Vec<(Null,u128)>" }, - /** Lookup651: pallet_xcm::pallet::Error */ + /** + * Lookup651: pallet_xcm::pallet::Error + **/ PalletXcmError: { _enum: [ "Unreachable", @@ -5631,10 +6291,12 @@ export default { "InvalidAssetUnknownReserve", "InvalidAssetUnsupportedReserve", "TooManyReserves", - "LocalExecutionIncomplete", - ], + "LocalExecutionIncomplete" + ] }, - /** Lookup652: pallet_assets::types::AssetDetails */ + /** + * Lookup652: pallet_assets::types::AssetDetails + **/ PalletAssetsAssetDetails: { owner: "AccountId20", issuer: "AccountId20", @@ -5647,50 +6309,61 @@ export default { accounts: "u32", sufficients: "u32", approvals: "u32", - status: "PalletAssetsAssetStatus", + status: "PalletAssetsAssetStatus" }, - /** Lookup653: pallet_assets::types::AssetStatus */ + /** + * Lookup653: pallet_assets::types::AssetStatus + **/ PalletAssetsAssetStatus: { - _enum: ["Live", "Frozen", "Destroying"], + _enum: ["Live", "Frozen", "Destroying"] }, - /** Lookup655: pallet_assets::types::AssetAccount */ + /** + * Lookup655: pallet_assets::types::AssetAccount + **/ PalletAssetsAssetAccount: { balance: "u128", status: "PalletAssetsAccountStatus", reason: "PalletAssetsExistenceReason", - extra: "Null", + extra: "Null" }, - /** Lookup656: pallet_assets::types::AccountStatus */ + /** + * Lookup656: pallet_assets::types::AccountStatus + **/ PalletAssetsAccountStatus: { - _enum: ["Liquid", "Frozen", "Blocked"], + _enum: ["Liquid", "Frozen", "Blocked"] }, - /** Lookup657: pallet_assets::types::ExistenceReason */ + /** + * Lookup657: pallet_assets::types::ExistenceReason + **/ PalletAssetsExistenceReason: { _enum: { Consumer: "Null", Sufficient: "Null", DepositHeld: "u128", DepositRefunded: "Null", - DepositFrom: "(AccountId20,u128)", - }, + DepositFrom: "(AccountId20,u128)" + } }, - /** Lookup659: pallet_assets::types::Approval */ + /** + * Lookup659: pallet_assets::types::Approval + **/ PalletAssetsApproval: { amount: "u128", - deposit: "u128", + deposit: "u128" }, /** - * Lookup660: pallet_assets::types::AssetMetadata> - */ + * Lookup660: pallet_assets::types::AssetMetadata> + **/ PalletAssetsAssetMetadata: { deposit: "u128", name: "Bytes", symbol: "Bytes", decimals: "u8", - isFrozen: "bool", + isFrozen: "bool" }, - /** Lookup662: pallet_assets::pallet::Error */ + /** + * Lookup662: pallet_assets::pallet::Error + **/ PalletAssetsError: { _enum: [ "BalanceLow", @@ -5713,10 +6386,12 @@ export default { "IncorrectStatus", "NotFrozen", "CallbackFailed", - "BadAssetId", - ], + "BadAssetId" + ] }, - /** Lookup663: pallet_asset_manager::pallet::Error */ + /** + * Lookup663: pallet_asset_manager::pallet::Error + **/ PalletAssetManagerError: { _enum: [ "ErrorCreatingAsset", @@ -5726,10 +6401,12 @@ export default { "LocalAssetLimitReached", "ErrorDestroyingAsset", "NotSufficientDeposit", - "NonExistentLocalAsset", - ], + "NonExistentLocalAsset" + ] }, - /** Lookup664: pallet_xcm_transactor::relay_indices::RelayChainIndices */ + /** + * Lookup664: pallet_xcm_transactor::relay_indices::RelayChainIndices + **/ PalletXcmTransactorRelayIndicesRelayChainIndices: { staking: "u8", utility: "u8", @@ -5748,9 +6425,11 @@ export default { initOpenChannel: "u8", acceptOpenChannel: "u8", closeChannel: "u8", - cancelOpenRequest: "u8", + cancelOpenRequest: "u8" }, - /** Lookup665: pallet_xcm_transactor::pallet::Error */ + /** + * Lookup665: pallet_xcm_transactor::pallet::Error + **/ PalletXcmTransactorError: { _enum: [ "IndexAlreadyClaimed", @@ -5779,40 +6458,50 @@ export default { "HrmpHandlerNotImplemented", "TooMuchFeeUsed", "ErrorValidating", - "RefundNotSupportedWithTransactInfo", - ], + "RefundNotSupportedWithTransactInfo" + ] }, - /** Lookup666: pallet_ethereum_xcm::pallet::Error */ + /** + * Lookup666: pallet_ethereum_xcm::pallet::Error + **/ PalletEthereumXcmError: { - _enum: ["EthereumXcmExecutionSuspended"], + _enum: ["EthereumXcmExecutionSuspended"] }, - /** Lookup667: pallet_message_queue::BookState */ + /** + * Lookup667: pallet_message_queue::BookState + **/ PalletMessageQueueBookState: { _alias: { - size_: "size", + size_: "size" }, begin: "u32", end: "u32", count: "u32", readyNeighbours: "Option", messageCount: "u64", - size_: "u64", + size_: "u64" }, - /** Lookup669: pallet_message_queue::Neighbours */ + /** + * Lookup669: pallet_message_queue::Neighbours + **/ PalletMessageQueueNeighbours: { prev: "CumulusPrimitivesCoreAggregateMessageOrigin", - next: "CumulusPrimitivesCoreAggregateMessageOrigin", + next: "CumulusPrimitivesCoreAggregateMessageOrigin" }, - /** Lookup671: pallet_message_queue::Page */ + /** + * Lookup671: pallet_message_queue::Page + **/ PalletMessageQueuePage: { remaining: "u32", remainingSize: "u32", firstIndex: "u32", first: "u32", last: "u32", - heap: "Bytes", + heap: "Bytes" }, - /** Lookup673: pallet_message_queue::pallet::Error */ + /** + * Lookup673: pallet_message_queue::pallet::Error + **/ PalletMessageQueueError: { _enum: [ "NotReapable", @@ -5823,14 +6512,18 @@ export default { "InsufficientWeight", "TemporarilyUnprocessable", "QueuePaused", - "RecursiveDisallowed", - ], + "RecursiveDisallowed" + ] }, - /** Lookup675: pallet_moonbeam_foreign_assets::AssetStatus */ + /** + * Lookup675: pallet_moonbeam_foreign_assets::AssetStatus + **/ PalletMoonbeamForeignAssetsAssetStatus: { - _enum: ["Active", "FrozenXcmDepositAllowed", "FrozenXcmDepositForbidden"], + _enum: ["Active", "FrozenXcmDepositAllowed", "FrozenXcmDepositForbidden"] }, - /** Lookup676: pallet_moonbeam_foreign_assets::pallet::Error */ + /** + * Lookup676: pallet_moonbeam_foreign_assets::pallet::Error + **/ PalletMoonbeamForeignAssetsError: { _enum: [ "AssetAlreadyExists", @@ -5846,10 +6539,12 @@ export default { "InvalidSymbol", "InvalidTokenName", "LocationAlreadyExists", - "TooManyForeignAssets", - ], + "TooManyForeignAssets" + ] }, - /** Lookup678: pallet_xcm_weight_trader::pallet::Error */ + /** + * Lookup678: pallet_xcm_weight_trader::pallet::Error + **/ PalletXcmWeightTraderError: { _enum: [ "AssetAlreadyAdded", @@ -5857,27 +6552,37 @@ export default { "AssetNotFound", "AssetNotPaused", "XcmLocationFiltered", - "PriceCannotBeZero", - ], + "PriceCannotBeZero" + ] }, - /** Lookup679: pallet_emergency_para_xcm::XcmMode */ + /** + * Lookup679: pallet_emergency_para_xcm::XcmMode + **/ PalletEmergencyParaXcmXcmMode: { - _enum: ["Normal", "Paused"], + _enum: ["Normal", "Paused"] }, - /** Lookup680: pallet_emergency_para_xcm::pallet::Error */ + /** + * Lookup680: pallet_emergency_para_xcm::pallet::Error + **/ PalletEmergencyParaXcmError: { - _enum: ["NotInPausedMode"], + _enum: ["NotInPausedMode"] }, - /** Lookup682: pallet_precompile_benchmarks::pallet::Error */ + /** + * Lookup682: pallet_precompile_benchmarks::pallet::Error + **/ PalletPrecompileBenchmarksError: { - _enum: ["BenchmarkError"], + _enum: ["BenchmarkError"] }, - /** Lookup683: pallet_randomness::types::RequestState */ + /** + * Lookup683: pallet_randomness::types::RequestState + **/ PalletRandomnessRequestState: { request: "PalletRandomnessRequest", - deposit: "u128", + deposit: "u128" }, - /** Lookup684: pallet_randomness::types::Request> */ + /** + * Lookup684: pallet_randomness::types::Request> + **/ PalletRandomnessRequest: { refundAddress: "H160", contractAddress: "H160", @@ -5885,28 +6590,36 @@ export default { gasLimit: "u64", numWords: "u8", salt: "H256", - info: "PalletRandomnessRequestInfo", + info: "PalletRandomnessRequestInfo" }, - /** Lookup685: pallet_randomness::types::RequestInfo */ + /** + * Lookup685: pallet_randomness::types::RequestInfo + **/ PalletRandomnessRequestInfo: { _enum: { BabeEpoch: "(u64,u64)", - Local: "(u32,u32)", - }, + Local: "(u32,u32)" + } }, - /** Lookup686: pallet_randomness::types::RequestType */ + /** + * Lookup686: pallet_randomness::types::RequestType + **/ PalletRandomnessRequestType: { _enum: { BabeEpoch: "u64", - Local: "u32", - }, + Local: "u32" + } }, - /** Lookup687: pallet_randomness::types::RandomnessResult */ + /** + * Lookup687: pallet_randomness::types::RandomnessResult + **/ PalletRandomnessRandomnessResult: { randomness: "Option", - requestCount: "u64", + requestCount: "u64" }, - /** Lookup688: pallet_randomness::pallet::Error */ + /** + * Lookup688: pallet_randomness::pallet::Error + **/ PalletRandomnessError: { _enum: [ "RequestCounterOverflowed", @@ -5920,33 +6633,55 @@ export default { "OnlyRequesterCanIncreaseFee", "RequestHasNotExpired", "RandomnessResultDNE", - "RandomnessResultNotFilled", - ], + "RandomnessResultNotFilled" + ] }, - /** Lookup691: frame_system::extensions::check_non_zero_sender::CheckNonZeroSender */ + /** + * Lookup691: frame_system::extensions::check_non_zero_sender::CheckNonZeroSender + **/ FrameSystemExtensionsCheckNonZeroSender: "Null", - /** Lookup692: frame_system::extensions::check_spec_version::CheckSpecVersion */ + /** + * Lookup692: frame_system::extensions::check_spec_version::CheckSpecVersion + **/ FrameSystemExtensionsCheckSpecVersion: "Null", - /** Lookup693: frame_system::extensions::check_tx_version::CheckTxVersion */ + /** + * Lookup693: frame_system::extensions::check_tx_version::CheckTxVersion + **/ FrameSystemExtensionsCheckTxVersion: "Null", - /** Lookup694: frame_system::extensions::check_genesis::CheckGenesis */ + /** + * Lookup694: frame_system::extensions::check_genesis::CheckGenesis + **/ FrameSystemExtensionsCheckGenesis: "Null", - /** Lookup697: frame_system::extensions::check_nonce::CheckNonce */ + /** + * Lookup697: frame_system::extensions::check_nonce::CheckNonce + **/ FrameSystemExtensionsCheckNonce: "Compact", - /** Lookup698: frame_system::extensions::check_weight::CheckWeight */ + /** + * Lookup698: frame_system::extensions::check_weight::CheckWeight + **/ FrameSystemExtensionsCheckWeight: "Null", - /** Lookup699: pallet_transaction_payment::ChargeTransactionPayment */ + /** + * Lookup699: pallet_transaction_payment::ChargeTransactionPayment + **/ PalletTransactionPaymentChargeTransactionPayment: "Compact", - /** Lookup700: frame_metadata_hash_extension::CheckMetadataHash */ + /** + * Lookup700: frame_metadata_hash_extension::CheckMetadataHash + **/ FrameMetadataHashExtensionCheckMetadataHash: { - mode: "FrameMetadataHashExtensionMode", + mode: "FrameMetadataHashExtensionMode" }, - /** Lookup701: frame_metadata_hash_extension::Mode */ + /** + * Lookup701: frame_metadata_hash_extension::Mode + **/ FrameMetadataHashExtensionMode: { - _enum: ["Disabled", "Enabled"], + _enum: ["Disabled", "Enabled"] }, - /** Lookup702: cumulus_primitives_storage_weight_reclaim::StorageWeightReclaim */ + /** + * Lookup702: cumulus_primitives_storage_weight_reclaim::StorageWeightReclaim + **/ CumulusPrimitivesStorageWeightReclaimStorageWeightReclaim: "Null", - /** Lookup704: moonbeam_runtime::Runtime */ - MoonbeamRuntimeRuntime: "Null", + /** + * Lookup704: moonbeam_runtime::Runtime + **/ + MoonbeamRuntimeRuntime: "Null" }; diff --git a/typescript-api/src/moonbeam/interfaces/moon/definitions.ts b/typescript-api/src/moonbeam/interfaces/moon/definitions.ts index 745e4404ef..9f581c812e 100644 --- a/typescript-api/src/moonbeam/interfaces/moon/definitions.ts +++ b/typescript-api/src/moonbeam/interfaces/moon/definitions.ts @@ -3,6 +3,6 @@ import { moonbeamDefinitions } from "moonbeam-types-bundle"; export default { types: {}, rpc: { - ...moonbeamDefinitions.rpc?.moon, - }, + ...moonbeamDefinitions.rpc?.moon + } }; diff --git a/typescript-api/src/moonbeam/interfaces/registry.ts b/typescript-api/src/moonbeam/interfaces/registry.ts index 7262583994..4b6b841562 100644 --- a/typescript-api/src/moonbeam/interfaces/registry.ts +++ b/typescript-api/src/moonbeam/interfaces/registry.ts @@ -400,7 +400,7 @@ import type { XcmVersionedAssets, XcmVersionedLocation, XcmVersionedResponse, - XcmVersionedXcm, + XcmVersionedXcm } from "@polkadot/types/lookup"; declare module "@polkadot/types/types/registry" { diff --git a/typescript-api/src/moonbeam/interfaces/types-lookup.ts b/typescript-api/src/moonbeam/interfaces/types-lookup.ts index 4d29418dce..ebd0d54229 100644 --- a/typescript-api/src/moonbeam/interfaces/types-lookup.ts +++ b/typescript-api/src/moonbeam/interfaces/types-lookup.ts @@ -26,7 +26,7 @@ import type { u16, u32, u64, - u8, + u8 } from "@polkadot/types-codec"; import type { ITuple } from "@polkadot/types-codec/types"; import type { Vote } from "@polkadot/types/interfaces/elections"; @@ -36,7 +36,7 @@ import type { H160, H256, Perbill, - Percent, + Percent } from "@polkadot/types/interfaces/runtime"; import type { Event } from "@polkadot/types/interfaces/system"; diff --git a/typescript-api/src/moonriver/interfaces/augment-api-consts.ts b/typescript-api/src/moonriver/interfaces/augment-api-consts.ts index 7f2154f1da..4406481db6 100644 --- a/typescript-api/src/moonriver/interfaces/augment-api-consts.ts +++ b/typescript-api/src/moonriver/interfaces/augment-api-consts.ts @@ -17,7 +17,7 @@ import type { SpVersionRuntimeVersion, SpWeightsRuntimeDbWeight, SpWeightsWeightV2Weight, - StagingXcmV4Location, + StagingXcmV4Location } from "@polkadot/types/lookup"; export type __AugmentedConst = AugmentedConst; @@ -25,125 +25,168 @@ export type __AugmentedConst = AugmentedConst declare module "@polkadot/api-base/types/consts" { interface AugmentedConsts { assets: { - /** The amount of funds that must be reserved when creating a new approval. */ + /** + * The amount of funds that must be reserved when creating a new approval. + **/ approvalDeposit: u128 & AugmentedConst; - /** The amount of funds that must be reserved for a non-provider asset account to be maintained. */ + /** + * The amount of funds that must be reserved for a non-provider asset account to be + * maintained. + **/ assetAccountDeposit: u128 & AugmentedConst; - /** The basic amount of funds that must be reserved for an asset. */ + /** + * The basic amount of funds that must be reserved for an asset. + **/ assetDeposit: u128 & AugmentedConst; - /** The basic amount of funds that must be reserved when adding metadata to your asset. */ + /** + * The basic amount of funds that must be reserved when adding metadata to your asset. + **/ metadataDepositBase: u128 & AugmentedConst; - /** The additional funds that must be reserved for the number of bytes you store in your metadata. */ + /** + * The additional funds that must be reserved for the number of bytes you store in your + * metadata. + **/ metadataDepositPerByte: u128 & AugmentedConst; /** * Max number of items to destroy per `destroy_accounts` and `destroy_approvals` call. * * Must be configured to result in a weight that makes each call fit in a block. - */ + **/ removeItemsLimit: u32 & AugmentedConst; - /** The maximum length of a name or symbol stored on-chain. */ + /** + * The maximum length of a name or symbol stored on-chain. + **/ stringLimit: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; asyncBacking: { - /** Purely informative, but used by mocking tools like chospticks to allow knowing how to mock blocks */ + /** + * Purely informative, but used by mocking tools like chospticks to allow knowing how to mock + * blocks + **/ expectedBlockTime: u64 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; balances: { /** * The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO! * - * If you _really_ need it to be zero, you can enable the feature `insecure_zero_ed` for this - * pallet. However, you do so at your own risk: this will open up a major DoS vector. In case - * you have multiple sources of provider references, you may also get unexpected behaviour if - * you set this to zero. + * If you *really* need it to be zero, you can enable the feature `insecure_zero_ed` for + * this pallet. However, you do so at your own risk: this will open up a major DoS vector. + * In case you have multiple sources of provider references, you may also get unexpected + * behaviour if you set this to zero. * * Bottom line: Do yourself a favour and make it at least one! - */ + **/ existentialDeposit: u128 & AugmentedConst; - /** The maximum number of individual freeze locks that can exist on an account at any time. */ + /** + * The maximum number of individual freeze locks that can exist on an account at any time. + **/ maxFreezes: u32 & AugmentedConst; /** - * The maximum number of locks that should exist on an account. Not strictly enforced, but - * used for weight estimation. + * The maximum number of locks that should exist on an account. + * Not strictly enforced, but used for weight estimation. * - * Use of locks is deprecated in favour of freezes. See - * `https://github.com/paritytech/substrate/pull/12951/` - */ + * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/` + **/ maxLocks: u32 & AugmentedConst; /** * The maximum number of named reserves that can exist on an account. * - * Use of reserves is deprecated in favour of holds. See - * `https://github.com/paritytech/substrate/pull/12951/` - */ + * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/` + **/ maxReserves: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; convictionVoting: { /** * The maximum number of concurrent votes an account may have. * - * Also used to compute weight, an overly large value can lead to extrinsics with large weight - * estimation: see `delegate` for instance. - */ + * Also used to compute weight, an overly large value can lead to extrinsics with large + * weight estimation: see `delegate` for instance. + **/ maxVotes: u32 & AugmentedConst; /** * The minimum period of vote locking. * * It should be no shorter than enactment period to ensure that in the case of an approval, * those successful voters are locked into the consequences that their votes entail. - */ + **/ voteLockingPeriod: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; crowdloanRewards: { - /** Percentage to be payed at initialization */ + /** + * Percentage to be payed at initialization + **/ initializationPayment: Perbill & AugmentedConst; maxInitContributors: u32 & AugmentedConst; /** - * A fraction representing the percentage of proofs that need to be presented to change a - * reward address through the relay keys - */ + * A fraction representing the percentage of proofs + * that need to be presented to change a reward address through the relay keys + **/ rewardAddressRelayVoteThreshold: Perbill & AugmentedConst; /** * Network Identifier to be appended into the signatures for reward address change/association * Prevents replay attacks from one network to the other - */ + **/ signatureNetworkIdentifier: Bytes & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; identity: { - /** The amount held on deposit for a registered identity. */ + /** + * The amount held on deposit for a registered identity. + **/ basicDeposit: u128 & AugmentedConst; - /** The amount held on deposit per encoded byte for a registered identity. */ + /** + * The amount held on deposit per encoded byte for a registered identity. + **/ byteDeposit: u128 & AugmentedConst; /** - * Maximum number of registrars allowed in the system. Needed to bound the complexity of, - * e.g., updating judgements. - */ + * Maximum number of registrars allowed in the system. Needed to bound the complexity + * of, e.g., updating judgements. + **/ maxRegistrars: u32 & AugmentedConst; - /** The maximum number of sub-accounts allowed per identified account. */ + /** + * The maximum number of sub-accounts allowed per identified account. + **/ maxSubAccounts: u32 & AugmentedConst; - /** The maximum length of a suffix. */ + /** + * The maximum length of a suffix. + **/ maxSuffixLength: u32 & AugmentedConst; - /** The maximum length of a username, including its suffix and any system-added delimiters. */ + /** + * The maximum length of a username, including its suffix and any system-added delimiters. + **/ maxUsernameLength: u32 & AugmentedConst; - /** The number of blocks within which a username grant must be accepted. */ + /** + * The number of blocks within which a username grant must be accepted. + **/ pendingUsernameExpiration: u32 & AugmentedConst; /** * The amount held on deposit for a registered subaccount. This should account for the fact - * that one storage item's value will increase by the size of an account ID, and there will be - * another trie item whose value is the size of an account ID plus 32 bytes. - */ + * that one storage item's value will increase by the size of an account ID, and there will + * be another trie item whose value is the size of an account ID plus 32 bytes. + **/ subAccountDeposit: u128 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; messageQueue: { @@ -151,179 +194,251 @@ declare module "@polkadot/api-base/types/consts" { * The size of the page; this implies the maximum message size which can be sent. * * A good value depends on the expected message sizes, their weights, the weight that is - * available for processing them and the maximal needed message size. The maximal message size - * is slightly lower than this as defined by [`MaxMessageLenOf`]. - */ + * available for processing them and the maximal needed message size. The maximal message + * size is slightly lower than this as defined by [`MaxMessageLenOf`]. + **/ heapSize: u32 & AugmentedConst; /** * The maximum amount of weight (if any) to be used from remaining weight `on_idle` which - * should be provided to the message queue for servicing enqueued items `on_idle`. Useful for - * parachains to process messages at the same block they are received. + * should be provided to the message queue for servicing enqueued items `on_idle`. + * Useful for parachains to process messages at the same block they are received. * * If `None`, it will not call `ServiceQueues::service_queues` in `on_idle`. - */ + **/ idleMaxServiceWeight: Option & AugmentedConst; /** - * The maximum number of stale pages (i.e. of overweight messages) allowed before culling can - * happen. Once there are more stale pages than this, then historical pages may be dropped, - * even if they contain unprocessed overweight messages. - */ + * The maximum number of stale pages (i.e. of overweight messages) allowed before culling + * can happen. Once there are more stale pages than this, then historical pages may be + * dropped, even if they contain unprocessed overweight messages. + **/ maxStale: u32 & AugmentedConst; /** - * The amount of weight (if any) which should be provided to the message queue for servicing - * enqueued items `on_initialize`. + * The amount of weight (if any) which should be provided to the message queue for + * servicing enqueued items `on_initialize`. * * This may be legitimately `None` in the case that you will call - * `ServiceQueues::service_queues` manually or set [`Self::IdleMaxServiceWeight`] to have it - * run in `on_idle`. - */ + * `ServiceQueues::service_queues` manually or set [`Self::IdleMaxServiceWeight`] to have + * it run in `on_idle`. + **/ serviceWeight: Option & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; moonbeamOrbiters: { - /** Maximum number of orbiters per collator. */ + /** + * Maximum number of orbiters per collator. + **/ maxPoolSize: u32 & AugmentedConst; - /** Maximum number of round to keep on storage. */ + /** + * Maximum number of round to keep on storage. + **/ maxRoundArchive: u32 & AugmentedConst; /** - * Number of rounds before changing the selected orbiter. WARNING: when changing - * `RotatePeriod`, you need a migration code that sets `ForceRotation` to true to avoid holes - * in `OrbiterPerRound`. - */ + * Number of rounds before changing the selected orbiter. + * WARNING: when changing `RotatePeriod`, you need a migration code that sets + * `ForceRotation` to true to avoid holes in `OrbiterPerRound`. + **/ rotatePeriod: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; multisig: { /** - * The base amount of currency needed to reserve for creating a multisig execution or to store - * a dispatch call for later. + * The base amount of currency needed to reserve for creating a multisig execution or to + * store a dispatch call for later. * - * This is held for an additional storage item whose value size is `4 + sizeof((BlockNumber, - * Balance, AccountId))` bytes and whose key size is `32 + sizeof(AccountId)` bytes. - */ + * This is held for an additional storage item whose value size is + * `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is + * `32 + sizeof(AccountId)` bytes. + **/ depositBase: u128 & AugmentedConst; /** * The amount of currency needed per unit threshold when creating a multisig execution. * * This is held for adding 32 bytes more into a pre-existing storage value. - */ + **/ depositFactor: u128 & AugmentedConst; - /** The maximum amount of signatories allowed in the multisig. */ + /** + * The maximum amount of signatories allowed in the multisig. + **/ maxSignatories: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; openTechCommitteeCollective: { - /** The maximum weight of a dispatch call that can be proposed and executed. */ + /** + * The maximum weight of a dispatch call that can be proposed and executed. + **/ maxProposalWeight: SpWeightsWeightV2Weight & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; parachainStaking: { - /** Get the average time beetween 2 blocks in milliseconds */ + /** + * Get the average time beetween 2 blocks in milliseconds + **/ blockTime: u64 & AugmentedConst; - /** Number of rounds candidate requests to decrease self-bond must wait to be executable */ + /** + * Number of rounds candidate requests to decrease self-bond must wait to be executable + **/ candidateBondLessDelay: u32 & AugmentedConst; - /** Number of rounds that delegation less requests must wait before executable */ + /** + * Number of rounds that delegation less requests must wait before executable + **/ delegationBondLessDelay: u32 & AugmentedConst; - /** Number of rounds that candidates remain bonded before exit request is executable */ + /** + * Number of rounds that candidates remain bonded before exit request is executable + **/ leaveCandidatesDelay: u32 & AugmentedConst; - /** Number of rounds that delegators remain bonded before exit request is executable */ + /** + * Number of rounds that delegators remain bonded before exit request is executable + **/ leaveDelegatorsDelay: u32 & AugmentedConst; - /** Maximum bottom delegations (not counted) per candidate */ + /** + * Maximum bottom delegations (not counted) per candidate + **/ maxBottomDelegationsPerCandidate: u32 & AugmentedConst; - /** Maximum candidates */ + /** + * Maximum candidates + **/ maxCandidates: u32 & AugmentedConst; - /** Maximum delegations per delegator */ + /** + * Maximum delegations per delegator + **/ maxDelegationsPerDelegator: u32 & AugmentedConst; /** - * If a collator doesn't produce any block on this number of rounds, it is notified as - * inactive. This value must be less than or equal to RewardPaymentDelay. - */ + * If a collator doesn't produce any block on this number of rounds, it is notified as inactive. + * This value must be less than or equal to RewardPaymentDelay. + **/ maxOfflineRounds: u32 & AugmentedConst; - /** Maximum top delegations counted per candidate */ + /** + * Maximum top delegations counted per candidate + **/ maxTopDelegationsPerCandidate: u32 & AugmentedConst; - /** Minimum number of blocks per round */ + /** + * Minimum number of blocks per round + **/ minBlocksPerRound: u32 & AugmentedConst; - /** Minimum stake required for any account to be a collator candidate */ + /** + * Minimum stake required for any account to be a collator candidate + **/ minCandidateStk: u128 & AugmentedConst; - /** Minimum stake for any registered on-chain account to delegate */ + /** + * Minimum stake for any registered on-chain account to delegate + **/ minDelegation: u128 & AugmentedConst; - /** Minimum number of selected candidates every round */ + /** + * Minimum number of selected candidates every round + **/ minSelectedCandidates: u32 & AugmentedConst; - /** Number of rounds that delegations remain bonded before revocation request is executable */ + /** + * Number of rounds that delegations remain bonded before revocation request is executable + **/ revokeDelegationDelay: u32 & AugmentedConst; - /** Number of rounds after which block authors are rewarded */ + /** + * Number of rounds after which block authors are rewarded + **/ rewardPaymentDelay: u32 & AugmentedConst; - /** Get the slot duration in milliseconds */ + /** + * Get the slot duration in milliseconds + **/ slotDuration: u64 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; parachainSystem: { - /** Returns the parachain ID we are running with. */ + /** + * Returns the parachain ID we are running with. + **/ selfParaId: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; proxy: { /** * The base amount of currency needed to reserve for creating an announcement. * - * This is held when a new storage item holding a `Balance` is created (typically 16 bytes). - */ + * This is held when a new storage item holding a `Balance` is created (typically 16 + * bytes). + **/ announcementDepositBase: u128 & AugmentedConst; /** * The amount of currency needed per announcement made. * - * This is held for adding an `AccountId`, `Hash` and `BlockNumber` (typically 68 bytes) into - * a pre-existing storage value. - */ + * This is held for adding an `AccountId`, `Hash` and `BlockNumber` (typically 68 bytes) + * into a pre-existing storage value. + **/ announcementDepositFactor: u128 & AugmentedConst; - /** The maximum amount of time-delayed announcements that are allowed to be pending. */ + /** + * The maximum amount of time-delayed announcements that are allowed to be pending. + **/ maxPending: u32 & AugmentedConst; - /** The maximum amount of proxies allowed for a single account. */ + /** + * The maximum amount of proxies allowed for a single account. + **/ maxProxies: u32 & AugmentedConst; /** * The base amount of currency needed to reserve for creating a proxy. * - * This is held for an additional storage item whose value size is `sizeof(Balance)` bytes and - * whose key size is `sizeof(AccountId)` bytes. - */ + * This is held for an additional storage item whose value size is + * `sizeof(Balance)` bytes and whose key size is `sizeof(AccountId)` bytes. + **/ proxyDepositBase: u128 & AugmentedConst; /** * The amount of currency needed per proxy added. * - * This is held for adding 32 bytes plus an instance of `ProxyType` more into a pre-existing - * storage value. Thus, when configuring `ProxyDepositFactor` one should take into account `32 - * + proxy_type.encode().len()` bytes of data. - */ + * This is held for adding 32 bytes plus an instance of `ProxyType` more into a + * pre-existing storage value. Thus, when configuring `ProxyDepositFactor` one should take + * into account `32 + proxy_type.encode().len()` bytes of data. + **/ proxyDepositFactor: u128 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; randomness: { - /** Local requests expire and can be purged from storage after this many blocks/epochs */ + /** + * Local requests expire and can be purged from storage after this many blocks/epochs + **/ blockExpirationDelay: u32 & AugmentedConst; - /** The amount that should be taken as a security deposit when requesting randomness. */ + /** + * The amount that should be taken as a security deposit when requesting randomness. + **/ deposit: u128 & AugmentedConst; - /** Babe requests expire and can be purged from storage after this many blocks/epochs */ + /** + * Babe requests expire and can be purged from storage after this many blocks/epochs + **/ epochExpirationDelay: u64 & AugmentedConst; /** - * Local per-block VRF requests must be at most this many blocks after the block in which they - * were requested - */ + * Local per-block VRF requests must be at most this many blocks after the block in which + * they were requested + **/ maxBlockDelay: u32 & AugmentedConst; - /** Maximum number of random words that can be requested per request */ + /** + * Maximum number of random words that can be requested per request + **/ maxRandomWords: u8 & AugmentedConst; /** * Local per-block VRF requests must be at least this many blocks after the block in which * they were requested - */ + **/ minBlockDelay: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; referenda: { @@ -331,89 +446,119 @@ declare module "@polkadot/api-base/types/consts" { * Quantization level for the referendum wakeup scheduler. A higher number will result in * fewer storage reads/writes needed for smaller voters, but also result in delays to the * automatic referendum status changes. Explicit servicing instructions are unaffected. - */ + **/ alarmInterval: u32 & AugmentedConst; - /** Maximum size of the referendum queue for a single track. */ + /** + * Maximum size of the referendum queue for a single track. + **/ maxQueued: u32 & AugmentedConst; - /** The minimum amount to be used as a deposit for a public referendum proposal. */ + /** + * The minimum amount to be used as a deposit for a public referendum proposal. + **/ submissionDeposit: u128 & AugmentedConst; - /** Information concerning the different referendum tracks. */ + /** + * Information concerning the different referendum tracks. + **/ tracks: Vec> & AugmentedConst; /** - * The number of blocks after submission that a referendum must begin being decided by. Once - * this passes, then anyone may cancel the referendum. - */ + * The number of blocks after submission that a referendum must begin being decided by. + * Once this passes, then anyone may cancel the referendum. + **/ undecidingTimeout: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; relayStorageRoots: { /** - * Limit the number of relay storage roots that will be stored. This limit applies to the - * number of items, not to their age. Decreasing the value of `MaxStorageRoots` is a breaking - * change and needs a migration to clean the `RelayStorageRoots` mapping. - */ + * Limit the number of relay storage roots that will be stored. + * This limit applies to the number of items, not to their age. Decreasing the value of + * `MaxStorageRoots` is a breaking change and needs a migration to clean the + * `RelayStorageRoots` mapping. + **/ maxStorageRoots: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; scheduler: { - /** The maximum weight that may be scheduled per block for any dispatchables. */ + /** + * The maximum weight that may be scheduled per block for any dispatchables. + **/ maximumWeight: SpWeightsWeightV2Weight & AugmentedConst; /** * The maximum number of scheduled calls in the queue for a single block. * * NOTE: - * - * - Dependent pallets' benchmarks might require a higher limit for the setting. Set a higher - * limit under `runtime-benchmarks` feature. - */ + * + Dependent pallets' benchmarks might require a higher limit for the setting. Set a + * higher limit under `runtime-benchmarks` feature. + **/ maxScheduledPerBlock: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; system: { - /** Maximum number of block number to block hash mappings to keep (oldest pruned first). */ + /** + * Maximum number of block number to block hash mappings to keep (oldest pruned first). + **/ blockHashCount: u32 & AugmentedConst; - /** The maximum length of a block (in bytes). */ + /** + * The maximum length of a block (in bytes). + **/ blockLength: FrameSystemLimitsBlockLength & AugmentedConst; - /** Block & extrinsics weights: base values and limits. */ + /** + * Block & extrinsics weights: base values and limits. + **/ blockWeights: FrameSystemLimitsBlockWeights & AugmentedConst; - /** The weight of runtime database operations the runtime can invoke. */ + /** + * The weight of runtime database operations the runtime can invoke. + **/ dbWeight: SpWeightsRuntimeDbWeight & AugmentedConst; /** * The designated SS58 prefix of this chain. * - * This replaces the "ss58Format" property declared in the chain spec. Reason is that the - * runtime should know about the prefix in order to make use of it as an identifier of the chain. - */ + * This replaces the "ss58Format" property declared in the chain spec. Reason is + * that the runtime should know about the prefix in order to make use of it as + * an identifier of the chain. + **/ ss58Prefix: u16 & AugmentedConst; - /** Get the chain's in-code version. */ + /** + * Get the chain's in-code version. + **/ version: SpVersionRuntimeVersion & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; timestamp: { /** * The minimum period between blocks. * - * Be aware that this is different to the _expected_ period that the block production - * apparatus provides. Your chosen consensus system will generally work with this to determine - * a sensible block time. For example, in the Aura pallet it will be double this period on - * default settings. - */ + * Be aware that this is different to the *expected* period that the block production + * apparatus provides. Your chosen consensus system will generally work with this to + * determine a sensible block time. For example, in the Aura pallet it will be double this + * period on default settings. + **/ minimumPeriod: u64 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; transactionPayment: { /** - * A fee multiplier for `Operational` extrinsics to compute "virtual tip" to boost their `priority` + * A fee multiplier for `Operational` extrinsics to compute "virtual tip" to boost their + * `priority` * - * This value is multiplied by the `final_fee` to obtain a "virtual tip" that is later added - * to a tip component in regular `priority` calculations. It means that a `Normal` transaction - * can front-run a similarly-sized `Operational` extrinsic (with no tip), by including a tip - * value greater than the virtual tip. + * This value is multiplied by the `final_fee` to obtain a "virtual tip" that is later + * added to a tip component in regular `priority` calculations. + * It means that a `Normal` transaction can front-run a similarly-sized `Operational` + * extrinsic (with no tip), by including a tip value greater than the virtual tip. * * ```rust,ignore * // For `Normal` @@ -424,55 +569,76 @@ declare module "@polkadot/api-base/types/consts" { * let priority = priority_calc(tip + virtual_tip); * ``` * - * Note that since we use `final_fee` the multiplier applies also to the regular `tip` sent - * with the transaction. So, not only does the transaction get a priority bump based on the - * `inclusion_fee`, but we also amplify the impact of tips applied to `Operational` transactions. - */ + * Note that since we use `final_fee` the multiplier applies also to the regular `tip` + * sent with the transaction. So, not only does the transaction get a priority bump based + * on the `inclusion_fee`, but we also amplify the impact of tips applied to `Operational` + * transactions. + **/ operationalFeeMultiplier: u8 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; treasury: { - /** Percentage of spare funds (if any) that are burnt per spend period. */ + /** + * Percentage of spare funds (if any) that are burnt per spend period. + **/ burn: Permill & AugmentedConst; /** * The maximum number of approvals that can wait in the spending queue. * * NOTE: This parameter is also used within the Bounties Pallet extension if enabled. - */ + **/ maxApprovals: u32 & AugmentedConst; - /** The treasury's pallet id, used for deriving its sovereign account ID. */ + /** + * The treasury's pallet id, used for deriving its sovereign account ID. + **/ palletId: FrameSupportPalletId & AugmentedConst; - /** The period during which an approved treasury spend has to be claimed. */ + /** + * The period during which an approved treasury spend has to be claimed. + **/ payoutPeriod: u32 & AugmentedConst; - /** Period between successive spends. */ + /** + * Period between successive spends. + **/ spendPeriod: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; treasuryCouncilCollective: { - /** The maximum weight of a dispatch call that can be proposed and executed. */ + /** + * The maximum weight of a dispatch call that can be proposed and executed. + **/ maxProposalWeight: SpWeightsWeightV2Weight & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; utility: { - /** The limit on the number of batched calls. */ + /** + * The limit on the number of batched calls. + **/ batchedCallsLimit: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; xcmpQueue: { /** * Maximal number of outbound XCMP channels that can have messages queued at the same time. * - * If this is reached, then no further messages can be sent to channels that do not yet have a - * message queued. This should be set to the expected maximum of outbound channels which is - * determined by [`Self::ChannelInfo`]. It is important to set this large enough, since - * otherwise the congestion control protocol will not work as intended and messages may be - * dropped. This value increases the PoV and should therefore not be picked too high. - * Governance needs to pay attention to not open more channels than this value. - */ + * If this is reached, then no further messages can be sent to channels that do not yet + * have a message queued. This should be set to the expected maximum of outbound channels + * which is determined by [`Self::ChannelInfo`]. It is important to set this large enough, + * since otherwise the congestion control protocol will not work as intended and messages + * may be dropped. This value increases the PoV and should therefore not be picked too + * high. Governance needs to pay attention to not open more channels than this value. + **/ maxActiveOutboundChannels: u32 & AugmentedConst; /** * The maximum number of inbound XCMP channels that can be suspended simultaneously. @@ -480,7 +646,7 @@ declare module "@polkadot/api-base/types/consts" { * Any further channel suspensions will fail and messages may get dropped without further * notice. Choosing a high value (1000) is okay; the trade-off that is described in * [`InboundXcmpSuspended`] still applies at that scale. - */ + **/ maxInboundSuspended: u32 & AugmentedConst; /** * The maximal page size for HRMP message pages. @@ -488,17 +654,27 @@ declare module "@polkadot/api-base/types/consts" { * A lower limit can be set dynamically, but this is the hard-limit for the PoV worst case * benchmarking. The limit for the size of a message is slightly below this, since some * overhead is incurred for encoding the format. - */ + **/ maxPageSize: u32 & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; xcmTransactor: { - /** The actual weight for an XCM message is `T::BaseXcmWeight + T::Weigher::weight(&msg)`. */ + /** + * + * The actual weight for an XCM message is `T::BaseXcmWeight + + * T::Weigher::weight(&msg)`. + **/ baseXcmWeight: SpWeightsWeightV2Weight & AugmentedConst; - /** Self chain location. */ + /** + * Self chain location. + **/ selfLocation: StagingXcmV4Location & AugmentedConst; - /** Generic const */ + /** + * Generic const + **/ [key: string]: Codec; }; } // AugmentedConsts diff --git a/typescript-api/src/moonriver/interfaces/augment-api-errors.ts b/typescript-api/src/moonriver/interfaces/augment-api-errors.ts index d64ef4b4ad..26967c2553 100644 --- a/typescript-api/src/moonriver/interfaces/augment-api-errors.ts +++ b/typescript-api/src/moonriver/interfaces/augment-api-errors.ts @@ -20,246 +20,430 @@ declare module "@polkadot/api-base/types/errors" { NonExistentLocalAsset: AugmentedError; NotSufficientDeposit: AugmentedError; TooLowNumAssetsWeightHint: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; assets: { - /** The asset-account already exists. */ + /** + * The asset-account already exists. + **/ AlreadyExists: AugmentedError; - /** The asset is not live, and likely being destroyed. */ + /** + * The asset is not live, and likely being destroyed. + **/ AssetNotLive: AugmentedError; - /** The asset ID must be equal to the [`NextAssetId`]. */ + /** + * The asset ID must be equal to the [`NextAssetId`]. + **/ BadAssetId: AugmentedError; - /** Invalid metadata given. */ + /** + * Invalid metadata given. + **/ BadMetadata: AugmentedError; - /** Invalid witness data given. */ + /** + * Invalid witness data given. + **/ BadWitness: AugmentedError; - /** Account balance must be greater than or equal to the transfer amount. */ + /** + * Account balance must be greater than or equal to the transfer amount. + **/ BalanceLow: AugmentedError; - /** Callback action resulted in error */ + /** + * Callback action resulted in error + **/ CallbackFailed: AugmentedError; - /** The origin account is frozen. */ + /** + * The origin account is frozen. + **/ Frozen: AugmentedError; - /** The asset status is not the expected status. */ + /** + * The asset status is not the expected status. + **/ IncorrectStatus: AugmentedError; - /** The asset ID is already taken. */ + /** + * The asset ID is already taken. + **/ InUse: AugmentedError; /** - * The asset is a live asset and is actively being used. Usually emit for operations such as - * `start_destroy` which require the asset to be in a destroying state. - */ + * The asset is a live asset and is actively being used. Usually emit for operations such + * as `start_destroy` which require the asset to be in a destroying state. + **/ LiveAsset: AugmentedError; - /** Minimum balance should be non-zero. */ + /** + * Minimum balance should be non-zero. + **/ MinBalanceZero: AugmentedError; - /** The account to alter does not exist. */ + /** + * The account to alter does not exist. + **/ NoAccount: AugmentedError; - /** The asset-account doesn't have an associated deposit. */ + /** + * The asset-account doesn't have an associated deposit. + **/ NoDeposit: AugmentedError; - /** The signing account has no permission to do the operation. */ + /** + * The signing account has no permission to do the operation. + **/ NoPermission: AugmentedError; - /** The asset should be frozen before the given operation. */ + /** + * The asset should be frozen before the given operation. + **/ NotFrozen: AugmentedError; - /** No approval exists that would allow the transfer. */ + /** + * No approval exists that would allow the transfer. + **/ Unapproved: AugmentedError; /** * Unable to increment the consumer reference counters on the account. Either no provider - * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one fewer - * then the maximum number of consumers has been reached. - */ + * reference exists to allow a non-zero balance of a non-self-sufficient asset, or one + * fewer then the maximum number of consumers has been reached. + **/ UnavailableConsumer: AugmentedError; - /** The given asset ID is unknown. */ + /** + * The given asset ID is unknown. + **/ Unknown: AugmentedError; - /** The operation would result in funds being burned. */ + /** + * The operation would result in funds being burned. + **/ WouldBurn: AugmentedError; - /** The source account would not survive the transfer and it needs to stay alive. */ + /** + * The source account would not survive the transfer and it needs to stay alive. + **/ WouldDie: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; authorInherent: { - /** Author already set in block. */ + /** + * Author already set in block. + **/ AuthorAlreadySet: AugmentedError; - /** The author in the inherent is not an eligible author. */ + /** + * The author in the inherent is not an eligible author. + **/ CannotBeAuthor: AugmentedError; - /** No AccountId was found to be associated with this author */ + /** + * No AccountId was found to be associated with this author + **/ NoAccountId: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; authorMapping: { - /** The NimbusId in question is already associated and cannot be overwritten */ + /** + * The NimbusId in question is already associated and cannot be overwritten + **/ AlreadyAssociated: AugmentedError; - /** The association can't be cleared because it is not found. */ + /** + * The association can't be cleared because it is not found. + **/ AssociationNotFound: AugmentedError; - /** This account cannot set an author because it cannon afford the security deposit */ + /** + * This account cannot set an author because it cannon afford the security deposit + **/ CannotAffordSecurityDeposit: AugmentedError; - /** Failed to decode T::Keys for `set_keys` */ + /** + * Failed to decode T::Keys for `set_keys` + **/ DecodeKeysFailed: AugmentedError; - /** Failed to decode NimbusId for `set_keys` */ + /** + * Failed to decode NimbusId for `set_keys` + **/ DecodeNimbusFailed: AugmentedError; - /** The association can't be cleared because it belongs to another account. */ + /** + * The association can't be cleared because it belongs to another account. + **/ NotYourAssociation: AugmentedError; - /** No existing NimbusId can be found for the account */ + /** + * No existing NimbusId can be found for the account + **/ OldAuthorIdNotFound: AugmentedError; - /** Keys have wrong size */ + /** + * Keys have wrong size + **/ WrongKeySize: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; balances: { - /** Beneficiary account must pre-exist. */ + /** + * Beneficiary account must pre-exist. + **/ DeadAccount: AugmentedError; - /** The delta cannot be zero. */ + /** + * The delta cannot be zero. + **/ DeltaZero: AugmentedError; - /** Value too low to create account due to existential deposit. */ + /** + * Value too low to create account due to existential deposit. + **/ ExistentialDeposit: AugmentedError; - /** A vesting schedule already exists for this account. */ + /** + * A vesting schedule already exists for this account. + **/ ExistingVestingSchedule: AugmentedError; - /** Transfer/payment would kill account. */ + /** + * Transfer/payment would kill account. + **/ Expendability: AugmentedError; - /** Balance too low to send value. */ + /** + * Balance too low to send value. + **/ InsufficientBalance: AugmentedError; - /** The issuance cannot be modified since it is already deactivated. */ + /** + * The issuance cannot be modified since it is already deactivated. + **/ IssuanceDeactivated: AugmentedError; - /** Account liquidity restrictions prevent withdrawal. */ + /** + * Account liquidity restrictions prevent withdrawal. + **/ LiquidityRestrictions: AugmentedError; - /** Number of freezes exceed `MaxFreezes`. */ + /** + * Number of freezes exceed `MaxFreezes`. + **/ TooManyFreezes: AugmentedError; - /** Number of holds exceed `VariantCountOf`. */ + /** + * Number of holds exceed `VariantCountOf`. + **/ TooManyHolds: AugmentedError; - /** Number of named reserves exceed `MaxReserves`. */ + /** + * Number of named reserves exceed `MaxReserves`. + **/ TooManyReserves: AugmentedError; - /** Vesting balance too high to send value. */ + /** + * Vesting balance too high to send value. + **/ VestingBalance: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; convictionVoting: { - /** The account is already delegating. */ + /** + * The account is already delegating. + **/ AlreadyDelegating: AugmentedError; /** - * The account currently has votes attached to it and the operation cannot succeed until these - * are removed through `remove_vote`. - */ + * The account currently has votes attached to it and the operation cannot succeed until + * these are removed through `remove_vote`. + **/ AlreadyVoting: AugmentedError; - /** The class ID supplied is invalid. */ + /** + * The class ID supplied is invalid. + **/ BadClass: AugmentedError; - /** The class must be supplied since it is not easily determinable from the state. */ + /** + * The class must be supplied since it is not easily determinable from the state. + **/ ClassNeeded: AugmentedError; - /** Too high a balance was provided that the account cannot afford. */ + /** + * Too high a balance was provided that the account cannot afford. + **/ InsufficientFunds: AugmentedError; - /** Maximum number of votes reached. */ + /** + * Maximum number of votes reached. + **/ MaxVotesReached: AugmentedError; - /** Delegation to oneself makes no sense. */ + /** + * Delegation to oneself makes no sense. + **/ Nonsense: AugmentedError; - /** The actor has no permission to conduct the action. */ + /** + * The actor has no permission to conduct the action. + **/ NoPermission: AugmentedError; - /** The actor has no permission to conduct the action right now but will do in the future. */ + /** + * The actor has no permission to conduct the action right now but will do in the future. + **/ NoPermissionYet: AugmentedError; - /** The account is not currently delegating. */ + /** + * The account is not currently delegating. + **/ NotDelegating: AugmentedError; - /** Poll is not ongoing. */ + /** + * Poll is not ongoing. + **/ NotOngoing: AugmentedError; - /** The given account did not vote on the poll. */ + /** + * The given account did not vote on the poll. + **/ NotVoter: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; crowdloanRewards: { /** - * User trying to associate a native identity with a relay chain identity for posterior reward - * claiming provided an already associated relay chain identity - */ + * User trying to associate a native identity with a relay chain identity for posterior + * reward claiming provided an already associated relay chain identity + **/ AlreadyAssociated: AugmentedError; - /** Trying to introduce a batch that goes beyond the limits of the funds */ + /** + * Trying to introduce a batch that goes beyond the limits of the funds + **/ BatchBeyondFundPot: AugmentedError; - /** First claim already done */ + /** + * First claim already done + **/ FirstClaimAlreadyDone: AugmentedError; - /** User submitted an unsifficient number of proofs to change the reward address */ + /** + * User submitted an unsifficient number of proofs to change the reward address + **/ InsufficientNumberOfValidProofs: AugmentedError; /** - * User trying to associate a native identity with a relay chain identity for posterior reward - * claiming provided a wrong signature - */ + * User trying to associate a native identity with a relay chain identity for posterior + * reward claiming provided a wrong signature + **/ InvalidClaimSignature: AugmentedError; - /** User trying to claim the first free reward provided the wrong signature */ + /** + * User trying to claim the first free reward provided the wrong signature + **/ InvalidFreeClaimSignature: AugmentedError; /** - * User trying to claim an award did not have an claim associated with it. This may mean they - * did not contribute to the crowdloan, or they have not yet associated a native id with their - * contribution - */ + * User trying to claim an award did not have an claim associated with it. This may mean + * they did not contribute to the crowdloan, or they have not yet associated a native id + * with their contribution + **/ NoAssociatedClaim: AugmentedError; - /** User provided a signature from a non-contributor relay account */ + /** + * User provided a signature from a non-contributor relay account + **/ NonContributedAddressProvided: AugmentedError; - /** The contribution is not high enough to be eligible for rewards */ + /** + * The contribution is not high enough to be eligible for rewards + **/ RewardNotHighEnough: AugmentedError; /** - * User trying to claim rewards has already claimed all rewards associated with its identity - * and contribution - */ + * User trying to claim rewards has already claimed all rewards associated with its + * identity and contribution + **/ RewardsAlreadyClaimed: AugmentedError; - /** Rewards should match funds of the pallet */ + /** + * Rewards should match funds of the pallet + **/ RewardsDoNotMatchFund: AugmentedError; - /** Reward vec has already been initialized */ + /** + * Reward vec has already been initialized + **/ RewardVecAlreadyInitialized: AugmentedError; - /** Reward vec has not yet been fully initialized */ + /** + * Reward vec has not yet been fully initialized + **/ RewardVecNotFullyInitializedYet: AugmentedError; - /** Initialize_reward_vec received too many contributors */ + /** + * Initialize_reward_vec received too many contributors + **/ TooManyContributors: AugmentedError; - /** Provided vesting period is not valid */ + /** + * Provided vesting period is not valid + **/ VestingPeriodNonValid: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; emergencyParaXcm: { - /** The current XCM Mode is not Paused */ + /** + * The current XCM Mode is not Paused + **/ NotInPausedMode: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; ethereum: { - /** Signature is invalid. */ + /** + * Signature is invalid. + **/ InvalidSignature: AugmentedError; - /** Pre-log is present, therefore transact is not allowed. */ + /** + * Pre-log is present, therefore transact is not allowed. + **/ PreLogExists: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; ethereumXcm: { - /** Xcm to Ethereum execution is suspended */ + /** + * Xcm to Ethereum execution is suspended + **/ EthereumXcmExecutionSuspended: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; evm: { - /** Not enough balance to perform action */ + /** + * Not enough balance to perform action + **/ BalanceLow: AugmentedError; - /** Calculating total fee overflowed */ + /** + * Calculating total fee overflowed + **/ FeeOverflow: AugmentedError; - /** Gas limit is too high. */ + /** + * Gas limit is too high. + **/ GasLimitTooHigh: AugmentedError; - /** Gas limit is too low. */ + /** + * Gas limit is too low. + **/ GasLimitTooLow: AugmentedError; - /** Gas price is too low. */ + /** + * Gas price is too low. + **/ GasPriceTooLow: AugmentedError; - /** The chain id is invalid. */ + /** + * The chain id is invalid. + **/ InvalidChainId: AugmentedError; - /** Nonce is invalid */ + /** + * Nonce is invalid + **/ InvalidNonce: AugmentedError; - /** The signature is invalid. */ + /** + * the signature is invalid. + **/ InvalidSignature: AugmentedError; - /** Calculating total payment overflowed */ + /** + * Calculating total payment overflowed + **/ PaymentOverflow: AugmentedError; - /** EVM reentrancy */ + /** + * EVM reentrancy + **/ Reentrancy: AugmentedError; - /** EIP-3607, */ + /** + * EIP-3607, + **/ TransactionMustComeFromEOA: AugmentedError; - /** Undefined error. */ + /** + * Undefined error. + **/ Undefined: AugmentedError; - /** Withdraw fee failed */ + /** + * Withdraw fee failed + **/ WithdrawFailed: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; evmForeignAssets: { @@ -277,226 +461,416 @@ declare module "@polkadot/api-base/types/errors" { InvalidTokenName: AugmentedError; LocationAlreadyExists: AugmentedError; TooManyForeignAssets: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; identity: { - /** Account ID is already named. */ + /** + * Account ID is already named. + **/ AlreadyClaimed: AugmentedError; - /** Empty index. */ + /** + * Empty index. + **/ EmptyIndex: AugmentedError; - /** Fee is changed. */ + /** + * Fee is changed. + **/ FeeChanged: AugmentedError; - /** The index is invalid. */ + /** + * The index is invalid. + **/ InvalidIndex: AugmentedError; - /** Invalid judgement. */ + /** + * Invalid judgement. + **/ InvalidJudgement: AugmentedError; - /** The signature on a username was not valid. */ + /** + * The signature on a username was not valid. + **/ InvalidSignature: AugmentedError; - /** The provided suffix is too long. */ + /** + * The provided suffix is too long. + **/ InvalidSuffix: AugmentedError; - /** The target is invalid. */ + /** + * The target is invalid. + **/ InvalidTarget: AugmentedError; - /** The username does not meet the requirements. */ + /** + * The username does not meet the requirements. + **/ InvalidUsername: AugmentedError; - /** The provided judgement was for a different identity. */ + /** + * The provided judgement was for a different identity. + **/ JudgementForDifferentIdentity: AugmentedError; - /** Judgement given. */ + /** + * Judgement given. + **/ JudgementGiven: AugmentedError; - /** Error that occurs when there is an issue paying for judgement. */ + /** + * Error that occurs when there is an issue paying for judgement. + **/ JudgementPaymentFailed: AugmentedError; - /** The authority cannot allocate any more usernames. */ + /** + * The authority cannot allocate any more usernames. + **/ NoAllocation: AugmentedError; - /** No identity found. */ + /** + * No identity found. + **/ NoIdentity: AugmentedError; - /** The username cannot be forcefully removed because it can still be accepted. */ + /** + * The username cannot be forcefully removed because it can still be accepted. + **/ NotExpired: AugmentedError; - /** Account isn't found. */ + /** + * Account isn't found. + **/ NotFound: AugmentedError; - /** Account isn't named. */ + /** + * Account isn't named. + **/ NotNamed: AugmentedError; - /** Sub-account isn't owned by sender. */ + /** + * Sub-account isn't owned by sender. + **/ NotOwned: AugmentedError; - /** Sender is not a sub-account. */ + /** + * Sender is not a sub-account. + **/ NotSub: AugmentedError; - /** The sender does not have permission to issue a username. */ + /** + * The sender does not have permission to issue a username. + **/ NotUsernameAuthority: AugmentedError; - /** The requested username does not exist. */ + /** + * The requested username does not exist. + **/ NoUsername: AugmentedError; - /** Setting this username requires a signature, but none was provided. */ + /** + * Setting this username requires a signature, but none was provided. + **/ RequiresSignature: AugmentedError; - /** Sticky judgement. */ + /** + * Sticky judgement. + **/ StickyJudgement: AugmentedError; - /** Maximum amount of registrars reached. Cannot add any more. */ + /** + * Maximum amount of registrars reached. Cannot add any more. + **/ TooManyRegistrars: AugmentedError; - /** Too many subs-accounts. */ + /** + * Too many subs-accounts. + **/ TooManySubAccounts: AugmentedError; - /** The username is already taken. */ + /** + * The username is already taken. + **/ UsernameTaken: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; maintenanceMode: { - /** The chain cannot enter maintenance mode because it is already in maintenance mode */ + /** + * The chain cannot enter maintenance mode because it is already in maintenance mode + **/ AlreadyInMaintenanceMode: AugmentedError; - /** The chain cannot resume normal operation because it is not in maintenance mode */ + /** + * The chain cannot resume normal operation because it is not in maintenance mode + **/ NotInMaintenanceMode: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; messageQueue: { - /** The message was already processed and cannot be processed again. */ + /** + * The message was already processed and cannot be processed again. + **/ AlreadyProcessed: AugmentedError; - /** There is temporarily not enough weight to continue servicing messages. */ + /** + * There is temporarily not enough weight to continue servicing messages. + **/ InsufficientWeight: AugmentedError; - /** The referenced message could not be found. */ + /** + * The referenced message could not be found. + **/ NoMessage: AugmentedError; - /** Page to be reaped does not exist. */ + /** + * Page to be reaped does not exist. + **/ NoPage: AugmentedError; - /** Page is not reapable because it has items remaining to be processed and is not old enough. */ + /** + * Page is not reapable because it has items remaining to be processed and is not old + * enough. + **/ NotReapable: AugmentedError; - /** The message is queued for future execution. */ + /** + * The message is queued for future execution. + **/ Queued: AugmentedError; /** * The queue is paused and no message can be executed from it. * * This can change at any time and may resolve in the future by re-trying. - */ + **/ QueuePaused: AugmentedError; - /** Another call is in progress and needs to finish before this call can happen. */ + /** + * Another call is in progress and needs to finish before this call can happen. + **/ RecursiveDisallowed: AugmentedError; /** * This message is temporarily unprocessable. * - * Such errors are expected, but not guaranteed, to resolve themselves eventually through retrying. - */ + * Such errors are expected, but not guaranteed, to resolve themselves eventually through + * retrying. + **/ TemporarilyUnprocessable: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; migrations: { - /** Preimage already exists in the new storage. */ + /** + * Preimage already exists in the new storage. + **/ PreimageAlreadyExists: AugmentedError; - /** Preimage is larger than the new max size. */ + /** + * Preimage is larger than the new max size. + **/ PreimageIsTooBig: AugmentedError; - /** Missing preimage in original democracy storage */ + /** + * Missing preimage in original democracy storage + **/ PreimageMissing: AugmentedError; - /** Provided upper bound is too low. */ + /** + * Provided upper bound is too low. + **/ WrongUpperBound: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; moonbeamLazyMigrations: { - /** Fail to add an approval */ + /** + * Fail to add an approval + **/ ApprovalFailed: AugmentedError; - /** Asset not found */ + /** + * Asset not found + **/ AssetNotFound: AugmentedError; - /** The asset type was not found */ + /** + * The asset type was not found + **/ AssetTypeNotFound: AugmentedError; - /** The contract already have metadata */ + /** + * The contract already have metadata + **/ ContractMetadataAlreadySet: AugmentedError; - /** Contract not exist */ + /** + * Contract not exist + **/ ContractNotExist: AugmentedError; - /** The key lengths exceeds the maximum allowed */ + /** + * The key lengths exceeds the maximum allowed + **/ KeyTooLong: AugmentedError; - /** The limit cannot be zero */ + /** + * The limit cannot be zero + **/ LimitCannotBeZero: AugmentedError; - /** The location of the asset was not found */ + /** + * The location of the asset was not found + **/ LocationNotFound: AugmentedError; - /** Migration is not finished yet */ + /** + * Migration is not finished yet + **/ MigrationNotFinished: AugmentedError; - /** Fail to mint the foreign asset */ + /** + * Fail to mint the foreign asset + **/ MintFailed: AugmentedError; - /** The name length exceeds the maximum allowed */ + /** + * The name length exceeds the maximum allowed + **/ NameTooLong: AugmentedError; - /** No migration in progress */ + /** + * No migration in progress + **/ NoMigrationInProgress: AugmentedError; - /** The symbol length exceeds the maximum allowed */ + /** + * The symbol length exceeds the maximum allowed + **/ SymbolTooLong: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; moonbeamOrbiters: { - /** The collator is already added in orbiters program. */ + /** + * The collator is already added in orbiters program. + **/ CollatorAlreadyAdded: AugmentedError; - /** This collator is not in orbiters program. */ + /** + * This collator is not in orbiters program. + **/ CollatorNotFound: AugmentedError; - /** There are already too many orbiters associated with this collator. */ + /** + * There are already too many orbiters associated with this collator. + **/ CollatorPoolTooLarge: AugmentedError; - /** There are more collator pools than the number specified in the parameter. */ + /** + * There are more collator pools than the number specified in the parameter. + **/ CollatorsPoolCountTooLow: AugmentedError; /** * The minimum deposit required to register as an orbiter has not yet been included in the * onchain storage - */ + **/ MinOrbiterDepositNotSet: AugmentedError; - /** This orbiter is already associated with this collator. */ + /** + * This orbiter is already associated with this collator. + **/ OrbiterAlreadyInPool: AugmentedError; - /** This orbiter has not made a deposit */ + /** + * This orbiter has not made a deposit + **/ OrbiterDepositNotFound: AugmentedError; - /** This orbiter is not found */ + /** + * This orbiter is not found + **/ OrbiterNotFound: AugmentedError; - /** The orbiter is still at least in one pool */ + /** + * The orbiter is still at least in one pool + **/ OrbiterStillInAPool: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; multisig: { - /** Call is already approved by this signatory. */ + /** + * Call is already approved by this signatory. + **/ AlreadyApproved: AugmentedError; - /** The data to be stored is already stored. */ + /** + * The data to be stored is already stored. + **/ AlreadyStored: AugmentedError; - /** The maximum weight information provided was too low. */ + /** + * The maximum weight information provided was too low. + **/ MaxWeightTooLow: AugmentedError; - /** Threshold must be 2 or greater. */ + /** + * Threshold must be 2 or greater. + **/ MinimumThreshold: AugmentedError; - /** Call doesn't need any (more) approvals. */ + /** + * Call doesn't need any (more) approvals. + **/ NoApprovalsNeeded: AugmentedError; - /** Multisig operation not found when attempting to cancel. */ + /** + * Multisig operation not found when attempting to cancel. + **/ NotFound: AugmentedError; - /** No timepoint was given, yet the multisig operation is already underway. */ + /** + * No timepoint was given, yet the multisig operation is already underway. + **/ NoTimepoint: AugmentedError; - /** Only the account that originally created the multisig is able to cancel it. */ + /** + * Only the account that originally created the multisig is able to cancel it. + **/ NotOwner: AugmentedError; - /** The sender was contained in the other signatories; it shouldn't be. */ + /** + * The sender was contained in the other signatories; it shouldn't be. + **/ SenderInSignatories: AugmentedError; - /** The signatories were provided out of order; they should be ordered. */ + /** + * The signatories were provided out of order; they should be ordered. + **/ SignatoriesOutOfOrder: AugmentedError; - /** There are too few signatories in the list. */ + /** + * There are too few signatories in the list. + **/ TooFewSignatories: AugmentedError; - /** There are too many signatories in the list. */ + /** + * There are too many signatories in the list. + **/ TooManySignatories: AugmentedError; - /** A timepoint was given, yet no multisig operation is underway. */ + /** + * A timepoint was given, yet no multisig operation is underway. + **/ UnexpectedTimepoint: AugmentedError; - /** A different timepoint was given to the multisig operation that is underway. */ + /** + * A different timepoint was given to the multisig operation that is underway. + **/ WrongTimepoint: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; openTechCommitteeCollective: { - /** Members are already initialized! */ + /** + * Members are already initialized! + **/ AlreadyInitialized: AugmentedError; - /** Duplicate proposals not allowed */ + /** + * Duplicate proposals not allowed + **/ DuplicateProposal: AugmentedError; - /** Duplicate vote ignored */ + /** + * Duplicate vote ignored + **/ DuplicateVote: AugmentedError; - /** Account is not a member */ + /** + * Account is not a member + **/ NotMember: AugmentedError; - /** Prime account is not a member */ + /** + * Prime account is not a member + **/ PrimeAccountNotMember: AugmentedError; - /** Proposal must exist */ + /** + * Proposal must exist + **/ ProposalMissing: AugmentedError; - /** The close call was made too early, before the end of the voting. */ + /** + * The close call was made too early, before the end of the voting. + **/ TooEarly: AugmentedError; - /** There can only be a maximum of `MaxProposals` active proposals. */ + /** + * There can only be a maximum of `MaxProposals` active proposals. + **/ TooManyProposals: AugmentedError; - /** Mismatched index */ + /** + * Mismatched index + **/ WrongIndex: AugmentedError; - /** The given length bound for the proposal was too low. */ + /** + * The given length bound for the proposal was too low. + **/ WrongProposalLength: AugmentedError; - /** The given weight bound for the proposal was too low. */ + /** + * The given weight bound for the proposal was too low. + **/ WrongProposalWeight: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; parachainStaking: { @@ -556,132 +930,240 @@ declare module "@polkadot/api-base/types/errors" { TooLowDelegationCountToDelegate: AugmentedError; TooLowDelegationCountToLeaveDelegators: AugmentedError; TotalInflationDistributionPercentExceeds100: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; parachainSystem: { - /** The inherent which supplies the host configuration did not run this block. */ + /** + * The inherent which supplies the host configuration did not run this block. + **/ HostConfigurationNotAvailable: AugmentedError; - /** No code upgrade has been authorized. */ + /** + * No code upgrade has been authorized. + **/ NothingAuthorized: AugmentedError; - /** No validation function upgrade is currently scheduled. */ + /** + * No validation function upgrade is currently scheduled. + **/ NotScheduled: AugmentedError; - /** Attempt to upgrade validation function while existing upgrade pending. */ + /** + * Attempt to upgrade validation function while existing upgrade pending. + **/ OverlappingUpgrades: AugmentedError; - /** Polkadot currently prohibits this parachain from upgrading its validation function. */ + /** + * Polkadot currently prohibits this parachain from upgrading its validation function. + **/ ProhibitedByPolkadot: AugmentedError; - /** The supplied validation function has compiled into a blob larger than Polkadot is willing to run. */ + /** + * The supplied validation function has compiled into a blob larger than Polkadot is + * willing to run. + **/ TooBig: AugmentedError; - /** The given code upgrade has not been authorized. */ + /** + * The given code upgrade has not been authorized. + **/ Unauthorized: AugmentedError; - /** The inherent which supplies the validation data did not run this block. */ + /** + * The inherent which supplies the validation data did not run this block. + **/ ValidationDataNotAvailable: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; polkadotXcm: { - /** The given account is not an identifiable sovereign account for any location. */ + /** + * The given account is not an identifiable sovereign account for any location. + **/ AccountNotSovereign: AugmentedError; - /** The location is invalid since it already has a subscription from us. */ + /** + * The location is invalid since it already has a subscription from us. + **/ AlreadySubscribed: AugmentedError; /** - * The given location could not be used (e.g. because it cannot be expressed in the desired - * version of XCM). - */ + * The given location could not be used (e.g. because it cannot be expressed in the + * desired version of XCM). + **/ BadLocation: AugmentedError; - /** The version of the `Versioned` value used is not able to be interpreted. */ + /** + * The version of the `Versioned` value used is not able to be interpreted. + **/ BadVersion: AugmentedError; - /** Could not check-out the assets for teleportation to the destination chain. */ + /** + * Could not check-out the assets for teleportation to the destination chain. + **/ CannotCheckOutTeleport: AugmentedError; - /** Could not re-anchor the assets to declare the fees for the destination chain. */ + /** + * Could not re-anchor the assets to declare the fees for the destination chain. + **/ CannotReanchor: AugmentedError; - /** The destination `Location` provided cannot be inverted. */ + /** + * The destination `Location` provided cannot be inverted. + **/ DestinationNotInvertible: AugmentedError; - /** The assets to be sent are empty. */ + /** + * The assets to be sent are empty. + **/ Empty: AugmentedError; - /** The operation required fees to be paid which the initiator could not meet. */ + /** + * The operation required fees to be paid which the initiator could not meet. + **/ FeesNotMet: AugmentedError; - /** The message execution fails the filter. */ + /** + * The message execution fails the filter. + **/ Filtered: AugmentedError; - /** The unlock operation cannot succeed because there are still consumers of the lock. */ + /** + * The unlock operation cannot succeed because there are still consumers of the lock. + **/ InUse: AugmentedError; - /** Invalid asset, reserve chain could not be determined for it. */ + /** + * Invalid asset, reserve chain could not be determined for it. + **/ InvalidAssetUnknownReserve: AugmentedError; - /** Invalid asset, do not support remote asset reserves with different fees reserves. */ + /** + * Invalid asset, do not support remote asset reserves with different fees reserves. + **/ InvalidAssetUnsupportedReserve: AugmentedError; - /** Origin is invalid for sending. */ + /** + * Origin is invalid for sending. + **/ InvalidOrigin: AugmentedError; - /** Local XCM execution incomplete. */ + /** + * Local XCM execution incomplete. + **/ LocalExecutionIncomplete: AugmentedError; - /** A remote lock with the corresponding data could not be found. */ + /** + * A remote lock with the corresponding data could not be found. + **/ LockNotFound: AugmentedError; - /** The owner does not own (all) of the asset that they wish to do the operation on. */ + /** + * The owner does not own (all) of the asset that they wish to do the operation on. + **/ LowBalance: AugmentedError; - /** The referenced subscription could not be found. */ + /** + * The referenced subscription could not be found. + **/ NoSubscription: AugmentedError; /** - * There was some other issue (i.e. not to do with routing) in sending the message. Perhaps a - * lack of space for buffering the message. - */ + * There was some other issue (i.e. not to do with routing) in sending the message. + * Perhaps a lack of space for buffering the message. + **/ SendFailure: AugmentedError; - /** Too many assets have been attempted for transfer. */ + /** + * Too many assets have been attempted for transfer. + **/ TooManyAssets: AugmentedError; - /** The asset owner has too many locks on the asset. */ + /** + * The asset owner has too many locks on the asset. + **/ TooManyLocks: AugmentedError; - /** Too many assets with different reserve locations have been attempted for transfer. */ + /** + * Too many assets with different reserve locations have been attempted for transfer. + **/ TooManyReserves: AugmentedError; - /** The desired destination was unreachable, generally because there is a no way of routing to it. */ + /** + * The desired destination was unreachable, generally because there is a no way of routing + * to it. + **/ Unreachable: AugmentedError; - /** The message's weight could not be determined. */ + /** + * The message's weight could not be determined. + **/ UnweighableMessage: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; precompileBenchmarks: { BenchmarkError: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; preimage: { - /** Preimage has already been noted on-chain. */ + /** + * Preimage has already been noted on-chain. + **/ AlreadyNoted: AugmentedError; - /** No ticket with a cost was returned by [`Config::Consideration`] to store the preimage. */ + /** + * No ticket with a cost was returned by [`Config::Consideration`] to store the preimage. + **/ NoCost: AugmentedError; - /** The user is not authorized to perform this action. */ + /** + * The user is not authorized to perform this action. + **/ NotAuthorized: AugmentedError; - /** The preimage cannot be removed since it has not yet been noted. */ + /** + * The preimage cannot be removed since it has not yet been noted. + **/ NotNoted: AugmentedError; - /** The preimage request cannot be removed since no outstanding requests exist. */ + /** + * The preimage request cannot be removed since no outstanding requests exist. + **/ NotRequested: AugmentedError; - /** A preimage may not be removed when there are outstanding requests. */ + /** + * A preimage may not be removed when there are outstanding requests. + **/ Requested: AugmentedError; - /** Preimage is too large to store on-chain. */ + /** + * Preimage is too large to store on-chain. + **/ TooBig: AugmentedError; - /** Too few hashes were requested to be upgraded (i.e. zero). */ + /** + * Too few hashes were requested to be upgraded (i.e. zero). + **/ TooFew: AugmentedError; - /** More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once. */ + /** + * More than `MAX_HASH_UPGRADE_BULK_COUNT` hashes were requested to be upgraded at once. + **/ TooMany: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; proxy: { - /** Account is already a proxy. */ + /** + * Account is already a proxy. + **/ Duplicate: AugmentedError; - /** Call may not be made by proxy because it may escalate its privileges. */ + /** + * Call may not be made by proxy because it may escalate its privileges. + **/ NoPermission: AugmentedError; - /** Cannot add self as proxy. */ + /** + * Cannot add self as proxy. + **/ NoSelfProxy: AugmentedError; - /** Proxy registration not found. */ + /** + * Proxy registration not found. + **/ NotFound: AugmentedError; - /** Sender is not a proxy of the account to be proxied. */ + /** + * Sender is not a proxy of the account to be proxied. + **/ NotProxy: AugmentedError; - /** There are too many proxies registered or too many announcements pending. */ + /** + * There are too many proxies registered or too many announcements pending. + **/ TooMany: AugmentedError; - /** Announcement, if made at all, was made too recently. */ + /** + * Announcement, if made at all, was made too recently. + **/ Unannounced: AugmentedError; - /** A call which is incompatible with the proxy type's filter was attempted. */ + /** + * A call which is incompatible with the proxy type's filter was attempted. + **/ Unproxyable: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; randomness: { @@ -697,165 +1179,306 @@ declare module "@polkadot/api-base/types/errors" { RequestDNE: AugmentedError; RequestFeeOverflowed: AugmentedError; RequestHasNotExpired: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; referenda: { - /** The referendum index provided is invalid in this context. */ + /** + * The referendum index provided is invalid in this context. + **/ BadReferendum: AugmentedError; - /** The referendum status is invalid for this operation. */ + /** + * The referendum status is invalid for this operation. + **/ BadStatus: AugmentedError; - /** The track identifier given was invalid. */ + /** + * The track identifier given was invalid. + **/ BadTrack: AugmentedError; - /** There are already a full complement of referenda in progress for this track. */ + /** + * There are already a full complement of referenda in progress for this track. + **/ Full: AugmentedError; - /** Referendum's decision deposit is already paid. */ + /** + * Referendum's decision deposit is already paid. + **/ HasDeposit: AugmentedError; - /** The deposit cannot be refunded since none was made. */ + /** + * The deposit cannot be refunded since none was made. + **/ NoDeposit: AugmentedError; - /** The deposit refunder is not the depositor. */ + /** + * The deposit refunder is not the depositor. + **/ NoPermission: AugmentedError; - /** There was nothing to do in the advancement. */ + /** + * There was nothing to do in the advancement. + **/ NothingToDo: AugmentedError; - /** Referendum is not ongoing. */ + /** + * Referendum is not ongoing. + **/ NotOngoing: AugmentedError; - /** No track exists for the proposal origin. */ + /** + * No track exists for the proposal origin. + **/ NoTrack: AugmentedError; - /** The preimage does not exist. */ + /** + * The preimage does not exist. + **/ PreimageNotExist: AugmentedError; - /** The preimage is stored with a different length than the one provided. */ + /** + * The preimage is stored with a different length than the one provided. + **/ PreimageStoredWithDifferentLength: AugmentedError; - /** The queue of the track is empty. */ + /** + * The queue of the track is empty. + **/ QueueEmpty: AugmentedError; - /** Any deposit cannot be refunded until after the decision is over. */ + /** + * Any deposit cannot be refunded until after the decision is over. + **/ Unfinished: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; scheduler: { - /** Failed to schedule a call */ + /** + * Failed to schedule a call + **/ FailedToSchedule: AugmentedError; - /** Attempt to use a non-named function on a named task. */ + /** + * Attempt to use a non-named function on a named task. + **/ Named: AugmentedError; - /** Cannot find the scheduled call. */ + /** + * Cannot find the scheduled call. + **/ NotFound: AugmentedError; - /** Reschedule failed because it does not change scheduled time. */ + /** + * Reschedule failed because it does not change scheduled time. + **/ RescheduleNoChange: AugmentedError; - /** Given target block number is in the past. */ + /** + * Given target block number is in the past. + **/ TargetBlockNumberInPast: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; system: { - /** The origin filter prevent the call to be dispatched. */ + /** + * The origin filter prevent the call to be dispatched. + **/ CallFiltered: AugmentedError; /** * Failed to extract the runtime version from the new runtime. * * Either calling `Core_version` or decoding `RuntimeVersion` failed. - */ + **/ FailedToExtractRuntimeVersion: AugmentedError; - /** The name of specification does not match between the current runtime and the new runtime. */ + /** + * The name of specification does not match between the current runtime + * and the new runtime. + **/ InvalidSpecName: AugmentedError; - /** A multi-block migration is ongoing and prevents the current code from being replaced. */ + /** + * A multi-block migration is ongoing and prevents the current code from being replaced. + **/ MultiBlockMigrationsOngoing: AugmentedError; - /** Suicide called when the account has non-default composite data. */ + /** + * Suicide called when the account has non-default composite data. + **/ NonDefaultComposite: AugmentedError; - /** There is a non-zero reference count preventing the account from being purged. */ + /** + * There is a non-zero reference count preventing the account from being purged. + **/ NonZeroRefCount: AugmentedError; - /** No upgrade authorized. */ + /** + * No upgrade authorized. + **/ NothingAuthorized: AugmentedError; - /** The specification version is not allowed to decrease between the current runtime and the new runtime. */ + /** + * The specification version is not allowed to decrease between the current runtime + * and the new runtime. + **/ SpecVersionNeedsToIncrease: AugmentedError; - /** The submitted code is not authorized. */ + /** + * The submitted code is not authorized. + **/ Unauthorized: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; treasury: { - /** The payment has already been attempted. */ + /** + * The payment has already been attempted. + **/ AlreadyAttempted: AugmentedError; - /** The spend is not yet eligible for payout. */ + /** + * The spend is not yet eligible for payout. + **/ EarlyPayout: AugmentedError; - /** The balance of the asset kind is not convertible to the balance of the native asset. */ + /** + * The balance of the asset kind is not convertible to the balance of the native asset. + **/ FailedToConvertBalance: AugmentedError; - /** The payment has neither failed nor succeeded yet. */ + /** + * The payment has neither failed nor succeeded yet. + **/ Inconclusive: AugmentedError; - /** The spend origin is valid but the amount it is allowed to spend is lower than the amount to be spent. */ + /** + * The spend origin is valid but the amount it is allowed to spend is lower than the + * amount to be spent. + **/ InsufficientPermission: AugmentedError; - /** No proposal, bounty or spend at that index. */ + /** + * No proposal, bounty or spend at that index. + **/ InvalidIndex: AugmentedError; - /** The payout was not yet attempted/claimed. */ + /** + * The payout was not yet attempted/claimed. + **/ NotAttempted: AugmentedError; - /** There was some issue with the mechanism of payment. */ + /** + * There was some issue with the mechanism of payment. + **/ PayoutError: AugmentedError; - /** Proposal has not been approved. */ + /** + * Proposal has not been approved. + **/ ProposalNotApproved: AugmentedError; - /** The spend has expired and cannot be claimed. */ + /** + * The spend has expired and cannot be claimed. + **/ SpendExpired: AugmentedError; - /** Too many approvals in the queue. */ + /** + * Too many approvals in the queue. + **/ TooManyApprovals: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; treasuryCouncilCollective: { - /** Members are already initialized! */ + /** + * Members are already initialized! + **/ AlreadyInitialized: AugmentedError; - /** Duplicate proposals not allowed */ + /** + * Duplicate proposals not allowed + **/ DuplicateProposal: AugmentedError; - /** Duplicate vote ignored */ + /** + * Duplicate vote ignored + **/ DuplicateVote: AugmentedError; - /** Account is not a member */ + /** + * Account is not a member + **/ NotMember: AugmentedError; - /** Prime account is not a member */ + /** + * Prime account is not a member + **/ PrimeAccountNotMember: AugmentedError; - /** Proposal must exist */ + /** + * Proposal must exist + **/ ProposalMissing: AugmentedError; - /** The close call was made too early, before the end of the voting. */ + /** + * The close call was made too early, before the end of the voting. + **/ TooEarly: AugmentedError; - /** There can only be a maximum of `MaxProposals` active proposals. */ + /** + * There can only be a maximum of `MaxProposals` active proposals. + **/ TooManyProposals: AugmentedError; - /** Mismatched index */ + /** + * Mismatched index + **/ WrongIndex: AugmentedError; - /** The given length bound for the proposal was too low. */ + /** + * The given length bound for the proposal was too low. + **/ WrongProposalLength: AugmentedError; - /** The given weight bound for the proposal was too low. */ + /** + * The given weight bound for the proposal was too low. + **/ WrongProposalWeight: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; utility: { - /** Too many calls batched. */ + /** + * Too many calls batched. + **/ TooManyCalls: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; whitelist: { - /** The call was already whitelisted; No-Op. */ + /** + * The call was already whitelisted; No-Op. + **/ CallAlreadyWhitelisted: AugmentedError; - /** The call was not whitelisted. */ + /** + * The call was not whitelisted. + **/ CallIsNotWhitelisted: AugmentedError; - /** The weight of the decoded call was higher than the witness. */ + /** + * The weight of the decoded call was higher than the witness. + **/ InvalidCallWeightWitness: AugmentedError; - /** The preimage of the call hash could not be loaded. */ + /** + * The preimage of the call hash could not be loaded. + **/ UnavailablePreImage: AugmentedError; - /** The call could not be decoded. */ + /** + * The call could not be decoded. + **/ UndecodableCall: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; xcmpQueue: { - /** The execution is already resumed. */ + /** + * The execution is already resumed. + **/ AlreadyResumed: AugmentedError; - /** The execution is already suspended. */ + /** + * The execution is already suspended. + **/ AlreadySuspended: AugmentedError; - /** Setting the queue config failed since one of its values was invalid. */ + /** + * Setting the queue config failed since one of its values was invalid. + **/ BadQueueConfig: AugmentedError; - /** The message is too big. */ + /** + * The message is too big. + **/ TooBig: AugmentedError; - /** There are too many active outbound channels. */ + /** + * There are too many active outbound channels. + **/ TooManyActiveOutboundChannels: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; xcmTransactor: { @@ -886,23 +1509,39 @@ declare module "@polkadot/api-base/types/errors" { UnweighableMessage: AugmentedError; WeightOverflow: AugmentedError; XcmExecuteError: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; xcmWeightTrader: { - /** The given asset was already added */ + /** + * The given asset was already added + **/ AssetAlreadyAdded: AugmentedError; - /** The given asset was already paused */ + /** + * The given asset was already paused + **/ AssetAlreadyPaused: AugmentedError; - /** The given asset was not found */ + /** + * The given asset was not found + **/ AssetNotFound: AugmentedError; - /** The given asset is not paused */ + /** + * The given asset is not paused + **/ AssetNotPaused: AugmentedError; - /** The relative price cannot be zero */ + /** + * The relative price cannot be zero + **/ PriceCannotBeZero: AugmentedError; - /** XCM location filtered */ + /** + * XCM location filtered + **/ XcmLocationFiltered: AugmentedError; - /** Generic error */ + /** + * Generic error + **/ [key: string]: AugmentedError; }; } // AugmentedErrors diff --git a/typescript-api/src/moonriver/interfaces/augment-api-events.ts b/typescript-api/src/moonriver/interfaces/augment-api-events.ts index 08c1e2b1c1..886883fc35 100644 --- a/typescript-api/src/moonriver/interfaces/augment-api-events.ts +++ b/typescript-api/src/moonriver/interfaces/augment-api-events.ts @@ -17,7 +17,7 @@ import type { u16, u32, u64, - u8, + u8 } from "@polkadot/types-codec"; import type { ITuple } from "@polkadot/types-codec/types"; import type { AccountId20, H160, H256, Perbill, Percent } from "@polkadot/types/interfaces/runtime"; @@ -54,7 +54,7 @@ import type { StagingXcmV4Xcm, XcmV3TraitsError, XcmVersionedAssets, - XcmVersionedLocation, + XcmVersionedLocation } from "@polkadot/types/lookup"; export type __AugmentedEvent = AugmentedEvent; @@ -62,13 +62,17 @@ export type __AugmentedEvent = AugmentedEvent declare module "@polkadot/api-base/types/events" { interface AugmentedEvents { assetManager: { - /** Removed all information related to an assetId and destroyed asset */ + /** + * Removed all information related to an assetId and destroyed asset + **/ ForeignAssetDestroyed: AugmentedEvent< ApiType, [assetId: u128, assetType: MoonriverRuntimeXcmConfigAssetType], { assetId: u128; assetType: MoonriverRuntimeXcmConfigAssetType } >; - /** New asset with the asset manager is registered */ + /** + * New asset with the asset manager is registered + **/ ForeignAssetRegistered: AugmentedEvent< ApiType, [ @@ -82,153 +86,216 @@ declare module "@polkadot/api-base/types/events" { metadata: MoonriverRuntimeAssetConfigAssetRegistrarMetadata; } >; - /** Removed all information related to an assetId */ + /** + * Removed all information related to an assetId + **/ ForeignAssetRemoved: AugmentedEvent< ApiType, [assetId: u128, assetType: MoonriverRuntimeXcmConfigAssetType], { assetId: u128; assetType: MoonriverRuntimeXcmConfigAssetType } >; - /** Changed the xcm type mapping for a given asset id */ + /** + * Changed the xcm type mapping for a given asset id + **/ ForeignAssetXcmLocationChanged: AugmentedEvent< ApiType, [assetId: u128, newAssetType: MoonriverRuntimeXcmConfigAssetType], { assetId: u128; newAssetType: MoonriverRuntimeXcmConfigAssetType } >; - /** Removed all information related to an assetId and destroyed asset */ + /** + * Removed all information related to an assetId and destroyed asset + **/ LocalAssetDestroyed: AugmentedEvent; - /** Supported asset type for fee payment removed */ + /** + * Supported asset type for fee payment removed + **/ SupportedAssetRemoved: AugmentedEvent< ApiType, [assetType: MoonriverRuntimeXcmConfigAssetType], { assetType: MoonriverRuntimeXcmConfigAssetType } >; - /** Changed the amount of units we are charging per execution second for a given asset */ + /** + * Changed the amount of units we are charging per execution second for a given asset + **/ UnitsPerSecondChanged: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; assets: { - /** Accounts were destroyed for given asset. */ + /** + * Accounts were destroyed for given asset. + **/ AccountsDestroyed: AugmentedEvent< ApiType, [assetId: u128, accountsDestroyed: u32, accountsRemaining: u32], { assetId: u128; accountsDestroyed: u32; accountsRemaining: u32 } >; - /** An approval for account `delegate` was cancelled by `owner`. */ + /** + * An approval for account `delegate` was cancelled by `owner`. + **/ ApprovalCancelled: AugmentedEvent< ApiType, [assetId: u128, owner: AccountId20, delegate: AccountId20], { assetId: u128; owner: AccountId20; delegate: AccountId20 } >; - /** Approvals were destroyed for given asset. */ + /** + * Approvals were destroyed for given asset. + **/ ApprovalsDestroyed: AugmentedEvent< ApiType, [assetId: u128, approvalsDestroyed: u32, approvalsRemaining: u32], { assetId: u128; approvalsDestroyed: u32; approvalsRemaining: u32 } >; - /** (Additional) funds have been approved for transfer to a destination account. */ + /** + * (Additional) funds have been approved for transfer to a destination account. + **/ ApprovedTransfer: AugmentedEvent< ApiType, [assetId: u128, source: AccountId20, delegate: AccountId20, amount: u128], { assetId: u128; source: AccountId20; delegate: AccountId20; amount: u128 } >; - /** Some asset `asset_id` was frozen. */ + /** + * Some asset `asset_id` was frozen. + **/ AssetFrozen: AugmentedEvent; - /** The min_balance of an asset has been updated by the asset owner. */ + /** + * The min_balance of an asset has been updated by the asset owner. + **/ AssetMinBalanceChanged: AugmentedEvent< ApiType, [assetId: u128, newMinBalance: u128], { assetId: u128; newMinBalance: u128 } >; - /** An asset has had its attributes changed by the `Force` origin. */ + /** + * An asset has had its attributes changed by the `Force` origin. + **/ AssetStatusChanged: AugmentedEvent; - /** Some asset `asset_id` was thawed. */ + /** + * Some asset `asset_id` was thawed. + **/ AssetThawed: AugmentedEvent; - /** Some account `who` was blocked. */ + /** + * Some account `who` was blocked. + **/ Blocked: AugmentedEvent< ApiType, [assetId: u128, who: AccountId20], { assetId: u128; who: AccountId20 } >; - /** Some assets were destroyed. */ + /** + * Some assets were destroyed. + **/ Burned: AugmentedEvent< ApiType, [assetId: u128, owner: AccountId20, balance: u128], { assetId: u128; owner: AccountId20; balance: u128 } >; - /** Some asset class was created. */ + /** + * Some asset class was created. + **/ Created: AugmentedEvent< ApiType, [assetId: u128, creator: AccountId20, owner: AccountId20], { assetId: u128; creator: AccountId20; owner: AccountId20 } >; - /** Some assets were deposited (e.g. for transaction fees). */ + /** + * Some assets were deposited (e.g. for transaction fees). + **/ Deposited: AugmentedEvent< ApiType, [assetId: u128, who: AccountId20, amount: u128], { assetId: u128; who: AccountId20; amount: u128 } >; - /** An asset class was destroyed. */ + /** + * An asset class was destroyed. + **/ Destroyed: AugmentedEvent; - /** An asset class is in the process of being destroyed. */ + /** + * An asset class is in the process of being destroyed. + **/ DestructionStarted: AugmentedEvent; - /** Some asset class was force-created. */ + /** + * Some asset class was force-created. + **/ ForceCreated: AugmentedEvent< ApiType, [assetId: u128, owner: AccountId20], { assetId: u128; owner: AccountId20 } >; - /** Some account `who` was frozen. */ + /** + * Some account `who` was frozen. + **/ Frozen: AugmentedEvent< ApiType, [assetId: u128, who: AccountId20], { assetId: u128; who: AccountId20 } >; - /** Some assets were issued. */ + /** + * Some assets were issued. + **/ Issued: AugmentedEvent< ApiType, [assetId: u128, owner: AccountId20, amount: u128], { assetId: u128; owner: AccountId20; amount: u128 } >; - /** Metadata has been cleared for an asset. */ + /** + * Metadata has been cleared for an asset. + **/ MetadataCleared: AugmentedEvent; - /** New metadata has been set for an asset. */ + /** + * New metadata has been set for an asset. + **/ MetadataSet: AugmentedEvent< ApiType, [assetId: u128, name: Bytes, symbol_: Bytes, decimals: u8, isFrozen: bool], { assetId: u128; name: Bytes; symbol: Bytes; decimals: u8; isFrozen: bool } >; - /** The owner changed. */ + /** + * The owner changed. + **/ OwnerChanged: AugmentedEvent< ApiType, [assetId: u128, owner: AccountId20], { assetId: u128; owner: AccountId20 } >; - /** The management team changed. */ + /** + * The management team changed. + **/ TeamChanged: AugmentedEvent< ApiType, [assetId: u128, issuer: AccountId20, admin: AccountId20, freezer: AccountId20], { assetId: u128; issuer: AccountId20; admin: AccountId20; freezer: AccountId20 } >; - /** Some account `who` was thawed. */ + /** + * Some account `who` was thawed. + **/ Thawed: AugmentedEvent< ApiType, [assetId: u128, who: AccountId20], { assetId: u128; who: AccountId20 } >; - /** Some account `who` was created with a deposit from `depositor`. */ + /** + * Some account `who` was created with a deposit from `depositor`. + **/ Touched: AugmentedEvent< ApiType, [assetId: u128, who: AccountId20, depositor: AccountId20], { assetId: u128; who: AccountId20; depositor: AccountId20 } >; - /** Some assets were transferred. */ + /** + * Some assets were transferred. + **/ Transferred: AugmentedEvent< ApiType, [assetId: u128, from: AccountId20, to: AccountId20, amount: u128], { assetId: u128; from: AccountId20; to: AccountId20; amount: u128 } >; - /** An `amount` was transferred in its entirety from `owner` to `destination` by the approved `delegate`. */ + /** + * An `amount` was transferred in its entirety from `owner` to `destination` by + * the approved `delegate`. + **/ TransferredApproved: AugmentedEvent< ApiType, [ @@ -246,23 +313,33 @@ declare module "@polkadot/api-base/types/events" { amount: u128; } >; - /** Some assets were withdrawn from the account (e.g. for transaction fees). */ + /** + * Some assets were withdrawn from the account (e.g. for transaction fees). + **/ Withdrawn: AugmentedEvent< ApiType, [assetId: u128, who: AccountId20, amount: u128], { assetId: u128; who: AccountId20; amount: u128 } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; authorFilter: { - /** The amount of eligible authors for the filter to select has been changed. */ + /** + * The amount of eligible authors for the filter to select has been changed. + **/ EligibleUpdated: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; authorMapping: { - /** A NimbusId has been registered and mapped to an AccountId. */ + /** + * A NimbusId has been registered and mapped to an AccountId. + **/ KeysRegistered: AugmentedEvent< ApiType, [ @@ -276,7 +353,9 @@ declare module "@polkadot/api-base/types/events" { keys_: SessionKeysPrimitivesVrfVrfCryptoPublic; } >; - /** An NimbusId has been de-registered, and its AccountId mapping removed. */ + /** + * An NimbusId has been de-registered, and its AccountId mapping removed. + **/ KeysRemoved: AugmentedEvent< ApiType, [ @@ -290,7 +369,9 @@ declare module "@polkadot/api-base/types/events" { keys_: SessionKeysPrimitivesVrfVrfCryptoPublic; } >; - /** An NimbusId has been registered, replacing a previous registration and its mapping. */ + /** + * An NimbusId has been registered, replacing a previous registration and its mapping. + **/ KeysRotated: AugmentedEvent< ApiType, [ @@ -304,75 +385,97 @@ declare module "@polkadot/api-base/types/events" { newKeys: SessionKeysPrimitivesVrfVrfCryptoPublic; } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; balances: { - /** A balance was set by root. */ + /** + * A balance was set by root. + **/ BalanceSet: AugmentedEvent< ApiType, [who: AccountId20, free: u128], { who: AccountId20; free: u128 } >; - /** Some amount was burned from an account. */ + /** + * Some amount was burned from an account. + **/ Burned: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Some amount was deposited (e.g. for transaction fees). */ + /** + * Some amount was deposited (e.g. for transaction fees). + **/ Deposit: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; /** - * An account was removed whose balance was non-zero but below ExistentialDeposit, resulting - * in an outright loss. - */ + * An account was removed whose balance was non-zero but below ExistentialDeposit, + * resulting in an outright loss. + **/ DustLost: AugmentedEvent< ApiType, [account: AccountId20, amount: u128], { account: AccountId20; amount: u128 } >; - /** An account was created with some free balance. */ + /** + * An account was created with some free balance. + **/ Endowed: AugmentedEvent< ApiType, [account: AccountId20, freeBalance: u128], { account: AccountId20; freeBalance: u128 } >; - /** Some balance was frozen. */ + /** + * Some balance was frozen. + **/ Frozen: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Total issuance was increased by `amount`, creating a credit to be balanced. */ + /** + * Total issuance was increased by `amount`, creating a credit to be balanced. + **/ Issued: AugmentedEvent; - /** Some balance was locked. */ + /** + * Some balance was locked. + **/ Locked: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Some amount was minted into an account. */ + /** + * Some amount was minted into an account. + **/ Minted: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Total issuance was decreased by `amount`, creating a debt to be balanced. */ + /** + * Total issuance was decreased by `amount`, creating a debt to be balanced. + **/ Rescinded: AugmentedEvent; - /** Some balance was reserved (moved from free to reserved). */ + /** + * Some balance was reserved (moved from free to reserved). + **/ Reserved: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; /** - * Some balance was moved from the reserve of the first account to the second account. Final - * argument indicates the destination balance type. - */ + * Some balance was moved from the reserve of the first account to the second account. + * Final argument indicates the destination balance type. + **/ ReserveRepatriated: AugmentedEvent< ApiType, [ @@ -388,121 +491,178 @@ declare module "@polkadot/api-base/types/events" { destinationStatus: FrameSupportTokensMiscBalanceStatus; } >; - /** Some amount was restored into an account. */ + /** + * Some amount was restored into an account. + **/ Restored: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Some amount was removed from the account (e.g. for misbehavior). */ + /** + * Some amount was removed from the account (e.g. for misbehavior). + **/ Slashed: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Some amount was suspended from an account (it can be restored later). */ + /** + * Some amount was suspended from an account (it can be restored later). + **/ Suspended: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Some balance was thawed. */ + /** + * Some balance was thawed. + **/ Thawed: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** The `TotalIssuance` was forcefully changed. */ + /** + * The `TotalIssuance` was forcefully changed. + **/ TotalIssuanceForced: AugmentedEvent< ApiType, [old: u128, new_: u128], { old: u128; new_: u128 } >; - /** Transfer succeeded. */ + /** + * Transfer succeeded. + **/ Transfer: AugmentedEvent< ApiType, [from: AccountId20, to: AccountId20, amount: u128], { from: AccountId20; to: AccountId20; amount: u128 } >; - /** Some balance was unlocked. */ + /** + * Some balance was unlocked. + **/ Unlocked: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Some balance was unreserved (moved from reserved to free). */ + /** + * Some balance was unreserved (moved from reserved to free). + **/ Unreserved: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** An account was upgraded. */ + /** + * An account was upgraded. + **/ Upgraded: AugmentedEvent; - /** Some amount was withdrawn from the account (e.g. for transaction fees). */ + /** + * Some amount was withdrawn from the account (e.g. for transaction fees). + **/ Withdraw: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; convictionVoting: { - /** An account has delegated their vote to another account. [who, target] */ + /** + * An account has delegated their vote to another account. \[who, target\] + **/ Delegated: AugmentedEvent; - /** An [account] has cancelled a previous delegation operation. */ + /** + * An \[account\] has cancelled a previous delegation operation. + **/ Undelegated: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; crowdloanRewards: { - /** When initializing the reward vec an already initialized account was found */ + /** + * When initializing the reward vec an already initialized account was found + **/ InitializedAccountWithNotEnoughContribution: AugmentedEvent< ApiType, [U8aFixed, Option, u128] >; - /** When initializing the reward vec an already initialized account was found */ + /** + * When initializing the reward vec an already initialized account was found + **/ InitializedAlreadyInitializedAccount: AugmentedEvent< ApiType, [U8aFixed, Option, u128] >; - /** The initial payment of InitializationPayment % was paid */ + /** + * The initial payment of InitializationPayment % was paid + **/ InitialPaymentMade: AugmentedEvent; /** - * Someone has proven they made a contribution and associated a native identity with it. Data - * is the relay account, native account and the total amount of _rewards_ that will be paid - */ + * Someone has proven they made a contribution and associated a native identity with it. + * Data is the relay account, native account and the total amount of _rewards_ that will be paid + **/ NativeIdentityAssociated: AugmentedEvent; - /** A contributor has updated the reward address. */ + /** + * A contributor has updated the reward address. + **/ RewardAddressUpdated: AugmentedEvent; /** - * A contributor has claimed some rewards. Data is the account getting paid and the amount of - * rewards paid. - */ + * A contributor has claimed some rewards. + * Data is the account getting paid and the amount of rewards paid. + **/ RewardsPaid: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; cumulusXcm: { - /** Downward message executed with the given outcome. [ id, outcome ] */ + /** + * Downward message executed with the given outcome. + * \[ id, outcome \] + **/ ExecutedDownward: AugmentedEvent; - /** Downward message is invalid XCM. [ id ] */ + /** + * Downward message is invalid XCM. + * \[ id \] + **/ InvalidFormat: AugmentedEvent; - /** Downward message is unsupported version of XCM. [ id ] */ + /** + * Downward message is unsupported version of XCM. + * \[ id \] + **/ UnsupportedVersion: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; emergencyParaXcm: { - /** The XCM incoming execution was Paused */ + /** + * The XCM incoming execution was Paused + **/ EnteredPausedXcmMode: AugmentedEvent; - /** The XCM incoming execution returned to normal operation */ + /** + * The XCM incoming execution returned to normal operation + **/ NormalXcmOperationResumed: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; ethereum: { - /** An ethereum transaction was successfully executed. */ + /** + * An ethereum transaction was successfully executed. + **/ Executed: AugmentedEvent< ApiType, [ @@ -520,35 +680,55 @@ declare module "@polkadot/api-base/types/events" { extraData: Bytes; } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; ethereumXcm: { - /** Ethereum transaction executed from XCM */ + /** + * Ethereum transaction executed from XCM + **/ ExecutedFromXcm: AugmentedEvent< ApiType, [xcmMsgHash: H256, ethTxHash: H256], { xcmMsgHash: H256; ethTxHash: H256 } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; evm: { - /** A contract has been created at given address. */ + /** + * A contract has been created at given address. + **/ Created: AugmentedEvent; - /** A contract was attempted to be created, but the execution failed. */ + /** + * A contract was attempted to be created, but the execution failed. + **/ CreatedFailed: AugmentedEvent; - /** A contract has been executed successfully with states applied. */ + /** + * A contract has been executed successfully with states applied. + **/ Executed: AugmentedEvent; - /** A contract has been executed with errors. States are reverted with only gas fees applied. */ + /** + * A contract has been executed with errors. States are reverted with only gas fees applied. + **/ ExecutedFailed: AugmentedEvent; - /** Ethereum events from contracts. */ + /** + * Ethereum events from contracts. + **/ Log: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; evmForeignAssets: { - /** New asset with the asset manager is registered */ + /** + * New asset with the asset manager is registered + **/ ForeignAssetCreated: AugmentedEvent< ApiType, [contractAddress: H160, assetId: u128, xcmLocation: StagingXcmV4Location], @@ -564,19 +744,27 @@ declare module "@polkadot/api-base/types/events" { [assetId: u128, xcmLocation: StagingXcmV4Location], { assetId: u128; xcmLocation: StagingXcmV4Location } >; - /** Changed the xcm type mapping for a given asset id */ + /** + * Changed the xcm type mapping for a given asset id + **/ ForeignAssetXcmLocationChanged: AugmentedEvent< ApiType, [assetId: u128, newXcmLocation: StagingXcmV4Location], { assetId: u128; newXcmLocation: StagingXcmV4Location } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; identity: { - /** A username authority was added. */ + /** + * A username authority was added. + **/ AuthorityAdded: AugmentedEvent; - /** A username authority was removed. */ + /** + * A username authority was removed. + **/ AuthorityRemoved: AugmentedEvent< ApiType, [authority: AccountId20], @@ -585,112 +773,152 @@ declare module "@polkadot/api-base/types/events" { /** * A dangling username (as in, a username corresponding to an account that has removed its * identity) has been removed. - */ + **/ DanglingUsernameRemoved: AugmentedEvent< ApiType, [who: AccountId20, username: Bytes], { who: AccountId20; username: Bytes } >; - /** A name was cleared, and the given balance returned. */ + /** + * A name was cleared, and the given balance returned. + **/ IdentityCleared: AugmentedEvent< ApiType, [who: AccountId20, deposit: u128], { who: AccountId20; deposit: u128 } >; - /** A name was removed and the given balance slashed. */ + /** + * A name was removed and the given balance slashed. + **/ IdentityKilled: AugmentedEvent< ApiType, [who: AccountId20, deposit: u128], { who: AccountId20; deposit: u128 } >; - /** A name was set or reset (which will remove all judgements). */ + /** + * A name was set or reset (which will remove all judgements). + **/ IdentitySet: AugmentedEvent; - /** A judgement was given by a registrar. */ + /** + * A judgement was given by a registrar. + **/ JudgementGiven: AugmentedEvent< ApiType, [target: AccountId20, registrarIndex: u32], { target: AccountId20; registrarIndex: u32 } >; - /** A judgement was asked from a registrar. */ + /** + * A judgement was asked from a registrar. + **/ JudgementRequested: AugmentedEvent< ApiType, [who: AccountId20, registrarIndex: u32], { who: AccountId20; registrarIndex: u32 } >; - /** A judgement request was retracted. */ + /** + * A judgement request was retracted. + **/ JudgementUnrequested: AugmentedEvent< ApiType, [who: AccountId20, registrarIndex: u32], { who: AccountId20; registrarIndex: u32 } >; - /** A queued username passed its expiration without being claimed and was removed. */ + /** + * A queued username passed its expiration without being claimed and was removed. + **/ PreapprovalExpired: AugmentedEvent; - /** A username was set as a primary and can be looked up from `who`. */ + /** + * A username was set as a primary and can be looked up from `who`. + **/ PrimaryUsernameSet: AugmentedEvent< ApiType, [who: AccountId20, username: Bytes], { who: AccountId20; username: Bytes } >; - /** A registrar was added. */ + /** + * A registrar was added. + **/ RegistrarAdded: AugmentedEvent; - /** A sub-identity was added to an identity and the deposit paid. */ + /** + * A sub-identity was added to an identity and the deposit paid. + **/ SubIdentityAdded: AugmentedEvent< ApiType, [sub: AccountId20, main: AccountId20, deposit: u128], { sub: AccountId20; main: AccountId20; deposit: u128 } >; - /** A sub-identity was removed from an identity and the deposit freed. */ + /** + * A sub-identity was removed from an identity and the deposit freed. + **/ SubIdentityRemoved: AugmentedEvent< ApiType, [sub: AccountId20, main: AccountId20, deposit: u128], { sub: AccountId20; main: AccountId20; deposit: u128 } >; /** - * A sub-identity was cleared, and the given deposit repatriated from the main identity - * account to the sub-identity account. - */ + * A sub-identity was cleared, and the given deposit repatriated from the + * main identity account to the sub-identity account. + **/ SubIdentityRevoked: AugmentedEvent< ApiType, [sub: AccountId20, main: AccountId20, deposit: u128], { sub: AccountId20; main: AccountId20; deposit: u128 } >; - /** A username was queued, but `who` must accept it prior to `expiration`. */ + /** + * A username was queued, but `who` must accept it prior to `expiration`. + **/ UsernameQueued: AugmentedEvent< ApiType, [who: AccountId20, username: Bytes, expiration: u32], { who: AccountId20; username: Bytes; expiration: u32 } >; - /** A username was set for `who`. */ + /** + * A username was set for `who`. + **/ UsernameSet: AugmentedEvent< ApiType, [who: AccountId20, username: Bytes], { who: AccountId20; username: Bytes } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; maintenanceMode: { - /** The chain was put into Maintenance Mode */ + /** + * The chain was put into Maintenance Mode + **/ EnteredMaintenanceMode: AugmentedEvent; - /** The call to resume on_idle XCM execution failed with inner error */ + /** + * The call to resume on_idle XCM execution failed with inner error + **/ FailedToResumeIdleXcmExecution: AugmentedEvent< ApiType, [error: SpRuntimeDispatchError], { error: SpRuntimeDispatchError } >; - /** The call to suspend on_idle XCM execution failed with inner error */ + /** + * The call to suspend on_idle XCM execution failed with inner error + **/ FailedToSuspendIdleXcmExecution: AugmentedEvent< ApiType, [error: SpRuntimeDispatchError], { error: SpRuntimeDispatchError } >; - /** The chain returned to its normal operating state */ + /** + * The chain returned to its normal operating state + **/ NormalOperationResumed: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; messageQueue: { - /** Message placed in overweight queue. */ + /** + * Message placed in overweight queue. + **/ OverweightEnqueued: AugmentedEvent< ApiType, [ @@ -706,13 +934,17 @@ declare module "@polkadot/api-base/types/events" { messageIndex: u32; } >; - /** This page was reaped. */ + /** + * This page was reaped. + **/ PageReaped: AugmentedEvent< ApiType, [origin: CumulusPrimitivesCoreAggregateMessageOrigin, index: u32], { origin: CumulusPrimitivesCoreAggregateMessageOrigin; index: u32 } >; - /** Message is processed. */ + /** + * Message is processed. + **/ Processed: AugmentedEvent< ApiType, [ @@ -728,7 +960,9 @@ declare module "@polkadot/api-base/types/events" { success: bool; } >; - /** Message discarded due to an error in the `MessageProcessor` (usually a format error). */ + /** + * Message discarded due to an error in the `MessageProcessor` (usually a format error). + **/ ProcessingFailed: AugmentedEvent< ApiType, [ @@ -742,61 +976,85 @@ declare module "@polkadot/api-base/types/events" { error: FrameSupportMessagesProcessMessageError; } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; migrations: { - /** XCM execution resume failed with inner error */ + /** + * XCM execution resume failed with inner error + **/ FailedToResumeIdleXcmExecution: AugmentedEvent< ApiType, [error: SpRuntimeDispatchError], { error: SpRuntimeDispatchError } >; - /** XCM execution suspension failed with inner error */ + /** + * XCM execution suspension failed with inner error + **/ FailedToSuspendIdleXcmExecution: AugmentedEvent< ApiType, [error: SpRuntimeDispatchError], { error: SpRuntimeDispatchError } >; - /** Migration completed */ + /** + * Migration completed + **/ MigrationCompleted: AugmentedEvent< ApiType, [migrationName: Bytes, consumedWeight: SpWeightsWeightV2Weight], { migrationName: Bytes; consumedWeight: SpWeightsWeightV2Weight } >; - /** Migration started */ + /** + * Migration started + **/ MigrationStarted: AugmentedEvent; - /** Runtime upgrade completed */ + /** + * Runtime upgrade completed + **/ RuntimeUpgradeCompleted: AugmentedEvent< ApiType, [weight: SpWeightsWeightV2Weight], { weight: SpWeightsWeightV2Weight } >; - /** Runtime upgrade started */ + /** + * Runtime upgrade started + **/ RuntimeUpgradeStarted: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; moonbeamOrbiters: { - /** An orbiter join a collator pool */ + /** + * An orbiter join a collator pool + **/ OrbiterJoinCollatorPool: AugmentedEvent< ApiType, [collator: AccountId20, orbiter: AccountId20], { collator: AccountId20; orbiter: AccountId20 } >; - /** An orbiter leave a collator pool */ + /** + * An orbiter leave a collator pool + **/ OrbiterLeaveCollatorPool: AugmentedEvent< ApiType, [collator: AccountId20, orbiter: AccountId20], { collator: AccountId20; orbiter: AccountId20 } >; - /** An orbiter has registered */ + /** + * An orbiter has registered + **/ OrbiterRegistered: AugmentedEvent< ApiType, [account: AccountId20, deposit: u128], { account: AccountId20; deposit: u128 } >; - /** Paid the orbiter account the balance as liquid rewards. */ + /** + * Paid the orbiter account the balance as liquid rewards. + **/ OrbiterRewarded: AugmentedEvent< ApiType, [account: AccountId20, rewards: u128], @@ -807,17 +1065,23 @@ declare module "@polkadot/api-base/types/events" { [collator: AccountId20, oldOrbiter: Option, newOrbiter: Option], { collator: AccountId20; oldOrbiter: Option; newOrbiter: Option } >; - /** An orbiter has unregistered */ + /** + * An orbiter has unregistered + **/ OrbiterUnregistered: AugmentedEvent< ApiType, [account: AccountId20], { account: AccountId20 } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; multisig: { - /** A multisig operation has been approved by someone. */ + /** + * A multisig operation has been approved by someone. + **/ MultisigApproval: AugmentedEvent< ApiType, [ @@ -833,7 +1097,9 @@ declare module "@polkadot/api-base/types/events" { callHash: U8aFixed; } >; - /** A multisig operation has been cancelled. */ + /** + * A multisig operation has been cancelled. + **/ MultisigCancelled: AugmentedEvent< ApiType, [ @@ -849,7 +1115,9 @@ declare module "@polkadot/api-base/types/events" { callHash: U8aFixed; } >; - /** A multisig operation has been executed. */ + /** + * A multisig operation has been executed. + **/ MultisigExecuted: AugmentedEvent< ApiType, [ @@ -867,64 +1135,87 @@ declare module "@polkadot/api-base/types/events" { result: Result; } >; - /** A new multisig operation has begun. */ + /** + * A new multisig operation has begun. + **/ NewMultisig: AugmentedEvent< ApiType, [approving: AccountId20, multisig: AccountId20, callHash: U8aFixed], { approving: AccountId20; multisig: AccountId20; callHash: U8aFixed } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; openTechCommitteeCollective: { - /** A motion was approved by the required threshold. */ + /** + * A motion was approved by the required threshold. + **/ Approved: AugmentedEvent; - /** A proposal was closed because its threshold was reached or after its duration was up. */ + /** + * A proposal was closed because its threshold was reached or after its duration was up. + **/ Closed: AugmentedEvent< ApiType, [proposalHash: H256, yes: u32, no: u32], { proposalHash: H256; yes: u32; no: u32 } >; - /** A motion was not approved by the required threshold. */ + /** + * A motion was not approved by the required threshold. + **/ Disapproved: AugmentedEvent; - /** A motion was executed; result will be `Ok` if it returned without error. */ + /** + * A motion was executed; result will be `Ok` if it returned without error. + **/ Executed: AugmentedEvent< ApiType, [proposalHash: H256, result: Result], { proposalHash: H256; result: Result } >; - /** A single member did some action; result will be `Ok` if it returned without error. */ + /** + * A single member did some action; result will be `Ok` if it returned without error. + **/ MemberExecuted: AugmentedEvent< ApiType, [proposalHash: H256, result: Result], { proposalHash: H256; result: Result } >; - /** A motion (given hash) has been proposed (by given account) with a threshold (given `MemberCount`). */ + /** + * A motion (given hash) has been proposed (by given account) with a threshold (given + * `MemberCount`). + **/ Proposed: AugmentedEvent< ApiType, [account: AccountId20, proposalIndex: u32, proposalHash: H256, threshold: u32], { account: AccountId20; proposalIndex: u32; proposalHash: H256; threshold: u32 } >; /** - * A motion (given hash) has been voted on by given account, leaving a tally (yes votes and no - * votes given respectively as `MemberCount`). - */ + * A motion (given hash) has been voted on by given account, leaving + * a tally (yes votes and no votes given respectively as `MemberCount`). + **/ Voted: AugmentedEvent< ApiType, [account: AccountId20, proposalHash: H256, voted: bool, yes: u32, no: u32], { account: AccountId20; proposalHash: H256; voted: bool; yes: u32; no: u32 } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; parachainStaking: { - /** Auto-compounding reward percent was set for a delegation. */ + /** + * Auto-compounding reward percent was set for a delegation. + **/ AutoCompoundSet: AugmentedEvent< ApiType, [candidate: AccountId20, delegator: AccountId20, value: Percent], { candidate: AccountId20; delegator: AccountId20; value: Percent } >; - /** Set blocks per round */ + /** + * Set blocks per round + **/ BlocksPerRoundSet: AugmentedEvent< ApiType, [ @@ -946,19 +1237,25 @@ declare module "@polkadot/api-base/types/events" { newPerRoundInflationMax: Perbill; } >; - /** Cancelled request to decrease candidate's bond. */ + /** + * Cancelled request to decrease candidate's bond. + **/ CancelledCandidateBondLess: AugmentedEvent< ApiType, [candidate: AccountId20, amount: u128, executeRound: u32], { candidate: AccountId20; amount: u128; executeRound: u32 } >; - /** Cancelled request to leave the set of candidates. */ + /** + * Cancelled request to leave the set of candidates. + **/ CancelledCandidateExit: AugmentedEvent< ApiType, [candidate: AccountId20], { candidate: AccountId20 } >; - /** Cancelled request to change an existing delegation. */ + /** + * Cancelled request to change an existing delegation. + **/ CancelledDelegationRequest: AugmentedEvent< ApiType, [ @@ -972,67 +1269,89 @@ declare module "@polkadot/api-base/types/events" { collator: AccountId20; } >; - /** Candidate rejoins the set of collator candidates. */ + /** + * Candidate rejoins the set of collator candidates. + **/ CandidateBackOnline: AugmentedEvent< ApiType, [candidate: AccountId20], { candidate: AccountId20 } >; - /** Candidate has decreased a self bond. */ + /** + * Candidate has decreased a self bond. + **/ CandidateBondedLess: AugmentedEvent< ApiType, [candidate: AccountId20, amount: u128, newBond: u128], { candidate: AccountId20; amount: u128; newBond: u128 } >; - /** Candidate has increased a self bond. */ + /** + * Candidate has increased a self bond. + **/ CandidateBondedMore: AugmentedEvent< ApiType, [candidate: AccountId20, amount: u128, newTotalBond: u128], { candidate: AccountId20; amount: u128; newTotalBond: u128 } >; - /** Candidate requested to decrease a self bond. */ + /** + * Candidate requested to decrease a self bond. + **/ CandidateBondLessRequested: AugmentedEvent< ApiType, [candidate: AccountId20, amountToDecrease: u128, executeRound: u32], { candidate: AccountId20; amountToDecrease: u128; executeRound: u32 } >; - /** Candidate has left the set of candidates. */ + /** + * Candidate has left the set of candidates. + **/ CandidateLeft: AugmentedEvent< ApiType, [exCandidate: AccountId20, unlockedAmount: u128, newTotalAmtLocked: u128], { exCandidate: AccountId20; unlockedAmount: u128; newTotalAmtLocked: u128 } >; - /** Candidate has requested to leave the set of candidates. */ + /** + * Candidate has requested to leave the set of candidates. + **/ CandidateScheduledExit: AugmentedEvent< ApiType, [exitAllowedRound: u32, candidate: AccountId20, scheduledExit: u32], { exitAllowedRound: u32; candidate: AccountId20; scheduledExit: u32 } >; - /** Candidate temporarily leave the set of collator candidates without unbonding. */ + /** + * Candidate temporarily leave the set of collator candidates without unbonding. + **/ CandidateWentOffline: AugmentedEvent< ApiType, [candidate: AccountId20], { candidate: AccountId20 } >; - /** Candidate selected for collators. Total Exposed Amount includes all delegations. */ + /** + * Candidate selected for collators. Total Exposed Amount includes all delegations. + **/ CollatorChosen: AugmentedEvent< ApiType, [round: u32, collatorAccount: AccountId20, totalExposedAmount: u128], { round: u32; collatorAccount: AccountId20; totalExposedAmount: u128 } >; - /** Set collator commission to this value. */ + /** + * Set collator commission to this value. + **/ CollatorCommissionSet: AugmentedEvent< ApiType, [old: Perbill, new_: Perbill], { old: Perbill; new_: Perbill } >; - /** Compounded a portion of rewards towards the delegation. */ + /** + * Compounded a portion of rewards towards the delegation. + **/ Compounded: AugmentedEvent< ApiType, [candidate: AccountId20, delegator: AccountId20, amount: u128], { candidate: AccountId20; delegator: AccountId20; amount: u128 } >; - /** New delegation (increase of the existing one). */ + /** + * New delegation (increase of the existing one). + **/ Delegation: AugmentedEvent< ApiType, [ @@ -1055,7 +1374,9 @@ declare module "@polkadot/api-base/types/events" { [delegator: AccountId20, candidate: AccountId20, amount: u128, inTop: bool], { delegator: AccountId20; candidate: AccountId20; amount: u128; inTop: bool } >; - /** Delegator requested to decrease a bond for the collator candidate. */ + /** + * Delegator requested to decrease a bond for the collator candidate. + **/ DelegationDecreaseScheduled: AugmentedEvent< ApiType, [delegator: AccountId20, candidate: AccountId20, amountToDecrease: u128, executeRound: u32], @@ -1071,43 +1392,57 @@ declare module "@polkadot/api-base/types/events" { [delegator: AccountId20, candidate: AccountId20, amount: u128, inTop: bool], { delegator: AccountId20; candidate: AccountId20; amount: u128; inTop: bool } >; - /** Delegation kicked. */ + /** + * Delegation kicked. + **/ DelegationKicked: AugmentedEvent< ApiType, [delegator: AccountId20, candidate: AccountId20, unstakedAmount: u128], { delegator: AccountId20; candidate: AccountId20; unstakedAmount: u128 } >; - /** Delegator requested to revoke delegation. */ + /** + * Delegator requested to revoke delegation. + **/ DelegationRevocationScheduled: AugmentedEvent< ApiType, [round: u32, delegator: AccountId20, candidate: AccountId20, scheduledExit: u32], { round: u32; delegator: AccountId20; candidate: AccountId20; scheduledExit: u32 } >; - /** Delegation revoked. */ + /** + * Delegation revoked. + **/ DelegationRevoked: AugmentedEvent< ApiType, [delegator: AccountId20, candidate: AccountId20, unstakedAmount: u128], { delegator: AccountId20; candidate: AccountId20; unstakedAmount: u128 } >; - /** Cancelled a pending request to exit the set of delegators. */ + /** + * Cancelled a pending request to exit the set of delegators. + **/ DelegatorExitCancelled: AugmentedEvent< ApiType, [delegator: AccountId20], { delegator: AccountId20 } >; - /** Delegator requested to leave the set of delegators. */ + /** + * Delegator requested to leave the set of delegators. + **/ DelegatorExitScheduled: AugmentedEvent< ApiType, [round: u32, delegator: AccountId20, scheduledExit: u32], { round: u32; delegator: AccountId20; scheduledExit: u32 } >; - /** Delegator has left the set of delegators. */ + /** + * Delegator has left the set of delegators. + **/ DelegatorLeft: AugmentedEvent< ApiType, [delegator: AccountId20, unstakedAmount: u128], { delegator: AccountId20; unstakedAmount: u128 } >; - /** Delegation from candidate state has been remove. */ + /** + * Delegation from candidate state has been remove. + **/ DelegatorLeftCandidate: AugmentedEvent< ApiType, [ @@ -1123,7 +1458,9 @@ declare module "@polkadot/api-base/types/events" { totalCandidateStaked: u128; } >; - /** Transferred to account which holds funds reserved for parachain bond. */ + /** + * Transferred to account which holds funds reserved for parachain bond. + **/ InflationDistributed: AugmentedEvent< ApiType, [index: u32, account: AccountId20, value: u128], @@ -1140,7 +1477,9 @@ declare module "@polkadot/api-base/types/events" { new_: PalletParachainStakingInflationDistributionConfig; } >; - /** Annual inflation input (first 3) was used to derive new per-round inflation (last 3) */ + /** + * Annual inflation input (first 3) was used to derive new per-round inflation (last 3) + **/ InflationSet: AugmentedEvent< ApiType, [ @@ -1160,61 +1499,87 @@ declare module "@polkadot/api-base/types/events" { roundMax: Perbill; } >; - /** Account joined the set of collator candidates. */ + /** + * Account joined the set of collator candidates. + **/ JoinedCollatorCandidates: AugmentedEvent< ApiType, [account: AccountId20, amountLocked: u128, newTotalAmtLocked: u128], { account: AccountId20; amountLocked: u128; newTotalAmtLocked: u128 } >; - /** Started new round. */ + /** + * Started new round. + **/ NewRound: AugmentedEvent< ApiType, [startingBlock: u32, round: u32, selectedCollatorsNumber: u32, totalBalance: u128], { startingBlock: u32; round: u32; selectedCollatorsNumber: u32; totalBalance: u128 } >; - /** Paid the account (delegator or collator) the balance as liquid rewards. */ + /** + * Paid the account (delegator or collator) the balance as liquid rewards. + **/ Rewarded: AugmentedEvent< ApiType, [account: AccountId20, rewards: u128], { account: AccountId20; rewards: u128 } >; - /** Staking expectations set. */ + /** + * Staking expectations set. + **/ StakeExpectationsSet: AugmentedEvent< ApiType, [expectMin: u128, expectIdeal: u128, expectMax: u128], { expectMin: u128; expectIdeal: u128; expectMax: u128 } >; - /** Set total selected candidates to this value. */ + /** + * Set total selected candidates to this value. + **/ TotalSelectedSet: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; parachainSystem: { - /** Downward messages were processed using the given weight. */ + /** + * Downward messages were processed using the given weight. + **/ DownwardMessagesProcessed: AugmentedEvent< ApiType, [weightUsed: SpWeightsWeightV2Weight, dmqHead: H256], { weightUsed: SpWeightsWeightV2Weight; dmqHead: H256 } >; - /** Some downward messages have been received and will be processed. */ + /** + * Some downward messages have been received and will be processed. + **/ DownwardMessagesReceived: AugmentedEvent; - /** An upward message was sent to the relay chain. */ + /** + * An upward message was sent to the relay chain. + **/ UpwardMessageSent: AugmentedEvent< ApiType, [messageHash: Option], { messageHash: Option } >; - /** The validation function was applied as of the contained relay chain block number. */ + /** + * The validation function was applied as of the contained relay chain block number. + **/ ValidationFunctionApplied: AugmentedEvent< ApiType, [relayChainBlockNum: u32], { relayChainBlockNum: u32 } >; - /** The relay-chain aborted the upgrade process. */ + /** + * The relay-chain aborted the upgrade process. + **/ ValidationFunctionDiscarded: AugmentedEvent; - /** The validation function has been scheduled to apply. */ + /** + * The validation function has been scheduled to apply. + **/ ValidationFunctionStored: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; parameters: { @@ -1222,7 +1587,7 @@ declare module "@polkadot/api-base/types/events" { * A Parameter was set. * * Is also emitted when the value was not changed. - */ + **/ Updated: AugmentedEvent< ApiType, [ @@ -1236,39 +1601,49 @@ declare module "@polkadot/api-base/types/events" { newValue: Option; } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; polkadotXcm: { - /** Some assets have been claimed from an asset trap */ + /** + * Some assets have been claimed from an asset trap + **/ AssetsClaimed: AugmentedEvent< ApiType, [hash_: H256, origin: StagingXcmV4Location, assets: XcmVersionedAssets], { hash_: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets } >; - /** Some assets have been placed in an asset trap. */ + /** + * Some assets have been placed in an asset trap. + **/ AssetsTrapped: AugmentedEvent< ApiType, [hash_: H256, origin: StagingXcmV4Location, assets: XcmVersionedAssets], { hash_: H256; origin: StagingXcmV4Location; assets: XcmVersionedAssets } >; - /** Execution of an XCM message was attempted. */ + /** + * Execution of an XCM message was attempted. + **/ Attempted: AugmentedEvent< ApiType, [outcome: StagingXcmV4TraitsOutcome], { outcome: StagingXcmV4TraitsOutcome } >; - /** Fees were paid from a location for an operation (often for using `SendXcm`). */ + /** + * Fees were paid from a location for an operation (often for using `SendXcm`). + **/ FeesPaid: AugmentedEvent< ApiType, [paying: StagingXcmV4Location, fees: StagingXcmV4AssetAssets], { paying: StagingXcmV4Location; fees: StagingXcmV4AssetAssets } >; /** - * Expected query response has been received but the querier location of the response does not - * match the expected. The query remains registered for a later, valid, response to be - * received and acted upon. - */ + * Expected query response has been received but the querier location of the response does + * not match the expected. The query remains registered for a later, valid, response to + * be received and acted upon. + **/ InvalidQuerier: AugmentedEvent< ApiType, [ @@ -1288,20 +1663,21 @@ declare module "@polkadot/api-base/types/events" { * Expected query response has been received but the expected querier location placed in * storage by this runtime previously cannot be decoded. The query remains registered. * - * This is unexpected (since a location placed in storage in a previously executing runtime - * should be readable prior to query timeout) and dangerous since the possibly valid response - * will be dropped. Manual governance intervention is probably going to be needed. - */ + * This is unexpected (since a location placed in storage in a previously executing + * runtime should be readable prior to query timeout) and dangerous since the possibly + * valid response will be dropped. Manual governance intervention is probably going to be + * needed. + **/ InvalidQuerierVersion: AugmentedEvent< ApiType, [origin: StagingXcmV4Location, queryId: u64], { origin: StagingXcmV4Location; queryId: u64 } >; /** - * Expected query response has been received but the origin location of the response does not - * match that expected. The query remains registered for a later, valid, response to be - * received and acted upon. - */ + * Expected query response has been received but the origin location of the response does + * not match that expected. The query remains registered for a later, valid, response to + * be received and acted upon. + **/ InvalidResponder: AugmentedEvent< ApiType, [ @@ -1319,19 +1695,20 @@ declare module "@polkadot/api-base/types/events" { * Expected query response has been received but the expected origin location placed in * storage by this runtime previously cannot be decoded. The query remains registered. * - * This is unexpected (since a location placed in storage in a previously executing runtime - * should be readable prior to query timeout) and dangerous since the possibly valid response - * will be dropped. Manual governance intervention is probably going to be needed. - */ + * This is unexpected (since a location placed in storage in a previously executing + * runtime should be readable prior to query timeout) and dangerous since the possibly + * valid response will be dropped. Manual governance intervention is probably going to be + * needed. + **/ InvalidResponderVersion: AugmentedEvent< ApiType, [origin: StagingXcmV4Location, queryId: u64], { origin: StagingXcmV4Location; queryId: u64 } >; /** - * Query response has been received and query is removed. The registered notification has been - * dispatched and executed successfully. - */ + * Query response has been received and query is removed. The registered notification has + * been dispatched and executed successfully. + **/ Notified: AugmentedEvent< ApiType, [queryId: u64, palletIndex: u8, callIndex: u8], @@ -1339,9 +1716,9 @@ declare module "@polkadot/api-base/types/events" { >; /** * Query response has been received and query is removed. The dispatch was unable to be - * decoded into a `Call`; this might be due to dispatch function having a signature which is - * not `(origin, QueryId, Response)`. - */ + * decoded into a `Call`; this might be due to dispatch function having a signature which + * is not `(origin, QueryId, Response)`. + **/ NotifyDecodeFailed: AugmentedEvent< ApiType, [queryId: u64, palletIndex: u8, callIndex: u8], @@ -1350,17 +1727,17 @@ declare module "@polkadot/api-base/types/events" { /** * Query response has been received and query is removed. There was a general error with * dispatching the notification call. - */ + **/ NotifyDispatchError: AugmentedEvent< ApiType, [queryId: u64, palletIndex: u8, callIndex: u8], { queryId: u64; palletIndex: u8; callIndex: u8 } >; /** - * Query response has been received and query is removed. The registered notification could - * not be dispatched because the dispatch weight is greater than the maximum weight originally - * budgeted by this runtime for the query result. - */ + * Query response has been received and query is removed. The registered notification + * could not be dispatched because the dispatch weight is greater than the maximum weight + * originally budgeted by this runtime for the query result. + **/ NotifyOverweight: AugmentedEvent< ApiType, [ @@ -1381,7 +1758,7 @@ declare module "@polkadot/api-base/types/events" { /** * A given location which had a version change subscription was dropped owing to an error * migrating the location to our new XCM format. - */ + **/ NotifyTargetMigrationFail: AugmentedEvent< ApiType, [location: XcmVersionedLocation, queryId: u64], @@ -1390,24 +1767,28 @@ declare module "@polkadot/api-base/types/events" { /** * A given location which had a version change subscription was dropped owing to an error * sending the notification to it. - */ + **/ NotifyTargetSendFail: AugmentedEvent< ApiType, [location: StagingXcmV4Location, queryId: u64, error: XcmV3TraitsError], { location: StagingXcmV4Location; queryId: u64; error: XcmV3TraitsError } >; /** - * Query response has been received and is ready for taking with `take_response`. There is no - * registered notification call. - */ + * Query response has been received and is ready for taking with `take_response`. There is + * no registered notification call. + **/ ResponseReady: AugmentedEvent< ApiType, [queryId: u64, response: StagingXcmV4Response], { queryId: u64; response: StagingXcmV4Response } >; - /** Received query response has been read and removed. */ + /** + * Received query response has been read and removed. + **/ ResponseTaken: AugmentedEvent; - /** A XCM message was sent. */ + /** + * A XCM message was sent. + **/ Sent: AugmentedEvent< ApiType, [ @@ -1424,9 +1805,9 @@ declare module "@polkadot/api-base/types/events" { } >; /** - * The supported version of a location has been changed. This might be through an automatic - * notification or a manual intervention. - */ + * The supported version of a location has been changed. This might be through an + * automatic notification or a manual intervention. + **/ SupportedVersionChanged: AugmentedEvent< ApiType, [location: StagingXcmV4Location, version: u32], @@ -1436,7 +1817,7 @@ declare module "@polkadot/api-base/types/events" { * Query response received which does not match a registered query. This may be because a * matching query was never registered, it may be because it is a duplicate response, or * because the query timed out. - */ + **/ UnexpectedResponse: AugmentedEvent< ApiType, [origin: StagingXcmV4Location, queryId: u64], @@ -1446,7 +1827,7 @@ declare module "@polkadot/api-base/types/events" { * An XCM version change notification message has been attempted to be sent. * * The cost of sending it (borne by the chain) is included. - */ + **/ VersionChangeNotified: AugmentedEvent< ApiType, [ @@ -1462,50 +1843,71 @@ declare module "@polkadot/api-base/types/events" { messageId: U8aFixed; } >; - /** A XCM version migration finished. */ + /** + * A XCM version migration finished. + **/ VersionMigrationFinished: AugmentedEvent; - /** We have requested that a remote chain send us XCM version change notifications. */ + /** + * We have requested that a remote chain send us XCM version change notifications. + **/ VersionNotifyRequested: AugmentedEvent< ApiType, [destination: StagingXcmV4Location, cost: StagingXcmV4AssetAssets, messageId: U8aFixed], { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: U8aFixed } >; /** - * A remote has requested XCM version change notification from us and we have honored it. A - * version information message is sent to them and its cost is included. - */ + * A remote has requested XCM version change notification from us and we have honored it. + * A version information message is sent to them and its cost is included. + **/ VersionNotifyStarted: AugmentedEvent< ApiType, [destination: StagingXcmV4Location, cost: StagingXcmV4AssetAssets, messageId: U8aFixed], { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: U8aFixed } >; - /** We have requested that a remote chain stops sending us XCM version change notifications. */ + /** + * We have requested that a remote chain stops sending us XCM version change + * notifications. + **/ VersionNotifyUnrequested: AugmentedEvent< ApiType, [destination: StagingXcmV4Location, cost: StagingXcmV4AssetAssets, messageId: U8aFixed], { destination: StagingXcmV4Location; cost: StagingXcmV4AssetAssets; messageId: U8aFixed } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; preimage: { - /** A preimage has ben cleared. */ + /** + * A preimage has ben cleared. + **/ Cleared: AugmentedEvent; - /** A preimage has been noted. */ + /** + * A preimage has been noted. + **/ Noted: AugmentedEvent; - /** A preimage has been requested. */ + /** + * A preimage has been requested. + **/ Requested: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; proxy: { - /** An announcement was placed to make a call in the future. */ + /** + * An announcement was placed to make a call in the future. + **/ Announced: AugmentedEvent< ApiType, [real: AccountId20, proxy: AccountId20, callHash: H256], { real: AccountId20; proxy: AccountId20; callHash: H256 } >; - /** A proxy was added. */ + /** + * A proxy was added. + **/ ProxyAdded: AugmentedEvent< ApiType, [ @@ -1521,13 +1923,17 @@ declare module "@polkadot/api-base/types/events" { delay: u32; } >; - /** A proxy was executed correctly, with the given. */ + /** + * A proxy was executed correctly, with the given. + **/ ProxyExecuted: AugmentedEvent< ApiType, [result: Result], { result: Result } >; - /** A proxy was removed. */ + /** + * A proxy was removed. + **/ ProxyRemoved: AugmentedEvent< ApiType, [ @@ -1543,7 +1949,10 @@ declare module "@polkadot/api-base/types/events" { delay: u32; } >; - /** A pure account has been created by new proxy with given disambiguation index and proxy type. */ + /** + * A pure account has been created by new proxy with given + * disambiguation index and proxy type. + **/ PureCreated: AugmentedEvent< ApiType, [ @@ -1559,7 +1968,9 @@ declare module "@polkadot/api-base/types/events" { disambiguationIndex: u16; } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; randomness: { @@ -1616,39 +2027,53 @@ declare module "@polkadot/api-base/types/events" { { id: u64; newFee: u128 } >; RequestFulfilled: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; referenda: { - /** A referendum has been approved and its proposal has been scheduled. */ + /** + * A referendum has been approved and its proposal has been scheduled. + **/ Approved: AugmentedEvent; - /** A referendum has been cancelled. */ + /** + * A referendum has been cancelled. + **/ Cancelled: AugmentedEvent< ApiType, [index: u32, tally: PalletConvictionVotingTally], { index: u32; tally: PalletConvictionVotingTally } >; ConfirmAborted: AugmentedEvent; - /** A referendum has ended its confirmation phase and is ready for approval. */ + /** + * A referendum has ended its confirmation phase and is ready for approval. + **/ Confirmed: AugmentedEvent< ApiType, [index: u32, tally: PalletConvictionVotingTally], { index: u32; tally: PalletConvictionVotingTally } >; ConfirmStarted: AugmentedEvent; - /** The decision deposit has been placed. */ + /** + * The decision deposit has been placed. + **/ DecisionDepositPlaced: AugmentedEvent< ApiType, [index: u32, who: AccountId20, amount: u128], { index: u32; who: AccountId20; amount: u128 } >; - /** The decision deposit has been refunded. */ + /** + * The decision deposit has been refunded. + **/ DecisionDepositRefunded: AugmentedEvent< ApiType, [index: u32, who: AccountId20, amount: u128], { index: u32; who: AccountId20; amount: u128 } >; - /** A referendum has moved into the deciding phase. */ + /** + * A referendum has moved into the deciding phase. + **/ DecisionStarted: AugmentedEvent< ApiType, [ @@ -1664,69 +2089,97 @@ declare module "@polkadot/api-base/types/events" { tally: PalletConvictionVotingTally; } >; - /** A deposit has been slashed. */ + /** + * A deposit has been slashed. + **/ DepositSlashed: AugmentedEvent< ApiType, [who: AccountId20, amount: u128], { who: AccountId20; amount: u128 } >; - /** A referendum has been killed. */ + /** + * A referendum has been killed. + **/ Killed: AugmentedEvent< ApiType, [index: u32, tally: PalletConvictionVotingTally], { index: u32; tally: PalletConvictionVotingTally } >; - /** Metadata for a referendum has been cleared. */ + /** + * Metadata for a referendum has been cleared. + **/ MetadataCleared: AugmentedEvent< ApiType, [index: u32, hash_: H256], { index: u32; hash_: H256 } >; - /** Metadata for a referendum has been set. */ + /** + * Metadata for a referendum has been set. + **/ MetadataSet: AugmentedEvent; - /** A proposal has been rejected by referendum. */ + /** + * A proposal has been rejected by referendum. + **/ Rejected: AugmentedEvent< ApiType, [index: u32, tally: PalletConvictionVotingTally], { index: u32; tally: PalletConvictionVotingTally } >; - /** The submission deposit has been refunded. */ + /** + * The submission deposit has been refunded. + **/ SubmissionDepositRefunded: AugmentedEvent< ApiType, [index: u32, who: AccountId20, amount: u128], { index: u32; who: AccountId20; amount: u128 } >; - /** A referendum has been submitted. */ + /** + * A referendum has been submitted. + **/ Submitted: AugmentedEvent< ApiType, [index: u32, track: u16, proposal: FrameSupportPreimagesBounded], { index: u32; track: u16; proposal: FrameSupportPreimagesBounded } >; - /** A referendum has been timed out without being decided. */ + /** + * A referendum has been timed out without being decided. + **/ TimedOut: AugmentedEvent< ApiType, [index: u32, tally: PalletConvictionVotingTally], { index: u32; tally: PalletConvictionVotingTally } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; rootTesting: { - /** Event dispatched when the trigger_defensive extrinsic is called. */ + /** + * Event dispatched when the trigger_defensive extrinsic is called. + **/ DefensiveTestCall: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; scheduler: { - /** The call for the provided hash was not found so the task has been aborted. */ + /** + * The call for the provided hash was not found so the task has been aborted. + **/ CallUnavailable: AugmentedEvent< ApiType, [task: ITuple<[u32, u32]>, id: Option], { task: ITuple<[u32, u32]>; id: Option } >; - /** Canceled some task. */ + /** + * Canceled some task. + **/ Canceled: AugmentedEvent; - /** Dispatched some task. */ + /** + * Dispatched some task. + **/ Dispatched: AugmentedEvent< ApiType, [ @@ -1740,93 +2193,125 @@ declare module "@polkadot/api-base/types/events" { result: Result; } >; - /** The given task was unable to be renewed since the agenda is full at that block. */ + /** + * The given task was unable to be renewed since the agenda is full at that block. + **/ PeriodicFailed: AugmentedEvent< ApiType, [task: ITuple<[u32, u32]>, id: Option], { task: ITuple<[u32, u32]>; id: Option } >; - /** The given task can never be executed since it is overweight. */ + /** + * The given task can never be executed since it is overweight. + **/ PermanentlyOverweight: AugmentedEvent< ApiType, [task: ITuple<[u32, u32]>, id: Option], { task: ITuple<[u32, u32]>; id: Option } >; - /** Cancel a retry configuration for some task. */ + /** + * Cancel a retry configuration for some task. + **/ RetryCancelled: AugmentedEvent< ApiType, [task: ITuple<[u32, u32]>, id: Option], { task: ITuple<[u32, u32]>; id: Option } >; /** - * The given task was unable to be retried since the agenda is full at that block or there was - * not enough weight to reschedule it. - */ + * The given task was unable to be retried since the agenda is full at that block or there + * was not enough weight to reschedule it. + **/ RetryFailed: AugmentedEvent< ApiType, [task: ITuple<[u32, u32]>, id: Option], { task: ITuple<[u32, u32]>; id: Option } >; - /** Set a retry configuration for some task. */ + /** + * Set a retry configuration for some task. + **/ RetrySet: AugmentedEvent< ApiType, [task: ITuple<[u32, u32]>, id: Option, period: u32, retries: u8], { task: ITuple<[u32, u32]>; id: Option; period: u32; retries: u8 } >; - /** Scheduled some task. */ + /** + * Scheduled some task. + **/ Scheduled: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; system: { - /** `:code` was updated. */ + /** + * `:code` was updated. + **/ CodeUpdated: AugmentedEvent; - /** An extrinsic failed. */ + /** + * An extrinsic failed. + **/ ExtrinsicFailed: AugmentedEvent< ApiType, [dispatchError: SpRuntimeDispatchError, dispatchInfo: FrameSupportDispatchDispatchInfo], { dispatchError: SpRuntimeDispatchError; dispatchInfo: FrameSupportDispatchDispatchInfo } >; - /** An extrinsic completed successfully. */ + /** + * An extrinsic completed successfully. + **/ ExtrinsicSuccess: AugmentedEvent< ApiType, [dispatchInfo: FrameSupportDispatchDispatchInfo], { dispatchInfo: FrameSupportDispatchDispatchInfo } >; - /** An account was reaped. */ + /** + * An account was reaped. + **/ KilledAccount: AugmentedEvent; - /** A new account was created. */ + /** + * A new account was created. + **/ NewAccount: AugmentedEvent; - /** On on-chain remark happened. */ + /** + * On on-chain remark happened. + **/ Remarked: AugmentedEvent< ApiType, [sender: AccountId20, hash_: H256], { sender: AccountId20; hash_: H256 } >; - /** An upgrade was authorized. */ + /** + * An upgrade was authorized. + **/ UpgradeAuthorized: AugmentedEvent< ApiType, [codeHash: H256, checkVersion: bool], { codeHash: H256; checkVersion: bool } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; transactionPayment: { /** - * A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee, has - * been paid by `who`. - */ + * A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee, + * has been paid by `who`. + **/ TransactionFeePaid: AugmentedEvent< ApiType, [who: AccountId20, actualFee: u128, tip: u128], { who: AccountId20; actualFee: u128; tip: u128 } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; treasury: { - /** A new asset spend proposal has been approved. */ + /** + * A new asset spend proposal has been approved. + **/ AssetSpendApproved: AugmentedEvent< ApiType, [ @@ -1846,120 +2331,169 @@ declare module "@polkadot/api-base/types/events" { expireAt: u32; } >; - /** An approved spend was voided. */ + /** + * An approved spend was voided. + **/ AssetSpendVoided: AugmentedEvent; - /** Some funds have been allocated. */ + /** + * Some funds have been allocated. + **/ Awarded: AugmentedEvent< ApiType, [proposalIndex: u32, award: u128, account: AccountId20], { proposalIndex: u32; award: u128; account: AccountId20 } >; - /** Some of our funds have been burnt. */ + /** + * Some of our funds have been burnt. + **/ Burnt: AugmentedEvent; - /** Some funds have been deposited. */ + /** + * Some funds have been deposited. + **/ Deposit: AugmentedEvent; - /** A payment happened. */ + /** + * A payment happened. + **/ Paid: AugmentedEvent; - /** A payment failed and can be retried. */ + /** + * A payment failed and can be retried. + **/ PaymentFailed: AugmentedEvent< ApiType, [index: u32, paymentId: Null], { index: u32; paymentId: Null } >; - /** Spending has finished; this is the amount that rolls over until next spend. */ + /** + * Spending has finished; this is the amount that rolls over until next spend. + **/ Rollover: AugmentedEvent; - /** A new spend proposal has been approved. */ + /** + * A new spend proposal has been approved. + **/ SpendApproved: AugmentedEvent< ApiType, [proposalIndex: u32, amount: u128, beneficiary: AccountId20], { proposalIndex: u32; amount: u128; beneficiary: AccountId20 } >; - /** We have ended a spend period and will now allocate funds. */ + /** + * We have ended a spend period and will now allocate funds. + **/ Spending: AugmentedEvent; /** - * A spend was processed and removed from the storage. It might have been successfully paid or - * it may have expired. - */ + * A spend was processed and removed from the storage. It might have been successfully + * paid or it may have expired. + **/ SpendProcessed: AugmentedEvent; - /** The inactive funds of the pallet have been updated. */ + /** + * The inactive funds of the pallet have been updated. + **/ UpdatedInactive: AugmentedEvent< ApiType, [reactivated: u128, deactivated: u128], { reactivated: u128; deactivated: u128 } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; treasuryCouncilCollective: { - /** A motion was approved by the required threshold. */ + /** + * A motion was approved by the required threshold. + **/ Approved: AugmentedEvent; - /** A proposal was closed because its threshold was reached or after its duration was up. */ + /** + * A proposal was closed because its threshold was reached or after its duration was up. + **/ Closed: AugmentedEvent< ApiType, [proposalHash: H256, yes: u32, no: u32], { proposalHash: H256; yes: u32; no: u32 } >; - /** A motion was not approved by the required threshold. */ + /** + * A motion was not approved by the required threshold. + **/ Disapproved: AugmentedEvent; - /** A motion was executed; result will be `Ok` if it returned without error. */ + /** + * A motion was executed; result will be `Ok` if it returned without error. + **/ Executed: AugmentedEvent< ApiType, [proposalHash: H256, result: Result], { proposalHash: H256; result: Result } >; - /** A single member did some action; result will be `Ok` if it returned without error. */ + /** + * A single member did some action; result will be `Ok` if it returned without error. + **/ MemberExecuted: AugmentedEvent< ApiType, [proposalHash: H256, result: Result], { proposalHash: H256; result: Result } >; - /** A motion (given hash) has been proposed (by given account) with a threshold (given `MemberCount`). */ + /** + * A motion (given hash) has been proposed (by given account) with a threshold (given + * `MemberCount`). + **/ Proposed: AugmentedEvent< ApiType, [account: AccountId20, proposalIndex: u32, proposalHash: H256, threshold: u32], { account: AccountId20; proposalIndex: u32; proposalHash: H256; threshold: u32 } >; /** - * A motion (given hash) has been voted on by given account, leaving a tally (yes votes and no - * votes given respectively as `MemberCount`). - */ + * A motion (given hash) has been voted on by given account, leaving + * a tally (yes votes and no votes given respectively as `MemberCount`). + **/ Voted: AugmentedEvent< ApiType, [account: AccountId20, proposalHash: H256, voted: bool, yes: u32, no: u32], { account: AccountId20; proposalHash: H256; voted: bool; yes: u32; no: u32 } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; utility: { - /** Batch of dispatches completed fully with no error. */ + /** + * Batch of dispatches completed fully with no error. + **/ BatchCompleted: AugmentedEvent; - /** Batch of dispatches completed but has errors. */ + /** + * Batch of dispatches completed but has errors. + **/ BatchCompletedWithErrors: AugmentedEvent; /** - * Batch of dispatches did not complete fully. Index of first failing dispatch given, as well - * as the error. - */ + * Batch of dispatches did not complete fully. Index of first failing dispatch given, as + * well as the error. + **/ BatchInterrupted: AugmentedEvent< ApiType, [index: u32, error: SpRuntimeDispatchError], { index: u32; error: SpRuntimeDispatchError } >; - /** A call was dispatched. */ + /** + * A call was dispatched. + **/ DispatchedAs: AugmentedEvent< ApiType, [result: Result], { result: Result } >; - /** A single item within a Batch of dispatches has completed with no error. */ + /** + * A single item within a Batch of dispatches has completed with no error. + **/ ItemCompleted: AugmentedEvent; - /** A single item within a Batch of dispatches has completed with error. */ + /** + * A single item within a Batch of dispatches has completed with error. + **/ ItemFailed: AugmentedEvent< ApiType, [error: SpRuntimeDispatchError], { error: SpRuntimeDispatchError } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; whitelist: { @@ -1976,66 +2510,90 @@ declare module "@polkadot/api-base/types/events" { } >; WhitelistedCallRemoved: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; xcmpQueue: { - /** An HRMP message was sent to a sibling parachain. */ + /** + * An HRMP message was sent to a sibling parachain. + **/ XcmpMessageSent: AugmentedEvent; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; xcmTransactor: { DeRegisteredDerivative: AugmentedEvent; - /** Set dest fee per second */ + /** + * Set dest fee per second + **/ DestFeePerSecondChanged: AugmentedEvent< ApiType, [location: StagingXcmV4Location, feePerSecond: u128], { location: StagingXcmV4Location; feePerSecond: u128 } >; - /** Remove dest fee per second */ + /** + * Remove dest fee per second + **/ DestFeePerSecondRemoved: AugmentedEvent< ApiType, [location: StagingXcmV4Location], { location: StagingXcmV4Location } >; - /** HRMP manage action succesfully sent */ + /** + * HRMP manage action succesfully sent + **/ HrmpManagementSent: AugmentedEvent< ApiType, [action: PalletXcmTransactorHrmpOperation], { action: PalletXcmTransactorHrmpOperation } >; - /** Registered a derivative index for an account id. */ + /** + * Registered a derivative index for an account id. + **/ RegisteredDerivative: AugmentedEvent< ApiType, [accountId: AccountId20, index: u16], { accountId: AccountId20; index: u16 } >; - /** Transacted the inner call through a derivative account in a destination chain. */ + /** + * Transacted the inner call through a derivative account in a destination chain. + **/ TransactedDerivative: AugmentedEvent< ApiType, [accountId: AccountId20, dest: StagingXcmV4Location, call: Bytes, index: u16], { accountId: AccountId20; dest: StagingXcmV4Location; call: Bytes; index: u16 } >; - /** Transacted the call through a signed account in a destination chain. */ + /** + * Transacted the call through a signed account in a destination chain. + **/ TransactedSigned: AugmentedEvent< ApiType, [feePayer: AccountId20, dest: StagingXcmV4Location, call: Bytes], { feePayer: AccountId20; dest: StagingXcmV4Location; call: Bytes } >; - /** Transacted the call through the sovereign account in a destination chain. */ + /** + * Transacted the call through the sovereign account in a destination chain. + **/ TransactedSovereign: AugmentedEvent< ApiType, [feePayer: Option, dest: StagingXcmV4Location, call: Bytes], { feePayer: Option; dest: StagingXcmV4Location; call: Bytes } >; - /** Transact failed */ + /** + * Transact failed + **/ TransactFailed: AugmentedEvent< ApiType, [error: XcmV3TraitsError], { error: XcmV3TraitsError } >; - /** Changed the transact info of a location */ + /** + * Changed the transact info of a location + **/ TransactInfoChanged: AugmentedEvent< ApiType, [ @@ -2047,47 +2605,63 @@ declare module "@polkadot/api-base/types/events" { remoteInfo: PalletXcmTransactorRemoteTransactInfoWithMaxWeight; } >; - /** Removed the transact info of a location */ + /** + * Removed the transact info of a location + **/ TransactInfoRemoved: AugmentedEvent< ApiType, [location: StagingXcmV4Location], { location: StagingXcmV4Location } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; xcmWeightTrader: { - /** Pause support for a given asset */ + /** + * Pause support for a given asset + **/ PauseAssetSupport: AugmentedEvent< ApiType, [location: StagingXcmV4Location], { location: StagingXcmV4Location } >; - /** Resume support for a given asset */ + /** + * Resume support for a given asset + **/ ResumeAssetSupport: AugmentedEvent< ApiType, [location: StagingXcmV4Location], { location: StagingXcmV4Location } >; - /** New supported asset is registered */ + /** + * New supported asset is registered + **/ SupportedAssetAdded: AugmentedEvent< ApiType, [location: StagingXcmV4Location, relativePrice: u128], { location: StagingXcmV4Location; relativePrice: u128 } >; - /** Changed the amount of units we are charging per execution second for a given asset */ + /** + * Changed the amount of units we are charging per execution second for a given asset + **/ SupportedAssetEdited: AugmentedEvent< ApiType, [location: StagingXcmV4Location, relativePrice: u128], { location: StagingXcmV4Location; relativePrice: u128 } >; - /** Supported asset type for fee payment removed */ + /** + * Supported asset type for fee payment removed + **/ SupportedAssetRemoved: AugmentedEvent< ApiType, [location: StagingXcmV4Location], { location: StagingXcmV4Location } >; - /** Generic event */ + /** + * Generic event + **/ [key: string]: AugmentedEvent; }; } // AugmentedEvents diff --git a/typescript-api/src/moonriver/interfaces/augment-api-query.ts b/typescript-api/src/moonriver/interfaces/augment-api-query.ts index d2e4b517ed..08ce4d35a8 100644 --- a/typescript-api/src/moonriver/interfaces/augment-api-query.ts +++ b/typescript-api/src/moonriver/interfaces/augment-api-query.ts @@ -21,7 +21,7 @@ import type { u128, u16, u32, - u64, + u64 } from "@polkadot/types-codec"; import type { AnyNumber, ITuple } from "@polkadot/types-codec/types"; import type { @@ -30,7 +30,7 @@ import type { H160, H256, Perbill, - Percent, + Percent } from "@polkadot/types/interfaces/runtime"; import type { CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot, @@ -121,7 +121,7 @@ import type { StagingXcmV4Location, StagingXcmV4Xcm, XcmVersionedAssetId, - XcmVersionedLocation, + XcmVersionedLocation } from "@polkadot/types/lookup"; import type { Observable } from "@polkadot/types/types"; @@ -132,9 +132,10 @@ declare module "@polkadot/api-base/types/storage" { interface AugmentedQueries { assetManager: { /** - * Mapping from an asset id to asset type. This is mostly used when receiving transaction - * specifying an asset directly, like transferring an asset from this chain to another. - */ + * Mapping from an asset id to asset type. + * This is mostly used when receiving transaction specifying an asset directly, + * like transferring an asset from this chain to another. + **/ assetIdType: AugmentedQuery< ApiType, ( @@ -144,10 +145,10 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * Reverse mapping of AssetIdType. Mapping from an asset type to an asset id. This is mostly - * used when receiving a multilocation XCM message to retrieve the corresponding asset in - * which tokens should me minted. - */ + * Reverse mapping of AssetIdType. Mapping from an asset type to an asset id. + * This is mostly used when receiving a multilocation XCM message to retrieve + * the corresponding asset in which tokens should me minted. + **/ assetTypeId: AugmentedQuery< ApiType, ( @@ -156,11 +157,15 @@ declare module "@polkadot/api-base/types/storage" { [MoonriverRuntimeXcmConfigAssetType] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; assets: { - /** The holdings of a specific account for a specific asset. */ + /** + * The holdings of a specific account for a specific asset. + **/ account: AugmentedQuery< ApiType, ( @@ -171,10 +176,10 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * Approved balance transfers. First balance is the amount approved for transfer. Second is - * the amount of `T::Currency` reserved for storing this. First key is the asset ID, second - * key is the owner and third key is the delegate. - */ + * Approved balance transfers. First balance is the amount approved for transfer. Second + * is the amount of `T::Currency` reserved for storing this. + * First key is the asset ID, second key is the owner and third key is the delegate. + **/ approvals: AugmentedQuery< ApiType, ( @@ -185,14 +190,18 @@ declare module "@polkadot/api-base/types/storage" { [u128, AccountId20, AccountId20] > & QueryableStorageEntry; - /** Details of an asset. */ + /** + * Details of an asset. + **/ asset: AugmentedQuery< ApiType, (arg: u128 | AnyNumber | Uint8Array) => Observable>, [u128] > & QueryableStorageEntry; - /** Metadata of an asset. */ + /** + * Metadata of an asset. + **/ metadata: AugmentedQuery< ApiType, (arg: u128 | AnyNumber | Uint8Array) => Observable, @@ -209,44 +218,61 @@ declare module "@polkadot/api-base/types/storage" { * * The initial next asset ID can be set using the [`GenesisConfig`] or the * [SetNextAssetId](`migration::next_asset_id::SetNextAssetId`) migration. - */ + **/ nextAssetId: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; asyncBacking: { /** * First tuple element is the highest slot that has been seen in the history of this chain. - * Second tuple element is the number of authored blocks so far. This is a strictly-increasing - * value if T::AllowMultipleBlocksPerSlot = false. - */ + * Second tuple element is the number of authored blocks so far. + * This is a strictly-increasing value if T::AllowMultipleBlocksPerSlot = false. + **/ slotInfo: AugmentedQuery Observable>>, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; authorFilter: { - /** The number of active authors that will be eligible at each height. */ + /** + * The number of active authors that will be eligible at each height. + **/ eligibleCount: AugmentedQuery Observable, []> & QueryableStorageEntry; eligibleRatio: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; authorInherent: { - /** Author of current block. */ + /** + * Author of current block. + **/ author: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Check if the inherent was included */ + /** + * Check if the inherent was included + **/ inherentIncluded: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; authorMapping: { - /** We maintain a mapping from the NimbusIds used in the consensus layer to the AccountIds runtime. */ + /** + * We maintain a mapping from the NimbusIds used in the consensus layer + * to the AccountIds runtime. + **/ mappingWithDeposit: AugmentedQuery< ApiType, ( @@ -255,7 +281,9 @@ declare module "@polkadot/api-base/types/storage" { [NimbusPrimitivesNimbusCryptoPublic] > & QueryableStorageEntry; - /** We maintain a reverse mapping from AccountIds to NimbusIDS */ + /** + * We maintain a reverse mapping from AccountIds to NimbusIDS + **/ nimbusLookup: AugmentedQuery< ApiType, ( @@ -264,7 +292,9 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; balances: { @@ -291,23 +321,27 @@ declare module "@polkadot/api-base/types/storage" { * * But this comes with tradeoffs, storing account balances in the system pallet stores * `frame_system` data alongside the account data contrary to storing account balances in the - * `Balances` pallet, which uses a `StorageMap` to store balances data only. NOTE: This is - * only used in the case that this pallet is used to store balances. - */ + * `Balances` pallet, which uses a `StorageMap` to store balances data only. + * NOTE: This is only used in the case that this pallet is used to store balances. + **/ account: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable, [AccountId20] > & QueryableStorageEntry; - /** Freeze locks on account balances. */ + /** + * Freeze locks on account balances. + **/ freezes: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable>, [AccountId20] > & QueryableStorageEntry; - /** Holds on account balances. */ + /** + * Holds on account balances. + **/ holds: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable< @@ -321,16 +355,17 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** The total units of outstanding deactivated balance in the system. */ + /** + * The total units of outstanding deactivated balance in the system. + **/ inactiveIssuance: AugmentedQuery Observable, []> & QueryableStorageEntry; /** - * Any liquidity locks on some account balances. NOTE: Should only be accessed when setting, - * changing and freeing a lock. + * Any liquidity locks on some account balances. + * NOTE: Should only be accessed when setting, changing and freeing a lock. * - * Use of locks is deprecated in favour of freezes. See - * `https://github.com/paritytech/substrate/pull/12951/` - */ + * Use of locks is deprecated in favour of freezes. See `https://github.com/paritytech/substrate/pull/12951/` + **/ locks: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable>, @@ -340,19 +375,22 @@ declare module "@polkadot/api-base/types/storage" { /** * Named reserves on some account balances. * - * Use of reserves is deprecated in favour of holds. See - * `https://github.com/paritytech/substrate/pull/12951/` - */ + * Use of reserves is deprecated in favour of holds. See `https://github.com/paritytech/substrate/pull/12951/` + **/ reserves: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable>, [AccountId20] > & QueryableStorageEntry; - /** The total units issued in the system. */ + /** + * The total units issued in the system. + **/ totalIssuance: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; convictionVoting: { @@ -360,7 +398,7 @@ declare module "@polkadot/api-base/types/storage" { * The voting classes which have a non-zero lock requirement and the lock amounts which they * require. The actual amount locked on behalf of this pallet should always be the maximum of * this list. - */ + **/ classLocksFor: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable>>, @@ -368,9 +406,9 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * All voting for a particular voter in a particular voting class. We store the balance for - * the number of votes that we have recorded. - */ + * All voting for a particular voter in a particular voting class. We store the balance for the + * number of votes that we have recorded. + **/ votingFor: AugmentedQuery< ApiType, ( @@ -380,7 +418,9 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20, u16] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; crowdloanRewards: { @@ -398,7 +438,9 @@ declare module "@polkadot/api-base/types/storage" { [U8aFixed] > & QueryableStorageEntry; - /** Vesting block height at the initialization of the pallet */ + /** + * Vesting block height at the initialization of the pallet + **/ endRelayBlock: AugmentedQuery Observable, []> & QueryableStorageEntry; initialized: AugmentedQuery Observable, []> & @@ -406,13 +448,17 @@ declare module "@polkadot/api-base/types/storage" { /** * Total initialized amount so far. We store this to make pallet funds == contributors reward * check easier and more efficient - */ + **/ initializedRewardAmount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Vesting block height at the initialization of the pallet */ + /** + * Vesting block height at the initialization of the pallet + **/ initRelayBlock: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Total number of contributors to aid hinting benchmarking */ + /** + * Total number of contributors to aid hinting benchmarking + **/ totalContributors: AugmentedQuery Observable, []> & QueryableStorageEntry; unassociatedContributions: AugmentedQuery< @@ -423,14 +469,20 @@ declare module "@polkadot/api-base/types/storage" { [U8aFixed] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; emergencyParaXcm: { - /** Whether incoming XCM is enabled or paused */ + /** + * Whether incoming XCM is enabled or paused + **/ mode: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; ethereum: { @@ -440,24 +492,32 @@ declare module "@polkadot/api-base/types/storage" { [U256] > & QueryableStorageEntry; - /** The current Ethereum block. */ + /** + * The current Ethereum block. + **/ currentBlock: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** The current Ethereum receipts. */ + /** + * The current Ethereum receipts. + **/ currentReceipts: AugmentedQuery< ApiType, () => Observable>>, [] > & QueryableStorageEntry; - /** The current transaction statuses. */ + /** + * The current transaction statuses. + **/ currentTransactionStatuses: AugmentedQuery< ApiType, () => Observable>>, [] > & QueryableStorageEntry; - /** Current building block's transactions and receipts. */ + /** + * Current building block's transactions and receipts. + **/ pending: AugmentedQuery< ApiType, () => Observable< @@ -470,24 +530,36 @@ declare module "@polkadot/api-base/types/storage" { [] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; ethereumChainId: { - /** The EVM chain ID. */ + /** + * The EVM chain ID. + **/ chainId: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; ethereumXcm: { - /** Whether or not Ethereum-XCM is suspended from executing */ + /** + * Whether or not Ethereum-XCM is suspended from executing + **/ ethereumXcmSuspended: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Global nonce used for building Ethereum transaction payload. */ + /** + * Global nonce used for building Ethereum transaction payload. + **/ nonce: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; evm: { @@ -515,14 +587,17 @@ declare module "@polkadot/api-base/types/storage" { [H160] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; evmForeignAssets: { /** - * Mapping from an asset id to a Foreign asset type. This is mostly used when receiving - * transaction specifying an asset directly, like transferring an asset from this chain to another. - */ + * Mapping from an asset id to a Foreign asset type. + * This is mostly used when receiving transaction specifying an asset directly, + * like transferring an asset from this chain to another. + **/ assetsById: AugmentedQuery< ApiType, (arg: u128 | AnyNumber | Uint8Array) => Observable>, @@ -530,10 +605,10 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * Reverse mapping of AssetsById. Mapping from a foreign asset to an asset id. This is mostly - * used when receiving a multilocation XCM message to retrieve the corresponding asset in - * which tokens should me minted. - */ + * Reverse mapping of AssetsById. Mapping from a foreign asset to an asset id. + * This is mostly used when receiving a multilocation XCM message to retrieve + * the corresponding asset in which tokens should me minted. + **/ assetsByLocation: AugmentedQuery< ApiType, ( @@ -542,10 +617,14 @@ declare module "@polkadot/api-base/types/storage" { [StagingXcmV4Location] > & QueryableStorageEntry; - /** Counter for the related counted storage map */ + /** + * Counter for the related counted storage map + **/ counterForAssetsById: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; identity: { @@ -555,7 +634,7 @@ declare module "@polkadot/api-base/types/storage" { * * Multiple usernames may map to the same `AccountId`, but `IdentityOf` will only map to one * primary username. - */ + **/ accountOfUsername: AugmentedQuery< ApiType, (arg: Bytes | string | Uint8Array) => Observable>, @@ -567,7 +646,7 @@ declare module "@polkadot/api-base/types/storage" { * registration, second is the account's primary username. * * TWOX-NOTE: OK ― `AccountId` is a secure hash. - */ + **/ identityOf: AugmentedQuery< ApiType, ( @@ -583,7 +662,7 @@ declare module "@polkadot/api-base/types/storage" { * [`Call::accept_username`]. * * First tuple item is the account and second is the acceptance deadline. - */ + **/ pendingUsernames: AugmentedQuery< ApiType, (arg: Bytes | string | Uint8Array) => Observable>>, @@ -591,11 +670,11 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * The set of registrars. Not expected to get very big as can only be added through a special - * origin (likely a council motion). + * The set of registrars. Not expected to get very big as can only be added through a + * special origin (likely a council motion). * * The index into this can be cast to `RegistrarIndex` to get a valid value. - */ + **/ registrars: AugmentedQuery< ApiType, () => Observable>>, @@ -608,7 +687,7 @@ declare module "@polkadot/api-base/types/storage" { * The first item is the deposit, the second is a vector of the accounts. * * TWOX-NOTE: OK ― `AccountId` is a secure hash. - */ + **/ subsOf: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable]>>, @@ -618,14 +697,16 @@ declare module "@polkadot/api-base/types/storage" { /** * The super-identity of an alternative "sub" identity together with its name, within that * context. If the account is not some other account's sub-identity, then just `None`. - */ + **/ superOf: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable>>, [AccountId20] > & QueryableStorageEntry; - /** A map of the accounts who are authorized to grant usernames. */ + /** + * A map of the accounts who are authorized to grant usernames. + **/ usernameAuthorities: AugmentedQuery< ApiType, ( @@ -634,18 +715,26 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; maintenanceMode: { - /** Whether the site is in maintenance mode */ + /** + * Whether the site is in maintenance mode + **/ maintenanceMode: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; messageQueue: { - /** The index of the first and last (non-empty) pages. */ + /** + * The index of the first and last (non-empty) pages. + **/ bookStateFor: AugmentedQuery< ApiType, ( @@ -660,7 +749,9 @@ declare module "@polkadot/api-base/types/storage" { [CumulusPrimitivesCoreAggregateMessageOrigin] > & QueryableStorageEntry; - /** The map of page indices to pages. */ + /** + * The map of page indices to pages. + **/ pages: AugmentedQuery< ApiType, ( @@ -676,24 +767,30 @@ declare module "@polkadot/api-base/types/storage" { [CumulusPrimitivesCoreAggregateMessageOrigin, u32] > & QueryableStorageEntry; - /** The origin at which we should begin servicing. */ + /** + * The origin at which we should begin servicing. + **/ serviceHead: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; migrations: { - /** True if all required migrations have completed */ + /** + * True if all required migrations have completed + **/ fullyUpgraded: AugmentedQuery Observable, []> & QueryableStorageEntry; /** - * MigrationState tracks the progress of a migration. Maps name (Vec) -> whether or not - * migration has been completed (bool) - */ + * MigrationState tracks the progress of a migration. + * Maps name (Vec) -> whether or not migration has been completed (bool) + **/ migrationState: AugmentedQuery< ApiType, (arg: Bytes | string | Uint8Array) => Observable, @@ -701,12 +798,14 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * Temporary value that is set to true at the beginning of the block during which the - * execution of xcm messages must be paused. - */ + * Temporary value that is set to true at the beginning of the block during which the execution + * of xcm messages must be paused. + **/ shouldPauseXcm: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; moonbeamLazyMigrations: { @@ -728,18 +827,24 @@ declare module "@polkadot/api-base/types/storage" { [] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; moonbeamOrbiters: { - /** Account lookup override */ + /** + * Account lookup override + **/ accountLookupOverride: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable>>, [AccountId20] > & QueryableStorageEntry; - /** Current orbiters, with their "parent" collator */ + /** + * Current orbiters, with their "parent" collator + **/ collatorsPool: AugmentedQuery< ApiType, ( @@ -748,22 +853,31 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Counter for the related counted storage map */ + /** + * Counter for the related counted storage map + **/ counterForCollatorsPool: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Current round index */ + /** + * Current round index + **/ currentRound: AugmentedQuery Observable, []> & QueryableStorageEntry; /** - * If true, it forces the rotation at the next round. A use case: when changing RotatePeriod, - * you need a migration code that sets this value to true to avoid holes in OrbiterPerRound. - */ + * If true, it forces the rotation at the next round. + * A use case: when changing RotatePeriod, you need a migration code that sets this value to + * true to avoid holes in OrbiterPerRound. + **/ forceRotation: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Minimum deposit required to be registered as an orbiter */ + /** + * Minimum deposit required to be registered as an orbiter + **/ minOrbiterDeposit: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Store active orbiter per round and per parent collator */ + /** + * Store active orbiter per round and per parent collator + **/ orbiterPerRound: AugmentedQuery< ApiType, ( @@ -773,18 +887,24 @@ declare module "@polkadot/api-base/types/storage" { [u32, AccountId20] > & QueryableStorageEntry; - /** Check if account is an orbiter */ + /** + * Check if account is an orbiter + **/ registeredOrbiter: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable>, [AccountId20] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; multisig: { - /** The set of open multisig operations. */ + /** + * The set of open multisig operations. + **/ multisigs: AugmentedQuery< ApiType, ( @@ -794,47 +914,67 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20, U8aFixed] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; openTechCommitteeCollective: { - /** The current members of the collective. This is stored sorted (just by value). */ + /** + * The current members of the collective. This is stored sorted (just by value). + **/ members: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** The prime member that helps determine the default vote behavior in case of abstentions. */ + /** + * The prime member that helps determine the default vote behavior in case of abstentions. + **/ prime: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Proposals so far. */ + /** + * Proposals so far. + **/ proposalCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Actual proposal for a given hash, if it's current. */ + /** + * Actual proposal for a given hash, if it's current. + **/ proposalOf: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable>, [H256] > & QueryableStorageEntry; - /** The hashes of the active proposals. */ + /** + * The hashes of the active proposals. + **/ proposals: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Votes on a given proposal, if it is ongoing. */ + /** + * Votes on a given proposal, if it is ongoing. + **/ voting: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable>, [H256] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; parachainInfo: { parachainId: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; parachainStaking: { - /** Snapshot of collator delegation stake at the start of the round */ + /** + * Snapshot of collator delegation stake at the start of the round + **/ atStake: AugmentedQuery< ApiType, ( @@ -844,7 +984,9 @@ declare module "@polkadot/api-base/types/storage" { [u32, AccountId20] > & QueryableStorageEntry; - /** Stores auto-compounding configuration per collator. */ + /** + * Stores auto-compounding configuration per collator. + **/ autoCompoundingDelegations: AugmentedQuery< ApiType, ( @@ -853,7 +995,9 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Points for each collator per round */ + /** + * Points for each collator per round + **/ awardedPts: AugmentedQuery< ApiType, ( @@ -863,7 +1007,9 @@ declare module "@polkadot/api-base/types/storage" { [u32, AccountId20] > & QueryableStorageEntry; - /** Bottom delegations for collator candidate */ + /** + * Bottom delegations for collator candidate + **/ bottomDelegations: AugmentedQuery< ApiType, ( @@ -872,7 +1018,9 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Get collator candidate info associated with an account if account is candidate else None */ + /** + * Get collator candidate info associated with an account if account is candidate else None + **/ candidateInfo: AugmentedQuery< ApiType, ( @@ -881,17 +1029,23 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** The pool of collator candidates, each with their total backing stake */ + /** + * The pool of collator candidates, each with their total backing stake + **/ candidatePool: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** Commission percent taken off of rewards for all collators */ + /** + * Commission percent taken off of rewards for all collators + **/ collatorCommission: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Delayed payouts */ + /** + * Delayed payouts + **/ delayedPayouts: AugmentedQuery< ApiType, ( @@ -900,7 +1054,9 @@ declare module "@polkadot/api-base/types/storage" { [u32] > & QueryableStorageEntry; - /** Stores outstanding delegation requests per collator. */ + /** + * Stores outstanding delegation requests per collator. + **/ delegationScheduledRequests: AugmentedQuery< ApiType, ( @@ -909,7 +1065,9 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Get delegator state associated with an account if account is delegating else None */ + /** + * Get delegator state associated with an account if account is delegating else None + **/ delegatorState: AugmentedQuery< ApiType, ( @@ -918,10 +1076,14 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Killswitch to enable/disable marking offline feature. */ + /** + * Killswitch to enable/disable marking offline feature. + **/ enableMarkingOffline: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Inflation configuration */ + /** + * Inflation configuration + **/ inflationConfig: AugmentedQuery< ApiType, () => Observable, @@ -933,27 +1095,35 @@ declare module "@polkadot/api-base/types/storage" { * before it is distributed to collators and delegators. * * The sum of the distribution percents must be less than or equal to 100. - */ + **/ inflationDistributionInfo: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** Total points awarded to collators for block production in the round */ + /** + * Total points awarded to collators for block production in the round + **/ points: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable, [u32] > & QueryableStorageEntry; - /** Current round index and next round scheduled transition */ + /** + * Current round index and next round scheduled transition + **/ round: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** The collator candidates selected for the current round */ + /** + * The collator candidates selected for the current round + **/ selectedCandidates: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Top delegations for collator candidate */ + /** + * Top delegations for collator candidate + **/ topDelegations: AugmentedQuery< ApiType, ( @@ -962,21 +1132,27 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Total capital locked by this staking pallet */ + /** + * Total capital locked by this staking pallet + **/ total: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** The total candidates selected every round */ + /** + * The total candidates selected every round + **/ totalSelected: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; parachainSystem: { /** * Storage field that keeps track of bandwidth used by the unincluded segment along with the - * latest HRMP watermark. Used for limiting the acceptance of new blocks with respect to relay - * chain constraints. - */ + * latest HRMP watermark. Used for limiting the acceptance of new blocks with + * respect to relay chain constraints. + **/ aggregatedUnincludedSegment: AugmentedQuery< ApiType, () => Observable>, @@ -986,17 +1162,19 @@ declare module "@polkadot/api-base/types/storage" { /** * The number of HRMP messages we observed in `on_initialize` and thus used that number for * announcing the weight of `on_initialize` and `on_finalize`. - */ + **/ announcedHrmpMessagesPerCandidate: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * A custom head data that should be returned as result of `validate_block`. * * See `Pallet::set_custom_validation_head_data` for more information. - */ + **/ customValidationHeadData: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Were the validation data set to notify the relay chain? */ + /** + * Were the validation data set to notify the relay chain? + **/ didSetValidationCode: AugmentedQuery Observable, []> & QueryableStorageEntry; /** @@ -1006,7 +1184,7 @@ declare module "@polkadot/api-base/types/storage" { * before processing of the inherent, e.g. in `on_initialize` this data may be stale. * * This data is also absent from the genesis. - */ + **/ hostConfiguration: AugmentedQuery< ApiType, () => Observable>, @@ -1017,7 +1195,7 @@ declare module "@polkadot/api-base/types/storage" { * HRMP messages that were sent in a block. * * This will be cleared in `on_initialize` of each new block. - */ + **/ hrmpOutboundMessages: AugmentedQuery< ApiType, () => Observable>, @@ -1028,57 +1206,61 @@ declare module "@polkadot/api-base/types/storage" { * HRMP watermark that was set in a block. * * This will be cleared in `on_initialize` of each new block. - */ + **/ hrmpWatermark: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * The last downward message queue chain head we have observed. * - * This value is loaded before and saved after processing inbound downward messages carried by - * the system inherent. - */ + * This value is loaded before and saved after processing inbound downward messages carried + * by the system inherent. + **/ lastDmqMqcHead: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * The message queue chain heads we have observed per each channel incoming channel. * - * This value is loaded before and saved after processing inbound downward messages carried by - * the system inherent. - */ + * This value is loaded before and saved after processing inbound downward messages carried + * by the system inherent. + **/ lastHrmpMqcHeads: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** * The relay chain block number associated with the last parachain block. * * This is updated in `on_finalize`. - */ + **/ lastRelayChainBlockNumber: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Validation code that is set by the parachain and is to be communicated to collator and * consequently the relay-chain. * - * This will be cleared in `on_initialize` of each new block if no other pallet already set the value. - */ + * This will be cleared in `on_initialize` of each new block if no other pallet already set + * the value. + **/ newValidationCode: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Upward messages that are still pending and not yet send to the relay chain. */ + /** + * Upward messages that are still pending and not yet send to the relay chain. + **/ pendingUpwardMessages: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** - * In case of a scheduled upgrade, this storage field contains the validation code to be applied. + * In case of a scheduled upgrade, this storage field contains the validation code to be + * applied. * * As soon as the relay chain gives us the go-ahead signal, we will overwrite the * [`:code`][sp_core::storage::well_known_keys::CODE] which will result the next block process * with the new validation code. This concludes the upgrade process. - */ + **/ pendingValidationCode: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Number of downward messages processed in a block. * * This will be cleared in `on_initialize` of each new block. - */ + **/ processedDownwardMessages: AugmentedQuery Observable, []> & QueryableStorageEntry; /** @@ -1088,7 +1270,7 @@ declare module "@polkadot/api-base/types/storage" { * before processing of the inherent, e.g. in `on_initialize` this data may be stale. * * This data is also absent from the genesis. - */ + **/ relayStateProof: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** @@ -1099,7 +1281,7 @@ declare module "@polkadot/api-base/types/storage" { * before processing of the inherent, e.g. in `on_initialize` this data may be stale. * * This data is also absent from the genesis. - */ + **/ relevantMessagingState: AugmentedQuery< ApiType, () => Observable< @@ -1111,7 +1293,7 @@ declare module "@polkadot/api-base/types/storage" { /** * The weight we reserve at the beginning of the block for processing DMP messages. This * overrides the amount set in the Config trait. - */ + **/ reservedDmpWeightOverride: AugmentedQuery< ApiType, () => Observable>, @@ -1121,7 +1303,7 @@ declare module "@polkadot/api-base/types/storage" { /** * The weight we reserve at the beginning of the block for processing XCMP messages. This * overrides the amount set in the Config trait. - */ + **/ reservedXcmpWeightOverride: AugmentedQuery< ApiType, () => Observable>, @@ -1129,12 +1311,13 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * Latest included block descendants the runtime accepted. In other words, these are ancestors - * of the currently executing block which have not been included in the observed relay-chain state. + * Latest included block descendants the runtime accepted. In other words, these are + * ancestors of the currently executing block which have not been included in the observed + * relay-chain state. * - * The segment length is limited by the capacity returned from the [`ConsensusHook`] - * configured in the pallet. - */ + * The segment length is limited by the capacity returned from the [`ConsensusHook`] configured + * in the pallet. + **/ unincludedSegment: AugmentedQuery< ApiType, () => Observable>, @@ -1147,7 +1330,7 @@ declare module "@polkadot/api-base/types/storage" { * This storage item is a mirror of the corresponding value for the current parachain from the * relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is * set after the inherent. - */ + **/ upgradeGoAhead: AugmentedQuery< ApiType, () => Observable>, @@ -1155,45 +1338,52 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * An option which indicates if the relay-chain restricts signalling a validation code - * upgrade. In other words, if this is `Some` and [`NewValidationCode`] is `Some` then the - * produced candidate will be invalid. + * An option which indicates if the relay-chain restricts signalling a validation code upgrade. + * In other words, if this is `Some` and [`NewValidationCode`] is `Some` then the produced + * candidate will be invalid. * * This storage item is a mirror of the corresponding value for the current parachain from the * relay-chain. This value is ephemeral which means it doesn't hit the storage. This value is * set after the inherent. - */ + **/ upgradeRestrictionSignal: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** The factor to multiply the base delivery fee by for UMP. */ + /** + * The factor to multiply the base delivery fee by for UMP. + **/ upwardDeliveryFeeFactor: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Upward messages that were sent in a block. * * This will be cleared in `on_initialize` of each new block. - */ + **/ upwardMessages: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** - * The [`PersistedValidationData`] set for this block. This value is expected to be set only - * once per block and it's never stored in the trie. - */ + * The [`PersistedValidationData`] set for this block. + * This value is expected to be set only once per block and it's never stored + * in the trie. + **/ validationData: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; parameters: { - /** Stored parameters. */ + /** + * Stored parameters. + **/ parameters: AugmentedQuery< ApiType, ( @@ -1207,7 +1397,9 @@ declare module "@polkadot/api-base/types/storage" { [MoonriverRuntimeRuntimeParamsRuntimeParametersKey] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; polkadotXcm: { @@ -1216,21 +1408,25 @@ declare module "@polkadot/api-base/types/storage" { * * Key is the blake2 256 hash of (origin, versioned `Assets`) pair. Value is the number of * times this pair has been trapped (usually just 1 if it exists at all). - */ + **/ assetTraps: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable, [H256] > & QueryableStorageEntry; - /** The current migration's stage, if any. */ + /** + * The current migration's stage, if any. + **/ currentMigration: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** Fungible assets which we know are locked on this chain. */ + /** + * Fungible assets which we know are locked on this chain. + **/ lockedFungibles: AugmentedQuery< ApiType, ( @@ -1239,30 +1435,37 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** The ongoing queries. */ + /** + * The ongoing queries. + **/ queries: AugmentedQuery< ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable>, [u64] > & QueryableStorageEntry; - /** The latest available query index. */ + /** + * The latest available query index. + **/ queryCounter: AugmentedQuery Observable, []> & QueryableStorageEntry; /** - * If [`ShouldRecordXcm`] is set to true, then the last XCM program executed locally will be - * stored here. Runtime APIs can fetch the XCM that was executed by accessing this value. + * If [`ShouldRecordXcm`] is set to true, then the last XCM program executed locally + * will be stored here. + * Runtime APIs can fetch the XCM that was executed by accessing this value. * * Only relevant if this pallet is being used as the [`xcm_executor::traits::RecordXcm`] * implementation in the XCM executor configuration. - */ + **/ recordedXcm: AugmentedQuery< ApiType, () => Observable>>, [] > & QueryableStorageEntry; - /** Fungible assets which we know are locked on a remote chain. */ + /** + * Fungible assets which we know are locked on a remote chain. + **/ remoteLockedFungibles: AugmentedQuery< ApiType, ( @@ -1276,20 +1479,23 @@ declare module "@polkadot/api-base/types/storage" { /** * Default version to encode XCM when latest version of destination is unknown. If `None`, * then the destinations whose XCM version is unknown are considered unreachable. - */ + **/ safeXcmVersion: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** - * Whether or not incoming XCMs (both executed locally and received) should be recorded. Only - * one XCM program will be recorded at a time. This is meant to be used in runtime APIs, and - * it's advised it stays false for all other use cases, so as to not degrade regular performance. + * Whether or not incoming XCMs (both executed locally and received) should be recorded. + * Only one XCM program will be recorded at a time. + * This is meant to be used in runtime APIs, and it's advised it stays false + * for all other use cases, so as to not degrade regular performance. * * Only relevant if this pallet is being used as the [`xcm_executor::traits::RecordXcm`] * implementation in the XCM executor configuration. - */ + **/ shouldRecordXcm: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** The Latest versions that we know various locations support. */ + /** + * The Latest versions that we know various locations support. + **/ supportedVersion: AugmentedQuery< ApiType, ( @@ -1303,14 +1509,16 @@ declare module "@polkadot/api-base/types/storage" { * Destinations whose latest XCM version we would like to know. Duplicates not allowed, and * the `u32` counter is the number of times that a send to the destination has been attempted, * which is used as a prioritization. - */ + **/ versionDiscoveryQueue: AugmentedQuery< ApiType, () => Observable>>, [] > & QueryableStorageEntry; - /** All locations that we have requested version notifications from. */ + /** + * All locations that we have requested version notifications from. + **/ versionNotifiers: AugmentedQuery< ApiType, ( @@ -1323,7 +1531,7 @@ declare module "@polkadot/api-base/types/storage" { /** * The target locations that are subscribed to our version changes, as well as the most recent * of our versions we informed them of. - */ + **/ versionNotifyTargets: AugmentedQuery< ApiType, ( @@ -1333,10 +1541,14 @@ declare module "@polkadot/api-base/types/storage" { [u32, XcmVersionedLocation] > & QueryableStorageEntry; - /** Global suspension state of the XCM executor. */ + /** + * Global suspension state of the XCM executor. + **/ xcmExecutionSuspended: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; preimage: { @@ -1348,25 +1560,33 @@ declare module "@polkadot/api-base/types/storage" { [ITuple<[H256, u32]>] > & QueryableStorageEntry]>; - /** The request status of a given hash. */ + /** + * The request status of a given hash. + **/ requestStatusFor: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable>, [H256] > & QueryableStorageEntry; - /** The request status of a given hash. */ + /** + * The request status of a given hash. + **/ statusFor: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable>, [H256] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; proxy: { - /** The announcements made by the proxy (key). */ + /** + * The announcements made by the proxy (key). + **/ announcements: AugmentedQuery< ApiType, ( @@ -1376,9 +1596,9 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * The set of account proxies. Maps the account which has delegated to the accounts which are - * being delegated to, together with the amount held on deposit. - */ + * The set of account proxies. Maps the account which has delegated to the accounts + * which are being delegated to, together with the amount held on deposit. + **/ proxies: AugmentedQuery< ApiType, ( @@ -1387,26 +1607,38 @@ declare module "@polkadot/api-base/types/storage" { [AccountId20] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; randomness: { - /** Ensures the mandatory inherent was included in the block */ + /** + * Ensures the mandatory inherent was included in the block + **/ inherentIncluded: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Current local per-block VRF randomness Set in `on_initialize` */ + /** + * Current local per-block VRF randomness + * Set in `on_initialize` + **/ localVrfOutput: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Records whether this is the first block (genesis or runtime upgrade) */ + /** + * Records whether this is the first block (genesis or runtime upgrade) + **/ notFirstBlock: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Previous local per-block VRF randomness Set in `on_finalize` of last block */ + /** + * Previous local per-block VRF randomness + * Set in `on_finalize` of last block + **/ previousLocalVrfOutput: AugmentedQuery Observable, []> & QueryableStorageEntry; /** - * Snapshot of randomness to fulfill all requests that are for the same raw randomness Removed - * once $value.request_count == 0 - */ + * Snapshot of randomness to fulfill all requests that are for the same raw randomness + * Removed once $value.request_count == 0 + **/ randomnessResults: AugmentedQuery< ApiType, ( @@ -1420,24 +1652,34 @@ declare module "@polkadot/api-base/types/storage" { [PalletRandomnessRequestType] > & QueryableStorageEntry; - /** Relay epoch */ + /** + * Relay epoch + **/ relayEpoch: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Number of randomness requests made so far, used to generate the next request's uid */ + /** + * Number of randomness requests made so far, used to generate the next request's uid + **/ requestCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Randomness requests not yet fulfilled or purged */ + /** + * Randomness requests not yet fulfilled or purged + **/ requests: AugmentedQuery< ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable>, [u64] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; referenda: { - /** The number of referenda being decided currently. */ + /** + * The number of referenda being decided currently. + **/ decidingCount: AugmentedQuery< ApiType, (arg: u16 | AnyNumber | Uint8Array) => Observable, @@ -1445,22 +1687,27 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * The metadata is a general information concerning the referendum. The `Hash` refers to the - * preimage of the `Preimages` provider which can be a JSON dump or IPFS hash of a JSON file. + * The metadata is a general information concerning the referendum. + * The `Hash` refers to the preimage of the `Preimages` provider which can be a JSON + * dump or IPFS hash of a JSON file. * - * Consider a garbage collection for a metadata of finished referendums to `unrequest` - * (remove) large preimages. - */ + * Consider a garbage collection for a metadata of finished referendums to `unrequest` (remove) + * large preimages. + **/ metadataOf: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable>, [u32] > & QueryableStorageEntry; - /** The next free referendum index, aka the number of referenda started so far. */ + /** + * The next free referendum index, aka the number of referenda started so far. + **/ referendumCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Information concerning any given referendum. */ + /** + * Information concerning any given referendum. + **/ referendumInfoFor: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable>, @@ -1472,18 +1719,22 @@ declare module "@polkadot/api-base/types/storage" { * conviction-weighted approvals. * * This should be empty if `DecidingCount` is less than `TrackInfo::max_deciding`. - */ + **/ trackQueue: AugmentedQuery< ApiType, (arg: u16 | AnyNumber | Uint8Array) => Observable>>, [u16] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; relayStorageRoots: { - /** Map of relay block number to relay storage root */ + /** + * Map of relay block number to relay storage root + **/ relayStorageRoot: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable>, @@ -1491,20 +1742,26 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * List of all the keys in `RelayStorageRoot`. Used to remove the oldest key without having to - * iterate over all of them. - */ + * List of all the keys in `RelayStorageRoot`. + * Used to remove the oldest key without having to iterate over all of them. + **/ relayStorageRootKeys: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; rootTesting: { - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; scheduler: { - /** Items to be executed, indexed by the block number that they should be executed on. */ + /** + * Items to be executed, indexed by the block number that they should be executed on. + **/ agenda: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable>>, @@ -1516,15 +1773,18 @@ declare module "@polkadot/api-base/types/storage" { /** * Lookup from a name to the block number and index of the task. * - * For v3 -> v4 the previously unbounded identities are Blake2-256 hashed to form the v4 identities. - */ + * For v3 -> v4 the previously unbounded identities are Blake2-256 hashed to form the v4 + * identities. + **/ lookup: AugmentedQuery< ApiType, (arg: U8aFixed | string | Uint8Array) => Observable>>, [U8aFixed] > & QueryableStorageEntry; - /** Retry configurations for items to be executed, indexed by task address. */ + /** + * Retry configurations for items to be executed, indexed by task address. + **/ retries: AugmentedQuery< ApiType, ( @@ -1533,129 +1793,167 @@ declare module "@polkadot/api-base/types/storage" { [ITuple<[u32, u32]>] > & QueryableStorageEntry]>; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; system: { - /** The full account information for a particular account ID. */ + /** + * The full account information for a particular account ID. + **/ account: AugmentedQuery< ApiType, (arg: AccountId20 | string | Uint8Array) => Observable, [AccountId20] > & QueryableStorageEntry; - /** Total length (in bytes) for all extrinsics put together, for the current block. */ + /** + * Total length (in bytes) for all extrinsics put together, for the current block. + **/ allExtrinsicsLen: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** `Some` if a code upgrade has been authorized. */ + /** + * `Some` if a code upgrade has been authorized. + **/ authorizedUpgrade: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** Map of block numbers to block hashes. */ + /** + * Map of block numbers to block hashes. + **/ blockHash: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable, [u32] > & QueryableStorageEntry; - /** The current weight for the block. */ + /** + * The current weight for the block. + **/ blockWeight: AugmentedQuery< ApiType, () => Observable, [] > & QueryableStorageEntry; - /** Digest of the current block, also part of the block header. */ + /** + * Digest of the current block, also part of the block header. + **/ digest: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** The number of events in the `Events` list. */ + /** + * The number of events in the `Events` list. + **/ eventCount: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * Events deposited for the current block. * - * NOTE: The item is unbound and should therefore never be read on chain. It could otherwise - * inflate the PoV size of a block. + * NOTE: The item is unbound and should therefore never be read on chain. + * It could otherwise inflate the PoV size of a block. * - * Events have a large in-memory size. Box the events to not go out-of-memory just in case - * someone still reads them from within the runtime. - */ + * Events have a large in-memory size. Box the events to not go out-of-memory + * just in case someone still reads them from within the runtime. + **/ events: AugmentedQuery Observable>, []> & QueryableStorageEntry; /** - * Mapping between a topic (represented by T::Hash) and a vector of indexes of events in the - * `>` list. + * Mapping between a topic (represented by T::Hash) and a vector of indexes + * of events in the `>` list. * - * All topic vectors have deterministic storage locations depending on the topic. This allows - * light-clients to leverage the changes trie storage tracking mechanism and in case of - * changes fetch the list of events of interest. + * All topic vectors have deterministic storage locations depending on the topic. This + * allows light-clients to leverage the changes trie storage tracking mechanism and + * in case of changes fetch the list of events of interest. * - * The value has the type `(BlockNumberFor, EventIndex)` because if we used only just the - * `EventIndex` then in case if the topic has the same contents on the next block no - * notification will be triggered thus the event might be lost. - */ + * The value has the type `(BlockNumberFor, EventIndex)` because if we used only just + * the `EventIndex` then in case if the topic has the same contents on the next block + * no notification will be triggered thus the event might be lost. + **/ eventTopics: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable>>, [H256] > & QueryableStorageEntry; - /** The execution phase of the block. */ + /** + * The execution phase of the block. + **/ executionPhase: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Total extrinsics count for the current block. */ + /** + * Total extrinsics count for the current block. + **/ extrinsicCount: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Extrinsics data for the current block (maps an extrinsic's index to its data). */ + /** + * Extrinsics data for the current block (maps an extrinsic's index to its data). + **/ extrinsicData: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable, [u32] > & QueryableStorageEntry; - /** Whether all inherents have been applied. */ + /** + * Whether all inherents have been applied. + **/ inherentsApplied: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened. */ + /** + * Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened. + **/ lastRuntimeUpgrade: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** The current block number being processed. Set by `execute_block`. */ + /** + * The current block number being processed. Set by `execute_block`. + **/ number: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Hash of the previous block. */ + /** + * Hash of the previous block. + **/ parentHash: AugmentedQuery Observable, []> & QueryableStorageEntry; /** * True if we have upgraded so that AccountInfo contains three types of `RefCount`. False * (default) if not. - */ + **/ upgradedToTripleRefCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** True if we have upgraded so that `type RefCount` is `u32`. False (default) if not. */ + /** + * True if we have upgraded so that `type RefCount` is `u32`. False (default) if not. + **/ upgradedToU32RefCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; timestamp: { /** * Whether the timestamp has been updated in this block. * - * This value is updated to `true` upon successful submission of a timestamp by a node. It is - * then checked at the end of each block execution in the `on_finalize` hook. - */ + * This value is updated to `true` upon successful submission of a timestamp by a node. + * It is then checked at the end of each block execution in the `on_finalize` hook. + **/ didUpdate: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** The current time for the current block. */ + /** + * The current time for the current block. + **/ now: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; transactionPayment: { @@ -1667,67 +1965,97 @@ declare module "@polkadot/api-base/types/storage" { [] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; treasury: { - /** Proposal indices that have been approved but not yet awarded. */ + /** + * Proposal indices that have been approved but not yet awarded. + **/ approvals: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** The amount which has been reported as inactive to Currency. */ + /** + * The amount which has been reported as inactive to Currency. + **/ deactivated: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Number of proposals that have been made. */ + /** + * Number of proposals that have been made. + **/ proposalCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Proposals that have been made. */ + /** + * Proposals that have been made. + **/ proposals: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable>, [u32] > & QueryableStorageEntry; - /** The count of spends that have been made. */ + /** + * The count of spends that have been made. + **/ spendCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Spends that have been approved and being processed. */ + /** + * Spends that have been approved and being processed. + **/ spends: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable>, [u32] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; treasuryCouncilCollective: { - /** The current members of the collective. This is stored sorted (just by value). */ + /** + * The current members of the collective. This is stored sorted (just by value). + **/ members: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** The prime member that helps determine the default vote behavior in case of abstentions. */ + /** + * The prime member that helps determine the default vote behavior in case of abstentions. + **/ prime: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Proposals so far. */ + /** + * Proposals so far. + **/ proposalCount: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Actual proposal for a given hash, if it's current. */ + /** + * Actual proposal for a given hash, if it's current. + **/ proposalOf: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable>, [H256] > & QueryableStorageEntry; - /** The hashes of the active proposals. */ + /** + * The hashes of the active proposals. + **/ proposals: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** Votes on a given proposal, if it is ongoing. */ + /** + * Votes on a given proposal, if it is ongoing. + **/ voting: AugmentedQuery< ApiType, (arg: H256 | string | Uint8Array) => Observable>, [H256] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; whitelist: { @@ -1737,11 +2065,15 @@ declare module "@polkadot/api-base/types/storage" { [H256] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; xcmpQueue: { - /** The factor to multiply the base delivery fee by. */ + /** + * The factor to multiply the base delivery fee by. + **/ deliveryFeeFactor: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable, @@ -1757,10 +2089,12 @@ declare module "@polkadot/api-base/types/storage" { * * NOTE: The PoV benchmarking cannot know this and will over-estimate, but the actual proof * will be smaller. - */ + **/ inboundXcmpSuspended: AugmentedQuery Observable>, []> & QueryableStorageEntry; - /** The messages outbound in a given XCMP channel. */ + /** + * The messages outbound in a given XCMP channel. + **/ outboundXcmpMessages: AugmentedQuery< ApiType, ( @@ -1771,44 +2105,52 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * The non-empty XCMP channels in order of becoming non-empty, and the index of the first and - * last outbound message. If the two indices are equal, then it indicates an empty queue and - * there must be a non-`Ok` `OutboundStatus`. We assume queues grow no greater than 65535 - * items. Queue indices for normal messages begin at one; zero is reserved in case of the need - * to send a high-priority signal message this block. The bool is true if there is a signal - * message waiting to be sent. - */ + * The non-empty XCMP channels in order of becoming non-empty, and the index of the first + * and last outbound message. If the two indices are equal, then it indicates an empty + * queue and there must be a non-`Ok` `OutboundStatus`. We assume queues grow no greater + * than 65535 items. Queue indices for normal messages begin at one; zero is reserved in + * case of the need to send a high-priority signal message this block. + * The bool is true if there is a signal message waiting to be sent. + **/ outboundXcmpStatus: AugmentedQuery< ApiType, () => Observable>, [] > & QueryableStorageEntry; - /** The configuration which controls the dynamics of the outbound queue. */ + /** + * The configuration which controls the dynamics of the outbound queue. + **/ queueConfig: AugmentedQuery< ApiType, () => Observable, [] > & QueryableStorageEntry; - /** Whether or not the XCMP queue is suspended from executing incoming XCMs or not. */ + /** + * Whether or not the XCMP queue is suspended from executing incoming XCMs or not. + **/ queueSuspended: AugmentedQuery Observable, []> & QueryableStorageEntry; - /** Any signal messages waiting to be sent. */ + /** + * Any signal messages waiting to be sent. + **/ signalMessages: AugmentedQuery< ApiType, (arg: u32 | AnyNumber | Uint8Array) => Observable, [u32] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; xcmTransactor: { /** - * Stores the fee per second for an asset in its reserve chain. This allows us to convert from - * weight to fee - */ + * Stores the fee per second for an asset in its reserve chain. This allows us to convert + * from weight to fee + **/ destinationAssetFeePerSecond: AugmentedQuery< ApiType, ( @@ -1818,17 +2160,19 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * Since we are using pallet-utility for account derivation (through AsDerivative), we need to - * provide an index for the account derivation. This storage item stores the index assigned - * for a given local account. These indices are usable as derivative in the relay chain - */ + * Since we are using pallet-utility for account derivation (through AsDerivative), + * we need to provide an index for the account derivation. This storage item stores the index + * assigned for a given local account. These indices are usable as derivative in the relay chain + **/ indexToAccount: AugmentedQuery< ApiType, (arg: u16 | AnyNumber | Uint8Array) => Observable>, [u16] > & QueryableStorageEntry; - /** Stores the indices of relay chain pallets */ + /** + * Stores the indices of relay chain pallets + **/ relayIndices: AugmentedQuery< ApiType, () => Observable, @@ -1836,10 +2180,10 @@ declare module "@polkadot/api-base/types/storage" { > & QueryableStorageEntry; /** - * Stores the transact info of a Location. This defines how much extra weight we need to add - * when we want to transact in the destination chain and maximum amount of weight allowed by - * the destination chain - */ + * Stores the transact info of a Location. This defines how much extra weight we need to + * add when we want to transact in the destination chain and maximum amount of weight allowed + * by the destination chain + **/ transactInfoWithWeightLimit: AugmentedQuery< ApiType, ( @@ -1848,14 +2192,17 @@ declare module "@polkadot/api-base/types/storage" { [StagingXcmV4Location] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; xcmWeightTrader: { /** - * Stores all supported assets per XCM Location. The u128 is the asset price relative to - * native asset with 18 decimals The boolean specify if the support for this asset is active - */ + * Stores all supported assets per XCM Location. + * The u128 is the asset price relative to native asset with 18 decimals + * The boolean specify if the support for this asset is active + **/ supportedAssets: AugmentedQuery< ApiType, ( @@ -1864,7 +2211,9 @@ declare module "@polkadot/api-base/types/storage" { [StagingXcmV4Location] > & QueryableStorageEntry; - /** Generic query */ + /** + * Generic query + **/ [key: string]: QueryableStorageEntry; }; } // AugmentedQueries diff --git a/typescript-api/src/moonriver/interfaces/augment-api-rpc.ts b/typescript-api/src/moonriver/interfaces/augment-api-rpc.ts index a71564cc61..7752ea2d20 100644 --- a/typescript-api/src/moonriver/interfaces/augment-api-rpc.ts +++ b/typescript-api/src/moonriver/interfaces/augment-api-rpc.ts @@ -20,7 +20,7 @@ import type { bool, f64, u32, - u64, + u64 } from "@polkadot/types-codec"; import type { AnyNumber, Codec } from "@polkadot/types-codec/types"; import type { ExtrinsicOrHash, ExtrinsicStatus } from "@polkadot/types/interfaces/author"; @@ -35,7 +35,7 @@ import type { ContractCallRequest, ContractExecResult, ContractInstantiateResult, - InstantiateRequestV1, + InstantiateRequestV1 } from "@polkadot/types/interfaces/contracts"; import type { BlockStats } from "@polkadot/types/interfaces/dev"; import type { CreatedBlock } from "@polkadot/types/interfaces/engine"; @@ -53,13 +53,13 @@ import type { EthSyncStatus, EthTransaction, EthTransactionRequest, - EthWork, + EthWork } from "@polkadot/types/interfaces/eth"; import type { Extrinsic } from "@polkadot/types/interfaces/extrinsics"; import type { EncodedFinalityProofs, JustificationNotification, - ReportedRoundStates, + ReportedRoundStates } from "@polkadot/types/interfaces/grandpa"; import type { MmrHash, MmrLeafBatchProof } from "@polkadot/types/interfaces/mmr"; import type { StorageKind } from "@polkadot/types/interfaces/offchain"; @@ -77,13 +77,13 @@ import type { Justification, KeyValue, SignedBlock, - StorageData, + StorageData } from "@polkadot/types/interfaces/runtime"; import type { MigrationStatusResult, ReadProof, RuntimeVersion, - TraceBlockResponse, + TraceBlockResponse } from "@polkadot/types/interfaces/state"; import type { ApplyExtrinsicResult, @@ -93,7 +93,7 @@ import type { NetworkState, NodeRole, PeerInfo, - SyncState, + SyncState } from "@polkadot/types/interfaces/system"; import type { IExtrinsic, Observable } from "@polkadot/types/types"; @@ -102,13 +102,19 @@ export type __AugmentedRpc = AugmentedRpc<() => unknown>; declare module "@polkadot/rpc-core/types/jsonrpc" { interface RpcInterface { author: { - /** Returns true if the keystore has private keys for the given public key and key type. */ + /** + * Returns true if the keystore has private keys for the given public key and key type. + **/ hasKey: AugmentedRpc< (publicKey: Bytes | string | Uint8Array, keyType: Text | string) => Observable >; - /** Returns true if the keystore has private keys for the given session public keys. */ + /** + * Returns true if the keystore has private keys for the given session public keys. + **/ hasSessionKeys: AugmentedRpc<(sessionKeys: Bytes | string | Uint8Array) => Observable>; - /** Insert a key into the keystore. */ + /** + * Insert a key into the keystore. + **/ insertKey: AugmentedRpc< ( keyType: Text | string, @@ -116,9 +122,13 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { publicKey: Bytes | string | Uint8Array ) => Observable >; - /** Returns all pending extrinsics, potentially grouped by sender */ + /** + * Returns all pending extrinsics, potentially grouped by sender + **/ pendingExtrinsics: AugmentedRpc<() => Observable>>; - /** Remove given extrinsic from the pool and temporarily ban it to prevent reimporting */ + /** + * Remove given extrinsic from the pool and temporarily ban it to prevent reimporting + **/ removeExtrinsic: AugmentedRpc< ( bytesOrHash: @@ -126,50 +136,75 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { | (ExtrinsicOrHash | { Hash: any } | { Extrinsic: any } | string | Uint8Array)[] ) => Observable> >; - /** Generate new session keys and returns the corresponding public keys */ + /** + * Generate new session keys and returns the corresponding public keys + **/ rotateKeys: AugmentedRpc<() => Observable>; - /** Submit and subscribe to watch an extrinsic until unsubscribed */ + /** + * Submit and subscribe to watch an extrinsic until unsubscribed + **/ submitAndWatchExtrinsic: AugmentedRpc< (extrinsic: Extrinsic | IExtrinsic | string | Uint8Array) => Observable >; - /** Submit a fully formatted extrinsic for block inclusion */ + /** + * Submit a fully formatted extrinsic for block inclusion + **/ submitExtrinsic: AugmentedRpc< (extrinsic: Extrinsic | IExtrinsic | string | Uint8Array) => Observable >; }; babe: { /** - * Returns data about which slots (primary or secondary) can be claimed in the current epoch - * with the keys in the keystore - */ + * Returns data about which slots (primary or secondary) can be claimed in the current epoch with the keys in the keystore + **/ epochAuthorship: AugmentedRpc<() => Observable>>; }; beefy: { - /** Returns hash of the latest BEEFY finalized block as seen by this client. */ + /** + * Returns hash of the latest BEEFY finalized block as seen by this client. + **/ getFinalizedHead: AugmentedRpc<() => Observable>; - /** Returns the block most recently finalized by BEEFY, alongside its justification. */ + /** + * Returns the block most recently finalized by BEEFY, alongside its justification. + **/ subscribeJustifications: AugmentedRpc<() => Observable>; }; chain: { - /** Get header and body of a relay chain block */ + /** + * Get header and body of a relay chain block + **/ getBlock: AugmentedRpc<(hash?: BlockHash | string | Uint8Array) => Observable>; - /** Get the block hash for a specific block */ + /** + * Get the block hash for a specific block + **/ getBlockHash: AugmentedRpc< (blockNumber?: BlockNumber | AnyNumber | Uint8Array) => Observable >; - /** Get hash of the last finalized block in the canon chain */ + /** + * Get hash of the last finalized block in the canon chain + **/ getFinalizedHead: AugmentedRpc<() => Observable>; - /** Retrieves the header for a specific block */ + /** + * Retrieves the header for a specific block + **/ getHeader: AugmentedRpc<(hash?: BlockHash | string | Uint8Array) => Observable
>; - /** Retrieves the newest header via subscription */ + /** + * Retrieves the newest header via subscription + **/ subscribeAllHeads: AugmentedRpc<() => Observable
>; - /** Retrieves the best finalized header via subscription */ + /** + * Retrieves the best finalized header via subscription + **/ subscribeFinalizedHeads: AugmentedRpc<() => Observable
>; - /** Retrieves the best header via subscription */ + /** + * Retrieves the best header via subscription + **/ subscribeNewHeads: AugmentedRpc<() => Observable
>; }; childstate: { - /** Returns the keys with prefix from a child storage, leave empty to get all the keys */ + /** + * Returns the keys with prefix from a child storage, leave empty to get all the keys + **/ getKeys: AugmentedRpc< ( childKey: PrefixedStorageKey | string | Uint8Array, @@ -177,7 +212,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: Hash | string | Uint8Array ) => Observable> >; - /** Returns the keys with prefix from a child storage with pagination support */ + /** + * Returns the keys with prefix from a child storage with pagination support + **/ getKeysPaged: AugmentedRpc< ( childKey: PrefixedStorageKey | string | Uint8Array, @@ -187,7 +224,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: Hash | string | Uint8Array ) => Observable> >; - /** Returns a child storage entry at a specific block state */ + /** + * Returns a child storage entry at a specific block state + **/ getStorage: AugmentedRpc< ( childKey: PrefixedStorageKey | string | Uint8Array, @@ -195,7 +234,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: Hash | string | Uint8Array ) => Observable> >; - /** Returns child storage entries for multiple keys at a specific block state */ + /** + * Returns child storage entries for multiple keys at a specific block state + **/ getStorageEntries: AugmentedRpc< ( childKey: PrefixedStorageKey | string | Uint8Array, @@ -203,7 +244,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: Hash | string | Uint8Array ) => Observable>> >; - /** Returns the hash of a child storage entry at a block state */ + /** + * Returns the hash of a child storage entry at a block state + **/ getStorageHash: AugmentedRpc< ( childKey: PrefixedStorageKey | string | Uint8Array, @@ -211,7 +254,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: Hash | string | Uint8Array ) => Observable> >; - /** Returns the size of a child storage entry at a block state */ + /** + * Returns the size of a child storage entry at a block state + **/ getStorageSize: AugmentedRpc< ( childKey: PrefixedStorageKey | string | Uint8Array, @@ -222,9 +267,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { }; contracts: { /** - * @deprecated Use the runtime interface `api.call.contractsApi.call` instead Executes a call - * to a contract - */ + * @deprecated Use the runtime interface `api.call.contractsApi.call` instead + * Executes a call to a contract + **/ call: AugmentedRpc< ( callRequest: @@ -243,9 +288,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { ) => Observable >; /** - * @deprecated Use the runtime interface `api.call.contractsApi.getStorage` instead Returns - * the value under a specified storage key in a contract - */ + * @deprecated Use the runtime interface `api.call.contractsApi.getStorage` instead + * Returns the value under a specified storage key in a contract + **/ getStorage: AugmentedRpc< ( address: AccountId | string | Uint8Array, @@ -255,8 +300,8 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { >; /** * @deprecated Use the runtime interface `api.call.contractsApi.instantiate` instead - * Instantiate a new contract - */ + * Instantiate a new contract + **/ instantiate: AugmentedRpc< ( request: @@ -268,9 +313,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { ) => Observable >; /** - * @deprecated Not available in newer versions of the contracts interfaces Returns the - * projected time a given contract will be able to sustain paying its rent - */ + * @deprecated Not available in newer versions of the contracts interfaces + * Returns the projected time a given contract will be able to sustain paying its rent + **/ rentProjection: AugmentedRpc< ( address: AccountId | string | Uint8Array, @@ -278,9 +323,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { ) => Observable> >; /** - * @deprecated Use the runtime interface `api.call.contractsApi.uploadCode` instead Upload new - * code without instantiating a contract from it - */ + * @deprecated Use the runtime interface `api.call.contractsApi.uploadCode` instead + * Upload new code without instantiating a contract from it + **/ uploadCode: AugmentedRpc< ( uploadRequest: @@ -293,13 +338,17 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { >; }; dev: { - /** Reexecute the specified `block_hash` and gather statistics while doing so */ + /** + * Reexecute the specified `block_hash` and gather statistics while doing so + **/ getBlockStats: AugmentedRpc< (at: Hash | string | Uint8Array) => Observable> >; }; engine: { - /** Instructs the manual-seal authorship task to create a new block */ + /** + * Instructs the manual-seal authorship task to create a new block + **/ createBlock: AugmentedRpc< ( createEmpty: bool | boolean | Uint8Array, @@ -307,17 +356,25 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { parentHash?: BlockHash | string | Uint8Array ) => Observable >; - /** Instructs the manual-seal authorship task to finalize a block */ + /** + * Instructs the manual-seal authorship task to finalize a block + **/ finalizeBlock: AugmentedRpc< (hash: BlockHash | string | Uint8Array, justification?: Justification) => Observable >; }; eth: { - /** Returns accounts list. */ + /** + * Returns accounts list. + **/ accounts: AugmentedRpc<() => Observable>>; - /** Returns the blockNumber */ + /** + * Returns the blockNumber + **/ blockNumber: AugmentedRpc<() => Observable>; - /** Call contract, returning the output data. */ + /** + * Call contract, returning the output data. + **/ call: AugmentedRpc< ( request: @@ -337,13 +394,16 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { ) => Observable >; /** - * Returns the chain ID used for transaction signing at the current best block. None is - * returned if not available. - */ + * Returns the chain ID used for transaction signing at the current best block. None is returned if not available. + **/ chainId: AugmentedRpc<() => Observable>; - /** Returns block author. */ + /** + * Returns block author. + **/ coinbase: AugmentedRpc<() => Observable>; - /** Estimate gas needed for execution of given contract. */ + /** + * Estimate gas needed for execution of given contract. + **/ estimateGas: AugmentedRpc< ( request: @@ -362,7 +422,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { number?: BlockNumber | AnyNumber | Uint8Array ) => Observable >; - /** Returns fee history for given block count & reward percentiles */ + /** + * Returns fee history for given block count & reward percentiles + **/ feeHistory: AugmentedRpc< ( blockCount: U256 | AnyNumber | Uint8Array, @@ -370,53 +432,73 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { rewardPercentiles: Option> | null | Uint8Array | Vec | f64[] ) => Observable >; - /** Returns current gas price. */ + /** + * Returns current gas price. + **/ gasPrice: AugmentedRpc<() => Observable>; - /** Returns balance of the given account. */ + /** + * Returns balance of the given account. + **/ getBalance: AugmentedRpc< ( address: H160 | string | Uint8Array, number?: BlockNumber | AnyNumber | Uint8Array ) => Observable >; - /** Returns block with given hash. */ + /** + * Returns block with given hash. + **/ getBlockByHash: AugmentedRpc< ( hash: H256 | string | Uint8Array, full: bool | boolean | Uint8Array ) => Observable> >; - /** Returns block with given number. */ + /** + * Returns block with given number. + **/ getBlockByNumber: AugmentedRpc< ( block: BlockNumber | AnyNumber | Uint8Array, full: bool | boolean | Uint8Array ) => Observable> >; - /** Returns the number of transactions in a block with given hash. */ + /** + * Returns the number of transactions in a block with given hash. + **/ getBlockTransactionCountByHash: AugmentedRpc< (hash: H256 | string | Uint8Array) => Observable >; - /** Returns the number of transactions in a block with given block number. */ + /** + * Returns the number of transactions in a block with given block number. + **/ getBlockTransactionCountByNumber: AugmentedRpc< (block: BlockNumber | AnyNumber | Uint8Array) => Observable >; - /** Returns the code at given address at given time (block number). */ + /** + * Returns the code at given address at given time (block number). + **/ getCode: AugmentedRpc< ( address: H160 | string | Uint8Array, number?: BlockNumber | AnyNumber | Uint8Array ) => Observable >; - /** Returns filter changes since last poll. */ + /** + * Returns filter changes since last poll. + **/ getFilterChanges: AugmentedRpc< (index: U256 | AnyNumber | Uint8Array) => Observable >; - /** Returns all logs matching given filter (in a range 'from' - 'to'). */ + /** + * Returns all logs matching given filter (in a range 'from' - 'to'). + **/ getFilterLogs: AugmentedRpc< (index: U256 | AnyNumber | Uint8Array) => Observable> >; - /** Returns logs matching given filter object. */ + /** + * Returns logs matching given filter object. + **/ getLogs: AugmentedRpc< ( filter: @@ -426,7 +508,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { | Uint8Array ) => Observable> >; - /** Returns proof for account and storage. */ + /** + * Returns proof for account and storage. + **/ getProof: AugmentedRpc< ( address: H160 | string | Uint8Array, @@ -434,7 +518,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { number: BlockNumber | AnyNumber | Uint8Array ) => Observable >; - /** Returns content of the storage at given address. */ + /** + * Returns content of the storage at given address. + **/ getStorageAt: AugmentedRpc< ( address: H160 | string | Uint8Array, @@ -442,68 +528,98 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { number?: BlockNumber | AnyNumber | Uint8Array ) => Observable >; - /** Returns transaction at given block hash and index. */ + /** + * Returns transaction at given block hash and index. + **/ getTransactionByBlockHashAndIndex: AugmentedRpc< ( hash: H256 | string | Uint8Array, index: U256 | AnyNumber | Uint8Array ) => Observable >; - /** Returns transaction by given block number and index. */ + /** + * Returns transaction by given block number and index. + **/ getTransactionByBlockNumberAndIndex: AugmentedRpc< ( number: BlockNumber | AnyNumber | Uint8Array, index: U256 | AnyNumber | Uint8Array ) => Observable >; - /** Get transaction by its hash. */ + /** + * Get transaction by its hash. + **/ getTransactionByHash: AugmentedRpc< (hash: H256 | string | Uint8Array) => Observable >; - /** Returns the number of transactions sent from given address at given time (block number). */ + /** + * Returns the number of transactions sent from given address at given time (block number). + **/ getTransactionCount: AugmentedRpc< ( address: H160 | string | Uint8Array, number?: BlockNumber | AnyNumber | Uint8Array ) => Observable >; - /** Returns transaction receipt by transaction hash. */ + /** + * Returns transaction receipt by transaction hash. + **/ getTransactionReceipt: AugmentedRpc< (hash: H256 | string | Uint8Array) => Observable >; - /** Returns an uncles at given block and index. */ + /** + * Returns an uncles at given block and index. + **/ getUncleByBlockHashAndIndex: AugmentedRpc< ( hash: H256 | string | Uint8Array, index: U256 | AnyNumber | Uint8Array ) => Observable >; - /** Returns an uncles at given block and index. */ + /** + * Returns an uncles at given block and index. + **/ getUncleByBlockNumberAndIndex: AugmentedRpc< ( number: BlockNumber | AnyNumber | Uint8Array, index: U256 | AnyNumber | Uint8Array ) => Observable >; - /** Returns the number of uncles in a block with given hash. */ + /** + * Returns the number of uncles in a block with given hash. + **/ getUncleCountByBlockHash: AugmentedRpc< (hash: H256 | string | Uint8Array) => Observable >; - /** Returns the number of uncles in a block with given block number. */ + /** + * Returns the number of uncles in a block with given block number. + **/ getUncleCountByBlockNumber: AugmentedRpc< (number: BlockNumber | AnyNumber | Uint8Array) => Observable >; - /** Returns the hash of the current block, the seedHash, and the boundary condition to be met. */ + /** + * Returns the hash of the current block, the seedHash, and the boundary condition to be met. + **/ getWork: AugmentedRpc<() => Observable>; - /** Returns the number of hashes per second that the node is mining with. */ + /** + * Returns the number of hashes per second that the node is mining with. + **/ hashrate: AugmentedRpc<() => Observable>; - /** Returns max priority fee per gas */ + /** + * Returns max priority fee per gas + **/ maxPriorityFeePerGas: AugmentedRpc<() => Observable>; - /** Returns true if client is actively mining new blocks. */ + /** + * Returns true if client is actively mining new blocks. + **/ mining: AugmentedRpc<() => Observable>; - /** Returns id of new block filter. */ + /** + * Returns id of new block filter. + **/ newBlockFilter: AugmentedRpc<() => Observable>; - /** Returns id of new filter. */ + /** + * Returns id of new filter. + **/ newFilter: AugmentedRpc< ( filter: @@ -513,13 +629,21 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { | Uint8Array ) => Observable >; - /** Returns id of new block filter. */ + /** + * Returns id of new block filter. + **/ newPendingTransactionFilter: AugmentedRpc<() => Observable>; - /** Returns protocol version encoded as a string (quotes are necessary). */ + /** + * Returns protocol version encoded as a string (quotes are necessary). + **/ protocolVersion: AugmentedRpc<() => Observable>; - /** Sends signed transaction, returning its hash. */ + /** + * Sends signed transaction, returning its hash. + **/ sendRawTransaction: AugmentedRpc<(bytes: Bytes | string | Uint8Array) => Observable>; - /** Sends transaction; will block waiting for signer to return the transaction hash */ + /** + * Sends transaction; will block waiting for signer to return the transaction hash + **/ sendTransaction: AugmentedRpc< ( tx: @@ -537,11 +661,15 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { | Uint8Array ) => Observable >; - /** Used for submitting mining hashrate. */ + /** + * Used for submitting mining hashrate. + **/ submitHashrate: AugmentedRpc< (index: U256 | AnyNumber | Uint8Array, hash: H256 | string | Uint8Array) => Observable >; - /** Used for submitting a proof-of-work solution. */ + /** + * Used for submitting a proof-of-work solution. + **/ submitWork: AugmentedRpc< ( nonce: H64 | string | Uint8Array, @@ -549,7 +677,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { mixDigest: H256 | string | Uint8Array ) => Observable >; - /** Subscribe to Eth subscription. */ + /** + * Subscribe to Eth subscription. + **/ subscribe: AugmentedRpc< ( kind: @@ -563,25 +693,37 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { params?: EthSubParams | { None: any } | { Logs: any } | string | Uint8Array ) => Observable >; - /** Returns an object with data about the sync status or false. */ + /** + * Returns an object with data about the sync status or false. + **/ syncing: AugmentedRpc<() => Observable>; - /** Uninstalls filter. */ + /** + * Uninstalls filter. + **/ uninstallFilter: AugmentedRpc<(index: U256 | AnyNumber | Uint8Array) => Observable>; }; grandpa: { - /** Prove finality for the given block number, returning the Justification for the last block in the set. */ + /** + * Prove finality for the given block number, returning the Justification for the last block in the set. + **/ proveFinality: AugmentedRpc< ( blockNumber: BlockNumber | AnyNumber | Uint8Array ) => Observable> >; - /** Returns the state of the current best round state as well as the ongoing background rounds */ + /** + * Returns the state of the current best round state as well as the ongoing background rounds + **/ roundState: AugmentedRpc<() => Observable>; - /** Subscribes to grandpa justifications */ + /** + * Subscribes to grandpa justifications + **/ subscribeJustifications: AugmentedRpc<() => Observable>; }; mmr: { - /** Generate MMR proof for the given block numbers. */ + /** + * Generate MMR proof for the given block numbers. + **/ generateProof: AugmentedRpc< ( blockNumbers: Vec | (u64 | AnyNumber | Uint8Array)[], @@ -589,9 +731,13 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: BlockHash | string | Uint8Array ) => Observable >; - /** Get the MMR root hash for the current best block. */ + /** + * Get the MMR root hash for the current best block. + **/ root: AugmentedRpc<(at?: BlockHash | string | Uint8Array) => Observable>; - /** Verify an MMR proof */ + /** + * Verify an MMR proof + **/ verifyProof: AugmentedRpc< ( proof: @@ -601,7 +747,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { | Uint8Array ) => Observable >; - /** Verify an MMR proof statelessly given an mmr_root */ + /** + * Verify an MMR proof statelessly given an mmr_root + **/ verifyProofStateless: AugmentedRpc< ( root: MmrHash | string | Uint8Array, @@ -614,30 +762,46 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { >; }; moon: { - /** Returns the latest synced block from frontier's backend */ + /** + * Returns the latest synced block from frontier's backend + **/ getLatestSyncedBlock: AugmentedRpc<() => Observable>; - /** Returns whether an Ethereum block is finalized */ + /** + * Returns whether an Ethereum block is finalized + **/ isBlockFinalized: AugmentedRpc<(blockHash: Hash | string | Uint8Array) => Observable>; - /** Returns whether an Ethereum transaction is finalized */ + /** + * Returns whether an Ethereum transaction is finalized + **/ isTxFinalized: AugmentedRpc<(txHash: Hash | string | Uint8Array) => Observable>; }; net: { - /** Returns true if client is actively listening for network connections. Otherwise false. */ + /** + * Returns true if client is actively listening for network connections. Otherwise false. + **/ listening: AugmentedRpc<() => Observable>; - /** Returns number of peers connected to node. */ + /** + * Returns number of peers connected to node. + **/ peerCount: AugmentedRpc<() => Observable>; - /** Returns protocol version. */ + /** + * Returns protocol version. + **/ version: AugmentedRpc<() => Observable>; }; offchain: { - /** Get offchain local storage under given key and prefix */ + /** + * Get offchain local storage under given key and prefix + **/ localStorageGet: AugmentedRpc< ( kind: StorageKind | "PERSISTENT" | "LOCAL" | number | Uint8Array, key: Bytes | string | Uint8Array ) => Observable> >; - /** Set offchain local storage under given key and prefix */ + /** + * Set offchain local storage under given key and prefix + **/ localStorageSet: AugmentedRpc< ( kind: StorageKind | "PERSISTENT" | "LOCAL" | number | Uint8Array, @@ -648,9 +812,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { }; payment: { /** - * @deprecated Use `api.call.transactionPaymentApi.queryFeeDetails` instead Query the detailed - * fee of a given encoded extrinsic - */ + * @deprecated Use `api.call.transactionPaymentApi.queryFeeDetails` instead + * Query the detailed fee of a given encoded extrinsic + **/ queryFeeDetails: AugmentedRpc< ( extrinsic: Bytes | string | Uint8Array, @@ -658,9 +822,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { ) => Observable >; /** - * @deprecated Use `api.call.transactionPaymentApi.queryInfo` instead Retrieves the fee - * information for an encoded extrinsic - */ + * @deprecated Use `api.call.transactionPaymentApi.queryInfo` instead + * Retrieves the fee information for an encoded extrinsic + **/ queryInfo: AugmentedRpc< ( extrinsic: Bytes | string | Uint8Array, @@ -669,11 +833,15 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { >; }; rpc: { - /** Retrieves the list of RPC methods that are exposed by the node */ + /** + * Retrieves the list of RPC methods that are exposed by the node + **/ methods: AugmentedRpc<() => Observable>; }; state: { - /** Perform a call to a builtin on the chain */ + /** + * Perform a call to a builtin on the chain + **/ call: AugmentedRpc< ( method: Text | string, @@ -681,7 +849,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: BlockHash | string | Uint8Array ) => Observable >; - /** Retrieves the keys with prefix of a specific child storage */ + /** + * Retrieves the keys with prefix of a specific child storage + **/ getChildKeys: AugmentedRpc< ( childStorageKey: StorageKey | string | Uint8Array | any, @@ -691,7 +861,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: BlockHash | string | Uint8Array ) => Observable> >; - /** Returns proof of storage for child key entries at a specific block state. */ + /** + * Returns proof of storage for child key entries at a specific block state. + **/ getChildReadProof: AugmentedRpc< ( childStorageKey: PrefixedStorageKey | string | Uint8Array, @@ -699,7 +871,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: BlockHash | string | Uint8Array ) => Observable >; - /** Retrieves the child storage for a key */ + /** + * Retrieves the child storage for a key + **/ getChildStorage: AugmentedRpc< ( childStorageKey: StorageKey | string | Uint8Array | any, @@ -709,7 +883,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: BlockHash | string | Uint8Array ) => Observable >; - /** Retrieves the child storage hash */ + /** + * Retrieves the child storage hash + **/ getChildStorageHash: AugmentedRpc< ( childStorageKey: StorageKey | string | Uint8Array | any, @@ -719,7 +895,9 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: BlockHash | string | Uint8Array ) => Observable >; - /** Retrieves the child storage size */ + /** + * Retrieves the child storage size + **/ getChildStorageSize: AugmentedRpc< ( childStorageKey: StorageKey | string | Uint8Array | any, @@ -730,16 +908,18 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { ) => Observable >; /** - * @deprecated Use `api.rpc.state.getKeysPaged` to retrieve keys Retrieves the keys with a - * certain prefix - */ + * @deprecated Use `api.rpc.state.getKeysPaged` to retrieve keys + * Retrieves the keys with a certain prefix + **/ getKeys: AugmentedRpc< ( key: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array ) => Observable> >; - /** Returns the keys with prefix with pagination support. */ + /** + * Returns the keys with prefix with pagination support. + **/ getKeysPaged: AugmentedRpc< ( key: StorageKey | string | Uint8Array | any, @@ -748,51 +928,65 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { at?: BlockHash | string | Uint8Array ) => Observable> >; - /** Returns the runtime metadata */ + /** + * Returns the runtime metadata + **/ getMetadata: AugmentedRpc<(at?: BlockHash | string | Uint8Array) => Observable>; /** - * @deprecated Use `api.rpc.state.getKeysPaged` to retrieve keys Returns the keys with prefix, - * leave empty to get all the keys (deprecated: Use getKeysPaged) - */ + * @deprecated Use `api.rpc.state.getKeysPaged` to retrieve keys + * Returns the keys with prefix, leave empty to get all the keys (deprecated: Use getKeysPaged) + **/ getPairs: AugmentedRpc< ( prefix: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array ) => Observable> >; - /** Returns proof of storage entries at a specific block state */ + /** + * Returns proof of storage entries at a specific block state + **/ getReadProof: AugmentedRpc< ( keys: Vec | (StorageKey | string | Uint8Array | any)[], at?: BlockHash | string | Uint8Array ) => Observable >; - /** Get the runtime version */ + /** + * Get the runtime version + **/ getRuntimeVersion: AugmentedRpc< (at?: BlockHash | string | Uint8Array) => Observable >; - /** Retrieves the storage for a key */ + /** + * Retrieves the storage for a key + **/ getStorage: AugmentedRpc< ( key: StorageKey | string | Uint8Array | any, block?: Hash | Uint8Array | string ) => Observable >; - /** Retrieves the storage hash */ + /** + * Retrieves the storage hash + **/ getStorageHash: AugmentedRpc< ( key: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array ) => Observable >; - /** Retrieves the storage size */ + /** + * Retrieves the storage size + **/ getStorageSize: AugmentedRpc< ( key: StorageKey | string | Uint8Array | any, at?: BlockHash | string | Uint8Array ) => Observable >; - /** Query historical storage entries (by key) starting from a start block */ + /** + * Query historical storage entries (by key) starting from a start block + **/ queryStorage: AugmentedRpc< ( keys: Vec | (StorageKey | string | Uint8Array | any)[], @@ -800,22 +994,30 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { toBlock?: Hash | Uint8Array | string ) => Observable<[Hash, T][]> >; - /** Query storage entries (by key) starting at block hash given as the second parameter */ + /** + * Query storage entries (by key) starting at block hash given as the second parameter + **/ queryStorageAt: AugmentedRpc< ( keys: Vec | (StorageKey | string | Uint8Array | any)[], at?: Hash | Uint8Array | string ) => Observable >; - /** Retrieves the runtime version via subscription */ + /** + * Retrieves the runtime version via subscription + **/ subscribeRuntimeVersion: AugmentedRpc<() => Observable>; - /** Subscribes to storage changes for the provided keys */ + /** + * Subscribes to storage changes for the provided keys + **/ subscribeStorage: AugmentedRpc< ( keys?: Vec | (StorageKey | string | Uint8Array | any)[] ) => Observable >; - /** Provides a way to trace the re-execution of a single block */ + /** + * Provides a way to trace the re-execution of a single block + **/ traceBlock: AugmentedRpc< ( block: Hash | string | Uint8Array, @@ -824,69 +1026,112 @@ declare module "@polkadot/rpc-core/types/jsonrpc" { methods: Option | null | Uint8Array | Text | string ) => Observable >; - /** Check current migration state */ + /** + * Check current migration state + **/ trieMigrationStatus: AugmentedRpc< (at?: BlockHash | string | Uint8Array) => Observable >; }; syncstate: { - /** Returns the json-serialized chainspec running the node, with a sync state. */ + /** + * Returns the json-serialized chainspec running the node, with a sync state. + **/ genSyncSpec: AugmentedRpc<(raw: bool | boolean | Uint8Array) => Observable>; }; system: { - /** Retrieves the next accountIndex as available on the node */ + /** + * Retrieves the next accountIndex as available on the node + **/ accountNextIndex: AugmentedRpc< (accountId: AccountId | string | Uint8Array) => Observable >; - /** Adds the supplied directives to the current log filter */ + /** + * Adds the supplied directives to the current log filter + **/ addLogFilter: AugmentedRpc<(directives: Text | string) => Observable>; - /** Adds a reserved peer */ + /** + * Adds a reserved peer + **/ addReservedPeer: AugmentedRpc<(peer: Text | string) => Observable>; - /** Retrieves the chain */ + /** + * Retrieves the chain + **/ chain: AugmentedRpc<() => Observable>; - /** Retrieves the chain type */ + /** + * Retrieves the chain type + **/ chainType: AugmentedRpc<() => Observable>; - /** Dry run an extrinsic at a given block */ + /** + * Dry run an extrinsic at a given block + **/ dryRun: AugmentedRpc< ( extrinsic: Bytes | string | Uint8Array, at?: BlockHash | string | Uint8Array ) => Observable >; - /** Return health status of the node */ + /** + * Return health status of the node + **/ health: AugmentedRpc<() => Observable>; /** - * The addresses include a trailing /p2p/ with the local PeerId, and are thus suitable to be - * passed to addReservedPeer or as a bootnode address for example - */ + * The addresses include a trailing /p2p/ with the local PeerId, and are thus suitable to be passed to addReservedPeer or as a bootnode address for example + **/ localListenAddresses: AugmentedRpc<() => Observable>>; - /** Returns the base58-encoded PeerId of the node */ + /** + * Returns the base58-encoded PeerId of the node + **/ localPeerId: AugmentedRpc<() => Observable>; - /** Retrieves the node name */ + /** + * Retrieves the node name + **/ name: AugmentedRpc<() => Observable>; - /** Returns current state of the network */ + /** + * Returns current state of the network + **/ networkState: AugmentedRpc<() => Observable>; - /** Returns the roles the node is running as */ + /** + * Returns the roles the node is running as + **/ nodeRoles: AugmentedRpc<() => Observable>>; - /** Returns the currently connected peers */ + /** + * Returns the currently connected peers + **/ peers: AugmentedRpc<() => Observable>>; - /** Get a custom set of properties as a JSON object, defined in the chain spec */ + /** + * Get a custom set of properties as a JSON object, defined in the chain spec + **/ properties: AugmentedRpc<() => Observable>; - /** Remove a reserved peer */ + /** + * Remove a reserved peer + **/ removeReservedPeer: AugmentedRpc<(peerId: Text | string) => Observable>; - /** Returns the list of reserved peers */ + /** + * Returns the list of reserved peers + **/ reservedPeers: AugmentedRpc<() => Observable>>; - /** Resets the log filter to Substrate defaults */ + /** + * Resets the log filter to Substrate defaults + **/ resetLogFilter: AugmentedRpc<() => Observable>; - /** Returns the state of the syncing of the node */ + /** + * Returns the state of the syncing of the node + **/ syncState: AugmentedRpc<() => Observable>; - /** Retrieves the version of the node */ + /** + * Retrieves the version of the node + **/ version: AugmentedRpc<() => Observable>; }; web3: { - /** Returns current client version. */ + /** + * Returns current client version. + **/ clientVersion: AugmentedRpc<() => Observable>; - /** Returns sha3 of the given data */ + /** + * Returns sha3 of the given data + **/ sha3: AugmentedRpc<(data: Bytes | string | Uint8Array) => Observable>; }; } // RpcInterface diff --git a/typescript-api/src/moonriver/interfaces/augment-api-runtime.ts b/typescript-api/src/moonriver/interfaces/augment-api-runtime.ts index 798d1db8cc..aacce6b598 100644 --- a/typescript-api/src/moonriver/interfaces/augment-api-runtime.ts +++ b/typescript-api/src/moonriver/interfaces/augment-api-runtime.ts @@ -17,7 +17,7 @@ import type { u128, u256, u32, - u64, + u64 } from "@polkadot/types-codec"; import type { AnyNumber, IMethod, ITuple } from "@polkadot/types-codec/types"; import type { CheckInherentsResult, InherentData } from "@polkadot/types/interfaces/blockbuilder"; @@ -26,13 +26,13 @@ import type { CollationInfo } from "@polkadot/types/interfaces/cumulus"; import type { CallDryRunEffects, XcmDryRunApiError, - XcmDryRunEffects, + XcmDryRunEffects } from "@polkadot/types/interfaces/dryRunApi"; import type { BlockV2, EthReceiptV3, EthTransactionStatus, - TransactionV2, + TransactionV2 } from "@polkadot/types/interfaces/eth"; import type { EvmAccount, EvmCallInfoV2, EvmCreateInfoV2 } from "@polkadot/types/interfaces/evm"; import type { Extrinsic } from "@polkadot/types/interfaces/extrinsics"; @@ -53,7 +53,7 @@ import type { Permill, RuntimeCall, Weight, - WeightV2, + WeightV2 } from "@polkadot/types/interfaces/runtime"; import type { RuntimeVersion } from "@polkadot/types/interfaces/state"; import type { ApplyExtrinsicResult, DispatchError } from "@polkadot/types/interfaces/system"; @@ -64,7 +64,7 @@ import type { Error } from "@polkadot/types/interfaces/xcmRuntimeApi"; import type { XcmVersionedAssetId, XcmVersionedLocation, - XcmVersionedXcm, + XcmVersionedXcm } from "@polkadot/types/lookup"; import type { IExtrinsic, Observable } from "@polkadot/types/types"; @@ -75,24 +75,32 @@ declare module "@polkadot/api-base/types/calls" { interface AugmentedCalls { /** 0xbc9d89904f5b923f/1 */ accountNonceApi: { - /** The API to query account nonce (aka transaction index) */ + /** + * The API to query account nonce (aka transaction index) + **/ accountNonce: AugmentedCall< ApiType, (accountId: AccountId | string | Uint8Array) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0x40fe3ad401f8959a/6 */ blockBuilder: { - /** Apply the given extrinsic. */ + /** + * Apply the given extrinsic. + **/ applyExtrinsic: AugmentedCall< ApiType, ( extrinsic: Extrinsic | IExtrinsic | string | Uint8Array ) => Observable >; - /** Check that the inherents are valid. */ + /** + * Check that the inherents are valid. + **/ checkInherents: AugmentedCall< ApiType, ( @@ -100,21 +108,29 @@ declare module "@polkadot/api-base/types/calls" { data: InherentData | { data?: any } | string | Uint8Array ) => Observable >; - /** Finish the current block. */ + /** + * Finish the current block. + **/ finalizeBlock: AugmentedCall Observable
>; - /** Generate inherent extrinsics. */ + /** + * Generate inherent extrinsics. + **/ inherentExtrinsics: AugmentedCall< ApiType, ( inherent: InherentData | { data?: any } | string | Uint8Array ) => Observable> >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0xea93e3f16f3d6962/2 */ collectCollationInfo: { - /** Collect information about a collation. */ + /** + * Collect information about a collation. + **/ collectCollationInfo: AugmentedCall< ApiType, ( @@ -131,12 +147,16 @@ declare module "@polkadot/api-base/types/calls" { | Uint8Array ) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0xe65b00e46cedd0aa/2 */ convertTransactionRuntimeApi: { - /** Converts an Ethereum-style transaction to Extrinsic */ + /** + * Converts an Ethereum-style transaction to Extrinsic + **/ convertTransaction: AugmentedCall< ApiType, ( @@ -149,19 +169,25 @@ declare module "@polkadot/api-base/types/calls" { | Uint8Array ) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0xdf6acb689907609b/5 */ core: { - /** Execute the given block. */ + /** + * Execute the given block. + **/ executeBlock: AugmentedCall< ApiType, ( block: Block | { header?: any; extrinsics?: any } | string | Uint8Array ) => Observable >; - /** Initialize a block with the given header. */ + /** + * Initialize a block with the given header. + **/ initializeBlock: AugmentedCall< ApiType, ( @@ -178,14 +204,20 @@ declare module "@polkadot/api-base/types/calls" { | Uint8Array ) => Observable >; - /** Returns the version of the runtime. */ + /** + * Returns the version of the runtime. + **/ version: AugmentedCall Observable>; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0x91b1c8b16328eb92/1 */ dryRunApi: { - /** Dry run call */ + /** + * Dry run call + **/ dryRunCall: AugmentedCall< ApiType, ( @@ -193,7 +225,9 @@ declare module "@polkadot/api-base/types/calls" { call: RuntimeCall | IMethod | string | Uint8Array ) => Observable> >; - /** Dry run XCM program */ + /** + * Dry run XCM program + **/ dryRunXcm: AugmentedCall< ApiType, ( @@ -217,24 +251,34 @@ declare module "@polkadot/api-base/types/calls" { | Uint8Array ) => Observable> >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0x582211f65bb14b89/5 */ ethereumRuntimeRPCApi: { - /** Returns pallet_evm::Accounts by address. */ + /** + * Returns pallet_evm::Accounts by address. + **/ accountBasic: AugmentedCall< ApiType, (address: H160 | string | Uint8Array) => Observable >; - /** For a given account address, returns pallet_evm::AccountCodes. */ + /** + * For a given account address, returns pallet_evm::AccountCodes. + **/ accountCodeAt: AugmentedCall< ApiType, (address: H160 | string | Uint8Array) => Observable >; - /** Returns the converted FindAuthor::find_author authority id. */ + /** + * Returns the converted FindAuthor::find_author authority id. + **/ author: AugmentedCall Observable>; - /** Returns a frame_ethereum::call response. If `estimate` is true, */ + /** + * Returns a frame_ethereum::call response. If `estimate` is true, + **/ call: AugmentedCall< ApiType, ( @@ -255,9 +299,13 @@ declare module "@polkadot/api-base/types/calls" { | [H160 | string | Uint8Array, Vec | (H256 | string | Uint8Array)[]][] ) => Observable> >; - /** Returns runtime defined pallet_evm::ChainId. */ + /** + * Returns runtime defined pallet_evm::ChainId. + **/ chainId: AugmentedCall Observable>; - /** Returns a frame_ethereum::call response. If `estimate` is true, */ + /** + * Returns a frame_ethereum::call response. If `estimate` is true, + **/ create: AugmentedCall< ApiType, ( @@ -277,34 +325,50 @@ declare module "@polkadot/api-base/types/calls" { | [H160 | string | Uint8Array, Vec | (H256 | string | Uint8Array)[]][] ) => Observable> >; - /** Return all the current data for a block in a single runtime call. */ + /** + * Return all the current data for a block in a single runtime call. + **/ currentAll: AugmentedCall< ApiType, () => Observable< ITuple<[Option, Option>, Option>]> > >; - /** Return the current block. */ + /** + * Return the current block. + **/ currentBlock: AugmentedCall Observable>; - /** Return the current receipt. */ + /** + * Return the current receipt. + **/ currentReceipts: AugmentedCall Observable>>>; - /** Return the current transaction status. */ + /** + * Return the current transaction status. + **/ currentTransactionStatuses: AugmentedCall< ApiType, () => Observable>> >; - /** Return the elasticity multiplier. */ + /** + * Return the elasticity multiplier. + **/ elasticity: AugmentedCall Observable>>; - /** Receives a `Vec` and filters all the ethereum transactions. */ + /** + * Receives a `Vec` and filters all the ethereum transactions. + **/ extrinsicFilter: AugmentedCall< ApiType, ( xts: Vec | (Extrinsic | IExtrinsic | string | Uint8Array)[] ) => Observable> >; - /** Returns FixedGasPrice::min_gas_price */ + /** + * Returns FixedGasPrice::min_gas_price + **/ gasPrice: AugmentedCall Observable>; - /** For a given account address and index, returns pallet_evm::AccountStorages. */ + /** + * For a given account address and index, returns pallet_evm::AccountStorages. + **/ storageAt: AugmentedCall< ApiType, ( @@ -312,24 +376,34 @@ declare module "@polkadot/api-base/types/calls" { index: u256 | AnyNumber | Uint8Array ) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0xfbc577b9d747efd6/1 */ genesisBuilder: { - /** Build `RuntimeGenesisConfig` from a JSON blob not using any defaults and store it in the storage. */ + /** + * Build `RuntimeGenesisConfig` from a JSON blob not using any defaults and store it in the storage. + **/ buildConfig: AugmentedCall< ApiType, (json: Bytes | string | Uint8Array) => Observable, GenesisBuildErr>> >; - /** Creates the default `RuntimeGenesisConfig` and returns it as a JSON blob. */ + /** + * Creates the default `RuntimeGenesisConfig` and returns it as a JSON blob. + **/ createDefaultConfig: AugmentedCall Observable>; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0x9ffb505aa738d69c/1 */ locationToAccountApi: { - /** Converts `Location` to `AccountId` */ + /** + * Converts `Location` to `AccountId` + **/ convertLocation: AugmentedCall< ApiType, ( @@ -342,26 +416,38 @@ declare module "@polkadot/api-base/types/calls" { | Uint8Array ) => Observable> >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0x37e397fc7c91f5e4/2 */ metadata: { - /** Returns the metadata of a runtime */ + /** + * Returns the metadata of a runtime + **/ metadata: AugmentedCall Observable>; - /** Returns the metadata at a given version. */ + /** + * Returns the metadata at a given version. + **/ metadataAtVersion: AugmentedCall< ApiType, (version: u32 | AnyNumber | Uint8Array) => Observable> >; - /** Returns the supported metadata versions. */ + /** + * Returns the supported metadata versions. + **/ metadataVersions: AugmentedCall Observable>>; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0x2aa62120049dd2d2/1 */ nimbusApi: { - /** The runtime api used to predict whether a Nimbus author will be eligible in the given slot */ + /** + * The runtime api used to predict whether a Nimbus author will be eligible in the given slot + **/ canAuthor: AugmentedCall< ApiType, ( @@ -380,12 +466,16 @@ declare module "@polkadot/api-base/types/calls" { | Uint8Array ) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0xf78b278be53f454c/2 */ offchainWorkerApi: { - /** Starts the off-chain task for given block header. */ + /** + * Starts the off-chain task for given block header. + **/ offchainWorker: AugmentedCall< ApiType, ( @@ -402,29 +492,39 @@ declare module "@polkadot/api-base/types/calls" { | Uint8Array ) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0xab3c0572291feb8b/1 */ sessionKeys: { - /** Decode the given public session keys. */ + /** + * Decode the given public session keys. + **/ decodeSessionKeys: AugmentedCall< ApiType, ( encoded: Bytes | string | Uint8Array ) => Observable>>> >; - /** Generate a set of session keys with optionally using the given seed. */ + /** + * Generate a set of session keys with optionally using the given seed. + **/ generateSessionKeys: AugmentedCall< ApiType, (seed: Option | null | Uint8Array | Bytes | string) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0xd2bc9897eed08f15/3 */ taggedTransactionQueue: { - /** Validate the transaction. */ + /** + * Validate the transaction. + **/ validateTransaction: AugmentedCall< ApiType, ( @@ -433,12 +533,16 @@ declare module "@polkadot/api-base/types/calls" { blockHash: BlockHash | string | Uint8Array ) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0x37c8bb1350a9a2a8/4 */ transactionPaymentApi: { - /** The transaction fee details */ + /** + * The transaction fee details + **/ queryFeeDetails: AugmentedCall< ApiType, ( @@ -446,7 +550,9 @@ declare module "@polkadot/api-base/types/calls" { len: u32 | AnyNumber | Uint8Array ) => Observable >; - /** The transaction info */ + /** + * The transaction info + **/ queryInfo: AugmentedCall< ApiType, ( @@ -454,30 +560,41 @@ declare module "@polkadot/api-base/types/calls" { len: u32 | AnyNumber | Uint8Array ) => Observable >; - /** Query the output of the current LengthToFee given some input */ + /** + * Query the output of the current LengthToFee given some input + **/ queryLengthToFee: AugmentedCall< ApiType, (length: u32 | AnyNumber | Uint8Array) => Observable >; - /** Query the output of the current WeightToFee given some input */ + /** + * Query the output of the current WeightToFee given some input + **/ queryWeightToFee: AugmentedCall< ApiType, ( weight: Weight | { refTime?: any; proofSize?: any } | string | Uint8Array ) => Observable >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; /** 0x6ff52ee858e6c5bd/1 */ xcmPaymentApi: { - /** The API to query acceptable payment assets */ + /** + * The API to query acceptable payment assets + **/ queryAcceptablePaymentAssets: AugmentedCall< ApiType, ( version: u32 | AnyNumber | Uint8Array ) => Observable, XcmPaymentApiError>> >; + /** + * + **/ queryWeightToAssetFee: AugmentedCall< ApiType, ( @@ -485,13 +602,18 @@ declare module "@polkadot/api-base/types/calls" { asset: XcmVersionedAssetId | { V3: any } | { V4: any } | string | Uint8Array ) => Observable> >; + /** + * + **/ queryXcmWeight: AugmentedCall< ApiType, ( message: XcmVersionedXcm | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array ) => Observable> >; - /** Generic call */ + /** + * Generic call + **/ [key: string]: DecoratedCallBase; }; } // AugmentedCalls diff --git a/typescript-api/src/moonriver/interfaces/augment-api-tx.ts b/typescript-api/src/moonriver/interfaces/augment-api-tx.ts index fea9f058c0..8b6985f2b2 100644 --- a/typescript-api/src/moonriver/interfaces/augment-api-tx.ts +++ b/typescript-api/src/moonriver/interfaces/augment-api-tx.ts @@ -9,7 +9,7 @@ import type { ApiTypes, AugmentedSubmittable, SubmittableExtrinsic, - SubmittableExtrinsicFunction, + SubmittableExtrinsicFunction } from "@polkadot/api-base/types"; import type { Data } from "@polkadot/types"; import type { @@ -26,7 +26,7 @@ import type { u16, u32, u64, - u8, + u8 } from "@polkadot/types-codec"; import type { AnyNumber, IMethod, ITuple } from "@polkadot/types-codec/types"; import type { @@ -35,7 +35,7 @@ import type { H160, H256, Perbill, - Percent, + Percent } from "@polkadot/types/interfaces/runtime"; import type { AccountEthereumSignature, @@ -71,7 +71,7 @@ import type { XcmVersionedAssetId, XcmVersionedAssets, XcmVersionedLocation, - XcmVersionedXcm, + XcmVersionedXcm } from "@polkadot/types/lookup"; export type __AugmentedSubmittable = AugmentedSubmittable<() => unknown>; @@ -83,9 +83,10 @@ declare module "@polkadot/api-base/types/submittable" { interface AugmentedSubmittables { assetManager: { /** - * Change the xcm type mapping for a given assetId We also change this if the previous units - * per second where pointing at the old assetType - */ + * Change the xcm type mapping for a given assetId + * We also change this if the previous units per second where pointing at the old + * assetType + **/ changeExistingAssetType: AugmentedSubmittable< ( assetId: u128 | AnyNumber | Uint8Array, @@ -95,9 +96,11 @@ declare module "@polkadot/api-base/types/submittable" { [u128, MoonriverRuntimeXcmConfigAssetType, u32] >; /** - * Destroy a given foreign assetId The weight in this case is the one returned by the trait - * plus the db writes and reads from removing all the associated data - */ + * Destroy a given foreign assetId + * The weight in this case is the one returned by the trait + * plus the db writes and reads from removing all the associated + * data + **/ destroyForeignAsset: AugmentedSubmittable< ( assetId: u128 | AnyNumber | Uint8Array, @@ -105,7 +108,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u128, u32] >; - /** Register new asset with the asset manager */ + /** + * Register new asset with the asset manager + **/ registerForeignAsset: AugmentedSubmittable< ( asset: MoonriverRuntimeXcmConfigAssetType | { Xcm: any } | string | Uint8Array, @@ -124,7 +129,9 @@ declare module "@polkadot/api-base/types/submittable" { bool ] >; - /** Remove a given assetId -> assetType association */ + /** + * Remove a given assetId -> assetType association + **/ removeExistingAssetType: AugmentedSubmittable< ( assetId: u128 | AnyNumber | Uint8Array, @@ -132,7 +139,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u128, u32] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; assets: { @@ -141,21 +150,23 @@ declare module "@polkadot/api-base/types/submittable" { * * Origin must be Signed. * - * Ensures that `ApprovalDeposit` worth of `Currency` is reserved from signing account for the - * purpose of holding the approval. If some non-zero amount of assets is already approved from - * signing account to `delegate`, then it is topped up or unreserved to meet the right value. + * Ensures that `ApprovalDeposit` worth of `Currency` is reserved from signing account + * for the purpose of holding the approval. If some non-zero amount of assets is already + * approved from signing account to `delegate`, then it is topped up or unreserved to + * meet the right value. * - * NOTE: The signing account does not need to own `amount` of assets at the point of making this call. + * NOTE: The signing account does not need to own `amount` of assets at the point of + * making this call. * * - `id`: The identifier of the asset. * - `delegate`: The account to delegate permission to transfer asset. - * - `amount`: The amount of asset that may be transferred by `delegate`. If there is already an - * approval in place, then this acts additively. + * - `amount`: The amount of asset that may be transferred by `delegate`. If there is + * already an approval in place, then this acts additively. * * Emits `ApprovedTransfer` on success. * * Weight: `O(1)` - */ + **/ approveTransfer: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -175,7 +186,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `Blocked`. * * Weight: `O(1)` - */ + **/ block: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -197,8 +208,9 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `Burned` with the actual amount burned. If this takes the balance to below the * minimum for the asset, then the amount burned is increased to take it to zero. * - * Weight: `O(1)` Modes: Post-existence of `who`; Pre & post Zombie-status of `who`. - */ + * Weight: `O(1)` + * Modes: Post-existence of `who`; Pre & post Zombie-status of `who`. + **/ burn: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -210,7 +222,8 @@ declare module "@polkadot/api-base/types/submittable" { /** * Cancel all of some asset approved for delegated transfer by a third-party account. * - * Origin must be Signed and there must be an approval in place between signer and `delegate`. + * Origin must be Signed and there must be an approval in place between signer and + * `delegate`. * * Unreserves any deposit previously reserved by `approve_transfer` for the approval. * @@ -220,7 +233,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `ApprovalCancelled` on success. * * Weight: `O(1)` - */ + **/ cancelApproval: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -240,7 +253,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `MetadataCleared`. * * Weight: `O(1)` - */ + **/ clearMetadata: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -255,18 +268,17 @@ declare module "@polkadot/api-base/types/submittable" { * Funds of sender are reserved by `AssetDeposit`. * * Parameters: - * - * - `id`: The identifier of the new asset. This must not be currently in use to identify an - * existing asset. If [`NextAssetId`] is set, then this must be equal to it. - * - `admin`: The admin of this class of assets. The admin is the initial address of each member - * of the asset class's admin team. - * - `min_balance`: The minimum balance of this new asset that any single account must have. If - * an account's balance is reduced below this, then it collapses to zero. + * - `id`: The identifier of the new asset. This must not be currently in use to identify + * an existing asset. If [`NextAssetId`] is set, then this must be equal to it. + * - `admin`: The admin of this class of assets. The admin is the initial address of each + * member of the asset class's admin team. + * - `min_balance`: The minimum balance of this new asset that any single account must + * have. If an account's balance is reduced below this, then it collapses to zero. * * Emits `Created` event when successful. * * Weight: `O(1)` - */ + **/ create: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -284,10 +296,11 @@ declare module "@polkadot/api-base/types/submittable" { * Due to weight restrictions, this function may need to be called multiple times to fully * destroy all accounts. It will destroy `RemoveItemsLimit` accounts at a time. * - * - `id`: The identifier of the asset to be destroyed. This must identify an existing asset. + * - `id`: The identifier of the asset to be destroyed. This must identify an existing + * asset. * * Each call emits the `Event::DestroyedAccounts` event. - */ + **/ destroyAccounts: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -301,10 +314,11 @@ declare module "@polkadot/api-base/types/submittable" { * Due to weight restrictions, this function may need to be called multiple times to fully * destroy all approvals. It will destroy `RemoveItemsLimit` approvals at a time. * - * - `id`: The identifier of the asset to be destroyed. This must identify an existing asset. + * - `id`: The identifier of the asset to be destroyed. This must identify an existing + * asset. * * Each call emits the `Event::DestroyedApprovals` event. - */ + **/ destroyApprovals: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -312,13 +326,15 @@ declare module "@polkadot/api-base/types/submittable" { /** * Complete destroying asset and unreserve currency. * - * `finish_destroy` should only be called after `start_destroy` has been called, and the asset - * is in a `Destroying` state. All accounts or approvals should be destroyed before hand. + * `finish_destroy` should only be called after `start_destroy` has been called, and the + * asset is in a `Destroying` state. All accounts or approvals should be destroyed before + * hand. * - * - `id`: The identifier of the asset to be destroyed. This must identify an existing asset. + * - `id`: The identifier of the asset to be destroyed. This must identify an existing + * asset. * * Each successful call emits the `Event::Destroyed` event. - */ + **/ finishDestroy: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -333,18 +349,20 @@ declare module "@polkadot/api-base/types/submittable" { * - `issuer`: The new Issuer of this asset. * - `admin`: The new Admin of this asset. * - `freezer`: The new Freezer of this asset. - * - `min_balance`: The minimum balance of this new asset that any single account must have. If - * an account's balance is reduced below this, then it collapses to zero. - * - `is_sufficient`: Whether a non-zero balance of this asset is deposit of sufficient value to - * account for the state bloat associated with its balance storage. If set to `true`, then - * non-zero balances may be stored without a `consumer` reference (and thus an ED in the - * Balances pallet or whatever else is used to control user-account state growth). - * - `is_frozen`: Whether this asset class is frozen except for permissioned/admin instructions. + * - `min_balance`: The minimum balance of this new asset that any single account must + * have. If an account's balance is reduced below this, then it collapses to zero. + * - `is_sufficient`: Whether a non-zero balance of this asset is deposit of sufficient + * value to account for the state bloat associated with its balance storage. If set to + * `true`, then non-zero balances may be stored without a `consumer` reference (and thus + * an ED in the Balances pallet or whatever else is used to control user-account state + * growth). + * - `is_frozen`: Whether this asset class is frozen except for permissioned/admin + * instructions. * * Emits `AssetStatusChanged` with the identity of the asset. * * Weight: `O(1)` - */ + **/ forceAssetStatus: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -370,8 +388,8 @@ declare module "@polkadot/api-base/types/submittable" { /** * Cancel all of some asset approved for delegated transfer by a third-party account. * - * Origin must be either ForceOrigin or Signed origin with the signer being the Admin account - * of the asset `id`. + * Origin must be either ForceOrigin or Signed origin with the signer being the Admin + * account of the asset `id`. * * Unreserves any deposit previously reserved by `approve_transfer` for the approval. * @@ -381,7 +399,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `ApprovalCancelled` on success. * * Weight: `O(1)` - */ + **/ forceCancelApproval: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -402,7 +420,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `MetadataCleared`. * * Weight: `O(1)` - */ + **/ forceClearMetadata: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -416,18 +434,18 @@ declare module "@polkadot/api-base/types/submittable" { * * Unlike `create`, no funds are reserved. * - * - `id`: The identifier of the new asset. This must not be currently in use to identify an - * existing asset. If [`NextAssetId`] is set, then this must be equal to it. - * - `owner`: The owner of this class of assets. The owner has full superuser permissions over - * this asset, but may later change and configure the permissions using `transfer_ownership` - * and `set_team`. - * - `min_balance`: The minimum balance of this new asset that any single account must have. If - * an account's balance is reduced below this, then it collapses to zero. + * - `id`: The identifier of the new asset. This must not be currently in use to identify + * an existing asset. If [`NextAssetId`] is set, then this must be equal to it. + * - `owner`: The owner of this class of assets. The owner has full superuser permissions + * over this asset, but may later change and configure the permissions using + * `transfer_ownership` and `set_team`. + * - `min_balance`: The minimum balance of this new asset that any single account must + * have. If an account's balance is reduced below this, then it collapses to zero. * * Emits `ForceCreated` event when successful. * * Weight: `O(1)` - */ + **/ forceCreate: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -452,7 +470,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `MetadataSet`. * * Weight: `O(N + S)` where N and S are the length of the name and symbol respectively. - */ + **/ forceSetMetadata: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -472,16 +490,18 @@ declare module "@polkadot/api-base/types/submittable" { * - `source`: The account to be debited. * - `dest`: The account to be credited. * - `amount`: The amount by which the `source`'s balance of assets should be reduced and - * `dest`'s balance increased. The amount actually transferred may be slightly greater in - * the case that the transfer would otherwise take the `source` balance above zero but below - * the minimum balance. Must be greater than zero. + * `dest`'s balance increased. The amount actually transferred may be slightly greater in + * the case that the transfer would otherwise take the `source` balance above zero but + * below the minimum balance. Must be greater than zero. * - * Emits `Transferred` with the actual amount transferred. If this takes the source balance to - * below the minimum for the asset, then the amount transferred is increased to take it to zero. + * Emits `Transferred` with the actual amount transferred. If this takes the source balance + * to below the minimum for the asset, then the amount transferred is increased to take it + * to zero. * - * Weight: `O(1)` Modes: Pre-existence of `dest`; Post-existence of `source`; Account - * pre-existence of `dest`. - */ + * Weight: `O(1)` + * Modes: Pre-existence of `dest`; Post-existence of `source`; Account pre-existence of + * `dest`. + **/ forceTransfer: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -492,9 +512,9 @@ declare module "@polkadot/api-base/types/submittable" { [Compact, AccountId20, AccountId20, Compact] >; /** - * Disallow further unprivileged transfers of an asset `id` from an account `who`. `who` must - * already exist as an entry in `Account`s of the asset. If you want to freeze an account that - * does not have an entry, use `touch_other` first. + * Disallow further unprivileged transfers of an asset `id` from an account `who`. `who` + * must already exist as an entry in `Account`s of the asset. If you want to freeze an + * account that does not have an entry, use `touch_other` first. * * Origin must be Signed and the sender should be the Freezer of the asset `id`. * @@ -504,7 +524,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `Frozen`. * * Weight: `O(1)` - */ + **/ freeze: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -522,7 +542,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `Frozen`. * * Weight: `O(1)` - */ + **/ freezeAsset: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -538,8 +558,9 @@ declare module "@polkadot/api-base/types/submittable" { * * Emits `Issued` event when successful. * - * Weight: `O(1)` Modes: Pre-existing balance of `beneficiary`; Account pre-existence of `beneficiary`. - */ + * Weight: `O(1)` + * Modes: Pre-existing balance of `beneficiary`; Account pre-existence of `beneficiary`. + **/ mint: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -549,15 +570,17 @@ declare module "@polkadot/api-base/types/submittable" { [Compact, AccountId20, Compact] >; /** - * Return the deposit (if any) of an asset account or a consumer reference (if any) of an account. + * Return the deposit (if any) of an asset account or a consumer reference (if any) of an + * account. * * The origin must be Signed. * - * - `id`: The identifier of the asset for which the caller would like the deposit refunded. + * - `id`: The identifier of the asset for which the caller would like the deposit + * refunded. * - `allow_burn`: If `true` then assets may be destroyed in order to complete the refund. * * Emits `Refunded` event when successful. - */ + **/ refund: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -576,7 +599,7 @@ declare module "@polkadot/api-base/types/submittable" { * - `who`: The account to refund. * * Emits `Refunded` event when successful. - */ + **/ refundOther: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -589,8 +612,9 @@ declare module "@polkadot/api-base/types/submittable" { * * Origin must be Signed and the sender should be the Owner of the asset `id`. * - * Funds of sender are reserved according to the formula: `MetadataDepositBase + - * MetadataDepositPerByte * (name.len + symbol.len)` taking into account any already reserved funds. + * Funds of sender are reserved according to the formula: + * `MetadataDepositBase + MetadataDepositPerByte * (name.len + symbol.len)` taking into + * account any already reserved funds. * * - `id`: The identifier of the asset to update. * - `name`: The user friendly name of this asset. Limited in length by `StringLimit`. @@ -600,7 +624,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `MetadataSet`. * * Weight: `O(1)` - */ + **/ setMetadata: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -613,16 +637,17 @@ declare module "@polkadot/api-base/types/submittable" { /** * Sets the minimum balance of an asset. * - * Only works if there aren't any accounts that are holding the asset or if the new value of - * `min_balance` is less than the old one. + * Only works if there aren't any accounts that are holding the asset or if + * the new value of `min_balance` is less than the old one. * - * Origin must be Signed and the sender has to be the Owner of the asset `id`. + * Origin must be Signed and the sender has to be the Owner of the + * asset `id`. * * - `id`: The identifier of the asset. * - `min_balance`: The new value of `min_balance`. * * Emits `AssetMinBalanceChanged` event when successful. - */ + **/ setMinBalance: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -643,7 +668,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `TeamChanged`. * * Weight: `O(1)` - */ + **/ setTeam: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -661,10 +686,11 @@ declare module "@polkadot/api-base/types/submittable" { * * The origin must conform to `ForceOrigin` or must be `Signed` by the asset's `owner`. * - * - `id`: The identifier of the asset to be destroyed. This must identify an existing asset. + * - `id`: The identifier of the asset to be destroyed. This must identify an existing + * asset. * * The asset class must be frozen before calling `start_destroy`. - */ + **/ startDestroy: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -680,7 +706,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `Thawed`. * * Weight: `O(1)` - */ + **/ thaw: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -698,7 +724,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `Thawed`. * * Weight: `O(1)` - */ + **/ thawAsset: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -708,11 +734,12 @@ declare module "@polkadot/api-base/types/submittable" { * * A deposit will be taken from the signer account. * - * - `origin`: Must be Signed; the signer account must have sufficient funds for a deposit to be taken. + * - `origin`: Must be Signed; the signer account must have sufficient funds for a deposit + * to be taken. * - `id`: The identifier of the asset for the account to be created. * * Emits `Touched` event when successful. - */ + **/ touch: AugmentedSubmittable< (id: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -722,13 +749,13 @@ declare module "@polkadot/api-base/types/submittable" { * * A deposit will be taken from the signer account. * - * - `origin`: Must be Signed by `Freezer` or `Admin` of the asset `id`; the signer account must - * have sufficient funds for a deposit to be taken. + * - `origin`: Must be Signed by `Freezer` or `Admin` of the asset `id`; the signer account + * must have sufficient funds for a deposit to be taken. * - `id`: The identifier of the asset for the account to be created. * - `who`: The account to be created. * * Emits `Touched` event when successful. - */ + **/ touchOther: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -744,16 +771,18 @@ declare module "@polkadot/api-base/types/submittable" { * - `id`: The identifier of the asset to have some amount transferred. * - `target`: The account to be credited. * - `amount`: The amount by which the sender's balance of assets should be reduced and - * `target`'s balance increased. The amount actually transferred may be slightly greater in - * the case that the transfer would otherwise take the sender balance above zero but below - * the minimum balance. Must be greater than zero. + * `target`'s balance increased. The amount actually transferred may be slightly greater in + * the case that the transfer would otherwise take the sender balance above zero but below + * the minimum balance. Must be greater than zero. * - * Emits `Transferred` with the actual amount transferred. If this takes the source balance to - * below the minimum for the asset, then the amount transferred is increased to take it to zero. + * Emits `Transferred` with the actual amount transferred. If this takes the source balance + * to below the minimum for the asset, then the amount transferred is increased to take it + * to zero. * - * Weight: `O(1)` Modes: Pre-existence of `target`; Post-existence of sender; Account - * pre-existence of `target`. - */ + * Weight: `O(1)` + * Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of + * `target`. + **/ transfer: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -763,23 +792,25 @@ declare module "@polkadot/api-base/types/submittable" { [Compact, AccountId20, Compact] >; /** - * Transfer some asset balance from a previously delegated account to some third-party account. + * Transfer some asset balance from a previously delegated account to some third-party + * account. * - * Origin must be Signed and there must be an approval in place by the `owner` to the signer. + * Origin must be Signed and there must be an approval in place by the `owner` to the + * signer. * * If the entire amount approved for transfer is transferred, then any deposit previously * reserved by `approve_transfer` is unreserved. * * - `id`: The identifier of the asset. - * - `owner`: The account which previously approved for a transfer of at least `amount` and from - * which the asset balance will be withdrawn. + * - `owner`: The account which previously approved for a transfer of at least `amount` and + * from which the asset balance will be withdrawn. * - `destination`: The account to which the asset balance of `amount` will be transferred. * - `amount`: The amount of assets to transfer. * * Emits `TransferredApproved` on success. * * Weight: `O(1)` - */ + **/ transferApproved: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -797,16 +828,18 @@ declare module "@polkadot/api-base/types/submittable" { * - `id`: The identifier of the asset to have some amount transferred. * - `target`: The account to be credited. * - `amount`: The amount by which the sender's balance of assets should be reduced and - * `target`'s balance increased. The amount actually transferred may be slightly greater in - * the case that the transfer would otherwise take the sender balance above zero but below - * the minimum balance. Must be greater than zero. + * `target`'s balance increased. The amount actually transferred may be slightly greater in + * the case that the transfer would otherwise take the sender balance above zero but below + * the minimum balance. Must be greater than zero. * - * Emits `Transferred` with the actual amount transferred. If this takes the source balance to - * below the minimum for the asset, then the amount transferred is increased to take it to zero. + * Emits `Transferred` with the actual amount transferred. If this takes the source balance + * to below the minimum for the asset, then the amount transferred is increased to take it + * to zero. * - * Weight: `O(1)` Modes: Pre-existence of `target`; Post-existence of sender; Account - * pre-existence of `target`. - */ + * Weight: `O(1)` + * Modes: Pre-existence of `target`; Post-existence of sender; Account pre-existence of + * `target`. + **/ transferKeepAlive: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -826,7 +859,7 @@ declare module "@polkadot/api-base/types/submittable" { * Emits `OwnerChanged`. * * Weight: `O(1)` - */ + **/ transferOwnership: AugmentedSubmittable< ( id: Compact | AnyNumber | Uint8Array, @@ -834,34 +867,42 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, AccountId20] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; authorFilter: { - /** Update the eligible count. Intended to be called by governance. */ + /** + * Update the eligible count. Intended to be called by governance. + **/ setEligible: AugmentedSubmittable< (updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; authorInherent: { /** - * This inherent is a workaround to run code after the "real" inherents have executed, but - * before transactions are executed. - */ + * This inherent is a workaround to run code after the "real" inherents have executed, + * but before transactions are executed. + **/ kickOffAuthorshipValidation: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; authorMapping: { /** * Register your NimbusId onchain so blocks you author are associated with your account. * - * Users who have been (or will soon be) elected active collators in staking, should submit - * this extrinsic to have their blocks accepted and earn rewards. - */ + * Users who have been (or will soon be) elected active collators in staking, + * should submit this extrinsic to have their blocks accepted and earn rewards. + **/ addAssociation: AugmentedSubmittable< ( nimbusId: NimbusPrimitivesNimbusCryptoPublic | string | Uint8Array @@ -871,8 +912,9 @@ declare module "@polkadot/api-base/types/submittable" { /** * Clear your Mapping. * - * This is useful when you are no longer an author and would like to re-claim your security deposit. - */ + * This is useful when you are no longer an author and would like to re-claim your security + * deposit. + **/ clearAssociation: AugmentedSubmittable< ( nimbusId: NimbusPrimitivesNimbusCryptoPublic | string | Uint8Array @@ -882,16 +924,17 @@ declare module "@polkadot/api-base/types/submittable" { /** * Remove your Mapping. * - * This is useful when you are no longer an author and would like to re-claim your security deposit. - */ + * This is useful when you are no longer an author and would like to re-claim your security + * deposit. + **/ removeKeys: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * Set association and session keys at once. * - * This is useful for key rotation to update Nimbus and VRF keys in one call. No new security - * deposit is required. Will replace `update_association` which is kept now for backwards - * compatibility reasons. - */ + * This is useful for key rotation to update Nimbus and VRF keys in one call. + * No new security deposit is required. Will replace `update_association` which is kept + * now for backwards compatibility reasons. + **/ setKeys: AugmentedSubmittable< (keys: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] @@ -900,9 +943,9 @@ declare module "@polkadot/api-base/types/submittable" { * Change your Mapping. * * This is useful for normal key rotation or for when switching from one physical collator - * machine to another. No new security deposit is required. This sets keys to - * new_nimbus_id.into() by default. - */ + * machine to another. No new security deposit is required. + * This sets keys to new_nimbus_id.into() by default. + **/ updateAssociation: AugmentedSubmittable< ( oldNimbusId: NimbusPrimitivesNimbusCryptoPublic | string | Uint8Array, @@ -910,19 +953,21 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [NimbusPrimitivesNimbusCryptoPublic, NimbusPrimitivesNimbusCryptoPublic] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; balances: { /** * Burn the specified liquid free balance from the origin account. * - * If the origin's account ends up below the existential deposit as a result of the burn and - * `keep_alive` is false, the account will be reaped. + * If the origin's account ends up below the existential deposit as a result + * of the burn and `keep_alive` is false, the account will be reaped. * - * Unlike sending funds to a _burn_ address, which merely makes the funds inaccessible, this - * `burn` operation will reduce total issuance by the amount _burned_. - */ + * Unlike sending funds to a _burn_ address, which merely makes the funds inaccessible, + * this `burn` operation will reduce total issuance by the amount _burned_. + **/ burn: AugmentedSubmittable< ( value: Compact | AnyNumber | Uint8Array, @@ -936,7 +981,7 @@ declare module "@polkadot/api-base/types/submittable" { * Can only be called by root and always needs a positive `delta`. * * # Example - */ + **/ forceAdjustTotalIssuance: AugmentedSubmittable< ( direction: @@ -953,7 +998,7 @@ declare module "@polkadot/api-base/types/submittable" { * Set the regular balance of a given account. * * The dispatch origin for this call is `root`. - */ + **/ forceSetBalance: AugmentedSubmittable< ( who: AccountId20 | string | Uint8Array, @@ -964,7 +1009,7 @@ declare module "@polkadot/api-base/types/submittable" { /** * Exactly as `transfer_allow_death`, except the origin must be root and the source account * may be specified. - */ + **/ forceTransfer: AugmentedSubmittable< ( source: AccountId20 | string | Uint8Array, @@ -977,7 +1022,7 @@ declare module "@polkadot/api-base/types/submittable" { * Unreserve some balance from a user by force. * * Can only be called by ROOT. - */ + **/ forceUnreserve: AugmentedSubmittable< ( who: AccountId20 | string | Uint8Array, @@ -988,19 +1033,20 @@ declare module "@polkadot/api-base/types/submittable" { /** * Transfer the entire transferable balance from the caller account. * - * NOTE: This function only attempts to transfer _transferable_ balances. This means that any - * locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be - * transferred by this function. To ensure that this function results in a killed account, you - * might need to prepare the account by removing any reference counters, storage deposits, etc... + * NOTE: This function only attempts to transfer _transferable_ balances. This means that + * any locked, reserved, or existential deposits (when `keep_alive` is `true`), will not be + * transferred by this function. To ensure that this function results in a killed account, + * you might need to prepare the account by removing any reference counters, storage + * deposits, etc... * * The dispatch origin of this call must be Signed. * * - `dest`: The recipient of the transfer. - * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all of the - * funds the account has, causing the sender account to be killed (false), or transfer - * everything except at least the existential deposit, which will guarantee to keep the - * sender account alive (true). - */ + * - `keep_alive`: A boolean to determine if the `transfer_all` operation should send all + * of the funds the account has, causing the sender account to be killed (false), or + * transfer everything except at least the existential deposit, which will guarantee to + * keep the sender account alive (true). + **/ transferAll: AugmentedSubmittable< ( dest: AccountId20 | string | Uint8Array, @@ -1011,12 +1057,12 @@ declare module "@polkadot/api-base/types/submittable" { /** * Transfer some liquid free balance to another account. * - * `transfer_allow_death` will set the `FreeBalance` of the sender and receiver. If the - * sender's account is below the existential deposit as a result of the transfer, the account - * will be reaped. + * `transfer_allow_death` will set the `FreeBalance` of the sender and receiver. + * If the sender's account is below the existential deposit as a result + * of the transfer, the account will be reaped. * * The dispatch origin for this call must be `Signed` by the transactor. - */ + **/ transferAllowDeath: AugmentedSubmittable< ( dest: AccountId20 | string | Uint8Array, @@ -1025,13 +1071,13 @@ declare module "@polkadot/api-base/types/submittable" { [AccountId20, Compact] >; /** - * Same as the [`transfer_allow_death`][`transfer_allow_death`] call, but with a check that - * the transfer will not kill the origin account. + * Same as the [`transfer_allow_death`] call, but with a check that the transfer will not + * kill the origin account. * - * 99% of the time you want [`transfer_allow_death`][`transfer_allow_death`] instead. + * 99% of the time you want [`transfer_allow_death`] instead. * * [`transfer_allow_death`]: struct.Pallet.html#method.transfer - */ + **/ transferKeepAlive: AugmentedSubmittable< ( dest: AccountId20 | string | Uint8Array, @@ -1045,16 +1091,19 @@ declare module "@polkadot/api-base/types/submittable" { * - `origin`: Must be `Signed`. * - `who`: The account to be upgraded. * - * This will waive the transaction fee if at least all but 10% of the accounts needed to be - * upgraded. (We let some not have to be upgraded just in order to allow for the possibility of churn). - */ + * This will waive the transaction fee if at least all but 10% of the accounts needed to + * be upgraded. (We let some not have to be upgraded just in order to allow for the + * possibility of churn). + **/ upgradeAccounts: AugmentedSubmittable< ( who: Vec | (AccountId20 | string | Uint8Array)[] ) => SubmittableExtrinsic, [Vec] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; convictionVoting: { @@ -1062,26 +1111,27 @@ declare module "@polkadot/api-base/types/submittable" { * Delegate the voting power (with some given conviction) of the sending account for a * particular class of polls. * - * The balance delegated is locked for as long as it's delegated, and thereafter for the time - * appropriate for the conviction's lock period. + * The balance delegated is locked for as long as it's delegated, and thereafter for the + * time appropriate for the conviction's lock period. * * The dispatch origin of this call must be _Signed_, and the signing account must either: + * - be delegating already; or + * - have no voting activity (if there is, then it will need to be removed through + * `remove_vote`). * - * - Be delegating already; or - * - Have no voting activity (if there is, then it will need to be removed through `remove_vote`). * - `to`: The account whose voting the `target` account's voting power will follow. - * - `class`: The class of polls to delegate. To delegate multiple classes, multiple calls to - * this function are required. - * - `conviction`: The conviction that will be attached to the delegated votes. When the account - * is undelegated, the funds will be locked for the corresponding period. - * - `balance`: The amount of the account's balance to be used in delegating. This must not be - * more than the account's current balance. + * - `class`: The class of polls to delegate. To delegate multiple classes, multiple calls + * to this function are required. + * - `conviction`: The conviction that will be attached to the delegated votes. When the + * account is undelegated, the funds will be locked for the corresponding period. + * - `balance`: The amount of the account's balance to be used in delegating. This must not + * be more than the account's current balance. * * Emits `Delegated`. * - * Weight: `O(R)` where R is the number of polls the voter delegating to has voted on. Weight - * is initially charged as if maximum votes, but is refunded later. - */ + * Weight: `O(R)` where R is the number of polls the voter delegating to has + * voted on. Weight is initially charged as if maximum votes, but is refunded later. + **/ delegate: AugmentedSubmittable< ( clazz: u16 | AnyNumber | Uint8Array, @@ -1105,18 +1155,20 @@ declare module "@polkadot/api-base/types/submittable" { * Remove a vote for a poll. * * If the `target` is equal to the signer, then this function is exactly equivalent to - * `remove_vote`. If not equal to the signer, then the vote must have expired, either because - * the poll was cancelled, because the voter lost the poll or because the conviction period is over. + * `remove_vote`. If not equal to the signer, then the vote must have expired, + * either because the poll was cancelled, because the voter lost the poll or + * because the conviction period is over. * * The dispatch origin of this call must be _Signed_. * - * - `target`: The account of the vote to be removed; this account must have voted for poll `index`. + * - `target`: The account of the vote to be removed; this account must have voted for poll + * `index`. * - `index`: The index of poll of the vote to be removed. * - `class`: The class of the poll. * - * Weight: `O(R + log R)` where R is the number of polls that `target` has voted on. Weight is - * calculated for the maximum number of vote. - */ + * Weight: `O(R + log R)` where R is the number of polls that `target` has voted on. + * Weight is calculated for the maximum number of vote. + **/ removeOtherVote: AugmentedSubmittable< ( target: AccountId20 | string | Uint8Array, @@ -1129,33 +1181,33 @@ declare module "@polkadot/api-base/types/submittable" { * Remove a vote for a poll. * * If: - * - * - The poll was cancelled, or - * - The poll is ongoing, or - * - The poll has ended such that - * - The vote of the account was in opposition to the result; or - * - There was no conviction to the account's vote; or - * - The account made a split vote ...then the vote is removed cleanly and a following call to - * `unlock` may result in more funds being available. + * - the poll was cancelled, or + * - the poll is ongoing, or + * - the poll has ended such that + * - the vote of the account was in opposition to the result; or + * - there was no conviction to the account's vote; or + * - the account made a split vote + * ...then the vote is removed cleanly and a following call to `unlock` may result in more + * funds being available. * * If, however, the poll has ended and: - * - * - It finished corresponding to the vote of the account, and - * - The account made a standard vote with conviction, and - * - The lock period of the conviction is not over ...then the lock will be aggregated into the - * overall account's lock, which may involve _overlocking_ (where the two locks are combined - * into a single lock that is the maximum of both the amount locked and the time is it locked for). + * - it finished corresponding to the vote of the account, and + * - the account made a standard vote with conviction, and + * - the lock period of the conviction is not over + * ...then the lock will be aggregated into the overall account's lock, which may involve + * *overlocking* (where the two locks are combined into a single lock that is the maximum + * of both the amount locked and the time is it locked for). * * The dispatch origin of this call must be _Signed_, and the signer must have a vote * registered for poll `index`. * * - `index`: The index of poll of the vote to be removed. - * - `class`: Optional parameter, if given it indicates the class of the poll. For polls which - * have finished or are cancelled, this must be `Some`. + * - `class`: Optional parameter, if given it indicates the class of the poll. For polls + * which have finished or are cancelled, this must be `Some`. * - * Weight: `O(R + log R)` where R is the number of polls that `target` has voted on. Weight is - * calculated for the maximum number of vote. - */ + * Weight: `O(R + log R)` where R is the number of polls that `target` has voted on. + * Weight is calculated for the maximum number of vote. + **/ removeVote: AugmentedSubmittable< ( clazz: Option | null | Uint8Array | u16 | AnyNumber, @@ -1166,25 +1218,26 @@ declare module "@polkadot/api-base/types/submittable" { /** * Undelegate the voting power of the sending account for a particular class of polls. * - * Tokens may be unlocked following once an amount of time consistent with the lock period of - * the conviction with which the delegation was issued has passed. + * Tokens may be unlocked following once an amount of time consistent with the lock period + * of the conviction with which the delegation was issued has passed. * - * The dispatch origin of this call must be _Signed_ and the signing account must be currently - * delegating. + * The dispatch origin of this call must be _Signed_ and the signing account must be + * currently delegating. * * - `class`: The class of polls to remove the delegation from. * * Emits `Undelegated`. * - * Weight: `O(R)` where R is the number of polls the voter delegating to has voted on. Weight - * is initially charged as if maximum votes, but is refunded later. - */ + * Weight: `O(R)` where R is the number of polls the voter delegating to has + * voted on. Weight is initially charged as if maximum votes, but is refunded later. + **/ undelegate: AugmentedSubmittable< (clazz: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u16] >; /** - * Remove the lock caused by prior voting/delegating which has expired within a particular class. + * Remove the lock caused by prior voting/delegating which has expired within a particular + * class. * * The dispatch origin of this call must be _Signed_. * @@ -1192,7 +1245,7 @@ declare module "@polkadot/api-base/types/submittable" { * - `target`: The account to remove the lock on. * * Weight: `O(R)` with R number of vote of target. - */ + **/ unlock: AugmentedSubmittable< ( clazz: u16 | AnyNumber | Uint8Array, @@ -1201,8 +1254,8 @@ declare module "@polkadot/api-base/types/submittable" { [u16, AccountId20] >; /** - * Vote in a poll. If `vote.is_aye()`, the vote is to enact the proposal; otherwise it is a - * vote to keep the status quo. + * Vote in a poll. If `vote.is_aye()`, the vote is to enact the proposal; + * otherwise it is a vote to keep the status quo. * * The dispatch origin of this call must be _Signed_. * @@ -1210,7 +1263,7 @@ declare module "@polkadot/api-base/types/submittable" { * - `vote`: The vote configuration. * * Weight: `O(R)` where R is the number of polls the voter has voted on. - */ + **/ vote: AugmentedSubmittable< ( pollIndex: Compact | AnyNumber | Uint8Array, @@ -1224,16 +1277,19 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Compact, PalletConvictionVotingVoteAccountVote] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; crowdloanRewards: { /** * Associate a native rewards_destination identity with a crowdloan contribution. * - * The caller needs to provide the unassociated relay account and a proof to succeed with the - * association The proof is nothing but a signature over the reward_address using the relay keys - */ + * The caller needs to provide the unassociated relay account and a proof to succeed + * with the association + * The proof is nothing but a signature over the reward_address using the relay keys + **/ associateNativeIdentity: AugmentedSubmittable< ( rewardAccount: AccountId20 | string | Uint8Array, @@ -1251,10 +1307,10 @@ declare module "@polkadot/api-base/types/submittable" { /** * Change reward account by submitting proofs from relay accounts * - * The number of valid proofs needs to be bigger than 'RewardAddressRelayVoteThreshold' The - * account to be changed needs to be submitted as 'previous_account' Origin must be - * RewardAddressChangeOrigin - */ + * The number of valid proofs needs to be bigger than 'RewardAddressRelayVoteThreshold' + * The account to be changed needs to be submitted as 'previous_account' + * Origin must be RewardAddressChangeOrigin + **/ changeAssociationWithRelayKeys: AugmentedSubmittable< ( rewardAccount: AccountId20 | string | Uint8Array, @@ -1275,22 +1331,25 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, AccountId20, Vec>] >; - /** Collect whatever portion of your reward are currently vested. */ + /** + * Collect whatever portion of your reward are currently vested. + **/ claim: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * This extrinsic completes the initialization if some checks are fullfiled. These checks are: - * -The reward contribution money matches the crowdloan pot -The end vesting block is higher - * than the init vesting block -The initialization has not complete yet - */ + * -The reward contribution money matches the crowdloan pot + * -The end vesting block is higher than the init vesting block + * -The initialization has not complete yet + **/ completeInitialization: AugmentedSubmittable< (leaseEndingBlock: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; /** - * Initialize the reward distribution storage. It shortcuts whenever an error is found This - * does not enforce any checks other than making sure we dont go over funds + * Initialize the reward distribution storage. It shortcuts whenever an error is found + * This does not enforce any checks other than making sure we dont go over funds * complete_initialization should perform any additional - */ + **/ initializeRewardVec: AugmentedSubmittable< ( rewards: @@ -1303,27 +1362,39 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Vec, u128]>>] >; - /** Update reward address, proving that the caller owns the current native key */ + /** + * Update reward address, proving that the caller owns the current native key + **/ updateRewardAddress: AugmentedSubmittable< (newRewardAccount: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; emergencyParaXcm: { - /** Authorize a runtime upgrade. Only callable in `Paused` mode */ + /** + * Authorize a runtime upgrade. Only callable in `Paused` mode + **/ fastAuthorizeUpgrade: AugmentedSubmittable< (codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] >; - /** Resume `Normal` mode */ + /** + * Resume `Normal` mode + **/ pausedToNormal: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; ethereum: { - /** Transact an Ethereum transaction. */ + /** + * Transact an Ethereum transaction. + **/ transact: AugmentedSubmittable< ( transaction: @@ -1336,15 +1407,17 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [EthereumTransactionTransactionV2] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; ethereumXcm: { /** * Xcm Transact an Ethereum transaction, but allow to force the caller and create address. - * This call should be restricted (callable only by the runtime or governance). Weight: Gas - * limit plus the db reads involving the suspension and proxy checks - */ + * This call should be restricted (callable only by the runtime or governance). + * Weight: Gas limit plus the db reads involving the suspension and proxy checks + **/ forceTransactAs: AugmentedSubmittable< ( transactAs: H160 | string | Uint8Array, @@ -1362,18 +1435,18 @@ declare module "@polkadot/api-base/types/submittable" { * Resumes all Ethereum executions from XCM. * * - `origin`: Must pass `ControllerOrigin`. - */ + **/ resumeEthereumXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * Suspends all Ethereum executions from XCM. * * - `origin`: Must pass `ControllerOrigin`. - */ + **/ suspendEthereumXcmExecution: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** - * Xcm Transact an Ethereum transaction. Weight: Gas limit plus the db read involving the - * suspension check - */ + * Xcm Transact an Ethereum transaction. + * Weight: Gas limit plus the db read involving the suspension check + **/ transact: AugmentedSubmittable< ( xcmTransaction: @@ -1386,9 +1459,9 @@ declare module "@polkadot/api-base/types/submittable" { [XcmPrimitivesEthereumXcmEthereumXcmTransaction] >; /** - * Xcm Transact an Ethereum transaction through proxy. Weight: Gas limit plus the db reads - * involving the suspension and proxy checks - */ + * Xcm Transact an Ethereum transaction through proxy. + * Weight: Gas limit plus the db reads involving the suspension and proxy checks + **/ transactThroughProxy: AugmentedSubmittable< ( transactAs: H160 | string | Uint8Array, @@ -1401,11 +1474,15 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [H160, XcmPrimitivesEthereumXcmEthereumXcmTransaction] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; evm: { - /** Issue an EVM call operation. This is similar to a message call transaction in Ethereum. */ + /** + * Issue an EVM call operation. This is similar to a message call transaction in Ethereum. + **/ call: AugmentedSubmittable< ( source: H160 | string | Uint8Array, @@ -1432,7 +1509,10 @@ declare module "@polkadot/api-base/types/submittable" { Vec]>> ] >; - /** Issue an EVM create operation. This is similar to a contract creation transaction in Ethereum. */ + /** + * Issue an EVM create operation. This is similar to a contract creation transaction in + * Ethereum. + **/ create: AugmentedSubmittable< ( source: H160 | string | Uint8Array, @@ -1448,7 +1528,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [H160, Bytes, U256, u64, U256, Option, Option, Vec]>>] >; - /** Issue an EVM create2 operation. */ + /** + * Issue an EVM create2 operation. + **/ create2: AugmentedSubmittable< ( source: H160 | string | Uint8Array, @@ -1475,7 +1557,9 @@ declare module "@polkadot/api-base/types/submittable" { Vec]>> ] >; - /** Withdraw balance from EVM into currency/balances pallet. */ + /** + * Withdraw balance from EVM into currency/balances pallet. + **/ withdraw: AugmentedSubmittable< ( address: H160 | string | Uint8Array, @@ -1483,14 +1567,17 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [H160, u128] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; evmForeignAssets: { /** - * Change the xcm type mapping for a given assetId We also change this if the previous units - * per second where pointing at the old assetType - */ + * Change the xcm type mapping for a given assetId + * We also change this if the previous units per second where pointing at the old + * assetType + **/ changeXcmLocation: AugmentedSubmittable< ( assetId: u128 | AnyNumber | Uint8Array, @@ -1502,7 +1589,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u128, StagingXcmV4Location] >; - /** Create new asset with the ForeignAssetCreator */ + /** + * Create new asset with the ForeignAssetCreator + **/ createForeignAsset: AugmentedSubmittable< ( assetId: u128 | AnyNumber | Uint8Array, @@ -1517,7 +1606,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u128, StagingXcmV4Location, u8, Bytes, Bytes] >; - /** Freeze a given foreign assetId */ + /** + * Freeze a given foreign assetId + **/ freezeForeignAsset: AugmentedSubmittable< ( assetId: u128 | AnyNumber | Uint8Array, @@ -1525,19 +1616,23 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u128, bool] >; - /** Unfreeze a given foreign assetId */ + /** + * Unfreeze a given foreign assetId + **/ unfreezeForeignAsset: AugmentedSubmittable< (assetId: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u128] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; identity: { /** * Accept a given username that an `authority` granted. The call must include the full * username, as in `username.suffix`. - */ + **/ acceptUsername: AugmentedSubmittable< (username: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] @@ -1550,7 +1645,7 @@ declare module "@polkadot/api-base/types/submittable" { * - `account`: the account of the registrar. * * Emits `RegistrarAdded` if successful. - */ + **/ addRegistrar: AugmentedSubmittable< (account: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] @@ -1558,12 +1653,12 @@ declare module "@polkadot/api-base/types/submittable" { /** * Add the given account to the sender's subs. * - * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated to - * the sender. + * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated + * to the sender. * * The dispatch origin for this call must be _Signed_ and the sender must have a registered * sub identity of `sub`. - */ + **/ addSub: AugmentedSubmittable< ( sub: AccountId20 | string | Uint8Array, @@ -1585,7 +1680,7 @@ declare module "@polkadot/api-base/types/submittable" { * * The authority can grant up to `allocation` usernames. To top up their allocation, they * should just issue (or request via governance) a new `add_username_authority` call. - */ + **/ addUsernameAuthority: AugmentedSubmittable< ( authority: AccountId20 | string | Uint8Array, @@ -1599,12 +1694,13 @@ declare module "@polkadot/api-base/types/submittable" { * * Payment: A previously reserved deposit is returned on success. * - * The dispatch origin for this call must be _Signed_ and the sender must have a registered identity. + * The dispatch origin for this call must be _Signed_ and the sender must have a + * registered identity. * * - `reg_index`: The index of the registrar whose judgement is no longer requested. * * Emits `JudgementUnrequested` if successful. - */ + **/ cancelRequest: AugmentedSubmittable< (regIndex: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -1614,25 +1710,26 @@ declare module "@polkadot/api-base/types/submittable" { * * Payment: All reserved balances on the account are returned. * - * The dispatch origin for this call must be _Signed_ and the sender must have a registered identity. + * The dispatch origin for this call must be _Signed_ and the sender must have a registered + * identity. * * Emits `IdentityCleared` if successful. - */ + **/ clearIdentity: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * Remove an account's identity and sub-account information and slash the deposits. * * Payment: Reserved balances from `set_subs` and `set_identity` are slashed and handled by - * `Slash`. Verification request deposits are not returned; they should be cancelled manually - * using `cancel_request`. + * `Slash`. Verification request deposits are not returned; they should be cancelled + * manually using `cancel_request`. * * The dispatch origin for this call must match `T::ForceOrigin`. * - * - `target`: the account whose identity the judgement is upon. This must be an account with a - * registered identity. + * - `target`: the account whose identity the judgement is upon. This must be an account + * with a registered identity. * * Emits `IdentityKilled` if successful. - */ + **/ killIdentity: AugmentedSubmittable< (target: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] @@ -1640,19 +1737,20 @@ declare module "@polkadot/api-base/types/submittable" { /** * Provide a judgement for an account's identity. * - * The dispatch origin for this call must be _Signed_ and the sender must be the account of - * the registrar whose index is `reg_index`. + * The dispatch origin for this call must be _Signed_ and the sender must be the account + * of the registrar whose index is `reg_index`. * * - `reg_index`: the index of the registrar whose judgement is being made. - * - `target`: the account whose identity the judgement is upon. This must be an account with a - * registered identity. + * - `target`: the account whose identity the judgement is upon. This must be an account + * with a registered identity. * - `judgement`: the judgement of the registrar of index `reg_index` about `target`. - * - `identity`: The hash of the [`IdentityInformationProvider`] for that the judgement is provided. + * - `identity`: The hash of the [`IdentityInformationProvider`] for that the judgement is + * provided. * * Note: Judgements do not apply to a username. * * Emits `JudgementGiven` if successful. - */ + **/ provideJudgement: AugmentedSubmittable< ( regIndex: Compact | AnyNumber | Uint8Array, @@ -1675,29 +1773,29 @@ declare module "@polkadot/api-base/types/submittable" { /** * Remove the sender as a sub-account. * - * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated to - * the sender (_not_ the original depositor). + * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated + * to the sender (*not* the original depositor). * * The dispatch origin for this call must be _Signed_ and the sender must have a registered * super-identity. * * NOTE: This should not normally be used, but is provided in the case that the non- * controller of an account is maliciously registered as a sub-account. - */ + **/ quitSub: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** - * Remove a username that corresponds to an account with no identity. Exists when a user gets - * a username but then calls `clear_identity`. - */ + * Remove a username that corresponds to an account with no identity. Exists when a user + * gets a username but then calls `clear_identity`. + **/ removeDanglingUsername: AugmentedSubmittable< (username: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; /** * Remove an expired username approval. The username was approved by an authority but never - * accepted by the user and must now be beyond its expiration. The call must include the full - * username, as in `username.suffix`. - */ + * accepted by the user and must now be beyond its expiration. The call must include the + * full username, as in `username.suffix`. + **/ removeExpiredApproval: AugmentedSubmittable< (username: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] @@ -1705,17 +1803,19 @@ declare module "@polkadot/api-base/types/submittable" { /** * Remove the given account from the sender's subs. * - * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated to - * the sender. + * Payment: Balance reserved by a previous `set_subs` call for one sub will be repatriated + * to the sender. * * The dispatch origin for this call must be _Signed_ and the sender must have a registered * sub identity of `sub`. - */ + **/ removeSub: AugmentedSubmittable< (sub: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Remove `authority` from the username authorities. */ + /** + * Remove `authority` from the username authorities. + **/ removeUsernameAuthority: AugmentedSubmittable< (authority: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] @@ -1725,7 +1825,7 @@ declare module "@polkadot/api-base/types/submittable" { * * The dispatch origin for this call must be _Signed_ and the sender must have a registered * sub identity of `sub`. - */ + **/ renameSub: AugmentedSubmittable< ( sub: AccountId20 | string | Uint8Array, @@ -1745,19 +1845,21 @@ declare module "@polkadot/api-base/types/submittable" { /** * Request a judgement from a registrar. * - * Payment: At most `max_fee` will be reserved for payment to the registrar if judgement given. + * Payment: At most `max_fee` will be reserved for payment to the registrar if judgement + * given. * - * The dispatch origin for this call must be _Signed_ and the sender must have a registered identity. + * The dispatch origin for this call must be _Signed_ and the sender must have a + * registered identity. * * - `reg_index`: The index of the registrar whose judgement is requested. * - `max_fee`: The maximum fee that may be paid. This should just be auto-populated as: * * ```nocompile - * Self::registrars().get(reg_index).unwrap().fee; + * Self::registrars().get(reg_index).unwrap().fee * ``` * * Emits `JudgementRequested` if successful. - */ + **/ requestJudgement: AugmentedSubmittable< ( regIndex: Compact | AnyNumber | Uint8Array, @@ -1768,12 +1870,12 @@ declare module "@polkadot/api-base/types/submittable" { /** * Change the account associated with a registrar. * - * The dispatch origin for this call must be _Signed_ and the sender must be the account of - * the registrar whose index is `index`. + * The dispatch origin for this call must be _Signed_ and the sender must be the account + * of the registrar whose index is `index`. * * - `index`: the index of the registrar whose fee is to be set. * - `new`: the new account ID. - */ + **/ setAccountId: AugmentedSubmittable< ( index: Compact | AnyNumber | Uint8Array, @@ -1784,12 +1886,12 @@ declare module "@polkadot/api-base/types/submittable" { /** * Set the fee required for a judgement to be requested from a registrar. * - * The dispatch origin for this call must be _Signed_ and the sender must be the account of - * the registrar whose index is `index`. + * The dispatch origin for this call must be _Signed_ and the sender must be the account + * of the registrar whose index is `index`. * * - `index`: the index of the registrar whose fee is to be set. * - `fee`: the new fee. - */ + **/ setFee: AugmentedSubmittable< ( index: Compact | AnyNumber | Uint8Array, @@ -1800,12 +1902,12 @@ declare module "@polkadot/api-base/types/submittable" { /** * Set the field information for a registrar. * - * The dispatch origin for this call must be _Signed_ and the sender must be the account of - * the registrar whose index is `index`. + * The dispatch origin for this call must be _Signed_ and the sender must be the account + * of the registrar whose index is `index`. * * - `index`: the index of the registrar whose fee is to be set. * - `fields`: the fields that the registrar concerns themselves with. - */ + **/ setFields: AugmentedSubmittable< ( index: Compact | AnyNumber | Uint8Array, @@ -1816,15 +1918,15 @@ declare module "@polkadot/api-base/types/submittable" { /** * Set an account's identity information and reserve the appropriate deposit. * - * If the account already has identity information, the deposit is taken as part payment for - * the new deposit. + * If the account already has identity information, the deposit is taken as part payment + * for the new deposit. * * The dispatch origin for this call must be _Signed_. * * - `info`: The identity information. * * Emits `IdentitySet` if successful. - */ + **/ setIdentity: AugmentedSubmittable< ( info: @@ -1845,7 +1947,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [PalletIdentityLegacyIdentityInfo] >; - /** Set a given username as the primary. The username should include the suffix. */ + /** + * Set a given username as the primary. The username should include the suffix. + **/ setPrimaryUsername: AugmentedSubmittable< (username: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] @@ -1853,13 +1957,14 @@ declare module "@polkadot/api-base/types/submittable" { /** * Set the sub-accounts of the sender. * - * Payment: Any aggregate balance reserved by previous `set_subs` calls will be returned and - * an amount `SubAccountDeposit` will be reserved for each item in `subs`. + * Payment: Any aggregate balance reserved by previous `set_subs` calls will be returned + * and an amount `SubAccountDeposit` will be reserved for each item in `subs`. * - * The dispatch origin for this call must be _Signed_ and the sender must have a registered identity. + * The dispatch origin for this call must be _Signed_ and the sender must have a registered + * identity. * * - `subs`: The identity's (new) sub-accounts. - */ + **/ setSubs: AugmentedSubmittable< ( subs: @@ -1888,10 +1993,10 @@ declare module "@polkadot/api-base/types/submittable" { * accept them later. * * Usernames must: - * * - Only contain lowercase ASCII characters or digits. - * - When combined with the suffix of the issuing authority be _less than_ the `MaxUsernameLength`. - */ + * - When combined with the suffix of the issuing authority be _less than_ the + * `MaxUsernameLength`. + **/ setUsernameFor: AugmentedSubmittable< ( who: AccountId20 | string | Uint8Array, @@ -1905,7 +2010,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, Bytes, Option] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; maintenanceMode: { @@ -1913,38 +2020,39 @@ declare module "@polkadot/api-base/types/submittable" { * Place the chain in maintenance mode * * Weight cost is: - * - * - One DB read to ensure we're not already in maintenance mode - * - Three DB writes - 1 for the mode, 1 for suspending xcm execution, 1 for the event - */ + * * One DB read to ensure we're not already in maintenance mode + * * Three DB writes - 1 for the mode, 1 for suspending xcm execution, 1 for the event + **/ enterMaintenanceMode: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * Return the chain to normal operating mode * * Weight cost is: - * - * - One DB read to ensure we're in maintenance mode - * - Three DB writes - 1 for the mode, 1 for resuming xcm execution, 1 for the event - */ + * * One DB read to ensure we're in maintenance mode + * * Three DB writes - 1 for the mode, 1 for resuming xcm execution, 1 for the event + **/ resumeNormalOperation: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; messageQueue: { /** * Execute an overweight message. * - * Temporary processing errors will be propagated whereas permanent errors are treated as - * success condition. + * Temporary processing errors will be propagated whereas permanent errors are treated + * as success condition. * * - `origin`: Must be `Signed`. * - `message_origin`: The origin from which the message to be executed arrived. * - `page`: The page in the queue in which the message to be executed is sitting. * - `index`: The index into the queue of the message to be executed. - * - `weight_limit`: The maximum amount of weight allowed to be consumed in the execution of the message. + * - `weight_limit`: The maximum amount of weight allowed to be consumed in the execution + * of the message. * * Benchmark complexity considerations: O(index + weight_limit). - */ + **/ executeOverweight: AugmentedSubmittable< ( messageOrigin: @@ -1964,7 +2072,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [CumulusPrimitivesCoreAggregateMessageOrigin, u32, u32, SpWeightsWeightV2Weight] >; - /** Remove a page which has no more messages remaining to be processed or is stale. */ + /** + * Remove a page which has no more messages remaining to be processed or is stale. + **/ reapPage: AugmentedSubmittable< ( messageOrigin: @@ -1978,7 +2088,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [CumulusPrimitivesCoreAggregateMessageOrigin, u32] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; moonbeamLazyMigrations: { @@ -2003,43 +2115,61 @@ declare module "@polkadot/api-base/types/submittable" { (assetId: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u128] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; moonbeamOrbiters: { - /** Add a collator to orbiters program. */ + /** + * Add a collator to orbiters program. + **/ addCollator: AugmentedSubmittable< (collator: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Add an orbiter in a collator pool */ + /** + * Add an orbiter in a collator pool + **/ collatorAddOrbiter: AugmentedSubmittable< (orbiter: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Remove an orbiter from the caller collator pool */ + /** + * Remove an orbiter from the caller collator pool + **/ collatorRemoveOrbiter: AugmentedSubmittable< (orbiter: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Remove the caller from the specified collator pool */ + /** + * Remove the caller from the specified collator pool + **/ orbiterLeaveCollatorPool: AugmentedSubmittable< (collator: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Registering as an orbiter */ + /** + * Registering as an orbiter + **/ orbiterRegister: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Deregistering from orbiters */ + /** + * Deregistering from orbiters + **/ orbiterUnregister: AugmentedSubmittable< (collatorsPoolCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** Remove a collator from orbiters program. */ + /** + * Remove a collator from orbiters program. + **/ removeCollator: AugmentedSubmittable< (collator: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; multisig: { @@ -2047,34 +2177,34 @@ declare module "@polkadot/api-base/types/submittable" { * Register approval for a dispatch to be made from a deterministic composite account if * approved by a total of `threshold - 1` of `other_signatories`. * - * Payment: `DepositBase` will be reserved if this is the first approval, plus `threshold` - * times `DepositFactor`. It is returned once this dispatch happens or is cancelled. + * Payment: `DepositBase` will be reserved if this is the first approval, plus + * `threshold` times `DepositFactor`. It is returned once this dispatch happens or + * is cancelled. * * The dispatch origin for this call must be _Signed_. * * - `threshold`: The total number of approvals for this dispatch before it is executed. - * - `other_signatories`: The accounts (other than the sender) who can approve this dispatch. - * May not be empty. - * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is not - * the first approval, then it must be `Some`, with the timepoint (block number and - * transaction index) of the first approval transaction. + * - `other_signatories`: The accounts (other than the sender) who can approve this + * dispatch. May not be empty. + * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is + * not the first approval, then it must be `Some`, with the timepoint (block number and + * transaction index) of the first approval transaction. * - `call_hash`: The hash of the call to be executed. * * NOTE: If this is the final approval, you will want to use `as_multi` instead. * * ## Complexity - * * - `O(S)`. * - Up to one balance-reserve or unreserve operation. - * - One passthrough operation, one insert, both `O(S)` where `S` is the number of signatories. - * `S` is capped by `MaxSignatories`, with weight being proportional. + * - One passthrough operation, one insert, both `O(S)` where `S` is the number of + * signatories. `S` is capped by `MaxSignatories`, with weight being proportional. * - One encode & hash, both of complexity `O(S)`. * - Up to one binary search and insert (`O(logS + S)`). * - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove. * - One event. - * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit taken for - * its lifetime of `DepositBase + threshold * DepositFactor`. - */ + * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit + * taken for its lifetime of `DepositBase + threshold * DepositFactor`. + **/ approveAsMulti: AugmentedSubmittable< ( threshold: u16 | AnyNumber | Uint8Array, @@ -2101,41 +2231,41 @@ declare module "@polkadot/api-base/types/submittable" { * * If there are enough, then dispatch the call. * - * Payment: `DepositBase` will be reserved if this is the first approval, plus `threshold` - * times `DepositFactor`. It is returned once this dispatch happens or is cancelled. + * Payment: `DepositBase` will be reserved if this is the first approval, plus + * `threshold` times `DepositFactor`. It is returned once this dispatch happens or + * is cancelled. * * The dispatch origin for this call must be _Signed_. * * - `threshold`: The total number of approvals for this dispatch before it is executed. - * - `other_signatories`: The accounts (other than the sender) who can approve this dispatch. - * May not be empty. - * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is not - * the first approval, then it must be `Some`, with the timepoint (block number and - * transaction index) of the first approval transaction. + * - `other_signatories`: The accounts (other than the sender) who can approve this + * dispatch. May not be empty. + * - `maybe_timepoint`: If this is the first approval, then this must be `None`. If it is + * not the first approval, then it must be `Some`, with the timepoint (block number and + * transaction index) of the first approval transaction. * - `call`: The call to be executed. * - * NOTE: Unless this is the final approval, you will generally want to use `approve_as_multi` - * instead, since it only requires a hash of the call. + * NOTE: Unless this is the final approval, you will generally want to use + * `approve_as_multi` instead, since it only requires a hash of the call. * - * Result is equivalent to the dispatched result if `threshold` is exactly `1`. Otherwise on - * success, result is `Ok` and the result from the interior call, if it was executed, may be - * found in the deposited `MultisigExecuted` event. + * Result is equivalent to the dispatched result if `threshold` is exactly `1`. Otherwise + * on success, result is `Ok` and the result from the interior call, if it was executed, + * may be found in the deposited `MultisigExecuted` event. * * ## Complexity - * * - `O(S + Z + Call)`. * - Up to one balance-reserve or unreserve operation. - * - One passthrough operation, one insert, both `O(S)` where `S` is the number of signatories. - * `S` is capped by `MaxSignatories`, with weight being proportional. + * - One passthrough operation, one insert, both `O(S)` where `S` is the number of + * signatories. `S` is capped by `MaxSignatories`, with weight being proportional. * - One call encode & hash, both of complexity `O(Z)` where `Z` is tx-len. * - One encode & hash, both of complexity `O(S)`. * - Up to one binary search and insert (`O(logS + S)`). * - I/O: 1 read `O(S)`, up to 1 mutate `O(S)`. Up to one remove. * - One event. * - The weight of the `call`. - * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit taken for - * its lifetime of `DepositBase + threshold * DepositFactor`. - */ + * - Storage: inserts one item, value size bounded by `MaxSignatories`, with a deposit + * taken for its lifetime of `DepositBase + threshold * DepositFactor`. + **/ asMulti: AugmentedSubmittable< ( threshold: u16 | AnyNumber | Uint8Array, @@ -2162,15 +2292,14 @@ declare module "@polkadot/api-base/types/submittable" { * The dispatch origin for this call must be _Signed_. * * - `other_signatories`: The accounts (other than the sender) who are part of the - * multi-signature, but do not participate in the approval process. + * multi-signature, but do not participate in the approval process. * - `call`: The call to be executed. * * Result is equivalent to the dispatched result. * * ## Complexity - * * O(Z + C) where Z is the length of the call and C its execution weight. - */ + **/ asMultiThreshold1: AugmentedSubmittable< ( otherSignatories: Vec | (AccountId20 | string | Uint8Array)[], @@ -2179,29 +2308,28 @@ declare module "@polkadot/api-base/types/submittable" { [Vec, Call] >; /** - * Cancel a pre-existing, on-going multisig transaction. Any deposit reserved previously for - * this operation will be unreserved on success. + * Cancel a pre-existing, on-going multisig transaction. Any deposit reserved previously + * for this operation will be unreserved on success. * * The dispatch origin for this call must be _Signed_. * * - `threshold`: The total number of approvals for this dispatch before it is executed. - * - `other_signatories`: The accounts (other than the sender) who can approve this dispatch. - * May not be empty. + * - `other_signatories`: The accounts (other than the sender) who can approve this + * dispatch. May not be empty. * - `timepoint`: The timepoint (block number and transaction index) of the first approval - * transaction for this dispatch. + * transaction for this dispatch. * - `call_hash`: The hash of the call to be executed. * * ## Complexity - * * - `O(S)`. * - Up to one balance-reserve or unreserve operation. - * - One passthrough operation, one insert, both `O(S)` where `S` is the number of signatories. - * `S` is capped by `MaxSignatories`, with weight being proportional. + * - One passthrough operation, one insert, both `O(S)` where `S` is the number of + * signatories. `S` is capped by `MaxSignatories`, with weight being proportional. * - One encode & hash, both of complexity `O(S)`. * - One event. * - I/O: 1 read `O(S)`, one remove. * - Storage: removes one item. - */ + **/ cancelAsMulti: AugmentedSubmittable< ( threshold: u16 | AnyNumber | Uint8Array, @@ -2211,7 +2339,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u16, Vec, PalletMultisigTimepoint, U8aFixed] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; openTechCommitteeCollective: { @@ -2220,27 +2350,27 @@ declare module "@polkadot/api-base/types/submittable" { * * May be called by any signed account in order to finish voting and close the proposal. * - * If called before the end of the voting period it will only close the vote if it is has - * enough votes to be approved or disapproved. + * If called before the end of the voting period it will only close the vote if it is + * has enough votes to be approved or disapproved. * - * If called after the end of the voting period abstentions are counted as rejections unless - * there is a prime member set and the prime member cast an approval. + * If called after the end of the voting period abstentions are counted as rejections + * unless there is a prime member set and the prime member cast an approval. * - * If the close operation completes successfully with disapproval, the transaction fee will be - * waived. Otherwise execution of the approved operation will be charged to the caller. + * If the close operation completes successfully with disapproval, the transaction fee will + * be waived. Otherwise execution of the approved operation will be charged to the caller. * - * - `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed proposal. - * - `length_bound`: The upper bound for the length of the proposal in storage. Checked via - * `storage::read` so it is `size_of::() == 4` larger than the pure length. + * + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed + * proposal. + * + `length_bound`: The upper bound for the length of the proposal in storage. Checked via + * `storage::read` so it is `size_of::() == 4` larger than the pure length. * * ## Complexity - * * - `O(B + M + P1 + P2)` where: * - `B` is `proposal` size in bytes (length-fee-bounded) * - `M` is members-count (code- and governance-bounded) * - `P1` is the complexity of `proposal` preimage. * - `P2` is proposal-count (code-bounded) - */ + **/ close: AugmentedSubmittable< ( proposalHash: H256 | string | Uint8Array, @@ -2255,18 +2385,17 @@ declare module "@polkadot/api-base/types/submittable" { [H256, Compact, SpWeightsWeightV2Weight, Compact] >; /** - * Disapprove a proposal, close, and remove it from the system, regardless of its current state. + * Disapprove a proposal, close, and remove it from the system, regardless of its current + * state. * * Must be called by the Root origin. * * Parameters: - * - * - `proposal_hash`: The hash of the proposal that should be disapproved. + * * `proposal_hash`: The hash of the proposal that should be disapproved. * * ## Complexity - * * O(P) where P is the number of max proposals - */ + **/ disapproveProposal: AugmentedSubmittable< (proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] @@ -2277,12 +2406,11 @@ declare module "@polkadot/api-base/types/submittable" { * Origin must be a member of the collective. * * ## Complexity: - * * - `O(B + M + P)` where: * - `B` is `proposal` size in bytes (length-fee-bounded) * - `M` members-count (code-bounded) * - `P` complexity of dispatching `proposal` - */ + **/ execute: AugmentedSubmittable< ( proposal: Call | IMethod | string | Uint8Array, @@ -2295,18 +2423,17 @@ declare module "@polkadot/api-base/types/submittable" { * * Requires the sender to be member. * - * `threshold` determines whether `proposal` is executed directly (`threshold < 2`) or put up - * for voting. + * `threshold` determines whether `proposal` is executed directly (`threshold < 2`) + * or put up for voting. * * ## Complexity - * * - `O(B + M + P1)` or `O(B + M + P2)` where: * - `B` is `proposal` size in bytes (length-fee-bounded) * - `M` is members-count (code- and governance-bounded) - * - Branching is influenced by `threshold` where: + * - branching is influenced by `threshold` where: * - `P1` is proposal execution complexity (`threshold < 2`) * - `P2` is proposals-count (code-bounded) (`threshold >= 2`) - */ + **/ propose: AugmentedSubmittable< ( threshold: Compact | AnyNumber | Uint8Array, @@ -2320,27 +2447,27 @@ declare module "@polkadot/api-base/types/submittable" { * * - `new_members`: The new member list. Be nice to the chain and provide it sorted. * - `prime`: The prime member whose vote sets the default. - * - `old_count`: The upper bound for the previous number of members in storage. Used for weight - * estimation. + * - `old_count`: The upper bound for the previous number of members in storage. Used for + * weight estimation. * * The dispatch of this call must be `SetMembersOrigin`. * - * NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but the - * weight estimations rely on it to estimate dispatchable weight. + * NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but + * the weight estimations rely on it to estimate dispatchable weight. * * # WARNING: * * The `pallet-collective` can also be managed by logic outside of the pallet through the - * implementation of the trait [`ChangeMembers`]. Any call to `set_members` must be careful - * that the member set doesn't get out of sync with other logic managing the member set. + * implementation of the trait [`ChangeMembers`]. + * Any call to `set_members` must be careful that the member set doesn't get out of sync + * with other logic managing the member set. * * ## Complexity: - * * - `O(MP + N)` where: * - `M` old-members-count (code- and governance-bounded) * - `N` new-members-count (code- and governance-bounded) * - `P` proposals-count (code-bounded) - */ + **/ setMembers: AugmentedSubmittable< ( newMembers: Vec | (AccountId20 | string | Uint8Array)[], @@ -2354,13 +2481,12 @@ declare module "@polkadot/api-base/types/submittable" { * * Requires the sender to be a member. * - * Transaction fees will be waived if the member is voting on any particular proposal for the - * first time and the call is successful. Subsequent vote changes will charge a fee. - * + * Transaction fees will be waived if the member is voting on any particular proposal + * for the first time and the call is successful. Subsequent vote changes will charge a + * fee. * ## Complexity - * * - `O(M)` where `M` is members-count (code- and governance-bounded) - */ + **/ vote: AugmentedSubmittable< ( proposal: H256 | string | Uint8Array, @@ -2369,37 +2495,44 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [H256, Compact, bool] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; parachainStaking: { - /** Cancel pending request to adjust the collator candidate self bond */ + /** + * Cancel pending request to adjust the collator candidate self bond + **/ cancelCandidateBondLess: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Cancel request to change an existing delegation. */ + /** + * Cancel request to change an existing delegation. + **/ cancelDelegationRequest: AugmentedSubmittable< (candidate: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; /** * Cancel open request to leave candidates - * - * - Only callable by collator account - * - Result upon successful call is the candidate is active in the candidate pool - */ + * - only callable by collator account + * - result upon successful call is the candidate is active in the candidate pool + **/ cancelLeaveCandidates: AugmentedSubmittable< (candidateCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** Increase collator candidate self bond by `more` */ + /** + * Increase collator candidate self bond by `more` + **/ candidateBondMore: AugmentedSubmittable< (more: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u128] >; /** - * DEPRECATED use delegateWithAutoCompound If caller is not a delegator and not a collator, - * then join the set of delegators If caller is a delegator, then makes delegation to change - * their delegation state - */ + * DEPRECATED use delegateWithAutoCompound + * If caller is not a delegator and not a collator, then join the set of delegators + * If caller is a delegator, then makes delegation to change their delegation state + **/ delegate: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -2410,10 +2543,10 @@ declare module "@polkadot/api-base/types/submittable" { [AccountId20, u128, u32, u32] >; /** - * If caller is not a delegator and not a collator, then join the set of delegators If caller - * is a delegator, then makes delegation to change their delegation state Sets the - * auto-compound config for the delegation - */ + * If caller is not a delegator and not a collator, then join the set of delegators + * If caller is a delegator, then makes delegation to change their delegation state + * Sets the auto-compound config for the delegation + **/ delegateWithAutoCompound: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -2425,7 +2558,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u128, Percent, u32, u32, u32] >; - /** Bond more for delegators wrt a specific collator candidate. */ + /** + * Bond more for delegators wrt a specific collator candidate. + **/ delegatorBondMore: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -2433,17 +2568,23 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u128] >; - /** Enable/Disable marking offline feature */ + /** + * Enable/Disable marking offline feature + **/ enableMarkingOffline: AugmentedSubmittable< (value: bool | boolean | Uint8Array) => SubmittableExtrinsic, [bool] >; - /** Execute pending request to adjust the collator candidate self bond */ + /** + * Execute pending request to adjust the collator candidate self bond + **/ executeCandidateBondLess: AugmentedSubmittable< (candidate: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Execute pending request to change an existing delegation */ + /** + * Execute pending request to change an existing delegation + **/ executeDelegationRequest: AugmentedSubmittable< ( delegator: AccountId20 | string | Uint8Array, @@ -2451,7 +2592,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, AccountId20] >; - /** Execute leave candidates request */ + /** + * Execute leave candidates request + **/ executeLeaveCandidates: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -2459,7 +2602,10 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u32] >; - /** Force join the set of collator candidates. It will skip the minimum required bond check. */ + /** + * Force join the set of collator candidates. + * It will skip the minimum required bond check. + **/ forceJoinCandidates: AugmentedSubmittable< ( account: AccountId20 | string | Uint8Array, @@ -2468,18 +2614,26 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u128, u32] >; - /** Temporarily leave the set of collator candidates without unbonding */ + /** + * Temporarily leave the set of collator candidates without unbonding + **/ goOffline: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Rejoin the set of collator candidates if previously had called `go_offline` */ + /** + * Rejoin the set of collator candidates if previously had called `go_offline` + **/ goOnline: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Hotfix to remove existing empty entries for candidates that have left. */ + /** + * Hotfix to remove existing empty entries for candidates that have left. + **/ hotfixRemoveDelegationRequestsExitedCandidates: AugmentedSubmittable< ( candidates: Vec | (AccountId20 | string | Uint8Array)[] ) => SubmittableExtrinsic, [Vec] >; - /** Join the set of collator candidates */ + /** + * Join the set of collator candidates + **/ joinCandidates: AugmentedSubmittable< ( bond: u128 | AnyNumber | Uint8Array, @@ -2487,27 +2641,37 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u128, u32] >; - /** Notify a collator is inactive during MaxOfflineRounds */ + /** + * Notify a collator is inactive during MaxOfflineRounds + **/ notifyInactiveCollator: AugmentedSubmittable< (collator: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** REMOVED, was schedule_leave_delegators */ + /** + * REMOVED, was schedule_leave_delegators + **/ removedCall19: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** REMOVED, was execute_leave_delegators */ + /** + * REMOVED, was execute_leave_delegators + **/ removedCall20: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** REMOVED, was cancel_leave_delegators */ + /** + * REMOVED, was cancel_leave_delegators + **/ removedCall21: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Request by collator candidate to decrease self bond by `less` */ + /** + * Request by collator candidate to decrease self bond by `less` + **/ scheduleCandidateBondLess: AugmentedSubmittable< (less: u128 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u128] >; /** * Request bond less for delegators wrt a specific collator candidate. The delegation's - * rewards for rounds while the request is pending use the reduced bonded amount. A bond less - * may not be performed if any other scheduled request is pending. - */ + * rewards for rounds while the request is pending use the reduced bonded amount. + * A bond less may not be performed if any other scheduled request is pending. + **/ scheduleDelegatorBondLess: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -2516,24 +2680,26 @@ declare module "@polkadot/api-base/types/submittable" { [AccountId20, u128] >; /** - * Request to leave the set of candidates. If successful, the account is immediately removed - * from the candidate pool to prevent selection as a collator. - */ + * Request to leave the set of candidates. If successful, the account is immediately + * removed from the candidate pool to prevent selection as a collator. + **/ scheduleLeaveCandidates: AugmentedSubmittable< (candidateCount: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; /** - * Request to revoke an existing delegation. If successful, the delegation is scheduled to be - * allowed to be revoked via the `execute_delegation_request` extrinsic. The delegation - * receives no rewards for the rounds while a revoke is pending. A revoke may not be performed - * if any other scheduled request is pending. - */ + * Request to revoke an existing delegation. If successful, the delegation is scheduled + * to be allowed to be revoked via the `execute_delegation_request` extrinsic. + * The delegation receives no rewards for the rounds while a revoke is pending. + * A revoke may not be performed if any other scheduled request is pending. + **/ scheduleRevokeDelegation: AugmentedSubmittable< (collator: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] >; - /** Sets the auto-compounding reward percentage for a delegation. */ + /** + * Sets the auto-compounding reward percentage for a delegation. + **/ setAutoCompound: AugmentedSubmittable< ( candidate: AccountId20 | string | Uint8Array, @@ -2545,20 +2711,24 @@ declare module "@polkadot/api-base/types/submittable" { >; /** * Set blocks per round - * - * - If called with `new` less than length of current round, will transition immediately in the next block - * - Also updates per-round inflation config - */ + * - if called with `new` less than length of current round, will transition immediately + * in the next block + * - also updates per-round inflation config + **/ setBlocksPerRound: AugmentedSubmittable< (updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** Set the commission for all collators */ + /** + * Set the commission for all collators + **/ setCollatorCommission: AugmentedSubmittable< (updated: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Perbill] >; - /** Set the annual inflation rate to derive per-round inflation */ + /** + * Set the annual inflation rate to derive per-round inflation + **/ setInflation: AugmentedSubmittable< ( schedule: @@ -2579,7 +2749,9 @@ declare module "@polkadot/api-base/types/submittable" { } & Struct ] >; - /** Set the inflation distribution configuration. */ + /** + * Set the inflation distribution configuration. + **/ setInflationDistributionConfig: AugmentedSubmittable< ( updated: PalletParachainStakingInflationDistributionConfig @@ -2590,7 +2762,7 @@ declare module "@polkadot/api-base/types/submittable" { * Deprecated: please use `set_inflation_distribution_config` instead. * * Set the account that will hold funds set aside for parachain bond - */ + **/ setParachainBondAccount: AugmentedSubmittable< (updated: AccountId20 | string | Uint8Array) => SubmittableExtrinsic, [AccountId20] @@ -2599,15 +2771,15 @@ declare module "@polkadot/api-base/types/submittable" { * Deprecated: please use `set_inflation_distribution_config` instead. * * Set the percent of inflation set aside for parachain bond - */ + **/ setParachainBondReservePercent: AugmentedSubmittable< (updated: Percent | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Percent] >; /** - * Set the expectations for total staked. These expectations determine the issuance for the - * round according to logic in `fn compute_issuance` - */ + * Set the expectations for total staked. These expectations determine the issuance for + * the round according to logic in `fn compute_issuance` + **/ setStakingExpectations: AugmentedSubmittable< ( expectations: @@ -2630,26 +2802,28 @@ declare module "@polkadot/api-base/types/submittable" { >; /** * Set the total number of collator candidates selected per round - * - * - Changes are not applied until the start of the next round - */ + * - changes are not applied until the start of the next round + **/ setTotalSelected: AugmentedSubmittable< (updated: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; parachainSystem: { /** - * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied later. + * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied + * later. * * The `check_version` parameter sets a boolean flag for whether or not the runtime's spec - * version and name should be verified on upgrade. Since the authorization only has a hash, it - * cannot actually perform the verification. + * version and name should be verified on upgrade. Since the authorization only has a hash, + * it cannot actually perform the verification. * * This call requires Root origin. - */ + **/ authorizeUpgrade: AugmentedSubmittable< ( codeHash: H256 | string | Uint8Array, @@ -2660,14 +2834,14 @@ declare module "@polkadot/api-base/types/submittable" { /** * Provide the preimage (runtime binary) `code` for an upgrade that has been authorized. * - * If the authorization required a version check, this call will ensure the spec name remains - * unchanged and that the spec version has increased. + * If the authorization required a version check, this call will ensure the spec name + * remains unchanged and that the spec version has increased. * * Note that this function will not apply the new `code`, but only attempt to schedule the * upgrade with the Relay Chain. * * All origins are allowed. - */ + **/ enactAuthorizedUpgrade: AugmentedSubmittable< (code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] @@ -2675,14 +2849,14 @@ declare module "@polkadot/api-base/types/submittable" { /** * Set the current validation data. * - * This should be invoked exactly once per block. It will panic at the finalization phase if - * the call was not invoked. + * This should be invoked exactly once per block. It will panic at the finalization + * phase if the call was not invoked. * * The dispatch origin for this call must be `Inherent` * - * As a side effect, this function upgrades the current validation function if the appropriate - * time has come. - */ + * As a side effect, this function upgrades the current validation function + * if the appropriate time has come. + **/ setValidationData: AugmentedSubmittable< ( data: @@ -2702,7 +2876,9 @@ declare module "@polkadot/api-base/types/submittable" { (message: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; parameters: { @@ -2711,7 +2887,7 @@ declare module "@polkadot/api-base/types/submittable" { * * The dispatch origin of this call must be `AdminOrigin` for the given `key`. Values be * deleted by setting them to `None`. - */ + **/ setParameter: AugmentedSubmittable< ( keyValue: @@ -2723,7 +2899,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [MoonriverRuntimeRuntimeParamsRuntimeParameters] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; polkadotXcm: { @@ -2731,10 +2909,10 @@ declare module "@polkadot/api-base/types/submittable" { * Claims assets trapped on this pallet because of leftover assets during XCM execution. * * - `origin`: Anyone can call this extrinsic. - * - `assets`: The exact assets that were trapped. Use the version to specify what version was - * the latest when they were trapped. + * - `assets`: The exact assets that were trapped. Use the version to specify what version + * was the latest when they were trapped. * - `beneficiary`: The location/account where the claimed assets will be deposited. - */ + **/ claimAssets: AugmentedSubmittable< ( assets: @@ -2757,12 +2935,13 @@ declare module "@polkadot/api-base/types/submittable" { /** * Execute an XCM message from a local, signed, origin. * - * An event is deposited indicating whether `msg` could be executed completely or only partially. + * An event is deposited indicating whether `msg` could be executed completely or only + * partially. * - * No more than `max_weight` will be used in its attempted execution. If this is less than the - * maximum amount of weight that the message could take to be executed, then no execution - * attempt will be made. - */ + * No more than `max_weight` will be used in its attempted execution. If this is less than + * the maximum amount of weight that the message could take to be executed, then no + * execution attempt will be made. + **/ execute: AugmentedSubmittable< ( message: XcmVersionedXcm | { V2: any } | { V3: any } | { V4: any } | string | Uint8Array, @@ -2780,7 +2959,7 @@ declare module "@polkadot/api-base/types/submittable" { * * - `origin`: Must be an origin specified by AdminOrigin. * - `maybe_xcm_version`: The default XCM encoding version, or `None` to disable. - */ + **/ forceDefaultXcmVersion: AugmentedSubmittable< ( maybeXcmVersion: Option | null | Uint8Array | u32 | AnyNumber @@ -2792,7 +2971,7 @@ declare module "@polkadot/api-base/types/submittable" { * * - `origin`: Must be an origin specified by AdminOrigin. * - `location`: The location to which we should subscribe for XCM version notifications. - */ + **/ forceSubscribeVersionNotify: AugmentedSubmittable< ( location: @@ -2810,18 +2989,19 @@ declare module "@polkadot/api-base/types/submittable" { * * - `origin`: Must be an origin specified by AdminOrigin. * - `suspended`: `true` to suspend, `false` to resume. - */ + **/ forceSuspension: AugmentedSubmittable< (suspended: bool | boolean | Uint8Array) => SubmittableExtrinsic, [bool] >; /** - * Require that a particular destination should no longer notify us regarding any XCM version changes. + * Require that a particular destination should no longer notify us regarding any XCM + * version changes. * * - `origin`: Must be an origin specified by AdminOrigin. - * - `location`: The location to which we are currently subscribed for XCM version notifications - * which we no longer desire. - */ + * - `location`: The location to which we are currently subscribed for XCM version + * notifications which we no longer desire. + **/ forceUnsubscribeVersionNotify: AugmentedSubmittable< ( location: @@ -2835,12 +3015,13 @@ declare module "@polkadot/api-base/types/submittable" { [XcmVersionedLocation] >; /** - * Extoll that a particular destination can be communicated with through a particular version of XCM. + * Extoll that a particular destination can be communicated with through a particular + * version of XCM. * * - `origin`: Must be an origin specified by AdminOrigin. * - `location`: The destination that is being described. * - `xcm_version`: The latest version of XCM that `location` supports. - */ + **/ forceXcmVersion: AugmentedSubmittable< ( location: StagingXcmV4Location | { parents?: any; interior?: any } | string | Uint8Array, @@ -2853,30 +3034,33 @@ declare module "@polkadot/api-base/types/submittable" { * destination or remote reserve. * * `assets` must have same reserve location and may not be teleportable to `dest`. - * - * - `assets` have local reserve: transfer assets to sovereign account of destination chain and - * forward a notification XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. - * - `assets` have destination reserve: burn local assets and forward a notification to `dest` - * chain to withdraw the reserve assets from this chain's sovereign account and deposit them - * to `beneficiary`. + * - `assets` have local reserve: transfer assets to sovereign account of destination + * chain and forward a notification XCM to `dest` to mint and deposit reserve-based + * assets to `beneficiary`. + * - `assets` have destination reserve: burn local assets and forward a notification to + * `dest` chain to withdraw the reserve assets from this chain's sovereign account and + * deposit them to `beneficiary`. * - `assets` have remote reserve: burn local assets, forward XCM to reserve chain to move - * reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` to - * mint and deposit reserve-based assets to `beneficiary`. + * reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` + * to mint and deposit reserve-based assets to `beneficiary`. * - * Fee payment on the destination side is made from the asset in the `assets` vector of index - * `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight is - * needed than `weight_limit`, then the operation will fail and the sent assets may be at risk. + * Fee payment on the destination side is made from the asset in the `assets` vector of + * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight + * is needed than `weight_limit`, then the operation will fail and the sent assets may be + * at risk. * * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. - * - `dest`: Destination context for the assets. Will typically be `[Parent, Parachain(..)]` to - * send from parachain to parachain, or `[Parachain(..)]` to send from relay to parachain. + * - `dest`: Destination context for the assets. Will typically be `[Parent, + * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from + * relay to parachain. * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will - * generally be an `AccountId32` value. - * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on - * the `dest` (and possibly reserve) chains. - * - `fee_asset_item`: The index into `assets` of the item which should be used to pay fees. + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the + * fee on the `dest` (and possibly reserve) chains. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay + * fees. * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. - */ + **/ limitedReserveTransferAssets: AugmentedSubmittable< ( dest: @@ -2913,20 +3097,23 @@ declare module "@polkadot/api-base/types/submittable" { /** * Teleport some assets from the local chain to some destination chain. * - * Fee payment on the destination side is made from the asset in the `assets` vector of index - * `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight is - * needed than `weight_limit`, then the operation will fail and the sent assets may be at risk. + * Fee payment on the destination side is made from the asset in the `assets` vector of + * index `fee_asset_item`, up to enough to pay for `weight_limit` of weight. If more weight + * is needed than `weight_limit`, then the operation will fail and the sent assets may be + * at risk. * * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. - * - `dest`: Destination context for the assets. Will typically be `[Parent, Parachain(..)]` to - * send from parachain to parachain, or `[Parachain(..)]` to send from relay to parachain. + * - `dest`: Destination context for the assets. Will typically be `[Parent, + * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from + * relay to parachain. * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will - * generally be an `AccountId32` value. - * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on - * the `dest` chain. - * - `fee_asset_item`: The index into `assets` of the item which should be used to pay fees. + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the + * fee on the `dest` chain. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay + * fees. * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. - */ + **/ limitedTeleportAssets: AugmentedSubmittable< ( dest: @@ -2965,31 +3152,33 @@ declare module "@polkadot/api-base/types/submittable" { * destination or remote reserve. * * `assets` must have same reserve location and may not be teleportable to `dest`. - * - * - `assets` have local reserve: transfer assets to sovereign account of destination chain and - * forward a notification XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. - * - `assets` have destination reserve: burn local assets and forward a notification to `dest` - * chain to withdraw the reserve assets from this chain's sovereign account and deposit them - * to `beneficiary`. + * - `assets` have local reserve: transfer assets to sovereign account of destination + * chain and forward a notification XCM to `dest` to mint and deposit reserve-based + * assets to `beneficiary`. + * - `assets` have destination reserve: burn local assets and forward a notification to + * `dest` chain to withdraw the reserve assets from this chain's sovereign account and + * deposit them to `beneficiary`. * - `assets` have remote reserve: burn local assets, forward XCM to reserve chain to move - * reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` to - * mint and deposit reserve-based assets to `beneficiary`. + * reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` + * to mint and deposit reserve-based assets to `beneficiary`. * * **This function is deprecated: Use `limited_reserve_transfer_assets` instead.** * - * Fee payment on the destination side is made from the asset in the `assets` vector of index - * `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited, with all - * fees taken as needed from the asset. + * Fee payment on the destination side is made from the asset in the `assets` vector of + * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited, + * with all fees taken as needed from the asset. * * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. - * - `dest`: Destination context for the assets. Will typically be `[Parent, Parachain(..)]` to - * send from parachain to parachain, or `[Parachain(..)]` to send from relay to parachain. + * - `dest`: Destination context for the assets. Will typically be `[Parent, + * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from + * relay to parachain. * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will - * generally be an `AccountId32` value. - * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on - * the `dest` (and possibly reserve) chains. - * - `fee_asset_item`: The index into `assets` of the item which should be used to pay fees. - */ + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the + * fee on the `dest` (and possibly reserve) chains. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay + * fees. + **/ reserveTransferAssets: AugmentedSubmittable< ( dest: @@ -3035,19 +3224,21 @@ declare module "@polkadot/api-base/types/submittable" { * * **This function is deprecated: Use `limited_teleport_assets` instead.** * - * Fee payment on the destination side is made from the asset in the `assets` vector of index - * `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited, with all - * fees taken as needed from the asset. + * Fee payment on the destination side is made from the asset in the `assets` vector of + * index `fee_asset_item`. The weight limit for fees is not provided and thus is unlimited, + * with all fees taken as needed from the asset. * * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. - * - `dest`: Destination context for the assets. Will typically be `[Parent, Parachain(..)]` to - * send from parachain to parachain, or `[Parachain(..)]` to send from relay to parachain. + * - `dest`: Destination context for the assets. Will typically be `[Parent, + * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from + * relay to parachain. * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will - * generally be an `AccountId32` value. - * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on - * the `dest` chain. - * - `fee_asset_item`: The index into `assets` of the item which should be used to pay fees. - */ + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the + * fee on the `dest` chain. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay + * fees. + **/ teleportAssets: AugmentedSubmittable< ( dest: @@ -3079,33 +3270,37 @@ declare module "@polkadot/api-base/types/submittable" { * Transfer some assets from the local chain to the destination chain through their local, * destination or remote reserve, or through teleports. * - * Fee payment on the destination side is made from the asset in the `assets` vector of index - * `fee_asset_item` (hence referred to as `fees`), up to enough to pay for `weight_limit` of - * weight. If more weight is needed than `weight_limit`, then the operation will fail and the - * sent assets may be at risk. - * - * `assets` (excluding `fees`) must have same reserve location or otherwise be teleportable to - * `dest`, no limitations imposed on `fees`. - * - * - For local reserve: transfer assets to sovereign account of destination chain and forward a - * notification XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. - * - For destination reserve: burn local assets and forward a notification to `dest` chain to - * withdraw the reserve assets from this chain's sovereign account and deposit them to `beneficiary`. - * - For remote reserve: burn local assets, forward XCM to reserve chain to move reserves from - * this chain's SA to `dest` chain's SA, and forward another XCM to `dest` to mint and - * deposit reserve-based assets to `beneficiary`. - * - For teleports: burn local assets and forward XCM to `dest` chain to mint/teleport assets - * and deposit them to `beneficiary`. + * Fee payment on the destination side is made from the asset in the `assets` vector of + * index `fee_asset_item` (hence referred to as `fees`), up to enough to pay for + * `weight_limit` of weight. If more weight is needed than `weight_limit`, then the + * operation will fail and the sent assets may be at risk. + * + * `assets` (excluding `fees`) must have same reserve location or otherwise be teleportable + * to `dest`, no limitations imposed on `fees`. + * - for local reserve: transfer assets to sovereign account of destination chain and + * forward a notification XCM to `dest` to mint and deposit reserve-based assets to + * `beneficiary`. + * - for destination reserve: burn local assets and forward a notification to `dest` chain + * to withdraw the reserve assets from this chain's sovereign account and deposit them + * to `beneficiary`. + * - for remote reserve: burn local assets, forward XCM to reserve chain to move reserves + * from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` to mint + * and deposit reserve-based assets to `beneficiary`. + * - for teleports: burn local assets and forward XCM to `dest` chain to mint/teleport + * assets and deposit them to `beneficiary`. + * * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. - * - `dest`: Destination context for the assets. Will typically be `X2(Parent, Parachain(..))` - * to send from parachain to parachain, or `X1(Parachain(..))` to send from relay to parachain. + * - `dest`: Destination context for the assets. Will typically be `X2(Parent, + * Parachain(..))` to send from parachain to parachain, or `X1(Parachain(..))` to send + * from relay to parachain. * - `beneficiary`: A beneficiary location for the assets in the context of `dest`. Will - * generally be an `AccountId32` value. - * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on - * the `dest` (and possibly reserve) chains. - * - `fee_asset_item`: The index into `assets` of the item which should be used to pay fees. + * generally be an `AccountId32` value. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the + * fee on the `dest` (and possibly reserve) chains. + * - `fee_asset_item`: The index into `assets` of the item which should be used to pay + * fees. * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. - */ + **/ transferAssets: AugmentedSubmittable< ( dest: @@ -3140,53 +3335,55 @@ declare module "@polkadot/api-base/types/submittable" { [XcmVersionedLocation, XcmVersionedLocation, XcmVersionedAssets, u32, XcmV3WeightLimit] >; /** - * Transfer assets from the local chain to the destination chain using explicit transfer types - * for assets and fees. + * Transfer assets from the local chain to the destination chain using explicit transfer + * types for assets and fees. * * `assets` must have same reserve location or may be teleportable to `dest`. Caller must * provide the `assets_transfer_type` to be used for `assets`: - * - * - `TransferType::LocalReserve`: transfer assets to sovereign account of destination chain and - * forward a notification XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. - * - `TransferType::DestinationReserve`: burn local assets and forward a notification to `dest` - * chain to withdraw the reserve assets from this chain's sovereign account and deposit them - * to `beneficiary`. - * - `TransferType::RemoteReserve(reserve)`: burn local assets, forward XCM to `reserve` chain - * to move reserves from this chain's SA to `dest` chain's SA, and forward another XCM to - * `dest` to mint and deposit reserve-based assets to `beneficiary`. Typically the remote - * `reserve` is Asset Hub. + * - `TransferType::LocalReserve`: transfer assets to sovereign account of destination + * chain and forward a notification XCM to `dest` to mint and deposit reserve-based + * assets to `beneficiary`. + * - `TransferType::DestinationReserve`: burn local assets and forward a notification to + * `dest` chain to withdraw the reserve assets from this chain's sovereign account and + * deposit them to `beneficiary`. + * - `TransferType::RemoteReserve(reserve)`: burn local assets, forward XCM to `reserve` + * chain to move reserves from this chain's SA to `dest` chain's SA, and forward another + * XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. Typically + * the remote `reserve` is Asset Hub. * - `TransferType::Teleport`: burn local assets and forward XCM to `dest` chain to - * mint/teleport assets and deposit them to `beneficiary`. + * mint/teleport assets and deposit them to `beneficiary`. * - * On the destination chain, as well as any intermediary hops, `BuyExecution` is used to buy - * execution using transferred `assets` identified by `remote_fees_id`. Make sure enough of - * the specified `remote_fees_id` asset is included in the given list of `assets`. - * `remote_fees_id` should be enough to pay for `weight_limit`. If more weight is needed than - * `weight_limit`, then the operation will fail and the sent assets may be at risk. + * On the destination chain, as well as any intermediary hops, `BuyExecution` is used to + * buy execution using transferred `assets` identified by `remote_fees_id`. + * Make sure enough of the specified `remote_fees_id` asset is included in the given list + * of `assets`. `remote_fees_id` should be enough to pay for `weight_limit`. If more weight + * is needed than `weight_limit`, then the operation will fail and the sent assets may be + * at risk. * - * `remote_fees_id` may use different transfer type than rest of `assets` and can be specified - * through `fees_transfer_type`. + * `remote_fees_id` may use different transfer type than rest of `assets` and can be + * specified through `fees_transfer_type`. * * The caller needs to specify what should happen to the transferred assets once they reach - * the `dest` chain. This is done through the `custom_xcm_on_dest` parameter, which contains - * the instructions to execute on `dest` as a final step. This is usually as simple as: - * `Xcm(vec![DepositAsset { assets: Wild(AllCounted(assets.len())), beneficiary }])`, but - * could be something more exotic like sending the `assets` even further. + * the `dest` chain. This is done through the `custom_xcm_on_dest` parameter, which + * contains the instructions to execute on `dest` as a final step. + * This is usually as simple as: + * `Xcm(vec![DepositAsset { assets: Wild(AllCounted(assets.len())), beneficiary }])`, + * but could be something more exotic like sending the `assets` even further. * * - `origin`: Must be capable of withdrawing the `assets` and executing XCM. - * - `dest`: Destination context for the assets. Will typically be `[Parent, Parachain(..)]` to - * send from parachain to parachain, or `[Parachain(..)]` to send from relay to parachain, - * or `(parents: 2, (GlobalConsensus(..), ..))` to send from parachain across a bridge to - * another ecosystem destination. - * - `assets`: The assets to be withdrawn. This should include the assets used to pay the fee on - * the `dest` (and possibly reserve) chains. + * - `dest`: Destination context for the assets. Will typically be `[Parent, + * Parachain(..)]` to send from parachain to parachain, or `[Parachain(..)]` to send from + * relay to parachain, or `(parents: 2, (GlobalConsensus(..), ..))` to send from + * parachain across a bridge to another ecosystem destination. + * - `assets`: The assets to be withdrawn. This should include the assets used to pay the + * fee on the `dest` (and possibly reserve) chains. * - `assets_transfer_type`: The XCM `TransferType` used to transfer the `assets`. * - `remote_fees_id`: One of the included `assets` to be used to pay fees. * - `fees_transfer_type`: The XCM `TransferType` used to transfer the `fees` assets. * - `custom_xcm_on_dest`: The XCM to be executed on `dest` chain as the last step of the - * transfer, which also determines what happens to the assets on the destination chain. + * transfer, which also determines what happens to the assets on the destination chain. * - `weight_limit`: The remote-side weight limit, if any, for the XCM fee purchase. - */ + **/ transferAssetsUsingTypeAndThen: AugmentedSubmittable< ( dest: @@ -3244,7 +3441,9 @@ declare module "@polkadot/api-base/types/submittable" { XcmV3WeightLimit ] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; preimage: { @@ -3252,7 +3451,7 @@ declare module "@polkadot/api-base/types/submittable" { * Ensure that the a bulk of pre-images is upgraded. * * The caller pays no fee if at least 90% of pre-images were successfully updated. - */ + **/ ensureUpdated: AugmentedSubmittable< (hashes: Vec | (H256 | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec] @@ -3260,9 +3459,9 @@ declare module "@polkadot/api-base/types/submittable" { /** * Register a preimage on-chain. * - * If the preimage was previously requested, no fees or deposits are taken for providing the - * preimage. Otherwise, a deposit is taken proportional to the size of the preimage. - */ + * If the preimage was previously requested, no fees or deposits are taken for providing + * the preimage. Otherwise, a deposit is taken proportional to the size of the preimage. + **/ notePreimage: AugmentedSubmittable< (bytes: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] @@ -3270,9 +3469,9 @@ declare module "@polkadot/api-base/types/submittable" { /** * Request a preimage be uploaded to the chain without paying any fees or deposits. * - * If the preimage requests has already been provided on-chain, we unreserve any deposit a - * user may have paid, and take the control of the preimage out of their hands. - */ + * If the preimage requests has already been provided on-chain, we unreserve any deposit + * a user may have paid, and take the control of the preimage out of their hands. + **/ requestPreimage: AugmentedSubmittable< (hash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] @@ -3284,7 +3483,7 @@ declare module "@polkadot/api-base/types/submittable" { * * - `hash`: The hash of the preimage to be removed from the store. * - `len`: The length of the preimage of `hash`. - */ + **/ unnotePreimage: AugmentedSubmittable< (hash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] @@ -3293,12 +3492,14 @@ declare module "@polkadot/api-base/types/submittable" { * Clear a previously made request for a preimage. * * NOTE: THIS MUST NOT BE CALLED ON `hash` MORE TIMES THAN `request_preimage`. - */ + **/ unrequestPreimage: AugmentedSubmittable< (hash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; proxy: { @@ -3308,11 +3509,11 @@ declare module "@polkadot/api-base/types/submittable" { * The dispatch origin for this call must be _Signed_. * * Parameters: - * * - `proxy`: The account that the `caller` would like to make a proxy. * - `proxy_type`: The permissions allowed for this proxy account. - * - `delay`: The announcement period required of the initial proxy. Will generally be zero. - */ + * - `delay`: The announcement period required of the initial proxy. Will generally be + * zero. + **/ addProxy: AugmentedSubmittable< ( delegate: AccountId20 | string | Uint8Array, @@ -3335,8 +3536,8 @@ declare module "@polkadot/api-base/types/submittable" { /** * Publish the hash of a proxy-call that will be made in the future. * - * This must be called some number of blocks before the corresponding `proxy` is attempted if - * the delay associated with the proxy relationship is greater than zero. + * This must be called some number of blocks before the corresponding `proxy` is attempted + * if the delay associated with the proxy relationship is greater than zero. * * No more than `MaxPending` announcements may be made at any one time. * @@ -3346,10 +3547,9 @@ declare module "@polkadot/api-base/types/submittable" { * The dispatch origin for this call must be _Signed_ and a proxy of `real`. * * Parameters: - * * - `real`: The account that the proxy will make a call on behalf of. * - `call_hash`: The hash of the call to be made by the `real` account. - */ + **/ announce: AugmentedSubmittable< ( real: AccountId20 | string | Uint8Array, @@ -3358,24 +3558,25 @@ declare module "@polkadot/api-base/types/submittable" { [AccountId20, H256] >; /** - * Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and initialize - * it with a proxy of `proxy_type` for `origin` sender. + * Spawn a fresh new account that is guaranteed to be otherwise inaccessible, and + * initialize it with a proxy of `proxy_type` for `origin` sender. * * Requires a `Signed` origin. * - * - `proxy_type`: The type of the proxy that the sender will be registered as over the new - * account. This will almost always be the most permissive `ProxyType` possible to allow for - * maximum flexibility. + * - `proxy_type`: The type of the proxy that the sender will be registered as over the + * new account. This will almost always be the most permissive `ProxyType` possible to + * allow for maximum flexibility. * - `index`: A disambiguation index, in case this is called multiple times in the same - * transaction (e.g. with `utility::batch`). Unless you're using `batch` you probably just - * want to use `0`. - * - `delay`: The announcement period required of the initial proxy. Will generally be zero. + * transaction (e.g. with `utility::batch`). Unless you're using `batch` you probably just + * want to use `0`. + * - `delay`: The announcement period required of the initial proxy. Will generally be + * zero. * - * Fails with `Duplicate` if this has already been called in this transaction, from the same - * sender, with the same parameters. + * Fails with `Duplicate` if this has already been called in this transaction, from the + * same sender, with the same parameters. * * Fails if there are insufficient funds to pay for deposit. - */ + **/ createPure: AugmentedSubmittable< ( proxyType: @@ -3398,7 +3599,8 @@ declare module "@polkadot/api-base/types/submittable" { /** * Removes a previously spawned pure proxy. * - * WARNING: **All access to this account will be lost.** Any funds held in it will be inaccessible. + * WARNING: **All access to this account will be lost.** Any funds held in it will be + * inaccessible. * * Requires a `Signed` origin, and the sender account must have been created by a call to * `pure` with corresponding parameters. @@ -3409,9 +3611,9 @@ declare module "@polkadot/api-base/types/submittable" { * - `height`: The height of the chain when the call to `pure` was processed. * - `ext_index`: The extrinsic index in which the call to `pure` was processed. * - * Fails with `NoPermission` in case the caller is not a previously created pure account whose - * `pure` call has corresponding parameters. - */ + * Fails with `NoPermission` in case the caller is not a previously created pure + * account whose `pure` call has corresponding parameters. + **/ killPure: AugmentedSubmittable< ( spawner: AccountId20 | string | Uint8Array, @@ -3434,16 +3636,16 @@ declare module "@polkadot/api-base/types/submittable" { [AccountId20, MoonriverRuntimeProxyType, u16, Compact, Compact] >; /** - * Dispatch the given `call` from an account that the sender is authorised for through `add_proxy`. + * Dispatch the given `call` from an account that the sender is authorised for through + * `add_proxy`. * * The dispatch origin for this call must be _Signed_. * * Parameters: - * * - `real`: The account that the proxy will make a call on behalf of. * - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call. * - `call`: The call to be made by the `real` account. - */ + **/ proxy: AugmentedSubmittable< ( real: AccountId20 | string | Uint8Array, @@ -3466,18 +3668,18 @@ declare module "@polkadot/api-base/types/submittable" { [AccountId20, Option, Call] >; /** - * Dispatch the given `call` from an account that the sender is authorized for through `add_proxy`. + * Dispatch the given `call` from an account that the sender is authorized for through + * `add_proxy`. * * Removes any corresponding announcement(s). * * The dispatch origin for this call must be _Signed_. * * Parameters: - * * - `real`: The account that the proxy will make a call on behalf of. * - `force_proxy_type`: Specify the exact proxy type to be used and checked for this call. * - `call`: The call to be made by the `real` account. - */ + **/ proxyAnnounced: AugmentedSubmittable< ( delegate: AccountId20 | string | Uint8Array, @@ -3509,10 +3711,9 @@ declare module "@polkadot/api-base/types/submittable" { * The dispatch origin for this call must be _Signed_. * * Parameters: - * * - `delegate`: The account that previously announced the call. * - `call_hash`: The hash of the call to be made. - */ + **/ rejectAnnouncement: AugmentedSubmittable< ( delegate: AccountId20 | string | Uint8Array, @@ -3523,15 +3724,15 @@ declare module "@polkadot/api-base/types/submittable" { /** * Remove a given announcement. * - * May be called by a proxy account to remove a call they previously announced and return the deposit. + * May be called by a proxy account to remove a call they previously announced and return + * the deposit. * * The dispatch origin for this call must be _Signed_. * * Parameters: - * * - `real`: The account that the proxy will make a call on behalf of. * - `call_hash`: The hash of the call to be made by the `real` account. - */ + **/ removeAnnouncement: AugmentedSubmittable< ( real: AccountId20 | string | Uint8Array, @@ -3544,9 +3745,9 @@ declare module "@polkadot/api-base/types/submittable" { * * The dispatch origin for this call must be _Signed_. * - * WARNING: This may be called on accounts created by `pure`, however if done, then the - * unreserved fees will be inaccessible. **All access to this account will be lost.** - */ + * WARNING: This may be called on accounts created by `pure`, however if done, then + * the unreserved fees will be inaccessible. **All access to this account will be lost.** + **/ removeProxies: AugmentedSubmittable<() => SubmittableExtrinsic, []>; /** * Unregister a proxy account for the sender. @@ -3554,10 +3755,9 @@ declare module "@polkadot/api-base/types/submittable" { * The dispatch origin for this call must be _Signed_. * * Parameters: - * * - `proxy`: The account that the `caller` would like to remove as a proxy. * - `proxy_type`: The permissions currently enabled for the removed proxy account. - */ + **/ removeProxy: AugmentedSubmittable< ( delegate: AccountId20 | string | Uint8Array, @@ -3577,13 +3777,19 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, MoonriverRuntimeProxyType, u32] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; randomness: { - /** Populates `RandomnessResults` due this epoch with BABE epoch randomness */ + /** + * Populates `RandomnessResults` due this epoch with BABE epoch randomness + **/ setBabeRandomnessResults: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; referenda: { @@ -3594,7 +3800,7 @@ declare module "@polkadot/api-base/types/submittable" { * - `index`: The index of the referendum to be cancelled. * * Emits `Cancelled`. - */ + **/ cancel: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -3606,7 +3812,7 @@ declare module "@polkadot/api-base/types/submittable" { * - `index`: The index of the referendum to be cancelled. * * Emits `Killed` and `DepositSlashed`. - */ + **/ kill: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -3616,7 +3822,7 @@ declare module "@polkadot/api-base/types/submittable" { * * - `origin`: must be `Root`. * - `index`: the referendum to be advanced. - */ + **/ nudgeReferendum: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -3629,10 +3835,9 @@ declare module "@polkadot/api-base/types/submittable" { * * Action item for when there is now one fewer referendum in the deciding phase and the * `DecidingCount` is not yet updated. This means that we should either: - * - * - Begin deciding another referendum (and leave `DecidingCount` alone); or - * - Decrement `DecidingCount`. - */ + * - begin deciding another referendum (and leave `DecidingCount` alone); or + * - decrement `DecidingCount`. + **/ oneFewerDeciding: AugmentedSubmittable< (track: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u16] @@ -3640,12 +3845,13 @@ declare module "@polkadot/api-base/types/submittable" { /** * Post the Decision Deposit for a referendum. * - * - `origin`: must be `Signed` and the account must have funds available for the referendum's - * track's Decision Deposit. - * - `index`: The index of the submitted referendum whose Decision Deposit is yet to be posted. + * - `origin`: must be `Signed` and the account must have funds available for the + * referendum's track's Decision Deposit. + * - `index`: The index of the submitted referendum whose Decision Deposit is yet to be + * posted. * * Emits `DecisionDepositPlaced`. - */ + **/ placeDecisionDeposit: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -3654,10 +3860,11 @@ declare module "@polkadot/api-base/types/submittable" { * Refund the Decision Deposit for a closed referendum back to the depositor. * * - `origin`: must be `Signed` or `Root`. - * - `index`: The index of a closed referendum whose Decision Deposit has not yet been refunded. + * - `index`: The index of a closed referendum whose Decision Deposit has not yet been + * refunded. * * Emits `DecisionDepositRefunded`. - */ + **/ refundDecisionDeposit: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -3666,10 +3873,11 @@ declare module "@polkadot/api-base/types/submittable" { * Refund the Submission Deposit for a closed referendum back to the depositor. * * - `origin`: must be `Signed` or `Root`. - * - `index`: The index of a closed referendum whose Submission Deposit has not yet been refunded. + * - `index`: The index of a closed referendum whose Submission Deposit has not yet been + * refunded. * * Emits `SubmissionDepositRefunded`. - */ + **/ refundSubmissionDeposit: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -3678,12 +3886,11 @@ declare module "@polkadot/api-base/types/submittable" { * Set or clear metadata of a referendum. * * Parameters: - * - * - `origin`: Must be `Signed` by a creator of a referendum or by anyone to clear a metadata of - * a finished referendum. - * - `index`: The index of a referendum to set or clear metadata for. + * - `origin`: Must be `Signed` by a creator of a referendum or by anyone to clear a + * metadata of a finished referendum. + * - `index`: The index of a referendum to set or clear metadata for. * - `maybe_hash`: The hash of an on-chain stored preimage. `None` to clear a metadata. - */ + **/ setMetadata: AugmentedSubmittable< ( index: u32 | AnyNumber | Uint8Array, @@ -3694,13 +3901,14 @@ declare module "@polkadot/api-base/types/submittable" { /** * Propose a referendum on a privileged action. * - * - `origin`: must be `SubmitOrigin` and the account must have `SubmissionDeposit` funds available. + * - `origin`: must be `SubmitOrigin` and the account must have `SubmissionDeposit` funds + * available. * - `proposal_origin`: The origin from which the proposal should be executed. * - `proposal`: The proposal. * - `enactment_moment`: The moment that the proposal should be enacted. * * Emits `Submitted`. - */ + **/ submit: AugmentedSubmittable< ( proposalOrigin: @@ -3736,21 +3944,29 @@ declare module "@polkadot/api-base/types/submittable" { FrameSupportScheduleDispatchTime ] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; rootTesting: { - /** A dispatch that will fill the block weight up to the given ratio. */ + /** + * A dispatch that will fill the block weight up to the given ratio. + **/ fillBlock: AugmentedSubmittable< (ratio: Perbill | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Perbill] >; triggerDefensive: AugmentedSubmittable<() => SubmittableExtrinsic, []>; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; scheduler: { - /** Cancel an anonymously scheduled task. */ + /** + * Cancel an anonymously scheduled task. + **/ cancel: AugmentedSubmittable< ( when: u32 | AnyNumber | Uint8Array, @@ -3758,24 +3974,32 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u32, u32] >; - /** Cancel a named scheduled task. */ + /** + * Cancel a named scheduled task. + **/ cancelNamed: AugmentedSubmittable< (id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic, [U8aFixed] >; - /** Removes the retry configuration of a task. */ + /** + * Removes the retry configuration of a task. + **/ cancelRetry: AugmentedSubmittable< ( task: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array] ) => SubmittableExtrinsic, [ITuple<[u32, u32]>] >; - /** Cancel the retry configuration of a named task. */ + /** + * Cancel the retry configuration of a named task. + **/ cancelRetryNamed: AugmentedSubmittable< (id: U8aFixed | string | Uint8Array) => SubmittableExtrinsic, [U8aFixed] >; - /** Anonymously schedule a task. */ + /** + * Anonymously schedule a task. + **/ schedule: AugmentedSubmittable< ( when: u32 | AnyNumber | Uint8Array, @@ -3790,7 +4014,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u32, Option>, u8, Call] >; - /** Anonymously schedule a task after a delay. */ + /** + * Anonymously schedule a task after a delay. + **/ scheduleAfter: AugmentedSubmittable< ( after: u32 | AnyNumber | Uint8Array, @@ -3805,7 +4031,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [u32, Option>, u8, Call] >; - /** Schedule a named task. */ + /** + * Schedule a named task. + **/ scheduleNamed: AugmentedSubmittable< ( id: U8aFixed | string | Uint8Array, @@ -3821,7 +4049,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [U8aFixed, u32, Option>, u8, Call] >; - /** Schedule a named task after a delay. */ + /** + * Schedule a named task after a delay. + **/ scheduleNamedAfter: AugmentedSubmittable< ( id: U8aFixed | string | Uint8Array, @@ -3838,17 +4068,19 @@ declare module "@polkadot/api-base/types/submittable" { [U8aFixed, u32, Option>, u8, Call] >; /** - * Set a retry configuration for a task so that, in case its scheduled run fails, it will be - * retried after `period` blocks, for a total amount of `retries` retries or until it succeeds. + * Set a retry configuration for a task so that, in case its scheduled run fails, it will + * be retried after `period` blocks, for a total amount of `retries` retries or until it + * succeeds. * * Tasks which need to be scheduled for a retry are still subject to weight metering and * agenda space, same as a regular task. If a periodic task fails, it will be scheduled * normally while the task is retrying. * - * Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic clones - * of the original task. Their retry configuration will be derived from the original task's - * configuration, but will have a lower value for `remaining` than the original `total_retries`. - */ + * Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic + * clones of the original task. Their retry configuration will be derived from the + * original task's configuration, but will have a lower value for `remaining` than the + * original `total_retries`. + **/ setRetry: AugmentedSubmittable< ( task: ITuple<[u32, u32]> | [u32 | AnyNumber | Uint8Array, u32 | AnyNumber | Uint8Array], @@ -3859,16 +4091,18 @@ declare module "@polkadot/api-base/types/submittable" { >; /** * Set a retry configuration for a named task so that, in case its scheduled run fails, it - * will be retried after `period` blocks, for a total amount of `retries` retries or until it succeeds. + * will be retried after `period` blocks, for a total amount of `retries` retries or until + * it succeeds. * * Tasks which need to be scheduled for a retry are still subject to weight metering and * agenda space, same as a regular task. If a periodic task fails, it will be scheduled * normally while the task is retrying. * - * Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic clones - * of the original task. Their retry configuration will be derived from the original task's - * configuration, but will have a lower value for `remaining` than the original `total_retries`. - */ + * Tasks scheduled as a result of a retry for a periodic task are unnamed, non-periodic + * clones of the original task. Their retry configuration will be derived from the + * original task's configuration, but will have a lower value for `remaining` than the + * original `total_retries`. + **/ setRetryNamed: AugmentedSubmittable< ( id: U8aFixed | string | Uint8Array, @@ -3877,43 +4111,47 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [U8aFixed, u8, u32] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; system: { /** * Provide the preimage (runtime binary) `code` for an upgrade that has been authorized. * - * If the authorization required a version check, this call will ensure the spec name remains - * unchanged and that the spec version has increased. + * If the authorization required a version check, this call will ensure the spec name + * remains unchanged and that the spec version has increased. * - * Depending on the runtime's `OnSetCode` configuration, this function may directly apply the - * new `code` in the same block or attempt to schedule the upgrade. + * Depending on the runtime's `OnSetCode` configuration, this function may directly apply + * the new `code` in the same block or attempt to schedule the upgrade. * * All origins are allowed. - */ + **/ applyAuthorizedUpgrade: AugmentedSubmittable< (code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; /** - * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied later. + * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied + * later. * * This call requires Root origin. - */ + **/ authorizeUpgrade: AugmentedSubmittable< (codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] >; /** - * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied later. + * Authorize an upgrade to a given `code_hash` for the runtime. The runtime can be supplied + * later. * * WARNING: This authorizes an upgrade that will take place without any safety checks, for * example that the spec name remains the same and that the version number increases. Not * recommended for normal use. Use `authorize_upgrade` instead. * * This call requires Root origin. - */ + **/ authorizeUpgradeWithoutChecks: AugmentedSubmittable< (codeHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] @@ -3921,9 +4159,9 @@ declare module "@polkadot/api-base/types/submittable" { /** * Kill all storage items with a key that starts with the given prefix. * - * **NOTE:** We rely on the Root origin to provide us the number of subkeys under the prefix - * we are removing to accurately calculate the weight of this function. - */ + * **NOTE:** We rely on the Root origin to provide us the number of subkeys under + * the prefix we are removing to accurately calculate the weight of this function. + **/ killPrefix: AugmentedSubmittable< ( prefix: Bytes | string | Uint8Array, @@ -3931,7 +4169,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Bytes, u32] >; - /** Kill some items from storage. */ + /** + * Kill some items from storage. + **/ killStorage: AugmentedSubmittable< (keys: Vec | (Bytes | string | Uint8Array)[]) => SubmittableExtrinsic, [Vec] @@ -3940,17 +4180,21 @@ declare module "@polkadot/api-base/types/submittable" { * Make some on-chain remark. * * Can be executed by every `origin`. - */ + **/ remark: AugmentedSubmittable< (remark: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** Make some on-chain remark and emit event. */ + /** + * Make some on-chain remark and emit event. + **/ remarkWithEvent: AugmentedSubmittable< (remark: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** Set the new runtime code. */ + /** + * Set the new runtime code. + **/ setCode: AugmentedSubmittable< (code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] @@ -3958,18 +4202,23 @@ declare module "@polkadot/api-base/types/submittable" { /** * Set the new runtime code without doing any checks of the given `code`. * - * Note that runtime upgrades will not run if this is called with a not-increasing spec version! - */ + * Note that runtime upgrades will not run if this is called with a not-increasing spec + * version! + **/ setCodeWithoutChecks: AugmentedSubmittable< (code: Bytes | string | Uint8Array) => SubmittableExtrinsic, [Bytes] >; - /** Set the number of pages in the WebAssembly environment's heap. */ + /** + * Set the number of pages in the WebAssembly environment's heap. + **/ setHeapPages: AugmentedSubmittable< (pages: u64 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u64] >; - /** Set some items of storage. */ + /** + * Set some items of storage. + **/ setStorage: AugmentedSubmittable< ( items: @@ -3978,7 +4227,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Vec>] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; timestamp: { @@ -3993,21 +4244,23 @@ declare module "@polkadot/api-base/types/submittable" { * * The dispatch origin for this call must be _None_. * - * This dispatch class is _Mandatory_ to ensure it gets executed in the block. Be aware that - * changing the complexity of this call could result exhausting the resources in a block to - * execute any other calls. + * This dispatch class is _Mandatory_ to ensure it gets executed in the block. Be aware + * that changing the complexity of this call could result exhausting the resources in a + * block to execute any other calls. * * ## Complexity - * * - `O(1)` (Note that implementations of `OnTimestampSet` must also be `O(1)`) - * - 1 storage read and 1 storage mutation (codec `O(1)` because of `DidUpdate::take` in `on_finalize`) + * - 1 storage read and 1 storage mutation (codec `O(1)` because of `DidUpdate::take` in + * `on_finalize`) * - 1 event handler `on_timestamp_set`. Must be `O(1)`. - */ + **/ set: AugmentedSubmittable< (now: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; treasury: { @@ -4020,19 +4273,18 @@ declare module "@polkadot/api-base/types/submittable" { * * ## Details * - * The status check is a prerequisite for retrying a failed payout. If a spend has either - * succeeded or expired, it is removed from the storage by this function. In such instances, - * transaction fees are refunded. + * The status check is a prerequisite for retrying a failed payout. + * If a spend has either succeeded or expired, it is removed from the storage by this + * function. In such instances, transaction fees are refunded. * * ### Parameters - * * - `index`: The spend index. * * ## Events * - * Emits [`Event::PaymentFailed`] if the spend payout has failed. Emits - * [`Event::SpendProcessed`] if the spend payout has succeed. - */ + * Emits [`Event::PaymentFailed`] if the spend payout has failed. + * Emits [`Event::SpendProcessed`] if the spend payout has succeed. + **/ checkStatus: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -4047,18 +4299,17 @@ declare module "@polkadot/api-base/types/submittable" { * ## Details * * Spends must be claimed within some temporal bounds. A spend may be claimed within one - * [`Config::PayoutPeriod`] from the `valid_from` block. In case of a payout failure, the - * spend status must be updated with the `check_status` dispatchable before retrying with the - * current function. + * [`Config::PayoutPeriod`] from the `valid_from` block. + * In case of a payout failure, the spend status must be updated with the `check_status` + * dispatchable before retrying with the current function. * * ### Parameters - * * - `index`: The spend index. * * ## Events * * Emits [`Event::Paid`] if successful. - */ + **/ payout: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] @@ -4075,19 +4326,17 @@ declare module "@polkadot/api-base/types/submittable" { * The original deposit will no longer be returned. * * ### Parameters - * * - `proposal_id`: The index of a proposal * * ### Complexity - * * - O(A) where `A` is the number of approvals * * ### Errors - * - * - [`Error::ProposalNotApproved`]: The `proposal_id` supplied was not found in the approval - * queue, i.e., the proposal has not been approved. This could also mean the proposal does - * not exist altogether, thus there is no way it would have been approved in the first place. - */ + * - [`Error::ProposalNotApproved`]: The `proposal_id` supplied was not found in the + * approval queue, i.e., the proposal has not been approved. This could also mean the + * proposal does not exist altogether, thus there is no way it would have been approved + * in the first place. + **/ removeApproval: AugmentedSubmittable< (proposalId: Compact | AnyNumber | Uint8Array) => SubmittableExtrinsic, [Compact] @@ -4097,9 +4346,9 @@ declare module "@polkadot/api-base/types/submittable" { * * ## Dispatch Origin * - * Must be [`Config::SpendOrigin`] with the `Success` value being at least `amount` of - * `asset_kind` in the native asset. The amount of `asset_kind` is converted for assertion - * using the [`Config::BalanceConverter`]. + * Must be [`Config::SpendOrigin`] with the `Success` value being at least + * `amount` of `asset_kind` in the native asset. The amount of `asset_kind` is converted + * for assertion using the [`Config::BalanceConverter`]. * * ## Details * @@ -4108,18 +4357,18 @@ declare module "@polkadot/api-base/types/submittable" { * the [`Config::PayoutPeriod`]. * * ### Parameters - * * - `asset_kind`: An indicator of the specific asset class to be spent. * - `amount`: The amount to be transferred from the treasury to the `beneficiary`. * - `beneficiary`: The beneficiary of the spend. - * - `valid_from`: The block number from which the spend can be claimed. It can refer to the - * past if the resulting spend has not yet expired according to the - * [`Config::PayoutPeriod`]. If `None`, the spend can be claimed immediately after approval. + * - `valid_from`: The block number from which the spend can be claimed. It can refer to + * the past if the resulting spend has not yet expired according to the + * [`Config::PayoutPeriod`]. If `None`, the spend can be claimed immediately after + * approval. * * ## Events * * Emits [`Event::AssetSpendApproved`] if successful. - */ + **/ spend: AugmentedSubmittable< ( assetKind: Null | null, @@ -4137,18 +4386,17 @@ declare module "@polkadot/api-base/types/submittable" { * Must be [`Config::SpendOrigin`] with the `Success` value being at least `amount`. * * ### Details - * - * NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the beneficiary. + * NOTE: For record-keeping purposes, the proposer is deemed to be equivalent to the + * beneficiary. * * ### Parameters - * * - `amount`: The amount to be transferred from the treasury to the `beneficiary`. * - `beneficiary`: The destination account for the transfer. * * ## Events * * Emits [`Event::SpendApproved`] if successful. - */ + **/ spendLocal: AugmentedSubmittable< ( amount: Compact | AnyNumber | Uint8Array, @@ -4168,18 +4416,19 @@ declare module "@polkadot/api-base/types/submittable" { * A spend void is only possible if the payout has not been attempted yet. * * ### Parameters - * * - `index`: The spend index. * * ## Events * * Emits [`Event::AssetSpendVoided`] if successful. - */ + **/ voidSpend: AugmentedSubmittable< (index: u32 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u32] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; treasuryCouncilCollective: { @@ -4188,27 +4437,27 @@ declare module "@polkadot/api-base/types/submittable" { * * May be called by any signed account in order to finish voting and close the proposal. * - * If called before the end of the voting period it will only close the vote if it is has - * enough votes to be approved or disapproved. + * If called before the end of the voting period it will only close the vote if it is + * has enough votes to be approved or disapproved. * - * If called after the end of the voting period abstentions are counted as rejections unless - * there is a prime member set and the prime member cast an approval. + * If called after the end of the voting period abstentions are counted as rejections + * unless there is a prime member set and the prime member cast an approval. * - * If the close operation completes successfully with disapproval, the transaction fee will be - * waived. Otherwise execution of the approved operation will be charged to the caller. + * If the close operation completes successfully with disapproval, the transaction fee will + * be waived. Otherwise execution of the approved operation will be charged to the caller. * - * - `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed proposal. - * - `length_bound`: The upper bound for the length of the proposal in storage. Checked via - * `storage::read` so it is `size_of::() == 4` larger than the pure length. + * + `proposal_weight_bound`: The maximum amount of weight consumed by executing the closed + * proposal. + * + `length_bound`: The upper bound for the length of the proposal in storage. Checked via + * `storage::read` so it is `size_of::() == 4` larger than the pure length. * * ## Complexity - * * - `O(B + M + P1 + P2)` where: * - `B` is `proposal` size in bytes (length-fee-bounded) * - `M` is members-count (code- and governance-bounded) * - `P1` is the complexity of `proposal` preimage. * - `P2` is proposal-count (code-bounded) - */ + **/ close: AugmentedSubmittable< ( proposalHash: H256 | string | Uint8Array, @@ -4223,18 +4472,17 @@ declare module "@polkadot/api-base/types/submittable" { [H256, Compact, SpWeightsWeightV2Weight, Compact] >; /** - * Disapprove a proposal, close, and remove it from the system, regardless of its current state. + * Disapprove a proposal, close, and remove it from the system, regardless of its current + * state. * * Must be called by the Root origin. * * Parameters: - * - * - `proposal_hash`: The hash of the proposal that should be disapproved. + * * `proposal_hash`: The hash of the proposal that should be disapproved. * * ## Complexity - * * O(P) where P is the number of max proposals - */ + **/ disapproveProposal: AugmentedSubmittable< (proposalHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] @@ -4245,12 +4493,11 @@ declare module "@polkadot/api-base/types/submittable" { * Origin must be a member of the collective. * * ## Complexity: - * * - `O(B + M + P)` where: * - `B` is `proposal` size in bytes (length-fee-bounded) * - `M` members-count (code-bounded) * - `P` complexity of dispatching `proposal` - */ + **/ execute: AugmentedSubmittable< ( proposal: Call | IMethod | string | Uint8Array, @@ -4263,18 +4510,17 @@ declare module "@polkadot/api-base/types/submittable" { * * Requires the sender to be member. * - * `threshold` determines whether `proposal` is executed directly (`threshold < 2`) or put up - * for voting. + * `threshold` determines whether `proposal` is executed directly (`threshold < 2`) + * or put up for voting. * * ## Complexity - * * - `O(B + M + P1)` or `O(B + M + P2)` where: * - `B` is `proposal` size in bytes (length-fee-bounded) * - `M` is members-count (code- and governance-bounded) - * - Branching is influenced by `threshold` where: + * - branching is influenced by `threshold` where: * - `P1` is proposal execution complexity (`threshold < 2`) * - `P2` is proposals-count (code-bounded) (`threshold >= 2`) - */ + **/ propose: AugmentedSubmittable< ( threshold: Compact | AnyNumber | Uint8Array, @@ -4288,27 +4534,27 @@ declare module "@polkadot/api-base/types/submittable" { * * - `new_members`: The new member list. Be nice to the chain and provide it sorted. * - `prime`: The prime member whose vote sets the default. - * - `old_count`: The upper bound for the previous number of members in storage. Used for weight - * estimation. + * - `old_count`: The upper bound for the previous number of members in storage. Used for + * weight estimation. * * The dispatch of this call must be `SetMembersOrigin`. * - * NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but the - * weight estimations rely on it to estimate dispatchable weight. + * NOTE: Does not enforce the expected `MaxMembers` limit on the amount of members, but + * the weight estimations rely on it to estimate dispatchable weight. * * # WARNING: * * The `pallet-collective` can also be managed by logic outside of the pallet through the - * implementation of the trait [`ChangeMembers`]. Any call to `set_members` must be careful - * that the member set doesn't get out of sync with other logic managing the member set. + * implementation of the trait [`ChangeMembers`]. + * Any call to `set_members` must be careful that the member set doesn't get out of sync + * with other logic managing the member set. * * ## Complexity: - * * - `O(MP + N)` where: * - `M` old-members-count (code- and governance-bounded) * - `N` new-members-count (code- and governance-bounded) * - `P` proposals-count (code-bounded) - */ + **/ setMembers: AugmentedSubmittable< ( newMembers: Vec | (AccountId20 | string | Uint8Array)[], @@ -4322,13 +4568,12 @@ declare module "@polkadot/api-base/types/submittable" { * * Requires the sender to be a member. * - * Transaction fees will be waived if the member is voting on any particular proposal for the - * first time and the call is successful. Subsequent vote changes will charge a fee. - * + * Transaction fees will be waived if the member is voting on any particular proposal + * for the first time and the call is successful. Subsequent vote changes will charge a + * fee. * ## Complexity - * * - `O(M)` where `M` is members-count (code- and governance-bounded) - */ + **/ vote: AugmentedSubmittable< ( proposal: H256 | string | Uint8Array, @@ -4337,25 +4582,27 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [H256, Compact, bool] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; utility: { /** * Send a call through an indexed pseudonym of the sender. * - * Filter from origin are passed along. The call will be dispatched with an origin which use - * the same filter as the origin of this call. + * Filter from origin are passed along. The call will be dispatched with an origin which + * use the same filter as the origin of this call. * - * NOTE: If you need to ensure that any account-based filtering is not honored (i.e. because - * you expect `proxy` to have been used prior in the call stack and you do not want the call - * restrictions to apply to any sub-accounts), then use `as_multi_threshold_1` in the Multisig - * pallet instead. + * NOTE: If you need to ensure that any account-based filtering is not honored (i.e. + * because you expect `proxy` to have been used prior in the call stack and you do not want + * the call restrictions to apply to any sub-accounts), then use `as_multi_threshold_1` + * in the Multisig pallet instead. * * NOTE: Prior to version *12, this was called `as_limited_sub`. * * The dispatch origin for this call must be _Signed_. - */ + **/ asDerivative: AugmentedSubmittable< ( index: u16 | AnyNumber | Uint8Array, @@ -4369,20 +4616,20 @@ declare module "@polkadot/api-base/types/submittable" { * May be called from any origin except `None`. * * - `calls`: The calls to be dispatched from the same origin. The number of call must not - * exceed the constant: `batched_calls_limit` (available in constant metadata). + * exceed the constant: `batched_calls_limit` (available in constant metadata). * * If origin is root then the calls are dispatched without checking origin filter. (This * includes bypassing `frame_system::Config::BaseCallFilter`). * * ## Complexity - * * - O(C) where C is the number of calls to be batched. * - * This will return `Ok` in all circumstances. To determine the success of the batch, an event - * is deposited. If a call failed and the batch was interrupted, then the `BatchInterrupted` - * event is deposited, along with the number of successful calls made and the error of the - * failed call. If all were successful, then the `BatchCompleted` event is deposited. - */ + * This will return `Ok` in all circumstances. To determine the success of the batch, an + * event is deposited. If a call failed and the batch was interrupted, then the + * `BatchInterrupted` event is deposited, along with the number of successful calls made + * and the error of the failed call. If all were successful, then the `BatchCompleted` + * event is deposited. + **/ batch: AugmentedSubmittable< ( calls: Vec | (Call | IMethod | string | Uint8Array)[] @@ -4390,21 +4637,20 @@ declare module "@polkadot/api-base/types/submittable" { [Vec] >; /** - * Send a batch of dispatch calls and atomically execute them. The whole transaction will - * rollback and fail if any of the calls failed. + * Send a batch of dispatch calls and atomically execute them. + * The whole transaction will rollback and fail if any of the calls failed. * * May be called from any origin except `None`. * * - `calls`: The calls to be dispatched from the same origin. The number of call must not - * exceed the constant: `batched_calls_limit` (available in constant metadata). + * exceed the constant: `batched_calls_limit` (available in constant metadata). * * If origin is root then the calls are dispatched without checking origin filter. (This * includes bypassing `frame_system::Config::BaseCallFilter`). * * ## Complexity - * * - O(C) where C is the number of calls to be batched. - */ + **/ batchAll: AugmentedSubmittable< ( calls: Vec | (Call | IMethod | string | Uint8Array)[] @@ -4417,9 +4663,8 @@ declare module "@polkadot/api-base/types/submittable" { * The dispatch origin for this call must be _Root_. * * ## Complexity - * * - O(1). - */ + **/ dispatchAs: AugmentedSubmittable< ( asOrigin: @@ -4440,20 +4685,20 @@ declare module "@polkadot/api-base/types/submittable" { [MoonriverRuntimeOriginCaller, Call] >; /** - * Send a batch of dispatch calls. Unlike `batch`, it allows errors and won't interrupt. + * Send a batch of dispatch calls. + * Unlike `batch`, it allows errors and won't interrupt. * * May be called from any origin except `None`. * * - `calls`: The calls to be dispatched from the same origin. The number of call must not - * exceed the constant: `batched_calls_limit` (available in constant metadata). + * exceed the constant: `batched_calls_limit` (available in constant metadata). * * If origin is root then the calls are dispatch without checking origin filter. (This * includes bypassing `frame_system::Config::BaseCallFilter`). * * ## Complexity - * * - O(C) where C is the number of calls to be batched. - */ + **/ forceBatch: AugmentedSubmittable< ( calls: Vec | (Call | IMethod | string | Uint8Array)[] @@ -4463,11 +4708,11 @@ declare module "@polkadot/api-base/types/submittable" { /** * Dispatch a function call with a specified weight. * - * This function does not check the weight of the call, and instead allows the Root origin to - * specify the weight of the call. + * This function does not check the weight of the call, and instead allows the + * Root origin to specify the weight of the call. * * The dispatch origin for this call must be _Root_. - */ + **/ withWeight: AugmentedSubmittable< ( call: Call | IMethod | string | Uint8Array, @@ -4475,7 +4720,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [Call, SpWeightsWeightV2Weight] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; whitelist: { @@ -4503,19 +4750,23 @@ declare module "@polkadot/api-base/types/submittable" { (callHash: H256 | string | Uint8Array) => SubmittableExtrinsic, [H256] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; xcmTransactor: { /** * De-Register a derivative index. This prevents an account to use a derivative address * (represented by an index) from our of our sovereign accounts anymore - */ + **/ deregister: AugmentedSubmittable< (index: u16 | AnyNumber | Uint8Array) => SubmittableExtrinsic, [u16] >; - /** Manage HRMP operations */ + /** + * Manage HRMP operations + **/ hrmpManage: AugmentedSubmittable< ( action: @@ -4544,14 +4795,15 @@ declare module "@polkadot/api-base/types/submittable" { ] >; /** - * Register a derivative index for an account id. Dispatchable by DerivativeAddressRegistrationOrigin + * Register a derivative index for an account id. Dispatchable by + * DerivativeAddressRegistrationOrigin * - * We do not store the derivative address, but only the index. We do not need to store the - * derivative address to issue calls, only the index is enough + * We do not store the derivative address, but only the index. We do not need to store + * the derivative address to issue calls, only the index is enough * - * For now an index is registered for all possible destinations and not per-destination. We - * can change this in the future although it would just make things more complicated - */ + * For now an index is registered for all possible destinations and not per-destination. + * We can change this in the future although it would just make things more complicated + **/ register: AugmentedSubmittable< ( who: AccountId20 | string | Uint8Array, @@ -4559,7 +4811,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [AccountId20, u16] >; - /** Remove the fee per second of an asset on its reserve chain */ + /** + * Remove the fee per second of an asset on its reserve chain + **/ removeFeePerSecond: AugmentedSubmittable< ( assetLocation: @@ -4572,7 +4826,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation] >; - /** Remove the transact info of a location */ + /** + * Remove the transact info of a location + **/ removeTransactInfo: AugmentedSubmittable< ( location: @@ -4585,7 +4841,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation] >; - /** Set the fee per second of an asset on its reserve chain */ + /** + * Set the fee per second of an asset on its reserve chain + **/ setFeePerSecond: AugmentedSubmittable< ( assetLocation: @@ -4599,7 +4857,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [XcmVersionedLocation, u128] >; - /** Change the transact info of a location */ + /** + * Change the transact info of a location + **/ setTransactInfo: AugmentedSubmittable< ( location: @@ -4635,12 +4895,12 @@ declare module "@polkadot/api-base/types/submittable" { ] >; /** - * Transact the inner call through a derivative account in a destination chain, using - * 'fee_location' to pay for the fees. This fee_location is given as a multilocation + * Transact the inner call through a derivative account in a destination chain, + * using 'fee_location' to pay for the fees. This fee_location is given as a multilocation * - * The caller needs to have the index registered in this pallet. The fee multiasset needs to - * be a reserve asset for the destination transactor::multilocation. - */ + * The caller needs to have the index registered in this pallet. The fee multiasset needs + * to be a reserve asset for the destination transactor::multilocation. + **/ transactThroughDerivative: AugmentedSubmittable< ( dest: MoonriverRuntimeXcmConfigTransactors | "Relay" | number | Uint8Array, @@ -4668,12 +4928,12 @@ declare module "@polkadot/api-base/types/submittable" { ] >; /** - * Transact the call through the a signed origin in this chain that should be converted to a - * transaction dispatch account in the destination chain by any method implemented in the - * destination chains runtime + * Transact the call through the a signed origin in this chain + * that should be converted to a transaction dispatch account in the destination chain + * by any method implemented in the destination chains runtime * * This time we are giving the currency as a currencyId instead of multilocation - */ + **/ transactThroughSigned: AugmentedSubmittable< ( dest: @@ -4705,10 +4965,11 @@ declare module "@polkadot/api-base/types/submittable" { ] >; /** - * Transact the call through the sovereign account in a destination chain, 'fee_payer' pays for the fee + * Transact the call through the sovereign account in a destination chain, + * 'fee_payer' pays for the fee * * SovereignAccountDispatcherOrigin callable only - */ + **/ transactThroughSovereign: AugmentedSubmittable< ( dest: @@ -4750,7 +5011,9 @@ declare module "@polkadot/api-base/types/submittable" { bool ] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; xcmWeightTrader: { @@ -4786,7 +5049,9 @@ declare module "@polkadot/api-base/types/submittable" { ) => SubmittableExtrinsic, [StagingXcmV4Location] >; - /** Generic tx */ + /** + * Generic tx + **/ [key: string]: SubmittableExtrinsicFunction; }; } // AugmentedSubmittables diff --git a/typescript-api/src/moonriver/interfaces/augment-types.ts b/typescript-api/src/moonriver/interfaces/augment-types.ts index 78a1a1dfc4..69009fb9c5 100644 --- a/typescript-api/src/moonriver/interfaces/augment-types.ts +++ b/typescript-api/src/moonriver/interfaces/augment-types.ts @@ -48,7 +48,7 @@ import type { u32, u64, u8, - usize, + usize } from "@polkadot/types-codec"; import type { TAssetConversion } from "@polkadot/types/interfaces/assetConversion"; import type { @@ -59,12 +59,12 @@ import type { AssetDetails, AssetMetadata, TAssetBalance, - TAssetDepositBalance, + TAssetDepositBalance } from "@polkadot/types/interfaces/assets"; import type { BlockAttestations, IncludedBlocks, - MoreAttestations, + MoreAttestations } from "@polkadot/types/interfaces/attestations"; import type { RawAuraPreDigest } from "@polkadot/types/interfaces/aura"; import type { ExtrinsicOrHash, ExtrinsicStatus } from "@polkadot/types/interfaces/author"; @@ -97,7 +97,7 @@ import type { SlotNumber, VrfData, VrfOutput, - VrfProof, + VrfProof } from "@polkadot/types/interfaces/babe"; import type { AccountData, @@ -108,7 +108,7 @@ import type { ReserveData, ReserveIdentifier, VestingSchedule, - WithdrawReasons, + WithdrawReasons } from "@polkadot/types/interfaces/balances"; import type { BeefyAuthoritySet, @@ -124,7 +124,7 @@ import type { BeefyVoteMessage, MmrRootHash, ValidatorSet, - ValidatorSetId, + ValidatorSetId } from "@polkadot/types/interfaces/beefy"; import type { BenchmarkBatch, @@ -132,12 +132,12 @@ import type { BenchmarkList, BenchmarkMetadata, BenchmarkParameter, - BenchmarkResult, + BenchmarkResult } from "@polkadot/types/interfaces/benchmark"; import type { CheckInherentsResult, InherentData, - InherentIdentifier, + InherentIdentifier } from "@polkadot/types/interfaces/blockbuilder"; import type { BridgeMessageId, @@ -164,7 +164,7 @@ import type { Parameter, RelayerId, UnrewardedRelayer, - UnrewardedRelayersState, + UnrewardedRelayersState } from "@polkadot/types/interfaces/bridges"; import type { BlockHash } from "@polkadot/types/interfaces/chain"; import type { PrefixedStorageKey } from "@polkadot/types/interfaces/childstate"; @@ -174,7 +174,7 @@ import type { MemberCount, ProposalIndex, Votes, - VotesTo230, + VotesTo230 } from "@polkadot/types/interfaces/collective"; import type { AuthorityId, RawVRFOutput } from "@polkadot/types/interfaces/consensus"; import type { @@ -225,7 +225,7 @@ import type { SeedOf, StorageDeposit, TombstoneContractInfo, - TrieId, + TrieId } from "@polkadot/types/interfaces/contracts"; import type { ContractConstructorSpecLatest, @@ -283,13 +283,13 @@ import type { ContractProjectV0, ContractSelector, ContractStorageLayout, - ContractTypeSpec, + ContractTypeSpec } from "@polkadot/types/interfaces/contractsAbi"; import type { FundIndex, FundInfo, LastContribution, - TrieIndex, + TrieIndex } from "@polkadot/types/interfaces/crowdloan"; import type { CollationInfo, @@ -298,7 +298,7 @@ import type { MessageId, OverweightIndex, PageCounter, - PageIndexData, + PageIndexData } from "@polkadot/types/interfaces/cumulus"; import type { AccountVote, @@ -321,7 +321,7 @@ import type { Voting, VotingDelegating, VotingDirect, - VotingDirectVote, + VotingDirectVote } from "@polkadot/types/interfaces/democracy"; import type { BlockStats } from "@polkadot/types/interfaces/dev"; import type { @@ -329,7 +329,7 @@ import type { DispatchResultWithPostInfo, PostDispatchInfo, XcmDryRunApiError, - XcmDryRunEffects, + XcmDryRunEffects } from "@polkadot/types/interfaces/dryRunApi"; import type { ApprovalFlag, @@ -339,7 +339,7 @@ import type { Vote, VoteIndex, VoteThreshold, - VoterInfo, + VoterInfo } from "@polkadot/types/interfaces/elections"; import type { CreatedBlock, ImportedAux } from "@polkadot/types/interfaces/engine"; import type { @@ -389,7 +389,7 @@ import type { LegacyTransaction, TransactionV0, TransactionV1, - TransactionV2, + TransactionV2 } from "@polkadot/types/interfaces/eth"; import type { EvmAccount, @@ -404,7 +404,7 @@ import type { ExitFatal, ExitReason, ExitRevert, - ExitSucceed, + ExitSucceed } from "@polkadot/types/interfaces/evm"; import type { AnySignature, @@ -428,7 +428,7 @@ import type { MultiSignature, Signature, SignerPayload, - Sr25519Signature, + Sr25519Signature } from "@polkadot/types/interfaces/extrinsics"; import type { FungiblesAccessError } from "@polkadot/types/interfaces/fungibles"; import type { @@ -436,14 +436,14 @@ import type { Owner, PermissionLatest, PermissionVersions, - PermissionsV1, + PermissionsV1 } from "@polkadot/types/interfaces/genericAsset"; import type { GenesisBuildErr } from "@polkadot/types/interfaces/genesisBuilder"; import type { ActiveGilt, ActiveGiltsTotal, ActiveIndex, - GiltBid, + GiltBid } from "@polkadot/types/interfaces/gilt"; import type { AuthorityIndex, @@ -477,7 +477,7 @@ import type { RoundState, SetId, StoredPendingChange, - StoredState, + StoredState } from "@polkadot/types/interfaces/grandpa"; import type { IdentityFields, @@ -489,7 +489,7 @@ import type { RegistrarInfo, Registration, RegistrationJudgement, - RegistrationTo198, + RegistrationTo198 } from "@polkadot/types/interfaces/identity"; import type { AuthIndex, @@ -498,7 +498,7 @@ import type { HeartbeatTo244, OpaqueMultiaddr, OpaqueNetworkState, - OpaquePeerId, + OpaquePeerId } from "@polkadot/types/interfaces/imOnline"; import type { CallIndex, LotteryConfig } from "@polkadot/types/interfaces/lottery"; import type { @@ -612,13 +612,13 @@ import type { StorageMetadataV11, StorageMetadataV12, StorageMetadataV13, - StorageMetadataV9, + StorageMetadataV9 } from "@polkadot/types/interfaces/metadata"; import type { Mixnode, MixnodesErr, SessionPhase, - SessionStatus, + SessionStatus } from "@polkadot/types/interfaces/mixnet"; import type { MmrBatchProof, @@ -629,7 +629,7 @@ import type { MmrLeafIndex, MmrLeafProof, MmrNodeIndex, - MmrProof, + MmrProof } from "@polkadot/types/interfaces/mmr"; import type { NftCollectionId, NftItemId } from "@polkadot/types/interfaces/nfts"; import type { NpApiError, NpPoolId } from "@polkadot/types/interfaces/nompools"; @@ -641,7 +641,7 @@ import type { Offender, OpaqueTimeSlot, ReportIdOf, - Reporter, + Reporter } from "@polkadot/types/interfaces/offences"; import type { AbridgedCandidateReceipt, @@ -782,20 +782,20 @@ import type { WinnersDataTuple10, WinningData, WinningData10, - WinningDataEntry, + WinningDataEntry } from "@polkadot/types/interfaces/parachains"; import type { FeeDetails, InclusionFee, RuntimeDispatchInfo, RuntimeDispatchInfoV1, - RuntimeDispatchInfoV2, + RuntimeDispatchInfoV2 } from "@polkadot/types/interfaces/payment"; import type { Approvals } from "@polkadot/types/interfaces/poll"; import type { ProxyAnnouncement, ProxyDefinition, - ProxyType, + ProxyType } from "@polkadot/types/interfaces/proxy"; import type { AccountStatus, AccountValidity } from "@polkadot/types/interfaces/purchase"; import type { ActiveRecovery, RecoveryConfig } from "@polkadot/types/interfaces/recovery"; @@ -901,7 +901,7 @@ import type { WeightMultiplier, WeightV0, WeightV1, - WeightV2, + WeightV2 } from "@polkadot/types/interfaces/runtime"; import type { Si0Field, @@ -949,7 +949,7 @@ import type { SiTypeDefTuple, SiTypeDefVariant, SiTypeParameter, - SiVariant, + SiVariant } from "@polkadot/types/interfaces/scaleInfo"; import type { Period, @@ -958,7 +958,7 @@ import type { SchedulePriority, Scheduled, ScheduledTo254, - TaskAddress, + TaskAddress } from "@polkadot/types/interfaces/scheduler"; import type { BeefyKey, @@ -982,7 +982,7 @@ import type { SessionKeys8B, SessionKeys9, SessionKeys9B, - ValidatorCount, + ValidatorCount } from "@polkadot/types/interfaces/session"; import type { Bid, @@ -990,7 +990,7 @@ import type { SocietyJudgement, SocietyVote, StrikeCount, - VouchingStatus, + VouchingStatus } from "@polkadot/types/interfaces/society"; import type { ActiveEraInfo, @@ -1060,7 +1060,7 @@ import type { ValidatorPrefsWithBlocked, ValidatorPrefsWithCommission, VoteWeight, - Voter, + Voter } from "@polkadot/types/interfaces/staking"; import type { ApiId, @@ -1079,12 +1079,12 @@ import type { SpecVersion, StorageChangeSet, TraceBlockResponse, - TraceError, + TraceError } from "@polkadot/types/interfaces/state"; import type { StatementStoreInvalidStatement, StatementStoreStatementSource, - StatementStoreValidStatement, + StatementStoreValidStatement } from "@polkadot/types/interfaces/statement"; import type { WeightToFeeCoefficient } from "@polkadot/types/interfaces/support"; import type { @@ -1151,7 +1151,7 @@ import type { TransactionValidityError, TransactionalError, UnknownTransaction, - WeightPerClass, + WeightPerClass } from "@polkadot/types/interfaces/system"; import type { Bounty, @@ -1164,13 +1164,13 @@ import type { OpenTipFinderTo225, OpenTipTip, OpenTipTo225, - TreasuryProposal, + TreasuryProposal } from "@polkadot/types/interfaces/treasury"; import type { Multiplier } from "@polkadot/types/interfaces/txpayment"; import type { TransactionSource, TransactionValidity, - ValidTransaction, + ValidTransaction } from "@polkadot/types/interfaces/txqueue"; import type { ClassDetails, @@ -1181,7 +1181,7 @@ import type { DestroyWitness, InstanceDetails, InstanceId, - InstanceMetadata, + InstanceMetadata } from "@polkadot/types/interfaces/uniques"; import type { Multisig, Timepoint } from "@polkadot/types/interfaces/utility"; import type { VestingInfo } from "@polkadot/types/interfaces/vesting"; @@ -1319,7 +1319,7 @@ import type { XcmV3, XcmV4, XcmVersion, - XcmpMessageFormat, + XcmpMessageFormat } from "@polkadot/types/interfaces/xcm"; import type { XcmPaymentApiError } from "@polkadot/types/interfaces/xcmPaymentApi"; import type { Error } from "@polkadot/types/interfaces/xcmRuntimeApi"; diff --git a/typescript-api/src/moonriver/interfaces/lookup.ts b/typescript-api/src/moonriver/interfaces/lookup.ts index 59fd041721..50be4c7a41 100644 --- a/typescript-api/src/moonriver/interfaces/lookup.ts +++ b/typescript-api/src/moonriver/interfaces/lookup.ts @@ -4,37 +4,49 @@ /* eslint-disable sort-keys */ export default { - /** Lookup3: frame_system::AccountInfo> */ + /** + * Lookup3: frame_system::AccountInfo> + **/ FrameSystemAccountInfo: { nonce: "u32", consumers: "u32", providers: "u32", sufficients: "u32", - data: "PalletBalancesAccountData", + data: "PalletBalancesAccountData" }, - /** Lookup5: pallet_balances::types::AccountData */ + /** + * Lookup5: pallet_balances::types::AccountData + **/ PalletBalancesAccountData: { free: "u128", reserved: "u128", frozen: "u128", - flags: "u128", + flags: "u128" }, - /** Lookup9: frame_support::dispatch::PerDispatchClass */ + /** + * Lookup9: frame_support::dispatch::PerDispatchClass + **/ FrameSupportDispatchPerDispatchClassWeight: { normal: "SpWeightsWeightV2Weight", operational: "SpWeightsWeightV2Weight", - mandatory: "SpWeightsWeightV2Weight", + mandatory: "SpWeightsWeightV2Weight" }, - /** Lookup10: sp_weights::weight_v2::Weight */ + /** + * Lookup10: sp_weights::weight_v2::Weight + **/ SpWeightsWeightV2Weight: { refTime: "Compact", - proofSize: "Compact", + proofSize: "Compact" }, - /** Lookup16: sp_runtime::generic::digest::Digest */ + /** + * Lookup16: sp_runtime::generic::digest::Digest + **/ SpRuntimeDigest: { - logs: "Vec", + logs: "Vec" }, - /** Lookup18: sp_runtime::generic::digest::DigestItem */ + /** + * Lookup18: sp_runtime::generic::digest::DigestItem + **/ SpRuntimeDigestDigestItem: { _enum: { Other: "Bytes", @@ -45,60 +57,72 @@ export default { Seal: "([u8;4],Bytes)", PreRuntime: "([u8;4],Bytes)", __Unused7: "Null", - RuntimeEnvironmentUpdated: "Null", - }, + RuntimeEnvironmentUpdated: "Null" + } }, - /** Lookup21: frame_system::EventRecord */ + /** + * Lookup21: frame_system::EventRecord + **/ FrameSystemEventRecord: { phase: "FrameSystemPhase", event: "Event", - topics: "Vec", + topics: "Vec" }, - /** Lookup23: frame_system::pallet::Event */ + /** + * Lookup23: frame_system::pallet::Event + **/ FrameSystemEvent: { _enum: { ExtrinsicSuccess: { - dispatchInfo: "FrameSupportDispatchDispatchInfo", + dispatchInfo: "FrameSupportDispatchDispatchInfo" }, ExtrinsicFailed: { dispatchError: "SpRuntimeDispatchError", - dispatchInfo: "FrameSupportDispatchDispatchInfo", + dispatchInfo: "FrameSupportDispatchDispatchInfo" }, CodeUpdated: "Null", NewAccount: { - account: "AccountId20", + account: "AccountId20" }, KilledAccount: { - account: "AccountId20", + account: "AccountId20" }, Remarked: { _alias: { - hash_: "hash", + hash_: "hash" }, sender: "AccountId20", - hash_: "H256", + hash_: "H256" }, UpgradeAuthorized: { codeHash: "H256", - checkVersion: "bool", - }, - }, + checkVersion: "bool" + } + } }, - /** Lookup24: frame_support::dispatch::DispatchInfo */ + /** + * Lookup24: frame_support::dispatch::DispatchInfo + **/ FrameSupportDispatchDispatchInfo: { weight: "SpWeightsWeightV2Weight", class: "FrameSupportDispatchDispatchClass", - paysFee: "FrameSupportDispatchPays", + paysFee: "FrameSupportDispatchPays" }, - /** Lookup25: frame_support::dispatch::DispatchClass */ + /** + * Lookup25: frame_support::dispatch::DispatchClass + **/ FrameSupportDispatchDispatchClass: { - _enum: ["Normal", "Operational", "Mandatory"], + _enum: ["Normal", "Operational", "Mandatory"] }, - /** Lookup26: frame_support::dispatch::Pays */ + /** + * Lookup26: frame_support::dispatch::Pays + **/ FrameSupportDispatchPays: { - _enum: ["Yes", "No"], + _enum: ["Yes", "No"] }, - /** Lookup27: sp_runtime::DispatchError */ + /** + * Lookup27: sp_runtime::DispatchError + **/ SpRuntimeDispatchError: { _enum: { Other: "Null", @@ -114,15 +138,19 @@ export default { Exhausted: "Null", Corruption: "Null", Unavailable: "Null", - RootNotAllowed: "Null", - }, + RootNotAllowed: "Null" + } }, - /** Lookup28: sp_runtime::ModuleError */ + /** + * Lookup28: sp_runtime::ModuleError + **/ SpRuntimeModuleError: { index: "u8", - error: "[u8;4]", + error: "[u8;4]" }, - /** Lookup29: sp_runtime::TokenError */ + /** + * Lookup29: sp_runtime::TokenError + **/ SpRuntimeTokenError: { _enum: [ "FundsUnavailable", @@ -134,288 +162,304 @@ export default { "Unsupported", "CannotCreateHold", "NotExpendable", - "Blocked", - ], + "Blocked" + ] }, - /** Lookup30: sp_arithmetic::ArithmeticError */ + /** + * Lookup30: sp_arithmetic::ArithmeticError + **/ SpArithmeticArithmeticError: { - _enum: ["Underflow", "Overflow", "DivisionByZero"], + _enum: ["Underflow", "Overflow", "DivisionByZero"] }, - /** Lookup31: sp_runtime::TransactionalError */ + /** + * Lookup31: sp_runtime::TransactionalError + **/ SpRuntimeTransactionalError: { - _enum: ["LimitReached", "NoLayer"], + _enum: ["LimitReached", "NoLayer"] }, - /** Lookup32: cumulus_pallet_parachain_system::pallet::Event */ + /** + * Lookup32: cumulus_pallet_parachain_system::pallet::Event + **/ CumulusPalletParachainSystemEvent: { _enum: { ValidationFunctionStored: "Null", ValidationFunctionApplied: { - relayChainBlockNum: "u32", + relayChainBlockNum: "u32" }, ValidationFunctionDiscarded: "Null", DownwardMessagesReceived: { - count: "u32", + count: "u32" }, DownwardMessagesProcessed: { weightUsed: "SpWeightsWeightV2Weight", - dmqHead: "H256", + dmqHead: "H256" }, UpwardMessageSent: { - messageHash: "Option<[u8;32]>", - }, - }, + messageHash: "Option<[u8;32]>" + } + } }, - /** Lookup34: pallet_root_testing::pallet::Event */ + /** + * Lookup34: pallet_root_testing::pallet::Event + **/ PalletRootTestingEvent: { - _enum: ["DefensiveTestCall"], + _enum: ["DefensiveTestCall"] }, - /** Lookup35: pallet_balances::pallet::Event */ + /** + * Lookup35: pallet_balances::pallet::Event + **/ PalletBalancesEvent: { _enum: { Endowed: { account: "AccountId20", - freeBalance: "u128", + freeBalance: "u128" }, DustLost: { account: "AccountId20", - amount: "u128", + amount: "u128" }, Transfer: { from: "AccountId20", to: "AccountId20", - amount: "u128", + amount: "u128" }, BalanceSet: { who: "AccountId20", - free: "u128", + free: "u128" }, Reserved: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Unreserved: { who: "AccountId20", - amount: "u128", + amount: "u128" }, ReserveRepatriated: { from: "AccountId20", to: "AccountId20", amount: "u128", - destinationStatus: "FrameSupportTokensMiscBalanceStatus", + destinationStatus: "FrameSupportTokensMiscBalanceStatus" }, Deposit: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Withdraw: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Slashed: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Minted: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Burned: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Suspended: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Restored: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Upgraded: { - who: "AccountId20", + who: "AccountId20" }, Issued: { - amount: "u128", + amount: "u128" }, Rescinded: { - amount: "u128", + amount: "u128" }, Locked: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Unlocked: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Frozen: { who: "AccountId20", - amount: "u128", + amount: "u128" }, Thawed: { who: "AccountId20", - amount: "u128", + amount: "u128" }, TotalIssuanceForced: { _alias: { - new_: "new", + new_: "new" }, old: "u128", - new_: "u128", - }, - }, + new_: "u128" + } + } }, - /** Lookup36: frame_support::traits::tokens::misc::BalanceStatus */ + /** + * Lookup36: frame_support::traits::tokens::misc::BalanceStatus + **/ FrameSupportTokensMiscBalanceStatus: { - _enum: ["Free", "Reserved"], + _enum: ["Free", "Reserved"] }, - /** Lookup37: pallet_transaction_payment::pallet::Event */ + /** + * Lookup37: pallet_transaction_payment::pallet::Event + **/ PalletTransactionPaymentEvent: { _enum: { TransactionFeePaid: { who: "AccountId20", actualFee: "u128", - tip: "u128", - }, - }, + tip: "u128" + } + } }, - /** Lookup38: pallet_parachain_staking::pallet::Event */ + /** + * Lookup38: pallet_parachain_staking::pallet::Event + **/ PalletParachainStakingEvent: { _enum: { NewRound: { startingBlock: "u32", round: "u32", selectedCollatorsNumber: "u32", - totalBalance: "u128", + totalBalance: "u128" }, JoinedCollatorCandidates: { account: "AccountId20", amountLocked: "u128", - newTotalAmtLocked: "u128", + newTotalAmtLocked: "u128" }, CollatorChosen: { round: "u32", collatorAccount: "AccountId20", - totalExposedAmount: "u128", + totalExposedAmount: "u128" }, CandidateBondLessRequested: { candidate: "AccountId20", amountToDecrease: "u128", - executeRound: "u32", + executeRound: "u32" }, CandidateBondedMore: { candidate: "AccountId20", amount: "u128", - newTotalBond: "u128", + newTotalBond: "u128" }, CandidateBondedLess: { candidate: "AccountId20", amount: "u128", - newBond: "u128", + newBond: "u128" }, CandidateWentOffline: { - candidate: "AccountId20", + candidate: "AccountId20" }, CandidateBackOnline: { - candidate: "AccountId20", + candidate: "AccountId20" }, CandidateScheduledExit: { exitAllowedRound: "u32", candidate: "AccountId20", - scheduledExit: "u32", + scheduledExit: "u32" }, CancelledCandidateExit: { - candidate: "AccountId20", + candidate: "AccountId20" }, CancelledCandidateBondLess: { candidate: "AccountId20", amount: "u128", - executeRound: "u32", + executeRound: "u32" }, CandidateLeft: { exCandidate: "AccountId20", unlockedAmount: "u128", - newTotalAmtLocked: "u128", + newTotalAmtLocked: "u128" }, DelegationDecreaseScheduled: { delegator: "AccountId20", candidate: "AccountId20", amountToDecrease: "u128", - executeRound: "u32", + executeRound: "u32" }, DelegationIncreased: { delegator: "AccountId20", candidate: "AccountId20", amount: "u128", - inTop: "bool", + inTop: "bool" }, DelegationDecreased: { delegator: "AccountId20", candidate: "AccountId20", amount: "u128", - inTop: "bool", + inTop: "bool" }, DelegatorExitScheduled: { round: "u32", delegator: "AccountId20", - scheduledExit: "u32", + scheduledExit: "u32" }, DelegationRevocationScheduled: { round: "u32", delegator: "AccountId20", candidate: "AccountId20", - scheduledExit: "u32", + scheduledExit: "u32" }, DelegatorLeft: { delegator: "AccountId20", - unstakedAmount: "u128", + unstakedAmount: "u128" }, DelegationRevoked: { delegator: "AccountId20", candidate: "AccountId20", - unstakedAmount: "u128", + unstakedAmount: "u128" }, DelegationKicked: { delegator: "AccountId20", candidate: "AccountId20", - unstakedAmount: "u128", + unstakedAmount: "u128" }, DelegatorExitCancelled: { - delegator: "AccountId20", + delegator: "AccountId20" }, CancelledDelegationRequest: { delegator: "AccountId20", cancelledRequest: "PalletParachainStakingDelegationRequestsCancelledScheduledRequest", - collator: "AccountId20", + collator: "AccountId20" }, Delegation: { delegator: "AccountId20", lockedAmount: "u128", candidate: "AccountId20", delegatorPosition: "PalletParachainStakingDelegatorAdded", - autoCompound: "Percent", + autoCompound: "Percent" }, DelegatorLeftCandidate: { delegator: "AccountId20", candidate: "AccountId20", unstakedAmount: "u128", - totalCandidateStaked: "u128", + totalCandidateStaked: "u128" }, Rewarded: { account: "AccountId20", - rewards: "u128", + rewards: "u128" }, InflationDistributed: { index: "u32", account: "AccountId20", - value: "u128", + value: "u128" }, InflationDistributionConfigUpdated: { _alias: { - new_: "new", + new_: "new" }, old: "PalletParachainStakingInflationDistributionConfig", - new_: "PalletParachainStakingInflationDistributionConfig", + new_: "PalletParachainStakingInflationDistributionConfig" }, InflationSet: { annualMin: "Perbill", @@ -423,30 +467,30 @@ export default { annualMax: "Perbill", roundMin: "Perbill", roundIdeal: "Perbill", - roundMax: "Perbill", + roundMax: "Perbill" }, StakeExpectationsSet: { expectMin: "u128", expectIdeal: "u128", - expectMax: "u128", + expectMax: "u128" }, TotalSelectedSet: { _alias: { - new_: "new", + new_: "new" }, old: "u32", - new_: "u32", + new_: "u32" }, CollatorCommissionSet: { _alias: { - new_: "new", + new_: "new" }, old: "Perbill", - new_: "Perbill", + new_: "Perbill" }, BlocksPerRoundSet: { _alias: { - new_: "new", + new_: "new" }, currentRound: "u32", firstBlock: "u32", @@ -454,169 +498,189 @@ export default { new_: "u32", newPerRoundInflationMin: "Perbill", newPerRoundInflationIdeal: "Perbill", - newPerRoundInflationMax: "Perbill", + newPerRoundInflationMax: "Perbill" }, AutoCompoundSet: { candidate: "AccountId20", delegator: "AccountId20", - value: "Percent", + value: "Percent" }, Compounded: { candidate: "AccountId20", delegator: "AccountId20", - amount: "u128", - }, - }, + amount: "u128" + } + } }, - /** Lookup39: pallet_parachain_staking::delegation_requests::CancelledScheduledRequest */ + /** + * Lookup39: pallet_parachain_staking::delegation_requests::CancelledScheduledRequest + **/ PalletParachainStakingDelegationRequestsCancelledScheduledRequest: { whenExecutable: "u32", - action: "PalletParachainStakingDelegationRequestsDelegationAction", + action: "PalletParachainStakingDelegationRequestsDelegationAction" }, - /** Lookup40: pallet_parachain_staking::delegation_requests::DelegationAction */ + /** + * Lookup40: pallet_parachain_staking::delegation_requests::DelegationAction + **/ PalletParachainStakingDelegationRequestsDelegationAction: { _enum: { Revoke: "u128", - Decrease: "u128", - }, + Decrease: "u128" + } }, - /** Lookup41: pallet_parachain_staking::types::DelegatorAdded */ + /** + * Lookup41: pallet_parachain_staking::types::DelegatorAdded + **/ PalletParachainStakingDelegatorAdded: { _enum: { AddedToTop: { - newTotal: "u128", + newTotal: "u128" }, - AddedToBottom: "Null", - }, + AddedToBottom: "Null" + } }, /** - * Lookup43: - * pallet_parachain_staking::types::InflationDistributionConfig[account::AccountId20](account::AccountId20) - */ + * Lookup43: pallet_parachain_staking::types::InflationDistributionConfig + **/ PalletParachainStakingInflationDistributionConfig: "[Lookup45;2]", /** - * Lookup45: - * pallet_parachain_staking::types::InflationDistributionAccount[account::AccountId20](account::AccountId20) - */ + * Lookup45: pallet_parachain_staking::types::InflationDistributionAccount + **/ PalletParachainStakingInflationDistributionAccount: { account: "AccountId20", - percent: "Percent", + percent: "Percent" }, - /** Lookup47: pallet_author_slot_filter::pallet::Event */ + /** + * Lookup47: pallet_author_slot_filter::pallet::Event + **/ PalletAuthorSlotFilterEvent: { _enum: { - EligibleUpdated: "u32", - }, + EligibleUpdated: "u32" + } }, - /** Lookup49: pallet_author_mapping::pallet::Event */ + /** + * Lookup49: pallet_author_mapping::pallet::Event + **/ PalletAuthorMappingEvent: { _enum: { KeysRegistered: { _alias: { - keys_: "keys", + keys_: "keys" }, nimbusId: "NimbusPrimitivesNimbusCryptoPublic", accountId: "AccountId20", - keys_: "SessionKeysPrimitivesVrfVrfCryptoPublic", + keys_: "SessionKeysPrimitivesVrfVrfCryptoPublic" }, KeysRemoved: { _alias: { - keys_: "keys", + keys_: "keys" }, nimbusId: "NimbusPrimitivesNimbusCryptoPublic", accountId: "AccountId20", - keys_: "SessionKeysPrimitivesVrfVrfCryptoPublic", + keys_: "SessionKeysPrimitivesVrfVrfCryptoPublic" }, KeysRotated: { newNimbusId: "NimbusPrimitivesNimbusCryptoPublic", accountId: "AccountId20", - newKeys: "SessionKeysPrimitivesVrfVrfCryptoPublic", - }, - }, + newKeys: "SessionKeysPrimitivesVrfVrfCryptoPublic" + } + } }, - /** Lookup50: nimbus_primitives::nimbus_crypto::Public */ + /** + * Lookup50: nimbus_primitives::nimbus_crypto::Public + **/ NimbusPrimitivesNimbusCryptoPublic: "[u8;32]", - /** Lookup51: session_keys_primitives::vrf::vrf_crypto::Public */ + /** + * Lookup51: session_keys_primitives::vrf::vrf_crypto::Public + **/ SessionKeysPrimitivesVrfVrfCryptoPublic: "[u8;32]", - /** Lookup52: pallet_moonbeam_orbiters::pallet::Event */ + /** + * Lookup52: pallet_moonbeam_orbiters::pallet::Event + **/ PalletMoonbeamOrbitersEvent: { _enum: { OrbiterJoinCollatorPool: { collator: "AccountId20", - orbiter: "AccountId20", + orbiter: "AccountId20" }, OrbiterLeaveCollatorPool: { collator: "AccountId20", - orbiter: "AccountId20", + orbiter: "AccountId20" }, OrbiterRewarded: { account: "AccountId20", - rewards: "u128", + rewards: "u128" }, OrbiterRotation: { collator: "AccountId20", oldOrbiter: "Option", - newOrbiter: "Option", + newOrbiter: "Option" }, OrbiterRegistered: { account: "AccountId20", - deposit: "u128", + deposit: "u128" }, OrbiterUnregistered: { - account: "AccountId20", - }, - }, + account: "AccountId20" + } + } }, - /** Lookup54: pallet_utility::pallet::Event */ + /** + * Lookup54: pallet_utility::pallet::Event + **/ PalletUtilityEvent: { _enum: { BatchInterrupted: { index: "u32", - error: "SpRuntimeDispatchError", + error: "SpRuntimeDispatchError" }, BatchCompleted: "Null", BatchCompletedWithErrors: "Null", ItemCompleted: "Null", ItemFailed: { - error: "SpRuntimeDispatchError", + error: "SpRuntimeDispatchError" }, DispatchedAs: { - result: "Result", - }, - }, + result: "Result" + } + } }, - /** Lookup57: pallet_proxy::pallet::Event */ + /** + * Lookup57: pallet_proxy::pallet::Event + **/ PalletProxyEvent: { _enum: { ProxyExecuted: { - result: "Result", + result: "Result" }, PureCreated: { pure: "AccountId20", who: "AccountId20", proxyType: "MoonriverRuntimeProxyType", - disambiguationIndex: "u16", + disambiguationIndex: "u16" }, Announced: { real: "AccountId20", proxy: "AccountId20", - callHash: "H256", + callHash: "H256" }, ProxyAdded: { delegator: "AccountId20", delegatee: "AccountId20", proxyType: "MoonriverRuntimeProxyType", - delay: "u32", + delay: "u32" }, ProxyRemoved: { delegator: "AccountId20", delegatee: "AccountId20", proxyType: "MoonriverRuntimeProxyType", - delay: "u32", - }, - }, + delay: "u32" + } + } }, - /** Lookup58: moonriver_runtime::ProxyType */ + /** + * Lookup58: moonriver_runtime::ProxyType + **/ MoonriverRuntimeProxyType: { _enum: [ "Any", @@ -626,225 +690,259 @@ export default { "CancelProxy", "Balances", "AuthorMapping", - "IdentityJudgement", - ], + "IdentityJudgement" + ] }, - /** Lookup60: pallet_maintenance_mode::pallet::Event */ + /** + * Lookup60: pallet_maintenance_mode::pallet::Event + **/ PalletMaintenanceModeEvent: { _enum: { EnteredMaintenanceMode: "Null", NormalOperationResumed: "Null", FailedToSuspendIdleXcmExecution: { - error: "SpRuntimeDispatchError", + error: "SpRuntimeDispatchError" }, FailedToResumeIdleXcmExecution: { - error: "SpRuntimeDispatchError", - }, - }, + error: "SpRuntimeDispatchError" + } + } }, - /** Lookup61: pallet_identity::pallet::Event */ + /** + * Lookup61: pallet_identity::pallet::Event + **/ PalletIdentityEvent: { _enum: { IdentitySet: { - who: "AccountId20", + who: "AccountId20" }, IdentityCleared: { who: "AccountId20", - deposit: "u128", + deposit: "u128" }, IdentityKilled: { who: "AccountId20", - deposit: "u128", + deposit: "u128" }, JudgementRequested: { who: "AccountId20", - registrarIndex: "u32", + registrarIndex: "u32" }, JudgementUnrequested: { who: "AccountId20", - registrarIndex: "u32", + registrarIndex: "u32" }, JudgementGiven: { target: "AccountId20", - registrarIndex: "u32", + registrarIndex: "u32" }, RegistrarAdded: { - registrarIndex: "u32", + registrarIndex: "u32" }, SubIdentityAdded: { sub: "AccountId20", main: "AccountId20", - deposit: "u128", + deposit: "u128" }, SubIdentityRemoved: { sub: "AccountId20", main: "AccountId20", - deposit: "u128", + deposit: "u128" }, SubIdentityRevoked: { sub: "AccountId20", main: "AccountId20", - deposit: "u128", + deposit: "u128" }, AuthorityAdded: { - authority: "AccountId20", + authority: "AccountId20" }, AuthorityRemoved: { - authority: "AccountId20", + authority: "AccountId20" }, UsernameSet: { who: "AccountId20", - username: "Bytes", + username: "Bytes" }, UsernameQueued: { who: "AccountId20", username: "Bytes", - expiration: "u32", + expiration: "u32" }, PreapprovalExpired: { - whose: "AccountId20", + whose: "AccountId20" }, PrimaryUsernameSet: { who: "AccountId20", - username: "Bytes", + username: "Bytes" }, DanglingUsernameRemoved: { who: "AccountId20", - username: "Bytes", - }, - }, + username: "Bytes" + } + } }, - /** Lookup63: pallet_migrations::pallet::Event */ + /** + * Lookup63: pallet_migrations::pallet::Event + **/ PalletMigrationsEvent: { _enum: { RuntimeUpgradeStarted: "Null", RuntimeUpgradeCompleted: { - weight: "SpWeightsWeightV2Weight", + weight: "SpWeightsWeightV2Weight" }, MigrationStarted: { - migrationName: "Bytes", + migrationName: "Bytes" }, MigrationCompleted: { migrationName: "Bytes", - consumedWeight: "SpWeightsWeightV2Weight", + consumedWeight: "SpWeightsWeightV2Weight" }, FailedToSuspendIdleXcmExecution: { - error: "SpRuntimeDispatchError", + error: "SpRuntimeDispatchError" }, FailedToResumeIdleXcmExecution: { - error: "SpRuntimeDispatchError", - }, - }, + error: "SpRuntimeDispatchError" + } + } }, - /** Lookup64: pallet_multisig::pallet::Event */ + /** + * Lookup64: pallet_multisig::pallet::Event + **/ PalletMultisigEvent: { _enum: { NewMultisig: { approving: "AccountId20", multisig: "AccountId20", - callHash: "[u8;32]", + callHash: "[u8;32]" }, MultisigApproval: { approving: "AccountId20", timepoint: "PalletMultisigTimepoint", multisig: "AccountId20", - callHash: "[u8;32]", + callHash: "[u8;32]" }, MultisigExecuted: { approving: "AccountId20", timepoint: "PalletMultisigTimepoint", multisig: "AccountId20", callHash: "[u8;32]", - result: "Result", + result: "Result" }, MultisigCancelled: { cancelling: "AccountId20", timepoint: "PalletMultisigTimepoint", multisig: "AccountId20", - callHash: "[u8;32]", - }, - }, + callHash: "[u8;32]" + } + } }, - /** Lookup65: pallet_multisig::Timepoint */ + /** + * Lookup65: pallet_multisig::Timepoint + **/ PalletMultisigTimepoint: { height: "u32", - index: "u32", + index: "u32" }, - /** Lookup66: pallet_parameters::pallet::Event */ + /** + * Lookup66: pallet_parameters::pallet::Event + **/ PalletParametersEvent: { _enum: { Updated: { key: "MoonriverRuntimeRuntimeParamsRuntimeParametersKey", oldValue: "Option", - newValue: "Option", - }, - }, + newValue: "Option" + } + } }, - /** Lookup67: moonriver_runtime::runtime_params::RuntimeParametersKey */ + /** + * Lookup67: moonriver_runtime::runtime_params::RuntimeParametersKey + **/ MoonriverRuntimeRuntimeParamsRuntimeParametersKey: { _enum: { RuntimeConfig: "MoonriverRuntimeRuntimeParamsDynamicParamsRuntimeConfigParametersKey", - PalletRandomness: "MoonriverRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersKey", - }, + PalletRandomness: "MoonriverRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersKey" + } }, - /** Lookup68: moonriver_runtime::runtime_params::dynamic_params::runtime_config::ParametersKey */ + /** + * Lookup68: moonriver_runtime::runtime_params::dynamic_params::runtime_config::ParametersKey + **/ MoonriverRuntimeRuntimeParamsDynamicParamsRuntimeConfigParametersKey: { - _enum: ["FeesTreasuryProportion"], + _enum: ["FeesTreasuryProportion"] }, - /** Lookup69: moonriver_runtime::runtime_params::dynamic_params::runtime_config::FeesTreasuryProportion */ + /** + * Lookup69: moonriver_runtime::runtime_params::dynamic_params::runtime_config::FeesTreasuryProportion + **/ MoonriverRuntimeRuntimeParamsDynamicParamsRuntimeConfigFeesTreasuryProportion: "Null", - /** Lookup70: moonriver_runtime::runtime_params::dynamic_params::pallet_randomness::ParametersKey */ + /** + * Lookup70: moonriver_runtime::runtime_params::dynamic_params::pallet_randomness::ParametersKey + **/ MoonriverRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersKey: { - _enum: ["Deposit"], + _enum: ["Deposit"] }, - /** Lookup71: moonriver_runtime::runtime_params::dynamic_params::pallet_randomness::Deposit */ + /** + * Lookup71: moonriver_runtime::runtime_params::dynamic_params::pallet_randomness::Deposit + **/ MoonriverRuntimeRuntimeParamsDynamicParamsPalletRandomnessDeposit: "Null", - /** Lookup73: moonriver_runtime::runtime_params::RuntimeParametersValue */ + /** + * Lookup73: moonriver_runtime::runtime_params::RuntimeParametersValue + **/ MoonriverRuntimeRuntimeParamsRuntimeParametersValue: { _enum: { RuntimeConfig: "MoonriverRuntimeRuntimeParamsDynamicParamsRuntimeConfigParametersValue", - PalletRandomness: "MoonriverRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersValue", - }, + PalletRandomness: "MoonriverRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersValue" + } }, - /** Lookup74: moonriver_runtime::runtime_params::dynamic_params::runtime_config::ParametersValue */ + /** + * Lookup74: moonriver_runtime::runtime_params::dynamic_params::runtime_config::ParametersValue + **/ MoonriverRuntimeRuntimeParamsDynamicParamsRuntimeConfigParametersValue: { _enum: { - FeesTreasuryProportion: "Perbill", - }, + FeesTreasuryProportion: "Perbill" + } }, - /** Lookup75: moonriver_runtime::runtime_params::dynamic_params::pallet_randomness::ParametersValue */ + /** + * Lookup75: moonriver_runtime::runtime_params::dynamic_params::pallet_randomness::ParametersValue + **/ MoonriverRuntimeRuntimeParamsDynamicParamsPalletRandomnessParametersValue: { _enum: { - Deposit: "u128", - }, + Deposit: "u128" + } }, - /** Lookup77: pallet_evm::pallet::Event */ + /** + * Lookup77: pallet_evm::pallet::Event + **/ PalletEvmEvent: { _enum: { Log: { - log: "EthereumLog", + log: "EthereumLog" }, Created: { - address: "H160", + address: "H160" }, CreatedFailed: { - address: "H160", + address: "H160" }, Executed: { - address: "H160", + address: "H160" }, ExecutedFailed: { - address: "H160", - }, - }, + address: "H160" + } + } }, - /** Lookup78: ethereum::log::Log */ + /** + * Lookup78: ethereum::log::Log + **/ EthereumLog: { address: "H160", topics: "Vec", - data: "Bytes", + data: "Bytes" }, - /** Lookup81: pallet_ethereum::pallet::Event */ + /** + * Lookup81: pallet_ethereum::pallet::Event + **/ PalletEthereumEvent: { _enum: { Executed: { @@ -852,24 +950,30 @@ export default { to: "H160", transactionHash: "H256", exitReason: "EvmCoreErrorExitReason", - extraData: "Bytes", - }, - }, + extraData: "Bytes" + } + } }, - /** Lookup82: evm_core::error::ExitReason */ + /** + * Lookup82: evm_core::error::ExitReason + **/ EvmCoreErrorExitReason: { _enum: { Succeed: "EvmCoreErrorExitSucceed", Error: "EvmCoreErrorExitError", Revert: "EvmCoreErrorExitRevert", - Fatal: "EvmCoreErrorExitFatal", - }, + Fatal: "EvmCoreErrorExitFatal" + } }, - /** Lookup83: evm_core::error::ExitSucceed */ + /** + * Lookup83: evm_core::error::ExitSucceed + **/ EvmCoreErrorExitSucceed: { - _enum: ["Stopped", "Returned", "Suicided"], + _enum: ["Stopped", "Returned", "Suicided"] }, - /** Lookup84: evm_core::error::ExitError */ + /** + * Lookup84: evm_core::error::ExitError + **/ EvmCoreErrorExitError: { _enum: { StackUnderflow: "Null", @@ -887,427 +991,462 @@ export default { CreateEmpty: "Null", Other: "Text", MaxNonce: "Null", - InvalidCode: "u8", - }, + InvalidCode: "u8" + } }, - /** Lookup88: evm_core::error::ExitRevert */ + /** + * Lookup88: evm_core::error::ExitRevert + **/ EvmCoreErrorExitRevert: { - _enum: ["Reverted"], + _enum: ["Reverted"] }, - /** Lookup89: evm_core::error::ExitFatal */ + /** + * Lookup89: evm_core::error::ExitFatal + **/ EvmCoreErrorExitFatal: { _enum: { NotSupported: "Null", UnhandledInterrupt: "Null", CallErrorAsFatal: "EvmCoreErrorExitError", - Other: "Text", - }, + Other: "Text" + } }, - /** Lookup90: pallet_scheduler::pallet::Event */ + /** + * Lookup90: pallet_scheduler::pallet::Event + **/ PalletSchedulerEvent: { _enum: { Scheduled: { when: "u32", - index: "u32", + index: "u32" }, Canceled: { when: "u32", - index: "u32", + index: "u32" }, Dispatched: { task: "(u32,u32)", id: "Option<[u8;32]>", - result: "Result", + result: "Result" }, RetrySet: { task: "(u32,u32)", id: "Option<[u8;32]>", period: "u32", - retries: "u8", + retries: "u8" }, RetryCancelled: { task: "(u32,u32)", - id: "Option<[u8;32]>", + id: "Option<[u8;32]>" }, CallUnavailable: { task: "(u32,u32)", - id: "Option<[u8;32]>", + id: "Option<[u8;32]>" }, PeriodicFailed: { task: "(u32,u32)", - id: "Option<[u8;32]>", + id: "Option<[u8;32]>" }, RetryFailed: { task: "(u32,u32)", - id: "Option<[u8;32]>", + id: "Option<[u8;32]>" }, PermanentlyOverweight: { task: "(u32,u32)", - id: "Option<[u8;32]>", - }, - }, + id: "Option<[u8;32]>" + } + } }, - /** Lookup92: pallet_preimage::pallet::Event */ + /** + * Lookup92: pallet_preimage::pallet::Event + **/ PalletPreimageEvent: { _enum: { Noted: { _alias: { - hash_: "hash", + hash_: "hash" }, - hash_: "H256", + hash_: "H256" }, Requested: { _alias: { - hash_: "hash", + hash_: "hash" }, - hash_: "H256", + hash_: "H256" }, Cleared: { _alias: { - hash_: "hash", + hash_: "hash" }, - hash_: "H256", - }, - }, + hash_: "H256" + } + } }, - /** Lookup93: pallet_conviction_voting::pallet::Event */ + /** + * Lookup93: pallet_conviction_voting::pallet::Event + **/ PalletConvictionVotingEvent: { _enum: { Delegated: "(AccountId20,AccountId20)", - Undelegated: "AccountId20", - }, + Undelegated: "AccountId20" + } }, - /** Lookup94: pallet_referenda::pallet::Event */ + /** + * Lookup94: pallet_referenda::pallet::Event + **/ PalletReferendaEvent: { _enum: { Submitted: { index: "u32", track: "u16", - proposal: "FrameSupportPreimagesBounded", + proposal: "FrameSupportPreimagesBounded" }, DecisionDepositPlaced: { index: "u32", who: "AccountId20", - amount: "u128", + amount: "u128" }, DecisionDepositRefunded: { index: "u32", who: "AccountId20", - amount: "u128", + amount: "u128" }, DepositSlashed: { who: "AccountId20", - amount: "u128", + amount: "u128" }, DecisionStarted: { index: "u32", track: "u16", proposal: "FrameSupportPreimagesBounded", - tally: "PalletConvictionVotingTally", + tally: "PalletConvictionVotingTally" }, ConfirmStarted: { - index: "u32", + index: "u32" }, ConfirmAborted: { - index: "u32", + index: "u32" }, Confirmed: { index: "u32", - tally: "PalletConvictionVotingTally", + tally: "PalletConvictionVotingTally" }, Approved: { - index: "u32", + index: "u32" }, Rejected: { index: "u32", - tally: "PalletConvictionVotingTally", + tally: "PalletConvictionVotingTally" }, TimedOut: { index: "u32", - tally: "PalletConvictionVotingTally", + tally: "PalletConvictionVotingTally" }, Cancelled: { index: "u32", - tally: "PalletConvictionVotingTally", + tally: "PalletConvictionVotingTally" }, Killed: { index: "u32", - tally: "PalletConvictionVotingTally", + tally: "PalletConvictionVotingTally" }, SubmissionDepositRefunded: { index: "u32", who: "AccountId20", - amount: "u128", + amount: "u128" }, MetadataSet: { _alias: { - hash_: "hash", + hash_: "hash" }, index: "u32", - hash_: "H256", + hash_: "H256" }, MetadataCleared: { _alias: { - hash_: "hash", + hash_: "hash" }, index: "u32", - hash_: "H256", - }, - }, + hash_: "H256" + } + } }, /** - * Lookup95: frame_support::traits::preimages::Bounded - */ + * Lookup95: frame_support::traits::preimages::Bounded + **/ FrameSupportPreimagesBounded: { _enum: { Legacy: { _alias: { - hash_: "hash", + hash_: "hash" }, - hash_: "H256", + hash_: "H256" }, Inline: "Bytes", Lookup: { _alias: { - hash_: "hash", + hash_: "hash" }, hash_: "H256", - len: "u32", - }, - }, + len: "u32" + } + } }, - /** Lookup97: frame_system::pallet::Call */ + /** + * Lookup97: frame_system::pallet::Call + **/ FrameSystemCall: { _enum: { remark: { - remark: "Bytes", + remark: "Bytes" }, set_heap_pages: { - pages: "u64", + pages: "u64" }, set_code: { - code: "Bytes", + code: "Bytes" }, set_code_without_checks: { - code: "Bytes", + code: "Bytes" }, set_storage: { - items: "Vec<(Bytes,Bytes)>", + items: "Vec<(Bytes,Bytes)>" }, kill_storage: { _alias: { - keys_: "keys", + keys_: "keys" }, - keys_: "Vec", + keys_: "Vec" }, kill_prefix: { prefix: "Bytes", - subkeys: "u32", + subkeys: "u32" }, remark_with_event: { - remark: "Bytes", + remark: "Bytes" }, __Unused8: "Null", authorize_upgrade: { - codeHash: "H256", + codeHash: "H256" }, authorize_upgrade_without_checks: { - codeHash: "H256", + codeHash: "H256" }, apply_authorized_upgrade: { - code: "Bytes", - }, - }, + code: "Bytes" + } + } }, - /** Lookup101: cumulus_pallet_parachain_system::pallet::Call */ + /** + * Lookup101: cumulus_pallet_parachain_system::pallet::Call + **/ CumulusPalletParachainSystemCall: { _enum: { set_validation_data: { - data: "CumulusPrimitivesParachainInherentParachainInherentData", + data: "CumulusPrimitivesParachainInherentParachainInherentData" }, sudo_send_upward_message: { - message: "Bytes", + message: "Bytes" }, authorize_upgrade: { codeHash: "H256", - checkVersion: "bool", + checkVersion: "bool" }, enact_authorized_upgrade: { - code: "Bytes", - }, - }, + code: "Bytes" + } + } }, - /** Lookup102: cumulus_primitives_parachain_inherent::ParachainInherentData */ + /** + * Lookup102: cumulus_primitives_parachain_inherent::ParachainInherentData + **/ CumulusPrimitivesParachainInherentParachainInherentData: { validationData: "PolkadotPrimitivesV7PersistedValidationData", relayChainState: "SpTrieStorageProof", downwardMessages: "Vec", - horizontalMessages: "BTreeMap>", + horizontalMessages: "BTreeMap>" }, - /** Lookup103: polkadot_primitives::v7::PersistedValidationData */ + /** + * Lookup103: polkadot_primitives::v7::PersistedValidationData + **/ PolkadotPrimitivesV7PersistedValidationData: { parentHead: "Bytes", relayParentNumber: "u32", relayParentStorageRoot: "H256", - maxPovSize: "u32", + maxPovSize: "u32" }, - /** Lookup105: sp_trie::storage_proof::StorageProof */ + /** + * Lookup105: sp_trie::storage_proof::StorageProof + **/ SpTrieStorageProof: { - trieNodes: "BTreeSet", + trieNodes: "BTreeSet" }, - /** Lookup108: polkadot_core_primitives::InboundDownwardMessage */ + /** + * Lookup108: polkadot_core_primitives::InboundDownwardMessage + **/ PolkadotCorePrimitivesInboundDownwardMessage: { sentAt: "u32", - msg: "Bytes", + msg: "Bytes" }, - /** Lookup112: polkadot_core_primitives::InboundHrmpMessage */ + /** + * Lookup112: polkadot_core_primitives::InboundHrmpMessage + **/ PolkadotCorePrimitivesInboundHrmpMessage: { sentAt: "u32", - data: "Bytes", + data: "Bytes" }, - /** Lookup115: pallet_timestamp::pallet::Call */ + /** + * Lookup115: pallet_timestamp::pallet::Call + **/ PalletTimestampCall: { _enum: { set: { - now: "Compact", - }, - }, + now: "Compact" + } + } }, - /** Lookup116: pallet_root_testing::pallet::Call */ + /** + * Lookup116: pallet_root_testing::pallet::Call + **/ PalletRootTestingCall: { _enum: { fill_block: { - ratio: "Perbill", + ratio: "Perbill" }, - trigger_defensive: "Null", - }, + trigger_defensive: "Null" + } }, - /** Lookup117: pallet_balances::pallet::Call */ + /** + * Lookup117: pallet_balances::pallet::Call + **/ PalletBalancesCall: { _enum: { transfer_allow_death: { dest: "AccountId20", - value: "Compact", + value: "Compact" }, __Unused1: "Null", force_transfer: { source: "AccountId20", dest: "AccountId20", - value: "Compact", + value: "Compact" }, transfer_keep_alive: { dest: "AccountId20", - value: "Compact", + value: "Compact" }, transfer_all: { dest: "AccountId20", - keepAlive: "bool", + keepAlive: "bool" }, force_unreserve: { who: "AccountId20", - amount: "u128", + amount: "u128" }, upgrade_accounts: { - who: "Vec", + who: "Vec" }, __Unused7: "Null", force_set_balance: { who: "AccountId20", - newFree: "Compact", + newFree: "Compact" }, force_adjust_total_issuance: { direction: "PalletBalancesAdjustmentDirection", - delta: "Compact", + delta: "Compact" }, burn: { value: "Compact", - keepAlive: "bool", - }, - }, + keepAlive: "bool" + } + } }, - /** Lookup120: pallet_balances::types::AdjustmentDirection */ + /** + * Lookup120: pallet_balances::types::AdjustmentDirection + **/ PalletBalancesAdjustmentDirection: { - _enum: ["Increase", "Decrease"], + _enum: ["Increase", "Decrease"] }, - /** Lookup121: pallet_parachain_staking::pallet::Call */ + /** + * Lookup121: pallet_parachain_staking::pallet::Call + **/ PalletParachainStakingCall: { _enum: { set_staking_expectations: { expectations: { min: "u128", ideal: "u128", - max: "u128", - }, + max: "u128" + } }, set_inflation: { schedule: { min: "Perbill", ideal: "Perbill", - max: "Perbill", - }, + max: "Perbill" + } }, set_parachain_bond_account: { _alias: { - new_: "new", + new_: "new" }, - new_: "AccountId20", + new_: "AccountId20" }, set_parachain_bond_reserve_percent: { _alias: { - new_: "new", + new_: "new" }, - new_: "Percent", + new_: "Percent" }, set_total_selected: { _alias: { - new_: "new", + new_: "new" }, - new_: "u32", + new_: "u32" }, set_collator_commission: { _alias: { - new_: "new", + new_: "new" }, - new_: "Perbill", + new_: "Perbill" }, set_blocks_per_round: { _alias: { - new_: "new", + new_: "new" }, - new_: "u32", + new_: "u32" }, join_candidates: { bond: "u128", - candidateCount: "u32", + candidateCount: "u32" }, schedule_leave_candidates: { - candidateCount: "u32", + candidateCount: "u32" }, execute_leave_candidates: { candidate: "AccountId20", - candidateDelegationCount: "u32", + candidateDelegationCount: "u32" }, cancel_leave_candidates: { - candidateCount: "u32", + candidateCount: "u32" }, go_offline: "Null", go_online: "Null", candidate_bond_more: { - more: "u128", + more: "u128" }, schedule_candidate_bond_less: { - less: "u128", + less: "u128" }, execute_candidate_bond_less: { - candidate: "AccountId20", + candidate: "AccountId20" }, cancel_candidate_bond_less: "Null", delegate: { candidate: "AccountId20", amount: "u128", candidateDelegationCount: "u32", - delegationCount: "u32", + delegationCount: "u32" }, delegate_with_auto_compound: { candidate: "AccountId20", @@ -1315,145 +1454,157 @@ export default { autoCompound: "Percent", candidateDelegationCount: "u32", candidateAutoCompoundingDelegationCount: "u32", - delegationCount: "u32", + delegationCount: "u32" }, removed_call_19: "Null", removed_call_20: "Null", removed_call_21: "Null", schedule_revoke_delegation: { - collator: "AccountId20", + collator: "AccountId20" }, delegator_bond_more: { candidate: "AccountId20", - more: "u128", + more: "u128" }, schedule_delegator_bond_less: { candidate: "AccountId20", - less: "u128", + less: "u128" }, execute_delegation_request: { delegator: "AccountId20", - candidate: "AccountId20", + candidate: "AccountId20" }, cancel_delegation_request: { - candidate: "AccountId20", + candidate: "AccountId20" }, set_auto_compound: { candidate: "AccountId20", value: "Percent", candidateAutoCompoundingDelegationCountHint: "u32", - delegationCountHint: "u32", + delegationCountHint: "u32" }, hotfix_remove_delegation_requests_exited_candidates: { - candidates: "Vec", + candidates: "Vec" }, notify_inactive_collator: { - collator: "AccountId20", + collator: "AccountId20" }, enable_marking_offline: { - value: "bool", + value: "bool" }, force_join_candidates: { account: "AccountId20", bond: "u128", - candidateCount: "u32", + candidateCount: "u32" }, set_inflation_distribution_config: { _alias: { - new_: "new", + new_: "new" }, - new_: "PalletParachainStakingInflationDistributionConfig", - }, - }, + new_: "PalletParachainStakingInflationDistributionConfig" + } + } }, - /** Lookup124: pallet_author_inherent::pallet::Call */ + /** + * Lookup124: pallet_author_inherent::pallet::Call + **/ PalletAuthorInherentCall: { - _enum: ["kick_off_authorship_validation"], + _enum: ["kick_off_authorship_validation"] }, - /** Lookup125: pallet_author_slot_filter::pallet::Call */ + /** + * Lookup125: pallet_author_slot_filter::pallet::Call + **/ PalletAuthorSlotFilterCall: { _enum: { set_eligible: { _alias: { - new_: "new", + new_: "new" }, - new_: "u32", - }, - }, + new_: "u32" + } + } }, - /** Lookup126: pallet_author_mapping::pallet::Call */ + /** + * Lookup126: pallet_author_mapping::pallet::Call + **/ PalletAuthorMappingCall: { _enum: { add_association: { - nimbusId: "NimbusPrimitivesNimbusCryptoPublic", + nimbusId: "NimbusPrimitivesNimbusCryptoPublic" }, update_association: { oldNimbusId: "NimbusPrimitivesNimbusCryptoPublic", - newNimbusId: "NimbusPrimitivesNimbusCryptoPublic", + newNimbusId: "NimbusPrimitivesNimbusCryptoPublic" }, clear_association: { - nimbusId: "NimbusPrimitivesNimbusCryptoPublic", + nimbusId: "NimbusPrimitivesNimbusCryptoPublic" }, remove_keys: "Null", set_keys: { _alias: { - keys_: "keys", + keys_: "keys" }, - keys_: "Bytes", - }, - }, + keys_: "Bytes" + } + } }, - /** Lookup127: pallet_moonbeam_orbiters::pallet::Call */ + /** + * Lookup127: pallet_moonbeam_orbiters::pallet::Call + **/ PalletMoonbeamOrbitersCall: { _enum: { collator_add_orbiter: { - orbiter: "AccountId20", + orbiter: "AccountId20" }, collator_remove_orbiter: { - orbiter: "AccountId20", + orbiter: "AccountId20" }, orbiter_leave_collator_pool: { - collator: "AccountId20", + collator: "AccountId20" }, orbiter_register: "Null", orbiter_unregister: { - collatorsPoolCount: "u32", + collatorsPoolCount: "u32" }, add_collator: { - collator: "AccountId20", + collator: "AccountId20" }, remove_collator: { - collator: "AccountId20", - }, - }, + collator: "AccountId20" + } + } }, - /** Lookup128: pallet_utility::pallet::Call */ + /** + * Lookup128: pallet_utility::pallet::Call + **/ PalletUtilityCall: { _enum: { batch: { - calls: "Vec", + calls: "Vec" }, as_derivative: { index: "u16", - call: "Call", + call: "Call" }, batch_all: { - calls: "Vec", + calls: "Vec" }, dispatch_as: { asOrigin: "MoonriverRuntimeOriginCaller", - call: "Call", + call: "Call" }, force_batch: { - calls: "Vec", + calls: "Vec" }, with_weight: { call: "Call", - weight: "SpWeightsWeightV2Weight", - }, - }, + weight: "SpWeightsWeightV2Weight" + } + } }, - /** Lookup130: moonriver_runtime::OriginCaller */ + /** + * Lookup130: moonriver_runtime::OriginCaller + **/ MoonriverRuntimeOriginCaller: { _enum: { system: "FrameSupportDispatchRawOrigin", @@ -1565,61 +1716,77 @@ export default { __Unused106: "Null", __Unused107: "Null", __Unused108: "Null", - EthereumXcm: "PalletEthereumXcmRawOrigin", - }, + EthereumXcm: "PalletEthereumXcmRawOrigin" + } }, - /** Lookup131: frame_support::dispatch::RawOrigin[account::AccountId20](account::AccountId20) */ + /** + * Lookup131: frame_support::dispatch::RawOrigin + **/ FrameSupportDispatchRawOrigin: { _enum: { Root: "Null", Signed: "AccountId20", - None: "Null", - }, + None: "Null" + } }, - /** Lookup132: pallet_ethereum::RawOrigin */ + /** + * Lookup132: pallet_ethereum::RawOrigin + **/ PalletEthereumRawOrigin: { _enum: { - EthereumTransaction: "H160", - }, + EthereumTransaction: "H160" + } }, - /** Lookup133: moonriver_runtime::governance::origins::custom_origins::Origin */ + /** + * Lookup133: moonriver_runtime::governance::origins::custom_origins::Origin + **/ MoonriverRuntimeGovernanceOriginsCustomOriginsOrigin: { _enum: [ "WhitelistedCaller", "GeneralAdmin", "ReferendumCanceller", "ReferendumKiller", - "FastGeneralAdmin", - ], + "FastGeneralAdmin" + ] }, - /** Lookup134: pallet_collective::RawOrigin */ + /** + * Lookup134: pallet_collective::RawOrigin + **/ PalletCollectiveRawOrigin: { _enum: { Members: "(u32,u32)", Member: "AccountId20", - _Phantom: "Null", - }, + _Phantom: "Null" + } }, - /** Lookup136: cumulus_pallet_xcm::pallet::Origin */ + /** + * Lookup136: cumulus_pallet_xcm::pallet::Origin + **/ CumulusPalletXcmOrigin: { _enum: { Relay: "Null", - SiblingParachain: "u32", - }, + SiblingParachain: "u32" + } }, - /** Lookup137: pallet_xcm::pallet::Origin */ + /** + * Lookup137: pallet_xcm::pallet::Origin + **/ PalletXcmOrigin: { _enum: { Xcm: "StagingXcmV4Location", - Response: "StagingXcmV4Location", - }, + Response: "StagingXcmV4Location" + } }, - /** Lookup138: staging_xcm::v4::location::Location */ + /** + * Lookup138: staging_xcm::v4::location::Location + **/ StagingXcmV4Location: { parents: "u8", - interior: "StagingXcmV4Junctions", + interior: "StagingXcmV4Junctions" }, - /** Lookup139: staging_xcm::v4::junctions::Junctions */ + /** + * Lookup139: staging_xcm::v4::junctions::Junctions + **/ StagingXcmV4Junctions: { _enum: { Here: "Null", @@ -1630,46 +1797,50 @@ export default { X5: "[Lookup141;5]", X6: "[Lookup141;6]", X7: "[Lookup141;7]", - X8: "[Lookup141;8]", - }, + X8: "[Lookup141;8]" + } }, - /** Lookup141: staging_xcm::v4::junction::Junction */ + /** + * Lookup141: staging_xcm::v4::junction::Junction + **/ StagingXcmV4Junction: { _enum: { Parachain: "Compact", AccountId32: { network: "Option", - id: "[u8;32]", + id: "[u8;32]" }, AccountIndex64: { network: "Option", - index: "Compact", + index: "Compact" }, AccountKey20: { network: "Option", - key: "[u8;20]", + key: "[u8;20]" }, PalletInstance: "u8", GeneralIndex: "Compact", GeneralKey: { length: "u8", - data: "[u8;32]", + data: "[u8;32]" }, OnlyChild: "Null", Plurality: { id: "XcmV3JunctionBodyId", - part: "XcmV3JunctionBodyPart", + part: "XcmV3JunctionBodyPart" }, - GlobalConsensus: "StagingXcmV4JunctionNetworkId", - }, + GlobalConsensus: "StagingXcmV4JunctionNetworkId" + } }, - /** Lookup144: staging_xcm::v4::junction::NetworkId */ + /** + * Lookup144: staging_xcm::v4::junction::NetworkId + **/ StagingXcmV4JunctionNetworkId: { _enum: { ByGenesis: "[u8;32]", ByFork: { blockNumber: "u64", - blockHash: "[u8;32]", + blockHash: "[u8;32]" }, Polkadot: "Null", Kusama: "Null", @@ -1677,14 +1848,16 @@ export default { Rococo: "Null", Wococo: "Null", Ethereum: { - chainId: "Compact", + chainId: "Compact" }, BitcoinCore: "Null", BitcoinCash: "Null", - PolkadotBulletin: "Null", - }, + PolkadotBulletin: "Null" + } }, - /** Lookup145: xcm::v3::junction::BodyId */ + /** + * Lookup145: xcm::v3::junction::BodyId + **/ XcmV3JunctionBodyId: { _enum: { Unit: "Null", @@ -1696,177 +1869,191 @@ export default { Judicial: "Null", Defense: "Null", Administration: "Null", - Treasury: "Null", - }, + Treasury: "Null" + } }, - /** Lookup146: xcm::v3::junction::BodyPart */ + /** + * Lookup146: xcm::v3::junction::BodyPart + **/ XcmV3JunctionBodyPart: { _enum: { Voice: "Null", Members: { - count: "Compact", + count: "Compact" }, Fraction: { nom: "Compact", - denom: "Compact", + denom: "Compact" }, AtLeastProportion: { nom: "Compact", - denom: "Compact", + denom: "Compact" }, MoreThanProportion: { nom: "Compact", - denom: "Compact", - }, - }, + denom: "Compact" + } + } }, - /** Lookup154: pallet_ethereum_xcm::RawOrigin */ + /** + * Lookup154: pallet_ethereum_xcm::RawOrigin + **/ PalletEthereumXcmRawOrigin: { _enum: { - XcmEthereumTransaction: "H160", - }, + XcmEthereumTransaction: "H160" + } }, - /** Lookup155: sp_core::Void */ + /** + * Lookup155: sp_core::Void + **/ SpCoreVoid: "Null", - /** Lookup156: pallet_proxy::pallet::Call */ + /** + * Lookup156: pallet_proxy::pallet::Call + **/ PalletProxyCall: { _enum: { proxy: { real: "AccountId20", forceProxyType: "Option", - call: "Call", + call: "Call" }, add_proxy: { delegate: "AccountId20", proxyType: "MoonriverRuntimeProxyType", - delay: "u32", + delay: "u32" }, remove_proxy: { delegate: "AccountId20", proxyType: "MoonriverRuntimeProxyType", - delay: "u32", + delay: "u32" }, remove_proxies: "Null", create_pure: { proxyType: "MoonriverRuntimeProxyType", delay: "u32", - index: "u16", + index: "u16" }, kill_pure: { spawner: "AccountId20", proxyType: "MoonriverRuntimeProxyType", index: "u16", height: "Compact", - extIndex: "Compact", + extIndex: "Compact" }, announce: { real: "AccountId20", - callHash: "H256", + callHash: "H256" }, remove_announcement: { real: "AccountId20", - callHash: "H256", + callHash: "H256" }, reject_announcement: { delegate: "AccountId20", - callHash: "H256", + callHash: "H256" }, proxy_announced: { delegate: "AccountId20", real: "AccountId20", forceProxyType: "Option", - call: "Call", - }, - }, + call: "Call" + } + } }, - /** Lookup158: pallet_maintenance_mode::pallet::Call */ + /** + * Lookup158: pallet_maintenance_mode::pallet::Call + **/ PalletMaintenanceModeCall: { - _enum: ["enter_maintenance_mode", "resume_normal_operation"], + _enum: ["enter_maintenance_mode", "resume_normal_operation"] }, - /** Lookup159: pallet_identity::pallet::Call */ + /** + * Lookup159: pallet_identity::pallet::Call + **/ PalletIdentityCall: { _enum: { add_registrar: { - account: "AccountId20", + account: "AccountId20" }, set_identity: { - info: "PalletIdentityLegacyIdentityInfo", + info: "PalletIdentityLegacyIdentityInfo" }, set_subs: { - subs: "Vec<(AccountId20,Data)>", + subs: "Vec<(AccountId20,Data)>" }, clear_identity: "Null", request_judgement: { regIndex: "Compact", - maxFee: "Compact", + maxFee: "Compact" }, cancel_request: { - regIndex: "u32", + regIndex: "u32" }, set_fee: { index: "Compact", - fee: "Compact", + fee: "Compact" }, set_account_id: { _alias: { - new_: "new", + new_: "new" }, index: "Compact", - new_: "AccountId20", + new_: "AccountId20" }, set_fields: { index: "Compact", - fields: "u64", + fields: "u64" }, provide_judgement: { regIndex: "Compact", target: "AccountId20", judgement: "PalletIdentityJudgement", - identity: "H256", + identity: "H256" }, kill_identity: { - target: "AccountId20", + target: "AccountId20" }, add_sub: { sub: "AccountId20", - data: "Data", + data: "Data" }, rename_sub: { sub: "AccountId20", - data: "Data", + data: "Data" }, remove_sub: { - sub: "AccountId20", + sub: "AccountId20" }, quit_sub: "Null", add_username_authority: { authority: "AccountId20", suffix: "Bytes", - allocation: "u32", + allocation: "u32" }, remove_username_authority: { - authority: "AccountId20", + authority: "AccountId20" }, set_username_for: { who: "AccountId20", username: "Bytes", - signature: "Option", + signature: "Option" }, accept_username: { - username: "Bytes", + username: "Bytes" }, remove_expired_approval: { - username: "Bytes", + username: "Bytes" }, set_primary_username: { - username: "Bytes", + username: "Bytes" }, remove_dangling_username: { - username: "Bytes", - }, - }, + username: "Bytes" + } + } }, - /** Lookup160: pallet_identity::legacy::IdentityInfo */ + /** + * Lookup160: pallet_identity::legacy::IdentityInfo + **/ PalletIdentityLegacyIdentityInfo: { additional: "Vec<(Data,Data)>", display: "Data", @@ -1876,9 +2063,11 @@ export default { email: "Data", pgpFingerprint: "Option<[u8;20]>", image: "Data", - twitter: "Data", + twitter: "Data" }, - /** Lookup198: pallet_identity::types::Judgement */ + /** + * Lookup198: pallet_identity::types::Judgement + **/ PalletIdentityJudgement: { _enum: { Unknown: "Null", @@ -1887,97 +2076,113 @@ export default { KnownGood: "Null", OutOfDate: "Null", LowQuality: "Null", - Erroneous: "Null", - }, + Erroneous: "Null" + } }, - /** Lookup200: account::EthereumSignature */ + /** + * Lookup200: account::EthereumSignature + **/ AccountEthereumSignature: "[u8;65]", - /** Lookup202: pallet_multisig::pallet::Call */ + /** + * Lookup202: pallet_multisig::pallet::Call + **/ PalletMultisigCall: { _enum: { as_multi_threshold_1: { otherSignatories: "Vec", - call: "Call", + call: "Call" }, as_multi: { threshold: "u16", otherSignatories: "Vec", maybeTimepoint: "Option", call: "Call", - maxWeight: "SpWeightsWeightV2Weight", + maxWeight: "SpWeightsWeightV2Weight" }, approve_as_multi: { threshold: "u16", otherSignatories: "Vec", maybeTimepoint: "Option", callHash: "[u8;32]", - maxWeight: "SpWeightsWeightV2Weight", + maxWeight: "SpWeightsWeightV2Weight" }, cancel_as_multi: { threshold: "u16", otherSignatories: "Vec", timepoint: "PalletMultisigTimepoint", - callHash: "[u8;32]", - }, - }, + callHash: "[u8;32]" + } + } }, - /** Lookup204: pallet_moonbeam_lazy_migrations::pallet::Call */ + /** + * Lookup204: pallet_moonbeam_lazy_migrations::pallet::Call + **/ PalletMoonbeamLazyMigrationsCall: { _enum: { __Unused0: "Null", __Unused1: "Null", create_contract_metadata: { - address: "H160", + address: "H160" }, approve_assets_to_migrate: { - assets: "Vec", + assets: "Vec" }, start_foreign_assets_migration: { - assetId: "u128", + assetId: "u128" }, migrate_foreign_asset_balances: { - limit: "u32", + limit: "u32" }, migrate_foreign_asset_approvals: { - limit: "u32", + limit: "u32" }, - finish_foreign_assets_migration: "Null", - }, + finish_foreign_assets_migration: "Null" + } }, - /** Lookup207: pallet_parameters::pallet::Call */ + /** + * Lookup207: pallet_parameters::pallet::Call + **/ PalletParametersCall: { _enum: { set_parameter: { - keyValue: "MoonriverRuntimeRuntimeParamsRuntimeParameters", - }, - }, + keyValue: "MoonriverRuntimeRuntimeParamsRuntimeParameters" + } + } }, - /** Lookup208: moonriver_runtime::runtime_params::RuntimeParameters */ + /** + * Lookup208: moonriver_runtime::runtime_params::RuntimeParameters + **/ MoonriverRuntimeRuntimeParamsRuntimeParameters: { _enum: { RuntimeConfig: "MoonriverRuntimeRuntimeParamsDynamicParamsRuntimeConfigParameters", - PalletRandomness: "MoonriverRuntimeRuntimeParamsDynamicParamsPalletRandomnessParameters", - }, + PalletRandomness: "MoonriverRuntimeRuntimeParamsDynamicParamsPalletRandomnessParameters" + } }, - /** Lookup209: moonriver_runtime::runtime_params::dynamic_params::runtime_config::Parameters */ + /** + * Lookup209: moonriver_runtime::runtime_params::dynamic_params::runtime_config::Parameters + **/ MoonriverRuntimeRuntimeParamsDynamicParamsRuntimeConfigParameters: { _enum: { FeesTreasuryProportion: - "(MoonriverRuntimeRuntimeParamsDynamicParamsRuntimeConfigFeesTreasuryProportion,Option)", - }, + "(MoonriverRuntimeRuntimeParamsDynamicParamsRuntimeConfigFeesTreasuryProportion,Option)" + } }, - /** Lookup211: moonriver_runtime::runtime_params::dynamic_params::pallet_randomness::Parameters */ + /** + * Lookup211: moonriver_runtime::runtime_params::dynamic_params::pallet_randomness::Parameters + **/ MoonriverRuntimeRuntimeParamsDynamicParamsPalletRandomnessParameters: { _enum: { - Deposit: "(MoonriverRuntimeRuntimeParamsDynamicParamsPalletRandomnessDeposit,Option)", - }, + Deposit: "(MoonriverRuntimeRuntimeParamsDynamicParamsPalletRandomnessDeposit,Option)" + } }, - /** Lookup213: pallet_evm::pallet::Call */ + /** + * Lookup213: pallet_evm::pallet::Call + **/ PalletEvmCall: { _enum: { withdraw: { address: "H160", - value: "u128", + value: "u128" }, call: { source: "H160", @@ -1988,7 +2193,7 @@ export default { maxFeePerGas: "U256", maxPriorityFeePerGas: "Option", nonce: "Option", - accessList: "Vec<(H160,Vec)>", + accessList: "Vec<(H160,Vec)>" }, create: { source: "H160", @@ -1998,7 +2203,7 @@ export default { maxFeePerGas: "U256", maxPriorityFeePerGas: "Option", nonce: "Option", - accessList: "Vec<(H160,Vec)>", + accessList: "Vec<(H160,Vec)>" }, create2: { source: "H160", @@ -2009,27 +2214,33 @@ export default { maxFeePerGas: "U256", maxPriorityFeePerGas: "Option", nonce: "Option", - accessList: "Vec<(H160,Vec)>", - }, - }, + accessList: "Vec<(H160,Vec)>" + } + } }, - /** Lookup219: pallet_ethereum::pallet::Call */ + /** + * Lookup219: pallet_ethereum::pallet::Call + **/ PalletEthereumCall: { _enum: { transact: { - transaction: "EthereumTransactionTransactionV2", - }, - }, + transaction: "EthereumTransactionTransactionV2" + } + } }, - /** Lookup220: ethereum::transaction::TransactionV2 */ + /** + * Lookup220: ethereum::transaction::TransactionV2 + **/ EthereumTransactionTransactionV2: { _enum: { Legacy: "EthereumTransactionLegacyTransaction", EIP2930: "EthereumTransactionEip2930Transaction", - EIP1559: "EthereumTransactionEip1559Transaction", - }, + EIP1559: "EthereumTransactionEip1559Transaction" + } }, - /** Lookup221: ethereum::transaction::LegacyTransaction */ + /** + * Lookup221: ethereum::transaction::LegacyTransaction + **/ EthereumTransactionLegacyTransaction: { nonce: "U256", gasPrice: "U256", @@ -2037,22 +2248,28 @@ export default { action: "EthereumTransactionTransactionAction", value: "U256", input: "Bytes", - signature: "EthereumTransactionTransactionSignature", + signature: "EthereumTransactionTransactionSignature" }, - /** Lookup222: ethereum::transaction::TransactionAction */ + /** + * Lookup222: ethereum::transaction::TransactionAction + **/ EthereumTransactionTransactionAction: { _enum: { Call: "H160", - Create: "Null", - }, + Create: "Null" + } }, - /** Lookup223: ethereum::transaction::TransactionSignature */ + /** + * Lookup223: ethereum::transaction::TransactionSignature + **/ EthereumTransactionTransactionSignature: { v: "u64", r: "H256", - s: "H256", + s: "H256" }, - /** Lookup225: ethereum::transaction::EIP2930Transaction */ + /** + * Lookup225: ethereum::transaction::EIP2930Transaction + **/ EthereumTransactionEip2930Transaction: { chainId: "u64", nonce: "U256", @@ -2064,14 +2281,18 @@ export default { accessList: "Vec", oddYParity: "bool", r: "H256", - s: "H256", + s: "H256" }, - /** Lookup227: ethereum::transaction::AccessListItem */ + /** + * Lookup227: ethereum::transaction::AccessListItem + **/ EthereumTransactionAccessListItem: { address: "H160", - storageKeys: "Vec", + storageKeys: "Vec" }, - /** Lookup228: ethereum::transaction::EIP1559Transaction */ + /** + * Lookup228: ethereum::transaction::EIP1559Transaction + **/ EthereumTransactionEip1559Transaction: { chainId: "u64", nonce: "U256", @@ -2084,240 +2305,260 @@ export default { accessList: "Vec", oddYParity: "bool", r: "H256", - s: "H256", + s: "H256" }, - /** Lookup229: pallet_scheduler::pallet::Call */ + /** + * Lookup229: pallet_scheduler::pallet::Call + **/ PalletSchedulerCall: { _enum: { schedule: { when: "u32", maybePeriodic: "Option<(u32,u32)>", priority: "u8", - call: "Call", + call: "Call" }, cancel: { when: "u32", - index: "u32", + index: "u32" }, schedule_named: { id: "[u8;32]", when: "u32", maybePeriodic: "Option<(u32,u32)>", priority: "u8", - call: "Call", + call: "Call" }, cancel_named: { - id: "[u8;32]", + id: "[u8;32]" }, schedule_after: { after: "u32", maybePeriodic: "Option<(u32,u32)>", priority: "u8", - call: "Call", + call: "Call" }, schedule_named_after: { id: "[u8;32]", after: "u32", maybePeriodic: "Option<(u32,u32)>", priority: "u8", - call: "Call", + call: "Call" }, set_retry: { task: "(u32,u32)", retries: "u8", - period: "u32", + period: "u32" }, set_retry_named: { id: "[u8;32]", retries: "u8", - period: "u32", + period: "u32" }, cancel_retry: { - task: "(u32,u32)", + task: "(u32,u32)" }, cancel_retry_named: { - id: "[u8;32]", - }, - }, + id: "[u8;32]" + } + } }, - /** Lookup231: pallet_preimage::pallet::Call */ + /** + * Lookup231: pallet_preimage::pallet::Call + **/ PalletPreimageCall: { _enum: { note_preimage: { - bytes: "Bytes", + bytes: "Bytes" }, unnote_preimage: { _alias: { - hash_: "hash", + hash_: "hash" }, - hash_: "H256", + hash_: "H256" }, request_preimage: { _alias: { - hash_: "hash", + hash_: "hash" }, - hash_: "H256", + hash_: "H256" }, unrequest_preimage: { _alias: { - hash_: "hash", + hash_: "hash" }, - hash_: "H256", + hash_: "H256" }, ensure_updated: { - hashes: "Vec", - }, - }, + hashes: "Vec" + } + } }, - /** Lookup232: pallet_conviction_voting::pallet::Call */ + /** + * Lookup232: pallet_conviction_voting::pallet::Call + **/ PalletConvictionVotingCall: { _enum: { vote: { pollIndex: "Compact", - vote: "PalletConvictionVotingVoteAccountVote", + vote: "PalletConvictionVotingVoteAccountVote" }, delegate: { class: "u16", to: "AccountId20", conviction: "PalletConvictionVotingConviction", - balance: "u128", + balance: "u128" }, undelegate: { - class: "u16", + class: "u16" }, unlock: { class: "u16", - target: "AccountId20", + target: "AccountId20" }, remove_vote: { class: "Option", - index: "u32", + index: "u32" }, remove_other_vote: { target: "AccountId20", class: "u16", - index: "u32", - }, - }, + index: "u32" + } + } }, - /** Lookup233: pallet_conviction_voting::vote::AccountVote */ + /** + * Lookup233: pallet_conviction_voting::vote::AccountVote + **/ PalletConvictionVotingVoteAccountVote: { _enum: { Standard: { vote: "Vote", - balance: "u128", + balance: "u128" }, Split: { aye: "u128", - nay: "u128", + nay: "u128" }, SplitAbstain: { aye: "u128", nay: "u128", - abstain: "u128", - }, - }, + abstain: "u128" + } + } }, - /** Lookup235: pallet_conviction_voting::conviction::Conviction */ + /** + * Lookup235: pallet_conviction_voting::conviction::Conviction + **/ PalletConvictionVotingConviction: { - _enum: ["None", "Locked1x", "Locked2x", "Locked3x", "Locked4x", "Locked5x", "Locked6x"], + _enum: ["None", "Locked1x", "Locked2x", "Locked3x", "Locked4x", "Locked5x", "Locked6x"] }, - /** Lookup237: pallet_referenda::pallet::Call */ + /** + * Lookup237: pallet_referenda::pallet::Call + **/ PalletReferendaCall: { _enum: { submit: { proposalOrigin: "MoonriverRuntimeOriginCaller", proposal: "FrameSupportPreimagesBounded", - enactmentMoment: "FrameSupportScheduleDispatchTime", + enactmentMoment: "FrameSupportScheduleDispatchTime" }, place_decision_deposit: { - index: "u32", + index: "u32" }, refund_decision_deposit: { - index: "u32", + index: "u32" }, cancel: { - index: "u32", + index: "u32" }, kill: { - index: "u32", + index: "u32" }, nudge_referendum: { - index: "u32", + index: "u32" }, one_fewer_deciding: { - track: "u16", + track: "u16" }, refund_submission_deposit: { - index: "u32", + index: "u32" }, set_metadata: { index: "u32", - maybeHash: "Option", - }, - }, + maybeHash: "Option" + } + } }, - /** Lookup238: frame_support::traits::schedule::DispatchTime */ + /** + * Lookup238: frame_support::traits::schedule::DispatchTime + **/ FrameSupportScheduleDispatchTime: { _enum: { At: "u32", - After: "u32", - }, + After: "u32" + } }, - /** Lookup240: pallet_whitelist::pallet::Call */ + /** + * Lookup240: pallet_whitelist::pallet::Call + **/ PalletWhitelistCall: { _enum: { whitelist_call: { - callHash: "H256", + callHash: "H256" }, remove_whitelisted_call: { - callHash: "H256", + callHash: "H256" }, dispatch_whitelisted_call: { callHash: "H256", callEncodedLen: "u32", - callWeightWitness: "SpWeightsWeightV2Weight", + callWeightWitness: "SpWeightsWeightV2Weight" }, dispatch_whitelisted_call_with_preimage: { - call: "Call", - }, - }, + call: "Call" + } + } }, - /** Lookup241: pallet_collective::pallet::Call */ + /** + * Lookup241: pallet_collective::pallet::Call + **/ PalletCollectiveCall: { _enum: { set_members: { newMembers: "Vec", prime: "Option", - oldCount: "u32", + oldCount: "u32" }, execute: { proposal: "Call", - lengthBound: "Compact", + lengthBound: "Compact" }, propose: { threshold: "Compact", proposal: "Call", - lengthBound: "Compact", + lengthBound: "Compact" }, vote: { proposal: "H256", index: "Compact", - approve: "bool", + approve: "bool" }, __Unused4: "Null", disapprove_proposal: { - proposalHash: "H256", + proposalHash: "H256" }, close: { proposalHash: "H256", index: "Compact", proposalWeightBound: "SpWeightsWeightV2Weight", - lengthBound: "Compact", - }, - }, + lengthBound: "Compact" + } + } }, - /** Lookup243: pallet_treasury::pallet::Call */ + /** + * Lookup243: pallet_treasury::pallet::Call + **/ PalletTreasuryCall: { _enum: { __Unused0: "Null", @@ -2325,124 +2566,130 @@ export default { __Unused2: "Null", spend_local: { amount: "Compact", - beneficiary: "AccountId20", + beneficiary: "AccountId20" }, remove_approval: { - proposalId: "Compact", + proposalId: "Compact" }, spend: { assetKind: "Null", amount: "Compact", beneficiary: "AccountId20", - validFrom: "Option", + validFrom: "Option" }, payout: { - index: "u32", + index: "u32" }, check_status: { - index: "u32", + index: "u32" }, void_spend: { - index: "u32", - }, - }, + index: "u32" + } + } }, - /** Lookup245: pallet_crowdloan_rewards::pallet::Call */ + /** + * Lookup245: pallet_crowdloan_rewards::pallet::Call + **/ PalletCrowdloanRewardsCall: { _enum: { associate_native_identity: { rewardAccount: "AccountId20", relayAccount: "[u8;32]", - proof: "SpRuntimeMultiSignature", + proof: "SpRuntimeMultiSignature" }, change_association_with_relay_keys: { rewardAccount: "AccountId20", previousAccount: "AccountId20", - proofs: "Vec<([u8;32],SpRuntimeMultiSignature)>", + proofs: "Vec<([u8;32],SpRuntimeMultiSignature)>" }, claim: "Null", update_reward_address: { - newRewardAccount: "AccountId20", + newRewardAccount: "AccountId20" }, complete_initialization: { - leaseEndingBlock: "u32", + leaseEndingBlock: "u32" }, initialize_reward_vec: { - rewards: "Vec<([u8;32],Option,u128)>", - }, - }, + rewards: "Vec<([u8;32],Option,u128)>" + } + } }, - /** Lookup246: sp_runtime::MultiSignature */ + /** + * Lookup246: sp_runtime::MultiSignature + **/ SpRuntimeMultiSignature: { _enum: { Ed25519: "[u8;64]", Sr25519: "[u8;64]", - Ecdsa: "[u8;65]", - }, + Ecdsa: "[u8;65]" + } }, - /** Lookup252: pallet_xcm::pallet::Call */ + /** + * Lookup252: pallet_xcm::pallet::Call + **/ PalletXcmCall: { _enum: { send: { dest: "XcmVersionedLocation", - message: "XcmVersionedXcm", + message: "XcmVersionedXcm" }, teleport_assets: { dest: "XcmVersionedLocation", beneficiary: "XcmVersionedLocation", assets: "XcmVersionedAssets", - feeAssetItem: "u32", + feeAssetItem: "u32" }, reserve_transfer_assets: { dest: "XcmVersionedLocation", beneficiary: "XcmVersionedLocation", assets: "XcmVersionedAssets", - feeAssetItem: "u32", + feeAssetItem: "u32" }, execute: { message: "XcmVersionedXcm", - maxWeight: "SpWeightsWeightV2Weight", + maxWeight: "SpWeightsWeightV2Weight" }, force_xcm_version: { location: "StagingXcmV4Location", - version: "u32", + version: "u32" }, force_default_xcm_version: { - maybeXcmVersion: "Option", + maybeXcmVersion: "Option" }, force_subscribe_version_notify: { - location: "XcmVersionedLocation", + location: "XcmVersionedLocation" }, force_unsubscribe_version_notify: { - location: "XcmVersionedLocation", + location: "XcmVersionedLocation" }, limited_reserve_transfer_assets: { dest: "XcmVersionedLocation", beneficiary: "XcmVersionedLocation", assets: "XcmVersionedAssets", feeAssetItem: "u32", - weightLimit: "XcmV3WeightLimit", + weightLimit: "XcmV3WeightLimit" }, limited_teleport_assets: { dest: "XcmVersionedLocation", beneficiary: "XcmVersionedLocation", assets: "XcmVersionedAssets", feeAssetItem: "u32", - weightLimit: "XcmV3WeightLimit", + weightLimit: "XcmV3WeightLimit" }, force_suspension: { - suspended: "bool", + suspended: "bool" }, transfer_assets: { dest: "XcmVersionedLocation", beneficiary: "XcmVersionedLocation", assets: "XcmVersionedAssets", feeAssetItem: "u32", - weightLimit: "XcmV3WeightLimit", + weightLimit: "XcmV3WeightLimit" }, claim_assets: { assets: "XcmVersionedAssets", - beneficiary: "XcmVersionedLocation", + beneficiary: "XcmVersionedLocation" }, transfer_assets_using_type_and_then: { dest: "XcmVersionedLocation", @@ -2451,26 +2698,32 @@ export default { remoteFeesId: "XcmVersionedAssetId", feesTransferType: "StagingXcmExecutorAssetTransferTransferType", customXcmOnDest: "XcmVersionedXcm", - weightLimit: "XcmV3WeightLimit", - }, - }, + weightLimit: "XcmV3WeightLimit" + } + } }, - /** Lookup253: xcm::VersionedLocation */ + /** + * Lookup253: xcm::VersionedLocation + **/ XcmVersionedLocation: { _enum: { __Unused0: "Null", V2: "XcmV2MultiLocation", __Unused2: "Null", V3: "StagingXcmV3MultiLocation", - V4: "StagingXcmV4Location", - }, + V4: "StagingXcmV4Location" + } }, - /** Lookup254: xcm::v2::multilocation::MultiLocation */ + /** + * Lookup254: xcm::v2::multilocation::MultiLocation + **/ XcmV2MultiLocation: { parents: "u8", - interior: "XcmV2MultilocationJunctions", + interior: "XcmV2MultilocationJunctions" }, - /** Lookup255: xcm::v2::multilocation::Junctions */ + /** + * Lookup255: xcm::v2::multilocation::Junctions + **/ XcmV2MultilocationJunctions: { _enum: { Here: "Null", @@ -2481,24 +2734,26 @@ export default { X5: "(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)", X6: "(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)", X7: "(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)", - X8: "(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)", - }, + X8: "(XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction,XcmV2Junction)" + } }, - /** Lookup256: xcm::v2::junction::Junction */ + /** + * Lookup256: xcm::v2::junction::Junction + **/ XcmV2Junction: { _enum: { Parachain: "Compact", AccountId32: { network: "XcmV2NetworkId", - id: "[u8;32]", + id: "[u8;32]" }, AccountIndex64: { network: "XcmV2NetworkId", - index: "Compact", + index: "Compact" }, AccountKey20: { network: "XcmV2NetworkId", - key: "[u8;20]", + key: "[u8;20]" }, PalletInstance: "u8", GeneralIndex: "Compact", @@ -2506,20 +2761,24 @@ export default { OnlyChild: "Null", Plurality: { id: "XcmV2BodyId", - part: "XcmV2BodyPart", - }, - }, + part: "XcmV2BodyPart" + } + } }, - /** Lookup257: xcm::v2::NetworkId */ + /** + * Lookup257: xcm::v2::NetworkId + **/ XcmV2NetworkId: { _enum: { Any: "Null", Named: "Bytes", Polkadot: "Null", - Kusama: "Null", - }, + Kusama: "Null" + } }, - /** Lookup259: xcm::v2::BodyId */ + /** + * Lookup259: xcm::v2::BodyId + **/ XcmV2BodyId: { _enum: { Unit: "Null", @@ -2531,36 +2790,42 @@ export default { Judicial: "Null", Defense: "Null", Administration: "Null", - Treasury: "Null", - }, + Treasury: "Null" + } }, - /** Lookup260: xcm::v2::BodyPart */ + /** + * Lookup260: xcm::v2::BodyPart + **/ XcmV2BodyPart: { _enum: { Voice: "Null", Members: { - count: "Compact", + count: "Compact" }, Fraction: { nom: "Compact", - denom: "Compact", + denom: "Compact" }, AtLeastProportion: { nom: "Compact", - denom: "Compact", + denom: "Compact" }, MoreThanProportion: { nom: "Compact", - denom: "Compact", - }, - }, + denom: "Compact" + } + } }, - /** Lookup261: staging_xcm::v3::multilocation::MultiLocation */ + /** + * Lookup261: staging_xcm::v3::multilocation::MultiLocation + **/ StagingXcmV3MultiLocation: { parents: "u8", - interior: "XcmV3Junctions", + interior: "XcmV3Junctions" }, - /** Lookup262: xcm::v3::junctions::Junctions */ + /** + * Lookup262: xcm::v3::junctions::Junctions + **/ XcmV3Junctions: { _enum: { Here: "Null", @@ -2571,46 +2836,50 @@ export default { X5: "(XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction)", X6: "(XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction)", X7: "(XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction)", - X8: "(XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction)", - }, + X8: "(XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction,XcmV3Junction)" + } }, - /** Lookup263: xcm::v3::junction::Junction */ + /** + * Lookup263: xcm::v3::junction::Junction + **/ XcmV3Junction: { _enum: { Parachain: "Compact", AccountId32: { network: "Option", - id: "[u8;32]", + id: "[u8;32]" }, AccountIndex64: { network: "Option", - index: "Compact", + index: "Compact" }, AccountKey20: { network: "Option", - key: "[u8;20]", + key: "[u8;20]" }, PalletInstance: "u8", GeneralIndex: "Compact", GeneralKey: { length: "u8", - data: "[u8;32]", + data: "[u8;32]" }, OnlyChild: "Null", Plurality: { id: "XcmV3JunctionBodyId", - part: "XcmV3JunctionBodyPart", + part: "XcmV3JunctionBodyPart" }, - GlobalConsensus: "XcmV3JunctionNetworkId", - }, + GlobalConsensus: "XcmV3JunctionNetworkId" + } }, - /** Lookup265: xcm::v3::junction::NetworkId */ + /** + * Lookup265: xcm::v3::junction::NetworkId + **/ XcmV3JunctionNetworkId: { _enum: { ByGenesis: "[u8;32]", ByFork: { blockNumber: "u64", - blockHash: "[u8;32]", + blockHash: "[u8;32]" }, Polkadot: "Null", Kusama: "Null", @@ -2618,26 +2887,32 @@ export default { Rococo: "Null", Wococo: "Null", Ethereum: { - chainId: "Compact", + chainId: "Compact" }, BitcoinCore: "Null", BitcoinCash: "Null", - PolkadotBulletin: "Null", - }, + PolkadotBulletin: "Null" + } }, - /** Lookup266: xcm::VersionedXcm */ + /** + * Lookup266: xcm::VersionedXcm + **/ XcmVersionedXcm: { _enum: { __Unused0: "Null", __Unused1: "Null", V2: "XcmV2Xcm", V3: "XcmV3Xcm", - V4: "StagingXcmV4Xcm", - }, + V4: "StagingXcmV4Xcm" + } }, - /** Lookup267: xcm::v2::Xcm */ + /** + * Lookup267: xcm::v2::Xcm + **/ XcmV2Xcm: "Vec", - /** Lookup269: xcm::v2::Instruction */ + /** + * Lookup269: xcm::v2::Instruction + **/ XcmV2Instruction: { _enum: { WithdrawAsset: "XcmV2MultiassetMultiAssets", @@ -2646,76 +2921,76 @@ export default { QueryResponse: { queryId: "Compact", response: "XcmV2Response", - maxWeight: "Compact", + maxWeight: "Compact" }, TransferAsset: { assets: "XcmV2MultiassetMultiAssets", - beneficiary: "XcmV2MultiLocation", + beneficiary: "XcmV2MultiLocation" }, TransferReserveAsset: { assets: "XcmV2MultiassetMultiAssets", dest: "XcmV2MultiLocation", - xcm: "XcmV2Xcm", + xcm: "XcmV2Xcm" }, Transact: { originType: "XcmV2OriginKind", requireWeightAtMost: "Compact", - call: "XcmDoubleEncoded", + call: "XcmDoubleEncoded" }, HrmpNewChannelOpenRequest: { sender: "Compact", maxMessageSize: "Compact", - maxCapacity: "Compact", + maxCapacity: "Compact" }, HrmpChannelAccepted: { - recipient: "Compact", + recipient: "Compact" }, HrmpChannelClosing: { initiator: "Compact", sender: "Compact", - recipient: "Compact", + recipient: "Compact" }, ClearOrigin: "Null", DescendOrigin: "XcmV2MultilocationJunctions", ReportError: { queryId: "Compact", dest: "XcmV2MultiLocation", - maxResponseWeight: "Compact", + maxResponseWeight: "Compact" }, DepositAsset: { assets: "XcmV2MultiassetMultiAssetFilter", maxAssets: "Compact", - beneficiary: "XcmV2MultiLocation", + beneficiary: "XcmV2MultiLocation" }, DepositReserveAsset: { assets: "XcmV2MultiassetMultiAssetFilter", maxAssets: "Compact", dest: "XcmV2MultiLocation", - xcm: "XcmV2Xcm", + xcm: "XcmV2Xcm" }, ExchangeAsset: { give: "XcmV2MultiassetMultiAssetFilter", - receive: "XcmV2MultiassetMultiAssets", + receive: "XcmV2MultiassetMultiAssets" }, InitiateReserveWithdraw: { assets: "XcmV2MultiassetMultiAssetFilter", reserve: "XcmV2MultiLocation", - xcm: "XcmV2Xcm", + xcm: "XcmV2Xcm" }, InitiateTeleport: { assets: "XcmV2MultiassetMultiAssetFilter", dest: "XcmV2MultiLocation", - xcm: "XcmV2Xcm", + xcm: "XcmV2Xcm" }, QueryHolding: { queryId: "Compact", dest: "XcmV2MultiLocation", assets: "XcmV2MultiassetMultiAssetFilter", - maxResponseWeight: "Compact", + maxResponseWeight: "Compact" }, BuyExecution: { fees: "XcmV2MultiAsset", - weightLimit: "XcmV2WeightLimit", + weightLimit: "XcmV2WeightLimit" }, RefundSurplus: "Null", SetErrorHandler: "XcmV2Xcm", @@ -2723,38 +2998,48 @@ export default { ClearError: "Null", ClaimAsset: { assets: "XcmV2MultiassetMultiAssets", - ticket: "XcmV2MultiLocation", + ticket: "XcmV2MultiLocation" }, Trap: "Compact", SubscribeVersion: { queryId: "Compact", - maxResponseWeight: "Compact", + maxResponseWeight: "Compact" }, - UnsubscribeVersion: "Null", - }, + UnsubscribeVersion: "Null" + } }, - /** Lookup270: xcm::v2::multiasset::MultiAssets */ + /** + * Lookup270: xcm::v2::multiasset::MultiAssets + **/ XcmV2MultiassetMultiAssets: "Vec", - /** Lookup272: xcm::v2::multiasset::MultiAsset */ + /** + * Lookup272: xcm::v2::multiasset::MultiAsset + **/ XcmV2MultiAsset: { id: "XcmV2MultiassetAssetId", - fun: "XcmV2MultiassetFungibility", + fun: "XcmV2MultiassetFungibility" }, - /** Lookup273: xcm::v2::multiasset::AssetId */ + /** + * Lookup273: xcm::v2::multiasset::AssetId + **/ XcmV2MultiassetAssetId: { _enum: { Concrete: "XcmV2MultiLocation", - Abstract: "Bytes", - }, + Abstract: "Bytes" + } }, - /** Lookup274: xcm::v2::multiasset::Fungibility */ + /** + * Lookup274: xcm::v2::multiasset::Fungibility + **/ XcmV2MultiassetFungibility: { _enum: { Fungible: "Compact", - NonFungible: "XcmV2MultiassetAssetInstance", - }, + NonFungible: "XcmV2MultiassetAssetInstance" + } }, - /** Lookup275: xcm::v2::multiasset::AssetInstance */ + /** + * Lookup275: xcm::v2::multiasset::AssetInstance + **/ XcmV2MultiassetAssetInstance: { _enum: { Undefined: "Null", @@ -2763,19 +3048,23 @@ export default { Array8: "[u8;8]", Array16: "[u8;16]", Array32: "[u8;32]", - Blob: "Bytes", - }, + Blob: "Bytes" + } }, - /** Lookup276: xcm::v2::Response */ + /** + * Lookup276: xcm::v2::Response + **/ XcmV2Response: { _enum: { Null: "Null", Assets: "XcmV2MultiassetMultiAssets", ExecutionResult: "Option<(u32,XcmV2TraitsError)>", - Version: "u32", - }, + Version: "u32" + } }, - /** Lookup279: xcm::v2::traits::Error */ + /** + * Lookup279: xcm::v2::traits::Error + **/ XcmV2TraitsError: { _enum: { Overflow: "Null", @@ -2803,48 +3092,64 @@ export default { UnhandledXcmVersion: "Null", WeightLimitReached: "u64", Barrier: "Null", - WeightNotComputable: "Null", - }, + WeightNotComputable: "Null" + } }, - /** Lookup280: xcm::v2::OriginKind */ + /** + * Lookup280: xcm::v2::OriginKind + **/ XcmV2OriginKind: { - _enum: ["Native", "SovereignAccount", "Superuser", "Xcm"], + _enum: ["Native", "SovereignAccount", "Superuser", "Xcm"] }, - /** Lookup281: xcm::double_encoded::DoubleEncoded */ + /** + * Lookup281: xcm::double_encoded::DoubleEncoded + **/ XcmDoubleEncoded: { - encoded: "Bytes", + encoded: "Bytes" }, - /** Lookup282: xcm::v2::multiasset::MultiAssetFilter */ + /** + * Lookup282: xcm::v2::multiasset::MultiAssetFilter + **/ XcmV2MultiassetMultiAssetFilter: { _enum: { Definite: "XcmV2MultiassetMultiAssets", - Wild: "XcmV2MultiassetWildMultiAsset", - }, + Wild: "XcmV2MultiassetWildMultiAsset" + } }, - /** Lookup283: xcm::v2::multiasset::WildMultiAsset */ + /** + * Lookup283: xcm::v2::multiasset::WildMultiAsset + **/ XcmV2MultiassetWildMultiAsset: { _enum: { All: "Null", AllOf: { id: "XcmV2MultiassetAssetId", - fun: "XcmV2MultiassetWildFungibility", - }, - }, + fun: "XcmV2MultiassetWildFungibility" + } + } }, - /** Lookup284: xcm::v2::multiasset::WildFungibility */ + /** + * Lookup284: xcm::v2::multiasset::WildFungibility + **/ XcmV2MultiassetWildFungibility: { - _enum: ["Fungible", "NonFungible"], + _enum: ["Fungible", "NonFungible"] }, - /** Lookup285: xcm::v2::WeightLimit */ + /** + * Lookup285: xcm::v2::WeightLimit + **/ XcmV2WeightLimit: { _enum: { Unlimited: "Null", - Limited: "Compact", - }, + Limited: "Compact" + } }, - /** Lookup286: xcm::v3::Xcm */ + /** + * Lookup286: xcm::v3::Xcm + **/ XcmV3Xcm: "Vec", - /** Lookup288: xcm::v3::Instruction */ + /** + * Lookup288: xcm::v3::Instruction + **/ XcmV3Instruction: { _enum: { WithdrawAsset: "XcmV3MultiassetMultiAssets", @@ -2854,69 +3159,69 @@ export default { queryId: "Compact", response: "XcmV3Response", maxWeight: "SpWeightsWeightV2Weight", - querier: "Option", + querier: "Option" }, TransferAsset: { assets: "XcmV3MultiassetMultiAssets", - beneficiary: "StagingXcmV3MultiLocation", + beneficiary: "StagingXcmV3MultiLocation" }, TransferReserveAsset: { assets: "XcmV3MultiassetMultiAssets", dest: "StagingXcmV3MultiLocation", - xcm: "XcmV3Xcm", + xcm: "XcmV3Xcm" }, Transact: { originKind: "XcmV3OriginKind", requireWeightAtMost: "SpWeightsWeightV2Weight", - call: "XcmDoubleEncoded", + call: "XcmDoubleEncoded" }, HrmpNewChannelOpenRequest: { sender: "Compact", maxMessageSize: "Compact", - maxCapacity: "Compact", + maxCapacity: "Compact" }, HrmpChannelAccepted: { - recipient: "Compact", + recipient: "Compact" }, HrmpChannelClosing: { initiator: "Compact", sender: "Compact", - recipient: "Compact", + recipient: "Compact" }, ClearOrigin: "Null", DescendOrigin: "XcmV3Junctions", ReportError: "XcmV3QueryResponseInfo", DepositAsset: { assets: "XcmV3MultiassetMultiAssetFilter", - beneficiary: "StagingXcmV3MultiLocation", + beneficiary: "StagingXcmV3MultiLocation" }, DepositReserveAsset: { assets: "XcmV3MultiassetMultiAssetFilter", dest: "StagingXcmV3MultiLocation", - xcm: "XcmV3Xcm", + xcm: "XcmV3Xcm" }, ExchangeAsset: { give: "XcmV3MultiassetMultiAssetFilter", want: "XcmV3MultiassetMultiAssets", - maximal: "bool", + maximal: "bool" }, InitiateReserveWithdraw: { assets: "XcmV3MultiassetMultiAssetFilter", reserve: "StagingXcmV3MultiLocation", - xcm: "XcmV3Xcm", + xcm: "XcmV3Xcm" }, InitiateTeleport: { assets: "XcmV3MultiassetMultiAssetFilter", dest: "StagingXcmV3MultiLocation", - xcm: "XcmV3Xcm", + xcm: "XcmV3Xcm" }, ReportHolding: { responseInfo: "XcmV3QueryResponseInfo", - assets: "XcmV3MultiassetMultiAssetFilter", + assets: "XcmV3MultiassetMultiAssetFilter" }, BuyExecution: { fees: "XcmV3MultiAsset", - weightLimit: "XcmV3WeightLimit", + weightLimit: "XcmV3WeightLimit" }, RefundSurplus: "Null", SetErrorHandler: "XcmV3Xcm", @@ -2924,12 +3229,12 @@ export default { ClearError: "Null", ClaimAsset: { assets: "XcmV3MultiassetMultiAssets", - ticket: "StagingXcmV3MultiLocation", + ticket: "StagingXcmV3MultiLocation" }, Trap: "Compact", SubscribeVersion: { queryId: "Compact", - maxResponseWeight: "SpWeightsWeightV2Weight", + maxResponseWeight: "SpWeightsWeightV2Weight" }, UnsubscribeVersion: "Null", BurnAsset: "XcmV3MultiassetMultiAssets", @@ -2939,14 +3244,14 @@ export default { ExpectTransactStatus: "XcmV3MaybeErrorCode", QueryPallet: { moduleName: "Bytes", - responseInfo: "XcmV3QueryResponseInfo", + responseInfo: "XcmV3QueryResponseInfo" }, ExpectPallet: { index: "Compact", name: "Bytes", moduleName: "Bytes", crateMajor: "Compact", - minCrateMinor: "Compact", + minCrateMinor: "Compact" }, ReportTransactStatus: "XcmV3QueryResponseInfo", ClearTransactStatus: "Null", @@ -2954,58 +3259,68 @@ export default { ExportMessage: { network: "XcmV3JunctionNetworkId", destination: "XcmV3Junctions", - xcm: "XcmV3Xcm", + xcm: "XcmV3Xcm" }, LockAsset: { asset: "XcmV3MultiAsset", - unlocker: "StagingXcmV3MultiLocation", + unlocker: "StagingXcmV3MultiLocation" }, UnlockAsset: { asset: "XcmV3MultiAsset", - target: "StagingXcmV3MultiLocation", + target: "StagingXcmV3MultiLocation" }, NoteUnlockable: { asset: "XcmV3MultiAsset", - owner: "StagingXcmV3MultiLocation", + owner: "StagingXcmV3MultiLocation" }, RequestUnlock: { asset: "XcmV3MultiAsset", - locker: "StagingXcmV3MultiLocation", + locker: "StagingXcmV3MultiLocation" }, SetFeesMode: { - jitWithdraw: "bool", + jitWithdraw: "bool" }, SetTopic: "[u8;32]", ClearTopic: "Null", AliasOrigin: "StagingXcmV3MultiLocation", UnpaidExecution: { weightLimit: "XcmV3WeightLimit", - checkOrigin: "Option", - }, - }, + checkOrigin: "Option" + } + } }, - /** Lookup289: xcm::v3::multiasset::MultiAssets */ + /** + * Lookup289: xcm::v3::multiasset::MultiAssets + **/ XcmV3MultiassetMultiAssets: "Vec", - /** Lookup291: xcm::v3::multiasset::MultiAsset */ + /** + * Lookup291: xcm::v3::multiasset::MultiAsset + **/ XcmV3MultiAsset: { id: "XcmV3MultiassetAssetId", - fun: "XcmV3MultiassetFungibility", + fun: "XcmV3MultiassetFungibility" }, - /** Lookup292: xcm::v3::multiasset::AssetId */ + /** + * Lookup292: xcm::v3::multiasset::AssetId + **/ XcmV3MultiassetAssetId: { _enum: { Concrete: "StagingXcmV3MultiLocation", - Abstract: "[u8;32]", - }, + Abstract: "[u8;32]" + } }, - /** Lookup293: xcm::v3::multiasset::Fungibility */ + /** + * Lookup293: xcm::v3::multiasset::Fungibility + **/ XcmV3MultiassetFungibility: { _enum: { Fungible: "Compact", - NonFungible: "XcmV3MultiassetAssetInstance", - }, + NonFungible: "XcmV3MultiassetAssetInstance" + } }, - /** Lookup294: xcm::v3::multiasset::AssetInstance */ + /** + * Lookup294: xcm::v3::multiasset::AssetInstance + **/ XcmV3MultiassetAssetInstance: { _enum: { Undefined: "Null", @@ -3013,10 +3328,12 @@ export default { Array4: "[u8;4]", Array8: "[u8;8]", Array16: "[u8;16]", - Array32: "[u8;32]", - }, + Array32: "[u8;32]" + } }, - /** Lookup295: xcm::v3::Response */ + /** + * Lookup295: xcm::v3::Response + **/ XcmV3Response: { _enum: { Null: "Null", @@ -3024,10 +3341,12 @@ export default { ExecutionResult: "Option<(u32,XcmV3TraitsError)>", Version: "u32", PalletsInfo: "Vec", - DispatchResult: "XcmV3MaybeErrorCode", - }, + DispatchResult: "XcmV3MaybeErrorCode" + } }, - /** Lookup298: xcm::v3::traits::Error */ + /** + * Lookup298: xcm::v3::traits::Error + **/ XcmV3TraitsError: { _enum: { Overflow: "Null", @@ -3069,73 +3388,93 @@ export default { WeightLimitReached: "SpWeightsWeightV2Weight", Barrier: "Null", WeightNotComputable: "Null", - ExceedsStackLimit: "Null", - }, + ExceedsStackLimit: "Null" + } }, - /** Lookup300: xcm::v3::PalletInfo */ + /** + * Lookup300: xcm::v3::PalletInfo + **/ XcmV3PalletInfo: { index: "Compact", name: "Bytes", moduleName: "Bytes", major: "Compact", minor: "Compact", - patch: "Compact", + patch: "Compact" }, - /** Lookup303: xcm::v3::MaybeErrorCode */ + /** + * Lookup303: xcm::v3::MaybeErrorCode + **/ XcmV3MaybeErrorCode: { _enum: { Success: "Null", Error: "Bytes", - TruncatedError: "Bytes", - }, + TruncatedError: "Bytes" + } }, - /** Lookup306: xcm::v3::OriginKind */ + /** + * Lookup306: xcm::v3::OriginKind + **/ XcmV3OriginKind: { - _enum: ["Native", "SovereignAccount", "Superuser", "Xcm"], + _enum: ["Native", "SovereignAccount", "Superuser", "Xcm"] }, - /** Lookup307: xcm::v3::QueryResponseInfo */ + /** + * Lookup307: xcm::v3::QueryResponseInfo + **/ XcmV3QueryResponseInfo: { destination: "StagingXcmV3MultiLocation", queryId: "Compact", - maxWeight: "SpWeightsWeightV2Weight", + maxWeight: "SpWeightsWeightV2Weight" }, - /** Lookup308: xcm::v3::multiasset::MultiAssetFilter */ + /** + * Lookup308: xcm::v3::multiasset::MultiAssetFilter + **/ XcmV3MultiassetMultiAssetFilter: { _enum: { Definite: "XcmV3MultiassetMultiAssets", - Wild: "XcmV3MultiassetWildMultiAsset", - }, + Wild: "XcmV3MultiassetWildMultiAsset" + } }, - /** Lookup309: xcm::v3::multiasset::WildMultiAsset */ + /** + * Lookup309: xcm::v3::multiasset::WildMultiAsset + **/ XcmV3MultiassetWildMultiAsset: { _enum: { All: "Null", AllOf: { id: "XcmV3MultiassetAssetId", - fun: "XcmV3MultiassetWildFungibility", + fun: "XcmV3MultiassetWildFungibility" }, AllCounted: "Compact", AllOfCounted: { id: "XcmV3MultiassetAssetId", fun: "XcmV3MultiassetWildFungibility", - count: "Compact", - }, - }, + count: "Compact" + } + } }, - /** Lookup310: xcm::v3::multiasset::WildFungibility */ + /** + * Lookup310: xcm::v3::multiasset::WildFungibility + **/ XcmV3MultiassetWildFungibility: { - _enum: ["Fungible", "NonFungible"], + _enum: ["Fungible", "NonFungible"] }, - /** Lookup311: xcm::v3::WeightLimit */ + /** + * Lookup311: xcm::v3::WeightLimit + **/ XcmV3WeightLimit: { _enum: { Unlimited: "Null", - Limited: "SpWeightsWeightV2Weight", - }, + Limited: "SpWeightsWeightV2Weight" + } }, - /** Lookup312: staging_xcm::v4::Xcm */ + /** + * Lookup312: staging_xcm::v4::Xcm + **/ StagingXcmV4Xcm: "Vec", - /** Lookup314: staging_xcm::v4::Instruction */ + /** + * Lookup314: staging_xcm::v4::Instruction + **/ StagingXcmV4Instruction: { _enum: { WithdrawAsset: "StagingXcmV4AssetAssets", @@ -3145,69 +3484,69 @@ export default { queryId: "Compact", response: "StagingXcmV4Response", maxWeight: "SpWeightsWeightV2Weight", - querier: "Option", + querier: "Option" }, TransferAsset: { assets: "StagingXcmV4AssetAssets", - beneficiary: "StagingXcmV4Location", + beneficiary: "StagingXcmV4Location" }, TransferReserveAsset: { assets: "StagingXcmV4AssetAssets", dest: "StagingXcmV4Location", - xcm: "StagingXcmV4Xcm", + xcm: "StagingXcmV4Xcm" }, Transact: { originKind: "XcmV3OriginKind", requireWeightAtMost: "SpWeightsWeightV2Weight", - call: "XcmDoubleEncoded", + call: "XcmDoubleEncoded" }, HrmpNewChannelOpenRequest: { sender: "Compact", maxMessageSize: "Compact", - maxCapacity: "Compact", + maxCapacity: "Compact" }, HrmpChannelAccepted: { - recipient: "Compact", + recipient: "Compact" }, HrmpChannelClosing: { initiator: "Compact", sender: "Compact", - recipient: "Compact", + recipient: "Compact" }, ClearOrigin: "Null", DescendOrigin: "StagingXcmV4Junctions", ReportError: "StagingXcmV4QueryResponseInfo", DepositAsset: { assets: "StagingXcmV4AssetAssetFilter", - beneficiary: "StagingXcmV4Location", + beneficiary: "StagingXcmV4Location" }, DepositReserveAsset: { assets: "StagingXcmV4AssetAssetFilter", dest: "StagingXcmV4Location", - xcm: "StagingXcmV4Xcm", + xcm: "StagingXcmV4Xcm" }, ExchangeAsset: { give: "StagingXcmV4AssetAssetFilter", want: "StagingXcmV4AssetAssets", - maximal: "bool", + maximal: "bool" }, InitiateReserveWithdraw: { assets: "StagingXcmV4AssetAssetFilter", reserve: "StagingXcmV4Location", - xcm: "StagingXcmV4Xcm", + xcm: "StagingXcmV4Xcm" }, InitiateTeleport: { assets: "StagingXcmV4AssetAssetFilter", dest: "StagingXcmV4Location", - xcm: "StagingXcmV4Xcm", + xcm: "StagingXcmV4Xcm" }, ReportHolding: { responseInfo: "StagingXcmV4QueryResponseInfo", - assets: "StagingXcmV4AssetAssetFilter", + assets: "StagingXcmV4AssetAssetFilter" }, BuyExecution: { fees: "StagingXcmV4Asset", - weightLimit: "XcmV3WeightLimit", + weightLimit: "XcmV3WeightLimit" }, RefundSurplus: "Null", SetErrorHandler: "StagingXcmV4Xcm", @@ -3215,12 +3554,12 @@ export default { ClearError: "Null", ClaimAsset: { assets: "StagingXcmV4AssetAssets", - ticket: "StagingXcmV4Location", + ticket: "StagingXcmV4Location" }, Trap: "Compact", SubscribeVersion: { queryId: "Compact", - maxResponseWeight: "SpWeightsWeightV2Weight", + maxResponseWeight: "SpWeightsWeightV2Weight" }, UnsubscribeVersion: "Null", BurnAsset: "StagingXcmV4AssetAssets", @@ -3230,14 +3569,14 @@ export default { ExpectTransactStatus: "XcmV3MaybeErrorCode", QueryPallet: { moduleName: "Bytes", - responseInfo: "StagingXcmV4QueryResponseInfo", + responseInfo: "StagingXcmV4QueryResponseInfo" }, ExpectPallet: { index: "Compact", name: "Bytes", moduleName: "Bytes", crateMajor: "Compact", - minCrateMinor: "Compact", + minCrateMinor: "Compact" }, ReportTransactStatus: "StagingXcmV4QueryResponseInfo", ClearTransactStatus: "Null", @@ -3245,53 +3584,63 @@ export default { ExportMessage: { network: "StagingXcmV4JunctionNetworkId", destination: "StagingXcmV4Junctions", - xcm: "StagingXcmV4Xcm", + xcm: "StagingXcmV4Xcm" }, LockAsset: { asset: "StagingXcmV4Asset", - unlocker: "StagingXcmV4Location", + unlocker: "StagingXcmV4Location" }, UnlockAsset: { asset: "StagingXcmV4Asset", - target: "StagingXcmV4Location", + target: "StagingXcmV4Location" }, NoteUnlockable: { asset: "StagingXcmV4Asset", - owner: "StagingXcmV4Location", + owner: "StagingXcmV4Location" }, RequestUnlock: { asset: "StagingXcmV4Asset", - locker: "StagingXcmV4Location", + locker: "StagingXcmV4Location" }, SetFeesMode: { - jitWithdraw: "bool", + jitWithdraw: "bool" }, SetTopic: "[u8;32]", ClearTopic: "Null", AliasOrigin: "StagingXcmV4Location", UnpaidExecution: { weightLimit: "XcmV3WeightLimit", - checkOrigin: "Option", - }, - }, + checkOrigin: "Option" + } + } }, - /** Lookup315: staging_xcm::v4::asset::Assets */ + /** + * Lookup315: staging_xcm::v4::asset::Assets + **/ StagingXcmV4AssetAssets: "Vec", - /** Lookup317: staging_xcm::v4::asset::Asset */ + /** + * Lookup317: staging_xcm::v4::asset::Asset + **/ StagingXcmV4Asset: { id: "StagingXcmV4AssetAssetId", - fun: "StagingXcmV4AssetFungibility", + fun: "StagingXcmV4AssetFungibility" }, - /** Lookup318: staging_xcm::v4::asset::AssetId */ + /** + * Lookup318: staging_xcm::v4::asset::AssetId + **/ StagingXcmV4AssetAssetId: "StagingXcmV4Location", - /** Lookup319: staging_xcm::v4::asset::Fungibility */ + /** + * Lookup319: staging_xcm::v4::asset::Fungibility + **/ StagingXcmV4AssetFungibility: { _enum: { Fungible: "Compact", - NonFungible: "StagingXcmV4AssetAssetInstance", - }, + NonFungible: "StagingXcmV4AssetAssetInstance" + } }, - /** Lookup320: staging_xcm::v4::asset::AssetInstance */ + /** + * Lookup320: staging_xcm::v4::asset::AssetInstance + **/ StagingXcmV4AssetAssetInstance: { _enum: { Undefined: "Null", @@ -3299,10 +3648,12 @@ export default { Array4: "[u8;4]", Array8: "[u8;8]", Array16: "[u8;16]", - Array32: "[u8;32]", - }, + Array32: "[u8;32]" + } }, - /** Lookup321: staging_xcm::v4::Response */ + /** + * Lookup321: staging_xcm::v4::Response + **/ StagingXcmV4Response: { _enum: { Null: "Null", @@ -3310,174 +3661,192 @@ export default { ExecutionResult: "Option<(u32,XcmV3TraitsError)>", Version: "u32", PalletsInfo: "Vec", - DispatchResult: "XcmV3MaybeErrorCode", - }, + DispatchResult: "XcmV3MaybeErrorCode" + } }, - /** Lookup323: staging_xcm::v4::PalletInfo */ + /** + * Lookup323: staging_xcm::v4::PalletInfo + **/ StagingXcmV4PalletInfo: { index: "Compact", name: "Bytes", moduleName: "Bytes", major: "Compact", minor: "Compact", - patch: "Compact", + patch: "Compact" }, - /** Lookup327: staging_xcm::v4::QueryResponseInfo */ + /** + * Lookup327: staging_xcm::v4::QueryResponseInfo + **/ StagingXcmV4QueryResponseInfo: { destination: "StagingXcmV4Location", queryId: "Compact", - maxWeight: "SpWeightsWeightV2Weight", + maxWeight: "SpWeightsWeightV2Weight" }, - /** Lookup328: staging_xcm::v4::asset::AssetFilter */ + /** + * Lookup328: staging_xcm::v4::asset::AssetFilter + **/ StagingXcmV4AssetAssetFilter: { _enum: { Definite: "StagingXcmV4AssetAssets", - Wild: "StagingXcmV4AssetWildAsset", - }, + Wild: "StagingXcmV4AssetWildAsset" + } }, - /** Lookup329: staging_xcm::v4::asset::WildAsset */ + /** + * Lookup329: staging_xcm::v4::asset::WildAsset + **/ StagingXcmV4AssetWildAsset: { _enum: { All: "Null", AllOf: { id: "StagingXcmV4AssetAssetId", - fun: "StagingXcmV4AssetWildFungibility", + fun: "StagingXcmV4AssetWildFungibility" }, AllCounted: "Compact", AllOfCounted: { id: "StagingXcmV4AssetAssetId", fun: "StagingXcmV4AssetWildFungibility", - count: "Compact", - }, - }, + count: "Compact" + } + } }, - /** Lookup330: staging_xcm::v4::asset::WildFungibility */ + /** + * Lookup330: staging_xcm::v4::asset::WildFungibility + **/ StagingXcmV4AssetWildFungibility: { - _enum: ["Fungible", "NonFungible"], + _enum: ["Fungible", "NonFungible"] }, - /** Lookup331: xcm::VersionedAssets */ + /** + * Lookup331: xcm::VersionedAssets + **/ XcmVersionedAssets: { _enum: { __Unused0: "Null", V2: "XcmV2MultiassetMultiAssets", __Unused2: "Null", V3: "XcmV3MultiassetMultiAssets", - V4: "StagingXcmV4AssetAssets", - }, + V4: "StagingXcmV4AssetAssets" + } }, - /** Lookup343: staging_xcm_executor::traits::asset_transfer::TransferType */ + /** + * Lookup343: staging_xcm_executor::traits::asset_transfer::TransferType + **/ StagingXcmExecutorAssetTransferTransferType: { _enum: { Teleport: "Null", LocalReserve: "Null", DestinationReserve: "Null", - RemoteReserve: "XcmVersionedLocation", - }, + RemoteReserve: "XcmVersionedLocation" + } }, - /** Lookup344: xcm::VersionedAssetId */ + /** + * Lookup344: xcm::VersionedAssetId + **/ XcmVersionedAssetId: { _enum: { __Unused0: "Null", __Unused1: "Null", __Unused2: "Null", V3: "XcmV3MultiassetAssetId", - V4: "StagingXcmV4AssetAssetId", - }, + V4: "StagingXcmV4AssetAssetId" + } }, - /** Lookup345: pallet_assets::pallet::Call */ + /** + * Lookup345: pallet_assets::pallet::Call + **/ PalletAssetsCall: { _enum: { create: { id: "Compact", admin: "AccountId20", - minBalance: "u128", + minBalance: "u128" }, force_create: { id: "Compact", owner: "AccountId20", isSufficient: "bool", - minBalance: "Compact", + minBalance: "Compact" }, start_destroy: { - id: "Compact", + id: "Compact" }, destroy_accounts: { - id: "Compact", + id: "Compact" }, destroy_approvals: { - id: "Compact", + id: "Compact" }, finish_destroy: { - id: "Compact", + id: "Compact" }, mint: { id: "Compact", beneficiary: "AccountId20", - amount: "Compact", + amount: "Compact" }, burn: { id: "Compact", who: "AccountId20", - amount: "Compact", + amount: "Compact" }, transfer: { id: "Compact", target: "AccountId20", - amount: "Compact", + amount: "Compact" }, transfer_keep_alive: { id: "Compact", target: "AccountId20", - amount: "Compact", + amount: "Compact" }, force_transfer: { id: "Compact", source: "AccountId20", dest: "AccountId20", - amount: "Compact", + amount: "Compact" }, freeze: { id: "Compact", - who: "AccountId20", + who: "AccountId20" }, thaw: { id: "Compact", - who: "AccountId20", + who: "AccountId20" }, freeze_asset: { - id: "Compact", + id: "Compact" }, thaw_asset: { - id: "Compact", + id: "Compact" }, transfer_ownership: { id: "Compact", - owner: "AccountId20", + owner: "AccountId20" }, set_team: { id: "Compact", issuer: "AccountId20", admin: "AccountId20", - freezer: "AccountId20", + freezer: "AccountId20" }, set_metadata: { id: "Compact", name: "Bytes", symbol: "Bytes", - decimals: "u8", + decimals: "u8" }, clear_metadata: { - id: "Compact", + id: "Compact" }, force_set_metadata: { id: "Compact", name: "Bytes", symbol: "Bytes", decimals: "u8", - isFrozen: "bool", + isFrozen: "bool" }, force_clear_metadata: { - id: "Compact", + id: "Compact" }, force_asset_status: { id: "Compact", @@ -3487,102 +3856,110 @@ export default { freezer: "AccountId20", minBalance: "Compact", isSufficient: "bool", - isFrozen: "bool", + isFrozen: "bool" }, approve_transfer: { id: "Compact", delegate: "AccountId20", - amount: "Compact", + amount: "Compact" }, cancel_approval: { id: "Compact", - delegate: "AccountId20", + delegate: "AccountId20" }, force_cancel_approval: { id: "Compact", owner: "AccountId20", - delegate: "AccountId20", + delegate: "AccountId20" }, transfer_approved: { id: "Compact", owner: "AccountId20", destination: "AccountId20", - amount: "Compact", + amount: "Compact" }, touch: { - id: "Compact", + id: "Compact" }, refund: { id: "Compact", - allowBurn: "bool", + allowBurn: "bool" }, set_min_balance: { id: "Compact", - minBalance: "u128", + minBalance: "u128" }, touch_other: { id: "Compact", - who: "AccountId20", + who: "AccountId20" }, refund_other: { id: "Compact", - who: "AccountId20", + who: "AccountId20" }, block: { id: "Compact", - who: "AccountId20", - }, - }, + who: "AccountId20" + } + } }, - /** Lookup346: pallet_asset_manager::pallet::Call */ + /** + * Lookup346: pallet_asset_manager::pallet::Call + **/ PalletAssetManagerCall: { _enum: { register_foreign_asset: { asset: "MoonriverRuntimeXcmConfigAssetType", metadata: "MoonriverRuntimeAssetConfigAssetRegistrarMetadata", minAmount: "u128", - isSufficient: "bool", + isSufficient: "bool" }, __Unused1: "Null", change_existing_asset_type: { assetId: "u128", newAssetType: "MoonriverRuntimeXcmConfigAssetType", - numAssetsWeightHint: "u32", + numAssetsWeightHint: "u32" }, __Unused3: "Null", remove_existing_asset_type: { assetId: "u128", - numAssetsWeightHint: "u32", + numAssetsWeightHint: "u32" }, __Unused5: "Null", destroy_foreign_asset: { assetId: "u128", - numAssetsWeightHint: "u32", - }, - }, + numAssetsWeightHint: "u32" + } + } }, - /** Lookup347: moonriver_runtime::xcm_config::AssetType */ + /** + * Lookup347: moonriver_runtime::xcm_config::AssetType + **/ MoonriverRuntimeXcmConfigAssetType: { _enum: { - Xcm: "StagingXcmV3MultiLocation", - }, + Xcm: "StagingXcmV3MultiLocation" + } }, - /** Lookup348: moonriver_runtime::asset_config::AssetRegistrarMetadata */ + /** + * Lookup348: moonriver_runtime::asset_config::AssetRegistrarMetadata + **/ MoonriverRuntimeAssetConfigAssetRegistrarMetadata: { name: "Bytes", symbol: "Bytes", decimals: "u8", - isFrozen: "bool", + isFrozen: "bool" }, - /** Lookup349: pallet_xcm_transactor::pallet::Call */ + /** + * Lookup349: pallet_xcm_transactor::pallet::Call + **/ PalletXcmTransactorCall: { _enum: { register: { who: "AccountId20", - index: "u16", + index: "u16" }, deregister: { - index: "u16", + index: "u16" }, transact_through_derivative: { dest: "MoonriverRuntimeXcmConfigTransactors", @@ -3590,7 +3967,7 @@ export default { fee: "PalletXcmTransactorCurrencyPayment", innerCall: "Bytes", weightInfo: "PalletXcmTransactorTransactWeights", - refund: "bool", + refund: "bool" }, transact_through_sovereign: { dest: "XcmVersionedLocation", @@ -3599,173 +3976,207 @@ export default { call: "Bytes", originKind: "XcmV3OriginKind", weightInfo: "PalletXcmTransactorTransactWeights", - refund: "bool", + refund: "bool" }, set_transact_info: { location: "XcmVersionedLocation", transactExtraWeight: "SpWeightsWeightV2Weight", maxWeight: "SpWeightsWeightV2Weight", - transactExtraWeightSigned: "Option", + transactExtraWeightSigned: "Option" }, remove_transact_info: { - location: "XcmVersionedLocation", + location: "XcmVersionedLocation" }, transact_through_signed: { dest: "XcmVersionedLocation", fee: "PalletXcmTransactorCurrencyPayment", call: "Bytes", weightInfo: "PalletXcmTransactorTransactWeights", - refund: "bool", + refund: "bool" }, set_fee_per_second: { assetLocation: "XcmVersionedLocation", - feePerSecond: "u128", + feePerSecond: "u128" }, remove_fee_per_second: { - assetLocation: "XcmVersionedLocation", + assetLocation: "XcmVersionedLocation" }, hrmp_manage: { action: "PalletXcmTransactorHrmpOperation", fee: "PalletXcmTransactorCurrencyPayment", - weightInfo: "PalletXcmTransactorTransactWeights", - }, - }, + weightInfo: "PalletXcmTransactorTransactWeights" + } + } }, - /** Lookup350: moonriver_runtime::xcm_config::Transactors */ + /** + * Lookup350: moonriver_runtime::xcm_config::Transactors + **/ MoonriverRuntimeXcmConfigTransactors: { - _enum: ["Relay"], + _enum: ["Relay"] }, - /** Lookup351: pallet_xcm_transactor::pallet::CurrencyPayment */ + /** + * Lookup351: pallet_xcm_transactor::pallet::CurrencyPayment + **/ PalletXcmTransactorCurrencyPayment: { currency: "PalletXcmTransactorCurrency", - feeAmount: "Option", + feeAmount: "Option" }, - /** Lookup352: moonriver_runtime::xcm_config::CurrencyId */ + /** + * Lookup352: moonriver_runtime::xcm_config::CurrencyId + **/ MoonriverRuntimeXcmConfigCurrencyId: { _enum: { SelfReserve: "Null", ForeignAsset: "u128", Erc20: { - contractAddress: "H160", - }, - }, + contractAddress: "H160" + } + } }, - /** Lookup353: pallet_xcm_transactor::pallet::Currency */ + /** + * Lookup353: pallet_xcm_transactor::pallet::Currency + **/ PalletXcmTransactorCurrency: { _enum: { AsCurrencyId: "MoonriverRuntimeXcmConfigCurrencyId", - AsMultiLocation: "XcmVersionedLocation", - }, + AsMultiLocation: "XcmVersionedLocation" + } }, - /** Lookup355: pallet_xcm_transactor::pallet::TransactWeights */ + /** + * Lookup355: pallet_xcm_transactor::pallet::TransactWeights + **/ PalletXcmTransactorTransactWeights: { transactRequiredWeightAtMost: "SpWeightsWeightV2Weight", - overallWeight: "Option", + overallWeight: "Option" }, - /** Lookup358: pallet_xcm_transactor::pallet::HrmpOperation */ + /** + * Lookup358: pallet_xcm_transactor::pallet::HrmpOperation + **/ PalletXcmTransactorHrmpOperation: { _enum: { InitOpen: "PalletXcmTransactorHrmpInitParams", Accept: { - paraId: "u32", + paraId: "u32" }, Close: "PolkadotParachainPrimitivesPrimitivesHrmpChannelId", Cancel: { channelId: "PolkadotParachainPrimitivesPrimitivesHrmpChannelId", - openRequests: "u32", - }, - }, + openRequests: "u32" + } + } }, - /** Lookup359: pallet_xcm_transactor::pallet::HrmpInitParams */ + /** + * Lookup359: pallet_xcm_transactor::pallet::HrmpInitParams + **/ PalletXcmTransactorHrmpInitParams: { paraId: "u32", proposedMaxCapacity: "u32", - proposedMaxMessageSize: "u32", + proposedMaxMessageSize: "u32" }, - /** Lookup360: polkadot_parachain_primitives::primitives::HrmpChannelId */ + /** + * Lookup360: polkadot_parachain_primitives::primitives::HrmpChannelId + **/ PolkadotParachainPrimitivesPrimitivesHrmpChannelId: { sender: "u32", - recipient: "u32", + recipient: "u32" }, - /** Lookup361: pallet_ethereum_xcm::pallet::Call */ + /** + * Lookup361: pallet_ethereum_xcm::pallet::Call + **/ PalletEthereumXcmCall: { _enum: { transact: { - xcmTransaction: "XcmPrimitivesEthereumXcmEthereumXcmTransaction", + xcmTransaction: "XcmPrimitivesEthereumXcmEthereumXcmTransaction" }, transact_through_proxy: { transactAs: "H160", - xcmTransaction: "XcmPrimitivesEthereumXcmEthereumXcmTransaction", + xcmTransaction: "XcmPrimitivesEthereumXcmEthereumXcmTransaction" }, suspend_ethereum_xcm_execution: "Null", resume_ethereum_xcm_execution: "Null", force_transact_as: { transactAs: "H160", xcmTransaction: "XcmPrimitivesEthereumXcmEthereumXcmTransaction", - forceCreateAddress: "Option", - }, - }, + forceCreateAddress: "Option" + } + } }, - /** Lookup362: xcm_primitives::ethereum_xcm::EthereumXcmTransaction */ + /** + * Lookup362: xcm_primitives::ethereum_xcm::EthereumXcmTransaction + **/ XcmPrimitivesEthereumXcmEthereumXcmTransaction: { _enum: { V1: "XcmPrimitivesEthereumXcmEthereumXcmTransactionV1", - V2: "XcmPrimitivesEthereumXcmEthereumXcmTransactionV2", - }, + V2: "XcmPrimitivesEthereumXcmEthereumXcmTransactionV2" + } }, - /** Lookup363: xcm_primitives::ethereum_xcm::EthereumXcmTransactionV1 */ + /** + * Lookup363: xcm_primitives::ethereum_xcm::EthereumXcmTransactionV1 + **/ XcmPrimitivesEthereumXcmEthereumXcmTransactionV1: { gasLimit: "U256", feePayment: "XcmPrimitivesEthereumXcmEthereumXcmFee", action: "EthereumTransactionTransactionAction", value: "U256", input: "Bytes", - accessList: "Option)>>", + accessList: "Option)>>" }, - /** Lookup364: xcm_primitives::ethereum_xcm::EthereumXcmFee */ + /** + * Lookup364: xcm_primitives::ethereum_xcm::EthereumXcmFee + **/ XcmPrimitivesEthereumXcmEthereumXcmFee: { _enum: { Manual: "XcmPrimitivesEthereumXcmManualEthereumXcmFee", - Auto: "Null", - }, + Auto: "Null" + } }, - /** Lookup365: xcm_primitives::ethereum_xcm::ManualEthereumXcmFee */ + /** + * Lookup365: xcm_primitives::ethereum_xcm::ManualEthereumXcmFee + **/ XcmPrimitivesEthereumXcmManualEthereumXcmFee: { gasPrice: "Option", - maxFeePerGas: "Option", + maxFeePerGas: "Option" }, - /** Lookup368: xcm_primitives::ethereum_xcm::EthereumXcmTransactionV2 */ + /** + * Lookup368: xcm_primitives::ethereum_xcm::EthereumXcmTransactionV2 + **/ XcmPrimitivesEthereumXcmEthereumXcmTransactionV2: { gasLimit: "U256", action: "EthereumTransactionTransactionAction", value: "U256", input: "Bytes", - accessList: "Option)>>", + accessList: "Option)>>" }, - /** Lookup370: pallet_message_queue::pallet::Call */ + /** + * Lookup370: pallet_message_queue::pallet::Call + **/ PalletMessageQueueCall: { _enum: { reap_page: { messageOrigin: "CumulusPrimitivesCoreAggregateMessageOrigin", - pageIndex: "u32", + pageIndex: "u32" }, execute_overweight: { messageOrigin: "CumulusPrimitivesCoreAggregateMessageOrigin", page: "u32", index: "u32", - weightLimit: "SpWeightsWeightV2Weight", - }, - }, + weightLimit: "SpWeightsWeightV2Weight" + } + } }, - /** Lookup371: cumulus_primitives_core::AggregateMessageOrigin */ + /** + * Lookup371: cumulus_primitives_core::AggregateMessageOrigin + **/ CumulusPrimitivesCoreAggregateMessageOrigin: { _enum: { Here: "Null", Parent: "Null", - Sibling: "u32", - }, + Sibling: "u32" + } }, - /** Lookup372: pallet_moonbeam_foreign_assets::pallet::Call */ + /** + * Lookup372: pallet_moonbeam_foreign_assets::pallet::Call + **/ PalletMoonbeamForeignAssetsCall: { _enum: { create_foreign_asset: { @@ -3773,154 +4184,174 @@ export default { xcmLocation: "StagingXcmV4Location", decimals: "u8", symbol: "Bytes", - name: "Bytes", + name: "Bytes" }, change_xcm_location: { assetId: "u128", - newXcmLocation: "StagingXcmV4Location", + newXcmLocation: "StagingXcmV4Location" }, freeze_foreign_asset: { assetId: "u128", - allowXcmDeposit: "bool", + allowXcmDeposit: "bool" }, unfreeze_foreign_asset: { - assetId: "u128", - }, - }, + assetId: "u128" + } + } }, - /** Lookup374: pallet_xcm_weight_trader::pallet::Call */ + /** + * Lookup374: pallet_xcm_weight_trader::pallet::Call + **/ PalletXcmWeightTraderCall: { _enum: { add_asset: { location: "StagingXcmV4Location", - relativePrice: "u128", + relativePrice: "u128" }, edit_asset: { location: "StagingXcmV4Location", - relativePrice: "u128", + relativePrice: "u128" }, pause_asset_support: { - location: "StagingXcmV4Location", + location: "StagingXcmV4Location" }, resume_asset_support: { - location: "StagingXcmV4Location", + location: "StagingXcmV4Location" }, remove_asset: { - location: "StagingXcmV4Location", - }, - }, + location: "StagingXcmV4Location" + } + } }, - /** Lookup375: pallet_emergency_para_xcm::pallet::Call */ + /** + * Lookup375: pallet_emergency_para_xcm::pallet::Call + **/ PalletEmergencyParaXcmCall: { _enum: { paused_to_normal: "Null", fast_authorize_upgrade: { - codeHash: "H256", - }, - }, + codeHash: "H256" + } + } }, - /** Lookup376: pallet_randomness::pallet::Call */ + /** + * Lookup376: pallet_randomness::pallet::Call + **/ PalletRandomnessCall: { - _enum: ["set_babe_randomness_results"], + _enum: ["set_babe_randomness_results"] }, - /** Lookup377: sp_runtime::traits::BlakeTwo256 */ + /** + * Lookup377: sp_runtime::traits::BlakeTwo256 + **/ SpRuntimeBlakeTwo256: "Null", - /** Lookup379: pallet_conviction_voting::types::Tally */ + /** + * Lookup379: pallet_conviction_voting::types::Tally + **/ PalletConvictionVotingTally: { ayes: "u128", nays: "u128", - support: "u128", + support: "u128" }, - /** Lookup380: pallet_whitelist::pallet::Event */ + /** + * Lookup380: pallet_whitelist::pallet::Event + **/ PalletWhitelistEvent: { _enum: { CallWhitelisted: { - callHash: "H256", + callHash: "H256" }, WhitelistedCallRemoved: { - callHash: "H256", + callHash: "H256" }, WhitelistedCallDispatched: { callHash: "H256", - result: "Result", - }, - }, + result: "Result" + } + } }, - /** Lookup382: frame_support::dispatch::PostDispatchInfo */ + /** + * Lookup382: frame_support::dispatch::PostDispatchInfo + **/ FrameSupportDispatchPostDispatchInfo: { actualWeight: "Option", - paysFee: "FrameSupportDispatchPays", + paysFee: "FrameSupportDispatchPays" }, - /** Lookup383: sp_runtime::DispatchErrorWithPostInfo */ + /** + * Lookup383: sp_runtime::DispatchErrorWithPostInfo + **/ SpRuntimeDispatchErrorWithPostInfo: { postInfo: "FrameSupportDispatchPostDispatchInfo", - error: "SpRuntimeDispatchError", + error: "SpRuntimeDispatchError" }, - /** Lookup384: pallet_collective::pallet::Event */ + /** + * Lookup384: pallet_collective::pallet::Event + **/ PalletCollectiveEvent: { _enum: { Proposed: { account: "AccountId20", proposalIndex: "u32", proposalHash: "H256", - threshold: "u32", + threshold: "u32" }, Voted: { account: "AccountId20", proposalHash: "H256", voted: "bool", yes: "u32", - no: "u32", + no: "u32" }, Approved: { - proposalHash: "H256", + proposalHash: "H256" }, Disapproved: { - proposalHash: "H256", + proposalHash: "H256" }, Executed: { proposalHash: "H256", - result: "Result", + result: "Result" }, MemberExecuted: { proposalHash: "H256", - result: "Result", + result: "Result" }, Closed: { proposalHash: "H256", yes: "u32", - no: "u32", - }, - }, + no: "u32" + } + } }, - /** Lookup386: pallet_treasury::pallet::Event */ + /** + * Lookup386: pallet_treasury::pallet::Event + **/ PalletTreasuryEvent: { _enum: { Spending: { - budgetRemaining: "u128", + budgetRemaining: "u128" }, Awarded: { proposalIndex: "u32", award: "u128", - account: "AccountId20", + account: "AccountId20" }, Burnt: { - burntFunds: "u128", + burntFunds: "u128" }, Rollover: { - rolloverBalance: "u128", + rolloverBalance: "u128" }, Deposit: { - value: "u128", + value: "u128" }, SpendApproved: { proposalIndex: "u32", amount: "u128", - beneficiary: "AccountId20", + beneficiary: "AccountId20" }, UpdatedInactive: { reactivated: "u128", - deactivated: "u128", + deactivated: "u128" }, AssetSpendApproved: { index: "u32", @@ -3928,25 +4359,27 @@ export default { amount: "u128", beneficiary: "AccountId20", validFrom: "u32", - expireAt: "u32", + expireAt: "u32" }, AssetSpendVoided: { - index: "u32", + index: "u32" }, Paid: { index: "u32", - paymentId: "Null", + paymentId: "Null" }, PaymentFailed: { index: "u32", - paymentId: "Null", + paymentId: "Null" }, SpendProcessed: { - index: "u32", - }, - }, + index: "u32" + } + } }, - /** Lookup387: pallet_crowdloan_rewards::pallet::Event */ + /** + * Lookup387: pallet_crowdloan_rewards::pallet::Event + **/ PalletCrowdloanRewardsEvent: { _enum: { InitialPaymentMade: "(AccountId20,u128)", @@ -3954,406 +4387,428 @@ export default { RewardsPaid: "(AccountId20,u128)", RewardAddressUpdated: "(AccountId20,AccountId20)", InitializedAlreadyInitializedAccount: "([u8;32],Option,u128)", - InitializedAccountWithNotEnoughContribution: "([u8;32],Option,u128)", - }, + InitializedAccountWithNotEnoughContribution: "([u8;32],Option,u128)" + } }, - /** Lookup388: cumulus_pallet_xcmp_queue::pallet::Event */ + /** + * Lookup388: cumulus_pallet_xcmp_queue::pallet::Event + **/ CumulusPalletXcmpQueueEvent: { _enum: { XcmpMessageSent: { - messageHash: "[u8;32]", - }, - }, + messageHash: "[u8;32]" + } + } }, - /** Lookup389: cumulus_pallet_xcm::pallet::Event */ + /** + * Lookup389: cumulus_pallet_xcm::pallet::Event + **/ CumulusPalletXcmEvent: { _enum: { InvalidFormat: "[u8;32]", UnsupportedVersion: "[u8;32]", - ExecutedDownward: "([u8;32],StagingXcmV4TraitsOutcome)", - }, + ExecutedDownward: "([u8;32],StagingXcmV4TraitsOutcome)" + } }, - /** Lookup390: staging_xcm::v4::traits::Outcome */ + /** + * Lookup390: staging_xcm::v4::traits::Outcome + **/ StagingXcmV4TraitsOutcome: { _enum: { Complete: { - used: "SpWeightsWeightV2Weight", + used: "SpWeightsWeightV2Weight" }, Incomplete: { used: "SpWeightsWeightV2Weight", - error: "XcmV3TraitsError", + error: "XcmV3TraitsError" }, Error: { - error: "XcmV3TraitsError", - }, - }, + error: "XcmV3TraitsError" + } + } }, - /** Lookup391: pallet_xcm::pallet::Event */ + /** + * Lookup391: pallet_xcm::pallet::Event + **/ PalletXcmEvent: { _enum: { Attempted: { - outcome: "StagingXcmV4TraitsOutcome", + outcome: "StagingXcmV4TraitsOutcome" }, Sent: { origin: "StagingXcmV4Location", destination: "StagingXcmV4Location", message: "StagingXcmV4Xcm", - messageId: "[u8;32]", + messageId: "[u8;32]" }, UnexpectedResponse: { origin: "StagingXcmV4Location", - queryId: "u64", + queryId: "u64" }, ResponseReady: { queryId: "u64", - response: "StagingXcmV4Response", + response: "StagingXcmV4Response" }, Notified: { queryId: "u64", palletIndex: "u8", - callIndex: "u8", + callIndex: "u8" }, NotifyOverweight: { queryId: "u64", palletIndex: "u8", callIndex: "u8", actualWeight: "SpWeightsWeightV2Weight", - maxBudgetedWeight: "SpWeightsWeightV2Weight", + maxBudgetedWeight: "SpWeightsWeightV2Weight" }, NotifyDispatchError: { queryId: "u64", palletIndex: "u8", - callIndex: "u8", + callIndex: "u8" }, NotifyDecodeFailed: { queryId: "u64", palletIndex: "u8", - callIndex: "u8", + callIndex: "u8" }, InvalidResponder: { origin: "StagingXcmV4Location", queryId: "u64", - expectedLocation: "Option", + expectedLocation: "Option" }, InvalidResponderVersion: { origin: "StagingXcmV4Location", - queryId: "u64", + queryId: "u64" }, ResponseTaken: { - queryId: "u64", + queryId: "u64" }, AssetsTrapped: { _alias: { - hash_: "hash", + hash_: "hash" }, hash_: "H256", origin: "StagingXcmV4Location", - assets: "XcmVersionedAssets", + assets: "XcmVersionedAssets" }, VersionChangeNotified: { destination: "StagingXcmV4Location", result: "u32", cost: "StagingXcmV4AssetAssets", - messageId: "[u8;32]", + messageId: "[u8;32]" }, SupportedVersionChanged: { location: "StagingXcmV4Location", - version: "u32", + version: "u32" }, NotifyTargetSendFail: { location: "StagingXcmV4Location", queryId: "u64", - error: "XcmV3TraitsError", + error: "XcmV3TraitsError" }, NotifyTargetMigrationFail: { location: "XcmVersionedLocation", - queryId: "u64", + queryId: "u64" }, InvalidQuerierVersion: { origin: "StagingXcmV4Location", - queryId: "u64", + queryId: "u64" }, InvalidQuerier: { origin: "StagingXcmV4Location", queryId: "u64", expectedQuerier: "StagingXcmV4Location", - maybeActualQuerier: "Option", + maybeActualQuerier: "Option" }, VersionNotifyStarted: { destination: "StagingXcmV4Location", cost: "StagingXcmV4AssetAssets", - messageId: "[u8;32]", + messageId: "[u8;32]" }, VersionNotifyRequested: { destination: "StagingXcmV4Location", cost: "StagingXcmV4AssetAssets", - messageId: "[u8;32]", + messageId: "[u8;32]" }, VersionNotifyUnrequested: { destination: "StagingXcmV4Location", cost: "StagingXcmV4AssetAssets", - messageId: "[u8;32]", + messageId: "[u8;32]" }, FeesPaid: { paying: "StagingXcmV4Location", - fees: "StagingXcmV4AssetAssets", + fees: "StagingXcmV4AssetAssets" }, AssetsClaimed: { _alias: { - hash_: "hash", + hash_: "hash" }, hash_: "H256", origin: "StagingXcmV4Location", - assets: "XcmVersionedAssets", + assets: "XcmVersionedAssets" }, VersionMigrationFinished: { - version: "u32", - }, - }, + version: "u32" + } + } }, - /** Lookup392: pallet_assets::pallet::Event */ + /** + * Lookup392: pallet_assets::pallet::Event + **/ PalletAssetsEvent: { _enum: { Created: { assetId: "u128", creator: "AccountId20", - owner: "AccountId20", + owner: "AccountId20" }, Issued: { assetId: "u128", owner: "AccountId20", - amount: "u128", + amount: "u128" }, Transferred: { assetId: "u128", from: "AccountId20", to: "AccountId20", - amount: "u128", + amount: "u128" }, Burned: { assetId: "u128", owner: "AccountId20", - balance: "u128", + balance: "u128" }, TeamChanged: { assetId: "u128", issuer: "AccountId20", admin: "AccountId20", - freezer: "AccountId20", + freezer: "AccountId20" }, OwnerChanged: { assetId: "u128", - owner: "AccountId20", + owner: "AccountId20" }, Frozen: { assetId: "u128", - who: "AccountId20", + who: "AccountId20" }, Thawed: { assetId: "u128", - who: "AccountId20", + who: "AccountId20" }, AssetFrozen: { - assetId: "u128", + assetId: "u128" }, AssetThawed: { - assetId: "u128", + assetId: "u128" }, AccountsDestroyed: { assetId: "u128", accountsDestroyed: "u32", - accountsRemaining: "u32", + accountsRemaining: "u32" }, ApprovalsDestroyed: { assetId: "u128", approvalsDestroyed: "u32", - approvalsRemaining: "u32", + approvalsRemaining: "u32" }, DestructionStarted: { - assetId: "u128", + assetId: "u128" }, Destroyed: { - assetId: "u128", + assetId: "u128" }, ForceCreated: { assetId: "u128", - owner: "AccountId20", + owner: "AccountId20" }, MetadataSet: { assetId: "u128", name: "Bytes", symbol: "Bytes", decimals: "u8", - isFrozen: "bool", + isFrozen: "bool" }, MetadataCleared: { - assetId: "u128", + assetId: "u128" }, ApprovedTransfer: { assetId: "u128", source: "AccountId20", delegate: "AccountId20", - amount: "u128", + amount: "u128" }, ApprovalCancelled: { assetId: "u128", owner: "AccountId20", - delegate: "AccountId20", + delegate: "AccountId20" }, TransferredApproved: { assetId: "u128", owner: "AccountId20", delegate: "AccountId20", destination: "AccountId20", - amount: "u128", + amount: "u128" }, AssetStatusChanged: { - assetId: "u128", + assetId: "u128" }, AssetMinBalanceChanged: { assetId: "u128", - newMinBalance: "u128", + newMinBalance: "u128" }, Touched: { assetId: "u128", who: "AccountId20", - depositor: "AccountId20", + depositor: "AccountId20" }, Blocked: { assetId: "u128", - who: "AccountId20", + who: "AccountId20" }, Deposited: { assetId: "u128", who: "AccountId20", - amount: "u128", + amount: "u128" }, Withdrawn: { assetId: "u128", who: "AccountId20", - amount: "u128", - }, - }, + amount: "u128" + } + } }, - /** Lookup393: pallet_asset_manager::pallet::Event */ + /** + * Lookup393: pallet_asset_manager::pallet::Event + **/ PalletAssetManagerEvent: { _enum: { ForeignAssetRegistered: { assetId: "u128", asset: "MoonriverRuntimeXcmConfigAssetType", - metadata: "MoonriverRuntimeAssetConfigAssetRegistrarMetadata", + metadata: "MoonriverRuntimeAssetConfigAssetRegistrarMetadata" }, UnitsPerSecondChanged: "Null", ForeignAssetXcmLocationChanged: { assetId: "u128", - newAssetType: "MoonriverRuntimeXcmConfigAssetType", + newAssetType: "MoonriverRuntimeXcmConfigAssetType" }, ForeignAssetRemoved: { assetId: "u128", - assetType: "MoonriverRuntimeXcmConfigAssetType", + assetType: "MoonriverRuntimeXcmConfigAssetType" }, SupportedAssetRemoved: { - assetType: "MoonriverRuntimeXcmConfigAssetType", + assetType: "MoonriverRuntimeXcmConfigAssetType" }, ForeignAssetDestroyed: { assetId: "u128", - assetType: "MoonriverRuntimeXcmConfigAssetType", + assetType: "MoonriverRuntimeXcmConfigAssetType" }, LocalAssetDestroyed: { - assetId: "u128", - }, - }, + assetId: "u128" + } + } }, - /** Lookup394: pallet_xcm_transactor::pallet::Event */ + /** + * Lookup394: pallet_xcm_transactor::pallet::Event + **/ PalletXcmTransactorEvent: { _enum: { TransactedDerivative: { accountId: "AccountId20", dest: "StagingXcmV4Location", call: "Bytes", - index: "u16", + index: "u16" }, TransactedSovereign: { feePayer: "Option", dest: "StagingXcmV4Location", - call: "Bytes", + call: "Bytes" }, TransactedSigned: { feePayer: "AccountId20", dest: "StagingXcmV4Location", - call: "Bytes", + call: "Bytes" }, RegisteredDerivative: { accountId: "AccountId20", - index: "u16", + index: "u16" }, DeRegisteredDerivative: { - index: "u16", + index: "u16" }, TransactFailed: { - error: "XcmV3TraitsError", + error: "XcmV3TraitsError" }, TransactInfoChanged: { location: "StagingXcmV4Location", - remoteInfo: "PalletXcmTransactorRemoteTransactInfoWithMaxWeight", + remoteInfo: "PalletXcmTransactorRemoteTransactInfoWithMaxWeight" }, TransactInfoRemoved: { - location: "StagingXcmV4Location", + location: "StagingXcmV4Location" }, DestFeePerSecondChanged: { location: "StagingXcmV4Location", - feePerSecond: "u128", + feePerSecond: "u128" }, DestFeePerSecondRemoved: { - location: "StagingXcmV4Location", + location: "StagingXcmV4Location" }, HrmpManagementSent: { - action: "PalletXcmTransactorHrmpOperation", - }, - }, + action: "PalletXcmTransactorHrmpOperation" + } + } }, - /** Lookup395: pallet_xcm_transactor::pallet::RemoteTransactInfoWithMaxWeight */ + /** + * Lookup395: pallet_xcm_transactor::pallet::RemoteTransactInfoWithMaxWeight + **/ PalletXcmTransactorRemoteTransactInfoWithMaxWeight: { transactExtraWeight: "SpWeightsWeightV2Weight", maxWeight: "SpWeightsWeightV2Weight", - transactExtraWeightSigned: "Option", + transactExtraWeightSigned: "Option" }, - /** Lookup396: pallet_ethereum_xcm::pallet::Event */ + /** + * Lookup396: pallet_ethereum_xcm::pallet::Event + **/ PalletEthereumXcmEvent: { _enum: { ExecutedFromXcm: { xcmMsgHash: "H256", - ethTxHash: "H256", - }, - }, + ethTxHash: "H256" + } + } }, - /** Lookup397: pallet_message_queue::pallet::Event */ + /** + * Lookup397: pallet_message_queue::pallet::Event + **/ PalletMessageQueueEvent: { _enum: { ProcessingFailed: { id: "H256", origin: "CumulusPrimitivesCoreAggregateMessageOrigin", - error: "FrameSupportMessagesProcessMessageError", + error: "FrameSupportMessagesProcessMessageError" }, Processed: { id: "H256", origin: "CumulusPrimitivesCoreAggregateMessageOrigin", weightUsed: "SpWeightsWeightV2Weight", - success: "bool", + success: "bool" }, OverweightEnqueued: { id: "[u8;32]", origin: "CumulusPrimitivesCoreAggregateMessageOrigin", pageIndex: "u32", - messageIndex: "u32", + messageIndex: "u32" }, PageReaped: { origin: "CumulusPrimitivesCoreAggregateMessageOrigin", - index: "u32", - }, - }, + index: "u32" + } + } }, - /** Lookup398: frame_support::traits::messages::ProcessMessageError */ + /** + * Lookup398: frame_support::traits::messages::ProcessMessageError + **/ FrameSupportMessagesProcessMessageError: { _enum: { BadFormat: "Null", @@ -4361,58 +4816,66 @@ export default { Unsupported: "Null", Overweight: "SpWeightsWeightV2Weight", Yield: "Null", - StackLimitReached: "Null", - }, + StackLimitReached: "Null" + } }, - /** Lookup399: pallet_moonbeam_foreign_assets::pallet::Event */ + /** + * Lookup399: pallet_moonbeam_foreign_assets::pallet::Event + **/ PalletMoonbeamForeignAssetsEvent: { _enum: { ForeignAssetCreated: { contractAddress: "H160", assetId: "u128", - xcmLocation: "StagingXcmV4Location", + xcmLocation: "StagingXcmV4Location" }, ForeignAssetXcmLocationChanged: { assetId: "u128", - newXcmLocation: "StagingXcmV4Location", + newXcmLocation: "StagingXcmV4Location" }, ForeignAssetFrozen: { assetId: "u128", - xcmLocation: "StagingXcmV4Location", + xcmLocation: "StagingXcmV4Location" }, ForeignAssetUnfrozen: { assetId: "u128", - xcmLocation: "StagingXcmV4Location", - }, - }, + xcmLocation: "StagingXcmV4Location" + } + } }, - /** Lookup400: pallet_xcm_weight_trader::pallet::Event */ + /** + * Lookup400: pallet_xcm_weight_trader::pallet::Event + **/ PalletXcmWeightTraderEvent: { _enum: { SupportedAssetAdded: { location: "StagingXcmV4Location", - relativePrice: "u128", + relativePrice: "u128" }, SupportedAssetEdited: { location: "StagingXcmV4Location", - relativePrice: "u128", + relativePrice: "u128" }, PauseAssetSupport: { - location: "StagingXcmV4Location", + location: "StagingXcmV4Location" }, ResumeAssetSupport: { - location: "StagingXcmV4Location", + location: "StagingXcmV4Location" }, SupportedAssetRemoved: { - location: "StagingXcmV4Location", - }, - }, + location: "StagingXcmV4Location" + } + } }, - /** Lookup401: pallet_emergency_para_xcm::pallet::Event */ + /** + * Lookup401: pallet_emergency_para_xcm::pallet::Event + **/ PalletEmergencyParaXcmEvent: { - _enum: ["EnteredPausedXcmMode", "NormalXcmOperationResumed"], + _enum: ["EnteredPausedXcmMode", "NormalXcmOperationResumed"] }, - /** Lookup402: pallet_randomness::pallet::Event */ + /** + * Lookup402: pallet_randomness::pallet::Event + **/ PalletRandomnessEvent: { _enum: { RandomnessRequestedBabeEpoch: { @@ -4423,7 +4886,7 @@ export default { gasLimit: "u64", numWords: "u8", salt: "H256", - earliestEpoch: "u64", + earliestEpoch: "u64" }, RandomnessRequestedLocal: { id: "u64", @@ -4433,73 +4896,93 @@ export default { gasLimit: "u64", numWords: "u8", salt: "H256", - earliestBlock: "u32", + earliestBlock: "u32" }, RequestFulfilled: { - id: "u64", + id: "u64" }, RequestFeeIncreased: { id: "u64", - newFee: "u128", + newFee: "u128" }, RequestExpirationExecuted: { - id: "u64", - }, - }, + id: "u64" + } + } }, - /** Lookup403: frame_system::Phase */ + /** + * Lookup403: frame_system::Phase + **/ FrameSystemPhase: { _enum: { ApplyExtrinsic: "u32", Finalization: "Null", - Initialization: "Null", - }, + Initialization: "Null" + } }, - /** Lookup405: frame_system::LastRuntimeUpgradeInfo */ + /** + * Lookup405: frame_system::LastRuntimeUpgradeInfo + **/ FrameSystemLastRuntimeUpgradeInfo: { specVersion: "Compact", - specName: "Text", + specName: "Text" }, - /** Lookup406: frame_system::CodeUpgradeAuthorization */ + /** + * Lookup406: frame_system::CodeUpgradeAuthorization + **/ FrameSystemCodeUpgradeAuthorization: { codeHash: "H256", - checkVersion: "bool", + checkVersion: "bool" }, - /** Lookup407: frame_system::limits::BlockWeights */ + /** + * Lookup407: frame_system::limits::BlockWeights + **/ FrameSystemLimitsBlockWeights: { baseBlock: "SpWeightsWeightV2Weight", maxBlock: "SpWeightsWeightV2Weight", - perClass: "FrameSupportDispatchPerDispatchClassWeightsPerClass", + perClass: "FrameSupportDispatchPerDispatchClassWeightsPerClass" }, - /** Lookup408: frame_support::dispatch::PerDispatchClass */ + /** + * Lookup408: frame_support::dispatch::PerDispatchClass + **/ FrameSupportDispatchPerDispatchClassWeightsPerClass: { normal: "FrameSystemLimitsWeightsPerClass", operational: "FrameSystemLimitsWeightsPerClass", - mandatory: "FrameSystemLimitsWeightsPerClass", + mandatory: "FrameSystemLimitsWeightsPerClass" }, - /** Lookup409: frame_system::limits::WeightsPerClass */ + /** + * Lookup409: frame_system::limits::WeightsPerClass + **/ FrameSystemLimitsWeightsPerClass: { baseExtrinsic: "SpWeightsWeightV2Weight", maxExtrinsic: "Option", maxTotal: "Option", - reserved: "Option", + reserved: "Option" }, - /** Lookup410: frame_system::limits::BlockLength */ + /** + * Lookup410: frame_system::limits::BlockLength + **/ FrameSystemLimitsBlockLength: { - max: "FrameSupportDispatchPerDispatchClassU32", + max: "FrameSupportDispatchPerDispatchClassU32" }, - /** Lookup411: frame_support::dispatch::PerDispatchClass */ + /** + * Lookup411: frame_support::dispatch::PerDispatchClass + **/ FrameSupportDispatchPerDispatchClassU32: { normal: "u32", operational: "u32", - mandatory: "u32", + mandatory: "u32" }, - /** Lookup412: sp_weights::RuntimeDbWeight */ + /** + * Lookup412: sp_weights::RuntimeDbWeight + **/ SpWeightsRuntimeDbWeight: { read: "u64", - write: "u64", + write: "u64" }, - /** Lookup413: sp_version::RuntimeVersion */ + /** + * Lookup413: sp_version::RuntimeVersion + **/ SpVersionRuntimeVersion: { specName: "Text", implName: "Text", @@ -4508,9 +4991,11 @@ export default { implVersion: "u32", apis: "Vec<([u8;8],u32)>", transactionVersion: "u32", - stateVersion: "u8", + stateVersion: "u8" }, - /** Lookup417: frame_system::pallet::Error */ + /** + * Lookup417: frame_system::pallet::Error + **/ FrameSystemError: { _enum: [ "InvalidSpecName", @@ -4521,63 +5006,83 @@ export default { "CallFiltered", "MultiBlockMigrationsOngoing", "NothingAuthorized", - "Unauthorized", - ], + "Unauthorized" + ] }, - /** Lookup419: cumulus_pallet_parachain_system::unincluded_segment::Ancestor */ + /** + * Lookup419: cumulus_pallet_parachain_system::unincluded_segment::Ancestor + **/ CumulusPalletParachainSystemUnincludedSegmentAncestor: { usedBandwidth: "CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth", paraHeadHash: "Option", - consumedGoAheadSignal: "Option", + consumedGoAheadSignal: "Option" }, - /** Lookup420: cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth */ + /** + * Lookup420: cumulus_pallet_parachain_system::unincluded_segment::UsedBandwidth + **/ CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth: { umpMsgCount: "u32", umpTotalBytes: "u32", - hrmpOutgoing: "BTreeMap", + hrmpOutgoing: "BTreeMap" }, - /** Lookup422: cumulus_pallet_parachain_system::unincluded_segment::HrmpChannelUpdate */ + /** + * Lookup422: cumulus_pallet_parachain_system::unincluded_segment::HrmpChannelUpdate + **/ CumulusPalletParachainSystemUnincludedSegmentHrmpChannelUpdate: { msgCount: "u32", - totalBytes: "u32", + totalBytes: "u32" }, - /** Lookup426: polkadot_primitives::v7::UpgradeGoAhead */ + /** + * Lookup426: polkadot_primitives::v7::UpgradeGoAhead + **/ PolkadotPrimitivesV7UpgradeGoAhead: { - _enum: ["Abort", "GoAhead"], + _enum: ["Abort", "GoAhead"] }, - /** Lookup427: cumulus_pallet_parachain_system::unincluded_segment::SegmentTracker */ + /** + * Lookup427: cumulus_pallet_parachain_system::unincluded_segment::SegmentTracker + **/ CumulusPalletParachainSystemUnincludedSegmentSegmentTracker: { usedBandwidth: "CumulusPalletParachainSystemUnincludedSegmentUsedBandwidth", hrmpWatermark: "Option", - consumedGoAheadSignal: "Option", + consumedGoAheadSignal: "Option" }, - /** Lookup429: polkadot_primitives::v7::UpgradeRestriction */ + /** + * Lookup429: polkadot_primitives::v7::UpgradeRestriction + **/ PolkadotPrimitivesV7UpgradeRestriction: { - _enum: ["Present"], + _enum: ["Present"] }, - /** Lookup430: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot */ + /** + * Lookup430: cumulus_pallet_parachain_system::relay_state_snapshot::MessagingStateSnapshot + **/ CumulusPalletParachainSystemRelayStateSnapshotMessagingStateSnapshot: { dmqMqcHead: "H256", relayDispatchQueueRemainingCapacity: "CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity", ingressChannels: "Vec<(u32,PolkadotPrimitivesV7AbridgedHrmpChannel)>", - egressChannels: "Vec<(u32,PolkadotPrimitivesV7AbridgedHrmpChannel)>", + egressChannels: "Vec<(u32,PolkadotPrimitivesV7AbridgedHrmpChannel)>" }, - /** Lookup431: cumulus_pallet_parachain_system::relay_state_snapshot::RelayDispatchQueueRemainingCapacity */ + /** + * Lookup431: cumulus_pallet_parachain_system::relay_state_snapshot::RelayDispatchQueueRemainingCapacity + **/ CumulusPalletParachainSystemRelayStateSnapshotRelayDispatchQueueRemainingCapacity: { remainingCount: "u32", - remainingSize: "u32", + remainingSize: "u32" }, - /** Lookup434: polkadot_primitives::v7::AbridgedHrmpChannel */ + /** + * Lookup434: polkadot_primitives::v7::AbridgedHrmpChannel + **/ PolkadotPrimitivesV7AbridgedHrmpChannel: { maxCapacity: "u32", maxTotalSize: "u32", maxMessageSize: "u32", msgCount: "u32", totalSize: "u32", - mqcHead: "Option", + mqcHead: "Option" }, - /** Lookup435: polkadot_primitives::v7::AbridgedHostConfiguration */ + /** + * Lookup435: polkadot_primitives::v7::AbridgedHostConfiguration + **/ PolkadotPrimitivesV7AbridgedHostConfiguration: { maxCodeSize: "u32", maxHeadDataSize: "u32", @@ -4588,19 +5093,25 @@ export default { hrmpMaxMessageNumPerCandidate: "u32", validationUpgradeCooldown: "u32", validationUpgradeDelay: "u32", - asyncBackingParams: "PolkadotPrimitivesV7AsyncBackingAsyncBackingParams", + asyncBackingParams: "PolkadotPrimitivesV7AsyncBackingAsyncBackingParams" }, - /** Lookup436: polkadot_primitives::v7::async_backing::AsyncBackingParams */ + /** + * Lookup436: polkadot_primitives::v7::async_backing::AsyncBackingParams + **/ PolkadotPrimitivesV7AsyncBackingAsyncBackingParams: { maxCandidateDepth: "u32", - allowedAncestryLen: "u32", + allowedAncestryLen: "u32" }, - /** Lookup442: polkadot_core_primitives::OutboundHrmpMessage */ + /** + * Lookup442: polkadot_core_primitives::OutboundHrmpMessage + **/ PolkadotCorePrimitivesOutboundHrmpMessage: { recipient: "u32", - data: "Bytes", + data: "Bytes" }, - /** Lookup444: cumulus_pallet_parachain_system::pallet::Error */ + /** + * Lookup444: cumulus_pallet_parachain_system::pallet::Error + **/ CumulusPalletParachainSystemError: { _enum: [ "OverlappingUpgrades", @@ -4610,25 +5121,33 @@ export default { "HostConfigurationNotAvailable", "NotScheduled", "NothingAuthorized", - "Unauthorized", - ], + "Unauthorized" + ] }, - /** Lookup446: pallet_balances::types::BalanceLock */ + /** + * Lookup446: pallet_balances::types::BalanceLock + **/ PalletBalancesBalanceLock: { id: "[u8;8]", amount: "u128", - reasons: "PalletBalancesReasons", + reasons: "PalletBalancesReasons" }, - /** Lookup447: pallet_balances::types::Reasons */ + /** + * Lookup447: pallet_balances::types::Reasons + **/ PalletBalancesReasons: { - _enum: ["Fee", "Misc", "All"], + _enum: ["Fee", "Misc", "All"] }, - /** Lookup450: pallet_balances::types::ReserveData */ + /** + * Lookup450: pallet_balances::types::ReserveData + **/ PalletBalancesReserveData: { id: "[u8;4]", - amount: "u128", + amount: "u128" }, - /** Lookup454: moonriver_runtime::RuntimeHoldReason */ + /** + * Lookup454: moonriver_runtime::RuntimeHoldReason + **/ MoonriverRuntimeRuntimeHoldReason: { _enum: { __Unused0: "Null", @@ -4693,19 +5212,25 @@ export default { __Unused59: "Null", __Unused60: "Null", __Unused61: "Null", - Preimage: "PalletPreimageHoldReason", - }, + Preimage: "PalletPreimageHoldReason" + } }, - /** Lookup455: pallet_preimage::pallet::HoldReason */ + /** + * Lookup455: pallet_preimage::pallet::HoldReason + **/ PalletPreimageHoldReason: { - _enum: ["Preimage"], + _enum: ["Preimage"] }, - /** Lookup458: frame_support::traits::tokens::misc::IdAmount */ + /** + * Lookup458: frame_support::traits::tokens::misc::IdAmount + **/ FrameSupportTokensMiscIdAmount: { id: "Null", - amount: "u128", + amount: "u128" }, - /** Lookup460: pallet_balances::pallet::Error */ + /** + * Lookup460: pallet_balances::pallet::Error + **/ PalletBalancesError: { _enum: [ "VestingBalance", @@ -4719,47 +5244,57 @@ export default { "TooManyHolds", "TooManyFreezes", "IssuanceDeactivated", - "DeltaZero", - ], + "DeltaZero" + ] }, - /** Lookup461: pallet_transaction_payment::Releases */ + /** + * Lookup461: pallet_transaction_payment::Releases + **/ PalletTransactionPaymentReleases: { - _enum: ["V1Ancient", "V2"], + _enum: ["V1Ancient", "V2"] }, - /** Lookup462: pallet_parachain_staking::types::RoundInfo */ + /** + * Lookup462: pallet_parachain_staking::types::RoundInfo + **/ PalletParachainStakingRoundInfo: { current: "u32", first: "u32", length: "u32", - firstSlot: "u64", + firstSlot: "u64" }, - /** Lookup463: pallet_parachain_staking::types::Delegator */ + /** + * Lookup463: pallet_parachain_staking::types::Delegator + **/ PalletParachainStakingDelegator: { id: "AccountId20", delegations: "PalletParachainStakingSetOrderedSet", total: "u128", lessTotal: "u128", - status: "PalletParachainStakingDelegatorStatus", + status: "PalletParachainStakingDelegatorStatus" }, /** - * Lookup464: - * pallet_parachain_staking::set::OrderedSet> - */ + * Lookup464: pallet_parachain_staking::set::OrderedSet> + **/ PalletParachainStakingSetOrderedSet: "Vec", - /** Lookup465: pallet_parachain_staking::types::Bond */ + /** + * Lookup465: pallet_parachain_staking::types::Bond + **/ PalletParachainStakingBond: { owner: "AccountId20", - amount: "u128", + amount: "u128" }, - /** Lookup467: pallet_parachain_staking::types::DelegatorStatus */ + /** + * Lookup467: pallet_parachain_staking::types::DelegatorStatus + **/ PalletParachainStakingDelegatorStatus: { _enum: { Active: "Null", - Leaving: "u32", - }, + Leaving: "u32" + } }, - /** Lookup468: pallet_parachain_staking::types::CandidateMetadata */ + /** + * Lookup468: pallet_parachain_staking::types::CandidateMetadata + **/ PalletParachainStakingCandidateMetadata: { bond: "u128", delegationCount: "u32", @@ -4770,87 +5305,104 @@ export default { topCapacity: "PalletParachainStakingCapacityStatus", bottomCapacity: "PalletParachainStakingCapacityStatus", request: "Option", - status: "PalletParachainStakingCollatorStatus", + status: "PalletParachainStakingCollatorStatus" }, - /** Lookup469: pallet_parachain_staking::types::CapacityStatus */ + /** + * Lookup469: pallet_parachain_staking::types::CapacityStatus + **/ PalletParachainStakingCapacityStatus: { - _enum: ["Full", "Empty", "Partial"], + _enum: ["Full", "Empty", "Partial"] }, - /** Lookup471: pallet_parachain_staking::types::CandidateBondLessRequest */ + /** + * Lookup471: pallet_parachain_staking::types::CandidateBondLessRequest + **/ PalletParachainStakingCandidateBondLessRequest: { amount: "u128", - whenExecutable: "u32", + whenExecutable: "u32" }, - /** Lookup472: pallet_parachain_staking::types::CollatorStatus */ + /** + * Lookup472: pallet_parachain_staking::types::CollatorStatus + **/ PalletParachainStakingCollatorStatus: { _enum: { Active: "Null", Idle: "Null", - Leaving: "u32", - }, + Leaving: "u32" + } }, - /** Lookup474: pallet_parachain_staking::delegation_requests::ScheduledRequest */ + /** + * Lookup474: pallet_parachain_staking::delegation_requests::ScheduledRequest + **/ PalletParachainStakingDelegationRequestsScheduledRequest: { delegator: "AccountId20", whenExecutable: "u32", - action: "PalletParachainStakingDelegationRequestsDelegationAction", + action: "PalletParachainStakingDelegationRequestsDelegationAction" }, /** - * Lookup477: - * pallet_parachain_staking::auto_compound::AutoCompoundConfig[account::AccountId20](account::AccountId20) - */ + * Lookup477: pallet_parachain_staking::auto_compound::AutoCompoundConfig + **/ PalletParachainStakingAutoCompoundAutoCompoundConfig: { delegator: "AccountId20", - value: "Percent", + value: "Percent" }, - /** Lookup479: pallet_parachain_staking::types::Delegations */ + /** + * Lookup479: pallet_parachain_staking::types::Delegations + **/ PalletParachainStakingDelegations: { delegations: "Vec", - total: "u128", + total: "u128" }, /** - * Lookup481: - * pallet_parachain_staking::set::BoundedOrderedSet, S> - */ + * Lookup481: pallet_parachain_staking::set::BoundedOrderedSet, S> + **/ PalletParachainStakingSetBoundedOrderedSet: "Vec", - /** Lookup484: pallet_parachain_staking::types::CollatorSnapshot */ + /** + * Lookup484: pallet_parachain_staking::types::CollatorSnapshot + **/ PalletParachainStakingCollatorSnapshot: { bond: "u128", delegations: "Vec", - total: "u128", + total: "u128" }, - /** Lookup486: pallet_parachain_staking::types::BondWithAutoCompound */ + /** + * Lookup486: pallet_parachain_staking::types::BondWithAutoCompound + **/ PalletParachainStakingBondWithAutoCompound: { owner: "AccountId20", amount: "u128", - autoCompound: "Percent", + autoCompound: "Percent" }, - /** Lookup487: pallet_parachain_staking::types::DelayedPayout */ + /** + * Lookup487: pallet_parachain_staking::types::DelayedPayout + **/ PalletParachainStakingDelayedPayout: { roundIssuance: "u128", totalStakingReward: "u128", - collatorCommission: "Perbill", + collatorCommission: "Perbill" }, - /** Lookup488: pallet_parachain_staking::inflation::InflationInfo */ + /** + * Lookup488: pallet_parachain_staking::inflation::InflationInfo + **/ PalletParachainStakingInflationInflationInfo: { expect: { min: "u128", ideal: "u128", - max: "u128", + max: "u128" }, annual: { min: "Perbill", ideal: "Perbill", - max: "Perbill", + max: "Perbill" }, round: { min: "Perbill", ideal: "Perbill", - max: "Perbill", - }, + max: "Perbill" + } }, - /** Lookup489: pallet_parachain_staking::pallet::Error */ + /** + * Lookup489: pallet_parachain_staking::pallet::Error + **/ PalletParachainStakingError: { _enum: [ "DelegatorDNE", @@ -4908,23 +5460,29 @@ export default { "CannotSetAboveMaxCandidates", "RemovedCall", "MarkingOfflineNotEnabled", - "CurrentRoundTooLow", - ], + "CurrentRoundTooLow" + ] }, - /** Lookup490: pallet_author_inherent::pallet::Error */ + /** + * Lookup490: pallet_author_inherent::pallet::Error + **/ PalletAuthorInherentError: { - _enum: ["AuthorAlreadySet", "NoAccountId", "CannotBeAuthor"], + _enum: ["AuthorAlreadySet", "NoAccountId", "CannotBeAuthor"] }, - /** Lookup491: pallet_author_mapping::pallet::RegistrationInfo */ + /** + * Lookup491: pallet_author_mapping::pallet::RegistrationInfo + **/ PalletAuthorMappingRegistrationInfo: { _alias: { - keys_: "keys", + keys_: "keys" }, account: "AccountId20", deposit: "u128", - keys_: "SessionKeysPrimitivesVrfVrfCryptoPublic", + keys_: "SessionKeysPrimitivesVrfVrfCryptoPublic" }, - /** Lookup492: pallet_author_mapping::pallet::Error */ + /** + * Lookup492: pallet_author_mapping::pallet::Error + **/ PalletAuthorMappingError: { _enum: [ "AssociationNotFound", @@ -4934,21 +5492,27 @@ export default { "OldAuthorIdNotFound", "WrongKeySize", "DecodeNimbusFailed", - "DecodeKeysFailed", - ], + "DecodeKeysFailed" + ] }, - /** Lookup493: pallet_moonbeam_orbiters::types::CollatorPoolInfo[account::AccountId20](account::AccountId20) */ + /** + * Lookup493: pallet_moonbeam_orbiters::types::CollatorPoolInfo + **/ PalletMoonbeamOrbitersCollatorPoolInfo: { orbiters: "Vec", maybeCurrentOrbiter: "Option", - nextOrbiter: "u32", + nextOrbiter: "u32" }, - /** Lookup495: pallet_moonbeam_orbiters::types::CurrentOrbiter[account::AccountId20](account::AccountId20) */ + /** + * Lookup495: pallet_moonbeam_orbiters::types::CurrentOrbiter + **/ PalletMoonbeamOrbitersCurrentOrbiter: { accountId: "AccountId20", - removed: "bool", + removed: "bool" }, - /** Lookup496: pallet_moonbeam_orbiters::pallet::Error */ + /** + * Lookup496: pallet_moonbeam_orbiters::pallet::Error + **/ PalletMoonbeamOrbitersError: { _enum: [ "CollatorAlreadyAdded", @@ -4959,26 +5523,34 @@ export default { "OrbiterAlreadyInPool", "OrbiterDepositNotFound", "OrbiterNotFound", - "OrbiterStillInAPool", - ], + "OrbiterStillInAPool" + ] }, - /** Lookup499: pallet_utility::pallet::Error */ + /** + * Lookup499: pallet_utility::pallet::Error + **/ PalletUtilityError: { - _enum: ["TooManyCalls"], + _enum: ["TooManyCalls"] }, - /** Lookup502: pallet_proxy::ProxyDefinition */ + /** + * Lookup502: pallet_proxy::ProxyDefinition + **/ PalletProxyProxyDefinition: { delegate: "AccountId20", proxyType: "MoonriverRuntimeProxyType", - delay: "u32", + delay: "u32" }, - /** Lookup506: pallet_proxy::Announcement */ + /** + * Lookup506: pallet_proxy::Announcement + **/ PalletProxyAnnouncement: { real: "AccountId20", callHash: "H256", - height: "u32", + height: "u32" }, - /** Lookup508: pallet_proxy::pallet::Error */ + /** + * Lookup508: pallet_proxy::pallet::Error + **/ PalletProxyError: { _enum: [ "TooMany", @@ -4988,37 +5560,41 @@ export default { "Duplicate", "NoPermission", "Unannounced", - "NoSelfProxy", - ], + "NoSelfProxy" + ] }, - /** Lookup509: pallet_maintenance_mode::pallet::Error */ + /** + * Lookup509: pallet_maintenance_mode::pallet::Error + **/ PalletMaintenanceModeError: { - _enum: ["AlreadyInMaintenanceMode", "NotInMaintenanceMode"], + _enum: ["AlreadyInMaintenanceMode", "NotInMaintenanceMode"] }, /** - * Lookup511: pallet_identity::types::Registration> - */ + * Lookup511: pallet_identity::types::Registration> + **/ PalletIdentityRegistration: { judgements: "Vec<(u32,PalletIdentityJudgement)>", deposit: "u128", - info: "PalletIdentityLegacyIdentityInfo", + info: "PalletIdentityLegacyIdentityInfo" }, - /** Lookup520: pallet_identity::types::RegistrarInfo */ + /** + * Lookup520: pallet_identity::types::RegistrarInfo + **/ PalletIdentityRegistrarInfo: { account: "AccountId20", fee: "u128", - fields: "u64", + fields: "u64" }, /** - * Lookup522: - * pallet_identity::types::AuthorityProperties> - */ + * Lookup522: pallet_identity::types::AuthorityProperties> + **/ PalletIdentityAuthorityProperties: { suffix: "Bytes", - allocation: "u32", + allocation: "u32" }, - /** Lookup525: pallet_identity::pallet::Error */ + /** + * Lookup525: pallet_identity::pallet::Error + **/ PalletIdentityError: { _enum: [ "TooManySubAccounts", @@ -5046,21 +5622,27 @@ export default { "InvalidUsername", "UsernameTaken", "NoUsername", - "NotExpired", - ], + "NotExpired" + ] }, - /** Lookup526: pallet_migrations::pallet::Error */ + /** + * Lookup526: pallet_migrations::pallet::Error + **/ PalletMigrationsError: { - _enum: ["PreimageMissing", "WrongUpperBound", "PreimageIsTooBig", "PreimageAlreadyExists"], + _enum: ["PreimageMissing", "WrongUpperBound", "PreimageIsTooBig", "PreimageAlreadyExists"] }, - /** Lookup528: pallet_multisig::Multisig */ + /** + * Lookup528: pallet_multisig::Multisig + **/ PalletMultisigMultisig: { when: "PalletMultisigTimepoint", deposit: "u128", depositor: "AccountId20", - approvals: "Vec", + approvals: "Vec" }, - /** Lookup530: pallet_multisig::pallet::Error */ + /** + * Lookup530: pallet_multisig::pallet::Error + **/ PalletMultisigError: { _enum: [ "MinimumThreshold", @@ -5076,32 +5658,40 @@ export default { "WrongTimepoint", "UnexpectedTimepoint", "MaxWeightTooLow", - "AlreadyStored", - ], + "AlreadyStored" + ] }, - /** Lookup532: pallet_moonbeam_lazy_migrations::pallet::StateMigrationStatus */ + /** + * Lookup532: pallet_moonbeam_lazy_migrations::pallet::StateMigrationStatus + **/ PalletMoonbeamLazyMigrationsStateMigrationStatus: { _enum: { NotStarted: "Null", Started: "Bytes", Error: "Bytes", - Complete: "Null", - }, + Complete: "Null" + } }, - /** Lookup534: pallet_moonbeam_lazy_migrations::foreign_asset::ForeignAssetMigrationStatus */ + /** + * Lookup534: pallet_moonbeam_lazy_migrations::foreign_asset::ForeignAssetMigrationStatus + **/ PalletMoonbeamLazyMigrationsForeignAssetForeignAssetMigrationStatus: { _enum: { Idle: "Null", - Migrating: "PalletMoonbeamLazyMigrationsForeignAssetForeignAssetMigrationInfo", - }, + Migrating: "PalletMoonbeamLazyMigrationsForeignAssetForeignAssetMigrationInfo" + } }, - /** Lookup535: pallet_moonbeam_lazy_migrations::foreign_asset::ForeignAssetMigrationInfo */ + /** + * Lookup535: pallet_moonbeam_lazy_migrations::foreign_asset::ForeignAssetMigrationInfo + **/ PalletMoonbeamLazyMigrationsForeignAssetForeignAssetMigrationInfo: { assetId: "u128", remainingBalances: "u32", - remainingApprovals: "u32", + remainingApprovals: "u32" }, - /** Lookup536: pallet_moonbeam_lazy_migrations::pallet::Error */ + /** + * Lookup536: pallet_moonbeam_lazy_migrations::pallet::Error + **/ PalletMoonbeamLazyMigrationsError: { _enum: [ "LimitCannotBeZero", @@ -5116,19 +5706,23 @@ export default { "MigrationNotFinished", "NoMigrationInProgress", "MintFailed", - "ApprovalFailed", - ], + "ApprovalFailed" + ] }, - /** Lookup537: pallet_evm::CodeMetadata */ + /** + * Lookup537: pallet_evm::CodeMetadata + **/ PalletEvmCodeMetadata: { _alias: { size_: "size", - hash_: "hash", + hash_: "hash" }, size_: "u64", - hash_: "H256", + hash_: "H256" }, - /** Lookup539: pallet_evm::pallet::Error */ + /** + * Lookup539: pallet_evm::pallet::Error + **/ PalletEvmError: { _enum: [ "BalanceLow", @@ -5143,10 +5737,12 @@ export default { "InvalidSignature", "Reentrancy", "TransactionMustComeFromEOA", - "Undefined", - ], + "Undefined" + ] }, - /** Lookup542: fp_rpc::TransactionStatus */ + /** + * Lookup542: fp_rpc::TransactionStatus + **/ FpRpcTransactionStatus: { transactionHash: "H256", transactionIndex: "u32", @@ -5154,35 +5750,42 @@ export default { to: "Option", contractAddress: "Option", logs: "Vec", - logsBloom: "EthbloomBloom", + logsBloom: "EthbloomBloom" }, - /** Lookup544: ethbloom::Bloom */ + /** + * Lookup544: ethbloom::Bloom + **/ EthbloomBloom: "[u8;256]", - /** Lookup546: ethereum::receipt::ReceiptV3 */ + /** + * Lookup546: ethereum::receipt::ReceiptV3 + **/ EthereumReceiptReceiptV3: { _enum: { Legacy: "EthereumReceiptEip658ReceiptData", EIP2930: "EthereumReceiptEip658ReceiptData", - EIP1559: "EthereumReceiptEip658ReceiptData", - }, + EIP1559: "EthereumReceiptEip658ReceiptData" + } }, - /** Lookup547: ethereum::receipt::EIP658ReceiptData */ + /** + * Lookup547: ethereum::receipt::EIP658ReceiptData + **/ EthereumReceiptEip658ReceiptData: { statusCode: "u8", usedGas: "U256", logsBloom: "EthbloomBloom", - logs: "Vec", + logs: "Vec" }, /** - * Lookup548: - * ethereum::block::Block[ethereum::transaction::TransactionV2](ethereum::transaction::TransactionV2) - */ + * Lookup548: ethereum::block::Block + **/ EthereumBlock: { header: "EthereumHeader", transactions: "Vec", - ommers: "Vec", + ommers: "Vec" }, - /** Lookup549: ethereum::header::Header */ + /** + * Lookup549: ethereum::header::Header + **/ EthereumHeader: { parentHash: "H256", ommersHash: "H256", @@ -5198,74 +5801,83 @@ export default { timestamp: "u64", extraData: "Bytes", mixHash: "H256", - nonce: "EthereumTypesHashH64", + nonce: "EthereumTypesHashH64" }, - /** Lookup550: ethereum_types::hash::H64 */ + /** + * Lookup550: ethereum_types::hash::H64 + **/ EthereumTypesHashH64: "[u8;8]", - /** Lookup555: pallet_ethereum::pallet::Error */ + /** + * Lookup555: pallet_ethereum::pallet::Error + **/ PalletEthereumError: { - _enum: ["InvalidSignature", "PreLogExists"], + _enum: ["InvalidSignature", "PreLogExists"] }, /** - * Lookup558: pallet_scheduler::Scheduled, BlockNumber, moonriver_runtime::OriginCaller, account::AccountId20> - */ + * Lookup558: pallet_scheduler::Scheduled, BlockNumber, moonriver_runtime::OriginCaller, account::AccountId20> + **/ PalletSchedulerScheduled: { maybeId: "Option<[u8;32]>", priority: "u8", call: "FrameSupportPreimagesBounded", maybePeriodic: "Option<(u32,u32)>", - origin: "MoonriverRuntimeOriginCaller", + origin: "MoonriverRuntimeOriginCaller" }, - /** Lookup560: pallet_scheduler::RetryConfig */ + /** + * Lookup560: pallet_scheduler::RetryConfig + **/ PalletSchedulerRetryConfig: { totalRetries: "u8", remaining: "u8", - period: "u32", + period: "u32" }, - /** Lookup561: pallet_scheduler::pallet::Error */ + /** + * Lookup561: pallet_scheduler::pallet::Error + **/ PalletSchedulerError: { _enum: [ "FailedToSchedule", "NotFound", "TargetBlockNumberInPast", "RescheduleNoChange", - "Named", - ], + "Named" + ] }, - /** Lookup562: pallet_preimage::OldRequestStatus */ + /** + * Lookup562: pallet_preimage::OldRequestStatus + **/ PalletPreimageOldRequestStatus: { _enum: { Unrequested: { deposit: "(AccountId20,u128)", - len: "u32", + len: "u32" }, Requested: { deposit: "Option<(AccountId20,u128)>", count: "u32", - len: "Option", - }, - }, + len: "Option" + } + } }, /** - * Lookup565: pallet_preimage::RequestStatus> - */ + * Lookup565: pallet_preimage::RequestStatus> + **/ PalletPreimageRequestStatus: { _enum: { Unrequested: { ticket: "(AccountId20,u128)", - len: "u32", + len: "u32" }, Requested: { maybeTicket: "Option<(AccountId20,u128)>", count: "u32", - maybeLen: "Option", - }, - }, + maybeLen: "Option" + } + } }, - /** Lookup571: pallet_preimage::pallet::Error */ + /** + * Lookup571: pallet_preimage::pallet::Error + **/ PalletPreimageError: { _enum: [ "TooBig", @@ -5276,41 +5888,50 @@ export default { "NotRequested", "TooMany", "TooFew", - "NoCost", - ], + "NoCost" + ] }, /** - * Lookup573: pallet_conviction_voting::vote::Voting - */ + * Lookup573: pallet_conviction_voting::vote::Voting + **/ PalletConvictionVotingVoteVoting: { _enum: { Casting: "PalletConvictionVotingVoteCasting", - Delegating: "PalletConvictionVotingVoteDelegating", - }, + Delegating: "PalletConvictionVotingVoteDelegating" + } }, - /** Lookup574: pallet_conviction_voting::vote::Casting */ + /** + * Lookup574: pallet_conviction_voting::vote::Casting + **/ PalletConvictionVotingVoteCasting: { votes: "Vec<(u32,PalletConvictionVotingVoteAccountVote)>", delegations: "PalletConvictionVotingDelegations", - prior: "PalletConvictionVotingVotePriorLock", + prior: "PalletConvictionVotingVotePriorLock" }, - /** Lookup578: pallet_conviction_voting::types::Delegations */ + /** + * Lookup578: pallet_conviction_voting::types::Delegations + **/ PalletConvictionVotingDelegations: { votes: "u128", - capital: "u128", + capital: "u128" }, - /** Lookup579: pallet_conviction_voting::vote::PriorLock */ + /** + * Lookup579: pallet_conviction_voting::vote::PriorLock + **/ PalletConvictionVotingVotePriorLock: "(u32,u128)", - /** Lookup580: pallet_conviction_voting::vote::Delegating */ + /** + * Lookup580: pallet_conviction_voting::vote::Delegating + **/ PalletConvictionVotingVoteDelegating: { balance: "u128", target: "AccountId20", conviction: "PalletConvictionVotingConviction", delegations: "PalletConvictionVotingDelegations", - prior: "PalletConvictionVotingVotePriorLock", + prior: "PalletConvictionVotingVotePriorLock" }, - /** Lookup584: pallet_conviction_voting::pallet::Error */ + /** + * Lookup584: pallet_conviction_voting::pallet::Error + **/ PalletConvictionVotingError: { _enum: [ "NotOngoing", @@ -5324,15 +5945,12 @@ export default { "Nonsense", "MaxVotesReached", "ClassNeeded", - "BadClass", - ], + "BadClass" + ] }, /** - * Lookup585: pallet_referenda::types::ReferendumInfo, Balance, pallet_conviction_voting::types::Tally, account::AccountId20, ScheduleAddress> - */ + * Lookup585: pallet_referenda::types::ReferendumInfo, Balance, pallet_conviction_voting::types::Tally, account::AccountId20, ScheduleAddress> + **/ PalletReferendaReferendumInfo: { _enum: { Ongoing: "PalletReferendaReferendumStatus", @@ -5340,15 +5958,12 @@ export default { Rejected: "(u32,Option,Option)", Cancelled: "(u32,Option,Option)", TimedOut: "(u32,Option,Option)", - Killed: "u32", - }, + Killed: "u32" + } }, /** - * Lookup586: pallet_referenda::types::ReferendumStatus, Balance, pallet_conviction_voting::types::Tally, account::AccountId20, ScheduleAddress> - */ + * Lookup586: pallet_referenda::types::ReferendumStatus, Balance, pallet_conviction_voting::types::Tally, account::AccountId20, ScheduleAddress> + **/ PalletReferendaReferendumStatus: { track: "u16", origin: "MoonriverRuntimeOriginCaller", @@ -5360,19 +5975,25 @@ export default { deciding: "Option", tally: "PalletConvictionVotingTally", inQueue: "bool", - alarm: "Option<(u32,(u32,u32))>", + alarm: "Option<(u32,(u32,u32))>" }, - /** Lookup587: pallet_referenda::types::Deposit */ + /** + * Lookup587: pallet_referenda::types::Deposit + **/ PalletReferendaDeposit: { who: "AccountId20", - amount: "u128", + amount: "u128" }, - /** Lookup590: pallet_referenda::types::DecidingStatus */ + /** + * Lookup590: pallet_referenda::types::DecidingStatus + **/ PalletReferendaDecidingStatus: { since: "u32", - confirming: "Option", + confirming: "Option" }, - /** Lookup598: pallet_referenda::types::TrackInfo */ + /** + * Lookup598: pallet_referenda::types::TrackInfo + **/ PalletReferendaTrackInfo: { name: "Text", maxDeciding: "u32", @@ -5382,30 +6003,34 @@ export default { confirmPeriod: "u32", minEnactmentPeriod: "u32", minApproval: "PalletReferendaCurve", - minSupport: "PalletReferendaCurve", + minSupport: "PalletReferendaCurve" }, - /** Lookup599: pallet_referenda::types::Curve */ + /** + * Lookup599: pallet_referenda::types::Curve + **/ PalletReferendaCurve: { _enum: { LinearDecreasing: { length: "Perbill", floor: "Perbill", - ceil: "Perbill", + ceil: "Perbill" }, SteppedDecreasing: { begin: "Perbill", end: "Perbill", step: "Perbill", - period: "Perbill", + period: "Perbill" }, Reciprocal: { factor: "i64", xOffset: "i64", - yOffset: "i64", - }, - }, + yOffset: "i64" + } + } }, - /** Lookup602: pallet_referenda::pallet::Error */ + /** + * Lookup602: pallet_referenda::pallet::Error + **/ PalletReferendaError: { _enum: [ "NotOngoing", @@ -5421,28 +6046,34 @@ export default { "NoDeposit", "BadStatus", "PreimageNotExist", - "PreimageStoredWithDifferentLength", - ], + "PreimageStoredWithDifferentLength" + ] }, - /** Lookup603: pallet_whitelist::pallet::Error */ + /** + * Lookup603: pallet_whitelist::pallet::Error + **/ PalletWhitelistError: { _enum: [ "UnavailablePreImage", "UndecodableCall", "InvalidCallWeightWitness", "CallIsNotWhitelisted", - "CallAlreadyWhitelisted", - ], + "CallAlreadyWhitelisted" + ] }, - /** Lookup605: pallet_collective::Votes */ + /** + * Lookup605: pallet_collective::Votes + **/ PalletCollectiveVotes: { index: "u32", threshold: "u32", ayes: "Vec", nays: "Vec", - end: "u32", + end: "u32" }, - /** Lookup606: pallet_collective::pallet::Error */ + /** + * Lookup606: pallet_collective::pallet::Error + **/ PalletCollectiveError: { _enum: [ "NotMember", @@ -5455,41 +6086,48 @@ export default { "TooManyProposals", "WrongProposalWeight", "WrongProposalLength", - "PrimeAccountNotMember", - ], + "PrimeAccountNotMember" + ] }, - /** Lookup609: pallet_treasury::Proposal */ + /** + * Lookup609: pallet_treasury::Proposal + **/ PalletTreasuryProposal: { proposer: "AccountId20", value: "u128", beneficiary: "AccountId20", - bond: "u128", + bond: "u128" }, /** - * Lookup612: pallet_treasury::SpendStatus - */ + * Lookup612: pallet_treasury::SpendStatus + **/ PalletTreasurySpendStatus: { assetKind: "Null", amount: "u128", beneficiary: "AccountId20", validFrom: "u32", expireAt: "u32", - status: "PalletTreasuryPaymentState", + status: "PalletTreasuryPaymentState" }, - /** Lookup613: pallet_treasury::PaymentState */ + /** + * Lookup613: pallet_treasury::PaymentState + **/ PalletTreasuryPaymentState: { _enum: { Pending: "Null", Attempted: { - id: "Null", + id: "Null" }, - Failed: "Null", - }, + Failed: "Null" + } }, - /** Lookup615: frame_support::PalletId */ + /** + * Lookup615: frame_support::PalletId + **/ FrameSupportPalletId: "[u8;8]", - /** Lookup616: pallet_treasury::pallet::Error */ + /** + * Lookup616: pallet_treasury::pallet::Error + **/ PalletTreasuryError: { _enum: [ "InvalidIndex", @@ -5502,16 +6140,20 @@ export default { "AlreadyAttempted", "PayoutError", "NotAttempted", - "Inconclusive", - ], + "Inconclusive" + ] }, - /** Lookup617: pallet_crowdloan_rewards::pallet::RewardInfo */ + /** + * Lookup617: pallet_crowdloan_rewards::pallet::RewardInfo + **/ PalletCrowdloanRewardsRewardInfo: { totalReward: "u128", claimedReward: "u128", - contributedRelayAddresses: "Vec<[u8;32]>", + contributedRelayAddresses: "Vec<[u8;32]>" }, - /** Lookup619: pallet_crowdloan_rewards::pallet::Error */ + /** + * Lookup619: pallet_crowdloan_rewards::pallet::Error + **/ PalletCrowdloanRewardsError: { _enum: [ "AlreadyAssociated", @@ -5528,83 +6170,101 @@ export default { "TooManyContributors", "VestingPeriodNonValid", "NonContributedAddressProvided", - "InsufficientNumberOfValidProofs", - ], + "InsufficientNumberOfValidProofs" + ] }, - /** Lookup624: cumulus_pallet_xcmp_queue::OutboundChannelDetails */ + /** + * Lookup624: cumulus_pallet_xcmp_queue::OutboundChannelDetails + **/ CumulusPalletXcmpQueueOutboundChannelDetails: { recipient: "u32", state: "CumulusPalletXcmpQueueOutboundState", signalsExist: "bool", firstIndex: "u16", - lastIndex: "u16", + lastIndex: "u16" }, - /** Lookup625: cumulus_pallet_xcmp_queue::OutboundState */ + /** + * Lookup625: cumulus_pallet_xcmp_queue::OutboundState + **/ CumulusPalletXcmpQueueOutboundState: { - _enum: ["Ok", "Suspended"], + _enum: ["Ok", "Suspended"] }, - /** Lookup629: cumulus_pallet_xcmp_queue::QueueConfigData */ + /** + * Lookup629: cumulus_pallet_xcmp_queue::QueueConfigData + **/ CumulusPalletXcmpQueueQueueConfigData: { suspendThreshold: "u32", dropThreshold: "u32", - resumeThreshold: "u32", + resumeThreshold: "u32" }, - /** Lookup630: cumulus_pallet_xcmp_queue::pallet::Error */ + /** + * Lookup630: cumulus_pallet_xcmp_queue::pallet::Error + **/ CumulusPalletXcmpQueueError: { _enum: [ "BadQueueConfig", "AlreadySuspended", "AlreadyResumed", "TooManyActiveOutboundChannels", - "TooBig", - ], + "TooBig" + ] }, - /** Lookup631: pallet_xcm::pallet::QueryStatus */ + /** + * Lookup631: pallet_xcm::pallet::QueryStatus + **/ PalletXcmQueryStatus: { _enum: { Pending: { responder: "XcmVersionedLocation", maybeMatchQuerier: "Option", maybeNotify: "Option<(u8,u8)>", - timeout: "u32", + timeout: "u32" }, VersionNotifier: { origin: "XcmVersionedLocation", - isActive: "bool", + isActive: "bool" }, Ready: { response: "XcmVersionedResponse", - at: "u32", - }, - }, + at: "u32" + } + } }, - /** Lookup635: xcm::VersionedResponse */ + /** + * Lookup635: xcm::VersionedResponse + **/ XcmVersionedResponse: { _enum: { __Unused0: "Null", __Unused1: "Null", V2: "XcmV2Response", V3: "XcmV3Response", - V4: "StagingXcmV4Response", - }, + V4: "StagingXcmV4Response" + } }, - /** Lookup641: pallet_xcm::pallet::VersionMigrationStage */ + /** + * Lookup641: pallet_xcm::pallet::VersionMigrationStage + **/ PalletXcmVersionMigrationStage: { _enum: { MigrateSupportedVersion: "Null", MigrateVersionNotifiers: "Null", NotifyCurrentTargets: "Option", - MigrateAndNotifyOldTargets: "Null", - }, + MigrateAndNotifyOldTargets: "Null" + } }, - /** Lookup644: pallet_xcm::pallet::RemoteLockedFungibleRecord */ + /** + * Lookup644: pallet_xcm::pallet::RemoteLockedFungibleRecord + **/ PalletXcmRemoteLockedFungibleRecord: { amount: "u128", owner: "XcmVersionedLocation", locker: "XcmVersionedLocation", - consumers: "Vec<(Null,u128)>", + consumers: "Vec<(Null,u128)>" }, - /** Lookup651: pallet_xcm::pallet::Error */ + /** + * Lookup651: pallet_xcm::pallet::Error + **/ PalletXcmError: { _enum: [ "Unreachable", @@ -5631,10 +6291,12 @@ export default { "InvalidAssetUnknownReserve", "InvalidAssetUnsupportedReserve", "TooManyReserves", - "LocalExecutionIncomplete", - ], + "LocalExecutionIncomplete" + ] }, - /** Lookup652: pallet_assets::types::AssetDetails */ + /** + * Lookup652: pallet_assets::types::AssetDetails + **/ PalletAssetsAssetDetails: { owner: "AccountId20", issuer: "AccountId20", @@ -5647,50 +6309,61 @@ export default { accounts: "u32", sufficients: "u32", approvals: "u32", - status: "PalletAssetsAssetStatus", + status: "PalletAssetsAssetStatus" }, - /** Lookup653: pallet_assets::types::AssetStatus */ + /** + * Lookup653: pallet_assets::types::AssetStatus + **/ PalletAssetsAssetStatus: { - _enum: ["Live", "Frozen", "Destroying"], + _enum: ["Live", "Frozen", "Destroying"] }, - /** Lookup655: pallet_assets::types::AssetAccount */ + /** + * Lookup655: pallet_assets::types::AssetAccount + **/ PalletAssetsAssetAccount: { balance: "u128", status: "PalletAssetsAccountStatus", reason: "PalletAssetsExistenceReason", - extra: "Null", + extra: "Null" }, - /** Lookup656: pallet_assets::types::AccountStatus */ + /** + * Lookup656: pallet_assets::types::AccountStatus + **/ PalletAssetsAccountStatus: { - _enum: ["Liquid", "Frozen", "Blocked"], + _enum: ["Liquid", "Frozen", "Blocked"] }, - /** Lookup657: pallet_assets::types::ExistenceReason */ + /** + * Lookup657: pallet_assets::types::ExistenceReason + **/ PalletAssetsExistenceReason: { _enum: { Consumer: "Null", Sufficient: "Null", DepositHeld: "u128", DepositRefunded: "Null", - DepositFrom: "(AccountId20,u128)", - }, + DepositFrom: "(AccountId20,u128)" + } }, - /** Lookup659: pallet_assets::types::Approval */ + /** + * Lookup659: pallet_assets::types::Approval + **/ PalletAssetsApproval: { amount: "u128", - deposit: "u128", + deposit: "u128" }, /** - * Lookup660: pallet_assets::types::AssetMetadata> - */ + * Lookup660: pallet_assets::types::AssetMetadata> + **/ PalletAssetsAssetMetadata: { deposit: "u128", name: "Bytes", symbol: "Bytes", decimals: "u8", - isFrozen: "bool", + isFrozen: "bool" }, - /** Lookup662: pallet_assets::pallet::Error */ + /** + * Lookup662: pallet_assets::pallet::Error + **/ PalletAssetsError: { _enum: [ "BalanceLow", @@ -5713,10 +6386,12 @@ export default { "IncorrectStatus", "NotFrozen", "CallbackFailed", - "BadAssetId", - ], + "BadAssetId" + ] }, - /** Lookup663: pallet_asset_manager::pallet::Error */ + /** + * Lookup663: pallet_asset_manager::pallet::Error + **/ PalletAssetManagerError: { _enum: [ "ErrorCreatingAsset", @@ -5726,10 +6401,12 @@ export default { "LocalAssetLimitReached", "ErrorDestroyingAsset", "NotSufficientDeposit", - "NonExistentLocalAsset", - ], + "NonExistentLocalAsset" + ] }, - /** Lookup664: pallet_xcm_transactor::relay_indices::RelayChainIndices */ + /** + * Lookup664: pallet_xcm_transactor::relay_indices::RelayChainIndices + **/ PalletXcmTransactorRelayIndicesRelayChainIndices: { staking: "u8", utility: "u8", @@ -5748,9 +6425,11 @@ export default { initOpenChannel: "u8", acceptOpenChannel: "u8", closeChannel: "u8", - cancelOpenRequest: "u8", + cancelOpenRequest: "u8" }, - /** Lookup665: pallet_xcm_transactor::pallet::Error */ + /** + * Lookup665: pallet_xcm_transactor::pallet::Error + **/ PalletXcmTransactorError: { _enum: [ "IndexAlreadyClaimed", @@ -5779,40 +6458,50 @@ export default { "HrmpHandlerNotImplemented", "TooMuchFeeUsed", "ErrorValidating", - "RefundNotSupportedWithTransactInfo", - ], + "RefundNotSupportedWithTransactInfo" + ] }, - /** Lookup666: pallet_ethereum_xcm::pallet::Error */ + /** + * Lookup666: pallet_ethereum_xcm::pallet::Error + **/ PalletEthereumXcmError: { - _enum: ["EthereumXcmExecutionSuspended"], + _enum: ["EthereumXcmExecutionSuspended"] }, - /** Lookup667: pallet_message_queue::BookState */ + /** + * Lookup667: pallet_message_queue::BookState + **/ PalletMessageQueueBookState: { _alias: { - size_: "size", + size_: "size" }, begin: "u32", end: "u32", count: "u32", readyNeighbours: "Option", messageCount: "u64", - size_: "u64", + size_: "u64" }, - /** Lookup669: pallet_message_queue::Neighbours */ + /** + * Lookup669: pallet_message_queue::Neighbours + **/ PalletMessageQueueNeighbours: { prev: "CumulusPrimitivesCoreAggregateMessageOrigin", - next: "CumulusPrimitivesCoreAggregateMessageOrigin", + next: "CumulusPrimitivesCoreAggregateMessageOrigin" }, - /** Lookup671: pallet_message_queue::Page */ + /** + * Lookup671: pallet_message_queue::Page + **/ PalletMessageQueuePage: { remaining: "u32", remainingSize: "u32", firstIndex: "u32", first: "u32", last: "u32", - heap: "Bytes", + heap: "Bytes" }, - /** Lookup673: pallet_message_queue::pallet::Error */ + /** + * Lookup673: pallet_message_queue::pallet::Error + **/ PalletMessageQueueError: { _enum: [ "NotReapable", @@ -5823,14 +6512,18 @@ export default { "InsufficientWeight", "TemporarilyUnprocessable", "QueuePaused", - "RecursiveDisallowed", - ], + "RecursiveDisallowed" + ] }, - /** Lookup675: pallet_moonbeam_foreign_assets::AssetStatus */ + /** + * Lookup675: pallet_moonbeam_foreign_assets::AssetStatus + **/ PalletMoonbeamForeignAssetsAssetStatus: { - _enum: ["Active", "FrozenXcmDepositAllowed", "FrozenXcmDepositForbidden"], + _enum: ["Active", "FrozenXcmDepositAllowed", "FrozenXcmDepositForbidden"] }, - /** Lookup676: pallet_moonbeam_foreign_assets::pallet::Error */ + /** + * Lookup676: pallet_moonbeam_foreign_assets::pallet::Error + **/ PalletMoonbeamForeignAssetsError: { _enum: [ "AssetAlreadyExists", @@ -5846,10 +6539,12 @@ export default { "InvalidSymbol", "InvalidTokenName", "LocationAlreadyExists", - "TooManyForeignAssets", - ], + "TooManyForeignAssets" + ] }, - /** Lookup678: pallet_xcm_weight_trader::pallet::Error */ + /** + * Lookup678: pallet_xcm_weight_trader::pallet::Error + **/ PalletXcmWeightTraderError: { _enum: [ "AssetAlreadyAdded", @@ -5857,27 +6552,37 @@ export default { "AssetNotFound", "AssetNotPaused", "XcmLocationFiltered", - "PriceCannotBeZero", - ], + "PriceCannotBeZero" + ] }, - /** Lookup679: pallet_emergency_para_xcm::XcmMode */ + /** + * Lookup679: pallet_emergency_para_xcm::XcmMode + **/ PalletEmergencyParaXcmXcmMode: { - _enum: ["Normal", "Paused"], + _enum: ["Normal", "Paused"] }, - /** Lookup680: pallet_emergency_para_xcm::pallet::Error */ + /** + * Lookup680: pallet_emergency_para_xcm::pallet::Error + **/ PalletEmergencyParaXcmError: { - _enum: ["NotInPausedMode"], + _enum: ["NotInPausedMode"] }, - /** Lookup682: pallet_precompile_benchmarks::pallet::Error */ + /** + * Lookup682: pallet_precompile_benchmarks::pallet::Error + **/ PalletPrecompileBenchmarksError: { - _enum: ["BenchmarkError"], + _enum: ["BenchmarkError"] }, - /** Lookup683: pallet_randomness::types::RequestState */ + /** + * Lookup683: pallet_randomness::types::RequestState + **/ PalletRandomnessRequestState: { request: "PalletRandomnessRequest", - deposit: "u128", + deposit: "u128" }, - /** Lookup684: pallet_randomness::types::Request> */ + /** + * Lookup684: pallet_randomness::types::Request> + **/ PalletRandomnessRequest: { refundAddress: "H160", contractAddress: "H160", @@ -5885,28 +6590,36 @@ export default { gasLimit: "u64", numWords: "u8", salt: "H256", - info: "PalletRandomnessRequestInfo", + info: "PalletRandomnessRequestInfo" }, - /** Lookup685: pallet_randomness::types::RequestInfo */ + /** + * Lookup685: pallet_randomness::types::RequestInfo + **/ PalletRandomnessRequestInfo: { _enum: { BabeEpoch: "(u64,u64)", - Local: "(u32,u32)", - }, + Local: "(u32,u32)" + } }, - /** Lookup686: pallet_randomness::types::RequestType */ + /** + * Lookup686: pallet_randomness::types::RequestType + **/ PalletRandomnessRequestType: { _enum: { BabeEpoch: "u64", - Local: "u32", - }, + Local: "u32" + } }, - /** Lookup687: pallet_randomness::types::RandomnessResult */ + /** + * Lookup687: pallet_randomness::types::RandomnessResult + **/ PalletRandomnessRandomnessResult: { randomness: "Option", - requestCount: "u64", + requestCount: "u64" }, - /** Lookup688: pallet_randomness::pallet::Error */ + /** + * Lookup688: pallet_randomness::pallet::Error + **/ PalletRandomnessError: { _enum: [ "RequestCounterOverflowed", @@ -5920,33 +6633,55 @@ export default { "OnlyRequesterCanIncreaseFee", "RequestHasNotExpired", "RandomnessResultDNE", - "RandomnessResultNotFilled", - ], + "RandomnessResultNotFilled" + ] }, - /** Lookup691: frame_system::extensions::check_non_zero_sender::CheckNonZeroSender */ + /** + * Lookup691: frame_system::extensions::check_non_zero_sender::CheckNonZeroSender + **/ FrameSystemExtensionsCheckNonZeroSender: "Null", - /** Lookup692: frame_system::extensions::check_spec_version::CheckSpecVersion */ + /** + * Lookup692: frame_system::extensions::check_spec_version::CheckSpecVersion + **/ FrameSystemExtensionsCheckSpecVersion: "Null", - /** Lookup693: frame_system::extensions::check_tx_version::CheckTxVersion */ + /** + * Lookup693: frame_system::extensions::check_tx_version::CheckTxVersion + **/ FrameSystemExtensionsCheckTxVersion: "Null", - /** Lookup694: frame_system::extensions::check_genesis::CheckGenesis */ + /** + * Lookup694: frame_system::extensions::check_genesis::CheckGenesis + **/ FrameSystemExtensionsCheckGenesis: "Null", - /** Lookup697: frame_system::extensions::check_nonce::CheckNonce */ + /** + * Lookup697: frame_system::extensions::check_nonce::CheckNonce + **/ FrameSystemExtensionsCheckNonce: "Compact", - /** Lookup698: frame_system::extensions::check_weight::CheckWeight */ + /** + * Lookup698: frame_system::extensions::check_weight::CheckWeight + **/ FrameSystemExtensionsCheckWeight: "Null", - /** Lookup699: pallet_transaction_payment::ChargeTransactionPayment */ + /** + * Lookup699: pallet_transaction_payment::ChargeTransactionPayment + **/ PalletTransactionPaymentChargeTransactionPayment: "Compact", - /** Lookup700: frame_metadata_hash_extension::CheckMetadataHash */ + /** + * Lookup700: frame_metadata_hash_extension::CheckMetadataHash + **/ FrameMetadataHashExtensionCheckMetadataHash: { - mode: "FrameMetadataHashExtensionMode", + mode: "FrameMetadataHashExtensionMode" }, - /** Lookup701: frame_metadata_hash_extension::Mode */ + /** + * Lookup701: frame_metadata_hash_extension::Mode + **/ FrameMetadataHashExtensionMode: { - _enum: ["Disabled", "Enabled"], + _enum: ["Disabled", "Enabled"] }, - /** Lookup702: cumulus_primitives_storage_weight_reclaim::StorageWeightReclaim */ + /** + * Lookup702: cumulus_primitives_storage_weight_reclaim::StorageWeightReclaim + **/ CumulusPrimitivesStorageWeightReclaimStorageWeightReclaim: "Null", - /** Lookup704: moonriver_runtime::Runtime */ - MoonriverRuntimeRuntime: "Null", + /** + * Lookup704: moonriver_runtime::Runtime + **/ + MoonriverRuntimeRuntime: "Null" }; diff --git a/typescript-api/src/moonriver/interfaces/moon/definitions.ts b/typescript-api/src/moonriver/interfaces/moon/definitions.ts index 745e4404ef..9f581c812e 100644 --- a/typescript-api/src/moonriver/interfaces/moon/definitions.ts +++ b/typescript-api/src/moonriver/interfaces/moon/definitions.ts @@ -3,6 +3,6 @@ import { moonbeamDefinitions } from "moonbeam-types-bundle"; export default { types: {}, rpc: { - ...moonbeamDefinitions.rpc?.moon, - }, + ...moonbeamDefinitions.rpc?.moon + } }; diff --git a/typescript-api/src/moonriver/interfaces/registry.ts b/typescript-api/src/moonriver/interfaces/registry.ts index bb9a4762a4..0017c0aa77 100644 --- a/typescript-api/src/moonriver/interfaces/registry.ts +++ b/typescript-api/src/moonriver/interfaces/registry.ts @@ -400,7 +400,7 @@ import type { XcmVersionedAssets, XcmVersionedLocation, XcmVersionedResponse, - XcmVersionedXcm, + XcmVersionedXcm } from "@polkadot/types/lookup"; declare module "@polkadot/types/types/registry" { diff --git a/typescript-api/src/moonriver/interfaces/types-lookup.ts b/typescript-api/src/moonriver/interfaces/types-lookup.ts index 3d3778025b..08414f4828 100644 --- a/typescript-api/src/moonriver/interfaces/types-lookup.ts +++ b/typescript-api/src/moonriver/interfaces/types-lookup.ts @@ -26,7 +26,7 @@ import type { u16, u32, u64, - u8, + u8 } from "@polkadot/types-codec"; import type { ITuple } from "@polkadot/types-codec/types"; import type { Vote } from "@polkadot/types/interfaces/elections"; @@ -36,7 +36,7 @@ import type { H160, H256, Perbill, - Percent, + Percent } from "@polkadot/types/interfaces/runtime"; import type { Event } from "@polkadot/types/interfaces/system"; diff --git a/typescript-api/tsup.config.ts b/typescript-api/tsup.config.ts index d0295ca705..f94bb15b49 100644 --- a/typescript-api/tsup.config.ts +++ b/typescript-api/tsup.config.ts @@ -1,38 +1,44 @@ -import { defineConfig } from 'tsup' -import { execSync } from 'child_process' +import { defineConfig } from "tsup"; +import { execSync } from "node:child_process"; export default defineConfig([ { - entry: ['src/moonbeam'], - outDir: 'dist/moonbeam', - format: ['esm', 'cjs'], + entry: ["src/moonbeam"], + outDir: "dist/moonbeam", + format: ["esm", "cjs"], splitting: false, clean: true, onSuccess: async () => { - console.log('Running tsc for moonbeam...') - execSync('pnpm tsc -p src/moonbeam/tsconfig.json --emitDeclarationOnly', { stdio: 'inherit' }) + console.log("Running tsc for moonbeam..."); + execSync("pnpm tsc -p src/moonbeam/tsconfig.json --emitDeclarationOnly", { + stdio: "inherit" + }); } }, { - entry: ['src/moonriver'], - outDir: 'dist/moonriver', - format: ['esm', 'cjs'], + entry: ["src/moonriver"], + outDir: "dist/moonriver", + format: ["esm", "cjs"], splitting: false, clean: true, onSuccess: async () => { - console.log('Running tsc for moonriver...') - execSync('pnpm tsc -p src/moonriver/tsconfig.json --emitDeclarationOnly', { stdio: 'inherit' }) + console.log("Running tsc for moonriver..."); + execSync("pnpm tsc -p src/moonriver/tsconfig.json --emitDeclarationOnly", { + stdio: "inherit" + }); } }, { - entry: ['src/moonbase'], - outDir: 'dist/moonbase', - format: ['esm', 'cjs'], + entry: ["src/moonbase"], + outDir: "dist/moonbase", + format: ["esm", "cjs"], splitting: false, clean: true, onSuccess: async () => { - console.log('Running tsc for moonbase...') - execSync('pnpm tsc -p src/moonbase/tsconfig.json --emitDeclarationOnly', { stdio: 'inherit' }) + console.log("Running tsc for moonbase..."); + execSync("pnpm tsc -p src/moonbase/tsconfig.json --emitDeclarationOnly", { + stdio: "inherit" + }); } } -]) +]);