diff --git a/.github/workflows/get_projects_status.yaml b/.github/workflows/get_projects_status.yaml deleted file mode 100644 index 22ad390f..00000000 --- a/.github/workflows/get_projects_status.yaml +++ /dev/null @@ -1,40 +0,0 @@ -name: Projects healthcheck - -on: - schedule: - - cron: '0 0/4 * * *' - workflow_dispatch: - -env: - SUBQUERY_TOKEN: ${{ secrets.SUBQUERY_TOKEN }} - TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} - TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} - -jobs: - generate_project_list: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - - name: Install python dependencies - run: | - python -m pip install --upgrade pip - pip install -r ./scripts/python_scripts/requirements.txt - - - name: Generate table - run: python ./scripts/python_scripts/generate_network_status.py - - - uses: actions/checkout@v2 - with: - ref: gh-pages - path: gh-pages - - - name: Copy table to gh-pages - run: mv ./gh-pages-temp/README.md ./gh-pages/README.md - - - name: Deploy report to Github Pages - uses: peaceiris/actions-gh-pages@v2 - env: - PERSONAL_TOKEN: ${{ secrets.GITHUB_TOKEN }} - PUBLISH_BRANCH: gh-pages - PUBLISH_DIR: gh-pages diff --git a/.github/workflows/manual_deploy_to_stg.yaml b/.github/workflows/manual_deploy_to_stg.yaml deleted file mode 100644 index f2a4246e..00000000 --- a/.github/workflows/manual_deploy_to_stg.yaml +++ /dev/null @@ -1,114 +0,0 @@ -name: Manual deploy to staging - -on: - workflow_dispatch: - inputs: - networks: - description: 'Which networks will deploy?' - required: true - type: string - batch_size: - description: 'Set batch size [Documentation](https://doc.subquery.network/academy/tutorials_examples/batch-size.html#why-change-the-batch-size)' - required: true - default: "15" - indexer_image_version: - description: 'Version of docker image for indexer' - required: true - default: v0.33.0 - query_image_version: - description: 'Version of docker image for query' - required: true - default: v0.14.1 - subquery_cli_version: - description: '[CLI](https://github.com/fewensa/subquery-cli/releases) version' - required: true - default: 0.2.6 - reindex: - description: 'Re-index these networks? ⚠️Attention this will clear all data on stage env⚠️' - required: true - type: boolean - default: false - -env: - SUBQUERY_ORG: nova-wallet - -jobs: - - setup: - runs-on: ubuntu-latest - outputs: - matrix: ${{ steps.set-matrix.outputs.matrix }} - steps: - - id: set-matrix - run: | - list_elements=(${{ github.event.inputs.networks }}) - JSON="{\"include\":[" - - for item in ${list_elements[*]} - do - JSONline="{\"chain\": \"$item\"}," - - if [[ "$JSON" != *"$JSONline"* ]]; then - JSON="$JSON$JSONline" - fi - echo $item - done <<< "$DIFF" - - # Remove last "," and add closing brackets - if [[ $JSON == *, ]]; then - JSON="${JSON%?}" - fi - JSON="$JSON]}" - echo $JSON - - echo "::set-output name=matrix::$( echo "$JSON" )" - - - deploy-subquery: - needs: setup - name: Deploy subquery - runs-on: ubuntu-latest - strategy: - fail-fast: false - max-parallel: 5 - matrix: ${{fromJson(needs.setup.outputs.matrix)}} - - steps: - - uses: actions/checkout@v2 - - - name: Install dependencies - run: | - mkdir -p $HOME/.local/bin - curl -LO https://github.com/fewensa/subquery-cli/releases/download/v${{ github.event.inputs.subquery_cli_version }}/subquery-linux-x86_64.zip - unzip subquery-linux-x86_64.zip -d $HOME/.local/bin/ - rm -rf subquery-linux-x86_64.zip - - name: Get branch name - id: branch-name - uses: tj-actions/branch-names@v5.1 - - - name: Deploy - if: ${{ github.event.inputs.reindex == 'false' }} - run: | - subquery --token ${{ secrets.SUBQUERY_TOKEN }} deployment deploy \ - --org ${{ env.SUBQUERY_ORG }} \ - --key nova-wallet-${{ matrix.chain }} \ - --branch deploy \ - --sub-folder ./networks/${{ matrix.chain }} \ - --type stage \ - --indexer-image-version ${{ github.event.inputs.indexer_image_version }} \ - --query-image-version ${{ github.event.inputs.query_image_version }} \ - --batch-size ${{ github.event.inputs.batch_size }} - - - name: Redeploy - if: ${{ github.event.inputs.reindex == 'true' }} - run: | - subquery --token ${{ secrets.SUBQUERY_TOKEN }} deployment deploy \ - --org ${{ env.SUBQUERY_ORG }} \ - --key nova-wallet-${{ matrix.chain }} \ - --branch deploy \ - --sub-folder ./networks/${{ matrix.chain }} \ - --type stage \ - --indexer-image-version ${{ github.event.inputs.indexer_image_version }} \ - --query-image-version ${{ github.event.inputs.query_image_version }} \ - --batch-size ${{ github.event.inputs.batch_size }} \ - --force diff --git a/.github/workflows/pr_by_push_to_master.yaml b/.github/workflows/pr_by_push_to_master.yaml deleted file mode 100644 index d1472d55..00000000 --- a/.github/workflows/pr_by_push_to_master.yaml +++ /dev/null @@ -1,65 +0,0 @@ -name: Make pull request to deploy branch after push to master - -on: - push: - branches: - - 'master' - -jobs: - create_new_branch: - runs-on: ubuntu-latest - steps: - - name: Checkout to current branch - uses: actions/checkout@master - with: - ref: ${{ github.ref }} - - - name: Prepare brach to commit - run: bash ./scripts/prepare_folders.sh - - - name: Commit files - run: | - git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" - git config --local user.name "github-actions[bot]" - git add -f networks/**/ - git commit -m "Prepare to pull request to deploy branch" - - - name: Push changes - uses: ad-m/github-push-action@master - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - branch: refs/heads/update-deploy-${{github.run_number}} - - - create_new_pullrequest: - needs: create_new_branch - runs-on: ubuntu-latest - steps: - - name: Checkout to deploy branch - uses: actions/checkout@master - with: - ref: refs/heads/deploy - - - name: Debug - run: ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/' - - - name: Merge master to deploy - run: | - git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" - git config --local user.name "github-actions[bot]" - git fetch --all - git merge origin/master - git push - continue-on-error: true - - - uses: repo-sync/pull-request@v2 - name: Creating pull-request - with: - source_branch: "update-deploy-${{github.run_number}}" - destination_branch: "deploy" - pr_title: "Update deploy branch" - pr_body: | - Update deploy branch - pr_reviewer: "stepanLav" - pr_draft: false - github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/promote_to_production.yaml b/.github/workflows/promote_to_production.yaml deleted file mode 100644 index 1da2675c..00000000 --- a/.github/workflows/promote_to_production.yaml +++ /dev/null @@ -1,87 +0,0 @@ -name: Promote staging to production - -on: - workflow_dispatch: - inputs: - networks: - description: 'Which networks will promote?' - required: true - type: string - subquery_cli_version: - description: '[CLI](https://github.com/fewensa/subquery-cli/releases) version' - required: true - default: 0.2.5 - -env: - SUBQUERY_ORG: nova-wallet - SUBQUERY_TOKEN: ${{ secrets.SUBQUERY_TOKEN }} - - -jobs: - - setup: - runs-on: ubuntu-latest - outputs: - matrix: ${{ steps.set-matrix.outputs.matrix }} - steps: - - id: set-matrix - run: | - list_elements=(${{ github.event.inputs.networks }}) - JSON="{\"include\":[" - - for item in ${list_elements[*]} - do - JSONline="{\"chain\": \"$item\"}," - - if [[ "$JSON" != *"$JSONline"* ]]; then - JSON="$JSON$JSONline" - fi - echo $item - done <<< "$DIFF" - - # Remove last "," and add closing brackets - if [[ $JSON == *, ]]; then - JSON="${JSON%?}" - fi - JSON="$JSON]}" - echo $JSON - - echo "::set-output name=matrix::$( echo "$JSON" )" - - deploy-subquery: - needs: setup - name: Deploy subquery - runs-on: ubuntu-latest - strategy: - fail-fast: false - max-parallel: 5 - matrix: ${{fromJson(needs.setup.outputs.matrix)}} - env: - PROJECT_KEY: nova-wallet-${{ matrix.chain }} - - steps: - - uses: actions/checkout@v2 - - - name: Install python dependencies - run: | - python -m pip install --upgrade pip - pip install -r ./scripts/python_scripts/requirements.txt - - - name: Check current stage status - run: python -m pytest ./scripts/python_scripts/test_projects.py - - - name: Install dependencies for promote - run: | - mkdir -p $HOME/.local/bin - curl -LO https://github.com/fewensa/subquery-cli/releases/download/v${{ github.event.inputs.subquery_cli_version }}/subquery-linux-x86_64.zip - unzip subquery-linux-x86_64.zip -d $HOME/.local/bin/ - rm -rf subquery-linux-x86_64.zip - - name: Get branch name - id: branch-name - uses: tj-actions/branch-names@v5.1 - - - name: Promote to production - run: | - subquery --token ${{ secrets.SUBQUERY_TOKEN }} deployment promote \ - --org ${{ env.SUBQUERY_ORG }} \ - --key nova-wallet-${{ matrix.chain }} diff --git a/.github/workflows/deploy_to_ipfs.yaml b/.github/workflows/publish_to_ipfs.yaml similarity index 58% rename from .github/workflows/deploy_to_ipfs.yaml rename to .github/workflows/publish_to_ipfs.yaml index 5094d5d0..a006fab2 100644 --- a/.github/workflows/deploy_to_ipfs.yaml +++ b/.github/workflows/publish_to_ipfs.yaml @@ -1,14 +1,12 @@ -name: Manual deploy to IPFS +name: Publish to IPFS on: workflow_dispatch: env: - SUBQUERY_ORG: nova-wallet SUBQL_ACCESS_TOKEN: ${{ secrets.SUBQUERY_TOKEN }} jobs: - setup: runs-on: ubuntu-latest outputs: @@ -31,10 +29,9 @@ jobs: - name: 🏗 Build from sources run: yarn build - deploy-to-IPFS: needs: setup - name: 📬 Deploy to subquery IPFS + name: 📬 Deploy to SubQuery IPFS runs-on: ubuntu-latest strategy: fail-fast: false @@ -52,7 +49,7 @@ jobs: run: yarn codegen - name: 📬 Deploy to IPFS - run: | + run: | ./node_modules/.bin/subql publish -f ${{ matrix.project_file }} -o - uses: actions/upload-artifact@v2 @@ -60,30 +57,29 @@ jobs: name: cids path: .*cid - push-changed-cids: - needs: deploy-to-IPFS - name: 🏹 Push changes to branch - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - - name: Download built artifact - uses: actions/download-artifact@v2 - with: - name: cids - path: ./ipfs-cids - - - name: ➡️ Commit files - run: | - git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" - git config --local user.name "github-actions[bot]" - git add -f ipfs-cids - git commit -m "Update CIDs for IFPS" - - - name: 🏹 Push changes - uses: ad-m/github-push-action@master - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - branch: refs/heads/update-cids-${{github.run_number}} \ No newline at end of file + needs: deploy-to-IPFS + name: 🏹 Push changes to branch + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Download built artifact + uses: actions/download-artifact@v2 + with: + name: cids + path: ./ipfs-cids + + - name: ➡️ Commit files + run: | + git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" + git config --local user.name "github-actions[bot]" + git add -f ipfs-cids + git commit -m "Update CIDs for IFPS" + + - name: 🏹 Push changes + uses: ad-m/github-push-action@master + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + branch: refs/heads/update-cids-${{github.run_number}} diff --git a/.github/workflows/sync_workflow.yaml b/.github/workflows/sync_workflow.yaml new file mode 100644 index 00000000..a50c6730 --- /dev/null +++ b/.github/workflows/sync_workflow.yaml @@ -0,0 +1,63 @@ +name: Sync with subquery-common-api-polkadot-transactions + +on: + schedule: + - cron: "0 0 * * *" # Runs every day at midnight + workflow_dispatch: + +jobs: + sync: + runs-on: ubuntu-latest + + steps: + - name: Checkout current repository + uses: actions/checkout@v4 + with: + ref: master + + - name: Checkout subquery-common-api-polkadot-transactions repository + uses: actions/checkout@v4 + with: + repository: subquery/subquery-common-api-polkadot-transactions + path: subquery-common-api + + - name: Sync repositories + run: | + rsync -av --exclude='ipfs-cids/*-cid' --exclude='README.md' --exclude='NOTICE' --exclude='*.yaml' subquery-common-api/ . + + - name: Remove repository + run: | + rm -rf subquery-common-api + + - name: Create new branch + run: | + git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" + git config --local user.name "github-actions[bot]" + git checkout -b sync-branch + git add -A + git commit -m "Sync with subquery-common-api-polkadot-transactions" + working-directory: ${{ github.workspace }} + + - name: Push changes + run: | + git push -f https://github.com/novasamatech/subquery-nova.git sync-branch + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + working-directory: ${{ github.workspace }} + + create-pr: + runs-on: ubuntu-latest + needs: sync + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Create Pull Request + uses: repo-sync/pull-request@v2 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + source_branch: sync-branch + destination_branch: master + pr_title: "Sync with subquery-common-api-polkadot-transactions" + pr_body: "This PR syncs the repository with subquery-common-api-polkadot-transactions" + pr_reviewer: "stepanLav,valentun,ERussel" diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100755 index 00000000..d24fdfc6 --- /dev/null +++ b/.husky/pre-commit @@ -0,0 +1,4 @@ +#!/usr/bin/env sh +. "$(dirname -- "$0")/_/husky.sh" + +npx lint-staged diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 00000000..31f6789e --- /dev/null +++ b/.prettierignore @@ -0,0 +1,3 @@ +src/types +dist + diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 00000000..0967ef42 --- /dev/null +++ b/.prettierrc @@ -0,0 +1 @@ +{} diff --git a/3dpass.yaml b/3dpass.yaml index 70493363..eb2d040e 100644 --- a/3dpass.yaml +++ b/3dpass.yaml @@ -3,17 +3,19 @@ name: subquery-nova-3DPass version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x6c5894837ad89b6d92b114a2fb3eafa8fe3d26a54848e3447015442cd6ef4e66' + chainId: "0x6c5894837ad89b6d92b114a2fb3eafa8fe3d26a54848e3447015442cd6ef4e66" endpoint: >- wss://rpc2.3dpass.org dataSources: diff --git a/NOTICE b/NOTICE index b26c9e49..d53aa0be 100644 --- a/NOTICE +++ b/NOTICE @@ -1,3 +1,8 @@ +SubQuery Pte Ltd + +Copyright 2022-2023 SubQuery PTE. LTD. +This product includes software developed at SubQuery PTE. LTD. + SubQuery Nova Copyright 2022-2023 Novasama Technologies PTE. LTD. diff --git a/README.md b/README.md index 6702a710..cb5b31f2 100644 --- a/README.md +++ b/README.md @@ -5,14 +5,18 @@ This repo contains implementation of [SubQuery](https://github.com/subquery/subq # Get Started ### For local run you can use special script in each network directory + ```shell -sh local-runner.sh ${paroject_file}.yaml +sh local-runner.sh ${project_file}.yaml ``` ### In order to deploy new project + ```shell -./node_modules/.bin/subql publish -f ${paroject_file}.yaml +./node_modules/.bin/subql publish -f ${project_file}.yaml ``` + ## License + SubQuery Nova is available under the Apache 2.0 license. See the LICENSE file for more info. -© Novasama Technologies GmbH 2023 \ No newline at end of file +© Novasama Technologies GmbH 2023 diff --git a/acala.yaml b/acala.yaml index e32ab0f1..e04676fb 100644 --- a/acala.yaml +++ b/acala.yaml @@ -3,17 +3,19 @@ name: subquery-nova-acala version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0xfc41b9bd8ef8fe53d58c7ea67c794c7ec9a73daf05e6d54b14ff6342c99ba64c' + chainId: "0xfc41b9bd8ef8fe53d58c7ea67c794c7ec9a73daf05e6d54b14ff6342c99ba64c" endpoint: >- wss://acala.polkawallet.io dictionary: https://api.subquery.network/sq/subquery/acala-dictionary @@ -47,4 +49,4 @@ dataSources: kind: substrate/EventHandler filter: module: parachainStaking - method: Rewarded \ No newline at end of file + method: Rewarded diff --git a/ajuna.yaml b/ajuna.yaml index 618c8352..69437075 100644 --- a/ajuna.yaml +++ b/ajuna.yaml @@ -3,17 +3,17 @@ name: subquery-nova-ajuna version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0xe358eb1d11b31255a286c12e44fe6780b7edb171d657905a97e39f71d9c6c3ee' + chainId: "0xe358eb1d11b31255a286c12e44fe6780b7edb171d657905a97e39f71d9c6c3ee" endpoint: >- wss://ajuna.public.curie.radiumblock.co/ws chaintypes: diff --git a/aleph-zero.yaml b/aleph-zero.yaml index 199f0df5..e5aa80d3 100644 --- a/aleph-zero.yaml +++ b/aleph-zero.yaml @@ -3,17 +3,19 @@ name: subquery-nova-aleph-zero version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x70255b4d28de0fc4e1a193d7e175ad1ccef431598211c55538f1018651a0344e' + chainId: "0x70255b4d28de0fc4e1a193d7e175ad1ccef431598211c55538f1018651a0344e" endpoint: wss://ws.azero.dev chaintypes: file: ./dist/alephZeroChaintypes.js diff --git a/altair.yaml b/altair.yaml index e237457d..fadf8fc4 100644 --- a/altair.yaml +++ b/altair.yaml @@ -3,17 +3,19 @@ name: subquery-nova-altair version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0xaa3876c1dc8a1afcc2e9a685a49ff7704cfd36ad8c90bf2702b9d1b00cc40011' + chainId: "0xaa3876c1dc8a1afcc2e9a685a49ff7704cfd36ad8c90bf2702b9d1b00cc40011" endpoint: >- wss://fullnode.altair.centrifuge.io dictionary: https://api.subquery.network/sq/subquery/altair-dictionary diff --git a/amplitude.yaml b/amplitude.yaml index 0be701c3..0f12b144 100644 --- a/amplitude.yaml +++ b/amplitude.yaml @@ -3,17 +3,19 @@ name: subquery-nova-amplitude version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0xcceae7f3b9947cdb67369c026ef78efa5f34a08fe5808d373c04421ecf4f1aaf' + chainId: "0xcceae7f3b9947cdb67369c026ef78efa5f34a08fe5808d373c04421ecf4f1aaf" endpoint: >- wss://rpc-amplitude.pendulumchain.tech dataSources: diff --git a/astar.yaml b/astar.yaml index 61779d3c..1b9ca937 100644 --- a/astar.yaml +++ b/astar.yaml @@ -3,17 +3,21 @@ name: subquery-nova-astar version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x9eb76c5184c4ab8679d2d5d819fdf90b9c001403e9e17da2e14b6d8aec4029c6' + chainId: "0x9eb76c5184c4ab8679d2d5d819fdf90b9c001403e9e17da2e14b6d8aec4029c6" + chaintypes: + file: ./dist/astarChaintypes.js endpoint: wss://rpc.astar.network dictionary: https://api.subquery.network/sq/subquery/astar-dictionary dataSources: diff --git a/avail.yaml b/avail.yaml index fd90f42a..2567bc51 100644 --- a/avail.yaml +++ b/avail.yaml @@ -3,17 +3,19 @@ name: subquery-nova-avail version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x128ea318539862c0a06b745981300d527c1041c6f3388a8c49565559e3ea3d10' + chainId: "0x128ea318539862c0a06b745981300d527c1041c6f3388a8c49565559e3ea3d10" endpoint: >- wss://zeref-api.slowops.xyz/ws chaintypes: diff --git a/aventus.yaml b/aventus.yaml index b1db6d67..58c555ce 100644 --- a/aventus.yaml +++ b/aventus.yaml @@ -3,17 +3,19 @@ name: subquery-nova-aventus version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x8b5c955b5c8fd7112562327e3859473df4e3dff49bd72a113dbb668d2cfa20d7' + chainId: "0x8b5c955b5c8fd7112562327e3859473df4e3dff49bd72a113dbb668d2cfa20d7" endpoint: wss://public-rpc.mainnet.aventus.io dataSources: - name: main diff --git a/bajun.yaml b/bajun.yaml index 5cf8d2e8..2fa7e8bb 100644 --- a/bajun.yaml +++ b/bajun.yaml @@ -3,17 +3,19 @@ name: subquery-nova-bajun version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x35a06bfec2edf0ff4be89a6428ccd9ff5bd0167d618c5a0d4341f9600a458d14' + chainId: "0x35a06bfec2edf0ff4be89a6428ccd9ff5bd0167d618c5a0d4341f9600a458d14" endpoint: wss://bajun-rpc.dwellir.com dataSources: - name: main diff --git a/basilisk.yaml b/basilisk.yaml index 7e5f43ed..db50fb3d 100644 --- a/basilisk.yaml +++ b/basilisk.yaml @@ -3,17 +3,19 @@ name: subquery-nova-basilisk version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0xa85cfb9b9fd4d622a5b28289a02347af987d8f73fa3108450e2b4a11c1ce5755' + chainId: "0xa85cfb9b9fd4d622a5b28289a02347af987d8f73fa3108450e2b4a11c1ce5755" endpoint: wss://basilisk-rpc.dwellir.com dictionary: https://api.subquery.network/sq/subquery/basilisk-dictionary chaintypes: diff --git a/bifrost-polkadot.yaml b/bifrost-polkadot.yaml index b25df036..12bd77c6 100644 --- a/bifrost-polkadot.yaml +++ b/bifrost-polkadot.yaml @@ -3,17 +3,19 @@ name: subquery-nova-bifrost-polkadot version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x262e1b2ad728475fd6fe88e62d34c200abe6fd693931ddad144059b1eb884e5b' + chainId: "0x262e1b2ad728475fd6fe88e62d34c200abe6fd693931ddad144059b1eb884e5b" endpoint: wss://hk.p.bifrost-rpc.liebi.com/ws dictionary: https://api.subquery.network/sq/subquery/bifrost-parachain-dictionary chaintypes: diff --git a/bifrost.yaml b/bifrost.yaml index e5f66f96..abaf3e99 100644 --- a/bifrost.yaml +++ b/bifrost.yaml @@ -3,17 +3,19 @@ name: subquery-nova-bifrost version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x9f28c6a68e0fc9646eff64935684f6eeeece527e37bbe1f213d22caa1d9d6bed' + chainId: "0x9f28c6a68e0fc9646eff64935684f6eeeece527e37bbe1f213d22caa1d9d6bed" endpoint: >- wss://bifrost-parachain.api.onfinality.io/public-ws dictionary: https://api.subquery.network/sq/subquery/bifrost-parachain-dictionary diff --git a/bit-country.yaml b/bit-country.yaml index e38b8e23..0521dc70 100644 --- a/bit-country.yaml +++ b/bit-country.yaml @@ -3,17 +3,19 @@ name: subquery-nova-bit-country version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0xf22b7850cdd5a7657bbfd90ac86441275bbc57ace3d2698a740c7b0ec4de5ec3' + chainId: "0xf22b7850cdd5a7657bbfd90ac86441275bbc57ace3d2698a740c7b0ec4de5ec3" endpoint: >- wss://pioneer.api.onfinality.io/public-ws dictionary: https://api.subquery.network/sq/subquery/bitcountry-pioneer-dictionary diff --git a/bittensor.yaml b/bittensor.yaml index b239df60..6a22b8a7 100644 --- a/bittensor.yaml +++ b/bittensor.yaml @@ -3,17 +3,19 @@ name: subquery-nova-bittensor version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x2f0555cc76fc2840a25a6ea3b9637146806f1f44b090c175ffde2a7e5ab36c03' + chainId: "0x2f0555cc76fc2840a25a6ea3b9637146806f1f44b090c175ffde2a7e5ab36c03" endpoint: wss://entrypoint-finney.opentensor.ai:443 chaintypes: file: ./dist/bittensorChaintypes.js diff --git a/calamari.yaml b/calamari.yaml index 76b0a4e1..05ca6907 100644 --- a/calamari.yaml +++ b/calamari.yaml @@ -3,17 +3,19 @@ name: subquery-nova-calamari version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x4ac80c99289841dd946ef92765bf659a307d39189b3ce374a92b5f0415ee17a1' + chainId: "0x4ac80c99289841dd946ef92765bf659a307d39189b3ce374a92b5f0415ee17a1" endpoint: wss://calamari.systems dictionary: https://api.subquery.network/sq/subquery/calamari-dictionary chaintypes: diff --git a/centrifuge.yaml b/centrifuge.yaml index da8529a2..87178dc8 100644 --- a/centrifuge.yaml +++ b/centrifuge.yaml @@ -3,17 +3,19 @@ name: subquery-nova-centrifuge version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0xb3db41421702df9a7fcac62b53ffeac85f7853cc4e689e0b93aeb3db18c09d82' + chainId: "0xb3db41421702df9a7fcac62b53ffeac85f7853cc4e689e0b93aeb3db18c09d82" endpoint: >- wss://fullnode.parachain.centrifuge.io chaintypes: diff --git a/chainTypes/acalaChaintypes.ts b/chainTypes/acalaChaintypes.ts index e8a52de6..c58ee377 100644 --- a/chainTypes/acalaChaintypes.ts +++ b/chainTypes/acalaChaintypes.ts @@ -1,5 +1,5 @@ -import { typesBundleForPolkadot as typesBundle } from '@acala-network/type-definitions'; +import { typesBundleForPolkadot as typesBundle } from "@acala-network/type-definitions"; export default { - typesBundle -}; \ No newline at end of file + typesBundle, +}; diff --git a/chainTypes/ajunaChaintypes.ts b/chainTypes/ajunaChaintypes.ts index 482ae940..78181eb9 100644 --- a/chainTypes/ajunaChaintypes.ts +++ b/chainTypes/ajunaChaintypes.ts @@ -1,6 +1,6 @@ // Adapted from https://github.com/polkadot-js/apps/blob/master/packages/apps-config/src/api/spec/ajuna.ts -import type { OverrideBundleDefinition } from '@polkadot/types/types'; +import type { OverrideBundleDefinition } from "@polkadot/types/types"; /* eslint-disable sort-keys */ const definitions: OverrideBundleDefinition = { @@ -9,11 +9,11 @@ const definitions: OverrideBundleDefinition = { // on all versions minmax: [0, undefined], types: { - Address: 'MultiAddress', - LookupSource: 'MultiAddress' - } - } - ] + Address: "MultiAddress", + LookupSource: "MultiAddress", + }, + }, + ], }; -export default { typesBundle: { spec: { "ajuna" : definitions }}} \ No newline at end of file +export default { typesBundle: { spec: { ajuna: definitions } } }; diff --git a/chainTypes/alephZeroChaintypes.ts b/chainTypes/alephZeroChaintypes.ts index e7143345..60419b66 100644 --- a/chainTypes/alephZeroChaintypes.ts +++ b/chainTypes/alephZeroChaintypes.ts @@ -3,17 +3,20 @@ /* eslint-disable sort-keys */ -import {OverrideBundleDefinition} from "@polkadot/types/types"; +import type { OverrideBundleDefinition } from "@polkadot/types/types"; + +// structs need to be in order +/* eslint-disable sort-keys */ const definitions: OverrideBundleDefinition = { - types: [ - { - minmax: [0, 4], - types: { - DispatchError: 'DispatchErrorPre6First', - } - }, - ] + types: [ + { + minmax: [3, undefined], + types: { + DispatchErrorModule: "DispatchErrorModuleU8", + }, + }, + ], }; -export default { typesBundle: { spec: { "aleph-node" : definitions }}}; \ No newline at end of file +export default { typesBundle: { spec: { "aleph-node": definitions } } }; diff --git a/chainTypes/altairTypes.json b/chainTypes/altairTypes.json index 70bbe3e4..7b70e7f6 100644 --- a/chainTypes/altairTypes.json +++ b/chainTypes/altairTypes.json @@ -1,14 +1,14 @@ { - "types": { - "ParachainAccountIdOf": "AccountId", - "Proof": { - "leafHash": "Hash", - "sortedHashes": "Vec" - }, - "ProxyType": { - "_enum": ["Any", "NonTransfer", "Governance", "_Staking", "NonProxy"] - }, - "RelayChainAccountId": "AccountId", - "RootHashOf": "Hash" - } - } \ No newline at end of file + "types": { + "ParachainAccountIdOf": "AccountId", + "Proof": { + "leafHash": "Hash", + "sortedHashes": "Vec" + }, + "ProxyType": { + "_enum": ["Any", "NonTransfer", "Governance", "_Staking", "NonProxy"] + }, + "RelayChainAccountId": "AccountId", + "RootHashOf": "Hash" + } +} diff --git a/chainTypes/astarChaintypes.ts b/chainTypes/astarChaintypes.ts new file mode 100644 index 00000000..4c8118a0 --- /dev/null +++ b/chainTypes/astarChaintypes.ts @@ -0,0 +1,63 @@ +// Copyright 2017-2023 @polkadot/types-known authors & contributors +// SPDX-License-Identifier: Apache-2.0 + +import type { OverrideBundleDefinition } from "@polkadot/types/types"; + +// structs need to be in order +/* eslint-disable sort-keys */ + +const definitions: OverrideBundleDefinition = { + types: [ + { + // on all versions + minmax: [0, undefined], + types: { + Keys: "AccountId", + Address: "MultiAddress", + LookupSource: "MultiAddress", + AmountOf: "Amount", + Amount: "i128", + SmartContract: { + _enum: { + Evm: "H160", + Wasm: "AccountId", + }, + }, + EraStakingPoints: { + total: "Balance", + stakers: "BTreeMap", + formerStakedEra: "EraIndex", + claimedRewards: "Balance", + }, + PalletDappsStakingEraStakingPoints: { + total: "Balance", + stakers: "BTreeMap", + formerStakedEra: "EraIndex", + claimedRewards: "Balance", + }, + EraRewardAndStake: { + rewards: "Balance", + staked: "Balance", + }, + PalletDappsStakingEraRewardAndStake: { + rewards: "Balance", + staked: "Balance", + }, + EraIndex: "u32", + // TODO awaiting an error at a future spec version to figure out the end range [3,undefined] + DispatchErrorModule: { + index: "u8", + error: "u8", + }, + }, + }, + { + minmax: [14, undefined], + types: { + EthTransaction: "LegacyTransaction", + }, + }, + ], +}; + +export default { typesBundle: { spec: { shiden: definitions } } }; diff --git a/chainTypes/basiliskChaintypes.ts b/chainTypes/basiliskChaintypes.ts index b0659901..cb7e3958 100644 --- a/chainTypes/basiliskChaintypes.ts +++ b/chainTypes/basiliskChaintypes.ts @@ -1,94 +1,107 @@ -import type { OverrideBundleDefinition } from '@polkadot/types/types'; +import type { OverrideBundleDefinition } from "@polkadot/types/types"; /* eslint-disable sort-keys */ const definitions: OverrideBundleDefinition = { - alias: { tokens: { AccountData: 'OrmlAccountData' } }, + alias: { tokens: { AccountData: "OrmlAccountData" } }, types: [ { // on all versions minmax: [0, undefined], types: { - AssetPair: { asset_in: 'AssetId', asset_out: 'AssetId' }, - Amount: 'i128', - AmountOf: 'Amount', - Address: 'AccountId', - OrmlAccountData: { free: 'Balance', frozen: 'Balance', reserved: 'Balance' }, - Fee: { numerator: 'u32', denominator: 'u32' }, - BalanceInfo: { amount: 'Balance', assetId: 'AssetId' }, - Chain: { genesisHash: 'Vec', lastBlockHash: 'Vec' }, - Currency: 'AssetId', - CurrencyId: 'AssetId', - CurrencyIdOf: 'AssetId', + AssetPair: { asset_in: "AssetId", asset_out: "AssetId" }, + Amount: "i128", + AmountOf: "Amount", + Address: "AccountId", + OrmlAccountData: { + free: "Balance", + frozen: "Balance", + reserved: "Balance", + }, + Fee: { numerator: "u32", denominator: "u32" }, + BalanceInfo: { amount: "Balance", assetId: "AssetId" }, + Chain: { genesisHash: "Vec", lastBlockHash: "Vec" }, + Currency: "AssetId", + CurrencyId: "AssetId", + CurrencyIdOf: "AssetId", Intention: { - who: 'AccountId', - asset_sell: 'AssetId', - asset_buy: 'AssetId', - amount: 'Balance', - discount: 'bool', - sell_or_buy: 'IntentionType' + who: "AccountId", + asset_sell: "AssetId", + asset_buy: "AssetId", + amount: "Balance", + discount: "bool", + sell_or_buy: "IntentionType", + }, + IntentionId: "Hash", + IntentionType: { _enum: ["SELL", "BUY"] }, + LookupSource: "AccountId", + Price: "Balance", + ClassId: "u64", + TokenId: "u64", + ClassData: { is_pool: "bool" }, + TokenData: { locked: "bool" }, + ClassInfo: { + metadata: "Vec", + total_issuance: "TokenId", + owner: "AccountId", + data: "ClassData", + }, + TokenInfo: { + metadata: "Vec", + owner: "AccountId", + data: "TokenData", }, - IntentionId: 'Hash', - IntentionType: { _enum: ['SELL', 'BUY'] }, - LookupSource: 'AccountId', - Price: 'Balance', - ClassId: 'u64', - TokenId: 'u64', - ClassData: { is_pool: 'bool' }, - TokenData: { locked: 'bool' }, - ClassInfo: { metadata: 'Vec', total_issuance: 'TokenId', owner: 'AccountId', data: 'ClassData' }, - TokenInfo: { metadata: 'Vec', owner: 'AccountId', data: 'TokenData' }, - ClassInfoOf: 'ClassInfo', - TokenInfoOf: 'TokenInfo', - ClassIdOf: 'ClassId', - TokenIdOf: 'TokenId', - OrderedSet: 'Vec', + ClassInfoOf: "ClassInfo", + TokenInfoOf: "TokenInfo", + ClassIdOf: "ClassId", + TokenIdOf: "TokenId", + OrderedSet: "Vec", VestingSchedule: { - start: 'BlockNumber', - period: 'BlockNumber', - period_count: 'u32', - per_period: 'Compact' + start: "BlockNumber", + period: "BlockNumber", + period_count: "u32", + per_period: "Compact", }, - VestingScheduleOf: 'VestingSchedule', - LBPWeight: 'u32', - WeightCurveType: { _enum: ['Linear'] }, - PoolId: 'AccountId', - BalanceOf: 'Balance', + VestingScheduleOf: "VestingSchedule", + LBPWeight: "u32", + WeightCurveType: { _enum: ["Linear"] }, + PoolId: "AccountId", + BalanceOf: "Balance", AssetType: { _enum: { - Token: 'Null', - PoolShare: '(AssetId,AssetId)' - } + Token: "Null", + PoolShare: "(AssetId,AssetId)", + }, }, Pool: { - owner: 'AccountId', - start: 'BlockNumber', - end: 'BlockNumber', - assets: 'AssetPair', - initial_weights: 'LBPWeight', - final_weights: 'LBPWeight', - weight_curve: 'WeightCurveType', - pausable: 'bool', - paused: 'bool', - fee: 'Fee', - fee_receiver: 'AccountId' + owner: "AccountId", + start: "BlockNumber", + end: "BlockNumber", + assets: "AssetPair", + initial_weights: "LBPWeight", + final_weights: "LBPWeight", + weight_curve: "WeightCurveType", + pausable: "bool", + paused: "bool", + fee: "Fee", + fee_receiver: "AccountId", }, AssetDetails: { - name: 'Vec', - asset_type: 'AssetType', - existential_deposit: 'Balance', - locked: 'bool' + name: "Vec", + asset_type: "AssetType", + existential_deposit: "Balance", + locked: "bool", }, - AssetDetailsT: 'AssetDetails', - AssetMetadata: { symbol: 'Vec', decimals: 'u8' }, - AssetInstance: 'AssetInstanceV1', - MultiLocation: 'MultiLocationV1', - MultiAsset: 'MultiAssetV1', - Xcm: 'XcmV1', - XcmOrder: 'XcmOrderV1' - } - } - ] + AssetDetailsT: "AssetDetails", + AssetMetadata: { symbol: "Vec", decimals: "u8" }, + AssetInstance: "AssetInstanceV1", + MultiLocation: "MultiLocationV1", + MultiAsset: "MultiAssetV1", + Xcm: "XcmV1", + XcmOrder: "XcmOrderV1", + }, + }, + ], }; -export default { typesBundle: { spec: { basilisk : definitions }}}; \ No newline at end of file +export default { typesBundle: { spec: { basilisk: definitions } } }; diff --git a/chainTypes/bifrostTypes.json b/chainTypes/bifrostTypes.json index cb104fda..a25270a5 100644 --- a/chainTypes/bifrostTypes.json +++ b/chainTypes/bifrostTypes.json @@ -1,3161 +1,3161 @@ { - "types": { - "CallOf": "Call", - "DispatchTime": { - "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" - } - }, - "ScheduleTaskIndex": "u32", - "DelayedOrigin": { - "delay": "BlockNumber", - "origin": "PalletsOrigin" - }, - "AuthorityOrigin": "DelayedOrigin", - "StorageValue": "Vec", - "GraduallyUpdate": { - "key": "StorageKey", - "targetValue": "StorageValue", - "perBlock": "StorageValue" - }, - "StorageKeyBytes": "Vec", - "StorageValueBytes": "Vec", - "RpcDataProviderId": "Text", - "DataProviderId": "u8", - "TimestampedValue": { - "value": "OracleValue", - "timestamp": "Moment" - }, - "TimestampedValueOf": "TimestampedValue", - "OrderedSet": "Vec", - "OrmlAccountData": { - "free": "Balance", - "reserved": "Balance", - "frozen": "Balance" - }, - "OrmlBalanceLock": { - "amount": "Balance", - "id": "LockIdentifier" - }, - "AuctionInfo": { - "bid": "Option<(AccountId, Balance)>", - "start": "BlockNumber", - "end": "Option" - }, - "DelayedDispatchTime": { - "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" - } - }, - "DispatchId": "u32", - "Price": "FixedU128", - "OrmlVestingSchedule": { - "start": "BlockNumber", - "period": "BlockNumber", - "periodCount": "u32", - "perPeriod": "Compact" - }, - "VestingScheduleOf": "OrmlVestingSchedule", - "PoolInfo": { - "pool_id": "PoolId", - "keeper": "AccountId", - "investor": "Option", - "trading_pair": "(CurrencyId, CurrencyId)", - "duration": "BlockNumber", - "type": "PoolType", - "min_deposit_to_start": "Balance", - "after_block_to_start": "BlockNumber", - "deposit": "Balance", - "rewards": "BTreeMap", - "update_b": "BlockNumber", - "state": "PoolState", - "block_startup": "Option", - "block_retired": "Option" - }, - "Share": "u128", - "OracleValue": "Price", - "BiddingOrderId": "u64", - "EraId": "u32", - "BiddingOrderUnit": { - "bidder_id": "AccountId", - "token_id": "AssetId", - "block_num": "BlockNumber", - "votes": "Balance", - "annual_roi": "Permill", - "validator": "AccountId" - }, - "BiddingOrderUnitOf": "BiddingOrderUnit", - "VersionId": "u32", - "PermissionName": "u64", - "PermissionLevel": { - "actor": "AccountName", - "permission": "PermissionName" - }, - "Action": { - "account": "AccountName", - "name": "ActionName", - "authorization": "Vec", - "data": "Vec" - }, - "AccountName": "u64", - "Checksum256": "([u8;32])", - "ActionName": "u64", - "FlatMap": { - "map": "Vec<(ActionName, u64)>" - }, - "UnsignedInt": "u32", - "ActionReceipt": { - "receiver": "AccountName", - "act_digest": "Checksum256", - "global_sequence": "u64", - "recv_sequence": "u64", - "auth_sequence": "FlatMap", - "code_sequence": "UnsignedInt", - "abi_sequence": "UnsignedInt" - }, - "BlockchainType": { - "_enum": ["BIFROST", "EOS", "IOST"] - }, - "Precision": "u32", - "BridgeAssetSymbol": { - "blockchain": "BlockchainType", - "symbol": "Vec", - "precision": "Precision" - }, - "PublicKey": { - "type_": "UnsignedInt", - "data": "[u8;33]" - }, - "ProducerKey": { - "producer_name": "AccountName", - "block_signing_key": "PublicKey" - }, - "ProducerSchedule": { - "version": "u32", - "producers": "Vec" - }, - "bridgeEosSignature": { - "type_": "UnsignedInt", - "data": "[u8;65]" - }, - "BlockTimestamp": "(u32)", - "Extension": "(u16, Vec)", - "BlockHeader": { - "timestamp": "BlockTimestamp", - "producer": "AccountName", - "confirmed": "u16", - "previous": "Checksum256", - "transaction_mroot": "Checksum256", - "action_mroot": "Checksum256", - "schedule_version": "u32", - "new_producers": "Option", - "header_extensions": "Vec" - }, - "SignedBlockHeader": { - "block_header": "BlockHeader", - "producer_signature": "bridgeEosSignature" - }, - "Checksum256Array": "Vec", - "IncrementalMerkle": { - "_node_count": "u64", - "_active_nodes": "Checksum256Array" - }, - "TxSig": { - "signature": "Vec", - "author": "AccountId" - }, - "MultiSig": { - "signatures": "Vec", - "threshold": "u8" - }, - "MultiSigTx": { - "chain_id": "Vec", - "raw_tx": "Vec", - "multi_sig": "MultiSig", - "action": "Action", - "from": "AccountId", - "asset_id": "AssetId" - }, - "Sent": { - "tx_id": "Vec", - "from": "AccountId", - "asset_id": "AssetId" - }, - "Succeeded": { - "tx_id": "Vec" - }, - "Failed": { - "tx_id": "Vec", - "reason": "Vec" - }, - "TxOut": { - "_enum": { - "Initialized": "MultiSigTx", - "Created": "MultiSigTx", - "SignComplete": "MultiSigTx", - "Sent": "Sent", - "Succeeded": "Succeeded", - "Failed": "Failed" - } - }, - "TransactionStatus": { - "_enum": [ - "Initialized", - "Created", - "SignComplete", - "Sent", - "Succeeded", - "Failed" - ] - }, - "ProducerAuthoritySchedule": { - "version": "u32", - "producers": "Vec" - }, - "ProducerAuthority": { - "producer_name": "ActionName", - "authority": "BlockSigningAuthority" - }, - "BlockSigningAuthority": "(UnsignedInt, BlockSigningAuthorityV0)", - "BlockSigningAuthorityV0": { - "threshold": "u32", - "keyWeights": "Vec" - }, - "KeyWeight": { - "key": "PublicKey", - "weight": "u16" - }, - "BancorPool": { - "currency_id": "CurrencyId", - "token_pool": "Balance", - "vstoken_pool": "Balance", - "token_ceiling": "Balance", - "token_base_supply": "Balance", - "vstoken_base_supply": "Balance" - }, - "IostAction": { - "contract": "Vec", - "action_name": "Vec", - "data": "Vec" - }, - "IostMultiSigTx": { - "chain_id": "i32", - "raw_tx": "Vec", - "multi_sig": "MultiSig", - "action": "IostAction", - "from": "AccountId", - "asset_id": "AssetId" - }, - "Processing": { - "tx_id": "Vec", - "multi_sig_tx": "IostMultiSigTx" - }, - "IostTxOut": { - "_enum": { - "Initial": "IostMultiSigTx", - "Generated": "IostMultiSigTx", - "Signed": "IostMultiSigTx", - "Processing": "Processing", - "Success": "Vec", - "Fail": "Failed" - } - }, - "PalletBalanceOf": "Balance", - "NumberOrHex": { - "_enum": { - "Number": "u64", - "Hex": "U256" - } - }, - "ExtraFeeName": { - "_enum": ["SalpContribute", "NoExtraFee"] - }, - "IsExtended": "bool", - "SystemPalletId": "PalletId", - "TrieIndex": "u32", - "FundInfo": { - "raised": "Balance", - "cap": "Balance", - "first_slot": "LeasePeriod", - "last_slot": "LeasePeriod", - "trie_index": "TrieIndex", - "status": "FundStatus" - }, - "RedeemStatus": "BalanceOf", - "FundStatus": { - "_enum": { - "Ongoing": 0, - "Retired": 1, - "Success": 2, - "Failed": 3, - "RefundWithdrew": 4, - "RedeemWithdrew": 5, - "End": 6 - } - }, - "ContributionStatus": { - "_enum": ["Idle", "Refunded", "Unlocked", "Refunding", "Contributing"] - }, - "CrowdloanContributeCall": { - "_enum": { - "CrowdloanContribute": "ContributeCall" - } - }, - "ContributeCall": { - "_enum": { - "Contribute": "Contribution" - } - }, - "Contribution": { - "index": "ParaId", - "value": "BalanceOf", - "signature": "Option" - }, - "Withdraw": { - "who": "AccountIdOf", - "index": "ParaId" - }, - "WithdrawCall": { - "_enum": { - "Withdraw": "Withdraw" - } - }, - "ParachainTransactProxyType": { - "_enum": { - "Primary": 0, - "Derived": 1 - } - }, - "ParachainDerivedProxyAccountType": { - "_enum": { - "Salp": 0, - "Staking": 1 - } - }, - "Keys": "SessionKeys1", - "ParachainTransactType": { - "_enum": { - "Xcm": 0, - "Proxy": 1 - } - }, - "RpcContributionStatus": { - "_enum": { - "Idle": 0, - "Contributing": 1, - "Refunded": 2, - "Unlocked": 3, - "Redeemed": 4 - } - }, - "RewardRecord": { - "account_id": "AccountId", - "record_amount": "Balance" - }, - "PoolId": "u32", - "SwapFee": "u128", - "PoolDetails": { - "owner": "AccountId", - "swap_fee_rate": "SwapFee", - "active": "bool" - }, - "PoolWeight": "Balance", - "PoolToken": "u128", - "PoolCreateTokenDetails": { - "token_id": "AssetId", - "token_balance": "Balance", - "token_weight": "PoolWeight" - }, - "MaxLocksOf": "u32", - "BifrostVestingInfo": { - "locked": "Balance", - "per_block": "Balance", - "starting_block": "BlockNumber" - }, - "OracleKey": "CurrencyId", - "BlockNumberFor": "BlockNumber", - "OrderId": "u64", - "OrderInfo": { - "owner": "AccountIdOf", - "vsbond": "CurrencyId", - "supply": "u128", - "remain": "u128", - "unit_price": "U64F64", - "order_id": "OrderId", - "order_state": "OrderState" - }, - "OrderState": { - "_enum": ["InTrade", "Revoked", "Clinchd"] - }, - "U64F64": "u128", - "ZenlinkAssetId": { - "chain_id": "u32", - "asset_type": "u8", - "asset_index": "u64" - }, - "ZenlinkAssetBalance": "u128", - "PairInfo": { - "asset0": "ZenlinkAssetId", - "asset1": "ZenlinkAssetId", - "account": "AccountId", - "totalLiquidity": "ZenlinkAssetBalance", - "holdingLiquidity": "ZenlinkAssetBalance", - "reserve0": "ZenlinkAssetBalance", - "reserve1": "ZenlinkAssetBalance", - "lpAssetId": "ZenlinkAssetId" - }, - "PairMetadata": { - "pair_account": "AccountId", - "target_supply": "ZenlinkAssetBalance" - }, - "BootstrapParamter": { - "min_contribution": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", - "target_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", - "accumulated_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", - "end_block_number": "BlockNumber", - "pair_account": "AccountId" - }, - "PairStatus": { - "_enum": { - "Trading": "PairMetadata", - "Bootstrap": "BootstrapParamter", - "Disable": null - } - }, - "TokenSymbol": { - "_enum": { - "ASG": 0, - "BNC": 1, - "KUSD": 2, - "DOT": 3, - "KSM": 4, - "ETH": 5, - "KAR": 6, - "ZLK": 7 - } - }, - "CurrencyId": { - "_enum": { - "Native": "TokenSymbol", - "VToken": "TokenSymbol", - "Token": "TokenSymbol", - "Stable": "TokenSymbol", - "VSToken": "TokenSymbol", - "VSBond": "(TokenSymbol, ParaId, LeasePeriod, LeasePeriod)", - "LPToken": "(TokenSymbol, u8, TokenSymbol, u8)" - } - }, - "CurrencyIdOf": "CurrencyId", - "TAssetBalance": "Balance", - "AmountOf": "Balance", - "StorageVersion": "Releases", - "ShareWeight": "Balance", - "Currency": "CurrencyIdOf", - "Amount": "AmountOf", - "TransferOriginType": { - "_enum": { - "FromSelf": 0, - "FromRelayChain": 1, - "FromSiblingParaChain": 2 - } - }, - "PoolType": { - "_enum": { - "Mining": 0, - "Farming": 1, - "EBFarming": 2 - } - }, - "PoolState": { - "_enum": { - "UnCharged": 0, - "Charged": 1, - "Ongoing": 2, - "Retired": 3, - "Dead": 4 - } - }, - "DepositData": { - "deposit": "Balance", - "gain_avgs": "BTreeMap", - "update_b": "BlockNumber" - }, - "RewardData": { - "total": "Balance", - "per_block": "Balance", - "claimed": "Balance", - "gain_avg": "FixedU128" - }, - "AssetInstance": "AssetInstanceV1" - }, - "typesBundle": { - "spec": { - "bifrost": { - "rpc": { - "oracle": { - "getValue": { - "description": "Retrieves the oracle value for a given key.", - "params": [ - { - "name": "providerId", - "type": "RpcDataProviderId" - }, - { - "name": "key", - "type": "OracleKey" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "Option", - "isSubscription": false, - "jsonrpc": "oracle_getValue", - "method": "getValue", - "section": "oracle" - }, - "getAllValues": { - "description": "Retrieves all oracle values.", - "params": [ - { - "name": "providerId", - "type": "RpcDataProviderId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "Vec<(OracleKey, Option)>", - "isSubscription": false, - "jsonrpc": "oracle_getAllValues", - "method": "getAllValues", - "section": "oracle" - } + "types": { + "CallOf": "Call", + "DispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" + }, + "AuthorityOrigin": "DelayedOrigin", + "StorageValue": "Vec", + "GraduallyUpdate": { + "key": "StorageKey", + "targetValue": "StorageValue", + "perBlock": "StorageValue" + }, + "StorageKeyBytes": "Vec", + "StorageValueBytes": "Vec", + "RpcDataProviderId": "Text", + "DataProviderId": "u8", + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" + }, + "TimestampedValueOf": "TimestampedValue", + "OrderedSet": "Vec", + "OrmlAccountData": { + "free": "Balance", + "reserved": "Balance", + "frozen": "Balance" + }, + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" + }, + "VestingScheduleOf": "OrmlVestingSchedule", + "PoolInfo": { + "pool_id": "PoolId", + "keeper": "AccountId", + "investor": "Option", + "trading_pair": "(CurrencyId, CurrencyId)", + "duration": "BlockNumber", + "type": "PoolType", + "min_deposit_to_start": "Balance", + "after_block_to_start": "BlockNumber", + "deposit": "Balance", + "rewards": "BTreeMap", + "update_b": "BlockNumber", + "state": "PoolState", + "block_startup": "Option", + "block_retired": "Option" + }, + "Share": "u128", + "OracleValue": "Price", + "BiddingOrderId": "u64", + "EraId": "u32", + "BiddingOrderUnit": { + "bidder_id": "AccountId", + "token_id": "AssetId", + "block_num": "BlockNumber", + "votes": "Balance", + "annual_roi": "Permill", + "validator": "AccountId" + }, + "BiddingOrderUnitOf": "BiddingOrderUnit", + "VersionId": "u32", + "PermissionName": "u64", + "PermissionLevel": { + "actor": "AccountName", + "permission": "PermissionName" + }, + "Action": { + "account": "AccountName", + "name": "ActionName", + "authorization": "Vec", + "data": "Vec" + }, + "AccountName": "u64", + "Checksum256": "([u8;32])", + "ActionName": "u64", + "FlatMap": { + "map": "Vec<(ActionName, u64)>" + }, + "UnsignedInt": "u32", + "ActionReceipt": { + "receiver": "AccountName", + "act_digest": "Checksum256", + "global_sequence": "u64", + "recv_sequence": "u64", + "auth_sequence": "FlatMap", + "code_sequence": "UnsignedInt", + "abi_sequence": "UnsignedInt" + }, + "BlockchainType": { + "_enum": ["BIFROST", "EOS", "IOST"] + }, + "Precision": "u32", + "BridgeAssetSymbol": { + "blockchain": "BlockchainType", + "symbol": "Vec", + "precision": "Precision" + }, + "PublicKey": { + "type_": "UnsignedInt", + "data": "[u8;33]" + }, + "ProducerKey": { + "producer_name": "AccountName", + "block_signing_key": "PublicKey" + }, + "ProducerSchedule": { + "version": "u32", + "producers": "Vec" + }, + "bridgeEosSignature": { + "type_": "UnsignedInt", + "data": "[u8;65]" + }, + "BlockTimestamp": "(u32)", + "Extension": "(u16, Vec)", + "BlockHeader": { + "timestamp": "BlockTimestamp", + "producer": "AccountName", + "confirmed": "u16", + "previous": "Checksum256", + "transaction_mroot": "Checksum256", + "action_mroot": "Checksum256", + "schedule_version": "u32", + "new_producers": "Option", + "header_extensions": "Vec" + }, + "SignedBlockHeader": { + "block_header": "BlockHeader", + "producer_signature": "bridgeEosSignature" + }, + "Checksum256Array": "Vec", + "IncrementalMerkle": { + "_node_count": "u64", + "_active_nodes": "Checksum256Array" + }, + "TxSig": { + "signature": "Vec", + "author": "AccountId" + }, + "MultiSig": { + "signatures": "Vec", + "threshold": "u8" + }, + "MultiSigTx": { + "chain_id": "Vec", + "raw_tx": "Vec", + "multi_sig": "MultiSig", + "action": "Action", + "from": "AccountId", + "asset_id": "AssetId" + }, + "Sent": { + "tx_id": "Vec", + "from": "AccountId", + "asset_id": "AssetId" + }, + "Succeeded": { + "tx_id": "Vec" + }, + "Failed": { + "tx_id": "Vec", + "reason": "Vec" + }, + "TxOut": { + "_enum": { + "Initialized": "MultiSigTx", + "Created": "MultiSigTx", + "SignComplete": "MultiSigTx", + "Sent": "Sent", + "Succeeded": "Succeeded", + "Failed": "Failed" + } + }, + "TransactionStatus": { + "_enum": [ + "Initialized", + "Created", + "SignComplete", + "Sent", + "Succeeded", + "Failed" + ] + }, + "ProducerAuthoritySchedule": { + "version": "u32", + "producers": "Vec" + }, + "ProducerAuthority": { + "producer_name": "ActionName", + "authority": "BlockSigningAuthority" + }, + "BlockSigningAuthority": "(UnsignedInt, BlockSigningAuthorityV0)", + "BlockSigningAuthorityV0": { + "threshold": "u32", + "keyWeights": "Vec" + }, + "KeyWeight": { + "key": "PublicKey", + "weight": "u16" + }, + "BancorPool": { + "currency_id": "CurrencyId", + "token_pool": "Balance", + "vstoken_pool": "Balance", + "token_ceiling": "Balance", + "token_base_supply": "Balance", + "vstoken_base_supply": "Balance" + }, + "IostAction": { + "contract": "Vec", + "action_name": "Vec", + "data": "Vec" + }, + "IostMultiSigTx": { + "chain_id": "i32", + "raw_tx": "Vec", + "multi_sig": "MultiSig", + "action": "IostAction", + "from": "AccountId", + "asset_id": "AssetId" + }, + "Processing": { + "tx_id": "Vec", + "multi_sig_tx": "IostMultiSigTx" + }, + "IostTxOut": { + "_enum": { + "Initial": "IostMultiSigTx", + "Generated": "IostMultiSigTx", + "Signed": "IostMultiSigTx", + "Processing": "Processing", + "Success": "Vec", + "Fail": "Failed" + } + }, + "PalletBalanceOf": "Balance", + "NumberOrHex": { + "_enum": { + "Number": "u64", + "Hex": "U256" + } + }, + "ExtraFeeName": { + "_enum": ["SalpContribute", "NoExtraFee"] + }, + "IsExtended": "bool", + "SystemPalletId": "PalletId", + "TrieIndex": "u32", + "FundInfo": { + "raised": "Balance", + "cap": "Balance", + "first_slot": "LeasePeriod", + "last_slot": "LeasePeriod", + "trie_index": "TrieIndex", + "status": "FundStatus" + }, + "RedeemStatus": "BalanceOf", + "FundStatus": { + "_enum": { + "Ongoing": 0, + "Retired": 1, + "Success": 2, + "Failed": 3, + "RefundWithdrew": 4, + "RedeemWithdrew": 5, + "End": 6 + } + }, + "ContributionStatus": { + "_enum": ["Idle", "Refunded", "Unlocked", "Refunding", "Contributing"] + }, + "CrowdloanContributeCall": { + "_enum": { + "CrowdloanContribute": "ContributeCall" + } + }, + "ContributeCall": { + "_enum": { + "Contribute": "Contribution" + } + }, + "Contribution": { + "index": "ParaId", + "value": "BalanceOf", + "signature": "Option" + }, + "Withdraw": { + "who": "AccountIdOf", + "index": "ParaId" + }, + "WithdrawCall": { + "_enum": { + "Withdraw": "Withdraw" + } + }, + "ParachainTransactProxyType": { + "_enum": { + "Primary": 0, + "Derived": 1 + } + }, + "ParachainDerivedProxyAccountType": { + "_enum": { + "Salp": 0, + "Staking": 1 + } + }, + "Keys": "SessionKeys1", + "ParachainTransactType": { + "_enum": { + "Xcm": 0, + "Proxy": 1 + } + }, + "RpcContributionStatus": { + "_enum": { + "Idle": 0, + "Contributing": 1, + "Refunded": 2, + "Unlocked": 3, + "Redeemed": 4 + } + }, + "RewardRecord": { + "account_id": "AccountId", + "record_amount": "Balance" + }, + "PoolId": "u32", + "SwapFee": "u128", + "PoolDetails": { + "owner": "AccountId", + "swap_fee_rate": "SwapFee", + "active": "bool" + }, + "PoolWeight": "Balance", + "PoolToken": "u128", + "PoolCreateTokenDetails": { + "token_id": "AssetId", + "token_balance": "Balance", + "token_weight": "PoolWeight" + }, + "MaxLocksOf": "u32", + "BifrostVestingInfo": { + "locked": "Balance", + "per_block": "Balance", + "starting_block": "BlockNumber" + }, + "OracleKey": "CurrencyId", + "BlockNumberFor": "BlockNumber", + "OrderId": "u64", + "OrderInfo": { + "owner": "AccountIdOf", + "vsbond": "CurrencyId", + "supply": "u128", + "remain": "u128", + "unit_price": "U64F64", + "order_id": "OrderId", + "order_state": "OrderState" + }, + "OrderState": { + "_enum": ["InTrade", "Revoked", "Clinchd"] + }, + "U64F64": "u128", + "ZenlinkAssetId": { + "chain_id": "u32", + "asset_type": "u8", + "asset_index": "u64" + }, + "ZenlinkAssetBalance": "u128", + "PairInfo": { + "asset0": "ZenlinkAssetId", + "asset1": "ZenlinkAssetId", + "account": "AccountId", + "totalLiquidity": "ZenlinkAssetBalance", + "holdingLiquidity": "ZenlinkAssetBalance", + "reserve0": "ZenlinkAssetBalance", + "reserve1": "ZenlinkAssetBalance", + "lpAssetId": "ZenlinkAssetId" + }, + "PairMetadata": { + "pair_account": "AccountId", + "target_supply": "ZenlinkAssetBalance" + }, + "BootstrapParamter": { + "min_contribution": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "target_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "accumulated_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "end_block_number": "BlockNumber", + "pair_account": "AccountId" + }, + "PairStatus": { + "_enum": { + "Trading": "PairMetadata", + "Bootstrap": "BootstrapParamter", + "Disable": null + } + }, + "TokenSymbol": { + "_enum": { + "ASG": 0, + "BNC": 1, + "KUSD": 2, + "DOT": 3, + "KSM": 4, + "ETH": 5, + "KAR": 6, + "ZLK": 7 + } + }, + "CurrencyId": { + "_enum": { + "Native": "TokenSymbol", + "VToken": "TokenSymbol", + "Token": "TokenSymbol", + "Stable": "TokenSymbol", + "VSToken": "TokenSymbol", + "VSBond": "(TokenSymbol, ParaId, LeasePeriod, LeasePeriod)", + "LPToken": "(TokenSymbol, u8, TokenSymbol, u8)" + } + }, + "CurrencyIdOf": "CurrencyId", + "TAssetBalance": "Balance", + "AmountOf": "Balance", + "StorageVersion": "Releases", + "ShareWeight": "Balance", + "Currency": "CurrencyIdOf", + "Amount": "AmountOf", + "TransferOriginType": { + "_enum": { + "FromSelf": 0, + "FromRelayChain": 1, + "FromSiblingParaChain": 2 + } + }, + "PoolType": { + "_enum": { + "Mining": 0, + "Farming": 1, + "EBFarming": 2 + } + }, + "PoolState": { + "_enum": { + "UnCharged": 0, + "Charged": 1, + "Ongoing": 2, + "Retired": 3, + "Dead": 4 + } + }, + "DepositData": { + "deposit": "Balance", + "gain_avgs": "BTreeMap", + "update_b": "BlockNumber" + }, + "RewardData": { + "total": "Balance", + "per_block": "Balance", + "claimed": "Balance", + "gain_avg": "FixedU128" + }, + "AssetInstance": "AssetInstanceV1" + }, + "typesBundle": { + "spec": { + "bifrost": { + "rpc": { + "oracle": { + "getValue": { + "description": "Retrieves the oracle value for a given key.", + "params": [ + { + "name": "providerId", + "type": "RpcDataProviderId" + }, + { + "name": "key", + "type": "OracleKey" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "Option", + "isSubscription": false, + "jsonrpc": "oracle_getValue", + "method": "getValue", + "section": "oracle" + }, + "getAllValues": { + "description": "Retrieves all oracle values.", + "params": [ + { + "name": "providerId", + "type": "RpcDataProviderId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "Vec<(OracleKey, Option)>", + "isSubscription": false, + "jsonrpc": "oracle_getAllValues", + "method": "getAllValues", + "section": "oracle" + } + }, + "flexibleFee": { + "getFeeTokenAndAmount": { + "description": "Get charging token type and amount in terms of flexible transaction fee.", + "params": [ + { + "name": "who", + "type": "AccountId" + }, + { + "name": "extrinsic", + "type": "Bytes" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "(CurrencyId, NumberOrHex)", + "isSubscription": false, + "jsonrpc": "flexibleFee_getFeeTokenAndAmount", + "method": "getFeeTokenAndAmount", + "section": "flexibleFee" + } + }, + "salp": { + "getContribution": { + "description": "salp getContribution", + "params": [ + { + "name": "index", + "type": "ParaId" + }, + { + "name": "who", + "type": "AccountIdOf" + } + ], + "type": "(Balance, ContributionStatus)", + "isSubscription": false, + "jsonrpc": "salp_getContribution", + "method": "getContribution", + "section": "salp" + } + }, + "vtokenMint": { + "getVtokenMintRate": { + "description": "Get current vtoken mint rate.", + "params": [ + { + "name": "asset_id", + "type": "CurrencyId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "String", + "isSubscription": false, + "jsonrpc": "vtokenMint_getVtokenMintRate", + "method": "getVtokenMintRate", + "section": "vtokenMint" + } + }, + "zenlinkProtocol": { + "getAllAssets": { + "description": "zenlinkProtocol getAllAssets", + "params": [ + { + "name": "at", + "type": "Hash", + "isOptional": true + } + ], + "type": "Vec", + "isSubscription": false, + "jsonrpc": "zenlinkProtocol_getAllAssets", + "method": "getAllAssets", + "section": "zenlinkProtocol" + }, + "getBalance": { + "description": "zenlinkProtocol getBalance", + "params": [ + { + "name": "asset_id", + "type": "ZenlinkAssetId" + }, + { + "name": "account", + "type": "AccountId" + }, + { + "name": "at", + "type": "Hash", + "isOptional": true + } + ], + "type": "String", + "isSubscription": false, + "jsonrpc": "zenlinkProtocol_getBalance", + "method": "getBalance", + "section": "zenlinkProtocol" }, - "flexibleFee": { - "getFeeTokenAndAmount": { - "description": "Get charging token type and amount in terms of flexible transaction fee.", - "params": [ - { - "name": "who", - "type": "AccountId" - }, - { - "name": "extrinsic", - "type": "Bytes" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "(CurrencyId, NumberOrHex)", - "isSubscription": false, - "jsonrpc": "flexibleFee_getFeeTokenAndAmount", - "method": "getFeeTokenAndAmount", - "section": "flexibleFee" - } + "getSovereignsInfo": { + "description": "Get the ownership of a certain currency for each parachain.", + "params": [ + { + "name": "asset_id", + "type": "ZenlinkAssetId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "(u32, AccountId, String)", + "isSubscription": false, + "jsonrpc": "zenlinkProtocol_getSovereignsInfo", + "method": "getSovereignsInfo", + "section": "zenlinkProtocol" }, - "salp": { - "getContribution": { - "description": "salp getContribution", - "params": [ - { - "name": "index", - "type": "ParaId" - }, - { - "name": "who", - "type": "AccountIdOf" - } - ], - "type": "(Balance, ContributionStatus)", - "isSubscription": false, - "jsonrpc": "salp_getContribution", - "method": "getContribution", - "section": "salp" - } + "getPairByAssetId": { + "description": "Get the detailed information of a particular exchange pair.", + "params": [ + { + "name": "asset_0", + "type": "ZenlinkAssetId" + }, + { + "name": "asset_1", + "type": "ZenlinkAssetId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "PairInfo", + "isSubscription": false, + "jsonrpc": "zenlinkProtocol_getPairByAssetId", + "method": "getPairByAssetId", + "section": "zenlinkProtocol" }, - "vtokenMint": { - "getVtokenMintRate": { - "description": "Get current vtoken mint rate.", - "params": [ - { - "name": "asset_id", - "type": "CurrencyId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "String", - "isSubscription": false, - "jsonrpc": "vtokenMint_getVtokenMintRate", - "method": "getVtokenMintRate", - "section": "vtokenMint" - } + "getAmountInPrice": { + "description": "Get the output token amount for an exact input token amount.", + "params": [ + { + "name": "supply", + "type": "ZenlinkAssetBalance" + }, + { + "name": "path", + "type": "Vec" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "u128", + "isSubscription": false, + "jsonrpc": "zenlinkProtocol_getAmountInPrice", + "method": "getAmountInPrice", + "section": "zenlinkProtocol" }, - "zenlinkProtocol": { - "getAllAssets": { - "description": "zenlinkProtocol getAllAssets", - "params": [ - { - "name": "at", - "type": "Hash", - "isOptional": true - } - ], - "type": "Vec", - "isSubscription": false, - "jsonrpc": "zenlinkProtocol_getAllAssets", - "method": "getAllAssets", - "section": "zenlinkProtocol" - }, - "getBalance": { - "description": "zenlinkProtocol getBalance", - "params": [ - { - "name": "asset_id", - "type": "ZenlinkAssetId" - }, - { - "name": "account", - "type": "AccountId" - }, - { - "name": "at", - "type": "Hash", - "isOptional": true - } - ], - "type": "String", - "isSubscription": false, - "jsonrpc": "zenlinkProtocol_getBalance", - "method": "getBalance", - "section": "zenlinkProtocol" - }, - "getSovereignsInfo": { - "description": "Get the ownership of a certain currency for each parachain.", - "params": [ - { - "name": "asset_id", - "type": "ZenlinkAssetId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "(u32, AccountId, String)", - "isSubscription": false, - "jsonrpc": "zenlinkProtocol_getSovereignsInfo", - "method": "getSovereignsInfo", - "section": "zenlinkProtocol" - }, - "getPairByAssetId": { - "description": "Get the detailed information of a particular exchange pair.", - "params": [ - { - "name": "asset_0", - "type": "ZenlinkAssetId" - }, - { - "name": "asset_1", - "type": "ZenlinkAssetId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "PairInfo", - "isSubscription": false, - "jsonrpc": "zenlinkProtocol_getPairByAssetId", - "method": "getPairByAssetId", - "section": "zenlinkProtocol" - }, - "getAmountInPrice": { - "description": "Get the output token amount for an exact input token amount.", - "params": [ - { - "name": "supply", - "type": "ZenlinkAssetBalance" - }, - { - "name": "path", - "type": "Vec" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "u128", - "isSubscription": false, - "jsonrpc": "zenlinkProtocol_getAmountInPrice", - "method": "getAmountInPrice", - "section": "zenlinkProtocol" - }, - "getAmountOutPrice": { - "description": "Get the input token amount for an exact output token amount.", - "params": [ - { - "name": "supply", - "type": "ZenlinkAssetBalance" - }, - { - "name": "path", - "type": "Vec" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "u128", - "isSubscription": false, - "jsonrpc": "zenlinkProtocol_getAmountOutPrice", - "method": "getAmountOutPrice", - "section": "zenlinkProtocol" - }, - "getEstimateLptoken": { - "description": "Get the estimated number of LP token acquired given the desired and minimum amount for both in-token and out-token.", - "params": [ - { - "name": "asset_0", - "type": "ZenlinkAssetId" - }, - { - "name": "asset_1", - "type": "ZenlinkAssetId" - }, - { - "name": "amount_0_desired", - "type": "ZenlinkAssetBalance" - }, - { - "name": "amount_1_desired", - "type": "ZenlinkAssetBalance" - }, - { - "name": "amount_0_min", - "type": "ZenlinkAssetBalance" - }, - { - "name": "amount_1_min", - "type": "ZenlinkAssetBalance" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "u128", - "isSubscription": false, - "jsonrpc": "zenlinkProtocol_getEstimateLptoken", - "method": "getEstimateLptoken", - "section": "zenlinkProtocol" - } + "getAmountOutPrice": { + "description": "Get the input token amount for an exact output token amount.", + "params": [ + { + "name": "supply", + "type": "ZenlinkAssetBalance" + }, + { + "name": "path", + "type": "Vec" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "u128", + "isSubscription": false, + "jsonrpc": "zenlinkProtocol_getAmountOutPrice", + "method": "getAmountOutPrice", + "section": "zenlinkProtocol" }, - "liquidityMining": { - "getRewards": { - "description": "Get the rewards users deserve", - "params": [ - { - "name": "who", - "type": "AccountId" - }, - { - "name": "pid", - "type": "PoolId" - }, - { - "name": "at", - "type": "Hash", - "isOptional": true - } - ], - "type": "Vec<(CurrencyId, Balance)>", - "isSubscription": false, - "jsonrpc": "liquidityMining_getRewards", - "method": "getRewards", - "section": "liquidityMining" - } + "getEstimateLptoken": { + "description": "Get the estimated number of LP token acquired given the desired and minimum amount for both in-token and out-token.", + "params": [ + { + "name": "asset_0", + "type": "ZenlinkAssetId" + }, + { + "name": "asset_1", + "type": "ZenlinkAssetId" + }, + { + "name": "amount_0_desired", + "type": "ZenlinkAssetBalance" + }, + { + "name": "amount_1_desired", + "type": "ZenlinkAssetBalance" + }, + { + "name": "amount_0_min", + "type": "ZenlinkAssetBalance" + }, + { + "name": "amount_1_min", + "type": "ZenlinkAssetBalance" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "u128", + "isSubscription": false, + "jsonrpc": "zenlinkProtocol_getEstimateLptoken", + "method": "getEstimateLptoken", + "section": "zenlinkProtocol" } }, - "types": [ - { - "minmax": [0, 901], - "types": { - "CallOf": "Call", - "DispatchTime": { - "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" - } - }, - "ScheduleTaskIndex": "u32", - "DelayedOrigin": { - "delay": "BlockNumber", - "origin": "PalletsOrigin" - }, - "AuthorityOrigin": "DelayedOrigin", - "StorageValue": "Vec", - "GraduallyUpdate": { - "key": "StorageKey", - "targetValue": "StorageValue", - "perBlock": "StorageValue" - }, - "StorageKeyBytes": "Vec", - "StorageValueBytes": "Vec", - "RpcDataProviderId": "Text", - "DataProviderId": "u8", - "TimestampedValue": { - "value": "OracleValue", - "timestamp": "Moment" - }, - "TimestampedValueOf": "TimestampedValue", - "OrderedSet": "Vec", - "OrmlAccountData": { - "free": "Balance", - "reserved": "Balance", - "frozen": "Balance" - }, - "OrmlBalanceLock": { - "amount": "Balance", - "id": "LockIdentifier" - }, - "AuctionInfo": { - "bid": "Option<(AccountId, Balance)>", - "start": "BlockNumber", - "end": "Option" - }, - "DelayedDispatchTime": { - "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" - } - }, - "DispatchId": "u32", - "Price": "FixedU128", - "OrmlVestingSchedule": { - "start": "BlockNumber", - "period": "BlockNumber", - "periodCount": "u32", - "perPeriod": "Compact" - }, - "VestingScheduleOf": "OrmlVestingSchedule", - "PoolInfo": { - "pool_id": "PoolId", - "keeper": "AccountId", - "investor": "Option", - "trading_pair": "(CurrencyId, CurrencyId)", - "duration": "BlockNumber", - "type": "PoolType", - "min_deposit_to_start": "Balance", - "after_block_to_start": "BlockNumber", - "deposit": "Balance", - "rewards": "BTreeMap", - "update_b": "BlockNumber", - "state": "PoolState", - "block_startup": "Option", - "block_retired": "Option" - }, - "Share": "u128", - "OracleValue": "Price", - "BiddingOrderId": "u64", - "EraId": "u32", - "BiddingOrderUnit": { - "bidder_id": "AccountId", - "token_id": "AssetId", - "block_num": "BlockNumber", - "votes": "Balance", - "annual_roi": "Permill", - "validator": "AccountId" - }, - "BiddingOrderUnitOf": "BiddingOrderUnit", - "VersionId": "u32", - "PermissionName": "u64", - "PermissionLevel": { - "actor": "AccountName", - "permission": "PermissionName" - }, - "Action": { - "account": "AccountName", - "name": "ActionName", - "authorization": "Vec", - "data": "Vec" - }, - "AccountName": "u64", - "Checksum256": "([u8;32])", - "ActionName": "u64", - "FlatMap": { - "map": "Vec<(ActionName, u64)>" - }, - "UnsignedInt": "u32", - "ActionReceipt": { - "receiver": "AccountName", - "act_digest": "Checksum256", - "global_sequence": "u64", - "recv_sequence": "u64", - "auth_sequence": "FlatMap", - "code_sequence": "UnsignedInt", - "abi_sequence": "UnsignedInt" - }, - "BlockchainType": { - "_enum": ["BIFROST", "EOS", "IOST"] - }, - "Precision": "u32", - "BridgeAssetSymbol": { - "blockchain": "BlockchainType", - "symbol": "Vec", - "precision": "Precision" - }, - "PublicKey": { - "type_": "UnsignedInt", - "data": "[u8;33]" - }, - "ProducerKey": { - "producer_name": "AccountName", - "block_signing_key": "PublicKey" - }, - "ProducerSchedule": { - "version": "u32", - "producers": "Vec" - }, - "bridgeEosSignature": { - "type_": "UnsignedInt", - "data": "[u8;65]" - }, - "BlockTimestamp": "(u32)", - "Extension": "(u16, Vec)", - "BlockHeader": { - "timestamp": "BlockTimestamp", - "producer": "AccountName", - "confirmed": "u16", - "previous": "Checksum256", - "transaction_mroot": "Checksum256", - "action_mroot": "Checksum256", - "schedule_version": "u32", - "new_producers": "Option", - "header_extensions": "Vec" - }, - "SignedBlockHeader": { - "block_header": "BlockHeader", - "producer_signature": "bridgeEosSignature" - }, - "Checksum256Array": "Vec", - "IncrementalMerkle": { - "_node_count": "u64", - "_active_nodes": "Checksum256Array" - }, - "TxSig": { - "signature": "Vec", - "author": "AccountId" - }, - "MultiSig": { - "signatures": "Vec", - "threshold": "u8" - }, - "MultiSigTx": { - "chain_id": "Vec", - "raw_tx": "Vec", - "multi_sig": "MultiSig", - "action": "Action", - "from": "AccountId", - "asset_id": "AssetId" - }, - "Sent": { - "tx_id": "Vec", - "from": "AccountId", - "asset_id": "AssetId" - }, - "Succeeded": { - "tx_id": "Vec" - }, - "Failed": { - "tx_id": "Vec", - "reason": "Vec" - }, - "TxOut": { - "_enum": { - "Initialized": "MultiSigTx", - "Created": "MultiSigTx", - "SignComplete": "MultiSigTx", - "Sent": "Sent", - "Succeeded": "Succeeded", - "Failed": "Failed" - } - }, - "TransactionStatus": { - "_enum": [ - "Initialized", - "Created", - "SignComplete", - "Sent", - "Succeeded", - "Failed" - ] - }, - "ProducerAuthoritySchedule": { - "version": "u32", - "producers": "Vec" - }, - "ProducerAuthority": { - "producer_name": "ActionName", - "authority": "BlockSigningAuthority" - }, - "BlockSigningAuthority": "(UnsignedInt, BlockSigningAuthorityV0)", - "BlockSigningAuthorityV0": { - "threshold": "u32", - "keyWeights": "Vec" - }, - "KeyWeight": { - "key": "PublicKey", - "weight": "u16" - }, - "BancorPool": { - "currency_id": "CurrencyId", - "token_pool": "Balance", - "vstoken_pool": "Balance", - "token_ceiling": "Balance", - "token_base_supply": "Balance", - "vstoken_base_supply": "Balance" - }, - "IostAction": { - "contract": "Vec", - "action_name": "Vec", - "data": "Vec" - }, - "IostMultiSigTx": { - "chain_id": "i32", - "raw_tx": "Vec", - "multi_sig": "MultiSig", - "action": "IostAction", - "from": "AccountId", - "asset_id": "AssetId" - }, - "Processing": { - "tx_id": "Vec", - "multi_sig_tx": "IostMultiSigTx" - }, - "IostTxOut": { - "_enum": { - "Initial": "IostMultiSigTx", - "Generated": "IostMultiSigTx", - "Signed": "IostMultiSigTx", - "Processing": "Processing", - "Success": "Vec", - "Fail": "Failed" - } - }, - "PalletBalanceOf": "Balance", - "NumberOrHex": { - "_enum": { - "Number": "u64", - "Hex": "U256" - } - }, - "ExtraFeeName": { - "_enum": ["SalpContribute", "NoExtraFee"] - }, - "IsExtended": "bool", - "SystemPalletId": "PalletId", - "TrieIndex": "u32", - "FundInfo": { - "raised": "Balance", - "cap": "Balance", - "first_slot": "LeasePeriod", - "last_slot": "LeasePeriod", - "trie_index": "TrieIndex", - "status": "FundStatus" - }, - "RedeemStatus": "BalanceOf", - "FundStatus": { - "_enum": { - "Ongoing": 0, - "Retired": 1, - "Success": 2, - "Failed": 3, - "RefundWithdrew": 4, - "RedeemWithdrew": 5, - "End": 6 - } - }, - "ContributionStatus": { - "_enum": [ - "Idle", - "Refunded", - "Unlocked", - "Refunding", - "Contributing" - ] - }, - "CrowdloanContributeCall": { - "_enum": { - "CrowdloanContribute": "ContributeCall" - } - }, - "ContributeCall": { - "_enum": { - "Contribute": "Contribution" - } - }, - "Contribution": { - "index": "ParaId", - "value": "BalanceOf", - "signature": "Option" - }, - "Withdraw": { - "who": "AccountIdOf", - "index": "ParaId" - }, - "WithdrawCall": { - "_enum": { - "Withdraw": "Withdraw" - } - }, - "ParachainTransactProxyType": { - "_enum": { - "Primary": 0, - "Derived": 1 - } - }, - "ParachainDerivedProxyAccountType": { - "_enum": { - "Salp": 0, - "Staking": 1 - } - }, - "Keys": "SessionKeys1", - "ParachainTransactType": { - "_enum": { - "Xcm": 0, - "Proxy": 1 - } - }, - "RpcContributionStatus": { - "_enum": { - "Idle": 0, - "Contributing": 1, - "Refunded": 2, - "Unlocked": 3, - "Redeemed": 4 - } - }, - "RewardRecord": { - "account_id": "AccountId", - "record_amount": "Balance" - }, - "PoolId": "u32", - "SwapFee": "u128", - "PoolDetails": { - "owner": "AccountId", - "swap_fee_rate": "SwapFee", - "active": "bool" - }, - "PoolWeight": "Balance", - "PoolToken": "u128", - "PoolCreateTokenDetails": { - "token_id": "AssetId", - "token_balance": "Balance", - "token_weight": "PoolWeight" - }, - "MaxLocksOf": "u32", - "BifrostVestingInfo": { - "locked": "Balance", - "per_block": "Balance", - "starting_block": "BlockNumber" - }, - "OracleKey": "CurrencyId", - "BlockNumberFor": "BlockNumber", - "OrderId": "u64", - "OrderInfo": { - "owner": "AccountIdOf", - "vsbond": "CurrencyId", - "supply": "u128", - "remain": "u128", - "unit_price": "U64F64", - "order_id": "OrderId", - "order_state": "OrderState" - }, - "OrderState": { - "_enum": ["InTrade", "Revoked", "Clinchd"] - }, - "U64F64": "u128", - "ZenlinkAssetId": { - "chain_id": "u32", - "asset_type": "u8", - "asset_index": "u64" - }, - "ZenlinkAssetBalance": "u128", - "PairInfo": { - "asset0": "ZenlinkAssetId", - "asset1": "ZenlinkAssetId", - "account": "AccountId", - "totalLiquidity": "ZenlinkAssetBalance", - "holdingLiquidity": "ZenlinkAssetBalance", - "reserve0": "ZenlinkAssetBalance", - "reserve1": "ZenlinkAssetBalance", - "lpAssetId": "ZenlinkAssetId" - }, - "PairMetadata": { - "pair_account": "AccountId", - "target_supply": "ZenlinkAssetBalance" - }, - "BootstrapParamter": { - "min_contribution": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", - "target_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", - "accumulated_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", - "end_block_number": "BlockNumber", - "pair_account": "AccountId" - }, - "PairStatus": { - "_enum": { - "Trading": "PairMetadata", - "Bootstrap": "BootstrapParamter", - "Disable": null - } - }, - "TokenSymbol": { - "_enum": { - "BNC": 1, - "KUSD": 2, - "DOT": 3, - "KSM": 4, - "KAR": 6 - } - }, - "CurrencyId": { - "_enum": { - "Native": "TokenSymbol", - "VToken": "TokenSymbol", - "Token": "TokenSymbol", - "Stable": "TokenSymbol", - "VSToken": "TokenSymbol", - "VSBond": "(TokenSymbol, ParaId, LeasePeriod, LeasePeriod)", - "LPToken": "(TokenSymbol, u8, TokenSymbol, u8)" - } - }, - "CurrencyIdOf": "CurrencyId", - "TAssetBalance": "Balance", - "AmountOf": "Balance", - "StorageVersion": "Releases", - "ShareWeight": "Balance", - "Currency": "CurrencyIdOf", - "Amount": "AmountOf", - "TransferOriginType": { - "_enum": { - "FromSelf": 0, - "FromRelayChain": 1, - "FromSiblingParaChain": 2 - } - }, - "PoolType": { - "_enum": { - "Mining": 0, - "Farming": 1, - "EBFarming": 2 - } - }, - "PoolState": { - "_enum": { - "UnCharged": 0, - "Charged": 1, - "Ongoing": 2, - "Retired": 3, - "Dead": 4 - } - }, - "DepositData": { - "deposit": "Balance", - "gain_avgs": "BTreeMap", - "update_b": "BlockNumber" - }, - "RewardData": { - "total": "Balance", - "per_block": "Balance", - "claimed": "Balance", - "gain_avg": "FixedU128" - }, - "AssetInstance": "AssetInstanceV1", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "MultiLocation": "MultiLocationV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0" - } - }, - { - "minmax": [902, null], - "types": { - "CallOf": "Call", - "DispatchTime": { - "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" - } - }, - "ScheduleTaskIndex": "u32", - "DelayedOrigin": { - "delay": "BlockNumber", - "origin": "PalletsOrigin" - }, - "AuthorityOrigin": "DelayedOrigin", - "StorageValue": "Vec", - "GraduallyUpdate": { - "key": "StorageKey", - "targetValue": "StorageValue", - "perBlock": "StorageValue" - }, - "StorageKeyBytes": "Vec", - "StorageValueBytes": "Vec", - "RpcDataProviderId": "Text", - "DataProviderId": "u8", - "TimestampedValue": { - "value": "OracleValue", - "timestamp": "Moment" - }, - "TimestampedValueOf": "TimestampedValue", - "OrderedSet": "Vec", - "OrmlAccountData": { - "free": "Balance", - "reserved": "Balance", - "frozen": "Balance" - }, - "OrmlBalanceLock": { - "amount": "Balance", - "id": "LockIdentifier" - }, - "AuctionInfo": { - "bid": "Option<(AccountId, Balance)>", - "start": "BlockNumber", - "end": "Option" - }, - "DelayedDispatchTime": { - "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" - } - }, - "DispatchId": "u32", - "Price": "FixedU128", - "OrmlVestingSchedule": { - "start": "BlockNumber", - "period": "BlockNumber", - "periodCount": "u32", - "perPeriod": "Compact" - }, - "VestingScheduleOf": "OrmlVestingSchedule", - "PoolInfo": { - "pool_id": "PoolId", - "keeper": "AccountId", - "investor": "Option", - "trading_pair": "(CurrencyId, CurrencyId)", - "duration": "BlockNumber", - "type": "PoolType", - "min_deposit_to_start": "Balance", - "after_block_to_start": "BlockNumber", - "deposit": "Balance", - "rewards": "BTreeMap", - "update_b": "BlockNumber", - "state": "PoolState", - "block_startup": "Option", - "block_retired": "Option" - }, - "Share": "u128", - "OracleValue": "Price", - "BiddingOrderId": "u64", - "EraId": "u32", - "BiddingOrderUnit": { - "bidder_id": "AccountId", - "token_id": "AssetId", - "block_num": "BlockNumber", - "votes": "Balance", - "annual_roi": "Permill", - "validator": "AccountId" - }, - "BiddingOrderUnitOf": "BiddingOrderUnit", - "VersionId": "u32", - "PermissionName": "u64", - "PermissionLevel": { - "actor": "AccountName", - "permission": "PermissionName" - }, - "Action": { - "account": "AccountName", - "name": "ActionName", - "authorization": "Vec", - "data": "Vec" - }, - "AccountName": "u64", - "Checksum256": "([u8;32])", - "ActionName": "u64", - "FlatMap": { - "map": "Vec<(ActionName, u64)>" - }, - "UnsignedInt": "u32", - "ActionReceipt": { - "receiver": "AccountName", - "act_digest": "Checksum256", - "global_sequence": "u64", - "recv_sequence": "u64", - "auth_sequence": "FlatMap", - "code_sequence": "UnsignedInt", - "abi_sequence": "UnsignedInt" - }, - "BlockchainType": { - "_enum": ["BIFROST", "EOS", "IOST"] - }, - "Precision": "u32", - "BridgeAssetSymbol": { - "blockchain": "BlockchainType", - "symbol": "Vec", - "precision": "Precision" - }, - "PublicKey": { - "type_": "UnsignedInt", - "data": "[u8;33]" - }, - "ProducerKey": { - "producer_name": "AccountName", - "block_signing_key": "PublicKey" - }, - "ProducerSchedule": { - "version": "u32", - "producers": "Vec" - }, - "bridgeEosSignature": { - "type_": "UnsignedInt", - "data": "[u8;65]" - }, - "BlockTimestamp": "(u32)", - "Extension": "(u16, Vec)", - "BlockHeader": { - "timestamp": "BlockTimestamp", - "producer": "AccountName", - "confirmed": "u16", - "previous": "Checksum256", - "transaction_mroot": "Checksum256", - "action_mroot": "Checksum256", - "schedule_version": "u32", - "new_producers": "Option", - "header_extensions": "Vec" - }, - "SignedBlockHeader": { - "block_header": "BlockHeader", - "producer_signature": "bridgeEosSignature" - }, - "Checksum256Array": "Vec", - "IncrementalMerkle": { - "_node_count": "u64", - "_active_nodes": "Checksum256Array" - }, - "TxSig": { - "signature": "Vec", - "author": "AccountId" - }, - "MultiSig": { - "signatures": "Vec", - "threshold": "u8" - }, - "MultiSigTx": { - "chain_id": "Vec", - "raw_tx": "Vec", - "multi_sig": "MultiSig", - "action": "Action", - "from": "AccountId", - "asset_id": "AssetId" - }, - "Sent": { - "tx_id": "Vec", - "from": "AccountId", - "asset_id": "AssetId" - }, - "Succeeded": { - "tx_id": "Vec" - }, - "Failed": { - "tx_id": "Vec", - "reason": "Vec" - }, - "TxOut": { - "_enum": { - "Initialized": "MultiSigTx", - "Created": "MultiSigTx", - "SignComplete": "MultiSigTx", - "Sent": "Sent", - "Succeeded": "Succeeded", - "Failed": "Failed" - } - }, - "TransactionStatus": { - "_enum": [ - "Initialized", - "Created", - "SignComplete", - "Sent", - "Succeeded", - "Failed" - ] - }, - "ProducerAuthoritySchedule": { - "version": "u32", - "producers": "Vec" - }, - "ProducerAuthority": { - "producer_name": "ActionName", - "authority": "BlockSigningAuthority" - }, - "BlockSigningAuthority": "(UnsignedInt, BlockSigningAuthorityV0)", - "BlockSigningAuthorityV0": { - "threshold": "u32", - "keyWeights": "Vec" - }, - "KeyWeight": { - "key": "PublicKey", - "weight": "u16" - }, - "BancorPool": { - "currency_id": "CurrencyId", - "token_pool": "Balance", - "vstoken_pool": "Balance", - "token_ceiling": "Balance", - "token_base_supply": "Balance", - "vstoken_base_supply": "Balance" - }, - "IostAction": { - "contract": "Vec", - "action_name": "Vec", - "data": "Vec" - }, - "IostMultiSigTx": { - "chain_id": "i32", - "raw_tx": "Vec", - "multi_sig": "MultiSig", - "action": "IostAction", - "from": "AccountId", - "asset_id": "AssetId" - }, - "Processing": { - "tx_id": "Vec", - "multi_sig_tx": "IostMultiSigTx" - }, - "IostTxOut": { - "_enum": { - "Initial": "IostMultiSigTx", - "Generated": "IostMultiSigTx", - "Signed": "IostMultiSigTx", - "Processing": "Processing", - "Success": "Vec", - "Fail": "Failed" - } - }, - "PalletBalanceOf": "Balance", - "NumberOrHex": { - "_enum": { - "Number": "u64", - "Hex": "U256" - } - }, - "ExtraFeeName": { - "_enum": ["SalpContribute", "NoExtraFee"] - }, - "IsExtended": "bool", - "SystemPalletId": "PalletId", - "TrieIndex": "u32", - "FundInfo": { - "raised": "Balance", - "cap": "Balance", - "first_slot": "LeasePeriod", - "last_slot": "LeasePeriod", - "trie_index": "TrieIndex", - "status": "FundStatus" - }, - "RedeemStatus": "BalanceOf", - "FundStatus": { - "_enum": { - "Ongoing": 0, - "Retired": 1, - "Success": 2, - "Failed": 3, - "RefundWithdrew": 4, - "RedeemWithdrew": 5, - "End": 6 - } - }, - "ContributionStatus": { - "_enum": [ - "Idle", - "Refunded", - "Unlocked", - "Refunding", - "Contributing" - ] - }, - "CrowdloanContributeCall": { - "_enum": { - "CrowdloanContribute": "ContributeCall" - } - }, - "ContributeCall": { - "_enum": { - "Contribute": "Contribution" - } - }, - "Contribution": { - "index": "ParaId", - "value": "BalanceOf", - "signature": "Option" - }, - "Withdraw": { - "who": "AccountIdOf", - "index": "ParaId" - }, - "WithdrawCall": { - "_enum": { - "Withdraw": "Withdraw" - } - }, - "ParachainTransactProxyType": { - "_enum": { - "Primary": 0, - "Derived": 1 - } - }, - "ParachainDerivedProxyAccountType": { - "_enum": { - "Salp": 0, - "Staking": 1 - } - }, - "Keys": "SessionKeys1", - "ParachainTransactType": { - "_enum": { - "Xcm": 0, - "Proxy": 1 - } - }, - "RpcContributionStatus": { - "_enum": { - "Idle": 0, - "Contributing": 1, - "Refunded": 2, - "Unlocked": 3, - "Redeemed": 4 - } - }, - "RewardRecord": { - "account_id": "AccountId", - "record_amount": "Balance" - }, - "PoolId": "u32", - "SwapFee": "u128", - "PoolDetails": { - "owner": "AccountId", - "swap_fee_rate": "SwapFee", - "active": "bool" - }, - "PoolWeight": "Balance", - "PoolToken": "u128", - "PoolCreateTokenDetails": { - "token_id": "AssetId", - "token_balance": "Balance", - "token_weight": "PoolWeight" - }, - "MaxLocksOf": "u32", - "BifrostVestingInfo": { - "locked": "Balance", - "per_block": "Balance", - "starting_block": "BlockNumber" - }, - "OracleKey": "CurrencyId", - "BlockNumberFor": "BlockNumber", - "OrderId": "u64", - "OrderInfo": { - "owner": "AccountIdOf", - "vsbond": "CurrencyId", - "supply": "u128", - "remain": "u128", - "unit_price": "U64F64", - "order_id": "OrderId", - "order_state": "OrderState" - }, - "OrderState": { - "_enum": ["InTrade", "Revoked", "Clinchd"] - }, - "U64F64": "u128", - "ZenlinkAssetId": { - "chain_id": "u32", - "asset_type": "u8", - "asset_index": "u64" - }, - "ZenlinkAssetBalance": "u128", - "PairInfo": { - "asset0": "ZenlinkAssetId", - "asset1": "ZenlinkAssetId", - "account": "AccountId", - "totalLiquidity": "ZenlinkAssetBalance", - "holdingLiquidity": "ZenlinkAssetBalance", - "reserve0": "ZenlinkAssetBalance", - "reserve1": "ZenlinkAssetBalance", - "lpAssetId": "ZenlinkAssetId" - }, - "PairMetadata": { - "pair_account": "AccountId", - "target_supply": "ZenlinkAssetBalance" - }, - "BootstrapParamter": { - "min_contribution": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", - "target_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", - "accumulated_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", - "end_block_number": "BlockNumber", - "pair_account": "AccountId" - }, - "PairStatus": { - "_enum": { - "Trading": "PairMetadata", - "Bootstrap": "BootstrapParamter", - "Disable": null - } - }, - "TokenSymbol": { - "_enum": { - "BNC": 1, - "KUSD": 2, - "DOT": 3, - "KSM": 4, - "KAR": 6 - } - }, - "CurrencyId": { - "_enum": { - "Native": "TokenSymbol", - "VToken": "TokenSymbol", - "Token": "TokenSymbol", - "Stable": "TokenSymbol", - "VSToken": "TokenSymbol", - "VSBond": "(TokenSymbol, ParaId, LeasePeriod, LeasePeriod)", - "LPToken": "(TokenSymbol, u8, TokenSymbol, u8)" - } - }, - "CurrencyIdOf": "CurrencyId", - "TAssetBalance": "Balance", - "AmountOf": "Balance", - "StorageVersion": "Releases", - "ShareWeight": "Balance", - "Currency": "CurrencyIdOf", - "Amount": "AmountOf", - "TransferOriginType": { - "_enum": { - "FromSelf": 0, - "FromRelayChain": 1, - "FromSiblingParaChain": 2 - } - }, - "PoolType": { - "_enum": { - "Mining": 0, - "Farming": 1, - "EBFarming": 2 - } - }, - "PoolState": { - "_enum": { - "UnCharged": 0, - "Charged": 1, - "Ongoing": 2, - "Retired": 3, - "Dead": 4 - } - }, - "DepositData": { - "deposit": "Balance", - "gain_avgs": "BTreeMap", - "update_b": "BlockNumber" - }, - "RewardData": { - "total": "Balance", - "per_block": "Balance", - "claimed": "Balance", - "gain_avg": "FixedU128" - }, - "AssetInstance": "AssetInstanceV1", - "MultiAsset": "MultiAssetV1", - "Xcm": "XcmV1", - "XcmOrder": "XcmOrderV1", - "MultiLocation": "MultiLocationV1", - "XcmError": "XcmErrorV1", - "Response": "ResponseV1" - } - } - ], - "alias": { - "tokens": { - "AccountData": "OrmlAccountData", - "BalanceLock": "OrmlBalanceLock" + "liquidityMining": { + "getRewards": { + "description": "Get the rewards users deserve", + "params": [ + { + "name": "who", + "type": "AccountId" + }, + { + "name": "pid", + "type": "PoolId" + }, + { + "name": "at", + "type": "Hash", + "isOptional": true + } + ], + "type": "Vec<(CurrencyId, Balance)>", + "isSubscription": false, + "jsonrpc": "liquidityMining_getRewards", + "method": "getRewards", + "section": "liquidityMining" } } }, - "asgard": { - "rpc": { - "oracle": { - "getValue": { - "description": "Retrieves the oracle value for a given key.", - "params": [ - { - "name": "providerId", - "type": "RpcDataProviderId" - }, - { - "name": "key", - "type": "OracleKey" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "Option", - "isSubscription": false, - "jsonrpc": "oracle_getValue", - "method": "getValue", - "section": "oracle" - }, - "getAllValues": { - "description": "Retrieves all oracle values.", - "params": [ - { - "name": "providerId", - "type": "RpcDataProviderId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "Vec<(OracleKey, Option)>", - "isSubscription": false, - "jsonrpc": "oracle_getAllValues", - "method": "getAllValues", - "section": "oracle" - } + "types": [ + { + "minmax": [0, 901], + "types": { + "CallOf": "Call", + "DispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" + }, + "AuthorityOrigin": "DelayedOrigin", + "StorageValue": "Vec", + "GraduallyUpdate": { + "key": "StorageKey", + "targetValue": "StorageValue", + "perBlock": "StorageValue" + }, + "StorageKeyBytes": "Vec", + "StorageValueBytes": "Vec", + "RpcDataProviderId": "Text", + "DataProviderId": "u8", + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" + }, + "TimestampedValueOf": "TimestampedValue", + "OrderedSet": "Vec", + "OrmlAccountData": { + "free": "Balance", + "reserved": "Balance", + "frozen": "Balance" + }, + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" + }, + "VestingScheduleOf": "OrmlVestingSchedule", + "PoolInfo": { + "pool_id": "PoolId", + "keeper": "AccountId", + "investor": "Option", + "trading_pair": "(CurrencyId, CurrencyId)", + "duration": "BlockNumber", + "type": "PoolType", + "min_deposit_to_start": "Balance", + "after_block_to_start": "BlockNumber", + "deposit": "Balance", + "rewards": "BTreeMap", + "update_b": "BlockNumber", + "state": "PoolState", + "block_startup": "Option", + "block_retired": "Option" + }, + "Share": "u128", + "OracleValue": "Price", + "BiddingOrderId": "u64", + "EraId": "u32", + "BiddingOrderUnit": { + "bidder_id": "AccountId", + "token_id": "AssetId", + "block_num": "BlockNumber", + "votes": "Balance", + "annual_roi": "Permill", + "validator": "AccountId" + }, + "BiddingOrderUnitOf": "BiddingOrderUnit", + "VersionId": "u32", + "PermissionName": "u64", + "PermissionLevel": { + "actor": "AccountName", + "permission": "PermissionName" + }, + "Action": { + "account": "AccountName", + "name": "ActionName", + "authorization": "Vec", + "data": "Vec" + }, + "AccountName": "u64", + "Checksum256": "([u8;32])", + "ActionName": "u64", + "FlatMap": { + "map": "Vec<(ActionName, u64)>" + }, + "UnsignedInt": "u32", + "ActionReceipt": { + "receiver": "AccountName", + "act_digest": "Checksum256", + "global_sequence": "u64", + "recv_sequence": "u64", + "auth_sequence": "FlatMap", + "code_sequence": "UnsignedInt", + "abi_sequence": "UnsignedInt" + }, + "BlockchainType": { + "_enum": ["BIFROST", "EOS", "IOST"] + }, + "Precision": "u32", + "BridgeAssetSymbol": { + "blockchain": "BlockchainType", + "symbol": "Vec", + "precision": "Precision" + }, + "PublicKey": { + "type_": "UnsignedInt", + "data": "[u8;33]" + }, + "ProducerKey": { + "producer_name": "AccountName", + "block_signing_key": "PublicKey" + }, + "ProducerSchedule": { + "version": "u32", + "producers": "Vec" + }, + "bridgeEosSignature": { + "type_": "UnsignedInt", + "data": "[u8;65]" + }, + "BlockTimestamp": "(u32)", + "Extension": "(u16, Vec)", + "BlockHeader": { + "timestamp": "BlockTimestamp", + "producer": "AccountName", + "confirmed": "u16", + "previous": "Checksum256", + "transaction_mroot": "Checksum256", + "action_mroot": "Checksum256", + "schedule_version": "u32", + "new_producers": "Option", + "header_extensions": "Vec" + }, + "SignedBlockHeader": { + "block_header": "BlockHeader", + "producer_signature": "bridgeEosSignature" + }, + "Checksum256Array": "Vec", + "IncrementalMerkle": { + "_node_count": "u64", + "_active_nodes": "Checksum256Array" + }, + "TxSig": { + "signature": "Vec", + "author": "AccountId" + }, + "MultiSig": { + "signatures": "Vec", + "threshold": "u8" + }, + "MultiSigTx": { + "chain_id": "Vec", + "raw_tx": "Vec", + "multi_sig": "MultiSig", + "action": "Action", + "from": "AccountId", + "asset_id": "AssetId" + }, + "Sent": { + "tx_id": "Vec", + "from": "AccountId", + "asset_id": "AssetId" + }, + "Succeeded": { + "tx_id": "Vec" + }, + "Failed": { + "tx_id": "Vec", + "reason": "Vec" + }, + "TxOut": { + "_enum": { + "Initialized": "MultiSigTx", + "Created": "MultiSigTx", + "SignComplete": "MultiSigTx", + "Sent": "Sent", + "Succeeded": "Succeeded", + "Failed": "Failed" + } + }, + "TransactionStatus": { + "_enum": [ + "Initialized", + "Created", + "SignComplete", + "Sent", + "Succeeded", + "Failed" + ] + }, + "ProducerAuthoritySchedule": { + "version": "u32", + "producers": "Vec" + }, + "ProducerAuthority": { + "producer_name": "ActionName", + "authority": "BlockSigningAuthority" + }, + "BlockSigningAuthority": "(UnsignedInt, BlockSigningAuthorityV0)", + "BlockSigningAuthorityV0": { + "threshold": "u32", + "keyWeights": "Vec" + }, + "KeyWeight": { + "key": "PublicKey", + "weight": "u16" + }, + "BancorPool": { + "currency_id": "CurrencyId", + "token_pool": "Balance", + "vstoken_pool": "Balance", + "token_ceiling": "Balance", + "token_base_supply": "Balance", + "vstoken_base_supply": "Balance" + }, + "IostAction": { + "contract": "Vec", + "action_name": "Vec", + "data": "Vec" + }, + "IostMultiSigTx": { + "chain_id": "i32", + "raw_tx": "Vec", + "multi_sig": "MultiSig", + "action": "IostAction", + "from": "AccountId", + "asset_id": "AssetId" + }, + "Processing": { + "tx_id": "Vec", + "multi_sig_tx": "IostMultiSigTx" + }, + "IostTxOut": { + "_enum": { + "Initial": "IostMultiSigTx", + "Generated": "IostMultiSigTx", + "Signed": "IostMultiSigTx", + "Processing": "Processing", + "Success": "Vec", + "Fail": "Failed" + } + }, + "PalletBalanceOf": "Balance", + "NumberOrHex": { + "_enum": { + "Number": "u64", + "Hex": "U256" + } + }, + "ExtraFeeName": { + "_enum": ["SalpContribute", "NoExtraFee"] + }, + "IsExtended": "bool", + "SystemPalletId": "PalletId", + "TrieIndex": "u32", + "FundInfo": { + "raised": "Balance", + "cap": "Balance", + "first_slot": "LeasePeriod", + "last_slot": "LeasePeriod", + "trie_index": "TrieIndex", + "status": "FundStatus" + }, + "RedeemStatus": "BalanceOf", + "FundStatus": { + "_enum": { + "Ongoing": 0, + "Retired": 1, + "Success": 2, + "Failed": 3, + "RefundWithdrew": 4, + "RedeemWithdrew": 5, + "End": 6 + } + }, + "ContributionStatus": { + "_enum": [ + "Idle", + "Refunded", + "Unlocked", + "Refunding", + "Contributing" + ] + }, + "CrowdloanContributeCall": { + "_enum": { + "CrowdloanContribute": "ContributeCall" + } + }, + "ContributeCall": { + "_enum": { + "Contribute": "Contribution" + } + }, + "Contribution": { + "index": "ParaId", + "value": "BalanceOf", + "signature": "Option" + }, + "Withdraw": { + "who": "AccountIdOf", + "index": "ParaId" + }, + "WithdrawCall": { + "_enum": { + "Withdraw": "Withdraw" + } + }, + "ParachainTransactProxyType": { + "_enum": { + "Primary": 0, + "Derived": 1 + } + }, + "ParachainDerivedProxyAccountType": { + "_enum": { + "Salp": 0, + "Staking": 1 + } + }, + "Keys": "SessionKeys1", + "ParachainTransactType": { + "_enum": { + "Xcm": 0, + "Proxy": 1 + } + }, + "RpcContributionStatus": { + "_enum": { + "Idle": 0, + "Contributing": 1, + "Refunded": 2, + "Unlocked": 3, + "Redeemed": 4 + } + }, + "RewardRecord": { + "account_id": "AccountId", + "record_amount": "Balance" + }, + "PoolId": "u32", + "SwapFee": "u128", + "PoolDetails": { + "owner": "AccountId", + "swap_fee_rate": "SwapFee", + "active": "bool" + }, + "PoolWeight": "Balance", + "PoolToken": "u128", + "PoolCreateTokenDetails": { + "token_id": "AssetId", + "token_balance": "Balance", + "token_weight": "PoolWeight" + }, + "MaxLocksOf": "u32", + "BifrostVestingInfo": { + "locked": "Balance", + "per_block": "Balance", + "starting_block": "BlockNumber" + }, + "OracleKey": "CurrencyId", + "BlockNumberFor": "BlockNumber", + "OrderId": "u64", + "OrderInfo": { + "owner": "AccountIdOf", + "vsbond": "CurrencyId", + "supply": "u128", + "remain": "u128", + "unit_price": "U64F64", + "order_id": "OrderId", + "order_state": "OrderState" + }, + "OrderState": { + "_enum": ["InTrade", "Revoked", "Clinchd"] + }, + "U64F64": "u128", + "ZenlinkAssetId": { + "chain_id": "u32", + "asset_type": "u8", + "asset_index": "u64" + }, + "ZenlinkAssetBalance": "u128", + "PairInfo": { + "asset0": "ZenlinkAssetId", + "asset1": "ZenlinkAssetId", + "account": "AccountId", + "totalLiquidity": "ZenlinkAssetBalance", + "holdingLiquidity": "ZenlinkAssetBalance", + "reserve0": "ZenlinkAssetBalance", + "reserve1": "ZenlinkAssetBalance", + "lpAssetId": "ZenlinkAssetId" + }, + "PairMetadata": { + "pair_account": "AccountId", + "target_supply": "ZenlinkAssetBalance" + }, + "BootstrapParamter": { + "min_contribution": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "target_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "accumulated_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "end_block_number": "BlockNumber", + "pair_account": "AccountId" + }, + "PairStatus": { + "_enum": { + "Trading": "PairMetadata", + "Bootstrap": "BootstrapParamter", + "Disable": null + } + }, + "TokenSymbol": { + "_enum": { + "BNC": 1, + "KUSD": 2, + "DOT": 3, + "KSM": 4, + "KAR": 6 + } + }, + "CurrencyId": { + "_enum": { + "Native": "TokenSymbol", + "VToken": "TokenSymbol", + "Token": "TokenSymbol", + "Stable": "TokenSymbol", + "VSToken": "TokenSymbol", + "VSBond": "(TokenSymbol, ParaId, LeasePeriod, LeasePeriod)", + "LPToken": "(TokenSymbol, u8, TokenSymbol, u8)" + } + }, + "CurrencyIdOf": "CurrencyId", + "TAssetBalance": "Balance", + "AmountOf": "Balance", + "StorageVersion": "Releases", + "ShareWeight": "Balance", + "Currency": "CurrencyIdOf", + "Amount": "AmountOf", + "TransferOriginType": { + "_enum": { + "FromSelf": 0, + "FromRelayChain": 1, + "FromSiblingParaChain": 2 + } + }, + "PoolType": { + "_enum": { + "Mining": 0, + "Farming": 1, + "EBFarming": 2 + } + }, + "PoolState": { + "_enum": { + "UnCharged": 0, + "Charged": 1, + "Ongoing": 2, + "Retired": 3, + "Dead": 4 + } + }, + "DepositData": { + "deposit": "Balance", + "gain_avgs": "BTreeMap", + "update_b": "BlockNumber" + }, + "RewardData": { + "total": "Balance", + "per_block": "Balance", + "claimed": "Balance", + "gain_avg": "FixedU128" + }, + "AssetInstance": "AssetInstanceV1", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "MultiLocation": "MultiLocationV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0" + } + }, + { + "minmax": [902, null], + "types": { + "CallOf": "Call", + "DispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" + }, + "AuthorityOrigin": "DelayedOrigin", + "StorageValue": "Vec", + "GraduallyUpdate": { + "key": "StorageKey", + "targetValue": "StorageValue", + "perBlock": "StorageValue" + }, + "StorageKeyBytes": "Vec", + "StorageValueBytes": "Vec", + "RpcDataProviderId": "Text", + "DataProviderId": "u8", + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" + }, + "TimestampedValueOf": "TimestampedValue", + "OrderedSet": "Vec", + "OrmlAccountData": { + "free": "Balance", + "reserved": "Balance", + "frozen": "Balance" + }, + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" + }, + "VestingScheduleOf": "OrmlVestingSchedule", + "PoolInfo": { + "pool_id": "PoolId", + "keeper": "AccountId", + "investor": "Option", + "trading_pair": "(CurrencyId, CurrencyId)", + "duration": "BlockNumber", + "type": "PoolType", + "min_deposit_to_start": "Balance", + "after_block_to_start": "BlockNumber", + "deposit": "Balance", + "rewards": "BTreeMap", + "update_b": "BlockNumber", + "state": "PoolState", + "block_startup": "Option", + "block_retired": "Option" + }, + "Share": "u128", + "OracleValue": "Price", + "BiddingOrderId": "u64", + "EraId": "u32", + "BiddingOrderUnit": { + "bidder_id": "AccountId", + "token_id": "AssetId", + "block_num": "BlockNumber", + "votes": "Balance", + "annual_roi": "Permill", + "validator": "AccountId" + }, + "BiddingOrderUnitOf": "BiddingOrderUnit", + "VersionId": "u32", + "PermissionName": "u64", + "PermissionLevel": { + "actor": "AccountName", + "permission": "PermissionName" + }, + "Action": { + "account": "AccountName", + "name": "ActionName", + "authorization": "Vec", + "data": "Vec" + }, + "AccountName": "u64", + "Checksum256": "([u8;32])", + "ActionName": "u64", + "FlatMap": { + "map": "Vec<(ActionName, u64)>" + }, + "UnsignedInt": "u32", + "ActionReceipt": { + "receiver": "AccountName", + "act_digest": "Checksum256", + "global_sequence": "u64", + "recv_sequence": "u64", + "auth_sequence": "FlatMap", + "code_sequence": "UnsignedInt", + "abi_sequence": "UnsignedInt" + }, + "BlockchainType": { + "_enum": ["BIFROST", "EOS", "IOST"] + }, + "Precision": "u32", + "BridgeAssetSymbol": { + "blockchain": "BlockchainType", + "symbol": "Vec", + "precision": "Precision" + }, + "PublicKey": { + "type_": "UnsignedInt", + "data": "[u8;33]" + }, + "ProducerKey": { + "producer_name": "AccountName", + "block_signing_key": "PublicKey" + }, + "ProducerSchedule": { + "version": "u32", + "producers": "Vec" + }, + "bridgeEosSignature": { + "type_": "UnsignedInt", + "data": "[u8;65]" + }, + "BlockTimestamp": "(u32)", + "Extension": "(u16, Vec)", + "BlockHeader": { + "timestamp": "BlockTimestamp", + "producer": "AccountName", + "confirmed": "u16", + "previous": "Checksum256", + "transaction_mroot": "Checksum256", + "action_mroot": "Checksum256", + "schedule_version": "u32", + "new_producers": "Option", + "header_extensions": "Vec" + }, + "SignedBlockHeader": { + "block_header": "BlockHeader", + "producer_signature": "bridgeEosSignature" + }, + "Checksum256Array": "Vec", + "IncrementalMerkle": { + "_node_count": "u64", + "_active_nodes": "Checksum256Array" + }, + "TxSig": { + "signature": "Vec", + "author": "AccountId" + }, + "MultiSig": { + "signatures": "Vec", + "threshold": "u8" + }, + "MultiSigTx": { + "chain_id": "Vec", + "raw_tx": "Vec", + "multi_sig": "MultiSig", + "action": "Action", + "from": "AccountId", + "asset_id": "AssetId" + }, + "Sent": { + "tx_id": "Vec", + "from": "AccountId", + "asset_id": "AssetId" + }, + "Succeeded": { + "tx_id": "Vec" + }, + "Failed": { + "tx_id": "Vec", + "reason": "Vec" + }, + "TxOut": { + "_enum": { + "Initialized": "MultiSigTx", + "Created": "MultiSigTx", + "SignComplete": "MultiSigTx", + "Sent": "Sent", + "Succeeded": "Succeeded", + "Failed": "Failed" + } + }, + "TransactionStatus": { + "_enum": [ + "Initialized", + "Created", + "SignComplete", + "Sent", + "Succeeded", + "Failed" + ] + }, + "ProducerAuthoritySchedule": { + "version": "u32", + "producers": "Vec" + }, + "ProducerAuthority": { + "producer_name": "ActionName", + "authority": "BlockSigningAuthority" + }, + "BlockSigningAuthority": "(UnsignedInt, BlockSigningAuthorityV0)", + "BlockSigningAuthorityV0": { + "threshold": "u32", + "keyWeights": "Vec" + }, + "KeyWeight": { + "key": "PublicKey", + "weight": "u16" + }, + "BancorPool": { + "currency_id": "CurrencyId", + "token_pool": "Balance", + "vstoken_pool": "Balance", + "token_ceiling": "Balance", + "token_base_supply": "Balance", + "vstoken_base_supply": "Balance" + }, + "IostAction": { + "contract": "Vec", + "action_name": "Vec", + "data": "Vec" + }, + "IostMultiSigTx": { + "chain_id": "i32", + "raw_tx": "Vec", + "multi_sig": "MultiSig", + "action": "IostAction", + "from": "AccountId", + "asset_id": "AssetId" + }, + "Processing": { + "tx_id": "Vec", + "multi_sig_tx": "IostMultiSigTx" + }, + "IostTxOut": { + "_enum": { + "Initial": "IostMultiSigTx", + "Generated": "IostMultiSigTx", + "Signed": "IostMultiSigTx", + "Processing": "Processing", + "Success": "Vec", + "Fail": "Failed" + } + }, + "PalletBalanceOf": "Balance", + "NumberOrHex": { + "_enum": { + "Number": "u64", + "Hex": "U256" + } + }, + "ExtraFeeName": { + "_enum": ["SalpContribute", "NoExtraFee"] + }, + "IsExtended": "bool", + "SystemPalletId": "PalletId", + "TrieIndex": "u32", + "FundInfo": { + "raised": "Balance", + "cap": "Balance", + "first_slot": "LeasePeriod", + "last_slot": "LeasePeriod", + "trie_index": "TrieIndex", + "status": "FundStatus" + }, + "RedeemStatus": "BalanceOf", + "FundStatus": { + "_enum": { + "Ongoing": 0, + "Retired": 1, + "Success": 2, + "Failed": 3, + "RefundWithdrew": 4, + "RedeemWithdrew": 5, + "End": 6 + } + }, + "ContributionStatus": { + "_enum": [ + "Idle", + "Refunded", + "Unlocked", + "Refunding", + "Contributing" + ] + }, + "CrowdloanContributeCall": { + "_enum": { + "CrowdloanContribute": "ContributeCall" + } + }, + "ContributeCall": { + "_enum": { + "Contribute": "Contribution" + } + }, + "Contribution": { + "index": "ParaId", + "value": "BalanceOf", + "signature": "Option" + }, + "Withdraw": { + "who": "AccountIdOf", + "index": "ParaId" + }, + "WithdrawCall": { + "_enum": { + "Withdraw": "Withdraw" + } + }, + "ParachainTransactProxyType": { + "_enum": { + "Primary": 0, + "Derived": 1 + } + }, + "ParachainDerivedProxyAccountType": { + "_enum": { + "Salp": 0, + "Staking": 1 + } + }, + "Keys": "SessionKeys1", + "ParachainTransactType": { + "_enum": { + "Xcm": 0, + "Proxy": 1 + } + }, + "RpcContributionStatus": { + "_enum": { + "Idle": 0, + "Contributing": 1, + "Refunded": 2, + "Unlocked": 3, + "Redeemed": 4 + } + }, + "RewardRecord": { + "account_id": "AccountId", + "record_amount": "Balance" + }, + "PoolId": "u32", + "SwapFee": "u128", + "PoolDetails": { + "owner": "AccountId", + "swap_fee_rate": "SwapFee", + "active": "bool" + }, + "PoolWeight": "Balance", + "PoolToken": "u128", + "PoolCreateTokenDetails": { + "token_id": "AssetId", + "token_balance": "Balance", + "token_weight": "PoolWeight" + }, + "MaxLocksOf": "u32", + "BifrostVestingInfo": { + "locked": "Balance", + "per_block": "Balance", + "starting_block": "BlockNumber" + }, + "OracleKey": "CurrencyId", + "BlockNumberFor": "BlockNumber", + "OrderId": "u64", + "OrderInfo": { + "owner": "AccountIdOf", + "vsbond": "CurrencyId", + "supply": "u128", + "remain": "u128", + "unit_price": "U64F64", + "order_id": "OrderId", + "order_state": "OrderState" + }, + "OrderState": { + "_enum": ["InTrade", "Revoked", "Clinchd"] + }, + "U64F64": "u128", + "ZenlinkAssetId": { + "chain_id": "u32", + "asset_type": "u8", + "asset_index": "u64" + }, + "ZenlinkAssetBalance": "u128", + "PairInfo": { + "asset0": "ZenlinkAssetId", + "asset1": "ZenlinkAssetId", + "account": "AccountId", + "totalLiquidity": "ZenlinkAssetBalance", + "holdingLiquidity": "ZenlinkAssetBalance", + "reserve0": "ZenlinkAssetBalance", + "reserve1": "ZenlinkAssetBalance", + "lpAssetId": "ZenlinkAssetId" + }, + "PairMetadata": { + "pair_account": "AccountId", + "target_supply": "ZenlinkAssetBalance" + }, + "BootstrapParamter": { + "min_contribution": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "target_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "accumulated_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "end_block_number": "BlockNumber", + "pair_account": "AccountId" + }, + "PairStatus": { + "_enum": { + "Trading": "PairMetadata", + "Bootstrap": "BootstrapParamter", + "Disable": null + } + }, + "TokenSymbol": { + "_enum": { + "BNC": 1, + "KUSD": 2, + "DOT": 3, + "KSM": 4, + "KAR": 6 + } + }, + "CurrencyId": { + "_enum": { + "Native": "TokenSymbol", + "VToken": "TokenSymbol", + "Token": "TokenSymbol", + "Stable": "TokenSymbol", + "VSToken": "TokenSymbol", + "VSBond": "(TokenSymbol, ParaId, LeasePeriod, LeasePeriod)", + "LPToken": "(TokenSymbol, u8, TokenSymbol, u8)" + } + }, + "CurrencyIdOf": "CurrencyId", + "TAssetBalance": "Balance", + "AmountOf": "Balance", + "StorageVersion": "Releases", + "ShareWeight": "Balance", + "Currency": "CurrencyIdOf", + "Amount": "AmountOf", + "TransferOriginType": { + "_enum": { + "FromSelf": 0, + "FromRelayChain": 1, + "FromSiblingParaChain": 2 + } + }, + "PoolType": { + "_enum": { + "Mining": 0, + "Farming": 1, + "EBFarming": 2 + } + }, + "PoolState": { + "_enum": { + "UnCharged": 0, + "Charged": 1, + "Ongoing": 2, + "Retired": 3, + "Dead": 4 + } + }, + "DepositData": { + "deposit": "Balance", + "gain_avgs": "BTreeMap", + "update_b": "BlockNumber" + }, + "RewardData": { + "total": "Balance", + "per_block": "Balance", + "claimed": "Balance", + "gain_avg": "FixedU128" + }, + "AssetInstance": "AssetInstanceV1", + "MultiAsset": "MultiAssetV1", + "Xcm": "XcmV1", + "XcmOrder": "XcmOrderV1", + "MultiLocation": "MultiLocationV1", + "XcmError": "XcmErrorV1", + "Response": "ResponseV1" + } + } + ], + "alias": { + "tokens": { + "AccountData": "OrmlAccountData", + "BalanceLock": "OrmlBalanceLock" + } + } + }, + "asgard": { + "rpc": { + "oracle": { + "getValue": { + "description": "Retrieves the oracle value for a given key.", + "params": [ + { + "name": "providerId", + "type": "RpcDataProviderId" + }, + { + "name": "key", + "type": "OracleKey" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "Option", + "isSubscription": false, + "jsonrpc": "oracle_getValue", + "method": "getValue", + "section": "oracle" + }, + "getAllValues": { + "description": "Retrieves all oracle values.", + "params": [ + { + "name": "providerId", + "type": "RpcDataProviderId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "Vec<(OracleKey, Option)>", + "isSubscription": false, + "jsonrpc": "oracle_getAllValues", + "method": "getAllValues", + "section": "oracle" + } + }, + "flexibleFee": { + "getFeeTokenAndAmount": { + "description": "Get charging token type and amount in terms of flexible transaction fee.", + "params": [ + { + "name": "who", + "type": "AccountId" + }, + { + "name": "extrinsic", + "type": "Bytes" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "(CurrencyId, NumberOrHex)", + "isSubscription": false, + "jsonrpc": "flexibleFee_getFeeTokenAndAmount", + "method": "getFeeTokenAndAmount", + "section": "flexibleFee" + } + }, + "salp": { + "getContribution": { + "description": "salp getContribution", + "params": [ + { + "name": "index", + "type": "ParaId" + }, + { + "name": "who", + "type": "AccountIdOf" + } + ], + "type": "(Balance, ContributionStatus)", + "isSubscription": false, + "jsonrpc": "salp_getContribution", + "method": "getContribution", + "section": "salp" + } + }, + "vtokenMint": { + "getVtokenMintRate": { + "description": "Get current vtoken mint rate.", + "params": [ + { + "name": "asset_id", + "type": "CurrencyId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "String", + "isSubscription": false, + "jsonrpc": "vtokenMint_getVtokenMintRate", + "method": "getVtokenMintRate", + "section": "vtokenMint" + } + }, + "zenlinkProtocol": { + "getAllAssets": { + "description": "zenlinkProtocol getAllAssets", + "params": [ + { + "name": "at", + "type": "Hash", + "isOptional": true + } + ], + "type": "Vec", + "isSubscription": false, + "jsonrpc": "zenlinkProtocol_getAllAssets", + "method": "getAllAssets", + "section": "zenlinkProtocol" }, - "flexibleFee": { - "getFeeTokenAndAmount": { - "description": "Get charging token type and amount in terms of flexible transaction fee.", - "params": [ - { - "name": "who", - "type": "AccountId" - }, - { - "name": "extrinsic", - "type": "Bytes" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "(CurrencyId, NumberOrHex)", - "isSubscription": false, - "jsonrpc": "flexibleFee_getFeeTokenAndAmount", - "method": "getFeeTokenAndAmount", - "section": "flexibleFee" - } + "getBalance": { + "description": "zenlinkProtocol getBalance", + "params": [ + { + "name": "asset_id", + "type": "ZenlinkAssetId" + }, + { + "name": "account", + "type": "AccountId" + }, + { + "name": "at", + "type": "Hash", + "isOptional": true + } + ], + "type": "String", + "isSubscription": false, + "jsonrpc": "zenlinkProtocol_getBalance", + "method": "getBalance", + "section": "zenlinkProtocol" }, - "salp": { - "getContribution": { - "description": "salp getContribution", - "params": [ - { - "name": "index", - "type": "ParaId" - }, - { - "name": "who", - "type": "AccountIdOf" - } - ], - "type": "(Balance, ContributionStatus)", - "isSubscription": false, - "jsonrpc": "salp_getContribution", - "method": "getContribution", - "section": "salp" - } + "getSovereignsInfo": { + "description": "Get the ownership of a certain currency for each parachain.", + "params": [ + { + "name": "asset_id", + "type": "ZenlinkAssetId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "(u32, AccountId, String)", + "isSubscription": false, + "jsonrpc": "zenlinkProtocol_getSovereignsInfo", + "method": "getSovereignsInfo", + "section": "zenlinkProtocol" }, - "vtokenMint": { - "getVtokenMintRate": { - "description": "Get current vtoken mint rate.", - "params": [ - { - "name": "asset_id", - "type": "CurrencyId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "String", - "isSubscription": false, - "jsonrpc": "vtokenMint_getVtokenMintRate", - "method": "getVtokenMintRate", - "section": "vtokenMint" - } + "getPairByAssetId": { + "description": "Get the detailed information of a particular exchange pair.", + "params": [ + { + "name": "asset_0", + "type": "ZenlinkAssetId" + }, + { + "name": "asset_1", + "type": "ZenlinkAssetId" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "PairInfo", + "isSubscription": false, + "jsonrpc": "zenlinkProtocol_getPairByAssetId", + "method": "getPairByAssetId", + "section": "zenlinkProtocol" }, - "zenlinkProtocol": { - "getAllAssets": { - "description": "zenlinkProtocol getAllAssets", - "params": [ - { - "name": "at", - "type": "Hash", - "isOptional": true - } - ], - "type": "Vec", - "isSubscription": false, - "jsonrpc": "zenlinkProtocol_getAllAssets", - "method": "getAllAssets", - "section": "zenlinkProtocol" - }, - "getBalance": { - "description": "zenlinkProtocol getBalance", - "params": [ - { - "name": "asset_id", - "type": "ZenlinkAssetId" - }, - { - "name": "account", - "type": "AccountId" - }, - { - "name": "at", - "type": "Hash", - "isOptional": true - } - ], - "type": "String", - "isSubscription": false, - "jsonrpc": "zenlinkProtocol_getBalance", - "method": "getBalance", - "section": "zenlinkProtocol" - }, - "getSovereignsInfo": { - "description": "Get the ownership of a certain currency for each parachain.", - "params": [ - { - "name": "asset_id", - "type": "ZenlinkAssetId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "(u32, AccountId, String)", - "isSubscription": false, - "jsonrpc": "zenlinkProtocol_getSovereignsInfo", - "method": "getSovereignsInfo", - "section": "zenlinkProtocol" - }, - "getPairByAssetId": { - "description": "Get the detailed information of a particular exchange pair.", - "params": [ - { - "name": "asset_0", - "type": "ZenlinkAssetId" - }, - { - "name": "asset_1", - "type": "ZenlinkAssetId" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "PairInfo", - "isSubscription": false, - "jsonrpc": "zenlinkProtocol_getPairByAssetId", - "method": "getPairByAssetId", - "section": "zenlinkProtocol" - }, - "getAmountInPrice": { - "description": "Get the output token amount for an exact input token amount.", - "params": [ - { - "name": "supply", - "type": "ZenlinkAssetBalance" - }, - { - "name": "path", - "type": "Vec" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "u128", - "isSubscription": false, - "jsonrpc": "zenlinkProtocol_getAmountInPrice", - "method": "getAmountInPrice", - "section": "zenlinkProtocol" - }, - "getAmountOutPrice": { - "description": "Get the input token amount for an exact output token amount.", - "params": [ - { - "name": "supply", - "type": "ZenlinkAssetBalance" - }, - { - "name": "path", - "type": "Vec" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "u128", - "isSubscription": false, - "jsonrpc": "zenlinkProtocol_getAmountOutPrice", - "method": "getAmountOutPrice", - "section": "zenlinkProtocol" - }, - "getEstimateLptoken": { - "description": "Get the estimated number of LP token acquired given the desired and minimum amount for both in-token and out-token.", - "params": [ - { - "name": "asset_0", - "type": "ZenlinkAssetId" - }, - { - "name": "asset_1", - "type": "ZenlinkAssetId" - }, - { - "name": "amount_0_desired", - "type": "ZenlinkAssetBalance" - }, - { - "name": "amount_1_desired", - "type": "ZenlinkAssetBalance" - }, - { - "name": "amount_0_min", - "type": "ZenlinkAssetBalance" - }, - { - "name": "amount_1_min", - "type": "ZenlinkAssetBalance" - }, - { - "name": "at", - "type": "BlockHash", - "isHistoric": true, - "isOptional": true - } - ], - "type": "u128", - "isSubscription": false, - "jsonrpc": "zenlinkProtocol_getEstimateLptoken", - "method": "getEstimateLptoken", - "section": "zenlinkProtocol" - } + "getAmountInPrice": { + "description": "Get the output token amount for an exact input token amount.", + "params": [ + { + "name": "supply", + "type": "ZenlinkAssetBalance" + }, + { + "name": "path", + "type": "Vec" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "u128", + "isSubscription": false, + "jsonrpc": "zenlinkProtocol_getAmountInPrice", + "method": "getAmountInPrice", + "section": "zenlinkProtocol" }, - "liquidityMining": { - "getRewards": { - "description": "Get the rewards users deserve", - "params": [ - { - "name": "who", - "type": "AccountId" - }, - { - "name": "pid", - "type": "PoolId" - }, - { - "name": "at", - "type": "Hash", - "isOptional": true - } - ], - "type": "Vec<(CurrencyId, Balance)>", - "isSubscription": false, - "jsonrpc": "liquidityMining_getRewards", - "method": "getRewards", - "section": "liquidityMining" - } + "getAmountOutPrice": { + "description": "Get the input token amount for an exact output token amount.", + "params": [ + { + "name": "supply", + "type": "ZenlinkAssetBalance" + }, + { + "name": "path", + "type": "Vec" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "u128", + "isSubscription": false, + "jsonrpc": "zenlinkProtocol_getAmountOutPrice", + "method": "getAmountOutPrice", + "section": "zenlinkProtocol" + }, + "getEstimateLptoken": { + "description": "Get the estimated number of LP token acquired given the desired and minimum amount for both in-token and out-token.", + "params": [ + { + "name": "asset_0", + "type": "ZenlinkAssetId" + }, + { + "name": "asset_1", + "type": "ZenlinkAssetId" + }, + { + "name": "amount_0_desired", + "type": "ZenlinkAssetBalance" + }, + { + "name": "amount_1_desired", + "type": "ZenlinkAssetBalance" + }, + { + "name": "amount_0_min", + "type": "ZenlinkAssetBalance" + }, + { + "name": "amount_1_min", + "type": "ZenlinkAssetBalance" + }, + { + "name": "at", + "type": "BlockHash", + "isHistoric": true, + "isOptional": true + } + ], + "type": "u128", + "isSubscription": false, + "jsonrpc": "zenlinkProtocol_getEstimateLptoken", + "method": "getEstimateLptoken", + "section": "zenlinkProtocol" } }, - "types": [ - { - "minmax": [0, 901], - "types": { - "CallOf": "Call", - "DispatchTime": { - "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" - } - }, - "ScheduleTaskIndex": "u32", - "DelayedOrigin": { - "delay": "BlockNumber", - "origin": "PalletsOrigin" - }, - "AuthorityOrigin": "DelayedOrigin", - "StorageValue": "Vec", - "GraduallyUpdate": { - "key": "StorageKey", - "targetValue": "StorageValue", - "perBlock": "StorageValue" - }, - "StorageKeyBytes": "Vec", - "StorageValueBytes": "Vec", - "RpcDataProviderId": "Text", - "DataProviderId": "u8", - "TimestampedValue": { - "value": "OracleValue", - "timestamp": "Moment" - }, - "TimestampedValueOf": "TimestampedValue", - "OrderedSet": "Vec", - "OrmlAccountData": { - "free": "Balance", - "reserved": "Balance", - "frozen": "Balance" - }, - "OrmlBalanceLock": { - "amount": "Balance", - "id": "LockIdentifier" - }, - "AuctionInfo": { - "bid": "Option<(AccountId, Balance)>", - "start": "BlockNumber", - "end": "Option" - }, - "DelayedDispatchTime": { - "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" - } - }, - "DispatchId": "u32", - "Price": "FixedU128", - "OrmlVestingSchedule": { - "start": "BlockNumber", - "period": "BlockNumber", - "periodCount": "u32", - "perPeriod": "Compact" - }, - "VestingScheduleOf": "OrmlVestingSchedule", - "PoolInfo": { - "pool_id": "PoolId", - "keeper": "AccountId", - "investor": "Option", - "trading_pair": "(CurrencyId, CurrencyId)", - "duration": "BlockNumber", - "type": "PoolType", - "min_deposit_to_start": "Balance", - "after_block_to_start": "BlockNumber", - "deposit": "Balance", - "rewards": "BTreeMap", - "update_b": "BlockNumber", - "state": "PoolState", - "block_startup": "Option", - "block_retired": "Option" - }, - "Share": "u128", - "OracleValue": "Price", - "BiddingOrderId": "u64", - "EraId": "u32", - "BiddingOrderUnit": { - "bidder_id": "AccountId", - "token_id": "AssetId", - "block_num": "BlockNumber", - "votes": "Balance", - "annual_roi": "Permill", - "validator": "AccountId" - }, - "BiddingOrderUnitOf": "BiddingOrderUnit", - "VersionId": "u32", - "PermissionName": "u64", - "PermissionLevel": { - "actor": "AccountName", - "permission": "PermissionName" - }, - "Action": { - "account": "AccountName", - "name": "ActionName", - "authorization": "Vec", - "data": "Vec" - }, - "AccountName": "u64", - "Checksum256": "([u8;32])", - "ActionName": "u64", - "FlatMap": { - "map": "Vec<(ActionName, u64)>" - }, - "UnsignedInt": "u32", - "ActionReceipt": { - "receiver": "AccountName", - "act_digest": "Checksum256", - "global_sequence": "u64", - "recv_sequence": "u64", - "auth_sequence": "FlatMap", - "code_sequence": "UnsignedInt", - "abi_sequence": "UnsignedInt" - }, - "BlockchainType": { - "_enum": ["BIFROST", "EOS", "IOST"] - }, - "Precision": "u32", - "BridgeAssetSymbol": { - "blockchain": "BlockchainType", - "symbol": "Vec", - "precision": "Precision" - }, - "PublicKey": { - "type_": "UnsignedInt", - "data": "[u8;33]" - }, - "ProducerKey": { - "producer_name": "AccountName", - "block_signing_key": "PublicKey" - }, - "ProducerSchedule": { - "version": "u32", - "producers": "Vec" - }, - "bridgeEosSignature": { - "type_": "UnsignedInt", - "data": "[u8;65]" - }, - "BlockTimestamp": "(u32)", - "Extension": "(u16, Vec)", - "BlockHeader": { - "timestamp": "BlockTimestamp", - "producer": "AccountName", - "confirmed": "u16", - "previous": "Checksum256", - "transaction_mroot": "Checksum256", - "action_mroot": "Checksum256", - "schedule_version": "u32", - "new_producers": "Option", - "header_extensions": "Vec" - }, - "SignedBlockHeader": { - "block_header": "BlockHeader", - "producer_signature": "bridgeEosSignature" - }, - "Checksum256Array": "Vec", - "IncrementalMerkle": { - "_node_count": "u64", - "_active_nodes": "Checksum256Array" - }, - "TxSig": { - "signature": "Vec", - "author": "AccountId" - }, - "MultiSig": { - "signatures": "Vec", - "threshold": "u8" - }, - "MultiSigTx": { - "chain_id": "Vec", - "raw_tx": "Vec", - "multi_sig": "MultiSig", - "action": "Action", - "from": "AccountId", - "asset_id": "AssetId" - }, - "Sent": { - "tx_id": "Vec", - "from": "AccountId", - "asset_id": "AssetId" - }, - "Succeeded": { - "tx_id": "Vec" - }, - "Failed": { - "tx_id": "Vec", - "reason": "Vec" - }, - "TxOut": { - "_enum": { - "Initialized": "MultiSigTx", - "Created": "MultiSigTx", - "SignComplete": "MultiSigTx", - "Sent": "Sent", - "Succeeded": "Succeeded", - "Failed": "Failed" - } - }, - "TransactionStatus": { - "_enum": [ - "Initialized", - "Created", - "SignComplete", - "Sent", - "Succeeded", - "Failed" - ] - }, - "ProducerAuthoritySchedule": { - "version": "u32", - "producers": "Vec" - }, - "ProducerAuthority": { - "producer_name": "ActionName", - "authority": "BlockSigningAuthority" - }, - "BlockSigningAuthority": "(UnsignedInt, BlockSigningAuthorityV0)", - "BlockSigningAuthorityV0": { - "threshold": "u32", - "keyWeights": "Vec" - }, - "KeyWeight": { - "key": "PublicKey", - "weight": "u16" - }, - "BancorPool": { - "currency_id": "CurrencyId", - "token_pool": "Balance", - "vstoken_pool": "Balance", - "token_ceiling": "Balance", - "token_base_supply": "Balance", - "vstoken_base_supply": "Balance" - }, - "IostAction": { - "contract": "Vec", - "action_name": "Vec", - "data": "Vec" - }, - "IostMultiSigTx": { - "chain_id": "i32", - "raw_tx": "Vec", - "multi_sig": "MultiSig", - "action": "IostAction", - "from": "AccountId", - "asset_id": "AssetId" - }, - "Processing": { - "tx_id": "Vec", - "multi_sig_tx": "IostMultiSigTx" - }, - "IostTxOut": { - "_enum": { - "Initial": "IostMultiSigTx", - "Generated": "IostMultiSigTx", - "Signed": "IostMultiSigTx", - "Processing": "Processing", - "Success": "Vec", - "Fail": "Failed" - } - }, - "PalletBalanceOf": "Balance", - "NumberOrHex": { - "_enum": { - "Number": "u64", - "Hex": "U256" - } - }, - "ExtraFeeName": { - "_enum": ["SalpContribute", "NoExtraFee"] - }, - "IsExtended": "bool", - "SystemPalletId": "PalletId", - "TrieIndex": "u32", - "FundInfo": { - "raised": "Balance", - "cap": "Balance", - "first_slot": "LeasePeriod", - "last_slot": "LeasePeriod", - "trie_index": "TrieIndex", - "status": "FundStatus" - }, - "RedeemStatus": "BalanceOf", - "FundStatus": { - "_enum": { - "Ongoing": 0, - "Retired": 1, - "Success": 2, - "Failed": 3, - "RefundWithdrew": 4, - "RedeemWithdrew": 5, - "End": 6 - } - }, - "ContributionStatus": { - "_enum": [ - "Idle", - "Refunded", - "Unlocked", - "Refunding", - "Contributing" - ] - }, - "CrowdloanContributeCall": { - "_enum": { - "CrowdloanContribute": "ContributeCall" - } - }, - "ContributeCall": { - "_enum": { - "Contribute": "Contribution" - } - }, - "Contribution": { - "index": "ParaId", - "value": "BalanceOf", - "signature": "Option" - }, - "Withdraw": { - "who": "AccountIdOf", - "index": "ParaId" - }, - "WithdrawCall": { - "_enum": { - "Withdraw": "Withdraw" - } - }, - "ParachainTransactProxyType": { - "_enum": { - "Primary": 0, - "Derived": 1 - } - }, - "ParachainDerivedProxyAccountType": { - "_enum": { - "Salp": 0, - "Staking": 1 - } - }, - "Keys": "SessionKeys1", - "ParachainTransactType": { - "_enum": { - "Xcm": 0, - "Proxy": 1 - } - }, - "RpcContributionStatus": { - "_enum": { - "Idle": 0, - "Contributing": 1, - "Refunded": 2, - "Unlocked": 3, - "Redeemed": 4 - } - }, - "RewardRecord": { - "account_id": "AccountId", - "record_amount": "Balance" - }, - "PoolId": "u32", - "SwapFee": "u128", - "PoolDetails": { - "owner": "AccountId", - "swap_fee_rate": "SwapFee", - "active": "bool" - }, - "PoolWeight": "Balance", - "PoolToken": "u128", - "PoolCreateTokenDetails": { - "token_id": "AssetId", - "token_balance": "Balance", - "token_weight": "PoolWeight" - }, - "MaxLocksOf": "u32", - "BifrostVestingInfo": { - "locked": "Balance", - "per_block": "Balance", - "starting_block": "BlockNumber" - }, - "OracleKey": "CurrencyId", - "BlockNumberFor": "BlockNumber", - "OrderId": "u64", - "OrderInfo": { - "owner": "AccountIdOf", - "vsbond": "CurrencyId", - "supply": "u128", - "remain": "u128", - "unit_price": "U64F64", - "order_id": "OrderId", - "order_state": "OrderState" - }, - "OrderState": { - "_enum": ["InTrade", "Revoked", "Clinchd"] - }, - "U64F64": "u128", - "ZenlinkAssetId": { - "chain_id": "u32", - "asset_type": "u8", - "asset_index": "u64" - }, - "ZenlinkAssetBalance": "u128", - "PairInfo": { - "asset0": "ZenlinkAssetId", - "asset1": "ZenlinkAssetId", - "account": "AccountId", - "totalLiquidity": "ZenlinkAssetBalance", - "holdingLiquidity": "ZenlinkAssetBalance", - "reserve0": "ZenlinkAssetBalance", - "reserve1": "ZenlinkAssetBalance", - "lpAssetId": "ZenlinkAssetId" - }, - "PairMetadata": { - "pair_account": "AccountId", - "target_supply": "ZenlinkAssetBalance" - }, - "BootstrapParamter": { - "min_contribution": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", - "target_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", - "accumulated_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", - "end_block_number": "BlockNumber", - "pair_account": "AccountId" - }, - "PairStatus": { - "_enum": { - "Trading": "PairMetadata", - "Bootstrap": "BootstrapParamter", - "Disable": null - } - }, - "TokenSymbol": { - "_enum": { - "ASG": 0, - "BNC": 1, - "KUSD": 2, - "DOT": 3, - "KSM": 4, - "ETH": 5, - "KAR": 6, - "ZLK": 7 - } - }, - "CurrencyId": { - "_enum": { - "Native": "TokenSymbol", - "VToken": "TokenSymbol", - "Token": "TokenSymbol", - "Stable": "TokenSymbol", - "VSToken": "TokenSymbol", - "VSBond": "(TokenSymbol, ParaId, LeasePeriod, LeasePeriod)", - "LPToken": "(TokenSymbol, u8, TokenSymbol, u8)" - } - }, - "CurrencyIdOf": "CurrencyId", - "TAssetBalance": "Balance", - "AmountOf": "Balance", - "StorageVersion": "Releases", - "ShareWeight": "Balance", - "Currency": "CurrencyIdOf", - "Amount": "AmountOf", - "TransferOriginType": { - "_enum": { - "FromSelf": 0, - "FromRelayChain": 1, - "FromSiblingParaChain": 2 - } - }, - "PoolType": { - "_enum": { - "Mining": 0, - "Farming": 1, - "EBFarming": 2 - } - }, - "PoolState": { - "_enum": { - "UnCharged": 0, - "Charged": 1, - "Ongoing": 2, - "Retired": 3, - "Dead": 4 - } - }, - "DepositData": { - "deposit": "Balance", - "gain_avgs": "BTreeMap", - "update_b": "BlockNumber" - }, - "RewardData": { - "total": "Balance", - "per_block": "Balance", - "claimed": "Balance", - "gain_avg": "FixedU128" - }, - "AssetInstance": "AssetInstanceV1", - "MultiAsset": "MultiAssetV0", - "Xcm": "XcmV0", - "XcmOrder": "XcmOrderV0", - "MultiLocation": "MultiLocationV0", - "XcmError": "XcmErrorV0", - "Response": "ResponseV0" - } - }, - { - "minmax": [902, null], - "types": { - "CallOf": "Call", - "DispatchTime": { - "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" - } - }, - "ScheduleTaskIndex": "u32", - "DelayedOrigin": { - "delay": "BlockNumber", - "origin": "PalletsOrigin" - }, - "AuthorityOrigin": "DelayedOrigin", - "StorageValue": "Vec", - "GraduallyUpdate": { - "key": "StorageKey", - "targetValue": "StorageValue", - "perBlock": "StorageValue" - }, - "StorageKeyBytes": "Vec", - "StorageValueBytes": "Vec", - "RpcDataProviderId": "Text", - "DataProviderId": "u8", - "TimestampedValue": { - "value": "OracleValue", - "timestamp": "Moment" - }, - "TimestampedValueOf": "TimestampedValue", - "OrderedSet": "Vec", - "OrmlAccountData": { - "free": "Balance", - "reserved": "Balance", - "frozen": "Balance" - }, - "OrmlBalanceLock": { - "amount": "Balance", - "id": "LockIdentifier" - }, - "AuctionInfo": { - "bid": "Option<(AccountId, Balance)>", - "start": "BlockNumber", - "end": "Option" - }, - "DelayedDispatchTime": { - "_enum": { - "At": "BlockNumber", - "After": "BlockNumber" - } - }, - "DispatchId": "u32", - "Price": "FixedU128", - "OrmlVestingSchedule": { - "start": "BlockNumber", - "period": "BlockNumber", - "periodCount": "u32", - "perPeriod": "Compact" - }, - "VestingScheduleOf": "OrmlVestingSchedule", - "PoolInfo": { - "pool_id": "PoolId", - "keeper": "AccountId", - "investor": "Option", - "trading_pair": "(CurrencyId, CurrencyId)", - "duration": "BlockNumber", - "type": "PoolType", - "min_deposit_to_start": "Balance", - "after_block_to_start": "BlockNumber", - "deposit": "Balance", - "rewards": "BTreeMap", - "update_b": "BlockNumber", - "state": "PoolState", - "block_startup": "Option", - "block_retired": "Option" - }, - "Share": "u128", - "OracleValue": "Price", - "BiddingOrderId": "u64", - "EraId": "u32", - "BiddingOrderUnit": { - "bidder_id": "AccountId", - "token_id": "AssetId", - "block_num": "BlockNumber", - "votes": "Balance", - "annual_roi": "Permill", - "validator": "AccountId" - }, - "BiddingOrderUnitOf": "BiddingOrderUnit", - "VersionId": "u32", - "PermissionName": "u64", - "PermissionLevel": { - "actor": "AccountName", - "permission": "PermissionName" - }, - "Action": { - "account": "AccountName", - "name": "ActionName", - "authorization": "Vec", - "data": "Vec" - }, - "AccountName": "u64", - "Checksum256": "([u8;32])", - "ActionName": "u64", - "FlatMap": { - "map": "Vec<(ActionName, u64)>" - }, - "UnsignedInt": "u32", - "ActionReceipt": { - "receiver": "AccountName", - "act_digest": "Checksum256", - "global_sequence": "u64", - "recv_sequence": "u64", - "auth_sequence": "FlatMap", - "code_sequence": "UnsignedInt", - "abi_sequence": "UnsignedInt" - }, - "BlockchainType": { - "_enum": ["BIFROST", "EOS", "IOST"] - }, - "Precision": "u32", - "BridgeAssetSymbol": { - "blockchain": "BlockchainType", - "symbol": "Vec", - "precision": "Precision" - }, - "PublicKey": { - "type_": "UnsignedInt", - "data": "[u8;33]" - }, - "ProducerKey": { - "producer_name": "AccountName", - "block_signing_key": "PublicKey" - }, - "ProducerSchedule": { - "version": "u32", - "producers": "Vec" - }, - "bridgeEosSignature": { - "type_": "UnsignedInt", - "data": "[u8;65]" - }, - "BlockTimestamp": "(u32)", - "Extension": "(u16, Vec)", - "BlockHeader": { - "timestamp": "BlockTimestamp", - "producer": "AccountName", - "confirmed": "u16", - "previous": "Checksum256", - "transaction_mroot": "Checksum256", - "action_mroot": "Checksum256", - "schedule_version": "u32", - "new_producers": "Option", - "header_extensions": "Vec" - }, - "SignedBlockHeader": { - "block_header": "BlockHeader", - "producer_signature": "bridgeEosSignature" - }, - "Checksum256Array": "Vec", - "IncrementalMerkle": { - "_node_count": "u64", - "_active_nodes": "Checksum256Array" - }, - "TxSig": { - "signature": "Vec", - "author": "AccountId" - }, - "MultiSig": { - "signatures": "Vec", - "threshold": "u8" - }, - "MultiSigTx": { - "chain_id": "Vec", - "raw_tx": "Vec", - "multi_sig": "MultiSig", - "action": "Action", - "from": "AccountId", - "asset_id": "AssetId" - }, - "Sent": { - "tx_id": "Vec", - "from": "AccountId", - "asset_id": "AssetId" - }, - "Succeeded": { - "tx_id": "Vec" - }, - "Failed": { - "tx_id": "Vec", - "reason": "Vec" - }, - "TxOut": { - "_enum": { - "Initialized": "MultiSigTx", - "Created": "MultiSigTx", - "SignComplete": "MultiSigTx", - "Sent": "Sent", - "Succeeded": "Succeeded", - "Failed": "Failed" - } - }, - "TransactionStatus": { - "_enum": [ - "Initialized", - "Created", - "SignComplete", - "Sent", - "Succeeded", - "Failed" - ] - }, - "ProducerAuthoritySchedule": { - "version": "u32", - "producers": "Vec" - }, - "ProducerAuthority": { - "producer_name": "ActionName", - "authority": "BlockSigningAuthority" - }, - "BlockSigningAuthority": "(UnsignedInt, BlockSigningAuthorityV0)", - "BlockSigningAuthorityV0": { - "threshold": "u32", - "keyWeights": "Vec" - }, - "KeyWeight": { - "key": "PublicKey", - "weight": "u16" - }, - "BancorPool": { - "currency_id": "CurrencyId", - "token_pool": "Balance", - "vstoken_pool": "Balance", - "token_ceiling": "Balance", - "token_base_supply": "Balance", - "vstoken_base_supply": "Balance" - }, - "IostAction": { - "contract": "Vec", - "action_name": "Vec", - "data": "Vec" - }, - "IostMultiSigTx": { - "chain_id": "i32", - "raw_tx": "Vec", - "multi_sig": "MultiSig", - "action": "IostAction", - "from": "AccountId", - "asset_id": "AssetId" - }, - "Processing": { - "tx_id": "Vec", - "multi_sig_tx": "IostMultiSigTx" - }, - "IostTxOut": { - "_enum": { - "Initial": "IostMultiSigTx", - "Generated": "IostMultiSigTx", - "Signed": "IostMultiSigTx", - "Processing": "Processing", - "Success": "Vec", - "Fail": "Failed" - } - }, - "PalletBalanceOf": "Balance", - "NumberOrHex": { - "_enum": { - "Number": "u64", - "Hex": "U256" - } - }, - "ExtraFeeName": { - "_enum": ["SalpContribute", "NoExtraFee"] - }, - "IsExtended": "bool", - "SystemPalletId": "PalletId", - "TrieIndex": "u32", - "FundInfo": { - "raised": "Balance", - "cap": "Balance", - "first_slot": "LeasePeriod", - "last_slot": "LeasePeriod", - "trie_index": "TrieIndex", - "status": "FundStatus" - }, - "RedeemStatus": "BalanceOf", - "FundStatus": { - "_enum": { - "Ongoing": 0, - "Retired": 1, - "Success": 2, - "Failed": 3, - "RefundWithdrew": 4, - "RedeemWithdrew": 5, - "End": 6 - } - }, - "ContributionStatus": { - "_enum": [ - "Idle", - "Refunded", - "Unlocked", - "Refunding", - "Contributing" - ] - }, - "CrowdloanContributeCall": { - "_enum": { - "CrowdloanContribute": "ContributeCall" - } - }, - "ContributeCall": { - "_enum": { - "Contribute": "Contribution" - } - }, - "Contribution": { - "index": "ParaId", - "value": "BalanceOf", - "signature": "Option" - }, - "Withdraw": { - "who": "AccountIdOf", - "index": "ParaId" - }, - "WithdrawCall": { - "_enum": { - "Withdraw": "Withdraw" - } - }, - "ParachainTransactProxyType": { - "_enum": { - "Primary": 0, - "Derived": 1 - } - }, - "ParachainDerivedProxyAccountType": { - "_enum": { - "Salp": 0, - "Staking": 1 - } - }, - "Keys": "SessionKeys1", - "ParachainTransactType": { - "_enum": { - "Xcm": 0, - "Proxy": 1 - } - }, - "RpcContributionStatus": { - "_enum": { - "Idle": 0, - "Contributing": 1, - "Refunded": 2, - "Unlocked": 3, - "Redeemed": 4 - } - }, - "RewardRecord": { - "account_id": "AccountId", - "record_amount": "Balance" - }, - "PoolId": "u32", - "SwapFee": "u128", - "PoolDetails": { - "owner": "AccountId", - "swap_fee_rate": "SwapFee", - "active": "bool" - }, - "PoolWeight": "Balance", - "PoolToken": "u128", - "PoolCreateTokenDetails": { - "token_id": "AssetId", - "token_balance": "Balance", - "token_weight": "PoolWeight" - }, - "MaxLocksOf": "u32", - "BifrostVestingInfo": { - "locked": "Balance", - "per_block": "Balance", - "starting_block": "BlockNumber" - }, - "OracleKey": "CurrencyId", - "BlockNumberFor": "BlockNumber", - "OrderId": "u64", - "OrderInfo": { - "owner": "AccountIdOf", - "vsbond": "CurrencyId", - "supply": "u128", - "remain": "u128", - "unit_price": "U64F64", - "order_id": "OrderId", - "order_state": "OrderState" - }, - "OrderState": { - "_enum": ["InTrade", "Revoked", "Clinchd"] - }, - "U64F64": "u128", - "ZenlinkAssetId": { - "chain_id": "u32", - "asset_type": "u8", - "asset_index": "u64" - }, - "ZenlinkAssetBalance": "u128", - "PairInfo": { - "asset0": "ZenlinkAssetId", - "asset1": "ZenlinkAssetId", - "account": "AccountId", - "totalLiquidity": "ZenlinkAssetBalance", - "holdingLiquidity": "ZenlinkAssetBalance", - "reserve0": "ZenlinkAssetBalance", - "reserve1": "ZenlinkAssetBalance", - "lpAssetId": "ZenlinkAssetId" - }, - "PairMetadata": { - "pair_account": "AccountId", - "target_supply": "ZenlinkAssetBalance" - }, - "BootstrapParamter": { - "min_contribution": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", - "target_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", - "accumulated_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", - "end_block_number": "BlockNumber", - "pair_account": "AccountId" - }, - "PairStatus": { - "_enum": { - "Trading": "PairMetadata", - "Bootstrap": "BootstrapParamter", - "Disable": null - } - }, - "TokenSymbol": { - "_enum": { - "ASG": 0, - "BNC": 1, - "KUSD": 2, - "DOT": 3, - "KSM": 4, - "ETH": 5, - "KAR": 6, - "ZLK": 7 - } - }, - "CurrencyId": { - "_enum": { - "Native": "TokenSymbol", - "VToken": "TokenSymbol", - "Token": "TokenSymbol", - "Stable": "TokenSymbol", - "VSToken": "TokenSymbol", - "VSBond": "(TokenSymbol, ParaId, LeasePeriod, LeasePeriod)", - "LPToken": "(TokenSymbol, u8, TokenSymbol, u8)" - } - }, - "CurrencyIdOf": "CurrencyId", - "TAssetBalance": "Balance", - "AmountOf": "Balance", - "StorageVersion": "Releases", - "ShareWeight": "Balance", - "Currency": "CurrencyIdOf", - "Amount": "AmountOf", - "TransferOriginType": { - "_enum": { - "FromSelf": 0, - "FromRelayChain": 1, - "FromSiblingParaChain": 2 - } - }, - "PoolType": { - "_enum": { - "Mining": 0, - "Farming": 1, - "EBFarming": 2 - } - }, - "PoolState": { - "_enum": { - "UnCharged": 0, - "Charged": 1, - "Ongoing": 2, - "Retired": 3, - "Dead": 4 - } - }, - "DepositData": { - "deposit": "Balance", - "gain_avgs": "BTreeMap", - "update_b": "BlockNumber" - }, - "RewardData": { - "total": "Balance", - "per_block": "Balance", - "claimed": "Balance", - "gain_avg": "FixedU128" - }, - "AssetInstance": "AssetInstanceV1", - "MultiAsset": "MultiAssetV1", - "Xcm": "XcmV1", - "XcmOrder": "XcmOrderV1", - "MultiLocation": "MultiLocationV1", - "XcmError": "XcmErrorV1", - "Response": "ResponseV1" - } + "liquidityMining": { + "getRewards": { + "description": "Get the rewards users deserve", + "params": [ + { + "name": "who", + "type": "AccountId" + }, + { + "name": "pid", + "type": "PoolId" + }, + { + "name": "at", + "type": "Hash", + "isOptional": true + } + ], + "type": "Vec<(CurrencyId, Balance)>", + "isSubscription": false, + "jsonrpc": "liquidityMining_getRewards", + "method": "getRewards", + "section": "liquidityMining" } - ], - "alias": { - "tokens": { - "AccountData": "OrmlAccountData", - "BalanceLock": "OrmlBalanceLock" + } + }, + "types": [ + { + "minmax": [0, 901], + "types": { + "CallOf": "Call", + "DispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" + }, + "AuthorityOrigin": "DelayedOrigin", + "StorageValue": "Vec", + "GraduallyUpdate": { + "key": "StorageKey", + "targetValue": "StorageValue", + "perBlock": "StorageValue" + }, + "StorageKeyBytes": "Vec", + "StorageValueBytes": "Vec", + "RpcDataProviderId": "Text", + "DataProviderId": "u8", + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" + }, + "TimestampedValueOf": "TimestampedValue", + "OrderedSet": "Vec", + "OrmlAccountData": { + "free": "Balance", + "reserved": "Balance", + "frozen": "Balance" + }, + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" + }, + "VestingScheduleOf": "OrmlVestingSchedule", + "PoolInfo": { + "pool_id": "PoolId", + "keeper": "AccountId", + "investor": "Option", + "trading_pair": "(CurrencyId, CurrencyId)", + "duration": "BlockNumber", + "type": "PoolType", + "min_deposit_to_start": "Balance", + "after_block_to_start": "BlockNumber", + "deposit": "Balance", + "rewards": "BTreeMap", + "update_b": "BlockNumber", + "state": "PoolState", + "block_startup": "Option", + "block_retired": "Option" + }, + "Share": "u128", + "OracleValue": "Price", + "BiddingOrderId": "u64", + "EraId": "u32", + "BiddingOrderUnit": { + "bidder_id": "AccountId", + "token_id": "AssetId", + "block_num": "BlockNumber", + "votes": "Balance", + "annual_roi": "Permill", + "validator": "AccountId" + }, + "BiddingOrderUnitOf": "BiddingOrderUnit", + "VersionId": "u32", + "PermissionName": "u64", + "PermissionLevel": { + "actor": "AccountName", + "permission": "PermissionName" + }, + "Action": { + "account": "AccountName", + "name": "ActionName", + "authorization": "Vec", + "data": "Vec" + }, + "AccountName": "u64", + "Checksum256": "([u8;32])", + "ActionName": "u64", + "FlatMap": { + "map": "Vec<(ActionName, u64)>" + }, + "UnsignedInt": "u32", + "ActionReceipt": { + "receiver": "AccountName", + "act_digest": "Checksum256", + "global_sequence": "u64", + "recv_sequence": "u64", + "auth_sequence": "FlatMap", + "code_sequence": "UnsignedInt", + "abi_sequence": "UnsignedInt" + }, + "BlockchainType": { + "_enum": ["BIFROST", "EOS", "IOST"] + }, + "Precision": "u32", + "BridgeAssetSymbol": { + "blockchain": "BlockchainType", + "symbol": "Vec", + "precision": "Precision" + }, + "PublicKey": { + "type_": "UnsignedInt", + "data": "[u8;33]" + }, + "ProducerKey": { + "producer_name": "AccountName", + "block_signing_key": "PublicKey" + }, + "ProducerSchedule": { + "version": "u32", + "producers": "Vec" + }, + "bridgeEosSignature": { + "type_": "UnsignedInt", + "data": "[u8;65]" + }, + "BlockTimestamp": "(u32)", + "Extension": "(u16, Vec)", + "BlockHeader": { + "timestamp": "BlockTimestamp", + "producer": "AccountName", + "confirmed": "u16", + "previous": "Checksum256", + "transaction_mroot": "Checksum256", + "action_mroot": "Checksum256", + "schedule_version": "u32", + "new_producers": "Option", + "header_extensions": "Vec" + }, + "SignedBlockHeader": { + "block_header": "BlockHeader", + "producer_signature": "bridgeEosSignature" + }, + "Checksum256Array": "Vec", + "IncrementalMerkle": { + "_node_count": "u64", + "_active_nodes": "Checksum256Array" + }, + "TxSig": { + "signature": "Vec", + "author": "AccountId" + }, + "MultiSig": { + "signatures": "Vec", + "threshold": "u8" + }, + "MultiSigTx": { + "chain_id": "Vec", + "raw_tx": "Vec", + "multi_sig": "MultiSig", + "action": "Action", + "from": "AccountId", + "asset_id": "AssetId" + }, + "Sent": { + "tx_id": "Vec", + "from": "AccountId", + "asset_id": "AssetId" + }, + "Succeeded": { + "tx_id": "Vec" + }, + "Failed": { + "tx_id": "Vec", + "reason": "Vec" + }, + "TxOut": { + "_enum": { + "Initialized": "MultiSigTx", + "Created": "MultiSigTx", + "SignComplete": "MultiSigTx", + "Sent": "Sent", + "Succeeded": "Succeeded", + "Failed": "Failed" + } + }, + "TransactionStatus": { + "_enum": [ + "Initialized", + "Created", + "SignComplete", + "Sent", + "Succeeded", + "Failed" + ] + }, + "ProducerAuthoritySchedule": { + "version": "u32", + "producers": "Vec" + }, + "ProducerAuthority": { + "producer_name": "ActionName", + "authority": "BlockSigningAuthority" + }, + "BlockSigningAuthority": "(UnsignedInt, BlockSigningAuthorityV0)", + "BlockSigningAuthorityV0": { + "threshold": "u32", + "keyWeights": "Vec" + }, + "KeyWeight": { + "key": "PublicKey", + "weight": "u16" + }, + "BancorPool": { + "currency_id": "CurrencyId", + "token_pool": "Balance", + "vstoken_pool": "Balance", + "token_ceiling": "Balance", + "token_base_supply": "Balance", + "vstoken_base_supply": "Balance" + }, + "IostAction": { + "contract": "Vec", + "action_name": "Vec", + "data": "Vec" + }, + "IostMultiSigTx": { + "chain_id": "i32", + "raw_tx": "Vec", + "multi_sig": "MultiSig", + "action": "IostAction", + "from": "AccountId", + "asset_id": "AssetId" + }, + "Processing": { + "tx_id": "Vec", + "multi_sig_tx": "IostMultiSigTx" + }, + "IostTxOut": { + "_enum": { + "Initial": "IostMultiSigTx", + "Generated": "IostMultiSigTx", + "Signed": "IostMultiSigTx", + "Processing": "Processing", + "Success": "Vec", + "Fail": "Failed" + } + }, + "PalletBalanceOf": "Balance", + "NumberOrHex": { + "_enum": { + "Number": "u64", + "Hex": "U256" + } + }, + "ExtraFeeName": { + "_enum": ["SalpContribute", "NoExtraFee"] + }, + "IsExtended": "bool", + "SystemPalletId": "PalletId", + "TrieIndex": "u32", + "FundInfo": { + "raised": "Balance", + "cap": "Balance", + "first_slot": "LeasePeriod", + "last_slot": "LeasePeriod", + "trie_index": "TrieIndex", + "status": "FundStatus" + }, + "RedeemStatus": "BalanceOf", + "FundStatus": { + "_enum": { + "Ongoing": 0, + "Retired": 1, + "Success": 2, + "Failed": 3, + "RefundWithdrew": 4, + "RedeemWithdrew": 5, + "End": 6 + } + }, + "ContributionStatus": { + "_enum": [ + "Idle", + "Refunded", + "Unlocked", + "Refunding", + "Contributing" + ] + }, + "CrowdloanContributeCall": { + "_enum": { + "CrowdloanContribute": "ContributeCall" + } + }, + "ContributeCall": { + "_enum": { + "Contribute": "Contribution" + } + }, + "Contribution": { + "index": "ParaId", + "value": "BalanceOf", + "signature": "Option" + }, + "Withdraw": { + "who": "AccountIdOf", + "index": "ParaId" + }, + "WithdrawCall": { + "_enum": { + "Withdraw": "Withdraw" + } + }, + "ParachainTransactProxyType": { + "_enum": { + "Primary": 0, + "Derived": 1 + } + }, + "ParachainDerivedProxyAccountType": { + "_enum": { + "Salp": 0, + "Staking": 1 + } + }, + "Keys": "SessionKeys1", + "ParachainTransactType": { + "_enum": { + "Xcm": 0, + "Proxy": 1 + } + }, + "RpcContributionStatus": { + "_enum": { + "Idle": 0, + "Contributing": 1, + "Refunded": 2, + "Unlocked": 3, + "Redeemed": 4 + } + }, + "RewardRecord": { + "account_id": "AccountId", + "record_amount": "Balance" + }, + "PoolId": "u32", + "SwapFee": "u128", + "PoolDetails": { + "owner": "AccountId", + "swap_fee_rate": "SwapFee", + "active": "bool" + }, + "PoolWeight": "Balance", + "PoolToken": "u128", + "PoolCreateTokenDetails": { + "token_id": "AssetId", + "token_balance": "Balance", + "token_weight": "PoolWeight" + }, + "MaxLocksOf": "u32", + "BifrostVestingInfo": { + "locked": "Balance", + "per_block": "Balance", + "starting_block": "BlockNumber" + }, + "OracleKey": "CurrencyId", + "BlockNumberFor": "BlockNumber", + "OrderId": "u64", + "OrderInfo": { + "owner": "AccountIdOf", + "vsbond": "CurrencyId", + "supply": "u128", + "remain": "u128", + "unit_price": "U64F64", + "order_id": "OrderId", + "order_state": "OrderState" + }, + "OrderState": { + "_enum": ["InTrade", "Revoked", "Clinchd"] + }, + "U64F64": "u128", + "ZenlinkAssetId": { + "chain_id": "u32", + "asset_type": "u8", + "asset_index": "u64" + }, + "ZenlinkAssetBalance": "u128", + "PairInfo": { + "asset0": "ZenlinkAssetId", + "asset1": "ZenlinkAssetId", + "account": "AccountId", + "totalLiquidity": "ZenlinkAssetBalance", + "holdingLiquidity": "ZenlinkAssetBalance", + "reserve0": "ZenlinkAssetBalance", + "reserve1": "ZenlinkAssetBalance", + "lpAssetId": "ZenlinkAssetId" + }, + "PairMetadata": { + "pair_account": "AccountId", + "target_supply": "ZenlinkAssetBalance" + }, + "BootstrapParamter": { + "min_contribution": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "target_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "accumulated_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "end_block_number": "BlockNumber", + "pair_account": "AccountId" + }, + "PairStatus": { + "_enum": { + "Trading": "PairMetadata", + "Bootstrap": "BootstrapParamter", + "Disable": null + } + }, + "TokenSymbol": { + "_enum": { + "ASG": 0, + "BNC": 1, + "KUSD": 2, + "DOT": 3, + "KSM": 4, + "ETH": 5, + "KAR": 6, + "ZLK": 7 + } + }, + "CurrencyId": { + "_enum": { + "Native": "TokenSymbol", + "VToken": "TokenSymbol", + "Token": "TokenSymbol", + "Stable": "TokenSymbol", + "VSToken": "TokenSymbol", + "VSBond": "(TokenSymbol, ParaId, LeasePeriod, LeasePeriod)", + "LPToken": "(TokenSymbol, u8, TokenSymbol, u8)" + } + }, + "CurrencyIdOf": "CurrencyId", + "TAssetBalance": "Balance", + "AmountOf": "Balance", + "StorageVersion": "Releases", + "ShareWeight": "Balance", + "Currency": "CurrencyIdOf", + "Amount": "AmountOf", + "TransferOriginType": { + "_enum": { + "FromSelf": 0, + "FromRelayChain": 1, + "FromSiblingParaChain": 2 + } + }, + "PoolType": { + "_enum": { + "Mining": 0, + "Farming": 1, + "EBFarming": 2 + } + }, + "PoolState": { + "_enum": { + "UnCharged": 0, + "Charged": 1, + "Ongoing": 2, + "Retired": 3, + "Dead": 4 + } + }, + "DepositData": { + "deposit": "Balance", + "gain_avgs": "BTreeMap", + "update_b": "BlockNumber" + }, + "RewardData": { + "total": "Balance", + "per_block": "Balance", + "claimed": "Balance", + "gain_avg": "FixedU128" + }, + "AssetInstance": "AssetInstanceV1", + "MultiAsset": "MultiAssetV0", + "Xcm": "XcmV0", + "XcmOrder": "XcmOrderV0", + "MultiLocation": "MultiLocationV0", + "XcmError": "XcmErrorV0", + "Response": "ResponseV0" } + }, + { + "minmax": [902, null], + "types": { + "CallOf": "Call", + "DispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "ScheduleTaskIndex": "u32", + "DelayedOrigin": { + "delay": "BlockNumber", + "origin": "PalletsOrigin" + }, + "AuthorityOrigin": "DelayedOrigin", + "StorageValue": "Vec", + "GraduallyUpdate": { + "key": "StorageKey", + "targetValue": "StorageValue", + "perBlock": "StorageValue" + }, + "StorageKeyBytes": "Vec", + "StorageValueBytes": "Vec", + "RpcDataProviderId": "Text", + "DataProviderId": "u8", + "TimestampedValue": { + "value": "OracleValue", + "timestamp": "Moment" + }, + "TimestampedValueOf": "TimestampedValue", + "OrderedSet": "Vec", + "OrmlAccountData": { + "free": "Balance", + "reserved": "Balance", + "frozen": "Balance" + }, + "OrmlBalanceLock": { + "amount": "Balance", + "id": "LockIdentifier" + }, + "AuctionInfo": { + "bid": "Option<(AccountId, Balance)>", + "start": "BlockNumber", + "end": "Option" + }, + "DelayedDispatchTime": { + "_enum": { + "At": "BlockNumber", + "After": "BlockNumber" + } + }, + "DispatchId": "u32", + "Price": "FixedU128", + "OrmlVestingSchedule": { + "start": "BlockNumber", + "period": "BlockNumber", + "periodCount": "u32", + "perPeriod": "Compact" + }, + "VestingScheduleOf": "OrmlVestingSchedule", + "PoolInfo": { + "pool_id": "PoolId", + "keeper": "AccountId", + "investor": "Option", + "trading_pair": "(CurrencyId, CurrencyId)", + "duration": "BlockNumber", + "type": "PoolType", + "min_deposit_to_start": "Balance", + "after_block_to_start": "BlockNumber", + "deposit": "Balance", + "rewards": "BTreeMap", + "update_b": "BlockNumber", + "state": "PoolState", + "block_startup": "Option", + "block_retired": "Option" + }, + "Share": "u128", + "OracleValue": "Price", + "BiddingOrderId": "u64", + "EraId": "u32", + "BiddingOrderUnit": { + "bidder_id": "AccountId", + "token_id": "AssetId", + "block_num": "BlockNumber", + "votes": "Balance", + "annual_roi": "Permill", + "validator": "AccountId" + }, + "BiddingOrderUnitOf": "BiddingOrderUnit", + "VersionId": "u32", + "PermissionName": "u64", + "PermissionLevel": { + "actor": "AccountName", + "permission": "PermissionName" + }, + "Action": { + "account": "AccountName", + "name": "ActionName", + "authorization": "Vec", + "data": "Vec" + }, + "AccountName": "u64", + "Checksum256": "([u8;32])", + "ActionName": "u64", + "FlatMap": { + "map": "Vec<(ActionName, u64)>" + }, + "UnsignedInt": "u32", + "ActionReceipt": { + "receiver": "AccountName", + "act_digest": "Checksum256", + "global_sequence": "u64", + "recv_sequence": "u64", + "auth_sequence": "FlatMap", + "code_sequence": "UnsignedInt", + "abi_sequence": "UnsignedInt" + }, + "BlockchainType": { + "_enum": ["BIFROST", "EOS", "IOST"] + }, + "Precision": "u32", + "BridgeAssetSymbol": { + "blockchain": "BlockchainType", + "symbol": "Vec", + "precision": "Precision" + }, + "PublicKey": { + "type_": "UnsignedInt", + "data": "[u8;33]" + }, + "ProducerKey": { + "producer_name": "AccountName", + "block_signing_key": "PublicKey" + }, + "ProducerSchedule": { + "version": "u32", + "producers": "Vec" + }, + "bridgeEosSignature": { + "type_": "UnsignedInt", + "data": "[u8;65]" + }, + "BlockTimestamp": "(u32)", + "Extension": "(u16, Vec)", + "BlockHeader": { + "timestamp": "BlockTimestamp", + "producer": "AccountName", + "confirmed": "u16", + "previous": "Checksum256", + "transaction_mroot": "Checksum256", + "action_mroot": "Checksum256", + "schedule_version": "u32", + "new_producers": "Option", + "header_extensions": "Vec" + }, + "SignedBlockHeader": { + "block_header": "BlockHeader", + "producer_signature": "bridgeEosSignature" + }, + "Checksum256Array": "Vec", + "IncrementalMerkle": { + "_node_count": "u64", + "_active_nodes": "Checksum256Array" + }, + "TxSig": { + "signature": "Vec", + "author": "AccountId" + }, + "MultiSig": { + "signatures": "Vec", + "threshold": "u8" + }, + "MultiSigTx": { + "chain_id": "Vec", + "raw_tx": "Vec", + "multi_sig": "MultiSig", + "action": "Action", + "from": "AccountId", + "asset_id": "AssetId" + }, + "Sent": { + "tx_id": "Vec", + "from": "AccountId", + "asset_id": "AssetId" + }, + "Succeeded": { + "tx_id": "Vec" + }, + "Failed": { + "tx_id": "Vec", + "reason": "Vec" + }, + "TxOut": { + "_enum": { + "Initialized": "MultiSigTx", + "Created": "MultiSigTx", + "SignComplete": "MultiSigTx", + "Sent": "Sent", + "Succeeded": "Succeeded", + "Failed": "Failed" + } + }, + "TransactionStatus": { + "_enum": [ + "Initialized", + "Created", + "SignComplete", + "Sent", + "Succeeded", + "Failed" + ] + }, + "ProducerAuthoritySchedule": { + "version": "u32", + "producers": "Vec" + }, + "ProducerAuthority": { + "producer_name": "ActionName", + "authority": "BlockSigningAuthority" + }, + "BlockSigningAuthority": "(UnsignedInt, BlockSigningAuthorityV0)", + "BlockSigningAuthorityV0": { + "threshold": "u32", + "keyWeights": "Vec" + }, + "KeyWeight": { + "key": "PublicKey", + "weight": "u16" + }, + "BancorPool": { + "currency_id": "CurrencyId", + "token_pool": "Balance", + "vstoken_pool": "Balance", + "token_ceiling": "Balance", + "token_base_supply": "Balance", + "vstoken_base_supply": "Balance" + }, + "IostAction": { + "contract": "Vec", + "action_name": "Vec", + "data": "Vec" + }, + "IostMultiSigTx": { + "chain_id": "i32", + "raw_tx": "Vec", + "multi_sig": "MultiSig", + "action": "IostAction", + "from": "AccountId", + "asset_id": "AssetId" + }, + "Processing": { + "tx_id": "Vec", + "multi_sig_tx": "IostMultiSigTx" + }, + "IostTxOut": { + "_enum": { + "Initial": "IostMultiSigTx", + "Generated": "IostMultiSigTx", + "Signed": "IostMultiSigTx", + "Processing": "Processing", + "Success": "Vec", + "Fail": "Failed" + } + }, + "PalletBalanceOf": "Balance", + "NumberOrHex": { + "_enum": { + "Number": "u64", + "Hex": "U256" + } + }, + "ExtraFeeName": { + "_enum": ["SalpContribute", "NoExtraFee"] + }, + "IsExtended": "bool", + "SystemPalletId": "PalletId", + "TrieIndex": "u32", + "FundInfo": { + "raised": "Balance", + "cap": "Balance", + "first_slot": "LeasePeriod", + "last_slot": "LeasePeriod", + "trie_index": "TrieIndex", + "status": "FundStatus" + }, + "RedeemStatus": "BalanceOf", + "FundStatus": { + "_enum": { + "Ongoing": 0, + "Retired": 1, + "Success": 2, + "Failed": 3, + "RefundWithdrew": 4, + "RedeemWithdrew": 5, + "End": 6 + } + }, + "ContributionStatus": { + "_enum": [ + "Idle", + "Refunded", + "Unlocked", + "Refunding", + "Contributing" + ] + }, + "CrowdloanContributeCall": { + "_enum": { + "CrowdloanContribute": "ContributeCall" + } + }, + "ContributeCall": { + "_enum": { + "Contribute": "Contribution" + } + }, + "Contribution": { + "index": "ParaId", + "value": "BalanceOf", + "signature": "Option" + }, + "Withdraw": { + "who": "AccountIdOf", + "index": "ParaId" + }, + "WithdrawCall": { + "_enum": { + "Withdraw": "Withdraw" + } + }, + "ParachainTransactProxyType": { + "_enum": { + "Primary": 0, + "Derived": 1 + } + }, + "ParachainDerivedProxyAccountType": { + "_enum": { + "Salp": 0, + "Staking": 1 + } + }, + "Keys": "SessionKeys1", + "ParachainTransactType": { + "_enum": { + "Xcm": 0, + "Proxy": 1 + } + }, + "RpcContributionStatus": { + "_enum": { + "Idle": 0, + "Contributing": 1, + "Refunded": 2, + "Unlocked": 3, + "Redeemed": 4 + } + }, + "RewardRecord": { + "account_id": "AccountId", + "record_amount": "Balance" + }, + "PoolId": "u32", + "SwapFee": "u128", + "PoolDetails": { + "owner": "AccountId", + "swap_fee_rate": "SwapFee", + "active": "bool" + }, + "PoolWeight": "Balance", + "PoolToken": "u128", + "PoolCreateTokenDetails": { + "token_id": "AssetId", + "token_balance": "Balance", + "token_weight": "PoolWeight" + }, + "MaxLocksOf": "u32", + "BifrostVestingInfo": { + "locked": "Balance", + "per_block": "Balance", + "starting_block": "BlockNumber" + }, + "OracleKey": "CurrencyId", + "BlockNumberFor": "BlockNumber", + "OrderId": "u64", + "OrderInfo": { + "owner": "AccountIdOf", + "vsbond": "CurrencyId", + "supply": "u128", + "remain": "u128", + "unit_price": "U64F64", + "order_id": "OrderId", + "order_state": "OrderState" + }, + "OrderState": { + "_enum": ["InTrade", "Revoked", "Clinchd"] + }, + "U64F64": "u128", + "ZenlinkAssetId": { + "chain_id": "u32", + "asset_type": "u8", + "asset_index": "u64" + }, + "ZenlinkAssetBalance": "u128", + "PairInfo": { + "asset0": "ZenlinkAssetId", + "asset1": "ZenlinkAssetId", + "account": "AccountId", + "totalLiquidity": "ZenlinkAssetBalance", + "holdingLiquidity": "ZenlinkAssetBalance", + "reserve0": "ZenlinkAssetBalance", + "reserve1": "ZenlinkAssetBalance", + "lpAssetId": "ZenlinkAssetId" + }, + "PairMetadata": { + "pair_account": "AccountId", + "target_supply": "ZenlinkAssetBalance" + }, + "BootstrapParamter": { + "min_contribution": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "target_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "accumulated_supply": "(ZenlinkAssetBalance, ZenlinkAssetBalance)", + "end_block_number": "BlockNumber", + "pair_account": "AccountId" + }, + "PairStatus": { + "_enum": { + "Trading": "PairMetadata", + "Bootstrap": "BootstrapParamter", + "Disable": null + } + }, + "TokenSymbol": { + "_enum": { + "ASG": 0, + "BNC": 1, + "KUSD": 2, + "DOT": 3, + "KSM": 4, + "ETH": 5, + "KAR": 6, + "ZLK": 7 + } + }, + "CurrencyId": { + "_enum": { + "Native": "TokenSymbol", + "VToken": "TokenSymbol", + "Token": "TokenSymbol", + "Stable": "TokenSymbol", + "VSToken": "TokenSymbol", + "VSBond": "(TokenSymbol, ParaId, LeasePeriod, LeasePeriod)", + "LPToken": "(TokenSymbol, u8, TokenSymbol, u8)" + } + }, + "CurrencyIdOf": "CurrencyId", + "TAssetBalance": "Balance", + "AmountOf": "Balance", + "StorageVersion": "Releases", + "ShareWeight": "Balance", + "Currency": "CurrencyIdOf", + "Amount": "AmountOf", + "TransferOriginType": { + "_enum": { + "FromSelf": 0, + "FromRelayChain": 1, + "FromSiblingParaChain": 2 + } + }, + "PoolType": { + "_enum": { + "Mining": 0, + "Farming": 1, + "EBFarming": 2 + } + }, + "PoolState": { + "_enum": { + "UnCharged": 0, + "Charged": 1, + "Ongoing": 2, + "Retired": 3, + "Dead": 4 + } + }, + "DepositData": { + "deposit": "Balance", + "gain_avgs": "BTreeMap", + "update_b": "BlockNumber" + }, + "RewardData": { + "total": "Balance", + "per_block": "Balance", + "claimed": "Balance", + "gain_avg": "FixedU128" + }, + "AssetInstance": "AssetInstanceV1", + "MultiAsset": "MultiAssetV1", + "Xcm": "XcmV1", + "XcmOrder": "XcmOrderV1", + "MultiLocation": "MultiLocationV1", + "XcmError": "XcmErrorV1", + "Response": "ResponseV1" + } + } + ], + "alias": { + "tokens": { + "AccountData": "OrmlAccountData", + "BalanceLock": "OrmlBalanceLock" } } } } - } \ No newline at end of file + } +} diff --git a/chainTypes/bittensorChainTypes.ts b/chainTypes/bittensorChainTypes.ts index 7575d9d7..9805c360 100644 --- a/chainTypes/bittensorChainTypes.ts +++ b/chainTypes/bittensorChainTypes.ts @@ -4,33 +4,33 @@ const definitions = { // on all versions minmax: [0, undefined], types: { - Balance: 'u64', + Balance: "u64", NeuronMetadata: { - version: 'u32', - ip: 'u128', - port: 'u16', - ipType: 'u8', - uid: 'u32', - netuid: 'u16', - modality: 'u8', - hotkey: 'AccountId', - coldkey: 'AccountId', - active: 'u32', - lastUpdate: 'u64', - priority: 'u64', - stake: 'u64', - rank: 'u64', - trust: 'u64', - consensus: 'u64', - incentive: 'u64', - dividends: 'u64', - emission: 'u64', - bonds: 'Vec<(u32, u64)>', - weights: 'Vec<(u32, u32)>' - } - } - } - ] + version: "u32", + ip: "u128", + port: "u16", + ipType: "u8", + uid: "u32", + netuid: "u16", + modality: "u8", + hotkey: "AccountId", + coldkey: "AccountId", + active: "u32", + lastUpdate: "u64", + priority: "u64", + stake: "u64", + rank: "u64", + trust: "u64", + consensus: "u64", + incentive: "u64", + dividends: "u64", + emission: "u64", + bonds: "Vec<(u32, u64)>", + weights: "Vec<(u32, u32)>", + }, + }, + }, + ], }; -export default {typesBundle: {spec: {bittensor: definitions}}}; \ No newline at end of file +export default { typesBundle: { spec: { bittensor: definitions } } }; diff --git a/chainTypes/calamariChainTypes.ts b/chainTypes/calamariChainTypes.ts index b51f21a4..46357a32 100644 --- a/chainTypes/calamariChainTypes.ts +++ b/chainTypes/calamariChainTypes.ts @@ -3,17 +3,17 @@ /* eslint-disable sort-keys */ -import {OverrideBundleDefinition} from "@polkadot/types/types"; +import { OverrideBundleDefinition } from "@polkadot/types/types"; const definitions: OverrideBundleDefinition = { - types: [ - { - minmax: [0, 3100], - types: { - DispatchError: 'DispatchErrorPre6First', - } - }, - ] + types: [ + { + minmax: [0, 3100], + types: { + DispatchError: "DispatchErrorPre6First", + }, + }, + ], }; -export default { typesBundle: { spec: { "calamari" : definitions }}}; \ No newline at end of file +export default { typesBundle: { spec: { calamari: definitions } } }; diff --git a/chainTypes/centrifugeChaintypes.ts b/chainTypes/centrifugeChaintypes.ts index 03679576..b138c305 100644 --- a/chainTypes/centrifugeChaintypes.ts +++ b/chainTypes/centrifugeChaintypes.ts @@ -1,34 +1,34 @@ -import { OverrideBundleType } from '@polkadot/types/types'; +import { OverrideBundleType } from "@polkadot/types/types"; export default { typesBundle: { spec: { - 'centrifuge': { + centrifuge: { types: [ { // on all versions minmax: [0, undefined], types: { - ParachainAccountIdOf: 'AccountId', + ParachainAccountIdOf: "AccountId", Proof: { - leafHash: 'Hash', - sortedHashes: 'Vec' + leafHash: "Hash", + sortedHashes: "Vec", }, ProxyType: { _enum: [ - 'Any', - 'NonTransfer', - 'Governance', - '_Staking', - 'NonProxy' - ] + "Any", + "NonTransfer", + "Governance", + "_Staking", + "NonProxy", + ], }, - RelayChainAccountId: 'AccountId', - RootHashOf: 'Hash' - } - } - ] - } - } - } -}; \ No newline at end of file + RelayChainAccountId: "AccountId", + RootHashOf: "Hash", + }, + }, + ], + }, + }, + }, +}; diff --git a/chainTypes/crustChaintypes.ts b/chainTypes/crustChaintypes.ts index 26f5edff..1a0aebd7 100644 --- a/chainTypes/crustChaintypes.ts +++ b/chainTypes/crustChaintypes.ts @@ -1,3 +1,5 @@ -import { typesBundleForPolkadot } from '@crustio/type-definitions'; +import { typesBundleForPolkadot } from "@crustio/type-definitions"; -export default { typesBundle: { spec: { "crust": typesBundleForPolkadot.spec.crust } } }; \ No newline at end of file +export default { + typesBundle: { spec: { crust: typesBundleForPolkadot.spec.crust } }, +}; diff --git a/chainTypes/dockChaintypes.ts b/chainTypes/dockChaintypes.ts index 85ddb3fc..08aa4223 100644 --- a/chainTypes/dockChaintypes.ts +++ b/chainTypes/dockChaintypes.ts @@ -1,5 +1,5 @@ // Adapted from https://github.com/polkadot-js/apps/blob/master/packages/apps-config/src/api/spec/dock-mainnet.ts -import { spec } from '@docknetwork/node-types'; +import { spec } from "@docknetwork/node-types"; -export default { typesBundle: { spec: spec } }; \ No newline at end of file +export default { typesBundle: { spec: spec } }; diff --git a/chainTypes/docknetwork__node-types.d.ts b/chainTypes/docknetwork__node-types.d.ts new file mode 100644 index 00000000..6b86146a --- /dev/null +++ b/chainTypes/docknetwork__node-types.d.ts @@ -0,0 +1 @@ +declare module "@docknetwork/node-types"; diff --git a/chainTypes/encointerChaintypes.ts b/chainTypes/encointerChaintypes.ts index 1c5ed363..235d58f8 100644 --- a/chainTypes/encointerChaintypes.ts +++ b/chainTypes/encointerChaintypes.ts @@ -77,10 +77,8 @@ const definitions: OverrideBundleDefinition = { TrustedCall: { _enum: { balance_transfer: "BalanceTransferArgs", - ceremonies_register_participant: - "RegisterParticipantArgs", - ceremonies_register_attestations: - "RegisterAttestationsArgs", + ceremonies_register_participant: "RegisterParticipantArgs", + ceremonies_register_attestations: "RegisterAttestationsArgs", ceremonies_grant_reputation: "GrantReputationArgs", }, }, @@ -90,8 +88,7 @@ const definitions: OverrideBundleDefinition = { "(AccountId, CommunityIdentifier, Option>)", RegisterAttestationsArgs: "(AccountId, Vec>)", - GrantReputationArgs: - "(AccountId, CommunityIdentifier, AccountId)", + GrantReputationArgs: "(AccountId, CommunityIdentifier, AccountId)", BalanceType: "i128", BalanceEntry: { principal: "BalanceType", @@ -173,8 +170,7 @@ const definitions: OverrideBundleDefinition = { s2: "u64", }, CommunityCeremonyStats: { - communityCeremony: - "(CommunityIdentifier, CeremonyIndexType)", + communityCeremony: "(CommunityIdentifier, CeremonyIndexType)", assignment: "Assignment", assignmentCount: "AssignmentCount", meetupCount: "MeetupIndexType", @@ -235,8 +231,7 @@ const definitions: OverrideBundleDefinition = { url: "Option", }, SystemNumber: "u32", - SchedulerState: - "(CeremonyIndexType, CeremonyPhaseType, SystemNumber)", + SchedulerState: "(CeremonyIndexType, CeremonyPhaseType, SystemNumber)", }, }, ], @@ -251,4 +246,6 @@ const definitions: OverrideBundleDefinition = { }, }; -export default { typesBundle: { spec: { "encointer-parachain": definitions } } }; \ No newline at end of file +export default { + typesBundle: { spec: { "encointer-parachain": definitions } }, +}; diff --git a/chainTypes/equilibriumTypes.json b/chainTypes/equilibriumTypes.json index 221cc890..811b8535 100644 --- a/chainTypes/equilibriumTypes.json +++ b/chainTypes/equilibriumTypes.json @@ -1,299 +1,259 @@ { - "instances": { - "balances": [ - "Eq", - "Eth", - "Btc", - "Eos", - "Dot", - "Crv", - "Usd" - ] - }, - "types": { - "AccountData": { - "free": "Balance" - }, - "AccountIndex": "u32", - "AccountInfo": { - "nonce": "Index", - "consumers": "RefCount", - "providers": "RefCount", - "sufficients": "RefCount", - "data": "AccountData" - }, - "AccountType": { - "_enum": { - "Id32": "[u8; 32]", - "Key20": "[u8; 20]" - } - }, - "Address": "MultiAddress", - "Asset": { - "0": "AssetIdInnerType" - }, - "AssetData": { - "id": "Asset", - "lot": "FixedU128", - "price_step": "FixedU128", - "maker_fee": "FixedU128", - "taker_fee": "FixedU128", - "asset_xcm_data": "Option", - "debt_weight": "DebtWeightType", - "buyout_priority": "u64", - "asset_type": "AssetType", - "is_dex_enabled": "bool" - }, - "AssetId": "Asset", - "AssetIdInnerType": "u64", - "AssetMetrics": { - "period_start": "Duration", - "period_end": "Duration", - "returns": "Vec", - "volatility": "FixedNumber", - "correlations": "Vec<(Asset, FixedNumber)>" - }, - "AssetName": "Vec", - "AssetType": { - "_enum": { - "Native": null, - "Physical": null, - "Synthetic": null, - "Lp": "PoolId" - } - }, - "AssetXcmData": { - "multi_location": "MultiLocation", - "decimals": "u8" - }, - "Balance": "u64", - "BalanceOf": "Balance", - "BalancesAggregate": { - "total_issuance": "Balance", - "total_debt": "Balance" - }, - "BestPrice": { - "ask": "Option", - "bid": "Option" - }, - "BlockNumber": "u32", - "CapVec": { - "head_index": "u32", - "len_cap": "u32", - "items": "Vec" - }, - "ChainId": "u8", - "Currency": { - "_enum": [ - "UNKNOWN", - "Eqd", - "Eq", - "Eth", - "Btc", - "Eos", - "Dot", - "Crv" - ] - }, - "ChunkKey": "u64", - "DataPoint": { - "price": "u64", - "account_id": "AccountId", - "block_number": "BlockNumber", - "timestamp": "u64" - }, - "DebtWeightType": "i128", - "DebtWeightTypeInner": "i128", - "DepositNonce": "u64", - "Duration": { - "secs": "u64", - "nanos": "u32" - }, - "FinancialMetrics": { - "period_start": "Duration", - "period_end": "Duration", - "assets": "Vec", - "mean_returns": "Vec", - "volatilities": "Vec", - "correlations": "Vec", - "covariances": "Vec" - }, - "FinancialRecalcPeriodMs": "u64", - "FixedI64": "i64", - "FixedNumber": "u128", - "FixedU128": "u128", - "Keys": "SessionKeys3", - "LookupSource": "AccountIdLookup", - "MarginState": { - "_enum": { - "Good": null, - "SubGood": null, - "MaintenanceStart": "u64", - "MaintenanceIsGoing": "u64", - "MaintenanceTimeOver": "u64", - "MaintenanceEnd": null, - "SubCritical": null - } - }, - "MaxCountOfAssetsRecalcPerBlock": "i32", - "Number": "FixedU128", - "OperationRequestLiqFm": { - "authority_index": "AuthIndex", - "validators_len": "u32", - "block_num": "BlockNumber" - }, - "OperationRequest": { - "account": "AccountId", - "authority_index": "AuthIndex", - "validators_len": "u32", - "block_num": "BlockNumber" - }, - "OperationRequestDexDeleteOrder": { - "asset": "Asset", - "order_id": "OrderId", - "price": "FixedI64", - "who": "AccountId", - "buyout": "Option", - "authority_index": "AuthIndex", - "validators_len": "u32", - "block_num": "BlockNumber" - }, - "Order": { - "order_id": "OrderId", - "account_id": "AccountId", - "side": "OrderSide", - "price": "FixedI64", - "amount": "FixedU128", - "created_at": "u64", - "expiration_time": "u64" - }, - "OrderType": { - "_enum": { - "Limit": "FixedI64", - "Market": null - } - }, - "OrderId": "u64", - "OrderSide": { - "_enum": [ - "Buy", - "Sell" - ] - }, - "PoolId": "u32", - "PoolInfo": { - "owner": "AccountId", - "pool_asset": "AssetId", - "assets": "Vec", - "amplification": "Number", - "fee": "Permill", - "admin_fee": "Permill", - "balances": "Vec", - "total_balances": "Vec" - }, - "PoolTokenIndex": "u32", - "PortfolioMetrics": { - "period_start": "Duration", - "period_end": "Duration", - "z_score": "u32", - "volatility": "FixedNumber", - "value_at_risk": "FixedNumber" - }, - "Price": "u128", - "PriceLog": { - "latest_timestamp": "Duration", - "prices": "CapVec" - }, - "PricePayload": { - "public": "[u8; 33]", - "asset": "Asset", - "price": "FixedI64", - "block_number": "BlockNumber" - }, - "PricePeriod": { - "_enum": [ - "Min", - "TenMin", - "Hour", - "FourHour", - "Day" - ] - }, - "PricePoint": { - "block_number": "BlockNumber", - "timestamp": "u64", - "last_fin_recalc_timestamp": "Timestamp", - "price": "u64", - "data_points": "Vec" - }, - "PriceUpdate": { - "period_start": "Duration", - "time": "Duration", - "price": "FixedNumber" - }, - "ProposalStatus": { - "_enum": [ - "Initiated", - "Approved", - "Rejected" - ] - }, - "ProposalVotes": { - "votes_for": "Vec", - "votes_against": "Vec", - "status": "ProposalStatus", - "expiry": "BlockNumber" - }, - "ResourceId": "[u8; 32]", - "Signature": "u32", - "SignedBalance": { - "_enum": { - "Positive": "Balance", - "Negative": "Balance" - } - }, - "SubAccType": { - "_enum": [ - "Bailsman", - "Borrower", - "Lender" - ] - }, - "Timestamp": "u64", - "TotalAggregates": { - "collateral": "Balance", - "debt": "Balance" - }, - "TransferReason": { - "_enum": [ - "Common", - "InterestFee", - "MarginCall", - "LiquidityFarming", - "BailsmenRedistribution", - "TreasuryEqBuyout", - "TreasuryBuyEq", - "Subaccount", - "Lock", - "Unlock", - "Claim", - "CurveFeeWithdraw" - ] - }, - "UserGroup": { - "_enum": [ - "UNKNOWN", - "Balances", - "Bailsmen", - "Borrowers", - "Lenders" - ] - }, - "UnsignedPriorityPair": "(u64, u64)", - "VestingInfo": { - "locked": "Balance", - "perBlock": "Balance", - "startingBlock": "BlockNumber" - } + "instances": { + "balances": ["Eq", "Eth", "Btc", "Eos", "Dot", "Crv", "Usd"] + }, + "types": { + "AccountData": { + "free": "Balance" + }, + "AccountIndex": "u32", + "AccountInfo": { + "nonce": "Index", + "consumers": "RefCount", + "providers": "RefCount", + "sufficients": "RefCount", + "data": "AccountData" + }, + "AccountType": { + "_enum": { + "Id32": "[u8; 32]", + "Key20": "[u8; 20]" + } + }, + "Address": "MultiAddress", + "Asset": { + "0": "AssetIdInnerType" + }, + "AssetData": { + "id": "Asset", + "lot": "FixedU128", + "price_step": "FixedU128", + "maker_fee": "FixedU128", + "taker_fee": "FixedU128", + "asset_xcm_data": "Option", + "debt_weight": "DebtWeightType", + "buyout_priority": "u64", + "asset_type": "AssetType", + "is_dex_enabled": "bool" + }, + "AssetId": "Asset", + "AssetIdInnerType": "u64", + "AssetMetrics": { + "period_start": "Duration", + "period_end": "Duration", + "returns": "Vec", + "volatility": "FixedNumber", + "correlations": "Vec<(Asset, FixedNumber)>" + }, + "AssetName": "Vec", + "AssetType": { + "_enum": { + "Native": null, + "Physical": null, + "Synthetic": null, + "Lp": "PoolId" + } + }, + "AssetXcmData": { + "multi_location": "MultiLocation", + "decimals": "u8" + }, + "Balance": "u64", + "BalanceOf": "Balance", + "BalancesAggregate": { + "total_issuance": "Balance", + "total_debt": "Balance" + }, + "BestPrice": { + "ask": "Option", + "bid": "Option" + }, + "BlockNumber": "u32", + "CapVec": { + "head_index": "u32", + "len_cap": "u32", + "items": "Vec" + }, + "ChainId": "u8", + "Currency": { + "_enum": ["UNKNOWN", "Eqd", "Eq", "Eth", "Btc", "Eos", "Dot", "Crv"] + }, + "ChunkKey": "u64", + "DataPoint": { + "price": "u64", + "account_id": "AccountId", + "block_number": "BlockNumber", + "timestamp": "u64" + }, + "DebtWeightType": "i128", + "DebtWeightTypeInner": "i128", + "DepositNonce": "u64", + "Duration": { + "secs": "u64", + "nanos": "u32" + }, + "FinancialMetrics": { + "period_start": "Duration", + "period_end": "Duration", + "assets": "Vec", + "mean_returns": "Vec", + "volatilities": "Vec", + "correlations": "Vec", + "covariances": "Vec" + }, + "FinancialRecalcPeriodMs": "u64", + "FixedI64": "i64", + "FixedNumber": "u128", + "FixedU128": "u128", + "Keys": "SessionKeys3", + "LookupSource": "AccountIdLookup", + "MarginState": { + "_enum": { + "Good": null, + "SubGood": null, + "MaintenanceStart": "u64", + "MaintenanceIsGoing": "u64", + "MaintenanceTimeOver": "u64", + "MaintenanceEnd": null, + "SubCritical": null + } + }, + "MaxCountOfAssetsRecalcPerBlock": "i32", + "Number": "FixedU128", + "OperationRequestLiqFm": { + "authority_index": "AuthIndex", + "validators_len": "u32", + "block_num": "BlockNumber" + }, + "OperationRequest": { + "account": "AccountId", + "authority_index": "AuthIndex", + "validators_len": "u32", + "block_num": "BlockNumber" + }, + "OperationRequestDexDeleteOrder": { + "asset": "Asset", + "order_id": "OrderId", + "price": "FixedI64", + "who": "AccountId", + "buyout": "Option", + "authority_index": "AuthIndex", + "validators_len": "u32", + "block_num": "BlockNumber" + }, + "Order": { + "order_id": "OrderId", + "account_id": "AccountId", + "side": "OrderSide", + "price": "FixedI64", + "amount": "FixedU128", + "created_at": "u64", + "expiration_time": "u64" + }, + "OrderType": { + "_enum": { + "Limit": "FixedI64", + "Market": null + } + }, + "OrderId": "u64", + "OrderSide": { + "_enum": ["Buy", "Sell"] + }, + "PoolId": "u32", + "PoolInfo": { + "owner": "AccountId", + "pool_asset": "AssetId", + "assets": "Vec", + "amplification": "Number", + "fee": "Permill", + "admin_fee": "Permill", + "balances": "Vec", + "total_balances": "Vec" + }, + "PoolTokenIndex": "u32", + "PortfolioMetrics": { + "period_start": "Duration", + "period_end": "Duration", + "z_score": "u32", + "volatility": "FixedNumber", + "value_at_risk": "FixedNumber" + }, + "Price": "u128", + "PriceLog": { + "latest_timestamp": "Duration", + "prices": "CapVec" + }, + "PricePayload": { + "public": "[u8; 33]", + "asset": "Asset", + "price": "FixedI64", + "block_number": "BlockNumber" + }, + "PricePeriod": { + "_enum": ["Min", "TenMin", "Hour", "FourHour", "Day"] + }, + "PricePoint": { + "block_number": "BlockNumber", + "timestamp": "u64", + "last_fin_recalc_timestamp": "Timestamp", + "price": "u64", + "data_points": "Vec" + }, + "PriceUpdate": { + "period_start": "Duration", + "time": "Duration", + "price": "FixedNumber" + }, + "ProposalStatus": { + "_enum": ["Initiated", "Approved", "Rejected"] + }, + "ProposalVotes": { + "votes_for": "Vec", + "votes_against": "Vec", + "status": "ProposalStatus", + "expiry": "BlockNumber" + }, + "ResourceId": "[u8; 32]", + "Signature": "u32", + "SignedBalance": { + "_enum": { + "Positive": "Balance", + "Negative": "Balance" + } + }, + "SubAccType": { + "_enum": ["Bailsman", "Borrower", "Lender"] + }, + "Timestamp": "u64", + "TotalAggregates": { + "collateral": "Balance", + "debt": "Balance" + }, + "TransferReason": { + "_enum": [ + "Common", + "InterestFee", + "MarginCall", + "LiquidityFarming", + "BailsmenRedistribution", + "TreasuryEqBuyout", + "TreasuryBuyEq", + "Subaccount", + "Lock", + "Unlock", + "Claim", + "CurveFeeWithdraw" + ] + }, + "UserGroup": { + "_enum": ["UNKNOWN", "Balances", "Bailsmen", "Borrowers", "Lenders"] + }, + "UnsignedPriorityPair": "(u64, u64)", + "VestingInfo": { + "locked": "Balance", + "perBlock": "Balance", + "startingBlock": "BlockNumber" } -} \ No newline at end of file + } +} diff --git a/chainTypes/frequencyChaintypes.ts b/chainTypes/frequencyChaintypes.ts index 137af1cc..bc06d634 100644 --- a/chainTypes/frequencyChaintypes.ts +++ b/chainTypes/frequencyChaintypes.ts @@ -1,8 +1,13 @@ // "Adapted from https://github.com/polkadot-js/apps/blob/master/packages/apps-config/src/api/spec/frequency.ts -import type { OverrideBundleDefinition } from '@polkadot/types/types'; +import type { OverrideBundleDefinition } from "@polkadot/types/types"; -import { rpc, runtime, signedExtensions, types } from '@frequency-chain/api-augment'; +import { + rpc, + runtime, + signedExtensions, + types, +} from "@frequency-chain/api-augment"; export default { typesBundle: { @@ -13,8 +18,8 @@ export default { { // on all versions minmax: [0, undefined], - types - } - ] - } as OverrideBundleDefinition -}; \ No newline at end of file + types, + }, + ], + } as OverrideBundleDefinition, +}; diff --git a/chainTypes/integriteeChaintypes.ts b/chainTypes/integriteeChaintypes.ts index 5aded1b4..f1cb6e2a 100644 --- a/chainTypes/integriteeChaintypes.ts +++ b/chainTypes/integriteeChaintypes.ts @@ -32,4 +32,4 @@ const typesBundle: OverrideBundleType = { export default { typesBundle, -}; \ No newline at end of file +}; diff --git a/chainTypes/interlayChaintypes.ts b/chainTypes/interlayChaintypes.ts index 31a054cf..32519af9 100644 --- a/chainTypes/interlayChaintypes.ts +++ b/chainTypes/interlayChaintypes.ts @@ -1,10 +1,10 @@ /* eslint-disable @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-assignment */ -import interbtc from '@interlay/interbtc-types'; +import interbtc from "@interlay/interbtc-types"; export default { typesBundle: { spec: { - 'interlay-parachain': interbtc - } - } -}; \ No newline at end of file + "interlay-parachain": interbtc, + }, + }, +}; diff --git a/chainTypes/jurChaintypes.ts b/chainTypes/jurChaintypes.ts index 2331b990..f5dae6ab 100644 --- a/chainTypes/jurChaintypes.ts +++ b/chainTypes/jurChaintypes.ts @@ -1,15 +1,15 @@ // Adapted from https://github.com/polkadot-js/apps/blob/master/packages/apps-config/src/api/spec/jur.ts -import type { OverrideBundleDefinition } from '@polkadot/types/types'; +import type { OverrideBundleDefinition } from "@polkadot/types/types"; const definitions: OverrideBundleDefinition = { types: [ { // on all versions minmax: [0, undefined], - types: {} - } - ] + types: {}, + }, + ], }; -export default { typesBundle: { spec: { "jur" : definitions }}} \ No newline at end of file +export default { typesBundle: { spec: { jur: definitions } } }; diff --git a/chainTypes/karuraChaintypes.ts b/chainTypes/karuraChaintypes.ts index 0baed9a3..a5e14424 100644 --- a/chainTypes/karuraChaintypes.ts +++ b/chainTypes/karuraChaintypes.ts @@ -1,12339 +1,12339 @@ export default { - typesBundle: { - spec: { - acala: { - rpc: { - oracle: { - getValue: { - description: "Retrieves the oracle value for a given key.", - params: [ - { - name: "providerId", - type: "RpcDataProviderId", - }, - { - name: "key", - type: "OracleKey", - }, - { - name: "at", - type: "BlockHash", - isHistoric: true, - isOptional: true, - }, - ], - type: "Option", - isSubscription: false, - jsonrpc: "oracle_getValue", - method: "getValue", - section: "oracle", - }, - getAllValues: { - description: "Retrieves all oracle values.", - params: [ - { - name: "providerId", - type: "RpcDataProviderId", - }, - { - name: "at", - type: "BlockHash", - isHistoric: true, - isOptional: true, - }, - ], - type: "Vec<(OracleKey, Option)>", - isSubscription: false, - jsonrpc: "oracle_getAllValues", - method: "getAllValues", - section: "oracle", - }, + typesBundle: { + spec: { + acala: { + rpc: { + oracle: { + getValue: { + description: "Retrieves the oracle value for a given key.", + params: [ + { + name: "providerId", + type: "RpcDataProviderId", + }, + { + name: "key", + type: "OracleKey", + }, + { + name: "at", + type: "BlockHash", + isHistoric: true, + isOptional: true, + }, + ], + type: "Option", + isSubscription: false, + jsonrpc: "oracle_getValue", + method: "getValue", + section: "oracle", }, - dex: { - getSupplyAmount: { - description: "Get supply amount", - params: [ - { - name: "supplyCurrencyId", - type: "CurrencyId", - }, - { - name: "targetCurrencyId", - type: "CurrencyId", - }, - { - name: "targetCurrencyAmount", - type: "BalanceRequest", - }, - ], - type: "BalanceWrapper", - isSubscription: false, - jsonrpc: "dex_getSupplyAmount", - method: "getSupplyAmount", - section: "dex", - }, - getTargetAmount: { - description: "Get target amount", - params: [ - { - name: "supplyCurrencyId", - type: "CurrencyId", - }, - { - name: "targetCurrencyId", - type: "CurrencyId", - }, - { - name: "supplyCurrencyAmount", - type: "BalanceRequest", - }, - ], - type: "BalanceWrapper", - isSubscription: false, - jsonrpc: "dex_getTargetAmount", - method: "getTargetAmount", - section: "dex", - }, + getAllValues: { + description: "Retrieves all oracle values.", + params: [ + { + name: "providerId", + type: "RpcDataProviderId", + }, + { + name: "at", + type: "BlockHash", + isHistoric: true, + isOptional: true, + }, + ], + type: "Vec<(OracleKey, Option)>", + isSubscription: false, + jsonrpc: "oracle_getAllValues", + method: "getAllValues", + section: "oracle", }, - evm: { - call: { - description: "eth call", - params: [ - { - name: "data", - type: "CallRequest", - }, - { - name: "at", - type: "BlockHash", - isHistoric: true, - isOptional: true, - }, - ], - type: "Raw", - isSubscription: false, - jsonrpc: "evm_call", - method: "call", - section: "evm", - }, - estimateResources: { - description: "eth estimateResources", - params: [ - { - name: "from", - type: "H160", - }, - { - name: "unsignedExtrinsic", - type: "Bytes", - }, - { - name: "at", - type: "BlockHash", - isHistoric: true, - isOptional: true, - }, - ], - type: "EstimateResourcesResponse", - isSubscription: false, - jsonrpc: "evm_estimateResources", - method: "estimateResources", - section: "evm", - }, + }, + dex: { + getSupplyAmount: { + description: "Get supply amount", + params: [ + { + name: "supplyCurrencyId", + type: "CurrencyId", + }, + { + name: "targetCurrencyId", + type: "CurrencyId", + }, + { + name: "targetCurrencyAmount", + type: "BalanceRequest", + }, + ], + type: "BalanceWrapper", + isSubscription: false, + jsonrpc: "dex_getSupplyAmount", + method: "getSupplyAmount", + section: "dex", }, - stakingPool: { - getAvailableUnbonded: { - description: "Get Available Unbonded", - params: [ - { - name: "account", - type: "AccountId", - }, - ], - type: "BalanceInfo", - isSubscription: false, - jsonrpc: "stakingPool_getAvailableUnbonded", - method: "getAvailableUnbonded", - section: "stakingPool", - }, - getLiquidStakingExchangeRate: { - description: "get liquid staking exchange rate", - params: [], - type: "ExchangeRate", - isSubscription: false, - jsonrpc: "stakingPool_getLiquidStakingExchangeRate", - method: "getLiquidStakingExchangeRate", - section: "stakingPool", - }, + getTargetAmount: { + description: "Get target amount", + params: [ + { + name: "supplyCurrencyId", + type: "CurrencyId", + }, + { + name: "targetCurrencyId", + type: "CurrencyId", + }, + { + name: "supplyCurrencyAmount", + type: "BalanceRequest", + }, + ], + type: "BalanceWrapper", + isSubscription: false, + jsonrpc: "dex_getTargetAmount", + method: "getTargetAmount", + section: "dex", }, }, - instances: { - council: ["generalCouncil"], + evm: { + call: { + description: "eth call", + params: [ + { + name: "data", + type: "CallRequest", + }, + { + name: "at", + type: "BlockHash", + isHistoric: true, + isOptional: true, + }, + ], + type: "Raw", + isSubscription: false, + jsonrpc: "evm_call", + method: "call", + section: "evm", + }, + estimateResources: { + description: "eth estimateResources", + params: [ + { + name: "from", + type: "H160", + }, + { + name: "unsignedExtrinsic", + type: "Bytes", + }, + { + name: "at", + type: "BlockHash", + isHistoric: true, + isOptional: true, + }, + ], + type: "EstimateResourcesResponse", + isSubscription: false, + jsonrpc: "evm_estimateResources", + method: "estimateResources", + section: "evm", + }, }, - types: [ - { - minmax: [600, 699], - types: { - CallOf: "Call", - DispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - ScheduleTaskIndex: "u32", - DelayedOrigin: { - delay: "BlockNumber", - origin: "PalletsOrigin", - }, - AuthorityOrigin: "DelayedOrigin", - StorageValue: "Vec", - GraduallyUpdate: { - key: "StorageKey", - targetValue: "StorageValue", - perBlock: "StorageValue", - }, - StorageKeyBytes: "Vec", - StorageValueBytes: "Vec", - RpcDataProviderId: "Text", - DataProviderId: "u8", - TimestampedValue: { - value: "OracleValue", - timestamp: "Moment", - }, - TimestampedValueOf: "TimestampedValue", - OrderedSet: "Vec", - OrmlAccountData: { - free: "Balance", - reserved: "Balance", - frozen: "Balance", - }, - OrmlBalanceLock: { - amount: "Balance", - id: "LockIdentifier", - }, - AuctionInfo: { - bid: "Option<(AccountId, Balance)>", - start: "BlockNumber", - end: "Option", - }, - DelayedDispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - DispatchId: "u32", - Price: "FixedU128", - OrmlVestingSchedule: { - start: "BlockNumber", - period: "BlockNumber", - periodCount: "u32", - perPeriod: "Compact", - }, - VestingScheduleOf: "OrmlVestingSchedule", - OrmlCurrencyId: "CurrencyId", - PoolInfo: { - totalShares: "Share", - rewards: "BTreeMap", - }, - CompactBalance: "Compact", - PoolInfoV0: { - totalShares: "Compact", - totalRewards: "CompactBalance", - totalWithdrawnRewards: "CompactBalance", - }, - Share: "u128", - OracleValue: "Price", - Amount: "i128", - AmountOf: "Amount", - AuctionId: "u32", - AuctionIdOf: "AuctionId", - TokenSymbol: { - _enum: ["ACA", "AUSD", "DOT", "XBTC", "LDOT", "RENBTC"], - }, - DexShare: { - _enum: { - Token: "TokenSymbol", - Erc20: "EvmAddress", - }, - }, - CurrencyId: { - _enum: { - Token: "TokenSymbol", - DEXShare: "(DexShare, DexShare)", - ERC20: "EvmAddress", - StableAssetPoolToken: "StableAssetPoolId", - }, - }, - CurrencyIdOf: "CurrencyId", - AirDropCurrencyId: { - _enum: ["KAR", "ACA"], - }, - AuthoritysOriginId: { - _enum: [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve", - ], - }, - AcalaDataProviderId: { - _enum: ["Aggregated", "Acala", "Band"], - }, - TradingPair: "(CurrencyId, CurrencyId)", - ChainBridgeChainId: "u8", - PalletBalanceOf: "Balance", - CollateralAuctionItem: { - refundRecipient: "AccountId", - currencyId: "CurrencyId", - initialAmount: "Compact", - amount: "Compact", - target: "Compact", - startTime: "BlockNumber", - }, - DebitAuctionItem: { - initialAmount: "Compact", - amount: "Compact", - fix: "Compact", - startTime: "BlockNumber", - }, - SurplusAuctionItem: { - amount: "Compact", - startTime: "BlockNumber", - }, - LiquidationStrategy: { - _enum: ["Auction", "Exchange"], - }, - OptionRate: "Option", - OptionRatio: "Option", - ChangeOptionRate: { - _enum: { - NoChange: "Null", - NewValue: "OptionRate", - }, - }, - ChangeOptionRatio: { - _enum: { - NoChange: "Null", - NewValue: "OptionRatio", - }, - }, - ChangeBalance: { - _enum: { - NoChange: "Null", - NewValue: "Balance", - }, - }, - RiskManagementParams: { - maximumTotalDebitValue: "Balance", - interestRatePerSec: "Option", - liquidationRatio: "Option", - liquidationPenalty: "Option", - requiredCollateralRatio: "Option", - }, - CandidateInfoOf: "CandidateInfo", - TradingPairProvisionParameters: { - minContribution: "(Balance, Balance)", - targetProvision: "(Balance, Balance)", - accumulatedProvision: "(Balance, Balance)", - notBefore: "BlockNumber", - }, - BalanceWrapper: { - amount: "Balance", - }, - BalanceRequest: { - amount: "Balance", - }, - TradingPairStatus: { - _enum: { - NotEnabled: "Null", - Provisioning: "TradingPairProvisionParameters", - Enabled: "Null", - }, - }, - Erc20Info: { - address: "EvmAddress", - name: "Vec", - symbol: "Vec", - decimals: "u8", - }, - EstimateResourcesResponse: { - gas: "u256", - storage: "i32", - weightFee: "u256", - }, - EvmAccountInfo: { - nonce: "Index", - contractInfo: "Option", - }, - CodeInfo: { - codeSize: "u32", - refCount: "u32", - }, - EvmContractInfo: { - codeHash: "H256", - maintainer: "H160", - deployed: "bool", - }, - EvmAddress: "H160", - CallRequest: { - from: "Option", - to: "Option", - gasLimit: "Option", - storageLimit: "Option", - value: "Option", - data: "Option", - }, - RedeemStrategy: { - _enum: { - Immediately: "Null", - Target: "EraIndex", - WaitForUnbonding: "Null", - }, - }, - RelaychainAccountId: "AccountId", - SlashInfo: { - validator: "RelaychainAccountId", - relaychainTokenAmount: "Balance", - }, - ValidatorBacking: { - totalInsurance: "Balance", - isFrozen: "bool", - }, - Guarantee: { - total: "Balance", - bonded: "Balance", - unbonding: "Option<(Balance, BlockNumber)>", - }, - PoolId: { - _enum: { - Loans: "CurrencyId", - DexIncentive: "CurrencyId", - DexSaving: "CurrencyId", - Homa: "Null", - }, - }, - PoolIdV0: { - _enum: { - LoansIncentive: "CurrencyId", - DexIncentive: "CurrencyId", - HomaIncentive: "Null", - DexSaving: "CurrencyId", - HomaValidatorAllowance: "AccountId", - }, - }, - Position: { - collateral: "Balance", - debit: "Balance", - }, - CID: "Vec", - Attributes: "BTreeMap, Vec>", - TokenInfoOf: { - metadata: "CID", - owner: "AccountId", - data: "TokenData", - }, - Properties: { - _set: { - _bitLength: 8, - Transferable: 1, - Burnable: 2, - Mintable: 4, - ClassPropertiesMutable: 8, - }, - }, - ClassData: { - deposit: "Balance", - properties: "Properties", - attributes: "Attributes", - }, - TokenData: { - deposit: "Balance", - attributes: "Attributes", - }, - TokenId: "u64", - TokenIdOf: "TokenId", - NFTClassId: "u32", - ClassIdOf: "ClassId", - NFTBalance: "u128", - NFTBalanceOf: "NFTBalance", - ClassInfoOf: { - metadata: "CID", - totalIssuance: "TokenId", - owner: "AccountId", - data: "ClassData", - }, - NomineeId: "AccountId", - HomaUnlockChunk: { - value: "Balance", - era: "EraIndex", - }, - BondingLedger: { - total: "Balance", - active: "Balance", - unlocking: "Vec", - }, - OracleKey: "CurrencyId", - AsOriginId: "AuthoritysOriginId", - ProxyType: { - _enum: [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan", - ], - }, - AtLeast64BitUnsigned: "u128", - StableAssetPoolId: "u32", - RelayChainBlockNumberOf: "RelayChainBlockNumber", - SubAccountStatus: { - bonded: "Balance", - available: "Balance", - unbonding: "Vec<(EraIndex,Balance)>", - mockRewardRate: "Rate", - }, - Params: { - targetMaxFreeUnbondedRatio: "Ratio", - targetMinFreeUnbondedRatio: "Ratio", - targetUnbondingToFreeRatio: "Ratio", - unbondingToFreeAdjustment: "Ratio", - baseFeeRate: "Rate", - }, - StakingPoolPhase: { - _enum: [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished", - ], - }, - Ledger: { - bonded: "Balance", - unbondingToFree: "Balance", - freePool: "Balance", - toUnbondNextEra: "(Balance, Balance)", - }, - ChangeRate: { - _enum: { - NoChange: "Null", - NewValue: "Rate", - }, - }, - ChangeRatio: { - _enum: { - NoChange: "Null", - NewValue: "Ratio", - }, - }, - BalanceInfo: { - amount: "Balance", - }, - PolkadotAccountId: "AccountId", - PolkadotAccountIdOf: "PolkadotAccountId", - ExchangeRate: "FixedU128", - Rate: "FixedU128", - Ratio: "FixedU128", - PublicKey: "[u8; 20]", - DestAddress: "Vec", - PoolTokenIndex: "u32", - AssetId: "CurrencyId", - Keys: "SessionKeys1", - MultiLocation: "MultiLocationV0", - MultiAsset: "MultiAssetV0", - Xcm: "XcmV0", - XcmOrder: "XcmOrderV0", - XcmError: "XcmErrorV0", - Response: "ResponseV0", - Address: "LookupSource", - LookupSource: "IndicesLookupSource", - }, + stakingPool: { + getAvailableUnbonded: { + description: "Get Available Unbonded", + params: [ + { + name: "account", + type: "AccountId", + }, + ], + type: "BalanceInfo", + isSubscription: false, + jsonrpc: "stakingPool_getAvailableUnbonded", + method: "getAvailableUnbonded", + section: "stakingPool", }, - { - minmax: [700, 719], - types: { - CallOf: "Call", - DispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - ScheduleTaskIndex: "u32", - DelayedOrigin: { - delay: "BlockNumber", - origin: "PalletsOrigin", - }, - AuthorityOrigin: "DelayedOrigin", - StorageValue: "Vec", - GraduallyUpdate: { - key: "StorageKey", - targetValue: "StorageValue", - perBlock: "StorageValue", - }, - StorageKeyBytes: "Vec", - StorageValueBytes: "Vec", - RpcDataProviderId: "Text", - DataProviderId: "u8", - TimestampedValue: { - value: "OracleValue", - timestamp: "Moment", - }, - TimestampedValueOf: "TimestampedValue", - OrderedSet: "Vec", - OrmlAccountData: { - free: "Balance", - reserved: "Balance", - frozen: "Balance", - }, - OrmlBalanceLock: { - amount: "Balance", - id: "LockIdentifier", - }, - AuctionInfo: { - bid: "Option<(AccountId, Balance)>", - start: "BlockNumber", - end: "Option", - }, - DelayedDispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - DispatchId: "u32", - Price: "FixedU128", - OrmlVestingSchedule: { - start: "BlockNumber", - period: "BlockNumber", - periodCount: "u32", - perPeriod: "Compact", - }, - VestingScheduleOf: "OrmlVestingSchedule", - OrmlCurrencyId: "CurrencyId", - PoolInfo: { - totalShares: "Share", - rewards: "BTreeMap", - }, - CompactBalance: "Compact", - PoolInfoV0: { - totalShares: "Compact", - totalRewards: "CompactBalance", - totalWithdrawnRewards: "CompactBalance", - }, - Share: "u128", - OracleValue: "Price", - Amount: "i128", - AmountOf: "Amount", - AuctionId: "u32", - AuctionIdOf: "AuctionId", - TokenSymbol: { - _enum: ["ACA", "AUSD", "DOT", "XBTC", "LDOT", "RENBTC"], - }, - DexShare: { - _enum: { - Token: "TokenSymbol", - Erc20: "EvmAddress", - }, - }, - CurrencyId: { - _enum: { - Token: "TokenSymbol", - DEXShare: "(DexShare, DexShare)", - ERC20: "EvmAddress", - StableAssetPoolToken: "StableAssetPoolId", - }, - }, - CurrencyIdOf: "CurrencyId", - AirDropCurrencyId: { - _enum: ["KAR", "ACA"], - }, - AuthoritysOriginId: { - _enum: [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve", - ], - }, - AcalaDataProviderId: { - _enum: ["Aggregated", "Acala", "Band"], - }, - TradingPair: "(CurrencyId, CurrencyId)", - ChainBridgeChainId: "u8", - PalletBalanceOf: "Balance", - CollateralAuctionItem: { - refundRecipient: "AccountId", - currencyId: "CurrencyId", - initialAmount: "Compact", - amount: "Compact", - target: "Compact", - startTime: "BlockNumber", - }, - DebitAuctionItem: { - initialAmount: "Compact", - amount: "Compact", - fix: "Compact", - startTime: "BlockNumber", - }, - SurplusAuctionItem: { - amount: "Compact", - startTime: "BlockNumber", - }, - LiquidationStrategy: { - _enum: ["Auction", "Exchange"], - }, - OptionRate: "Option", - OptionRatio: "Option", - ChangeOptionRate: { - _enum: { - NoChange: "Null", - NewValue: "OptionRate", - }, - }, - ChangeOptionRatio: { - _enum: { - NoChange: "Null", - NewValue: "OptionRatio", - }, - }, - ChangeBalance: { - _enum: { - NoChange: "Null", - NewValue: "Balance", - }, - }, - RiskManagementParams: { - maximumTotalDebitValue: "Balance", - interestRatePerSec: "Option", - liquidationRatio: "Option", - liquidationPenalty: "Option", - requiredCollateralRatio: "Option", - }, - CandidateInfoOf: "CandidateInfo", - TradingPairProvisionParameters: { - minContribution: "(Balance, Balance)", - targetProvision: "(Balance, Balance)", - accumulatedProvision: "(Balance, Balance)", - notBefore: "BlockNumber", - }, - BalanceWrapper: { - amount: "Balance", - }, - BalanceRequest: { - amount: "Balance", - }, - TradingPairStatus: { - _enum: { - NotEnabled: "Null", - Provisioning: "TradingPairProvisionParameters", - Enabled: "Null", - }, - }, - Erc20Info: { - address: "EvmAddress", - name: "Vec", - symbol: "Vec", - decimals: "u8", - }, - EstimateResourcesResponse: { - gas: "u256", - storage: "i32", - weightFee: "u256", - }, - EvmAccountInfo: { - nonce: "Index", - contractInfo: "Option", - }, - CodeInfo: { - codeSize: "u32", - refCount: "u32", - }, - EvmContractInfo: { - codeHash: "H256", - maintainer: "H160", - deployed: "bool", - }, - EvmAddress: "H160", - CallRequest: { - from: "Option", - to: "Option", - gasLimit: "Option", - storageLimit: "Option", - value: "Option", - data: "Option", - }, - RedeemStrategy: { - _enum: { - Immediately: "Null", - Target: "EraIndex", - WaitForUnbonding: "Null", - }, - }, - RelaychainAccountId: "AccountId", - SlashInfo: { - validator: "RelaychainAccountId", - relaychainTokenAmount: "Balance", - }, - ValidatorBacking: { - totalInsurance: "Balance", - isFrozen: "bool", - }, - Guarantee: { - total: "Balance", - bonded: "Balance", - unbonding: "Option<(Balance, BlockNumber)>", - }, - PoolId: { - _enum: { - Loans: "CurrencyId", - DexIncentive: "CurrencyId", - DexSaving: "CurrencyId", - Homa: "Null", - }, - }, - PoolIdV0: { - _enum: { - LoansIncentive: "CurrencyId", - DexIncentive: "CurrencyId", - HomaIncentive: "Null", - DexSaving: "CurrencyId", - HomaValidatorAllowance: "AccountId", - }, - }, - Position: { - collateral: "Balance", - debit: "Balance", - }, - CID: "Vec", - Attributes: "BTreeMap, Vec>", - TokenInfoOf: { - metadata: "CID", - owner: "AccountId", - data: "TokenData", - }, - Properties: { - _set: { - _bitLength: 8, - Transferable: 1, - Burnable: 2, - Mintable: 4, - ClassPropertiesMutable: 8, - }, - }, - ClassData: { - deposit: "Balance", - properties: "Properties", - attributes: "Attributes", - }, - TokenData: { - deposit: "Balance", - attributes: "Attributes", - }, - TokenId: "u64", - TokenIdOf: "TokenId", - NFTClassId: "u32", - ClassIdOf: "ClassId", - NFTBalance: "u128", - NFTBalanceOf: "NFTBalance", - ClassInfoOf: { - metadata: "CID", - totalIssuance: "TokenId", - owner: "AccountId", - data: "ClassData", - }, - NomineeId: "AccountId", - HomaUnlockChunk: { - value: "Balance", - era: "EraIndex", - }, - BondingLedger: { - total: "Balance", - active: "Balance", - unlocking: "Vec", - }, - OracleKey: "CurrencyId", - AsOriginId: "AuthoritysOriginId", - ProxyType: { - _enum: [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan", - ], - }, - AtLeast64BitUnsigned: "u128", - StableAssetPoolId: "u32", - RelayChainBlockNumberOf: "RelayChainBlockNumber", - SubAccountStatus: { - bonded: "Balance", - available: "Balance", - unbonding: "Vec<(EraIndex,Balance)>", - mockRewardRate: "Rate", - }, - Params: { - targetMaxFreeUnbondedRatio: "Ratio", - targetMinFreeUnbondedRatio: "Ratio", - targetUnbondingToFreeRatio: "Ratio", - unbondingToFreeAdjustment: "Ratio", - baseFeeRate: "Rate", - }, - StakingPoolPhase: { - _enum: [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished", - ], - }, - Ledger: { - bonded: "Balance", - unbondingToFree: "Balance", - freePool: "Balance", - toUnbondNextEra: "(Balance, Balance)", - }, - ChangeRate: { - _enum: { - NoChange: "Null", - NewValue: "Rate", - }, - }, - ChangeRatio: { - _enum: { - NoChange: "Null", - NewValue: "Ratio", - }, - }, - BalanceInfo: { - amount: "Balance", - }, - PolkadotAccountId: "AccountId", - PolkadotAccountIdOf: "PolkadotAccountId", - ExchangeRate: "FixedU128", - Rate: "FixedU128", - Ratio: "FixedU128", - PublicKey: "[u8; 20]", - DestAddress: "Vec", - PoolTokenIndex: "u32", - AssetId: "CurrencyId", - Keys: "SessionKeys1", - MultiLocation: "MultiLocationV0", - MultiAsset: "MultiAssetV0", - Xcm: "XcmV0", - XcmOrder: "XcmOrderV0", - XcmError: "XcmErrorV0", - Response: "ResponseV0", - Address: "GenericMultiAddress", - LookupSource: "GenericMultiAddress", - }, + getLiquidStakingExchangeRate: { + description: "get liquid staking exchange rate", + params: [], + type: "ExchangeRate", + isSubscription: false, + jsonrpc: "stakingPool_getLiquidStakingExchangeRate", + method: "getLiquidStakingExchangeRate", + section: "stakingPool", }, - { - minmax: [720, 722], - types: { - CallOf: "Call", - DispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - ScheduleTaskIndex: "u32", - DelayedOrigin: { - delay: "BlockNumber", - origin: "PalletsOrigin", - }, - AuthorityOrigin: "DelayedOrigin", - StorageValue: "Vec", - GraduallyUpdate: { - key: "StorageKey", - targetValue: "StorageValue", - perBlock: "StorageValue", - }, - StorageKeyBytes: "Vec", - StorageValueBytes: "Vec", - RpcDataProviderId: "Text", - DataProviderId: "u8", - TimestampedValue: { - value: "OracleValue", - timestamp: "Moment", - }, - TimestampedValueOf: "TimestampedValue", - OrderedSet: "Vec", - OrmlAccountData: { - free: "Balance", - reserved: "Balance", - frozen: "Balance", - }, - OrmlBalanceLock: { - amount: "Balance", - id: "LockIdentifier", - }, - AuctionInfo: { - bid: "Option<(AccountId, Balance)>", - start: "BlockNumber", - end: "Option", - }, - DelayedDispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - DispatchId: "u32", - Price: "FixedU128", - OrmlVestingSchedule: { - start: "BlockNumber", - period: "BlockNumber", - periodCount: "u32", - perPeriod: "Compact", - }, - VestingScheduleOf: "OrmlVestingSchedule", - OrmlCurrencyId: "CurrencyId", - PoolInfo: { - totalShares: "Share", - rewards: "BTreeMap", - }, - CompactBalance: "Compact", - PoolInfoV0: { - totalShares: "Compact", - totalRewards: "CompactBalance", - totalWithdrawnRewards: "CompactBalance", - }, - Share: "u128", - OracleValue: "Price", - Amount: "i128", - AmountOf: "Amount", - AuctionId: "u32", - AuctionIdOf: "AuctionId", - TokenSymbol: { - _enum: { - ACA: 0, - AUSD: 1, - DOT: 2, - LDOT: 3, - XBTC: 4, - RENBTC: 5, - POLKABTC: 6, - PLM: 7, - PHA: 8, - HDT: 9, - BCG: 11, - KAR: 128, - KUSD: 129, - KSM: 130, - LKSM: 131, - SDN: 135, - KILT: 138, - }, - }, - DexShare: { - _enum: { - Token: "TokenSymbol", - Erc20: "EvmAddress", - }, - }, - CurrencyId: { - _enum: { - Token: "TokenSymbol", - DEXShare: "(TokenSymbol, TokenSymbol)", - ERC20: "EvmAddress", - }, - }, - CurrencyIdOf: "CurrencyId", - AirDropCurrencyId: { - _enum: ["KAR", "ACA"], - }, - AuthoritysOriginId: { - _enum: [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve", - ], - }, - AcalaDataProviderId: { - _enum: ["Aggregated", "Acala", "Band"], - }, - TradingPair: "(CurrencyId, CurrencyId)", - ChainBridgeChainId: "u8", - PalletBalanceOf: "Balance", - CollateralAuctionItem: { - refundRecipient: "AccountId", - currencyId: "CurrencyId", - initialAmount: "Compact", - amount: "Compact", - target: "Compact", - startTime: "BlockNumber", - }, - DebitAuctionItem: { - initialAmount: "Compact", - amount: "Compact", - fix: "Compact", - startTime: "BlockNumber", - }, - SurplusAuctionItem: { - amount: "Compact", - startTime: "BlockNumber", - }, - LiquidationStrategy: { - _enum: ["Auction", "Exchange"], - }, - OptionRate: "Option", - OptionRatio: "Option", - ChangeOptionRate: { - _enum: { - NoChange: "Null", - NewValue: "OptionRate", - }, - }, - ChangeOptionRatio: { - _enum: { - NoChange: "Null", - NewValue: "OptionRatio", - }, - }, - ChangeBalance: { - _enum: { - NoChange: "Null", - NewValue: "Balance", - }, - }, - RiskManagementParams: { - maximumTotalDebitValue: "Balance", - interestRatePerSec: "Option", - liquidationRatio: "Option", - liquidationPenalty: "Option", - requiredCollateralRatio: "Option", - }, - CandidateInfoOf: "CandidateInfo", - TradingPairProvisionParameters: { - minContribution: "(Balance, Balance)", - targetProvision: "(Balance, Balance)", - accumulatedProvision: "(Balance, Balance)", - notBefore: "BlockNumber", - }, - BalanceWrapper: { - amount: "Balance", - }, - BalanceRequest: { - amount: "Balance", - }, - TradingPairStatus: { - _enum: { - NotEnabled: "Null", - Provisioning: "TradingPairProvisionParameters", - Enabled: "Null", - }, - }, - Erc20Info: { - address: "EvmAddress", - name: "Vec", - symbol: "Vec", - decimals: "u8", - }, - EstimateResourcesResponse: { - gas: "u256", - storage: "i32", - weightFee: "u256", - }, - EvmAccountInfo: { - nonce: "Index", - contractInfo: "Option", - }, - CodeInfo: { - codeSize: "u32", - refCount: "u32", - }, - EvmContractInfo: { - codeHash: "H256", - maintainer: "H160", - deployed: "bool", - }, - EvmAddress: "H160", - CallRequest: { - from: "Option", - to: "Option", - gasLimit: "Option", - storageLimit: "Option", - value: "Option", - data: "Option", - }, - RedeemStrategy: { - _enum: { - Immediately: "Null", - Target: "EraIndex", - WaitForUnbonding: "Null", - }, - }, - RelaychainAccountId: "AccountId", - SlashInfo: { - validator: "RelaychainAccountId", - relaychainTokenAmount: "Balance", - }, - ValidatorBacking: { - totalInsurance: "Balance", - isFrozen: "bool", - }, - Guarantee: { - total: "Balance", - bonded: "Balance", - unbonding: "Option<(Balance, BlockNumber)>", - }, - PoolId: { - _enum: { - Loans: "CurrencyId", - DexIncentive: "CurrencyId", - DexSaving: "CurrencyId", - Homa: "Null", - }, - }, - PoolIdV0: { - _enum: { - LoansIncentive: "CurrencyId", - DexIncentive: "CurrencyId", - HomaIncentive: "Null", - DexSaving: "CurrencyId", - HomaValidatorAllowance: "AccountId", - }, - }, - Position: { - collateral: "Balance", - debit: "Balance", - }, - CID: "Vec", - Attributes: "BTreeMap, Vec>", - TokenInfoOf: { - metadata: "CID", - owner: "AccountId", - data: "TokenData", - }, - Properties: { - _set: { - _bitLength: 8, - Transferable: 1, - Burnable: 2, - Mintable: 4, - ClassPropertiesMutable: 8, - }, - }, - ClassData: { - deposit: "Balance", - properties: "Properties", - attributes: "Attributes", - }, - TokenData: { - deposit: "Balance", - attributes: "Attributes", - }, - TokenId: "u64", - TokenIdOf: "TokenId", - NFTClassId: "u32", - ClassIdOf: "ClassId", - NFTBalance: "u128", - NFTBalanceOf: "NFTBalance", - ClassInfoOf: { - metadata: "CID", - totalIssuance: "TokenId", - owner: "AccountId", - data: "ClassData", - }, - NomineeId: "AccountId", - HomaUnlockChunk: { - value: "Balance", - era: "EraIndex", - }, - BondingLedger: { - total: "Balance", - active: "Balance", - unlocking: "Vec", - }, - OracleKey: "CurrencyId", - AsOriginId: "AuthoritysOriginId", - ProxyType: { - _enum: [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan", - ], - }, - AtLeast64BitUnsigned: "u128", - StableAssetPoolId: "u32", - RelayChainBlockNumberOf: "RelayChainBlockNumber", - SubAccountStatus: { - bonded: "Balance", - available: "Balance", - unbonding: "Vec<(EraIndex,Balance)>", - mockRewardRate: "Rate", - }, - Params: { - targetMaxFreeUnbondedRatio: "Ratio", - targetMinFreeUnbondedRatio: "Ratio", - targetUnbondingToFreeRatio: "Ratio", - unbondingToFreeAdjustment: "Ratio", - baseFeeRate: "Rate", - }, - StakingPoolPhase: { - _enum: [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished", - ], - }, - Ledger: { - bonded: "Balance", - unbondingToFree: "Balance", - freePool: "Balance", - toUnbondNextEra: "(Balance, Balance)", - }, - ChangeRate: { - _enum: { - NoChange: "Null", - NewValue: "Rate", - }, - }, - ChangeRatio: { - _enum: { - NoChange: "Null", - NewValue: "Ratio", - }, - }, - BalanceInfo: { - amount: "Balance", - }, - PolkadotAccountId: "AccountId", - PolkadotAccountIdOf: "PolkadotAccountId", - ExchangeRate: "FixedU128", - Rate: "FixedU128", - Ratio: "FixedU128", - PublicKey: "[u8; 20]", - DestAddress: "Vec", - PoolTokenIndex: "u32", - AssetId: "CurrencyId", - Keys: "SessionKeys1", - Address: "GenericMultiAddress", - LookupSource: "GenericMultiAddress", - MultiLocation: "MultiLocationV0", - MultiAsset: "MultiAssetV0", - Xcm: "XcmV0", - XcmOrder: "XcmOrderV0", - XcmError: "XcmErrorV0", - Response: "ResponseV0", + }, + }, + instances: { + council: ["generalCouncil"], + }, + types: [ + { + minmax: [600, 699], + types: { + CallOf: "Call", + DispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, }, - }, - { - minmax: [723, 729], - types: { - CallOf: "Call", - DispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - ScheduleTaskIndex: "u32", - DelayedOrigin: { - delay: "BlockNumber", - origin: "PalletsOrigin", - }, - AuthorityOrigin: "DelayedOrigin", - StorageValue: "Vec", - GraduallyUpdate: { - key: "StorageKey", - targetValue: "StorageValue", - perBlock: "StorageValue", - }, - StorageKeyBytes: "Vec", - StorageValueBytes: "Vec", - RpcDataProviderId: "Text", - DataProviderId: "u8", - TimestampedValue: { - value: "OracleValue", - timestamp: "Moment", - }, - TimestampedValueOf: "TimestampedValue", - OrderedSet: "Vec", - OrmlAccountData: { - free: "Balance", - reserved: "Balance", - frozen: "Balance", - }, - OrmlBalanceLock: { - amount: "Balance", - id: "LockIdentifier", - }, - AuctionInfo: { - bid: "Option<(AccountId, Balance)>", - start: "BlockNumber", - end: "Option", - }, - DelayedDispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - DispatchId: "u32", - Price: "FixedU128", - OrmlVestingSchedule: { - start: "BlockNumber", - period: "BlockNumber", - periodCount: "u32", - perPeriod: "Compact", - }, - VestingScheduleOf: "OrmlVestingSchedule", - OrmlCurrencyId: "CurrencyId", - PoolInfo: { - totalShares: "Compact", - totalRewards: "Compact", - totalWithdrawnRewards: "Compact", - }, - CompactBalance: "Compact", - PoolInfoV0: { - totalShares: "Compact", - totalRewards: "CompactBalance", - totalWithdrawnRewards: "CompactBalance", - }, - Share: "u128", - OracleValue: "Price", - Amount: "i128", - AmountOf: "Amount", - AuctionId: "u32", - AuctionIdOf: "AuctionId", - TokenSymbol: { - _enum: { - ACA: 0, - AUSD: 1, - DOT: 2, - LDOT: 3, - XBTC: 4, - RENBTC: 5, - POLKABTC: 6, - PLM: 7, - PHA: 8, - HDT: 9, - BCG: 11, - KAR: 128, - KUSD: 129, - KSM: 130, - LKSM: 131, - SDN: 135, - KILT: 138, - }, - }, - DexShare: { - _enum: { - Token: "TokenSymbol", - Erc20: "EvmAddress", - }, - }, - CurrencyId: { - _enum: { - Token: "TokenSymbol", - DEXShare: "(TokenSymbol, TokenSymbol)", - ERC20: "EvmAddress", - }, - }, - CurrencyIdOf: "CurrencyId", - AirDropCurrencyId: { - _enum: ["KAR", "ACA"], - }, - AuthoritysOriginId: { - _enum: [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve", - ], - }, - AcalaDataProviderId: { - _enum: ["Aggregated", "Acala", "Band"], - }, - TradingPair: "(CurrencyId, CurrencyId)", - ChainBridgeChainId: "u8", - PalletBalanceOf: "Balance", - CollateralAuctionItem: { - refundRecipient: "AccountId", - currencyId: "CurrencyId", - initialAmount: "Compact", - amount: "Compact", - target: "Compact", - startTime: "BlockNumber", - }, - DebitAuctionItem: { - initialAmount: "Compact", - amount: "Compact", - fix: "Compact", - startTime: "BlockNumber", - }, - SurplusAuctionItem: { - amount: "Compact", - startTime: "BlockNumber", - }, - LiquidationStrategy: { - _enum: ["Auction", "Exchange"], - }, - OptionRate: "Option", - OptionRatio: "Option", - ChangeOptionRate: { - _enum: { - NoChange: "Null", - NewValue: "OptionRate", - }, - }, - ChangeOptionRatio: { - _enum: { - NoChange: "Null", - NewValue: "OptionRatio", - }, - }, - ChangeBalance: { - _enum: { - NoChange: "Null", - NewValue: "Balance", - }, - }, - RiskManagementParams: { - maximumTotalDebitValue: "Balance", - interestRatePerSec: "Option", - liquidationRatio: "Option", - liquidationPenalty: "Option", - requiredCollateralRatio: "Option", - }, - CandidateInfoOf: "CandidateInfo", - TradingPairProvisionParameters: { - minContribution: "(Balance, Balance)", - targetProvision: "(Balance, Balance)", - accumulatedProvision: "(Balance, Balance)", - notBefore: "BlockNumber", - }, - BalanceWrapper: { - amount: "Balance", - }, - BalanceRequest: { - amount: "Balance", - }, - TradingPairStatus: { - _enum: { - NotEnabled: "Null", - Provisioning: "TradingPairProvisionParameters", - Enabled: "Null", - }, - }, - Erc20Info: { - address: "EvmAddress", - name: "Vec", - symbol: "Vec", - decimals: "u8", - }, - EstimateResourcesResponse: { - gas: "u256", - storage: "i32", - weightFee: "u256", - }, - EvmAccountInfo: { - nonce: "Index", - contractInfo: "Option", - }, - CodeInfo: { - codeSize: "u32", - refCount: "u32", - }, - EvmContractInfo: { - codeHash: "H256", - maintainer: "H160", - deployed: "bool", - }, - EvmAddress: "H160", - CallRequest: { - from: "Option", - to: "Option", - gasLimit: "Option", - storageLimit: "Option", - value: "Option", - data: "Option", - }, - RedeemStrategy: { - _enum: { - Immediately: "Null", - Target: "EraIndex", - WaitForUnbonding: "Null", - }, - }, - RelaychainAccountId: "AccountId", - SlashInfo: { - validator: "RelaychainAccountId", - relaychainTokenAmount: "Balance", - }, - ValidatorBacking: { - totalInsurance: "Balance", - isFrozen: "bool", - }, - Guarantee: { - total: "Balance", - bonded: "Balance", - unbonding: "Option<(Balance, BlockNumber)>", - }, - PoolId: { - _enum: { - LoansIncentive: "CurrencyId", - DexIncentive: "CurrencyId", - HomaIncentive: "Null", - DexSaving: "CurrencyId", - HomaValidatorAllowance: "AccountId", - }, - }, - PoolIdV0: { - _enum: { - LoansIncentive: "CurrencyId", - DexIncentive: "CurrencyId", - HomaIncentive: "Null", - DexSaving: "CurrencyId", - HomaValidatorAllowance: "AccountId", - }, - }, - Position: { - collateral: "Balance", - debit: "Balance", - }, - CID: "Vec", - Attributes: "BTreeMap, Vec>", - TokenInfoOf: { - metadata: "CID", - owner: "AccountId", - data: "TokenData", - }, - Properties: { - _set: { - _bitLength: 8, - Transferable: 1, - Burnable: 2, - Mintable: 4, - ClassPropertiesMutable: 8, - }, - }, - ClassData: { - deposit: "Balance", - properties: "Properties", - attributes: "Attributes", - }, - TokenData: { - deposit: "Balance", - attributes: "Attributes", - }, - TokenId: "u64", - TokenIdOf: "TokenId", - NFTClassId: "u32", - ClassIdOf: "ClassId", - NFTBalance: "u128", - NFTBalanceOf: "NFTBalance", - ClassInfoOf: { - metadata: "CID", - totalIssuance: "TokenId", - owner: "AccountId", - data: "ClassData", - }, - NomineeId: "AccountId", - HomaUnlockChunk: { - value: "Balance", - era: "EraIndex", - }, - BondingLedger: { - total: "Balance", - active: "Balance", - unlocking: "Vec", - }, - OracleKey: "CurrencyId", - AsOriginId: "AuthoritysOriginId", - ProxyType: { - _enum: [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan", - ], - }, - AtLeast64BitUnsigned: "u128", - StableAssetPoolId: "u32", - RelayChainBlockNumberOf: "RelayChainBlockNumber", - SubAccountStatus: { - bonded: "Balance", - available: "Balance", - unbonding: "Vec<(EraIndex,Balance)>", - mockRewardRate: "Rate", - }, - Params: { - targetMaxFreeUnbondedRatio: "Ratio", - targetMinFreeUnbondedRatio: "Ratio", - targetUnbondingToFreeRatio: "Ratio", - unbondingToFreeAdjustment: "Ratio", - baseFeeRate: "Rate", - }, - StakingPoolPhase: { - _enum: [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished", - ], - }, - Ledger: { - bonded: "Balance", - unbondingToFree: "Balance", - freePool: "Balance", - toUnbondNextEra: "(Balance, Balance)", - }, - ChangeRate: { - _enum: { - NoChange: "Null", - NewValue: "Rate", - }, - }, - ChangeRatio: { - _enum: { - NoChange: "Null", - NewValue: "Ratio", - }, - }, - BalanceInfo: { - amount: "Balance", - }, - PolkadotAccountId: "AccountId", - PolkadotAccountIdOf: "PolkadotAccountId", - ExchangeRate: "FixedU128", - Rate: "FixedU128", - Ratio: "FixedU128", - PublicKey: "[u8; 20]", - DestAddress: "Vec", - PoolTokenIndex: "u32", - AssetId: "CurrencyId", - Keys: "SessionKeys1", - Address: "GenericMultiAddress", - LookupSource: "GenericMultiAddress", - MultiLocation: "MultiLocationV0", - MultiAsset: "MultiAssetV0", - Xcm: "XcmV0", - XcmOrder: "XcmOrderV0", - XcmError: "XcmErrorV0", - Response: "ResponseV0", + ScheduleTaskIndex: "u32", + DelayedOrigin: { + delay: "BlockNumber", + origin: "PalletsOrigin", }, - }, - { - minmax: [730, 1007], - types: { - CallOf: "Call", - DispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - ScheduleTaskIndex: "u32", - DelayedOrigin: { - delay: "BlockNumber", - origin: "PalletsOrigin", - }, - AuthorityOrigin: "DelayedOrigin", - StorageValue: "Vec", - GraduallyUpdate: { - key: "StorageKey", - targetValue: "StorageValue", - perBlock: "StorageValue", - }, - StorageKeyBytes: "Vec", - StorageValueBytes: "Vec", - RpcDataProviderId: "Text", - DataProviderId: "u8", - TimestampedValue: { - value: "OracleValue", - timestamp: "Moment", - }, - TimestampedValueOf: "TimestampedValue", - OrderedSet: "Vec", - OrmlAccountData: { - free: "Balance", - reserved: "Balance", - frozen: "Balance", - }, - OrmlBalanceLock: { - amount: "Balance", - id: "LockIdentifier", - }, - AuctionInfo: { - bid: "Option<(AccountId, Balance)>", - start: "BlockNumber", - end: "Option", - }, - DelayedDispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - DispatchId: "u32", - Price: "FixedU128", - OrmlVestingSchedule: { - start: "BlockNumber", - period: "BlockNumber", - periodCount: "u32", - perPeriod: "Compact", - }, - VestingScheduleOf: "OrmlVestingSchedule", - OrmlCurrencyId: "CurrencyId", - PoolInfo: { - totalShares: "Compact", - totalRewards: "Compact", - totalWithdrawnRewards: "Compact", - }, - CompactBalance: "Compact", - PoolInfoV0: { - totalShares: "Compact", - totalRewards: "CompactBalance", - totalWithdrawnRewards: "CompactBalance", - }, - Share: "u128", - OracleValue: "Price", - Amount: "i128", - AmountOf: "Amount", - AuctionId: "u32", - AuctionIdOf: "AuctionId", - TokenSymbol: { - _enum: { - ACA: 0, - AUSD: 1, - DOT: 2, - LDOT: 3, - RENBTC: 4, - KAR: 128, - KUSD: 129, - KSM: 130, - LKSM: 131, - CASH: 140, - }, - }, - DexShare: { - _enum: { - Token: "TokenSymbol", - Erc20: "EvmAddress", - }, - }, - CurrencyId: { - _enum: { - Token: "TokenSymbol", - DEXShare: "(DexShare, DexShare)", - ERC20: "EvmAddress", - StableAssetPoolToken: "StableAssetPoolId", - }, - }, - CurrencyIdOf: "CurrencyId", - AirDropCurrencyId: { - _enum: ["KAR", "ACA"], - }, - AuthoritysOriginId: { - _enum: [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve", - ], - }, - AcalaDataProviderId: { - _enum: ["Aggregated", "Acala", "Band"], - }, - TradingPair: "(CurrencyId, CurrencyId)", - ChainBridgeChainId: "u8", - PalletBalanceOf: "Balance", - CollateralAuctionItem: { - refundRecipient: "AccountId", - currencyId: "CurrencyId", - initialAmount: "Compact", - amount: "Compact", - target: "Compact", - startTime: "BlockNumber", - }, - DebitAuctionItem: { - initialAmount: "Compact", - amount: "Compact", - fix: "Compact", - startTime: "BlockNumber", - }, - SurplusAuctionItem: { - amount: "Compact", - startTime: "BlockNumber", - }, - LiquidationStrategy: { - _enum: ["Auction", "Exchange"], - }, - OptionRate: "Option", - OptionRatio: "Option", - ChangeOptionRate: { - _enum: { - NoChange: "Null", - NewValue: "OptionRate", - }, - }, - ChangeOptionRatio: { - _enum: { - NoChange: "Null", - NewValue: "OptionRatio", - }, - }, - ChangeBalance: { - _enum: { - NoChange: "Null", - NewValue: "Balance", - }, - }, - RiskManagementParams: { - maximumTotalDebitValue: "Balance", - interestRatePerSec: "Option", - liquidationRatio: "Option", - liquidationPenalty: "Option", - requiredCollateralRatio: "Option", - }, - CandidateInfoOf: "CandidateInfo", - TradingPairProvisionParameters: { - minContribution: "(Balance, Balance)", - targetProvision: "(Balance, Balance)", - accumulatedProvision: "(Balance, Balance)", - notBefore: "BlockNumber", - }, - BalanceWrapper: { - amount: "Balance", - }, - BalanceRequest: { - amount: "Balance", - }, - TradingPairStatus: { - _enum: { - NotEnabled: "Null", - Provisioning: "TradingPairProvisionParameters", - Enabled: "Null", - }, - }, - Erc20Info: { - address: "EvmAddress", - name: "Vec", - symbol: "Vec", - decimals: "u8", - }, - EstimateResourcesResponse: { - gas: "u256", - storage: "i32", - weightFee: "u256", - }, - EvmAccountInfo: { - nonce: "Index", - contractInfo: "Option", - }, - CodeInfo: { - codeSize: "u32", - refCount: "u32", - }, - EvmContractInfo: { - codeHash: "H256", - maintainer: "H160", - deployed: "bool", - }, - EvmAddress: "H160", - CallRequest: { - from: "Option", - to: "Option", - gasLimit: "Option", - storageLimit: "Option", - value: "Option", - data: "Option", - }, - RedeemStrategy: { - _enum: { - Immediately: "Null", - Target: "EraIndex", - WaitForUnbonding: "Null", - }, - }, - RelaychainAccountId: "AccountId", - SlashInfo: { - validator: "RelaychainAccountId", - relaychainTokenAmount: "Balance", - }, - ValidatorBacking: { - totalInsurance: "Balance", - isFrozen: "bool", - }, - Guarantee: { - total: "Balance", - bonded: "Balance", - unbonding: "Option<(Balance, BlockNumber)>", - }, - PoolId: { - _enum: { - LoansIncentive: "CurrencyId", - DexIncentive: "CurrencyId", - HomaIncentive: "Null", - DexSaving: "CurrencyId", - HomaValidatorAllowance: "AccountId", - }, - }, - PoolIdV0: { - _enum: { - LoansIncentive: "CurrencyId", - DexIncentive: "CurrencyId", - HomaIncentive: "Null", - DexSaving: "CurrencyId", - HomaValidatorAllowance: "AccountId", - }, - }, - Position: { - collateral: "Balance", - debit: "Balance", - }, - CID: "Vec", - Attributes: "BTreeMap, Vec>", - TokenInfoOf: { - metadata: "CID", - owner: "AccountId", - data: "TokenData", - }, - Properties: { - _set: { - _bitLength: 8, - Transferable: 1, - Burnable: 2, - Mintable: 4, - ClassPropertiesMutable: 8, - }, - }, - ClassData: { - deposit: "Balance", - properties: "Properties", - attributes: "Attributes", - }, - TokenData: { - deposit: "Balance", - attributes: "Attributes", - }, - TokenId: "u64", - TokenIdOf: "TokenId", - NFTClassId: "u32", - ClassIdOf: "ClassId", - NFTBalance: "u128", - NFTBalanceOf: "NFTBalance", - ClassInfoOf: { - metadata: "CID", - totalIssuance: "TokenId", - owner: "AccountId", - data: "ClassData", - }, - NomineeId: "AccountId", - HomaUnlockChunk: { - value: "Balance", - era: "EraIndex", - }, - BondingLedger: { - total: "Balance", - active: "Balance", - unlocking: "Vec", - }, - OracleKey: "CurrencyId", - AsOriginId: "AuthoritysOriginId", - ProxyType: { - _enum: [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan", - ], - }, - AtLeast64BitUnsigned: "u128", - StableAssetPoolId: "u32", - RelayChainBlockNumberOf: "RelayChainBlockNumber", - SubAccountStatus: { - bonded: "Balance", - available: "Balance", - unbonding: "Vec<(EraIndex,Balance)>", - mockRewardRate: "Rate", - }, - Params: { - targetMaxFreeUnbondedRatio: "Ratio", - targetMinFreeUnbondedRatio: "Ratio", - targetUnbondingToFreeRatio: "Ratio", - unbondingToFreeAdjustment: "Ratio", - baseFeeRate: "Rate", - }, - StakingPoolPhase: { - _enum: [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished", - ], - }, - Ledger: { - bonded: "Balance", - unbondingToFree: "Balance", - freePool: "Balance", - toUnbondNextEra: "(Balance, Balance)", - }, - ChangeRate: { - _enum: { - NoChange: "Null", - NewValue: "Rate", - }, - }, - ChangeRatio: { - _enum: { - NoChange: "Null", - NewValue: "Ratio", - }, - }, - BalanceInfo: { - amount: "Balance", - }, - PolkadotAccountId: "AccountId", - PolkadotAccountIdOf: "PolkadotAccountId", - ExchangeRate: "FixedU128", - Rate: "FixedU128", - Ratio: "FixedU128", - PublicKey: "[u8; 20]", - DestAddress: "Vec", - PoolTokenIndex: "u32", - AssetId: "CurrencyId", - Keys: "SessionKeys1", - Address: "GenericMultiAddress", - LookupSource: "GenericMultiAddress", - MultiLocation: "MultiLocationV0", - MultiAsset: "MultiAssetV0", - Xcm: "XcmV0", - XcmOrder: "XcmOrderV0", - XcmError: "XcmErrorV0", - Response: "ResponseV0", + AuthorityOrigin: "DelayedOrigin", + StorageValue: "Vec", + GraduallyUpdate: { + key: "StorageKey", + targetValue: "StorageValue", + perBlock: "StorageValue", }, - }, - { - minmax: [1008, 1008], - types: { - CallOf: "Call", - DispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - ScheduleTaskIndex: "u32", - DelayedOrigin: { - delay: "BlockNumber", - origin: "PalletsOrigin", - }, - AuthorityOrigin: "DelayedOrigin", - StorageValue: "Vec", - GraduallyUpdate: { - key: "StorageKey", - targetValue: "StorageValue", - perBlock: "StorageValue", - }, - StorageKeyBytes: "Vec", - StorageValueBytes: "Vec", - RpcDataProviderId: "Text", - DataProviderId: "u8", - TimestampedValue: { - value: "OracleValue", - timestamp: "Moment", - }, - TimestampedValueOf: "TimestampedValue", - OrderedSet: "Vec", - OrmlAccountData: { - free: "Balance", - reserved: "Balance", - frozen: "Balance", - }, - OrmlBalanceLock: { - amount: "Balance", - id: "LockIdentifier", - }, - AuctionInfo: { - bid: "Option<(AccountId, Balance)>", - start: "BlockNumber", - end: "Option", - }, - DelayedDispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - DispatchId: "u32", - Price: "FixedU128", - OrmlVestingSchedule: { - start: "BlockNumber", - period: "BlockNumber", - periodCount: "u32", - perPeriod: "Compact", - }, - VestingScheduleOf: "OrmlVestingSchedule", - OrmlCurrencyId: "CurrencyId", - PoolInfo: { - totalShares: "Compact", - totalRewards: "Compact", - totalWithdrawnRewards: "Compact", - }, - CompactBalance: "Compact", - PoolInfoV0: { - totalShares: "Compact", - totalRewards: "CompactBalance", - totalWithdrawnRewards: "CompactBalance", - }, - Share: "u128", - OracleValue: "Price", - Amount: "i128", - AmountOf: "Amount", - AuctionId: "u32", - AuctionIdOf: "AuctionId", - TokenSymbol: { - _enum: { - ACA: 0, - AUSD: 1, - DOT: 2, - LDOT: 3, - RENBTC: 20, - CASH: 21, - KAR: 128, - KUSD: 129, - KSM: 130, - LKSM: 131, - }, - }, - DexShare: { - _enum: { - Token: "TokenSymbol", - Erc20: "EvmAddress", - }, - }, - CurrencyId: { - _enum: { - Token: "TokenSymbol", - DEXShare: "(DexShare, DexShare)", - ERC20: "EvmAddress", - StableAssetPoolToken: "StableAssetPoolId", - }, - }, - CurrencyIdOf: "CurrencyId", - AirDropCurrencyId: { - _enum: ["KAR", "ACA"], - }, - AuthoritysOriginId: { - _enum: [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve", - ], - }, - AcalaDataProviderId: { - _enum: ["Aggregated", "Acala", "Band"], - }, - TradingPair: "(CurrencyId, CurrencyId)", - ChainBridgeChainId: "u8", - PalletBalanceOf: "Balance", - CollateralAuctionItem: { - refundRecipient: "AccountId", - currencyId: "CurrencyId", - initialAmount: "Compact", - amount: "Compact", - target: "Compact", - startTime: "BlockNumber", - }, - DebitAuctionItem: { - initialAmount: "Compact", - amount: "Compact", - fix: "Compact", - startTime: "BlockNumber", - }, - SurplusAuctionItem: { - amount: "Compact", - startTime: "BlockNumber", - }, - LiquidationStrategy: { - _enum: ["Auction", "Exchange"], - }, - OptionRate: "Option", - OptionRatio: "Option", - ChangeOptionRate: { - _enum: { - NoChange: "Null", - NewValue: "OptionRate", - }, - }, - ChangeOptionRatio: { - _enum: { - NoChange: "Null", - NewValue: "OptionRatio", - }, - }, - ChangeBalance: { - _enum: { - NoChange: "Null", - NewValue: "Balance", - }, - }, - RiskManagementParams: { - maximumTotalDebitValue: "Balance", - interestRatePerSec: "Option", - liquidationRatio: "Option", - liquidationPenalty: "Option", - requiredCollateralRatio: "Option", - }, - CandidateInfoOf: "CandidateInfo", - TradingPairProvisionParameters: { - minContribution: "(Balance, Balance)", - targetProvision: "(Balance, Balance)", - accumulatedProvision: "(Balance, Balance)", - notBefore: "BlockNumber", - }, - BalanceWrapper: { - amount: "Balance", - }, - BalanceRequest: { - amount: "Balance", - }, - TradingPairStatus: { - _enum: { - NotEnabled: "Null", - Provisioning: "TradingPairProvisionParameters", - Enabled: "Null", - }, - }, - Erc20Info: { - address: "EvmAddress", - name: "Vec", - symbol: "Vec", - decimals: "u8", - }, - EstimateResourcesResponse: { - gas: "u256", - storage: "i32", - weightFee: "u256", - }, - EvmAccountInfo: { - nonce: "Index", - contractInfo: "Option", - }, - CodeInfo: { - codeSize: "u32", - refCount: "u32", - }, - EvmContractInfo: { - codeHash: "H256", - maintainer: "H160", - deployed: "bool", - }, - EvmAddress: "H160", - CallRequest: { - from: "Option", - to: "Option", - gasLimit: "Option", - storageLimit: "Option", - value: "Option", - data: "Option", - }, - RedeemStrategy: { - _enum: { - Immediately: "Null", - Target: "EraIndex", - WaitForUnbonding: "Null", - }, - }, - RelaychainAccountId: "AccountId", - SlashInfo: { - validator: "RelaychainAccountId", - relaychainTokenAmount: "Balance", - }, - ValidatorBacking: { - totalInsurance: "Balance", - isFrozen: "bool", - }, - Guarantee: { - total: "Balance", - bonded: "Balance", - unbonding: "Option<(Balance, BlockNumber)>", - }, - PoolId: { - _enum: { - LoansIncentive: "CurrencyId", - DexIncentive: "CurrencyId", - HomaIncentive: "Null", - DexSaving: "CurrencyId", - HomaValidatorAllowance: "AccountId", - }, - }, - PoolIdV0: { - _enum: { - LoansIncentive: "CurrencyId", - DexIncentive: "CurrencyId", - HomaIncentive: "Null", - DexSaving: "CurrencyId", - HomaValidatorAllowance: "AccountId", - }, - }, - Position: { - collateral: "Balance", - debit: "Balance", - }, - CID: "Vec", - Attributes: "BTreeMap, Vec>", - TokenInfoOf: { - metadata: "CID", - owner: "AccountId", - data: "TokenData", - }, - Properties: { - _set: { - _bitLength: 8, - Transferable: 1, - Burnable: 2, - Mintable: 4, - ClassPropertiesMutable: 8, - }, - }, - ClassData: { - deposit: "Balance", - properties: "Properties", - attributes: "Attributes", - }, - TokenData: { - deposit: "Balance", - attributes: "Attributes", - }, - TokenId: "u64", - TokenIdOf: "TokenId", - NFTClassId: "u32", - ClassIdOf: "ClassId", - NFTBalance: "u128", - NFTBalanceOf: "NFTBalance", - ClassInfoOf: { - metadata: "CID", - totalIssuance: "TokenId", - owner: "AccountId", - data: "ClassData", - }, - NomineeId: "AccountId", - HomaUnlockChunk: { - value: "Balance", - era: "EraIndex", - }, - BondingLedger: { - total: "Balance", - active: "Balance", - unlocking: "Vec", - }, - OracleKey: "CurrencyId", - AsOriginId: "AuthoritysOriginId", - ProxyType: { - _enum: [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan", - ], - }, - AtLeast64BitUnsigned: "u128", - StableAssetPoolId: "u32", - RelayChainBlockNumberOf: "RelayChainBlockNumber", - SubAccountStatus: { - bonded: "Balance", - available: "Balance", - unbonding: "Vec<(EraIndex,Balance)>", - mockRewardRate: "Rate", - }, - Params: { - targetMaxFreeUnbondedRatio: "Ratio", - targetMinFreeUnbondedRatio: "Ratio", - targetUnbondingToFreeRatio: "Ratio", - unbondingToFreeAdjustment: "Ratio", - baseFeeRate: "Rate", - }, - StakingPoolPhase: { - _enum: [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished", - ], - }, - Ledger: { - bonded: "Balance", - unbondingToFree: "Balance", - freePool: "Balance", - toUnbondNextEra: "(Balance, Balance)", - }, - ChangeRate: { - _enum: { - NoChange: "Null", - NewValue: "Rate", - }, - }, - ChangeRatio: { - _enum: { - NoChange: "Null", - NewValue: "Ratio", - }, - }, - BalanceInfo: { - amount: "Balance", - }, - PolkadotAccountId: "AccountId", - PolkadotAccountIdOf: "PolkadotAccountId", - ExchangeRate: "FixedU128", - Rate: "FixedU128", - Ratio: "FixedU128", - PublicKey: "[u8; 20]", - DestAddress: "Vec", - PoolTokenIndex: "u32", - AssetId: "CurrencyId", - Keys: "SessionKeys1", - Address: "GenericMultiAddress", - LookupSource: "GenericMultiAddress", - MultiLocation: "MultiLocationV0", - MultiAsset: "MultiAssetV0", - Xcm: "XcmV0", - XcmOrder: "XcmOrderV0", - XcmError: "XcmErrorV0", - Response: "ResponseV0", + StorageKeyBytes: "Vec", + StorageValueBytes: "Vec", + RpcDataProviderId: "Text", + DataProviderId: "u8", + TimestampedValue: { + value: "OracleValue", + timestamp: "Moment", }, - }, - { - minmax: [1008, 1009], - types: { - CallOf: "Call", - DispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - ScheduleTaskIndex: "u32", - DelayedOrigin: { - delay: "BlockNumber", - origin: "PalletsOrigin", - }, - AuthorityOrigin: "DelayedOrigin", - StorageValue: "Vec", - GraduallyUpdate: { - key: "StorageKey", - targetValue: "StorageValue", - perBlock: "StorageValue", - }, - StorageKeyBytes: "Vec", - StorageValueBytes: "Vec", - RpcDataProviderId: "Text", - DataProviderId: "u8", - TimestampedValue: { - value: "OracleValue", - timestamp: "Moment", - }, - TimestampedValueOf: "TimestampedValue", - OrderedSet: "Vec", - OrmlAccountData: { - free: "Balance", - reserved: "Balance", - frozen: "Balance", - }, - OrmlBalanceLock: { - amount: "Balance", - id: "LockIdentifier", - }, - AuctionInfo: { - bid: "Option<(AccountId, Balance)>", - start: "BlockNumber", - end: "Option", - }, - DelayedDispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - DispatchId: "u32", - Price: "FixedU128", - OrmlVestingSchedule: { - start: "BlockNumber", - period: "BlockNumber", - periodCount: "u32", - perPeriod: "Compact", - }, - VestingScheduleOf: "OrmlVestingSchedule", - OrmlCurrencyId: "CurrencyId", - PoolInfo: { - totalShares: "Compact", - totalRewards: "Compact", - totalWithdrawnRewards: "Compact", - }, - CompactBalance: "Compact", - PoolInfoV0: { - totalShares: "Compact", - totalRewards: "CompactBalance", - totalWithdrawnRewards: "CompactBalance", - }, - Share: "u128", - OracleValue: "Price", - Amount: "i128", - AmountOf: "Amount", - AuctionId: "u32", - AuctionIdOf: "AuctionId", - TokenSymbol: { - _enum: { - ACA: 0, - AUSD: 1, - DOT: 2, - LDOT: 3, - RENBTC: 20, - CASH: 21, - KAR: 128, - KUSD: 129, - KSM: 130, - LKSM: 131, - BNC: 168, - VSKSM: 169, - }, - }, - DexShare: { - _enum: { - Token: "TokenSymbol", - Erc20: "EvmAddress", - }, - }, - CurrencyId: { - _enum: { - Token: "TokenSymbol", - DEXShare: "(DexShare, DexShare)", - ERC20: "EvmAddress", - StableAssetPoolToken: "StableAssetPoolId", - }, - }, - CurrencyIdOf: "CurrencyId", - AirDropCurrencyId: { - _enum: ["KAR", "ACA"], - }, - AuthoritysOriginId: { - _enum: [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve", - ], - }, - AcalaDataProviderId: { - _enum: ["Aggregated", "Acala", "Band"], - }, - TradingPair: "(CurrencyId, CurrencyId)", - ChainBridgeChainId: "u8", - PalletBalanceOf: "Balance", - CollateralAuctionItem: { - refundRecipient: "AccountId", - currencyId: "CurrencyId", - initialAmount: "Compact", - amount: "Compact", - target: "Compact", - startTime: "BlockNumber", - }, - DebitAuctionItem: { - initialAmount: "Compact", - amount: "Compact", - fix: "Compact", - startTime: "BlockNumber", - }, - SurplusAuctionItem: { - amount: "Compact", - startTime: "BlockNumber", - }, - LiquidationStrategy: { - _enum: ["Auction", "Exchange"], - }, - OptionRate: "Option", - OptionRatio: "Option", - ChangeOptionRate: { - _enum: { - NoChange: "Null", - NewValue: "OptionRate", - }, - }, - ChangeOptionRatio: { - _enum: { - NoChange: "Null", - NewValue: "OptionRatio", - }, - }, - ChangeBalance: { - _enum: { - NoChange: "Null", - NewValue: "Balance", - }, - }, - RiskManagementParams: { - maximumTotalDebitValue: "Balance", - interestRatePerSec: "Option", - liquidationRatio: "Option", - liquidationPenalty: "Option", - requiredCollateralRatio: "Option", - }, - CandidateInfoOf: "CandidateInfo", - TradingPairProvisionParameters: { - minContribution: "(Balance, Balance)", - targetProvision: "(Balance, Balance)", - accumulatedProvision: "(Balance, Balance)", - notBefore: "BlockNumber", - }, - BalanceWrapper: { - amount: "Balance", - }, - BalanceRequest: { - amount: "Balance", - }, - TradingPairStatus: { - _enum: { - NotEnabled: "Null", - Provisioning: "TradingPairProvisionParameters", - Enabled: "Null", - }, - }, - Erc20Info: { - address: "EvmAddress", - name: "Vec", - symbol: "Vec", - decimals: "u8", - }, - EstimateResourcesResponse: { - gas: "u256", - storage: "i32", - weightFee: "u256", - }, - EvmAccountInfo: { - nonce: "Index", - contractInfo: "Option", - }, - CodeInfo: { - codeSize: "u32", - refCount: "u32", - }, - EvmContractInfo: { - codeHash: "H256", - maintainer: "H160", - deployed: "bool", - }, - EvmAddress: "H160", - CallRequest: { - from: "Option", - to: "Option", - gasLimit: "Option", - storageLimit: "Option", - value: "Option", - data: "Option", - }, - RedeemStrategy: { - _enum: { - Immediately: "Null", - Target: "EraIndex", - WaitForUnbonding: "Null", - }, - }, - RelaychainAccountId: "AccountId", - SlashInfo: { - validator: "RelaychainAccountId", - relaychainTokenAmount: "Balance", - }, - ValidatorBacking: { - totalInsurance: "Balance", - isFrozen: "bool", - }, - Guarantee: { - total: "Balance", - bonded: "Balance", - unbonding: "Option<(Balance, BlockNumber)>", - }, - PoolId: { - _enum: { - LoansIncentive: "CurrencyId", - DexIncentive: "CurrencyId", - HomaIncentive: "Null", - DexSaving: "CurrencyId", - HomaValidatorAllowance: "AccountId", - }, - }, - PoolIdV0: { - _enum: { - LoansIncentive: "CurrencyId", - DexIncentive: "CurrencyId", - HomaIncentive: "Null", - DexSaving: "CurrencyId", - HomaValidatorAllowance: "AccountId", - }, - }, - Position: { - collateral: "Balance", - debit: "Balance", - }, - CID: "Vec", - Attributes: "BTreeMap, Vec>", - TokenInfoOf: { - metadata: "CID", - owner: "AccountId", - data: "TokenData", - }, - Properties: { - _set: { - _bitLength: 8, - Transferable: 1, - Burnable: 2, - Mintable: 4, - ClassPropertiesMutable: 8, - }, - }, - ClassData: { - deposit: "Balance", - properties: "Properties", - attributes: "Attributes", - }, - TokenData: { - deposit: "Balance", - attributes: "Attributes", - }, - TokenId: "u64", - TokenIdOf: "TokenId", - NFTClassId: "u32", - ClassIdOf: "ClassId", - NFTBalance: "u128", - NFTBalanceOf: "NFTBalance", - ClassInfoOf: { - metadata: "CID", - totalIssuance: "TokenId", - owner: "AccountId", - data: "ClassData", - }, - NomineeId: "AccountId", - HomaUnlockChunk: { - value: "Balance", - era: "EraIndex", - }, - BondingLedger: { - total: "Balance", - active: "Balance", - unlocking: "Vec", - }, - OracleKey: "CurrencyId", - AsOriginId: "AuthoritysOriginId", - ProxyType: { - _enum: [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan", - ], - }, - AtLeast64BitUnsigned: "u128", - StableAssetPoolId: "u32", - RelayChainBlockNumberOf: "RelayChainBlockNumber", - SubAccountStatus: { - bonded: "Balance", - available: "Balance", - unbonding: "Vec<(EraIndex,Balance)>", - mockRewardRate: "Rate", - }, - Params: { - targetMaxFreeUnbondedRatio: "Ratio", - targetMinFreeUnbondedRatio: "Ratio", - targetUnbondingToFreeRatio: "Ratio", - unbondingToFreeAdjustment: "Ratio", - baseFeeRate: "Rate", - }, - StakingPoolPhase: { - _enum: [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished", - ], - }, - Ledger: { - bonded: "Balance", - unbondingToFree: "Balance", - freePool: "Balance", - toUnbondNextEra: "(Balance, Balance)", - }, - ChangeRate: { - _enum: { - NoChange: "Null", - NewValue: "Rate", - }, - }, - ChangeRatio: { - _enum: { - NoChange: "Null", - NewValue: "Ratio", - }, - }, - BalanceInfo: { - amount: "Balance", - }, - PolkadotAccountId: "AccountId", - PolkadotAccountIdOf: "PolkadotAccountId", - ExchangeRate: "FixedU128", - Rate: "FixedU128", - Ratio: "FixedU128", - PublicKey: "[u8; 20]", - DestAddress: "Vec", - PoolTokenIndex: "u32", - AssetId: "CurrencyId", - Keys: "SessionKeys1", - Address: "GenericMultiAddress", - LookupSource: "GenericMultiAddress", - MultiLocation: "MultiLocationV0", - MultiAsset: "MultiAssetV0", - Xcm: "XcmV0", - XcmOrder: "XcmOrderV0", - XcmError: "XcmErrorV0", - Response: "ResponseV0", + TimestampedValueOf: "TimestampedValue", + OrderedSet: "Vec", + OrmlAccountData: { + free: "Balance", + reserved: "Balance", + frozen: "Balance", }, - }, - { - minmax: [1010, 1013], - types: { - CallOf: "Call", - DispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - ScheduleTaskIndex: "u32", - DelayedOrigin: { - delay: "BlockNumber", - origin: "PalletsOrigin", - }, - AuthorityOrigin: "DelayedOrigin", - StorageValue: "Vec", - GraduallyUpdate: { - key: "StorageKey", - targetValue: "StorageValue", - perBlock: "StorageValue", - }, - StorageKeyBytes: "Vec", - StorageValueBytes: "Vec", - RpcDataProviderId: "Text", - DataProviderId: "u8", - TimestampedValue: { - value: "OracleValue", - timestamp: "Moment", - }, - TimestampedValueOf: "TimestampedValue", - OrderedSet: "Vec", - OrmlAccountData: { - free: "Balance", - reserved: "Balance", - frozen: "Balance", - }, - OrmlBalanceLock: { - amount: "Balance", - id: "LockIdentifier", - }, - AuctionInfo: { - bid: "Option<(AccountId, Balance)>", - start: "BlockNumber", - end: "Option", - }, - DelayedDispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - DispatchId: "u32", - Price: "FixedU128", - OrmlVestingSchedule: { - start: "BlockNumber", - period: "BlockNumber", - periodCount: "u32", - perPeriod: "Compact", - }, - VestingScheduleOf: "OrmlVestingSchedule", - OrmlCurrencyId: "CurrencyId", - PoolInfo: { - totalShares: "Share", - rewards: "BTreeMap", - }, - CompactBalance: "Compact", - PoolInfoV0: { - totalShares: "Compact", - totalRewards: "CompactBalance", - totalWithdrawnRewards: "CompactBalance", - }, - Share: "u128", - OracleValue: "Price", - Amount: "i128", - AmountOf: "Amount", - AuctionId: "u32", - AuctionIdOf: "AuctionId", - TokenSymbol: { - _enum: { - ACA: 0, - AUSD: 1, - DOT: 2, - LDOT: 3, - RENBTC: 20, - CASH: 21, - KAR: 128, - KUSD: 129, - KSM: 130, - LKSM: 131, - BNC: 168, - VSKSM: 169, - }, - }, - DexShare: { - _enum: { - Token: "TokenSymbol", - Erc20: "EvmAddress", - }, - }, - CurrencyId: { - _enum: { - Token: "TokenSymbol", - DEXShare: "(DexShare, DexShare)", - ERC20: "EvmAddress", - StableAssetPoolToken: "StableAssetPoolId", - }, - }, - CurrencyIdOf: "CurrencyId", - AirDropCurrencyId: { - _enum: ["KAR", "ACA"], - }, - AuthoritysOriginId: { - _enum: [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve", - ], - }, - AcalaDataProviderId: { - _enum: ["Aggregated", "Acala", "Band"], - }, - TradingPair: "(CurrencyId, CurrencyId)", - ChainBridgeChainId: "u8", - PalletBalanceOf: "Balance", - CollateralAuctionItem: { - refundRecipient: "AccountId", - currencyId: "CurrencyId", - initialAmount: "Compact", - amount: "Compact", - target: "Compact", - startTime: "BlockNumber", - }, - DebitAuctionItem: { - initialAmount: "Compact", - amount: "Compact", - fix: "Compact", - startTime: "BlockNumber", - }, - SurplusAuctionItem: { - amount: "Compact", - startTime: "BlockNumber", - }, - LiquidationStrategy: { - _enum: ["Auction", "Exchange"], - }, - OptionRate: "Option", - OptionRatio: "Option", - ChangeOptionRate: { - _enum: { - NoChange: "Null", - NewValue: "OptionRate", - }, - }, - ChangeOptionRatio: { - _enum: { - NoChange: "Null", - NewValue: "OptionRatio", - }, - }, - ChangeBalance: { - _enum: { - NoChange: "Null", - NewValue: "Balance", - }, - }, - RiskManagementParams: { - maximumTotalDebitValue: "Balance", - interestRatePerSec: "Option", - liquidationRatio: "Option", - liquidationPenalty: "Option", - requiredCollateralRatio: "Option", - }, - CandidateInfoOf: "CandidateInfo", - TradingPairProvisionParameters: { - minContribution: "(Balance, Balance)", - targetProvision: "(Balance, Balance)", - accumulatedProvision: "(Balance, Balance)", - notBefore: "BlockNumber", - }, - BalanceWrapper: { - amount: "Balance", - }, - BalanceRequest: { - amount: "Balance", - }, - TradingPairStatus: { - _enum: { - NotEnabled: "Null", - Provisioning: "TradingPairProvisionParameters", - Enabled: "Null", - }, - }, - Erc20Info: { - address: "EvmAddress", - name: "Vec", - symbol: "Vec", - decimals: "u8", - }, - EstimateResourcesResponse: { - gas: "u256", - storage: "i32", - weightFee: "u256", - }, - EvmAccountInfo: { - nonce: "Index", - contractInfo: "Option", - }, - CodeInfo: { - codeSize: "u32", - refCount: "u32", - }, - EvmContractInfo: { - codeHash: "H256", - maintainer: "H160", - deployed: "bool", - }, - EvmAddress: "H160", - CallRequest: { - from: "Option", - to: "Option", - gasLimit: "Option", - storageLimit: "Option", - value: "Option", - data: "Option", - }, - RedeemStrategy: { - _enum: { - Immediately: "Null", - Target: "EraIndex", - WaitForUnbonding: "Null", - }, - }, - RelaychainAccountId: "AccountId", - SlashInfo: { - validator: "RelaychainAccountId", - relaychainTokenAmount: "Balance", - }, - ValidatorBacking: { - totalInsurance: "Balance", - isFrozen: "bool", - }, - Guarantee: { - total: "Balance", - bonded: "Balance", - unbonding: "Option<(Balance, BlockNumber)>", - }, - PoolId: { - _enum: { - Loans: "CurrencyId", - Dex: "CurrencyId", - }, - }, - PoolIdV0: { - _enum: { - LoansIncentive: "CurrencyId", - DexIncentive: "CurrencyId", - HomaIncentive: "Null", - DexSaving: "CurrencyId", - HomaValidatorAllowance: "AccountId", - }, - }, - Position: { - collateral: "Balance", - debit: "Balance", - }, - CID: "Vec", - Attributes: "BTreeMap, Vec>", - TokenInfoOf: { - metadata: "CID", - owner: "AccountId", - data: "TokenData", - }, - Properties: { - _set: { - _bitLength: 8, - Transferable: 1, - Burnable: 2, - Mintable: 4, - ClassPropertiesMutable: 8, - }, - }, - ClassData: { - deposit: "Balance", - properties: "Properties", - attributes: "Attributes", - }, - TokenData: { - deposit: "Balance", - attributes: "Attributes", - }, - TokenId: "u64", - TokenIdOf: "TokenId", - NFTClassId: "u32", - ClassIdOf: "ClassId", - NFTBalance: "u128", - NFTBalanceOf: "NFTBalance", - ClassInfoOf: { - metadata: "CID", - totalIssuance: "TokenId", - owner: "AccountId", - data: "ClassData", - }, - NomineeId: "AccountId", - HomaUnlockChunk: { - value: "Balance", - era: "EraIndex", - }, - BondingLedger: { - total: "Balance", - active: "Balance", - unlocking: "Vec", - }, - OracleKey: "CurrencyId", - AsOriginId: "AuthoritysOriginId", - ProxyType: { - _enum: [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan", - ], - }, - AtLeast64BitUnsigned: "u128", - StableAssetPoolId: "u32", - RelayChainBlockNumberOf: "RelayChainBlockNumber", - SubAccountStatus: { - bonded: "Balance", - available: "Balance", - unbonding: "Vec<(EraIndex,Balance)>", - mockRewardRate: "Rate", - }, - Params: { - targetMaxFreeUnbondedRatio: "Ratio", - targetMinFreeUnbondedRatio: "Ratio", - targetUnbondingToFreeRatio: "Ratio", - unbondingToFreeAdjustment: "Ratio", - baseFeeRate: "Rate", - }, - StakingPoolPhase: { - _enum: [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished", - ], - }, - Ledger: { - bonded: "Balance", - unbondingToFree: "Balance", - freePool: "Balance", - toUnbondNextEra: "(Balance, Balance)", - }, - ChangeRate: { - _enum: { - NoChange: "Null", - NewValue: "Rate", - }, - }, - ChangeRatio: { - _enum: { - NoChange: "Null", - NewValue: "Ratio", - }, - }, - BalanceInfo: { - amount: "Balance", - }, - PolkadotAccountId: "AccountId", - PolkadotAccountIdOf: "PolkadotAccountId", - ExchangeRate: "FixedU128", - Rate: "FixedU128", - Ratio: "FixedU128", - PublicKey: "[u8; 20]", - DestAddress: "Vec", - PoolTokenIndex: "u32", - AssetId: "CurrencyId", - Keys: "SessionKeys1", - Address: "GenericMultiAddress", - LookupSource: "GenericMultiAddress", - MultiLocation: "MultiLocationV0", - MultiAsset: "MultiAssetV0", - Xcm: "XcmV0", - XcmOrder: "XcmOrderV0", - XcmError: "XcmErrorV0", - Response: "ResponseV0", + OrmlBalanceLock: { + amount: "Balance", + id: "LockIdentifier", }, - }, - { - minmax: [1014, 1018], - types: { - CallOf: "Call", - DispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - ScheduleTaskIndex: "u32", - DelayedOrigin: { - delay: "BlockNumber", - origin: "PalletsOrigin", - }, - AuthorityOrigin: "DelayedOrigin", - StorageValue: "Vec", - GraduallyUpdate: { - key: "StorageKey", - targetValue: "StorageValue", - perBlock: "StorageValue", - }, - StorageKeyBytes: "Vec", - StorageValueBytes: "Vec", - RpcDataProviderId: "Text", - DataProviderId: "u8", - TimestampedValue: { - value: "OracleValue", - timestamp: "Moment", - }, - TimestampedValueOf: "TimestampedValue", - OrderedSet: "Vec", - OrmlAccountData: { - free: "Balance", - reserved: "Balance", - frozen: "Balance", - }, - OrmlBalanceLock: { - amount: "Balance", - id: "LockIdentifier", - }, - AuctionInfo: { - bid: "Option<(AccountId, Balance)>", - start: "BlockNumber", - end: "Option", - }, - DelayedDispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - DispatchId: "u32", - Price: "FixedU128", - OrmlVestingSchedule: { - start: "BlockNumber", - period: "BlockNumber", - periodCount: "u32", - perPeriod: "Compact", - }, - VestingScheduleOf: "OrmlVestingSchedule", - OrmlCurrencyId: "CurrencyId", - PoolInfo: { - totalShares: "Share", - rewards: "BTreeMap", - }, - CompactBalance: "Compact", - PoolInfoV0: { - totalShares: "Compact", - totalRewards: "CompactBalance", - totalWithdrawnRewards: "CompactBalance", - }, - Share: "u128", - OracleValue: "Price", - Amount: "i128", - AmountOf: "Amount", - AuctionId: "u32", - AuctionIdOf: "AuctionId", - TokenSymbol: { - _enum: { - ACA: 0, - AUSD: 1, - DOT: 2, - LDOT: 3, - RENBTC: 20, - CASH: 21, - KAR: 128, - KUSD: 129, - KSM: 130, - LKSM: 131, - BNC: 168, - VSKSM: 169, - }, - }, - DexShare: { - _enum: { - Token: "TokenSymbol", - Erc20: "EvmAddress", - }, - }, - CurrencyId: { - _enum: { - Token: "TokenSymbol", - DEXShare: "(DexShare, DexShare)", - ERC20: "EvmAddress", - StableAssetPoolToken: "StableAssetPoolId", - }, - }, - CurrencyIdOf: "CurrencyId", - AirDropCurrencyId: { - _enum: ["KAR", "ACA"], - }, - AuthoritysOriginId: { - _enum: [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve", - ], - }, - AcalaDataProviderId: { - _enum: ["Aggregated", "Acala", "Band"], - }, - TradingPair: "(CurrencyId, CurrencyId)", - ChainBridgeChainId: "u8", - PalletBalanceOf: "Balance", - CollateralAuctionItem: { - refundRecipient: "AccountId", - currencyId: "CurrencyId", - initialAmount: "Compact", - amount: "Compact", - target: "Compact", - startTime: "BlockNumber", - }, - DebitAuctionItem: { - initialAmount: "Compact", - amount: "Compact", - fix: "Compact", - startTime: "BlockNumber", - }, - SurplusAuctionItem: { - amount: "Compact", - startTime: "BlockNumber", - }, - LiquidationStrategy: { - _enum: ["Auction", "Exchange"], - }, - OptionRate: "Option", - OptionRatio: "Option", - ChangeOptionRate: { - _enum: { - NoChange: "Null", - NewValue: "OptionRate", - }, - }, - ChangeOptionRatio: { - _enum: { - NoChange: "Null", - NewValue: "OptionRatio", - }, - }, - ChangeBalance: { - _enum: { - NoChange: "Null", - NewValue: "Balance", - }, - }, - RiskManagementParams: { - maximumTotalDebitValue: "Balance", - interestRatePerSec: "Option", - liquidationRatio: "Option", - liquidationPenalty: "Option", - requiredCollateralRatio: "Option", - }, - CandidateInfoOf: "CandidateInfo", - TradingPairProvisionParameters: { - minContribution: "(Balance, Balance)", - targetProvision: "(Balance, Balance)", - accumulatedProvision: "(Balance, Balance)", - notBefore: "BlockNumber", - }, - BalanceWrapper: { - amount: "Balance", - }, - BalanceRequest: { - amount: "Balance", - }, - TradingPairStatus: { - _enum: { - NotEnabled: "Null", - Provisioning: "TradingPairProvisionParameters", - Enabled: "Null", - }, - }, - Erc20Info: { - address: "EvmAddress", - name: "Vec", - symbol: "Vec", - decimals: "u8", - }, - EstimateResourcesResponse: { - gas: "u256", - storage: "i32", - weightFee: "u256", - }, - EvmAccountInfo: { - nonce: "Index", - contractInfo: "Option", - }, - CodeInfo: { - codeSize: "u32", - refCount: "u32", - }, - EvmContractInfo: { - codeHash: "H256", - maintainer: "H160", - deployed: "bool", - }, - EvmAddress: "H160", - CallRequest: { - from: "Option", - to: "Option", - gasLimit: "Option", - storageLimit: "Option", - value: "Option", - data: "Option", - }, - RedeemStrategy: { - _enum: { - Immediately: "Null", - Target: "EraIndex", - WaitForUnbonding: "Null", - }, - }, - RelaychainAccountId: "AccountId", - SlashInfo: { - validator: "RelaychainAccountId", - relaychainTokenAmount: "Balance", - }, - ValidatorBacking: { - totalInsurance: "Balance", - isFrozen: "bool", - }, - Guarantee: { - total: "Balance", - bonded: "Balance", - unbonding: "Option<(Balance, BlockNumber)>", - }, - PoolId: { - _enum: { - Loans: "CurrencyId", - Dex: "CurrencyId", - }, - }, - PoolIdV0: { - _enum: { - LoansIncentive: "CurrencyId", - DexIncentive: "CurrencyId", - HomaIncentive: "Null", - DexSaving: "CurrencyId", - HomaValidatorAllowance: "AccountId", - }, - }, - Position: { - collateral: "Balance", - debit: "Balance", - }, - CID: "Vec", - Attributes: "BTreeMap, Vec>", - TokenInfoOf: { - metadata: "CID", - owner: "AccountId", - data: "TokenData", - }, - Properties: { - _set: { - _bitLength: 8, - Transferable: 1, - Burnable: 2, - Mintable: 4, - ClassPropertiesMutable: 8, - }, - }, - ClassData: { - deposit: "Balance", - properties: "Properties", - attributes: "Attributes", - }, - TokenData: { - deposit: "Balance", - attributes: "Attributes", - }, - TokenId: "u64", - TokenIdOf: "TokenId", - NFTClassId: "u32", - ClassIdOf: "ClassId", - NFTBalance: "u128", - NFTBalanceOf: "NFTBalance", - ClassInfoOf: { - metadata: "CID", - totalIssuance: "TokenId", - owner: "AccountId", - data: "ClassData", - }, - NomineeId: "AccountId", - HomaUnlockChunk: { - value: "Balance", - era: "EraIndex", - }, - BondingLedger: { - total: "Balance", - active: "Balance", - unlocking: "Vec", - }, - OracleKey: "CurrencyId", - AsOriginId: "AuthoritysOriginId", - ProxyType: { - _enum: [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan", - ], - }, - AtLeast64BitUnsigned: "u128", - StableAssetPoolId: "u32", - RelayChainBlockNumberOf: "RelayChainBlockNumber", - SubAccountStatus: { - bonded: "Balance", - available: "Balance", - unbonding: "Vec<(EraIndex,Balance)>", - mockRewardRate: "Rate", - }, - Params: { - targetMaxFreeUnbondedRatio: "Ratio", - targetMinFreeUnbondedRatio: "Ratio", - targetUnbondingToFreeRatio: "Ratio", - unbondingToFreeAdjustment: "Ratio", - baseFeeRate: "Rate", - }, - StakingPoolPhase: { - _enum: [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished", - ], - }, - Ledger: { - bonded: "Balance", - unbondingToFree: "Balance", - freePool: "Balance", - toUnbondNextEra: "(Balance, Balance)", - }, - ChangeRate: { - _enum: { - NoChange: "Null", - NewValue: "Rate", - }, - }, - ChangeRatio: { - _enum: { - NoChange: "Null", - NewValue: "Ratio", - }, - }, - BalanceInfo: { - amount: "Balance", - }, - PolkadotAccountId: "AccountId", - PolkadotAccountIdOf: "PolkadotAccountId", - ExchangeRate: "FixedU128", - Rate: "FixedU128", - Ratio: "FixedU128", - PublicKey: "[u8; 20]", - DestAddress: "Vec", - PoolTokenIndex: "u32", - AssetId: "CurrencyId", - Keys: "SessionKeys1", - Address: "GenericMultiAddress", - LookupSource: "GenericMultiAddress", - MultiLocation: "MultiLocationV1", - MultiAsset: "MultiAssetV1", - Xcm: "XcmV1", - XcmOrder: "XcmOrderV1", - XcmError: "XcmErrorV1", - Response: "ResponseV1", + AuctionInfo: { + bid: "Option<(AccountId, Balance)>", + start: "BlockNumber", + end: "Option", }, - }, - { - minmax: [1019, null], - types: { - CallOf: "Call", - DispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - ScheduleTaskIndex: "u32", - DelayedOrigin: { - delay: "BlockNumber", - origin: "PalletsOrigin", - }, - AuthorityOrigin: "DelayedOrigin", - StorageValue: "Vec", - GraduallyUpdate: { - key: "StorageKey", - targetValue: "StorageValue", - perBlock: "StorageValue", - }, - StorageKeyBytes: "Vec", - StorageValueBytes: "Vec", - RpcDataProviderId: "Text", - DataProviderId: "u8", - TimestampedValue: { - value: "OracleValue", - timestamp: "Moment", - }, - TimestampedValueOf: "TimestampedValue", - OrderedSet: "Vec", - OrmlAccountData: { - free: "Balance", - reserved: "Balance", - frozen: "Balance", - }, - OrmlBalanceLock: { - amount: "Balance", - id: "LockIdentifier", - }, - AuctionInfo: { - bid: "Option<(AccountId, Balance)>", - start: "BlockNumber", - end: "Option", - }, - DelayedDispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - DispatchId: "u32", - Price: "FixedU128", - OrmlVestingSchedule: { - start: "BlockNumber", - period: "BlockNumber", - periodCount: "u32", - perPeriod: "Compact", - }, - VestingScheduleOf: "OrmlVestingSchedule", - OrmlCurrencyId: "CurrencyId", - PoolInfo: { - totalShares: "Share", - rewards: "BTreeMap", - }, - CompactBalance: "Compact", - PoolInfoV0: { - totalShares: "Compact", - totalRewards: "CompactBalance", - totalWithdrawnRewards: "CompactBalance", - }, - Share: "u128", - OracleValue: "Price", - Amount: "i128", - AmountOf: "Amount", - AuctionId: "u32", - AuctionIdOf: "AuctionId", - TokenSymbol: { - _enum: { - ACA: 0, - AUSD: 1, - DOT: 2, - LDOT: 3, - RENBTC: 20, - CASH: 21, - KAR: 128, - KUSD: 129, - KSM: 130, - LKSM: 131, - BNC: 168, - VSKSM: 169, - }, - }, - DexShare: { - _enum: { - Token: "TokenSymbol", - Erc20: "EvmAddress", - }, - }, - CurrencyId: { - _enum: { - Token: "TokenSymbol", - DEXShare: "(DexShare, DexShare)", - ERC20: "EvmAddress", - StableAssetPoolToken: "StableAssetPoolId", - }, - }, - CurrencyIdOf: "CurrencyId", - AirDropCurrencyId: { - _enum: ["KAR", "ACA"], - }, - AuthoritysOriginId: { - _enum: [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve", - ], - }, - AcalaDataProviderId: { - _enum: ["Aggregated", "Acala", "Band"], - }, - TradingPair: "(CurrencyId, CurrencyId)", - ChainBridgeChainId: "u8", - PalletBalanceOf: "Balance", - CollateralAuctionItem: { - refundRecipient: "AccountId", - currencyId: "CurrencyId", - initialAmount: "Compact", - amount: "Compact", - target: "Compact", - startTime: "BlockNumber", - }, - DebitAuctionItem: { - initialAmount: "Compact", - amount: "Compact", - fix: "Compact", - startTime: "BlockNumber", - }, - SurplusAuctionItem: { - amount: "Compact", - startTime: "BlockNumber", - }, - LiquidationStrategy: { - _enum: ["Auction", "Exchange"], - }, - OptionRate: "Option", - OptionRatio: "Option", - ChangeOptionRate: { - _enum: { - NoChange: "Null", - NewValue: "OptionRate", - }, - }, - ChangeOptionRatio: { - _enum: { - NoChange: "Null", - NewValue: "OptionRatio", - }, - }, - ChangeBalance: { - _enum: { - NoChange: "Null", - NewValue: "Balance", - }, - }, - RiskManagementParams: { - maximumTotalDebitValue: "Balance", - interestRatePerSec: "Option", - liquidationRatio: "Option", - liquidationPenalty: "Option", - requiredCollateralRatio: "Option", - }, - CandidateInfoOf: "CandidateInfo", - TradingPairProvisionParameters: { - minContribution: "(Balance, Balance)", - targetProvision: "(Balance, Balance)", - accumulatedProvision: "(Balance, Balance)", - notBefore: "BlockNumber", - }, - BalanceWrapper: { - amount: "Balance", - }, - BalanceRequest: { - amount: "Balance", - }, - TradingPairStatus: { - _enum: { - NotEnabled: "Null", - Provisioning: "TradingPairProvisionParameters", - Enabled: "Null", - }, - }, - Erc20Info: { - address: "EvmAddress", - name: "Vec", - symbol: "Vec", - decimals: "u8", - }, - EstimateResourcesResponse: { - gas: "u256", - storage: "i32", - weightFee: "u256", - }, - EvmAccountInfo: { - nonce: "Index", - contractInfo: "Option", - }, - CodeInfo: { - codeSize: "u32", - refCount: "u32", - }, - EvmContractInfo: { - codeHash: "H256", - maintainer: "H160", - deployed: "bool", - }, - EvmAddress: "H160", - CallRequest: { - from: "Option", - to: "Option", - gasLimit: "Option", - storageLimit: "Option", - value: "Option", - data: "Option", - }, - RedeemStrategy: { - _enum: { - Immediately: "Null", - Target: "EraIndex", - WaitForUnbonding: "Null", - }, - }, - RelaychainAccountId: "AccountId", - SlashInfo: { - validator: "RelaychainAccountId", - relaychainTokenAmount: "Balance", - }, - ValidatorBacking: { - totalInsurance: "Balance", - isFrozen: "bool", - }, - Guarantee: { - total: "Balance", - bonded: "Balance", - unbonding: "Option<(Balance, BlockNumber)>", - }, - PoolId: { - _enum: { - Loans: "CurrencyId", - Dex: "CurrencyId", - }, - }, - PoolIdV0: { - _enum: { - LoansIncentive: "CurrencyId", - DexIncentive: "CurrencyId", - HomaIncentive: "Null", - DexSaving: "CurrencyId", - HomaValidatorAllowance: "AccountId", - }, - }, - Position: { - collateral: "Balance", - debit: "Balance", - }, - CID: "Vec", - Attributes: "BTreeMap, Vec>", - TokenInfoOf: { - metadata: "CID", - owner: "AccountId", - data: "TokenData", - }, - Properties: { - _set: { - _bitLength: 8, - Transferable: 1, - Burnable: 2, - Mintable: 4, - ClassPropertiesMutable: 8, - }, - }, - ClassData: { - deposit: "Balance", - properties: "Properties", - attributes: "Attributes", - }, - TokenData: { - deposit: "Balance", - attributes: "Attributes", - }, - TokenId: "u64", - TokenIdOf: "TokenId", - NFTClassId: "u32", - ClassIdOf: "ClassId", - NFTBalance: "u128", - NFTBalanceOf: "NFTBalance", - ClassInfoOf: { - metadata: "CID", - totalIssuance: "TokenId", - owner: "AccountId", - data: "ClassData", - }, - NomineeId: "AccountId", - HomaUnlockChunk: { - value: "Balance", - era: "EraIndex", - }, - BondingLedger: { - total: "Balance", - active: "Balance", - unlocking: "Vec", - }, - OracleKey: "CurrencyId", - AsOriginId: "AuthoritysOriginId", - ProxyType: { - _enum: [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan", - ], - }, - AtLeast64BitUnsigned: "u128", - StableAssetPoolId: "u32", - RelayChainBlockNumberOf: "RelayChainBlockNumber", - SubAccountStatus: { - bonded: "Balance", - available: "Balance", - unbonding: "Vec<(EraIndex,Balance)>", - mockRewardRate: "Rate", - }, - Params: { - targetMaxFreeUnbondedRatio: "Ratio", - targetMinFreeUnbondedRatio: "Ratio", - targetUnbondingToFreeRatio: "Ratio", - unbondingToFreeAdjustment: "Ratio", - baseFeeRate: "Rate", - }, - StakingPoolPhase: { - _enum: [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished", - ], - }, - Ledger: { - bonded: "Balance", - unbondingToFree: "Balance", - freePool: "Balance", - toUnbondNextEra: "(Balance, Balance)", - }, - ChangeRate: { - _enum: { - NoChange: "Null", - NewValue: "Rate", - }, - }, - ChangeRatio: { - _enum: { - NoChange: "Null", - NewValue: "Ratio", - }, - }, - BalanceInfo: { - amount: "Balance", - }, - PolkadotAccountId: "AccountId", - PolkadotAccountIdOf: "PolkadotAccountId", - ExchangeRate: "FixedU128", - Rate: "FixedU128", - Ratio: "FixedU128", - PublicKey: "[u8; 20]", - DestAddress: "Vec", - PoolTokenIndex: "u32", - AssetId: "CurrencyId", - Keys: "SessionKeys1", - Address: "GenericMultiAddress", - LookupSource: "GenericMultiAddress", + DelayedDispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, }, - }, - ], - alias: { - stakingPool: { - Phase: "StakingPoolPhase", - }, - nomineesElection: { - UnlockChunk: "HomaUnlockChunk", - }, - evm: { - AccountInfo: "EvmAccountInfo", - ContractInfo: "EvmContractInfo", - }, - rewards: { + DispatchId: "u32", + Price: "FixedU128", + OrmlVestingSchedule: { + start: "BlockNumber", + period: "BlockNumber", + periodCount: "u32", + perPeriod: "Compact", + }, + VestingScheduleOf: "OrmlVestingSchedule", OrmlCurrencyId: "CurrencyId", - }, - oracle: { - DataProviderId: "AcalaDataProviderId", - }, - chainBridge: { - ChainId: "ChainBridgeChainId", - }, - tokens: { - AccountData: "OrmlAccountData", - BalanceLock: "OrmlBalanceLock", - }, - }, - }, - mandala: { - rpc: { - oracle: { - getValue: { - description: "Retrieves the oracle value for a given key.", - params: [ - { - name: "providerId", - type: "RpcDataProviderId", - }, - { - name: "key", - type: "OracleKey", - }, - { - name: "at", - type: "BlockHash", - isHistoric: true, - isOptional: true, - }, - ], - type: "Option", - isSubscription: false, - jsonrpc: "oracle_getValue", - method: "getValue", - section: "oracle", - }, - getAllValues: { - description: "Retrieves all oracle values.", - params: [ - { - name: "providerId", - type: "RpcDataProviderId", - }, - { - name: "at", - type: "BlockHash", - isHistoric: true, - isOptional: true, - }, - ], - type: "Vec<(OracleKey, Option)>", - isSubscription: false, - jsonrpc: "oracle_getAllValues", - method: "getAllValues", - section: "oracle", + PoolInfo: { + totalShares: "Share", + rewards: "BTreeMap", }, - }, - dex: { - getSupplyAmount: { - description: "Get supply amount", - params: [ - { - name: "supplyCurrencyId", - type: "CurrencyId", - }, - { - name: "targetCurrencyId", - type: "CurrencyId", - }, - { - name: "targetCurrencyAmount", - type: "BalanceRequest", - }, - ], - type: "BalanceWrapper", - isSubscription: false, - jsonrpc: "dex_getSupplyAmount", - method: "getSupplyAmount", - section: "dex", - }, - getTargetAmount: { - description: "Get target amount", - params: [ - { - name: "supplyCurrencyId", - type: "CurrencyId", - }, - { - name: "targetCurrencyId", - type: "CurrencyId", - }, - { - name: "supplyCurrencyAmount", - type: "BalanceRequest", - }, - ], - type: "BalanceWrapper", - isSubscription: false, - jsonrpc: "dex_getTargetAmount", - method: "getTargetAmount", - section: "dex", + CompactBalance: "Compact", + PoolInfoV0: { + totalShares: "Compact", + totalRewards: "CompactBalance", + totalWithdrawnRewards: "CompactBalance", }, - }, - evm: { - call: { - description: "eth call", - params: [ - { - name: "data", - type: "CallRequest", - }, - { - name: "at", - type: "BlockHash", - isHistoric: true, - isOptional: true, - }, + Share: "u128", + OracleValue: "Price", + Amount: "i128", + AmountOf: "Amount", + AuctionId: "u32", + AuctionIdOf: "AuctionId", + TokenSymbol: { + _enum: ["ACA", "AUSD", "DOT", "XBTC", "LDOT", "RENBTC"], + }, + DexShare: { + _enum: { + Token: "TokenSymbol", + Erc20: "EvmAddress", + }, + }, + CurrencyId: { + _enum: { + Token: "TokenSymbol", + DEXShare: "(DexShare, DexShare)", + ERC20: "EvmAddress", + StableAssetPoolToken: "StableAssetPoolId", + }, + }, + CurrencyIdOf: "CurrencyId", + AirDropCurrencyId: { + _enum: ["KAR", "ACA"], + }, + AuthoritysOriginId: { + _enum: [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve", ], - type: "Raw", - isSubscription: false, - jsonrpc: "evm_call", - method: "call", - section: "evm", - }, - estimateResources: { - description: "eth estimateResources", - params: [ - { - name: "from", - type: "H160", - }, - { - name: "unsignedExtrinsic", - type: "Bytes", - }, - { - name: "at", - type: "BlockHash", - isHistoric: true, - isOptional: true, - }, + }, + AcalaDataProviderId: { + _enum: ["Aggregated", "Acala", "Band"], + }, + TradingPair: "(CurrencyId, CurrencyId)", + ChainBridgeChainId: "u8", + PalletBalanceOf: "Balance", + CollateralAuctionItem: { + refundRecipient: "AccountId", + currencyId: "CurrencyId", + initialAmount: "Compact", + amount: "Compact", + target: "Compact", + startTime: "BlockNumber", + }, + DebitAuctionItem: { + initialAmount: "Compact", + amount: "Compact", + fix: "Compact", + startTime: "BlockNumber", + }, + SurplusAuctionItem: { + amount: "Compact", + startTime: "BlockNumber", + }, + LiquidationStrategy: { + _enum: ["Auction", "Exchange"], + }, + OptionRate: "Option", + OptionRatio: "Option", + ChangeOptionRate: { + _enum: { + NoChange: "Null", + NewValue: "OptionRate", + }, + }, + ChangeOptionRatio: { + _enum: { + NoChange: "Null", + NewValue: "OptionRatio", + }, + }, + ChangeBalance: { + _enum: { + NoChange: "Null", + NewValue: "Balance", + }, + }, + RiskManagementParams: { + maximumTotalDebitValue: "Balance", + interestRatePerSec: "Option", + liquidationRatio: "Option", + liquidationPenalty: "Option", + requiredCollateralRatio: "Option", + }, + CandidateInfoOf: "CandidateInfo", + TradingPairProvisionParameters: { + minContribution: "(Balance, Balance)", + targetProvision: "(Balance, Balance)", + accumulatedProvision: "(Balance, Balance)", + notBefore: "BlockNumber", + }, + BalanceWrapper: { + amount: "Balance", + }, + BalanceRequest: { + amount: "Balance", + }, + TradingPairStatus: { + _enum: { + NotEnabled: "Null", + Provisioning: "TradingPairProvisionParameters", + Enabled: "Null", + }, + }, + Erc20Info: { + address: "EvmAddress", + name: "Vec", + symbol: "Vec", + decimals: "u8", + }, + EstimateResourcesResponse: { + gas: "u256", + storage: "i32", + weightFee: "u256", + }, + EvmAccountInfo: { + nonce: "Index", + contractInfo: "Option", + }, + CodeInfo: { + codeSize: "u32", + refCount: "u32", + }, + EvmContractInfo: { + codeHash: "H256", + maintainer: "H160", + deployed: "bool", + }, + EvmAddress: "H160", + CallRequest: { + from: "Option", + to: "Option", + gasLimit: "Option", + storageLimit: "Option", + value: "Option", + data: "Option", + }, + RedeemStrategy: { + _enum: { + Immediately: "Null", + Target: "EraIndex", + WaitForUnbonding: "Null", + }, + }, + RelaychainAccountId: "AccountId", + SlashInfo: { + validator: "RelaychainAccountId", + relaychainTokenAmount: "Balance", + }, + ValidatorBacking: { + totalInsurance: "Balance", + isFrozen: "bool", + }, + Guarantee: { + total: "Balance", + bonded: "Balance", + unbonding: "Option<(Balance, BlockNumber)>", + }, + PoolId: { + _enum: { + Loans: "CurrencyId", + DexIncentive: "CurrencyId", + DexSaving: "CurrencyId", + Homa: "Null", + }, + }, + PoolIdV0: { + _enum: { + LoansIncentive: "CurrencyId", + DexIncentive: "CurrencyId", + HomaIncentive: "Null", + DexSaving: "CurrencyId", + HomaValidatorAllowance: "AccountId", + }, + }, + Position: { + collateral: "Balance", + debit: "Balance", + }, + CID: "Vec", + Attributes: "BTreeMap, Vec>", + TokenInfoOf: { + metadata: "CID", + owner: "AccountId", + data: "TokenData", + }, + Properties: { + _set: { + _bitLength: 8, + Transferable: 1, + Burnable: 2, + Mintable: 4, + ClassPropertiesMutable: 8, + }, + }, + ClassData: { + deposit: "Balance", + properties: "Properties", + attributes: "Attributes", + }, + TokenData: { + deposit: "Balance", + attributes: "Attributes", + }, + TokenId: "u64", + TokenIdOf: "TokenId", + NFTClassId: "u32", + ClassIdOf: "ClassId", + NFTBalance: "u128", + NFTBalanceOf: "NFTBalance", + ClassInfoOf: { + metadata: "CID", + totalIssuance: "TokenId", + owner: "AccountId", + data: "ClassData", + }, + NomineeId: "AccountId", + HomaUnlockChunk: { + value: "Balance", + era: "EraIndex", + }, + BondingLedger: { + total: "Balance", + active: "Balance", + unlocking: "Vec", + }, + OracleKey: "CurrencyId", + AsOriginId: "AuthoritysOriginId", + ProxyType: { + _enum: [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan", ], - type: "EstimateResourcesResponse", - isSubscription: false, - jsonrpc: "evm_estimateResources", - method: "estimateResources", - section: "evm", }, - }, - stakingPool: { - getAvailableUnbonded: { - description: "Get Available Unbonded", - params: [ - { - name: "account", - type: "AccountId", - }, + AtLeast64BitUnsigned: "u128", + StableAssetPoolId: "u32", + RelayChainBlockNumberOf: "RelayChainBlockNumber", + SubAccountStatus: { + bonded: "Balance", + available: "Balance", + unbonding: "Vec<(EraIndex,Balance)>", + mockRewardRate: "Rate", + }, + Params: { + targetMaxFreeUnbondedRatio: "Ratio", + targetMinFreeUnbondedRatio: "Ratio", + targetUnbondingToFreeRatio: "Ratio", + unbondingToFreeAdjustment: "Ratio", + baseFeeRate: "Rate", + }, + StakingPoolPhase: { + _enum: [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished", ], - type: "BalanceInfo", - isSubscription: false, - jsonrpc: "stakingPool_getAvailableUnbonded", - method: "getAvailableUnbonded", - section: "stakingPool", - }, - getLiquidStakingExchangeRate: { - description: "get liquid staking exchange rate", - params: [], - type: "ExchangeRate", - isSubscription: false, - jsonrpc: "stakingPool_getLiquidStakingExchangeRate", - method: "getLiquidStakingExchangeRate", - section: "stakingPool", }, - }, - }, - instances: { - council: ["generalCouncil"], - }, - types: [ - { - minmax: [600, 699], - types: { - CallOf: "Call", - DispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - ScheduleTaskIndex: "u32", - DelayedOrigin: { - delay: "BlockNumber", - origin: "PalletsOrigin", - }, - AuthorityOrigin: "DelayedOrigin", - StorageValue: "Vec", - GraduallyUpdate: { - key: "StorageKey", - targetValue: "StorageValue", - perBlock: "StorageValue", - }, - StorageKeyBytes: "Vec", - StorageValueBytes: "Vec", - RpcDataProviderId: "Text", - DataProviderId: "u8", - TimestampedValue: { - value: "OracleValue", - timestamp: "Moment", - }, - TimestampedValueOf: "TimestampedValue", - OrderedSet: "Vec", - OrmlAccountData: { - free: "Balance", - reserved: "Balance", - frozen: "Balance", - }, - OrmlBalanceLock: { - amount: "Balance", - id: "LockIdentifier", - }, - AuctionInfo: { - bid: "Option<(AccountId, Balance)>", - start: "BlockNumber", - end: "Option", - }, - DelayedDispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - DispatchId: "u32", - Price: "FixedU128", - OrmlVestingSchedule: { - start: "BlockNumber", - period: "BlockNumber", - periodCount: "u32", - perPeriod: "Compact", - }, - VestingScheduleOf: "OrmlVestingSchedule", - OrmlCurrencyId: "CurrencyId", - PoolInfo: { - totalShares: "Share", - rewards: "BTreeMap", - }, - CompactBalance: "Compact", - PoolInfoV0: { - totalShares: "Compact", - totalRewards: "CompactBalance", - totalWithdrawnRewards: "CompactBalance", - }, - Share: "u128", - OracleValue: "Price", - Amount: "i128", - AmountOf: "Amount", - AuctionId: "u32", - AuctionIdOf: "AuctionId", - TokenSymbol: { - _enum: ["ACA", "AUSD", "DOT", "XBTC", "LDOT", "RENBTC"], - }, - DexShare: { - _enum: { - Token: "TokenSymbol", - Erc20: "EvmAddress", - }, - }, - CurrencyId: { - _enum: { - Token: "TokenSymbol", - DEXShare: "(DexShare, DexShare)", - ERC20: "EvmAddress", - StableAssetPoolToken: "StableAssetPoolId", - }, - }, - CurrencyIdOf: "CurrencyId", - AirDropCurrencyId: { - _enum: ["KAR", "ACA"], - }, - AuthoritysOriginId: { - _enum: [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve", - ], - }, - AcalaDataProviderId: { - _enum: ["Aggregated", "Acala", "Band"], - }, - TradingPair: "(CurrencyId, CurrencyId)", - ChainBridgeChainId: "u8", - PalletBalanceOf: "Balance", - CollateralAuctionItem: { - refundRecipient: "AccountId", - currencyId: "CurrencyId", - initialAmount: "Compact", - amount: "Compact", - target: "Compact", - startTime: "BlockNumber", - }, - DebitAuctionItem: { - initialAmount: "Compact", - amount: "Compact", - fix: "Compact", - startTime: "BlockNumber", - }, - SurplusAuctionItem: { - amount: "Compact", - startTime: "BlockNumber", - }, - LiquidationStrategy: { - _enum: ["Auction", "Exchange"], - }, - OptionRate: "Option", - OptionRatio: "Option", - ChangeOptionRate: { - _enum: { - NoChange: "Null", - NewValue: "OptionRate", - }, - }, - ChangeOptionRatio: { - _enum: { - NoChange: "Null", - NewValue: "OptionRatio", - }, - }, - ChangeBalance: { - _enum: { - NoChange: "Null", - NewValue: "Balance", - }, - }, - RiskManagementParams: { - maximumTotalDebitValue: "Balance", - interestRatePerSec: "Option", - liquidationRatio: "Option", - liquidationPenalty: "Option", - requiredCollateralRatio: "Option", - }, - CandidateInfoOf: "CandidateInfo", - TradingPairProvisionParameters: { - minContribution: "(Balance, Balance)", - targetProvision: "(Balance, Balance)", - accumulatedProvision: "(Balance, Balance)", - notBefore: "BlockNumber", - }, - BalanceWrapper: { - amount: "Balance", - }, - BalanceRequest: { - amount: "Balance", - }, - TradingPairStatus: { - _enum: { - NotEnabled: "Null", - Provisioning: "TradingPairProvisionParameters", - Enabled: "Null", - }, - }, - Erc20Info: { - address: "EvmAddress", - name: "Vec", - symbol: "Vec", - decimals: "u8", - }, - EstimateResourcesResponse: { - gas: "u256", - storage: "i32", - weightFee: "u256", - }, - EvmAccountInfo: { - nonce: "Index", - contractInfo: "Option", - }, - CodeInfo: { - codeSize: "u32", - refCount: "u32", - }, - EvmContractInfo: { - codeHash: "H256", - maintainer: "H160", - deployed: "bool", - }, - EvmAddress: "H160", - CallRequest: { - from: "Option", - to: "Option", - gasLimit: "Option", - storageLimit: "Option", - value: "Option", - data: "Option", - }, - RedeemStrategy: { - _enum: { - Immediately: "Null", - Target: "EraIndex", - WaitForUnbonding: "Null", - }, - }, - RelaychainAccountId: "AccountId", - SlashInfo: { - validator: "RelaychainAccountId", - relaychainTokenAmount: "Balance", - }, - ValidatorBacking: { - totalInsurance: "Balance", - isFrozen: "bool", - }, - Guarantee: { - total: "Balance", - bonded: "Balance", - unbonding: "Option<(Balance, BlockNumber)>", - }, - PoolId: { - _enum: { - Loans: "CurrencyId", - DexIncentive: "CurrencyId", - DexSaving: "CurrencyId", - Homa: "Null", - }, - }, - PoolIdV0: { - _enum: { - LoansIncentive: "CurrencyId", - DexIncentive: "CurrencyId", - HomaIncentive: "Null", - DexSaving: "CurrencyId", - HomaValidatorAllowance: "AccountId", - }, - }, - Position: { - collateral: "Balance", - debit: "Balance", - }, - CID: "Vec", - Attributes: "BTreeMap, Vec>", - TokenInfoOf: { - metadata: "CID", - owner: "AccountId", - data: "TokenData", - }, - Properties: { - _set: { - _bitLength: 8, - Transferable: 1, - Burnable: 2, - Mintable: 4, - ClassPropertiesMutable: 8, - }, - }, - ClassData: { - deposit: "Balance", - properties: "Properties", - attributes: "Attributes", - }, - TokenData: { - deposit: "Balance", - attributes: "Attributes", - }, - TokenId: "u64", - TokenIdOf: "TokenId", - NFTClassId: "u32", - ClassIdOf: "ClassId", - NFTBalance: "u128", - NFTBalanceOf: "NFTBalance", - ClassInfoOf: { - metadata: "CID", - totalIssuance: "TokenId", - owner: "AccountId", - data: "ClassData", - }, - NomineeId: "AccountId", - HomaUnlockChunk: { - value: "Balance", - era: "EraIndex", - }, - BondingLedger: { - total: "Balance", - active: "Balance", - unlocking: "Vec", - }, - OracleKey: "CurrencyId", - AsOriginId: "AuthoritysOriginId", - ProxyType: { - _enum: [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan", - ], - }, - AtLeast64BitUnsigned: "u128", - StableAssetPoolId: "u32", - RelayChainBlockNumberOf: "RelayChainBlockNumber", - SubAccountStatus: { - bonded: "Balance", - available: "Balance", - unbonding: "Vec<(EraIndex,Balance)>", - mockRewardRate: "Rate", - }, - Params: { - targetMaxFreeUnbondedRatio: "Ratio", - targetMinFreeUnbondedRatio: "Ratio", - targetUnbondingToFreeRatio: "Ratio", - unbondingToFreeAdjustment: "Ratio", - baseFeeRate: "Rate", - }, - StakingPoolPhase: { - _enum: [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished", - ], - }, - Ledger: { - bonded: "Balance", - unbondingToFree: "Balance", - freePool: "Balance", - toUnbondNextEra: "(Balance, Balance)", - }, - ChangeRate: { - _enum: { - NoChange: "Null", - NewValue: "Rate", - }, - }, - ChangeRatio: { - _enum: { - NoChange: "Null", - NewValue: "Ratio", - }, - }, - BalanceInfo: { - amount: "Balance", - }, - PolkadotAccountId: "AccountId", - PolkadotAccountIdOf: "PolkadotAccountId", - ExchangeRate: "FixedU128", - Rate: "FixedU128", - Ratio: "FixedU128", - PublicKey: "[u8; 20]", - DestAddress: "Vec", - PoolTokenIndex: "u32", - AssetId: "CurrencyId", - Keys: "SessionKeys1", - MultiLocation: "MultiLocationV0", - MultiAsset: "MultiAssetV0", - Xcm: "XcmV0", - XcmOrder: "XcmOrderV0", - XcmError: "XcmErrorV0", - Response: "ResponseV0", - Address: "LookupSource", - LookupSource: "IndicesLookupSource", + Ledger: { + bonded: "Balance", + unbondingToFree: "Balance", + freePool: "Balance", + toUnbondNextEra: "(Balance, Balance)", }, - }, - { - minmax: [700, 719], - types: { - CallOf: "Call", - DispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - ScheduleTaskIndex: "u32", - DelayedOrigin: { - delay: "BlockNumber", - origin: "PalletsOrigin", - }, - AuthorityOrigin: "DelayedOrigin", - StorageValue: "Vec", - GraduallyUpdate: { - key: "StorageKey", - targetValue: "StorageValue", - perBlock: "StorageValue", - }, - StorageKeyBytes: "Vec", - StorageValueBytes: "Vec", - RpcDataProviderId: "Text", - DataProviderId: "u8", - TimestampedValue: { - value: "OracleValue", - timestamp: "Moment", - }, - TimestampedValueOf: "TimestampedValue", - OrderedSet: "Vec", - OrmlAccountData: { - free: "Balance", - reserved: "Balance", - frozen: "Balance", - }, - OrmlBalanceLock: { - amount: "Balance", - id: "LockIdentifier", - }, - AuctionInfo: { - bid: "Option<(AccountId, Balance)>", - start: "BlockNumber", - end: "Option", - }, - DelayedDispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - DispatchId: "u32", - Price: "FixedU128", - OrmlVestingSchedule: { - start: "BlockNumber", - period: "BlockNumber", - periodCount: "u32", - perPeriod: "Compact", - }, - VestingScheduleOf: "OrmlVestingSchedule", - OrmlCurrencyId: "CurrencyId", - PoolInfo: { - totalShares: "Share", - rewards: "BTreeMap", - }, - CompactBalance: "Compact", - PoolInfoV0: { - totalShares: "Compact", - totalRewards: "CompactBalance", - totalWithdrawnRewards: "CompactBalance", - }, - Share: "u128", - OracleValue: "Price", - Amount: "i128", - AmountOf: "Amount", - AuctionId: "u32", - AuctionIdOf: "AuctionId", - TokenSymbol: { - _enum: ["ACA", "AUSD", "DOT", "XBTC", "LDOT", "RENBTC"], - }, - DexShare: { - _enum: { - Token: "TokenSymbol", - Erc20: "EvmAddress", - }, - }, - CurrencyId: { - _enum: { - Token: "TokenSymbol", - DEXShare: "(DexShare, DexShare)", - ERC20: "EvmAddress", - StableAssetPoolToken: "StableAssetPoolId", - }, - }, - CurrencyIdOf: "CurrencyId", - AirDropCurrencyId: { - _enum: ["KAR", "ACA"], - }, - AuthoritysOriginId: { - _enum: [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve", - ], - }, - AcalaDataProviderId: { - _enum: ["Aggregated", "Acala", "Band"], - }, - TradingPair: "(CurrencyId, CurrencyId)", - ChainBridgeChainId: "u8", - PalletBalanceOf: "Balance", - CollateralAuctionItem: { - refundRecipient: "AccountId", - currencyId: "CurrencyId", - initialAmount: "Compact", - amount: "Compact", - target: "Compact", - startTime: "BlockNumber", - }, - DebitAuctionItem: { - initialAmount: "Compact", - amount: "Compact", - fix: "Compact", - startTime: "BlockNumber", - }, - SurplusAuctionItem: { - amount: "Compact", - startTime: "BlockNumber", - }, - LiquidationStrategy: { - _enum: ["Auction", "Exchange"], - }, - OptionRate: "Option", - OptionRatio: "Option", - ChangeOptionRate: { - _enum: { - NoChange: "Null", - NewValue: "OptionRate", - }, - }, - ChangeOptionRatio: { - _enum: { - NoChange: "Null", - NewValue: "OptionRatio", - }, - }, - ChangeBalance: { - _enum: { - NoChange: "Null", - NewValue: "Balance", - }, - }, - RiskManagementParams: { - maximumTotalDebitValue: "Balance", - interestRatePerSec: "Option", - liquidationRatio: "Option", - liquidationPenalty: "Option", - requiredCollateralRatio: "Option", - }, - CandidateInfoOf: "CandidateInfo", - TradingPairProvisionParameters: { - minContribution: "(Balance, Balance)", - targetProvision: "(Balance, Balance)", - accumulatedProvision: "(Balance, Balance)", - notBefore: "BlockNumber", - }, - BalanceWrapper: { - amount: "Balance", - }, - BalanceRequest: { - amount: "Balance", - }, - TradingPairStatus: { - _enum: { - NotEnabled: "Null", - Provisioning: "TradingPairProvisionParameters", - Enabled: "Null", - }, - }, - Erc20Info: { - address: "EvmAddress", - name: "Vec", - symbol: "Vec", - decimals: "u8", - }, - EstimateResourcesResponse: { - gas: "u256", - storage: "i32", - weightFee: "u256", - }, - EvmAccountInfo: { - nonce: "Index", - contractInfo: "Option", - }, - CodeInfo: { - codeSize: "u32", - refCount: "u32", - }, - EvmContractInfo: { - codeHash: "H256", - maintainer: "H160", - deployed: "bool", - }, - EvmAddress: "H160", - CallRequest: { - from: "Option", - to: "Option", - gasLimit: "Option", - storageLimit: "Option", - value: "Option", - data: "Option", - }, - RedeemStrategy: { - _enum: { - Immediately: "Null", - Target: "EraIndex", - WaitForUnbonding: "Null", - }, - }, - RelaychainAccountId: "AccountId", - SlashInfo: { - validator: "RelaychainAccountId", - relaychainTokenAmount: "Balance", - }, - ValidatorBacking: { - totalInsurance: "Balance", - isFrozen: "bool", - }, - Guarantee: { - total: "Balance", - bonded: "Balance", - unbonding: "Option<(Balance, BlockNumber)>", - }, - PoolId: { - _enum: { - Loans: "CurrencyId", - DexIncentive: "CurrencyId", - DexSaving: "CurrencyId", - Homa: "Null", - }, - }, - PoolIdV0: { - _enum: { - LoansIncentive: "CurrencyId", - DexIncentive: "CurrencyId", - HomaIncentive: "Null", - DexSaving: "CurrencyId", - HomaValidatorAllowance: "AccountId", - }, - }, - Position: { - collateral: "Balance", - debit: "Balance", - }, - CID: "Vec", - Attributes: "BTreeMap, Vec>", - TokenInfoOf: { - metadata: "CID", - owner: "AccountId", - data: "TokenData", - }, - Properties: { - _set: { - _bitLength: 8, - Transferable: 1, - Burnable: 2, - Mintable: 4, - ClassPropertiesMutable: 8, - }, - }, - ClassData: { - deposit: "Balance", - properties: "Properties", - attributes: "Attributes", - }, - TokenData: { - deposit: "Balance", - attributes: "Attributes", - }, - TokenId: "u64", - TokenIdOf: "TokenId", - NFTClassId: "u32", - ClassIdOf: "ClassId", - NFTBalance: "u128", - NFTBalanceOf: "NFTBalance", - ClassInfoOf: { - metadata: "CID", - totalIssuance: "TokenId", - owner: "AccountId", - data: "ClassData", - }, - NomineeId: "AccountId", - HomaUnlockChunk: { - value: "Balance", - era: "EraIndex", - }, - BondingLedger: { - total: "Balance", - active: "Balance", - unlocking: "Vec", - }, - OracleKey: "CurrencyId", - AsOriginId: "AuthoritysOriginId", - ProxyType: { - _enum: [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan", - ], - }, - AtLeast64BitUnsigned: "u128", - StableAssetPoolId: "u32", - RelayChainBlockNumberOf: "RelayChainBlockNumber", - SubAccountStatus: { - bonded: "Balance", - available: "Balance", - unbonding: "Vec<(EraIndex,Balance)>", - mockRewardRate: "Rate", - }, - Params: { - targetMaxFreeUnbondedRatio: "Ratio", - targetMinFreeUnbondedRatio: "Ratio", - targetUnbondingToFreeRatio: "Ratio", - unbondingToFreeAdjustment: "Ratio", - baseFeeRate: "Rate", - }, - StakingPoolPhase: { - _enum: [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished", - ], - }, - Ledger: { - bonded: "Balance", - unbondingToFree: "Balance", - freePool: "Balance", - toUnbondNextEra: "(Balance, Balance)", - }, - ChangeRate: { - _enum: { - NoChange: "Null", - NewValue: "Rate", - }, - }, - ChangeRatio: { - _enum: { - NoChange: "Null", - NewValue: "Ratio", - }, - }, - BalanceInfo: { - amount: "Balance", - }, - PolkadotAccountId: "AccountId", - PolkadotAccountIdOf: "PolkadotAccountId", - ExchangeRate: "FixedU128", - Rate: "FixedU128", - Ratio: "FixedU128", - PublicKey: "[u8; 20]", - DestAddress: "Vec", - PoolTokenIndex: "u32", - AssetId: "CurrencyId", - Keys: "SessionKeys1", - MultiLocation: "MultiLocationV0", - MultiAsset: "MultiAssetV0", - Xcm: "XcmV0", - XcmOrder: "XcmOrderV0", - XcmError: "XcmErrorV0", - Response: "ResponseV0", - Address: "GenericMultiAddress", - LookupSource: "GenericMultiAddress", + ChangeRate: { + _enum: { + NoChange: "Null", + NewValue: "Rate", + }, }, - }, - { - minmax: [720, 722], - types: { - CallOf: "Call", - DispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - ScheduleTaskIndex: "u32", - DelayedOrigin: { - delay: "BlockNumber", - origin: "PalletsOrigin", - }, - AuthorityOrigin: "DelayedOrigin", - StorageValue: "Vec", - GraduallyUpdate: { - key: "StorageKey", - targetValue: "StorageValue", - perBlock: "StorageValue", - }, - StorageKeyBytes: "Vec", - StorageValueBytes: "Vec", - RpcDataProviderId: "Text", - DataProviderId: "u8", - TimestampedValue: { - value: "OracleValue", - timestamp: "Moment", - }, - TimestampedValueOf: "TimestampedValue", - OrderedSet: "Vec", - OrmlAccountData: { - free: "Balance", - reserved: "Balance", - frozen: "Balance", - }, - OrmlBalanceLock: { - amount: "Balance", - id: "LockIdentifier", - }, - AuctionInfo: { - bid: "Option<(AccountId, Balance)>", - start: "BlockNumber", - end: "Option", - }, - DelayedDispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - DispatchId: "u32", - Price: "FixedU128", - OrmlVestingSchedule: { - start: "BlockNumber", - period: "BlockNumber", - periodCount: "u32", - perPeriod: "Compact", - }, - VestingScheduleOf: "OrmlVestingSchedule", - OrmlCurrencyId: "CurrencyId", - PoolInfo: { - totalShares: "Share", - rewards: "BTreeMap", - }, - CompactBalance: "Compact", - PoolInfoV0: { - totalShares: "Compact", - totalRewards: "CompactBalance", - totalWithdrawnRewards: "CompactBalance", - }, - Share: "u128", - OracleValue: "Price", - Amount: "i128", - AmountOf: "Amount", - AuctionId: "u32", - AuctionIdOf: "AuctionId", - TokenSymbol: { - _enum: { - ACA: 0, - AUSD: 1, - DOT: 2, - LDOT: 3, - XBTC: 4, - RENBTC: 5, - POLKABTC: 6, - PLM: 7, - PHA: 8, - HDT: 9, - BCG: 11, - KAR: 128, - KUSD: 129, - KSM: 130, - LKSM: 131, - SDN: 135, - KILT: 138, - }, - }, - DexShare: { - _enum: { - Token: "TokenSymbol", - Erc20: "EvmAddress", - }, - }, - CurrencyId: { - _enum: { - Token: "TokenSymbol", - DEXShare: "(TokenSymbol, TokenSymbol)", - ERC20: "EvmAddress", - }, - }, - CurrencyIdOf: "CurrencyId", - AirDropCurrencyId: { - _enum: ["KAR", "ACA"], - }, - AuthoritysOriginId: { - _enum: [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve", - ], - }, - AcalaDataProviderId: { - _enum: ["Aggregated", "Acala", "Band"], - }, - TradingPair: "(CurrencyId, CurrencyId)", - ChainBridgeChainId: "u8", - PalletBalanceOf: "Balance", - CollateralAuctionItem: { - refundRecipient: "AccountId", - currencyId: "CurrencyId", - initialAmount: "Compact", - amount: "Compact", - target: "Compact", - startTime: "BlockNumber", - }, - DebitAuctionItem: { - initialAmount: "Compact", - amount: "Compact", - fix: "Compact", - startTime: "BlockNumber", - }, - SurplusAuctionItem: { - amount: "Compact", - startTime: "BlockNumber", - }, - LiquidationStrategy: { - _enum: ["Auction", "Exchange"], - }, - OptionRate: "Option", - OptionRatio: "Option", - ChangeOptionRate: { - _enum: { - NoChange: "Null", - NewValue: "OptionRate", - }, - }, - ChangeOptionRatio: { - _enum: { - NoChange: "Null", - NewValue: "OptionRatio", - }, - }, - ChangeBalance: { - _enum: { - NoChange: "Null", - NewValue: "Balance", - }, - }, - RiskManagementParams: { - maximumTotalDebitValue: "Balance", - interestRatePerSec: "Option", - liquidationRatio: "Option", - liquidationPenalty: "Option", - requiredCollateralRatio: "Option", - }, - CandidateInfoOf: "CandidateInfo", - TradingPairProvisionParameters: { - minContribution: "(Balance, Balance)", - targetProvision: "(Balance, Balance)", - accumulatedProvision: "(Balance, Balance)", - notBefore: "BlockNumber", - }, - BalanceWrapper: { - amount: "Balance", - }, - BalanceRequest: { - amount: "Balance", - }, - TradingPairStatus: { - _enum: { - NotEnabled: "Null", - Provisioning: "TradingPairProvisionParameters", - Enabled: "Null", - }, - }, - Erc20Info: { - address: "EvmAddress", - name: "Vec", - symbol: "Vec", - decimals: "u8", - }, - EstimateResourcesResponse: { - gas: "u256", - storage: "i32", - weightFee: "u256", - }, - EvmAccountInfo: { - nonce: "Index", - contractInfo: "Option", - }, - CodeInfo: { - codeSize: "u32", - refCount: "u32", - }, - EvmContractInfo: { - codeHash: "H256", - maintainer: "H160", - deployed: "bool", - }, - EvmAddress: "H160", - CallRequest: { - from: "Option", - to: "Option", - gasLimit: "Option", - storageLimit: "Option", - value: "Option", - data: "Option", - }, - RedeemStrategy: { - _enum: { - Immediately: "Null", - Target: "EraIndex", - WaitForUnbonding: "Null", - }, - }, - RelaychainAccountId: "AccountId", - SlashInfo: { - validator: "RelaychainAccountId", - relaychainTokenAmount: "Balance", - }, - ValidatorBacking: { - totalInsurance: "Balance", - isFrozen: "bool", - }, - Guarantee: { - total: "Balance", - bonded: "Balance", - unbonding: "Option<(Balance, BlockNumber)>", - }, - PoolId: { - _enum: { - Loans: "CurrencyId", - DexIncentive: "CurrencyId", - DexSaving: "CurrencyId", - Homa: "Null", - }, - }, - PoolIdV0: { - _enum: { - LoansIncentive: "CurrencyId", - DexIncentive: "CurrencyId", - HomaIncentive: "Null", - DexSaving: "CurrencyId", - HomaValidatorAllowance: "AccountId", - }, - }, - Position: { - collateral: "Balance", - debit: "Balance", - }, - CID: "Vec", - Attributes: "BTreeMap, Vec>", - TokenInfoOf: { - metadata: "CID", - owner: "AccountId", - data: "TokenData", - }, - Properties: { - _set: { - _bitLength: 8, - Transferable: 1, - Burnable: 2, - Mintable: 4, - ClassPropertiesMutable: 8, - }, - }, - ClassData: { - deposit: "Balance", - properties: "Properties", - attributes: "Attributes", - }, - TokenData: { - deposit: "Balance", - attributes: "Attributes", - }, - TokenId: "u64", - TokenIdOf: "TokenId", - NFTClassId: "u32", - ClassIdOf: "ClassId", - NFTBalance: "u128", - NFTBalanceOf: "NFTBalance", - ClassInfoOf: { - metadata: "CID", - totalIssuance: "TokenId", - owner: "AccountId", - data: "ClassData", - }, - NomineeId: "AccountId", - HomaUnlockChunk: { - value: "Balance", - era: "EraIndex", - }, - BondingLedger: { - total: "Balance", - active: "Balance", - unlocking: "Vec", - }, - OracleKey: "CurrencyId", - AsOriginId: "AuthoritysOriginId", - ProxyType: { - _enum: [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan", - ], - }, - AtLeast64BitUnsigned: "u128", - StableAssetPoolId: "u32", - RelayChainBlockNumberOf: "RelayChainBlockNumber", - SubAccountStatus: { - bonded: "Balance", - available: "Balance", - unbonding: "Vec<(EraIndex,Balance)>", - mockRewardRate: "Rate", - }, - Params: { - targetMaxFreeUnbondedRatio: "Ratio", - targetMinFreeUnbondedRatio: "Ratio", - targetUnbondingToFreeRatio: "Ratio", - unbondingToFreeAdjustment: "Ratio", - baseFeeRate: "Rate", - }, - StakingPoolPhase: { - _enum: [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished", - ], - }, - Ledger: { - bonded: "Balance", - unbondingToFree: "Balance", - freePool: "Balance", - toUnbondNextEra: "(Balance, Balance)", - }, - ChangeRate: { - _enum: { - NoChange: "Null", - NewValue: "Rate", - }, - }, - ChangeRatio: { - _enum: { - NoChange: "Null", - NewValue: "Ratio", - }, - }, - BalanceInfo: { - amount: "Balance", - }, - PolkadotAccountId: "AccountId", - PolkadotAccountIdOf: "PolkadotAccountId", - ExchangeRate: "FixedU128", - Rate: "FixedU128", - Ratio: "FixedU128", - PublicKey: "[u8; 20]", - DestAddress: "Vec", - PoolTokenIndex: "u32", - AssetId: "CurrencyId", - Keys: "SessionKeys1", - Address: "GenericMultiAddress", - LookupSource: "GenericMultiAddress", - MultiLocation: "MultiLocationV0", - MultiAsset: "MultiAssetV0", - Xcm: "XcmV0", - XcmOrder: "XcmOrderV0", - XcmError: "XcmErrorV0", - Response: "ResponseV0", + ChangeRatio: { + _enum: { + NoChange: "Null", + NewValue: "Ratio", + }, }, - }, - { - minmax: [723, 729], - types: { - CallOf: "Call", - DispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - ScheduleTaskIndex: "u32", - DelayedOrigin: { - delay: "BlockNumber", - origin: "PalletsOrigin", - }, - AuthorityOrigin: "DelayedOrigin", - StorageValue: "Vec", - GraduallyUpdate: { - key: "StorageKey", - targetValue: "StorageValue", - perBlock: "StorageValue", - }, - StorageKeyBytes: "Vec", - StorageValueBytes: "Vec", - RpcDataProviderId: "Text", - DataProviderId: "u8", - TimestampedValue: { - value: "OracleValue", - timestamp: "Moment", - }, - TimestampedValueOf: "TimestampedValue", - OrderedSet: "Vec", - OrmlAccountData: { - free: "Balance", - reserved: "Balance", - frozen: "Balance", - }, - OrmlBalanceLock: { - amount: "Balance", - id: "LockIdentifier", - }, - AuctionInfo: { - bid: "Option<(AccountId, Balance)>", - start: "BlockNumber", - end: "Option", - }, - DelayedDispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - DispatchId: "u32", - Price: "FixedU128", - OrmlVestingSchedule: { - start: "BlockNumber", - period: "BlockNumber", - periodCount: "u32", - perPeriod: "Compact", - }, - VestingScheduleOf: "OrmlVestingSchedule", - OrmlCurrencyId: "CurrencyId", - PoolInfo: { - totalShares: "Compact", - totalRewards: "Compact", - totalWithdrawnRewards: "Compact", - }, - CompactBalance: "Compact", - PoolInfoV0: { - totalShares: "Compact", - totalRewards: "CompactBalance", - totalWithdrawnRewards: "CompactBalance", - }, - Share: "u128", - OracleValue: "Price", - Amount: "i128", - AmountOf: "Amount", - AuctionId: "u32", - AuctionIdOf: "AuctionId", - TokenSymbol: { - _enum: { - ACA: 0, - AUSD: 1, - DOT: 2, - LDOT: 3, - XBTC: 4, - RENBTC: 5, - POLKABTC: 6, - PLM: 7, - PHA: 8, - HDT: 9, - BCG: 11, - KAR: 128, - KUSD: 129, - KSM: 130, - LKSM: 131, - SDN: 135, - KILT: 138, - }, - }, - DexShare: { - _enum: { - Token: "TokenSymbol", - Erc20: "EvmAddress", - }, - }, - CurrencyId: { - _enum: { - Token: "TokenSymbol", - DEXShare: "(TokenSymbol, TokenSymbol)", - ERC20: "EvmAddress", - }, - }, - CurrencyIdOf: "CurrencyId", - AirDropCurrencyId: { - _enum: ["KAR", "ACA"], - }, - AuthoritysOriginId: { - _enum: [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve", - ], - }, - AcalaDataProviderId: { - _enum: ["Aggregated", "Acala", "Band"], - }, - TradingPair: "(CurrencyId, CurrencyId)", - ChainBridgeChainId: "u8", - PalletBalanceOf: "Balance", - CollateralAuctionItem: { - refundRecipient: "AccountId", - currencyId: "CurrencyId", - initialAmount: "Compact", - amount: "Compact", - target: "Compact", - startTime: "BlockNumber", - }, - DebitAuctionItem: { - initialAmount: "Compact", - amount: "Compact", - fix: "Compact", - startTime: "BlockNumber", - }, - SurplusAuctionItem: { - amount: "Compact", - startTime: "BlockNumber", - }, - LiquidationStrategy: { - _enum: ["Auction", "Exchange"], - }, - OptionRate: "Option", - OptionRatio: "Option", - ChangeOptionRate: { - _enum: { - NoChange: "Null", - NewValue: "OptionRate", - }, - }, - ChangeOptionRatio: { - _enum: { - NoChange: "Null", - NewValue: "OptionRatio", - }, - }, - ChangeBalance: { - _enum: { - NoChange: "Null", - NewValue: "Balance", - }, - }, - RiskManagementParams: { - maximumTotalDebitValue: "Balance", - interestRatePerSec: "Option", - liquidationRatio: "Option", - liquidationPenalty: "Option", - requiredCollateralRatio: "Option", - }, - CandidateInfoOf: "CandidateInfo", - TradingPairProvisionParameters: { - minContribution: "(Balance, Balance)", - targetProvision: "(Balance, Balance)", - accumulatedProvision: "(Balance, Balance)", - notBefore: "BlockNumber", - }, - BalanceWrapper: { - amount: "Balance", - }, - BalanceRequest: { - amount: "Balance", - }, - TradingPairStatus: { - _enum: { - NotEnabled: "Null", - Provisioning: "TradingPairProvisionParameters", - Enabled: "Null", - }, - }, - Erc20Info: { - address: "EvmAddress", - name: "Vec", - symbol: "Vec", - decimals: "u8", - }, - EstimateResourcesResponse: { - gas: "u256", - storage: "i32", - weightFee: "u256", - }, - EvmAccountInfo: { - nonce: "Index", - contractInfo: "Option", - }, - CodeInfo: { - codeSize: "u32", - refCount: "u32", - }, - EvmContractInfo: { - codeHash: "H256", - maintainer: "H160", - deployed: "bool", - }, - EvmAddress: "H160", - CallRequest: { - from: "Option", - to: "Option", - gasLimit: "Option", - storageLimit: "Option", - value: "Option", - data: "Option", - }, - RedeemStrategy: { - _enum: { - Immediately: "Null", - Target: "EraIndex", - WaitForUnbonding: "Null", - }, - }, - RelaychainAccountId: "AccountId", - SlashInfo: { - validator: "RelaychainAccountId", - relaychainTokenAmount: "Balance", - }, - ValidatorBacking: { - totalInsurance: "Balance", - isFrozen: "bool", - }, - Guarantee: { - total: "Balance", - bonded: "Balance", - unbonding: "Option<(Balance, BlockNumber)>", - }, - PoolId: { - _enum: { - LoansIncentive: "CurrencyId", - DexIncentive: "CurrencyId", - HomaIncentive: "Null", - DexSaving: "CurrencyId", - HomaValidatorAllowance: "AccountId", - }, - }, - PoolIdV0: { - _enum: { - LoansIncentive: "CurrencyId", - DexIncentive: "CurrencyId", - HomaIncentive: "Null", - DexSaving: "CurrencyId", - HomaValidatorAllowance: "AccountId", - }, - }, - Position: { - collateral: "Balance", - debit: "Balance", - }, - CID: "Vec", - Attributes: "BTreeMap, Vec>", - TokenInfoOf: { - metadata: "CID", - owner: "AccountId", - data: "TokenData", - }, - Properties: { - _set: { - _bitLength: 8, - Transferable: 1, - Burnable: 2, - Mintable: 4, - ClassPropertiesMutable: 8, - }, - }, - ClassData: { - deposit: "Balance", - properties: "Properties", - attributes: "Attributes", - }, - TokenData: { - deposit: "Balance", - attributes: "Attributes", - }, - TokenId: "u64", - TokenIdOf: "TokenId", - NFTClassId: "u32", - ClassIdOf: "ClassId", - NFTBalance: "u128", - NFTBalanceOf: "NFTBalance", - ClassInfoOf: { - metadata: "CID", - totalIssuance: "TokenId", - owner: "AccountId", - data: "ClassData", - }, - NomineeId: "AccountId", - HomaUnlockChunk: { - value: "Balance", - era: "EraIndex", - }, - BondingLedger: { - total: "Balance", - active: "Balance", - unlocking: "Vec", - }, - OracleKey: "CurrencyId", - AsOriginId: "AuthoritysOriginId", - ProxyType: { - _enum: [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan", - ], - }, - AtLeast64BitUnsigned: "u128", - StableAssetPoolId: "u32", - RelayChainBlockNumberOf: "RelayChainBlockNumber", - SubAccountStatus: { - bonded: "Balance", - available: "Balance", - unbonding: "Vec<(EraIndex,Balance)>", - mockRewardRate: "Rate", - }, - Params: { - targetMaxFreeUnbondedRatio: "Ratio", - targetMinFreeUnbondedRatio: "Ratio", - targetUnbondingToFreeRatio: "Ratio", - unbondingToFreeAdjustment: "Ratio", - baseFeeRate: "Rate", - }, - StakingPoolPhase: { - _enum: [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished", - ], - }, - Ledger: { - bonded: "Balance", - unbondingToFree: "Balance", - freePool: "Balance", - toUnbondNextEra: "(Balance, Balance)", - }, - ChangeRate: { - _enum: { - NoChange: "Null", - NewValue: "Rate", - }, - }, - ChangeRatio: { - _enum: { - NoChange: "Null", - NewValue: "Ratio", - }, - }, - BalanceInfo: { - amount: "Balance", - }, - PolkadotAccountId: "AccountId", - PolkadotAccountIdOf: "PolkadotAccountId", - ExchangeRate: "FixedU128", - Rate: "FixedU128", - Ratio: "FixedU128", - PublicKey: "[u8; 20]", - DestAddress: "Vec", - PoolTokenIndex: "u32", - AssetId: "CurrencyId", - Keys: "SessionKeys1", - Address: "GenericMultiAddress", - LookupSource: "GenericMultiAddress", - MultiLocation: "MultiLocationV0", - MultiAsset: "MultiAssetV0", - Xcm: "XcmV0", - XcmOrder: "XcmOrderV0", - XcmError: "XcmErrorV0", - Response: "ResponseV0", + BalanceInfo: { + amount: "Balance", }, + PolkadotAccountId: "AccountId", + PolkadotAccountIdOf: "PolkadotAccountId", + ExchangeRate: "FixedU128", + Rate: "FixedU128", + Ratio: "FixedU128", + PublicKey: "[u8; 20]", + DestAddress: "Vec", + PoolTokenIndex: "u32", + AssetId: "CurrencyId", + Keys: "SessionKeys1", + MultiLocation: "MultiLocationV0", + MultiAsset: "MultiAssetV0", + Xcm: "XcmV0", + XcmOrder: "XcmOrderV0", + XcmError: "XcmErrorV0", + Response: "ResponseV0", + Address: "LookupSource", + LookupSource: "IndicesLookupSource", }, - { - minmax: [730, 1007], - types: { - CallOf: "Call", - DispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - ScheduleTaskIndex: "u32", - DelayedOrigin: { - delay: "BlockNumber", - origin: "PalletsOrigin", - }, - AuthorityOrigin: "DelayedOrigin", - StorageValue: "Vec", - GraduallyUpdate: { - key: "StorageKey", - targetValue: "StorageValue", - perBlock: "StorageValue", - }, - StorageKeyBytes: "Vec", - StorageValueBytes: "Vec", - RpcDataProviderId: "Text", - DataProviderId: "u8", - TimestampedValue: { - value: "OracleValue", - timestamp: "Moment", - }, - TimestampedValueOf: "TimestampedValue", - OrderedSet: "Vec", - OrmlAccountData: { - free: "Balance", - reserved: "Balance", - frozen: "Balance", - }, - OrmlBalanceLock: { - amount: "Balance", - id: "LockIdentifier", - }, - AuctionInfo: { - bid: "Option<(AccountId, Balance)>", - start: "BlockNumber", - end: "Option", - }, - DelayedDispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - DispatchId: "u32", - Price: "FixedU128", - OrmlVestingSchedule: { - start: "BlockNumber", - period: "BlockNumber", - periodCount: "u32", - perPeriod: "Compact", - }, - VestingScheduleOf: "OrmlVestingSchedule", - OrmlCurrencyId: "CurrencyId", - PoolInfo: { - totalShares: "Compact", - totalRewards: "Compact", - totalWithdrawnRewards: "Compact", - }, - CompactBalance: "Compact", - PoolInfoV0: { - totalShares: "Compact", - totalRewards: "CompactBalance", - totalWithdrawnRewards: "CompactBalance", - }, - Share: "u128", - OracleValue: "Price", - Amount: "i128", - AmountOf: "Amount", - AuctionId: "u32", - AuctionIdOf: "AuctionId", - TokenSymbol: { - _enum: { - ACA: 0, - AUSD: 1, - DOT: 2, - LDOT: 3, - RENBTC: 4, - KAR: 128, - KUSD: 129, - KSM: 130, - LKSM: 131, - CASH: 140, - }, - }, - DexShare: { - _enum: { - Token: "TokenSymbol", - Erc20: "EvmAddress", - }, - }, - CurrencyId: { - _enum: { - Token: "TokenSymbol", - DEXShare: "(DexShare, DexShare)", - ERC20: "EvmAddress", - StableAssetPoolToken: "StableAssetPoolId", - }, - }, - CurrencyIdOf: "CurrencyId", - AirDropCurrencyId: { - _enum: ["KAR", "ACA"], - }, - AuthoritysOriginId: { - _enum: [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve", - ], - }, - AcalaDataProviderId: { - _enum: ["Aggregated", "Acala", "Band"], - }, - TradingPair: "(CurrencyId, CurrencyId)", - ChainBridgeChainId: "u8", - PalletBalanceOf: "Balance", - CollateralAuctionItem: { - refundRecipient: "AccountId", - currencyId: "CurrencyId", - initialAmount: "Compact", - amount: "Compact", - target: "Compact", - startTime: "BlockNumber", - }, - DebitAuctionItem: { - initialAmount: "Compact", - amount: "Compact", - fix: "Compact", - startTime: "BlockNumber", - }, - SurplusAuctionItem: { - amount: "Compact", - startTime: "BlockNumber", - }, - LiquidationStrategy: { - _enum: ["Auction", "Exchange"], - }, - OptionRate: "Option", - OptionRatio: "Option", - ChangeOptionRate: { - _enum: { - NoChange: "Null", - NewValue: "OptionRate", - }, - }, - ChangeOptionRatio: { - _enum: { - NoChange: "Null", - NewValue: "OptionRatio", - }, - }, - ChangeBalance: { - _enum: { - NoChange: "Null", - NewValue: "Balance", - }, - }, - RiskManagementParams: { - maximumTotalDebitValue: "Balance", - interestRatePerSec: "Option", - liquidationRatio: "Option", - liquidationPenalty: "Option", - requiredCollateralRatio: "Option", - }, - CandidateInfoOf: "CandidateInfo", - TradingPairProvisionParameters: { - minContribution: "(Balance, Balance)", - targetProvision: "(Balance, Balance)", - accumulatedProvision: "(Balance, Balance)", - notBefore: "BlockNumber", - }, - BalanceWrapper: { - amount: "Balance", - }, - BalanceRequest: { - amount: "Balance", - }, - TradingPairStatus: { - _enum: { - NotEnabled: "Null", - Provisioning: "TradingPairProvisionParameters", - Enabled: "Null", - }, - }, - Erc20Info: { - address: "EvmAddress", - name: "Vec", - symbol: "Vec", - decimals: "u8", - }, - EstimateResourcesResponse: { - gas: "u256", - storage: "i32", - weightFee: "u256", - }, - EvmAccountInfo: { - nonce: "Index", - contractInfo: "Option", - }, - CodeInfo: { - codeSize: "u32", - refCount: "u32", - }, - EvmContractInfo: { - codeHash: "H256", - maintainer: "H160", - deployed: "bool", - }, - EvmAddress: "H160", - CallRequest: { - from: "Option", - to: "Option", - gasLimit: "Option", - storageLimit: "Option", - value: "Option", - data: "Option", - }, - RedeemStrategy: { - _enum: { - Immediately: "Null", - Target: "EraIndex", - WaitForUnbonding: "Null", - }, - }, - RelaychainAccountId: "AccountId", - SlashInfo: { - validator: "RelaychainAccountId", - relaychainTokenAmount: "Balance", - }, - ValidatorBacking: { - totalInsurance: "Balance", - isFrozen: "bool", - }, - Guarantee: { - total: "Balance", - bonded: "Balance", - unbonding: "Option<(Balance, BlockNumber)>", - }, - PoolId: { - _enum: { - LoansIncentive: "CurrencyId", - DexIncentive: "CurrencyId", - HomaIncentive: "Null", - DexSaving: "CurrencyId", - HomaValidatorAllowance: "AccountId", - }, - }, - PoolIdV0: { - _enum: { - LoansIncentive: "CurrencyId", - DexIncentive: "CurrencyId", - HomaIncentive: "Null", - DexSaving: "CurrencyId", - HomaValidatorAllowance: "AccountId", - }, - }, - Position: { - collateral: "Balance", - debit: "Balance", - }, - CID: "Vec", - Attributes: "BTreeMap, Vec>", - TokenInfoOf: { - metadata: "CID", - owner: "AccountId", - data: "TokenData", - }, - Properties: { - _set: { - _bitLength: 8, - Transferable: 1, - Burnable: 2, - Mintable: 4, - ClassPropertiesMutable: 8, - }, - }, - ClassData: { - deposit: "Balance", - properties: "Properties", - attributes: "Attributes", - }, - TokenData: { - deposit: "Balance", - attributes: "Attributes", - }, - TokenId: "u64", - TokenIdOf: "TokenId", - NFTClassId: "u32", - ClassIdOf: "ClassId", - NFTBalance: "u128", - NFTBalanceOf: "NFTBalance", - ClassInfoOf: { - metadata: "CID", - totalIssuance: "TokenId", - owner: "AccountId", - data: "ClassData", - }, - NomineeId: "AccountId", - HomaUnlockChunk: { - value: "Balance", - era: "EraIndex", - }, - BondingLedger: { - total: "Balance", - active: "Balance", - unlocking: "Vec", - }, - OracleKey: "CurrencyId", - AsOriginId: "AuthoritysOriginId", - ProxyType: { - _enum: [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan", - ], - }, - AtLeast64BitUnsigned: "u128", - StableAssetPoolId: "u32", - RelayChainBlockNumberOf: "RelayChainBlockNumber", - SubAccountStatus: { - bonded: "Balance", - available: "Balance", - unbonding: "Vec<(EraIndex,Balance)>", - mockRewardRate: "Rate", - }, - Params: { - targetMaxFreeUnbondedRatio: "Ratio", - targetMinFreeUnbondedRatio: "Ratio", - targetUnbondingToFreeRatio: "Ratio", - unbondingToFreeAdjustment: "Ratio", - baseFeeRate: "Rate", - }, - StakingPoolPhase: { - _enum: [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished", - ], - }, - Ledger: { - bonded: "Balance", - unbondingToFree: "Balance", - freePool: "Balance", - toUnbondNextEra: "(Balance, Balance)", - }, - ChangeRate: { - _enum: { - NoChange: "Null", - NewValue: "Rate", - }, - }, - ChangeRatio: { - _enum: { - NoChange: "Null", - NewValue: "Ratio", - }, - }, - BalanceInfo: { - amount: "Balance", - }, - PolkadotAccountId: "AccountId", - PolkadotAccountIdOf: "PolkadotAccountId", - ExchangeRate: "FixedU128", - Rate: "FixedU128", - Ratio: "FixedU128", - PublicKey: "[u8; 20]", - DestAddress: "Vec", - PoolTokenIndex: "u32", - AssetId: "CurrencyId", - Keys: "SessionKeys1", - Address: "GenericMultiAddress", - LookupSource: "GenericMultiAddress", - MultiLocation: "MultiLocationV0", - MultiAsset: "MultiAssetV0", - Xcm: "XcmV0", - XcmOrder: "XcmOrderV0", - XcmError: "XcmErrorV0", - Response: "ResponseV0", + }, + { + minmax: [700, 719], + types: { + CallOf: "Call", + DispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, }, - }, - { - minmax: [1008, 1008], - types: { - CallOf: "Call", - DispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - ScheduleTaskIndex: "u32", - DelayedOrigin: { - delay: "BlockNumber", - origin: "PalletsOrigin", - }, - AuthorityOrigin: "DelayedOrigin", - StorageValue: "Vec", - GraduallyUpdate: { - key: "StorageKey", - targetValue: "StorageValue", - perBlock: "StorageValue", - }, - StorageKeyBytes: "Vec", - StorageValueBytes: "Vec", - RpcDataProviderId: "Text", - DataProviderId: "u8", - TimestampedValue: { - value: "OracleValue", - timestamp: "Moment", - }, - TimestampedValueOf: "TimestampedValue", - OrderedSet: "Vec", - OrmlAccountData: { - free: "Balance", - reserved: "Balance", - frozen: "Balance", - }, - OrmlBalanceLock: { - amount: "Balance", - id: "LockIdentifier", - }, - AuctionInfo: { - bid: "Option<(AccountId, Balance)>", - start: "BlockNumber", - end: "Option", - }, - DelayedDispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - DispatchId: "u32", - Price: "FixedU128", - OrmlVestingSchedule: { - start: "BlockNumber", - period: "BlockNumber", - periodCount: "u32", - perPeriod: "Compact", - }, - VestingScheduleOf: "OrmlVestingSchedule", - OrmlCurrencyId: "CurrencyId", - PoolInfo: { - totalShares: "Compact", - totalRewards: "Compact", - totalWithdrawnRewards: "Compact", - }, - CompactBalance: "Compact", - PoolInfoV0: { - totalShares: "Compact", - totalRewards: "CompactBalance", - totalWithdrawnRewards: "CompactBalance", - }, - Share: "u128", - OracleValue: "Price", - Amount: "i128", - AmountOf: "Amount", - AuctionId: "u32", - AuctionIdOf: "AuctionId", - TokenSymbol: { - _enum: { - ACA: 0, - AUSD: 1, - DOT: 2, - LDOT: 3, - RENBTC: 20, - CASH: 21, - KAR: 128, - KUSD: 129, - KSM: 130, - LKSM: 131, - }, - }, - DexShare: { - _enum: { - Token: "TokenSymbol", - Erc20: "EvmAddress", - }, - }, - CurrencyId: { - _enum: { - Token: "TokenSymbol", - DEXShare: "(DexShare, DexShare)", - ERC20: "EvmAddress", - StableAssetPoolToken: "StableAssetPoolId", - }, - }, - CurrencyIdOf: "CurrencyId", - AirDropCurrencyId: { - _enum: ["KAR", "ACA"], - }, - AuthoritysOriginId: { - _enum: [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve", - ], - }, - AcalaDataProviderId: { - _enum: ["Aggregated", "Acala", "Band"], - }, - TradingPair: "(CurrencyId, CurrencyId)", - ChainBridgeChainId: "u8", - PalletBalanceOf: "Balance", - CollateralAuctionItem: { - refundRecipient: "AccountId", - currencyId: "CurrencyId", - initialAmount: "Compact", - amount: "Compact", - target: "Compact", - startTime: "BlockNumber", - }, - DebitAuctionItem: { - initialAmount: "Compact", - amount: "Compact", - fix: "Compact", - startTime: "BlockNumber", - }, - SurplusAuctionItem: { - amount: "Compact", - startTime: "BlockNumber", - }, - LiquidationStrategy: { - _enum: ["Auction", "Exchange"], - }, - OptionRate: "Option", - OptionRatio: "Option", - ChangeOptionRate: { - _enum: { - NoChange: "Null", - NewValue: "OptionRate", - }, - }, - ChangeOptionRatio: { - _enum: { - NoChange: "Null", - NewValue: "OptionRatio", - }, - }, - ChangeBalance: { - _enum: { - NoChange: "Null", - NewValue: "Balance", - }, - }, - RiskManagementParams: { - maximumTotalDebitValue: "Balance", - interestRatePerSec: "Option", - liquidationRatio: "Option", - liquidationPenalty: "Option", - requiredCollateralRatio: "Option", - }, - CandidateInfoOf: "CandidateInfo", - TradingPairProvisionParameters: { - minContribution: "(Balance, Balance)", - targetProvision: "(Balance, Balance)", - accumulatedProvision: "(Balance, Balance)", - notBefore: "BlockNumber", - }, - BalanceWrapper: { - amount: "Balance", - }, - BalanceRequest: { - amount: "Balance", - }, - TradingPairStatus: { - _enum: { - NotEnabled: "Null", - Provisioning: "TradingPairProvisionParameters", - Enabled: "Null", - }, - }, - Erc20Info: { - address: "EvmAddress", - name: "Vec", - symbol: "Vec", - decimals: "u8", - }, - EstimateResourcesResponse: { - gas: "u256", - storage: "i32", - weightFee: "u256", - }, - EvmAccountInfo: { - nonce: "Index", - contractInfo: "Option", - }, - CodeInfo: { - codeSize: "u32", - refCount: "u32", - }, - EvmContractInfo: { - codeHash: "H256", - maintainer: "H160", - deployed: "bool", - }, - EvmAddress: "H160", - CallRequest: { - from: "Option", - to: "Option", - gasLimit: "Option", - storageLimit: "Option", - value: "Option", - data: "Option", - }, - RedeemStrategy: { - _enum: { - Immediately: "Null", - Target: "EraIndex", - WaitForUnbonding: "Null", - }, - }, - RelaychainAccountId: "AccountId", - SlashInfo: { - validator: "RelaychainAccountId", - relaychainTokenAmount: "Balance", - }, - ValidatorBacking: { - totalInsurance: "Balance", - isFrozen: "bool", - }, - Guarantee: { - total: "Balance", - bonded: "Balance", - unbonding: "Option<(Balance, BlockNumber)>", - }, - PoolId: { - _enum: { - LoansIncentive: "CurrencyId", - DexIncentive: "CurrencyId", - HomaIncentive: "Null", - DexSaving: "CurrencyId", - HomaValidatorAllowance: "AccountId", - }, - }, - PoolIdV0: { - _enum: { - LoansIncentive: "CurrencyId", - DexIncentive: "CurrencyId", - HomaIncentive: "Null", - DexSaving: "CurrencyId", - HomaValidatorAllowance: "AccountId", - }, - }, - Position: { - collateral: "Balance", - debit: "Balance", - }, - CID: "Vec", - Attributes: "BTreeMap, Vec>", - TokenInfoOf: { - metadata: "CID", - owner: "AccountId", - data: "TokenData", - }, - Properties: { - _set: { - _bitLength: 8, - Transferable: 1, - Burnable: 2, - Mintable: 4, - ClassPropertiesMutable: 8, - }, - }, - ClassData: { - deposit: "Balance", - properties: "Properties", - attributes: "Attributes", - }, - TokenData: { - deposit: "Balance", - attributes: "Attributes", - }, - TokenId: "u64", - TokenIdOf: "TokenId", - NFTClassId: "u32", - ClassIdOf: "ClassId", - NFTBalance: "u128", - NFTBalanceOf: "NFTBalance", - ClassInfoOf: { - metadata: "CID", - totalIssuance: "TokenId", - owner: "AccountId", - data: "ClassData", - }, - NomineeId: "AccountId", - HomaUnlockChunk: { - value: "Balance", - era: "EraIndex", - }, - BondingLedger: { - total: "Balance", - active: "Balance", - unlocking: "Vec", - }, - OracleKey: "CurrencyId", - AsOriginId: "AuthoritysOriginId", - ProxyType: { - _enum: [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan", - ], - }, - AtLeast64BitUnsigned: "u128", - StableAssetPoolId: "u32", - RelayChainBlockNumberOf: "RelayChainBlockNumber", - SubAccountStatus: { - bonded: "Balance", - available: "Balance", - unbonding: "Vec<(EraIndex,Balance)>", - mockRewardRate: "Rate", - }, - Params: { - targetMaxFreeUnbondedRatio: "Ratio", - targetMinFreeUnbondedRatio: "Ratio", - targetUnbondingToFreeRatio: "Ratio", - unbondingToFreeAdjustment: "Ratio", - baseFeeRate: "Rate", - }, - StakingPoolPhase: { - _enum: [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished", - ], - }, - Ledger: { - bonded: "Balance", - unbondingToFree: "Balance", - freePool: "Balance", - toUnbondNextEra: "(Balance, Balance)", - }, - ChangeRate: { - _enum: { - NoChange: "Null", - NewValue: "Rate", - }, - }, - ChangeRatio: { - _enum: { - NoChange: "Null", - NewValue: "Ratio", - }, - }, - BalanceInfo: { - amount: "Balance", - }, - PolkadotAccountId: "AccountId", - PolkadotAccountIdOf: "PolkadotAccountId", - ExchangeRate: "FixedU128", - Rate: "FixedU128", - Ratio: "FixedU128", - PublicKey: "[u8; 20]", - DestAddress: "Vec", - PoolTokenIndex: "u32", - AssetId: "CurrencyId", - Keys: "SessionKeys1", - Address: "GenericMultiAddress", - LookupSource: "GenericMultiAddress", - MultiLocation: "MultiLocationV0", - MultiAsset: "MultiAssetV0", - Xcm: "XcmV0", - XcmOrder: "XcmOrderV0", - XcmError: "XcmErrorV0", - Response: "ResponseV0", + ScheduleTaskIndex: "u32", + DelayedOrigin: { + delay: "BlockNumber", + origin: "PalletsOrigin", }, - }, - { - minmax: [1008, 1009], - types: { - CallOf: "Call", - DispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - ScheduleTaskIndex: "u32", - DelayedOrigin: { - delay: "BlockNumber", - origin: "PalletsOrigin", - }, - AuthorityOrigin: "DelayedOrigin", - StorageValue: "Vec", - GraduallyUpdate: { - key: "StorageKey", - targetValue: "StorageValue", - perBlock: "StorageValue", - }, - StorageKeyBytes: "Vec", - StorageValueBytes: "Vec", - RpcDataProviderId: "Text", - DataProviderId: "u8", - TimestampedValue: { - value: "OracleValue", - timestamp: "Moment", - }, - TimestampedValueOf: "TimestampedValue", - OrderedSet: "Vec", - OrmlAccountData: { - free: "Balance", - reserved: "Balance", - frozen: "Balance", - }, - OrmlBalanceLock: { - amount: "Balance", - id: "LockIdentifier", - }, - AuctionInfo: { - bid: "Option<(AccountId, Balance)>", - start: "BlockNumber", - end: "Option", - }, - DelayedDispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - DispatchId: "u32", - Price: "FixedU128", - OrmlVestingSchedule: { - start: "BlockNumber", - period: "BlockNumber", - periodCount: "u32", - perPeriod: "Compact", - }, - VestingScheduleOf: "OrmlVestingSchedule", - OrmlCurrencyId: "CurrencyId", - PoolInfo: { - totalShares: "Compact", - totalRewards: "Compact", - totalWithdrawnRewards: "Compact", - }, - CompactBalance: "Compact", - PoolInfoV0: { - totalShares: "Compact", - totalRewards: "CompactBalance", - totalWithdrawnRewards: "CompactBalance", - }, - Share: "u128", - OracleValue: "Price", - Amount: "i128", - AmountOf: "Amount", - AuctionId: "u32", - AuctionIdOf: "AuctionId", - TokenSymbol: { - _enum: { - ACA: 0, - AUSD: 1, - DOT: 2, - LDOT: 3, - RENBTC: 20, - CASH: 21, - KAR: 128, - KUSD: 129, - KSM: 130, - LKSM: 131, - BNC: 168, - VSKSM: 169, - }, - }, - DexShare: { - _enum: { - Token: "TokenSymbol", - Erc20: "EvmAddress", - }, - }, - CurrencyId: { - _enum: { - Token: "TokenSymbol", - DEXShare: "(DexShare, DexShare)", - ERC20: "EvmAddress", - StableAssetPoolToken: "StableAssetPoolId", - }, - }, - CurrencyIdOf: "CurrencyId", - AirDropCurrencyId: { - _enum: ["KAR", "ACA"], - }, - AuthoritysOriginId: { - _enum: [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve", - ], - }, - AcalaDataProviderId: { - _enum: ["Aggregated", "Acala", "Band"], - }, - TradingPair: "(CurrencyId, CurrencyId)", - ChainBridgeChainId: "u8", - PalletBalanceOf: "Balance", - CollateralAuctionItem: { - refundRecipient: "AccountId", - currencyId: "CurrencyId", - initialAmount: "Compact", - amount: "Compact", - target: "Compact", - startTime: "BlockNumber", - }, - DebitAuctionItem: { - initialAmount: "Compact", - amount: "Compact", - fix: "Compact", - startTime: "BlockNumber", - }, - SurplusAuctionItem: { - amount: "Compact", - startTime: "BlockNumber", - }, - LiquidationStrategy: { - _enum: ["Auction", "Exchange"], - }, - OptionRate: "Option", - OptionRatio: "Option", - ChangeOptionRate: { - _enum: { - NoChange: "Null", - NewValue: "OptionRate", - }, - }, - ChangeOptionRatio: { - _enum: { - NoChange: "Null", - NewValue: "OptionRatio", - }, - }, - ChangeBalance: { - _enum: { - NoChange: "Null", - NewValue: "Balance", - }, - }, - RiskManagementParams: { - maximumTotalDebitValue: "Balance", - interestRatePerSec: "Option", - liquidationRatio: "Option", - liquidationPenalty: "Option", - requiredCollateralRatio: "Option", - }, - CandidateInfoOf: "CandidateInfo", - TradingPairProvisionParameters: { - minContribution: "(Balance, Balance)", - targetProvision: "(Balance, Balance)", - accumulatedProvision: "(Balance, Balance)", - notBefore: "BlockNumber", - }, - BalanceWrapper: { - amount: "Balance", - }, - BalanceRequest: { - amount: "Balance", - }, - TradingPairStatus: { - _enum: { - NotEnabled: "Null", - Provisioning: "TradingPairProvisionParameters", - Enabled: "Null", - }, - }, - Erc20Info: { - address: "EvmAddress", - name: "Vec", - symbol: "Vec", - decimals: "u8", - }, - EstimateResourcesResponse: { - gas: "u256", - storage: "i32", - weightFee: "u256", - }, - EvmAccountInfo: { - nonce: "Index", - contractInfo: "Option", - }, - CodeInfo: { - codeSize: "u32", - refCount: "u32", - }, - EvmContractInfo: { - codeHash: "H256", - maintainer: "H160", - deployed: "bool", - }, - EvmAddress: "H160", - CallRequest: { - from: "Option", - to: "Option", - gasLimit: "Option", - storageLimit: "Option", - value: "Option", - data: "Option", - }, - RedeemStrategy: { - _enum: { - Immediately: "Null", - Target: "EraIndex", - WaitForUnbonding: "Null", - }, - }, - RelaychainAccountId: "AccountId", - SlashInfo: { - validator: "RelaychainAccountId", - relaychainTokenAmount: "Balance", - }, - ValidatorBacking: { - totalInsurance: "Balance", - isFrozen: "bool", - }, - Guarantee: { - total: "Balance", - bonded: "Balance", - unbonding: "Option<(Balance, BlockNumber)>", - }, - PoolId: { - _enum: { - LoansIncentive: "CurrencyId", - DexIncentive: "CurrencyId", - HomaIncentive: "Null", - DexSaving: "CurrencyId", - HomaValidatorAllowance: "AccountId", - }, - }, - PoolIdV0: { - _enum: { - LoansIncentive: "CurrencyId", - DexIncentive: "CurrencyId", - HomaIncentive: "Null", - DexSaving: "CurrencyId", - HomaValidatorAllowance: "AccountId", - }, - }, - Position: { - collateral: "Balance", - debit: "Balance", - }, - CID: "Vec", - Attributes: "BTreeMap, Vec>", - TokenInfoOf: { - metadata: "CID", - owner: "AccountId", - data: "TokenData", - }, - Properties: { - _set: { - _bitLength: 8, - Transferable: 1, - Burnable: 2, - Mintable: 4, - ClassPropertiesMutable: 8, - }, - }, - ClassData: { - deposit: "Balance", - properties: "Properties", - attributes: "Attributes", - }, - TokenData: { - deposit: "Balance", - attributes: "Attributes", - }, - TokenId: "u64", - TokenIdOf: "TokenId", - NFTClassId: "u32", - ClassIdOf: "ClassId", - NFTBalance: "u128", - NFTBalanceOf: "NFTBalance", - ClassInfoOf: { - metadata: "CID", - totalIssuance: "TokenId", - owner: "AccountId", - data: "ClassData", - }, - NomineeId: "AccountId", - HomaUnlockChunk: { - value: "Balance", - era: "EraIndex", - }, - BondingLedger: { - total: "Balance", - active: "Balance", - unlocking: "Vec", - }, - OracleKey: "CurrencyId", - AsOriginId: "AuthoritysOriginId", - ProxyType: { - _enum: [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan", - ], - }, - AtLeast64BitUnsigned: "u128", - StableAssetPoolId: "u32", - RelayChainBlockNumberOf: "RelayChainBlockNumber", - SubAccountStatus: { - bonded: "Balance", - available: "Balance", - unbonding: "Vec<(EraIndex,Balance)>", - mockRewardRate: "Rate", - }, - Params: { - targetMaxFreeUnbondedRatio: "Ratio", - targetMinFreeUnbondedRatio: "Ratio", - targetUnbondingToFreeRatio: "Ratio", - unbondingToFreeAdjustment: "Ratio", - baseFeeRate: "Rate", - }, - StakingPoolPhase: { - _enum: [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished", - ], - }, - Ledger: { - bonded: "Balance", - unbondingToFree: "Balance", - freePool: "Balance", - toUnbondNextEra: "(Balance, Balance)", - }, - ChangeRate: { - _enum: { - NoChange: "Null", - NewValue: "Rate", - }, - }, - ChangeRatio: { - _enum: { - NoChange: "Null", - NewValue: "Ratio", - }, - }, - BalanceInfo: { - amount: "Balance", - }, - PolkadotAccountId: "AccountId", - PolkadotAccountIdOf: "PolkadotAccountId", - ExchangeRate: "FixedU128", - Rate: "FixedU128", - Ratio: "FixedU128", - PublicKey: "[u8; 20]", - DestAddress: "Vec", - PoolTokenIndex: "u32", - AssetId: "CurrencyId", - Keys: "SessionKeys1", - Address: "GenericMultiAddress", - LookupSource: "GenericMultiAddress", - MultiLocation: "MultiLocationV0", - MultiAsset: "MultiAssetV0", - Xcm: "XcmV0", - XcmOrder: "XcmOrderV0", - XcmError: "XcmErrorV0", - Response: "ResponseV0", + AuthorityOrigin: "DelayedOrigin", + StorageValue: "Vec", + GraduallyUpdate: { + key: "StorageKey", + targetValue: "StorageValue", + perBlock: "StorageValue", }, - }, - { - minmax: [1010, 1013], - types: { - CallOf: "Call", - DispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - ScheduleTaskIndex: "u32", - DelayedOrigin: { - delay: "BlockNumber", - origin: "PalletsOrigin", - }, - AuthorityOrigin: "DelayedOrigin", - StorageValue: "Vec", - GraduallyUpdate: { - key: "StorageKey", - targetValue: "StorageValue", - perBlock: "StorageValue", - }, - StorageKeyBytes: "Vec", - StorageValueBytes: "Vec", - RpcDataProviderId: "Text", - DataProviderId: "u8", - TimestampedValue: { - value: "OracleValue", - timestamp: "Moment", - }, - TimestampedValueOf: "TimestampedValue", - OrderedSet: "Vec", - OrmlAccountData: { - free: "Balance", - reserved: "Balance", - frozen: "Balance", - }, - OrmlBalanceLock: { - amount: "Balance", - id: "LockIdentifier", - }, - AuctionInfo: { - bid: "Option<(AccountId, Balance)>", - start: "BlockNumber", - end: "Option", - }, - DelayedDispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - DispatchId: "u32", - Price: "FixedU128", - OrmlVestingSchedule: { - start: "BlockNumber", - period: "BlockNumber", - periodCount: "u32", - perPeriod: "Compact", - }, - VestingScheduleOf: "OrmlVestingSchedule", - OrmlCurrencyId: "CurrencyId", - PoolInfo: { - totalShares: "Share", - rewards: "BTreeMap", - }, - CompactBalance: "Compact", - PoolInfoV0: { - totalShares: "Compact", - totalRewards: "CompactBalance", - totalWithdrawnRewards: "CompactBalance", - }, - Share: "u128", - OracleValue: "Price", - Amount: "i128", - AmountOf: "Amount", - AuctionId: "u32", - AuctionIdOf: "AuctionId", - TokenSymbol: { - _enum: { - ACA: 0, - AUSD: 1, - DOT: 2, - LDOT: 3, - RENBTC: 20, - CASH: 21, - KAR: 128, - KUSD: 129, - KSM: 130, - LKSM: 131, - BNC: 168, - VSKSM: 169, - }, - }, - DexShare: { - _enum: { - Token: "TokenSymbol", - Erc20: "EvmAddress", - }, - }, - CurrencyId: { - _enum: { - Token: "TokenSymbol", - DEXShare: "(DexShare, DexShare)", - ERC20: "EvmAddress", - StableAssetPoolToken: "StableAssetPoolId", - }, - }, - CurrencyIdOf: "CurrencyId", - AirDropCurrencyId: { - _enum: ["KAR", "ACA"], - }, - AuthoritysOriginId: { - _enum: [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve", - ], - }, - AcalaDataProviderId: { - _enum: ["Aggregated", "Acala", "Band"], - }, - TradingPair: "(CurrencyId, CurrencyId)", - ChainBridgeChainId: "u8", - PalletBalanceOf: "Balance", - CollateralAuctionItem: { - refundRecipient: "AccountId", - currencyId: "CurrencyId", - initialAmount: "Compact", - amount: "Compact", - target: "Compact", - startTime: "BlockNumber", - }, - DebitAuctionItem: { - initialAmount: "Compact", - amount: "Compact", - fix: "Compact", - startTime: "BlockNumber", - }, - SurplusAuctionItem: { - amount: "Compact", - startTime: "BlockNumber", - }, - LiquidationStrategy: { - _enum: ["Auction", "Exchange"], - }, - OptionRate: "Option", - OptionRatio: "Option", - ChangeOptionRate: { - _enum: { - NoChange: "Null", - NewValue: "OptionRate", - }, - }, - ChangeOptionRatio: { - _enum: { - NoChange: "Null", - NewValue: "OptionRatio", - }, - }, - ChangeBalance: { - _enum: { - NoChange: "Null", - NewValue: "Balance", - }, - }, - RiskManagementParams: { - maximumTotalDebitValue: "Balance", - interestRatePerSec: "Option", - liquidationRatio: "Option", - liquidationPenalty: "Option", - requiredCollateralRatio: "Option", - }, - CandidateInfoOf: "CandidateInfo", - TradingPairProvisionParameters: { - minContribution: "(Balance, Balance)", - targetProvision: "(Balance, Balance)", - accumulatedProvision: "(Balance, Balance)", - notBefore: "BlockNumber", - }, - BalanceWrapper: { - amount: "Balance", - }, - BalanceRequest: { - amount: "Balance", - }, - TradingPairStatus: { - _enum: { - NotEnabled: "Null", - Provisioning: "TradingPairProvisionParameters", - Enabled: "Null", - }, - }, - Erc20Info: { - address: "EvmAddress", - name: "Vec", - symbol: "Vec", - decimals: "u8", - }, - EstimateResourcesResponse: { - gas: "u256", - storage: "i32", - weightFee: "u256", - }, - EvmAccountInfo: { - nonce: "Index", - contractInfo: "Option", - }, - CodeInfo: { - codeSize: "u32", - refCount: "u32", - }, - EvmContractInfo: { - codeHash: "H256", - maintainer: "H160", - deployed: "bool", - }, - EvmAddress: "H160", - CallRequest: { - from: "Option", - to: "Option", - gasLimit: "Option", - storageLimit: "Option", - value: "Option", - data: "Option", - }, - RedeemStrategy: { - _enum: { - Immediately: "Null", - Target: "EraIndex", - WaitForUnbonding: "Null", - }, - }, - RelaychainAccountId: "AccountId", - SlashInfo: { - validator: "RelaychainAccountId", - relaychainTokenAmount: "Balance", - }, - ValidatorBacking: { - totalInsurance: "Balance", - isFrozen: "bool", - }, - Guarantee: { - total: "Balance", - bonded: "Balance", - unbonding: "Option<(Balance, BlockNumber)>", - }, - PoolId: { - _enum: { - Loans: "CurrencyId", - Dex: "CurrencyId", - }, - }, - PoolIdV0: { - _enum: { - LoansIncentive: "CurrencyId", - DexIncentive: "CurrencyId", - HomaIncentive: "Null", - DexSaving: "CurrencyId", - HomaValidatorAllowance: "AccountId", - }, - }, - Position: { - collateral: "Balance", - debit: "Balance", - }, - CID: "Vec", - Attributes: "BTreeMap, Vec>", - TokenInfoOf: { - metadata: "CID", - owner: "AccountId", - data: "TokenData", - }, - Properties: { - _set: { - _bitLength: 8, - Transferable: 1, - Burnable: 2, - Mintable: 4, - ClassPropertiesMutable: 8, - }, - }, - ClassData: { - deposit: "Balance", - properties: "Properties", - attributes: "Attributes", - }, - TokenData: { - deposit: "Balance", - attributes: "Attributes", - }, - TokenId: "u64", - TokenIdOf: "TokenId", - NFTClassId: "u32", - ClassIdOf: "ClassId", - NFTBalance: "u128", - NFTBalanceOf: "NFTBalance", - ClassInfoOf: { - metadata: "CID", - totalIssuance: "TokenId", - owner: "AccountId", - data: "ClassData", - }, - NomineeId: "AccountId", - HomaUnlockChunk: { - value: "Balance", - era: "EraIndex", - }, - BondingLedger: { - total: "Balance", - active: "Balance", - unlocking: "Vec", - }, - OracleKey: "CurrencyId", - AsOriginId: "AuthoritysOriginId", - ProxyType: { - _enum: [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan", - ], - }, - AtLeast64BitUnsigned: "u128", - StableAssetPoolId: "u32", - RelayChainBlockNumberOf: "RelayChainBlockNumber", - SubAccountStatus: { - bonded: "Balance", - available: "Balance", - unbonding: "Vec<(EraIndex,Balance)>", - mockRewardRate: "Rate", - }, - Params: { - targetMaxFreeUnbondedRatio: "Ratio", - targetMinFreeUnbondedRatio: "Ratio", - targetUnbondingToFreeRatio: "Ratio", - unbondingToFreeAdjustment: "Ratio", - baseFeeRate: "Rate", - }, - StakingPoolPhase: { - _enum: [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished", - ], - }, - Ledger: { - bonded: "Balance", - unbondingToFree: "Balance", - freePool: "Balance", - toUnbondNextEra: "(Balance, Balance)", - }, - ChangeRate: { - _enum: { - NoChange: "Null", - NewValue: "Rate", - }, - }, - ChangeRatio: { - _enum: { - NoChange: "Null", - NewValue: "Ratio", - }, - }, - BalanceInfo: { - amount: "Balance", - }, - PolkadotAccountId: "AccountId", - PolkadotAccountIdOf: "PolkadotAccountId", - ExchangeRate: "FixedU128", - Rate: "FixedU128", - Ratio: "FixedU128", - PublicKey: "[u8; 20]", - DestAddress: "Vec", - PoolTokenIndex: "u32", - AssetId: "CurrencyId", - Keys: "SessionKeys1", - Address: "GenericMultiAddress", - LookupSource: "GenericMultiAddress", - MultiLocation: "MultiLocationV0", - MultiAsset: "MultiAssetV0", - Xcm: "XcmV0", - XcmOrder: "XcmOrderV0", - XcmError: "XcmErrorV0", - Response: "ResponseV0", + StorageKeyBytes: "Vec", + StorageValueBytes: "Vec", + RpcDataProviderId: "Text", + DataProviderId: "u8", + TimestampedValue: { + value: "OracleValue", + timestamp: "Moment", }, - }, - { - minmax: [1014, 1018], - types: { - CallOf: "Call", - DispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - ScheduleTaskIndex: "u32", - DelayedOrigin: { - delay: "BlockNumber", - origin: "PalletsOrigin", - }, - AuthorityOrigin: "DelayedOrigin", - StorageValue: "Vec", - GraduallyUpdate: { - key: "StorageKey", - targetValue: "StorageValue", - perBlock: "StorageValue", - }, - StorageKeyBytes: "Vec", - StorageValueBytes: "Vec", - RpcDataProviderId: "Text", - DataProviderId: "u8", - TimestampedValue: { - value: "OracleValue", - timestamp: "Moment", - }, - TimestampedValueOf: "TimestampedValue", - OrderedSet: "Vec", - OrmlAccountData: { - free: "Balance", - reserved: "Balance", - frozen: "Balance", - }, - OrmlBalanceLock: { - amount: "Balance", - id: "LockIdentifier", - }, - AuctionInfo: { - bid: "Option<(AccountId, Balance)>", - start: "BlockNumber", - end: "Option", - }, - DelayedDispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - DispatchId: "u32", - Price: "FixedU128", - OrmlVestingSchedule: { - start: "BlockNumber", - period: "BlockNumber", - periodCount: "u32", - perPeriod: "Compact", - }, - VestingScheduleOf: "OrmlVestingSchedule", - OrmlCurrencyId: "CurrencyId", - PoolInfo: { - totalShares: "Share", - rewards: "BTreeMap", - }, - CompactBalance: "Compact", - PoolInfoV0: { - totalShares: "Compact", - totalRewards: "CompactBalance", - totalWithdrawnRewards: "CompactBalance", - }, - Share: "u128", - OracleValue: "Price", - Amount: "i128", - AmountOf: "Amount", - AuctionId: "u32", - AuctionIdOf: "AuctionId", - TokenSymbol: { - _enum: { - ACA: 0, - AUSD: 1, - DOT: 2, - LDOT: 3, - RENBTC: 20, - CASH: 21, - KAR: 128, - KUSD: 129, - KSM: 130, - LKSM: 131, - BNC: 168, - VSKSM: 169, - }, - }, - DexShare: { - _enum: { - Token: "TokenSymbol", - Erc20: "EvmAddress", - }, - }, - CurrencyId: { - _enum: { - Token: "TokenSymbol", - DEXShare: "(DexShare, DexShare)", - ERC20: "EvmAddress", - StableAssetPoolToken: "StableAssetPoolId", - }, - }, - CurrencyIdOf: "CurrencyId", - AirDropCurrencyId: { - _enum: ["KAR", "ACA"], - }, - AuthoritysOriginId: { - _enum: [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve", - ], - }, - AcalaDataProviderId: { - _enum: ["Aggregated", "Acala", "Band"], - }, - TradingPair: "(CurrencyId, CurrencyId)", - ChainBridgeChainId: "u8", - PalletBalanceOf: "Balance", - CollateralAuctionItem: { - refundRecipient: "AccountId", - currencyId: "CurrencyId", - initialAmount: "Compact", - amount: "Compact", - target: "Compact", - startTime: "BlockNumber", - }, - DebitAuctionItem: { - initialAmount: "Compact", - amount: "Compact", - fix: "Compact", - startTime: "BlockNumber", - }, - SurplusAuctionItem: { - amount: "Compact", - startTime: "BlockNumber", - }, - LiquidationStrategy: { - _enum: ["Auction", "Exchange"], - }, - OptionRate: "Option", - OptionRatio: "Option", - ChangeOptionRate: { - _enum: { - NoChange: "Null", - NewValue: "OptionRate", - }, - }, - ChangeOptionRatio: { - _enum: { - NoChange: "Null", - NewValue: "OptionRatio", - }, - }, - ChangeBalance: { - _enum: { - NoChange: "Null", - NewValue: "Balance", - }, - }, - RiskManagementParams: { - maximumTotalDebitValue: "Balance", - interestRatePerSec: "Option", - liquidationRatio: "Option", - liquidationPenalty: "Option", - requiredCollateralRatio: "Option", - }, - CandidateInfoOf: "CandidateInfo", - TradingPairProvisionParameters: { - minContribution: "(Balance, Balance)", - targetProvision: "(Balance, Balance)", - accumulatedProvision: "(Balance, Balance)", - notBefore: "BlockNumber", - }, - BalanceWrapper: { - amount: "Balance", - }, - BalanceRequest: { - amount: "Balance", - }, - TradingPairStatus: { - _enum: { - NotEnabled: "Null", - Provisioning: "TradingPairProvisionParameters", - Enabled: "Null", - }, - }, - Erc20Info: { - address: "EvmAddress", - name: "Vec", - symbol: "Vec", - decimals: "u8", - }, - EstimateResourcesResponse: { - gas: "u256", - storage: "i32", - weightFee: "u256", - }, - EvmAccountInfo: { - nonce: "Index", - contractInfo: "Option", - }, - CodeInfo: { - codeSize: "u32", - refCount: "u32", - }, - EvmContractInfo: { - codeHash: "H256", - maintainer: "H160", - deployed: "bool", - }, - EvmAddress: "H160", - CallRequest: { - from: "Option", - to: "Option", - gasLimit: "Option", - storageLimit: "Option", - value: "Option", - data: "Option", - }, - RedeemStrategy: { - _enum: { - Immediately: "Null", - Target: "EraIndex", - WaitForUnbonding: "Null", - }, - }, - RelaychainAccountId: "AccountId", - SlashInfo: { - validator: "RelaychainAccountId", - relaychainTokenAmount: "Balance", - }, - ValidatorBacking: { - totalInsurance: "Balance", - isFrozen: "bool", - }, - Guarantee: { - total: "Balance", - bonded: "Balance", - unbonding: "Option<(Balance, BlockNumber)>", - }, - PoolId: { - _enum: { - Loans: "CurrencyId", - Dex: "CurrencyId", - }, - }, - PoolIdV0: { - _enum: { - LoansIncentive: "CurrencyId", - DexIncentive: "CurrencyId", - HomaIncentive: "Null", - DexSaving: "CurrencyId", - HomaValidatorAllowance: "AccountId", - }, - }, - Position: { - collateral: "Balance", - debit: "Balance", - }, - CID: "Vec", - Attributes: "BTreeMap, Vec>", - TokenInfoOf: { - metadata: "CID", - owner: "AccountId", - data: "TokenData", - }, - Properties: { - _set: { - _bitLength: 8, - Transferable: 1, - Burnable: 2, - Mintable: 4, - ClassPropertiesMutable: 8, - }, - }, - ClassData: { - deposit: "Balance", - properties: "Properties", - attributes: "Attributes", - }, - TokenData: { - deposit: "Balance", - attributes: "Attributes", - }, - TokenId: "u64", - TokenIdOf: "TokenId", - NFTClassId: "u32", - ClassIdOf: "ClassId", - NFTBalance: "u128", - NFTBalanceOf: "NFTBalance", - ClassInfoOf: { - metadata: "CID", - totalIssuance: "TokenId", - owner: "AccountId", - data: "ClassData", - }, - NomineeId: "AccountId", - HomaUnlockChunk: { - value: "Balance", - era: "EraIndex", - }, - BondingLedger: { - total: "Balance", - active: "Balance", - unlocking: "Vec", - }, - OracleKey: "CurrencyId", - AsOriginId: "AuthoritysOriginId", - ProxyType: { - _enum: [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan", - ], - }, - AtLeast64BitUnsigned: "u128", - StableAssetPoolId: "u32", - RelayChainBlockNumberOf: "RelayChainBlockNumber", - SubAccountStatus: { - bonded: "Balance", - available: "Balance", - unbonding: "Vec<(EraIndex,Balance)>", - mockRewardRate: "Rate", - }, - Params: { - targetMaxFreeUnbondedRatio: "Ratio", - targetMinFreeUnbondedRatio: "Ratio", - targetUnbondingToFreeRatio: "Ratio", - unbondingToFreeAdjustment: "Ratio", - baseFeeRate: "Rate", - }, - StakingPoolPhase: { - _enum: [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished", - ], - }, - Ledger: { - bonded: "Balance", - unbondingToFree: "Balance", - freePool: "Balance", - toUnbondNextEra: "(Balance, Balance)", - }, - ChangeRate: { - _enum: { - NoChange: "Null", - NewValue: "Rate", - }, - }, - ChangeRatio: { - _enum: { - NoChange: "Null", - NewValue: "Ratio", - }, - }, - BalanceInfo: { - amount: "Balance", - }, - PolkadotAccountId: "AccountId", - PolkadotAccountIdOf: "PolkadotAccountId", - ExchangeRate: "FixedU128", - Rate: "FixedU128", - Ratio: "FixedU128", - PublicKey: "[u8; 20]", - DestAddress: "Vec", - PoolTokenIndex: "u32", - AssetId: "CurrencyId", - Keys: "SessionKeys1", - Address: "GenericMultiAddress", - LookupSource: "GenericMultiAddress", - MultiLocation: "MultiLocationV1", - MultiAsset: "MultiAssetV1", - Xcm: "XcmV1", - XcmOrder: "XcmOrderV1", - XcmError: "XcmErrorV1", - Response: "ResponseV1", + TimestampedValueOf: "TimestampedValue", + OrderedSet: "Vec", + OrmlAccountData: { + free: "Balance", + reserved: "Balance", + frozen: "Balance", }, - }, - { - minmax: [1019, null], - types: { - CallOf: "Call", - DispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - ScheduleTaskIndex: "u32", - DelayedOrigin: { - delay: "BlockNumber", - origin: "PalletsOrigin", - }, - AuthorityOrigin: "DelayedOrigin", - StorageValue: "Vec", - GraduallyUpdate: { - key: "StorageKey", - targetValue: "StorageValue", - perBlock: "StorageValue", - }, - StorageKeyBytes: "Vec", - StorageValueBytes: "Vec", - RpcDataProviderId: "Text", - DataProviderId: "u8", - TimestampedValue: { - value: "OracleValue", - timestamp: "Moment", - }, - TimestampedValueOf: "TimestampedValue", - OrderedSet: "Vec", - OrmlAccountData: { - free: "Balance", - reserved: "Balance", - frozen: "Balance", - }, - OrmlBalanceLock: { - amount: "Balance", - id: "LockIdentifier", - }, - AuctionInfo: { - bid: "Option<(AccountId, Balance)>", - start: "BlockNumber", - end: "Option", - }, - DelayedDispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - DispatchId: "u32", - Price: "FixedU128", - OrmlVestingSchedule: { - start: "BlockNumber", - period: "BlockNumber", - periodCount: "u32", - perPeriod: "Compact", - }, - VestingScheduleOf: "OrmlVestingSchedule", - OrmlCurrencyId: "CurrencyId", - PoolInfo: { - totalShares: "Share", - rewards: "BTreeMap", - }, - CompactBalance: "Compact", - PoolInfoV0: { - totalShares: "Compact", - totalRewards: "CompactBalance", - totalWithdrawnRewards: "CompactBalance", - }, - Share: "u128", - OracleValue: "Price", - Amount: "i128", - AmountOf: "Amount", - AuctionId: "u32", - AuctionIdOf: "AuctionId", - TokenSymbol: { - _enum: { - ACA: 0, - AUSD: 1, - DOT: 2, - LDOT: 3, - RENBTC: 20, - CASH: 21, - KAR: 128, - KUSD: 129, - KSM: 130, - LKSM: 131, - BNC: 168, - VSKSM: 169, - }, - }, - DexShare: { - _enum: { - Token: "TokenSymbol", - Erc20: "EvmAddress", - }, - }, - CurrencyId: { - _enum: { - Token: "TokenSymbol", - DEXShare: "(DexShare, DexShare)", - ERC20: "EvmAddress", - StableAssetPoolToken: "StableAssetPoolId", - }, - }, - CurrencyIdOf: "CurrencyId", - AirDropCurrencyId: { - _enum: ["KAR", "ACA"], - }, - AuthoritysOriginId: { - _enum: [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve", - ], - }, - AcalaDataProviderId: { - _enum: ["Aggregated", "Acala", "Band"], - }, - TradingPair: "(CurrencyId, CurrencyId)", - ChainBridgeChainId: "u8", - PalletBalanceOf: "Balance", - CollateralAuctionItem: { - refundRecipient: "AccountId", - currencyId: "CurrencyId", - initialAmount: "Compact", - amount: "Compact", - target: "Compact", - startTime: "BlockNumber", - }, - DebitAuctionItem: { - initialAmount: "Compact", - amount: "Compact", - fix: "Compact", - startTime: "BlockNumber", - }, - SurplusAuctionItem: { - amount: "Compact", - startTime: "BlockNumber", - }, - LiquidationStrategy: { - _enum: ["Auction", "Exchange"], - }, - OptionRate: "Option", - OptionRatio: "Option", - ChangeOptionRate: { - _enum: { - NoChange: "Null", - NewValue: "OptionRate", - }, - }, - ChangeOptionRatio: { - _enum: { - NoChange: "Null", - NewValue: "OptionRatio", - }, - }, - ChangeBalance: { - _enum: { - NoChange: "Null", - NewValue: "Balance", - }, - }, - RiskManagementParams: { - maximumTotalDebitValue: "Balance", - interestRatePerSec: "Option", - liquidationRatio: "Option", - liquidationPenalty: "Option", - requiredCollateralRatio: "Option", - }, - CandidateInfoOf: "CandidateInfo", - TradingPairProvisionParameters: { - minContribution: "(Balance, Balance)", - targetProvision: "(Balance, Balance)", - accumulatedProvision: "(Balance, Balance)", - notBefore: "BlockNumber", - }, - BalanceWrapper: { - amount: "Balance", - }, - BalanceRequest: { - amount: "Balance", - }, - TradingPairStatus: { - _enum: { - NotEnabled: "Null", - Provisioning: "TradingPairProvisionParameters", - Enabled: "Null", - }, - }, - Erc20Info: { - address: "EvmAddress", - name: "Vec", - symbol: "Vec", - decimals: "u8", - }, - EstimateResourcesResponse: { - gas: "u256", - storage: "i32", - weightFee: "u256", - }, - EvmAccountInfo: { - nonce: "Index", - contractInfo: "Option", - }, - CodeInfo: { - codeSize: "u32", - refCount: "u32", - }, - EvmContractInfo: { - codeHash: "H256", - maintainer: "H160", - deployed: "bool", - }, - EvmAddress: "H160", - CallRequest: { - from: "Option", - to: "Option", - gasLimit: "Option", - storageLimit: "Option", - value: "Option", - data: "Option", - }, - RedeemStrategy: { - _enum: { - Immediately: "Null", - Target: "EraIndex", - WaitForUnbonding: "Null", - }, - }, - RelaychainAccountId: "AccountId", - SlashInfo: { - validator: "RelaychainAccountId", - relaychainTokenAmount: "Balance", - }, - ValidatorBacking: { - totalInsurance: "Balance", - isFrozen: "bool", - }, - Guarantee: { - total: "Balance", - bonded: "Balance", - unbonding: "Option<(Balance, BlockNumber)>", - }, - PoolId: { - _enum: { - Loans: "CurrencyId", - Dex: "CurrencyId", - }, - }, - PoolIdV0: { - _enum: { - LoansIncentive: "CurrencyId", - DexIncentive: "CurrencyId", - HomaIncentive: "Null", - DexSaving: "CurrencyId", - HomaValidatorAllowance: "AccountId", - }, - }, - Position: { - collateral: "Balance", - debit: "Balance", - }, - CID: "Vec", - Attributes: "BTreeMap, Vec>", - TokenInfoOf: { - metadata: "CID", - owner: "AccountId", - data: "TokenData", - }, - Properties: { - _set: { - _bitLength: 8, - Transferable: 1, - Burnable: 2, - Mintable: 4, - ClassPropertiesMutable: 8, - }, - }, - ClassData: { - deposit: "Balance", - properties: "Properties", - attributes: "Attributes", - }, - TokenData: { - deposit: "Balance", - attributes: "Attributes", - }, - TokenId: "u64", - TokenIdOf: "TokenId", - NFTClassId: "u32", - ClassIdOf: "ClassId", - NFTBalance: "u128", - NFTBalanceOf: "NFTBalance", - ClassInfoOf: { - metadata: "CID", - totalIssuance: "TokenId", - owner: "AccountId", - data: "ClassData", - }, - NomineeId: "AccountId", - HomaUnlockChunk: { - value: "Balance", - era: "EraIndex", - }, - BondingLedger: { - total: "Balance", - active: "Balance", - unlocking: "Vec", - }, - OracleKey: "CurrencyId", - AsOriginId: "AuthoritysOriginId", - ProxyType: { - _enum: [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan", - ], - }, - AtLeast64BitUnsigned: "u128", - StableAssetPoolId: "u32", - RelayChainBlockNumberOf: "RelayChainBlockNumber", - SubAccountStatus: { - bonded: "Balance", - available: "Balance", - unbonding: "Vec<(EraIndex,Balance)>", - mockRewardRate: "Rate", - }, - Params: { - targetMaxFreeUnbondedRatio: "Ratio", - targetMinFreeUnbondedRatio: "Ratio", - targetUnbondingToFreeRatio: "Ratio", - unbondingToFreeAdjustment: "Ratio", - baseFeeRate: "Rate", - }, - StakingPoolPhase: { - _enum: [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished", - ], - }, - Ledger: { - bonded: "Balance", - unbondingToFree: "Balance", - freePool: "Balance", - toUnbondNextEra: "(Balance, Balance)", - }, - ChangeRate: { - _enum: { - NoChange: "Null", - NewValue: "Rate", - }, - }, - ChangeRatio: { - _enum: { - NoChange: "Null", - NewValue: "Ratio", - }, - }, - BalanceInfo: { - amount: "Balance", - }, - PolkadotAccountId: "AccountId", - PolkadotAccountIdOf: "PolkadotAccountId", - ExchangeRate: "FixedU128", - Rate: "FixedU128", - Ratio: "FixedU128", - PublicKey: "[u8; 20]", - DestAddress: "Vec", - PoolTokenIndex: "u32", - AssetId: "CurrencyId", - Keys: "SessionKeys1", - Address: "GenericMultiAddress", - LookupSource: "GenericMultiAddress", + OrmlBalanceLock: { + amount: "Balance", + id: "LockIdentifier", }, - }, - ], - alias: { - stakingPool: { - Phase: "StakingPoolPhase", - }, - nomineesElection: { - UnlockChunk: "HomaUnlockChunk", - }, - evm: { - AccountInfo: "EvmAccountInfo", - ContractInfo: "EvmContractInfo", - }, - rewards: { + AuctionInfo: { + bid: "Option<(AccountId, Balance)>", + start: "BlockNumber", + end: "Option", + }, + DelayedDispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + DispatchId: "u32", + Price: "FixedU128", + OrmlVestingSchedule: { + start: "BlockNumber", + period: "BlockNumber", + periodCount: "u32", + perPeriod: "Compact", + }, + VestingScheduleOf: "OrmlVestingSchedule", OrmlCurrencyId: "CurrencyId", - }, - oracle: { - DataProviderId: "AcalaDataProviderId", - }, - chainBridge: { - ChainId: "ChainBridgeChainId", - }, - tokens: { - AccountData: "OrmlAccountData", - BalanceLock: "OrmlBalanceLock", - }, - }, - }, - karura: { - rpc: { - oracle: { - getValue: { - description: "Retrieves the oracle value for a given key.", - params: [ - { - name: "providerId", - type: "RpcDataProviderId", - }, - { - name: "key", - type: "OracleKey", - }, - { - name: "at", - type: "BlockHash", - isHistoric: true, - isOptional: true, - }, - ], - type: "Option", - isSubscription: false, - jsonrpc: "oracle_getValue", - method: "getValue", - section: "oracle", - }, - getAllValues: { - description: "Retrieves all oracle values.", - params: [ - { - name: "providerId", - type: "RpcDataProviderId", - }, - { - name: "at", - type: "BlockHash", - isHistoric: true, - isOptional: true, - }, - ], - type: "Vec<(OracleKey, Option)>", - isSubscription: false, - jsonrpc: "oracle_getAllValues", - method: "getAllValues", - section: "oracle", + PoolInfo: { + totalShares: "Share", + rewards: "BTreeMap", }, - }, - dex: { - getSupplyAmount: { - description: "Get supply amount", - params: [ - { - name: "supplyCurrencyId", - type: "CurrencyId", - }, - { - name: "targetCurrencyId", - type: "CurrencyId", - }, - { - name: "targetCurrencyAmount", - type: "BalanceRequest", - }, - ], - type: "BalanceWrapper", - isSubscription: false, - jsonrpc: "dex_getSupplyAmount", - method: "getSupplyAmount", - section: "dex", - }, - getTargetAmount: { - description: "Get target amount", - params: [ - { - name: "supplyCurrencyId", - type: "CurrencyId", - }, - { - name: "targetCurrencyId", - type: "CurrencyId", - }, - { - name: "supplyCurrencyAmount", - type: "BalanceRequest", - }, - ], - type: "BalanceWrapper", - isSubscription: false, - jsonrpc: "dex_getTargetAmount", - method: "getTargetAmount", - section: "dex", + CompactBalance: "Compact", + PoolInfoV0: { + totalShares: "Compact", + totalRewards: "CompactBalance", + totalWithdrawnRewards: "CompactBalance", }, - }, - evm: { - call: { - description: "eth call", - params: [ - { - name: "data", - type: "CallRequest", - }, - { - name: "at", - type: "BlockHash", - isHistoric: true, - isOptional: true, - }, + Share: "u128", + OracleValue: "Price", + Amount: "i128", + AmountOf: "Amount", + AuctionId: "u32", + AuctionIdOf: "AuctionId", + TokenSymbol: { + _enum: ["ACA", "AUSD", "DOT", "XBTC", "LDOT", "RENBTC"], + }, + DexShare: { + _enum: { + Token: "TokenSymbol", + Erc20: "EvmAddress", + }, + }, + CurrencyId: { + _enum: { + Token: "TokenSymbol", + DEXShare: "(DexShare, DexShare)", + ERC20: "EvmAddress", + StableAssetPoolToken: "StableAssetPoolId", + }, + }, + CurrencyIdOf: "CurrencyId", + AirDropCurrencyId: { + _enum: ["KAR", "ACA"], + }, + AuthoritysOriginId: { + _enum: [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve", ], - type: "Raw", - isSubscription: false, - jsonrpc: "evm_call", - method: "call", - section: "evm", - }, - estimateResources: { - description: "eth estimateResources", - params: [ - { - name: "from", - type: "H160", - }, - { - name: "unsignedExtrinsic", - type: "Bytes", - }, - { - name: "at", - type: "BlockHash", - isHistoric: true, - isOptional: true, - }, + }, + AcalaDataProviderId: { + _enum: ["Aggregated", "Acala", "Band"], + }, + TradingPair: "(CurrencyId, CurrencyId)", + ChainBridgeChainId: "u8", + PalletBalanceOf: "Balance", + CollateralAuctionItem: { + refundRecipient: "AccountId", + currencyId: "CurrencyId", + initialAmount: "Compact", + amount: "Compact", + target: "Compact", + startTime: "BlockNumber", + }, + DebitAuctionItem: { + initialAmount: "Compact", + amount: "Compact", + fix: "Compact", + startTime: "BlockNumber", + }, + SurplusAuctionItem: { + amount: "Compact", + startTime: "BlockNumber", + }, + LiquidationStrategy: { + _enum: ["Auction", "Exchange"], + }, + OptionRate: "Option", + OptionRatio: "Option", + ChangeOptionRate: { + _enum: { + NoChange: "Null", + NewValue: "OptionRate", + }, + }, + ChangeOptionRatio: { + _enum: { + NoChange: "Null", + NewValue: "OptionRatio", + }, + }, + ChangeBalance: { + _enum: { + NoChange: "Null", + NewValue: "Balance", + }, + }, + RiskManagementParams: { + maximumTotalDebitValue: "Balance", + interestRatePerSec: "Option", + liquidationRatio: "Option", + liquidationPenalty: "Option", + requiredCollateralRatio: "Option", + }, + CandidateInfoOf: "CandidateInfo", + TradingPairProvisionParameters: { + minContribution: "(Balance, Balance)", + targetProvision: "(Balance, Balance)", + accumulatedProvision: "(Balance, Balance)", + notBefore: "BlockNumber", + }, + BalanceWrapper: { + amount: "Balance", + }, + BalanceRequest: { + amount: "Balance", + }, + TradingPairStatus: { + _enum: { + NotEnabled: "Null", + Provisioning: "TradingPairProvisionParameters", + Enabled: "Null", + }, + }, + Erc20Info: { + address: "EvmAddress", + name: "Vec", + symbol: "Vec", + decimals: "u8", + }, + EstimateResourcesResponse: { + gas: "u256", + storage: "i32", + weightFee: "u256", + }, + EvmAccountInfo: { + nonce: "Index", + contractInfo: "Option", + }, + CodeInfo: { + codeSize: "u32", + refCount: "u32", + }, + EvmContractInfo: { + codeHash: "H256", + maintainer: "H160", + deployed: "bool", + }, + EvmAddress: "H160", + CallRequest: { + from: "Option", + to: "Option", + gasLimit: "Option", + storageLimit: "Option", + value: "Option", + data: "Option", + }, + RedeemStrategy: { + _enum: { + Immediately: "Null", + Target: "EraIndex", + WaitForUnbonding: "Null", + }, + }, + RelaychainAccountId: "AccountId", + SlashInfo: { + validator: "RelaychainAccountId", + relaychainTokenAmount: "Balance", + }, + ValidatorBacking: { + totalInsurance: "Balance", + isFrozen: "bool", + }, + Guarantee: { + total: "Balance", + bonded: "Balance", + unbonding: "Option<(Balance, BlockNumber)>", + }, + PoolId: { + _enum: { + Loans: "CurrencyId", + DexIncentive: "CurrencyId", + DexSaving: "CurrencyId", + Homa: "Null", + }, + }, + PoolIdV0: { + _enum: { + LoansIncentive: "CurrencyId", + DexIncentive: "CurrencyId", + HomaIncentive: "Null", + DexSaving: "CurrencyId", + HomaValidatorAllowance: "AccountId", + }, + }, + Position: { + collateral: "Balance", + debit: "Balance", + }, + CID: "Vec", + Attributes: "BTreeMap, Vec>", + TokenInfoOf: { + metadata: "CID", + owner: "AccountId", + data: "TokenData", + }, + Properties: { + _set: { + _bitLength: 8, + Transferable: 1, + Burnable: 2, + Mintable: 4, + ClassPropertiesMutable: 8, + }, + }, + ClassData: { + deposit: "Balance", + properties: "Properties", + attributes: "Attributes", + }, + TokenData: { + deposit: "Balance", + attributes: "Attributes", + }, + TokenId: "u64", + TokenIdOf: "TokenId", + NFTClassId: "u32", + ClassIdOf: "ClassId", + NFTBalance: "u128", + NFTBalanceOf: "NFTBalance", + ClassInfoOf: { + metadata: "CID", + totalIssuance: "TokenId", + owner: "AccountId", + data: "ClassData", + }, + NomineeId: "AccountId", + HomaUnlockChunk: { + value: "Balance", + era: "EraIndex", + }, + BondingLedger: { + total: "Balance", + active: "Balance", + unlocking: "Vec", + }, + OracleKey: "CurrencyId", + AsOriginId: "AuthoritysOriginId", + ProxyType: { + _enum: [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan", ], - type: "EstimateResourcesResponse", - isSubscription: false, - jsonrpc: "evm_estimateResources", - method: "estimateResources", - section: "evm", }, - }, - stakingPool: { - getAvailableUnbonded: { - description: "Get Available Unbonded", - params: [ - { - name: "account", - type: "AccountId", - }, + AtLeast64BitUnsigned: "u128", + StableAssetPoolId: "u32", + RelayChainBlockNumberOf: "RelayChainBlockNumber", + SubAccountStatus: { + bonded: "Balance", + available: "Balance", + unbonding: "Vec<(EraIndex,Balance)>", + mockRewardRate: "Rate", + }, + Params: { + targetMaxFreeUnbondedRatio: "Ratio", + targetMinFreeUnbondedRatio: "Ratio", + targetUnbondingToFreeRatio: "Ratio", + unbondingToFreeAdjustment: "Ratio", + baseFeeRate: "Rate", + }, + StakingPoolPhase: { + _enum: [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished", ], - type: "BalanceInfo", - isSubscription: false, - jsonrpc: "stakingPool_getAvailableUnbonded", - method: "getAvailableUnbonded", - section: "stakingPool", - }, - getLiquidStakingExchangeRate: { - description: "get liquid staking exchange rate", - params: [], - type: "ExchangeRate", - isSubscription: false, - jsonrpc: "stakingPool_getLiquidStakingExchangeRate", - method: "getLiquidStakingExchangeRate", - section: "stakingPool", }, - }, - }, - instances: { - council: ["generalCouncil"], - }, - types: [ - { - minmax: [600, 699], - types: { - CallOf: "Call", - DispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - ScheduleTaskIndex: "u32", - DelayedOrigin: { - delay: "BlockNumber", - origin: "PalletsOrigin", - }, - AuthorityOrigin: "DelayedOrigin", - StorageValue: "Vec", - GraduallyUpdate: { - key: "StorageKey", - targetValue: "StorageValue", - perBlock: "StorageValue", - }, - StorageKeyBytes: "Vec", - StorageValueBytes: "Vec", - RpcDataProviderId: "Text", - DataProviderId: "u8", - TimestampedValue: { - value: "OracleValue", - timestamp: "Moment", - }, - TimestampedValueOf: "TimestampedValue", - OrderedSet: "Vec", - OrmlAccountData: { - free: "Balance", - reserved: "Balance", - frozen: "Balance", - }, - OrmlBalanceLock: { - amount: "Balance", - id: "LockIdentifier", - }, - AuctionInfo: { - bid: "Option<(AccountId, Balance)>", - start: "BlockNumber", - end: "Option", - }, - DelayedDispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - DispatchId: "u32", - Price: "FixedU128", - OrmlVestingSchedule: { - start: "BlockNumber", - period: "BlockNumber", - periodCount: "u32", - perPeriod: "Compact", - }, - VestingScheduleOf: "OrmlVestingSchedule", - OrmlCurrencyId: "CurrencyId", - PoolInfo: { - totalShares: "Share", - rewards: "BTreeMap", - }, - CompactBalance: "Compact", - PoolInfoV0: { - totalShares: "Compact", - totalRewards: "CompactBalance", - totalWithdrawnRewards: "CompactBalance", - }, - Share: "u128", - OracleValue: "Price", - Amount: "i128", - AmountOf: "Amount", - AuctionId: "u32", - AuctionIdOf: "AuctionId", - TokenSymbol: { - _enum: ["ACA", "AUSD", "DOT", "XBTC", "LDOT", "RENBTC"], - }, - DexShare: { - _enum: { - Token: "TokenSymbol", - Erc20: "EvmAddress", - }, - }, - CurrencyId: { - _enum: { - Token: "TokenSymbol", - DEXShare: "(DexShare, DexShare)", - ERC20: "EvmAddress", - StableAssetPoolToken: "StableAssetPoolId", - }, - }, - CurrencyIdOf: "CurrencyId", - AirDropCurrencyId: { - _enum: ["KAR", "ACA"], - }, - AuthoritysOriginId: { - _enum: [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve", - ], - }, - AcalaDataProviderId: { - _enum: ["Aggregated", "Acala", "Band"], - }, - TradingPair: "(CurrencyId, CurrencyId)", - ChainBridgeChainId: "u8", - PalletBalanceOf: "Balance", - CollateralAuctionItem: { - refundRecipient: "AccountId", - currencyId: "CurrencyId", - initialAmount: "Compact", - amount: "Compact", - target: "Compact", - startTime: "BlockNumber", - }, - DebitAuctionItem: { - initialAmount: "Compact", - amount: "Compact", - fix: "Compact", - startTime: "BlockNumber", - }, - SurplusAuctionItem: { - amount: "Compact", - startTime: "BlockNumber", - }, - LiquidationStrategy: { - _enum: ["Auction", "Exchange"], - }, - OptionRate: "Option", - OptionRatio: "Option", - ChangeOptionRate: { - _enum: { - NoChange: "Null", - NewValue: "OptionRate", - }, - }, - ChangeOptionRatio: { - _enum: { - NoChange: "Null", - NewValue: "OptionRatio", - }, - }, - ChangeBalance: { - _enum: { - NoChange: "Null", - NewValue: "Balance", - }, - }, - RiskManagementParams: { - maximumTotalDebitValue: "Balance", - interestRatePerSec: "Option", - liquidationRatio: "Option", - liquidationPenalty: "Option", - requiredCollateralRatio: "Option", - }, - CandidateInfoOf: "CandidateInfo", - TradingPairProvisionParameters: { - minContribution: "(Balance, Balance)", - targetProvision: "(Balance, Balance)", - accumulatedProvision: "(Balance, Balance)", - notBefore: "BlockNumber", - }, - BalanceWrapper: { - amount: "Balance", - }, - BalanceRequest: { - amount: "Balance", - }, - TradingPairStatus: { - _enum: { - NotEnabled: "Null", - Provisioning: "TradingPairProvisionParameters", - Enabled: "Null", - }, - }, - Erc20Info: { - address: "EvmAddress", - name: "Vec", - symbol: "Vec", - decimals: "u8", - }, - EstimateResourcesResponse: { - gas: "u256", - storage: "i32", - weightFee: "u256", - }, - EvmAccountInfo: { - nonce: "Index", - contractInfo: "Option", - }, - CodeInfo: { - codeSize: "u32", - refCount: "u32", - }, - EvmContractInfo: { - codeHash: "H256", - maintainer: "H160", - deployed: "bool", - }, - EvmAddress: "H160", - CallRequest: { - from: "Option", - to: "Option", - gasLimit: "Option", - storageLimit: "Option", - value: "Option", - data: "Option", - }, - RedeemStrategy: { - _enum: { - Immediately: "Null", - Target: "EraIndex", - WaitForUnbonding: "Null", - }, - }, - RelaychainAccountId: "AccountId", - SlashInfo: { - validator: "RelaychainAccountId", - relaychainTokenAmount: "Balance", - }, - ValidatorBacking: { - totalInsurance: "Balance", - isFrozen: "bool", - }, - Guarantee: { - total: "Balance", - bonded: "Balance", - unbonding: "Option<(Balance, BlockNumber)>", - }, - PoolId: { - _enum: { - Loans: "CurrencyId", - DexIncentive: "CurrencyId", - DexSaving: "CurrencyId", - Homa: "Null", - }, - }, - PoolIdV0: { - _enum: { - LoansIncentive: "CurrencyId", - DexIncentive: "CurrencyId", - HomaIncentive: "Null", - DexSaving: "CurrencyId", - HomaValidatorAllowance: "AccountId", - }, - }, - Position: { - collateral: "Balance", - debit: "Balance", - }, - CID: "Vec", - Attributes: "BTreeMap, Vec>", - TokenInfoOf: { - metadata: "CID", - owner: "AccountId", - data: "TokenData", - }, - Properties: { - _set: { - _bitLength: 8, - Transferable: 1, - Burnable: 2, - Mintable: 4, - ClassPropertiesMutable: 8, - }, - }, - ClassData: { - deposit: "Balance", - properties: "Properties", - attributes: "Attributes", - }, - TokenData: { - deposit: "Balance", - attributes: "Attributes", - }, - TokenId: "u64", - TokenIdOf: "TokenId", - NFTClassId: "u32", - ClassIdOf: "ClassId", - NFTBalance: "u128", - NFTBalanceOf: "NFTBalance", - ClassInfoOf: { - metadata: "CID", - totalIssuance: "TokenId", - owner: "AccountId", - data: "ClassData", - }, - NomineeId: "AccountId", - HomaUnlockChunk: { - value: "Balance", - era: "EraIndex", - }, - BondingLedger: { - total: "Balance", - active: "Balance", - unlocking: "Vec", - }, - OracleKey: "CurrencyId", - AsOriginId: "AuthoritysOriginId", - ProxyType: { - _enum: [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan", - ], - }, - AtLeast64BitUnsigned: "u128", - StableAssetPoolId: "u32", - RelayChainBlockNumberOf: "RelayChainBlockNumber", - SubAccountStatus: { - bonded: "Balance", - available: "Balance", - unbonding: "Vec<(EraIndex,Balance)>", - mockRewardRate: "Rate", - }, - Params: { - targetMaxFreeUnbondedRatio: "Ratio", - targetMinFreeUnbondedRatio: "Ratio", - targetUnbondingToFreeRatio: "Ratio", - unbondingToFreeAdjustment: "Ratio", - baseFeeRate: "Rate", - }, - StakingPoolPhase: { - _enum: [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished", - ], - }, - Ledger: { - bonded: "Balance", - unbondingToFree: "Balance", - freePool: "Balance", - toUnbondNextEra: "(Balance, Balance)", - }, - ChangeRate: { - _enum: { - NoChange: "Null", - NewValue: "Rate", - }, - }, - ChangeRatio: { - _enum: { - NoChange: "Null", - NewValue: "Ratio", - }, - }, - BalanceInfo: { - amount: "Balance", - }, - PolkadotAccountId: "AccountId", - PolkadotAccountIdOf: "PolkadotAccountId", - ExchangeRate: "FixedU128", - Rate: "FixedU128", - Ratio: "FixedU128", - PublicKey: "[u8; 20]", - DestAddress: "Vec", - PoolTokenIndex: "u32", - AssetId: "CurrencyId", - Keys: "SessionKeys1", - MultiLocation: "MultiLocationV0", - MultiAsset: "MultiAssetV0", - Xcm: "XcmV0", - XcmOrder: "XcmOrderV0", - XcmError: "XcmErrorV0", - Response: "ResponseV0", - Address: "LookupSource", - LookupSource: "IndicesLookupSource", + Ledger: { + bonded: "Balance", + unbondingToFree: "Balance", + freePool: "Balance", + toUnbondNextEra: "(Balance, Balance)", }, - }, - { - minmax: [700, 719], - types: { - CallOf: "Call", - DispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - ScheduleTaskIndex: "u32", - DelayedOrigin: { - delay: "BlockNumber", - origin: "PalletsOrigin", - }, - AuthorityOrigin: "DelayedOrigin", - StorageValue: "Vec", - GraduallyUpdate: { - key: "StorageKey", - targetValue: "StorageValue", - perBlock: "StorageValue", - }, - StorageKeyBytes: "Vec", - StorageValueBytes: "Vec", - RpcDataProviderId: "Text", - DataProviderId: "u8", - TimestampedValue: { - value: "OracleValue", - timestamp: "Moment", - }, - TimestampedValueOf: "TimestampedValue", - OrderedSet: "Vec", - OrmlAccountData: { - free: "Balance", - reserved: "Balance", - frozen: "Balance", - }, - OrmlBalanceLock: { - amount: "Balance", - id: "LockIdentifier", - }, - AuctionInfo: { - bid: "Option<(AccountId, Balance)>", - start: "BlockNumber", - end: "Option", - }, - DelayedDispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - DispatchId: "u32", - Price: "FixedU128", - OrmlVestingSchedule: { - start: "BlockNumber", - period: "BlockNumber", - periodCount: "u32", - perPeriod: "Compact", - }, - VestingScheduleOf: "OrmlVestingSchedule", - OrmlCurrencyId: "CurrencyId", - PoolInfo: { - totalShares: "Share", - rewards: "BTreeMap", - }, - CompactBalance: "Compact", - PoolInfoV0: { - totalShares: "Compact", - totalRewards: "CompactBalance", - totalWithdrawnRewards: "CompactBalance", - }, - Share: "u128", - OracleValue: "Price", - Amount: "i128", - AmountOf: "Amount", - AuctionId: "u32", - AuctionIdOf: "AuctionId", - TokenSymbol: { - _enum: ["ACA", "AUSD", "DOT", "XBTC", "LDOT", "RENBTC"], - }, - DexShare: { - _enum: { - Token: "TokenSymbol", - Erc20: "EvmAddress", - }, - }, - CurrencyId: { - _enum: { - Token: "TokenSymbol", - DEXShare: "(DexShare, DexShare)", - ERC20: "EvmAddress", - StableAssetPoolToken: "StableAssetPoolId", - }, - }, - CurrencyIdOf: "CurrencyId", - AirDropCurrencyId: { - _enum: ["KAR", "ACA"], - }, - AuthoritysOriginId: { - _enum: [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve", - ], - }, - AcalaDataProviderId: { - _enum: ["Aggregated", "Acala", "Band"], - }, - TradingPair: "(CurrencyId, CurrencyId)", - ChainBridgeChainId: "u8", - PalletBalanceOf: "Balance", - CollateralAuctionItem: { - refundRecipient: "AccountId", - currencyId: "CurrencyId", - initialAmount: "Compact", - amount: "Compact", - target: "Compact", - startTime: "BlockNumber", - }, - DebitAuctionItem: { - initialAmount: "Compact", - amount: "Compact", - fix: "Compact", - startTime: "BlockNumber", - }, - SurplusAuctionItem: { - amount: "Compact", - startTime: "BlockNumber", - }, - LiquidationStrategy: { - _enum: ["Auction", "Exchange"], - }, - OptionRate: "Option", - OptionRatio: "Option", - ChangeOptionRate: { - _enum: { - NoChange: "Null", - NewValue: "OptionRate", - }, - }, - ChangeOptionRatio: { - _enum: { - NoChange: "Null", - NewValue: "OptionRatio", - }, - }, - ChangeBalance: { - _enum: { - NoChange: "Null", - NewValue: "Balance", - }, - }, - RiskManagementParams: { - maximumTotalDebitValue: "Balance", - interestRatePerSec: "Option", - liquidationRatio: "Option", - liquidationPenalty: "Option", - requiredCollateralRatio: "Option", - }, - CandidateInfoOf: "CandidateInfo", - TradingPairProvisionParameters: { - minContribution: "(Balance, Balance)", - targetProvision: "(Balance, Balance)", - accumulatedProvision: "(Balance, Balance)", - notBefore: "BlockNumber", - }, - BalanceWrapper: { - amount: "Balance", - }, - BalanceRequest: { - amount: "Balance", - }, - TradingPairStatus: { - _enum: { - NotEnabled: "Null", - Provisioning: "TradingPairProvisionParameters", - Enabled: "Null", - }, - }, - Erc20Info: { - address: "EvmAddress", - name: "Vec", - symbol: "Vec", - decimals: "u8", - }, - EstimateResourcesResponse: { - gas: "u256", - storage: "i32", - weightFee: "u256", - }, - EvmAccountInfo: { - nonce: "Index", - contractInfo: "Option", - }, - CodeInfo: { - codeSize: "u32", - refCount: "u32", - }, - EvmContractInfo: { - codeHash: "H256", - maintainer: "H160", - deployed: "bool", - }, - EvmAddress: "H160", - CallRequest: { - from: "Option", - to: "Option", - gasLimit: "Option", - storageLimit: "Option", - value: "Option", - data: "Option", - }, - RedeemStrategy: { - _enum: { - Immediately: "Null", - Target: "EraIndex", - WaitForUnbonding: "Null", - }, - }, - RelaychainAccountId: "AccountId", - SlashInfo: { - validator: "RelaychainAccountId", - relaychainTokenAmount: "Balance", - }, - ValidatorBacking: { - totalInsurance: "Balance", - isFrozen: "bool", - }, - Guarantee: { - total: "Balance", - bonded: "Balance", - unbonding: "Option<(Balance, BlockNumber)>", - }, - PoolId: { - _enum: { - Loans: "CurrencyId", - DexIncentive: "CurrencyId", - DexSaving: "CurrencyId", - Homa: "Null", - }, - }, - PoolIdV0: { - _enum: { - LoansIncentive: "CurrencyId", - DexIncentive: "CurrencyId", - HomaIncentive: "Null", - DexSaving: "CurrencyId", - HomaValidatorAllowance: "AccountId", - }, - }, - Position: { - collateral: "Balance", - debit: "Balance", - }, - CID: "Vec", - Attributes: "BTreeMap, Vec>", - TokenInfoOf: { - metadata: "CID", - owner: "AccountId", - data: "TokenData", - }, - Properties: { - _set: { - _bitLength: 8, - Transferable: 1, - Burnable: 2, - Mintable: 4, - ClassPropertiesMutable: 8, - }, - }, - ClassData: { - deposit: "Balance", - properties: "Properties", - attributes: "Attributes", - }, - TokenData: { - deposit: "Balance", - attributes: "Attributes", - }, - TokenId: "u64", - TokenIdOf: "TokenId", - NFTClassId: "u32", - ClassIdOf: "ClassId", - NFTBalance: "u128", - NFTBalanceOf: "NFTBalance", - ClassInfoOf: { - metadata: "CID", - totalIssuance: "TokenId", - owner: "AccountId", - data: "ClassData", - }, - NomineeId: "AccountId", - HomaUnlockChunk: { - value: "Balance", - era: "EraIndex", - }, - BondingLedger: { - total: "Balance", - active: "Balance", - unlocking: "Vec", - }, - OracleKey: "CurrencyId", - AsOriginId: "AuthoritysOriginId", - ProxyType: { - _enum: [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan", - ], - }, - AtLeast64BitUnsigned: "u128", - StableAssetPoolId: "u32", - RelayChainBlockNumberOf: "RelayChainBlockNumber", - SubAccountStatus: { - bonded: "Balance", - available: "Balance", - unbonding: "Vec<(EraIndex,Balance)>", - mockRewardRate: "Rate", - }, - Params: { - targetMaxFreeUnbondedRatio: "Ratio", - targetMinFreeUnbondedRatio: "Ratio", - targetUnbondingToFreeRatio: "Ratio", - unbondingToFreeAdjustment: "Ratio", - baseFeeRate: "Rate", - }, - StakingPoolPhase: { - _enum: [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished", - ], - }, - Ledger: { - bonded: "Balance", - unbondingToFree: "Balance", - freePool: "Balance", - toUnbondNextEra: "(Balance, Balance)", - }, - ChangeRate: { - _enum: { - NoChange: "Null", - NewValue: "Rate", - }, - }, - ChangeRatio: { - _enum: { - NoChange: "Null", - NewValue: "Ratio", - }, - }, - BalanceInfo: { - amount: "Balance", - }, - PolkadotAccountId: "AccountId", - PolkadotAccountIdOf: "PolkadotAccountId", - ExchangeRate: "FixedU128", - Rate: "FixedU128", - Ratio: "FixedU128", - PublicKey: "[u8; 20]", - DestAddress: "Vec", - PoolTokenIndex: "u32", - AssetId: "CurrencyId", - Keys: "SessionKeys1", - MultiLocation: "MultiLocationV0", - MultiAsset: "MultiAssetV0", - Xcm: "XcmV0", - XcmOrder: "XcmOrderV0", - XcmError: "XcmErrorV0", - Response: "ResponseV0", - Address: "GenericMultiAddress", - LookupSource: "GenericMultiAddress", + ChangeRate: { + _enum: { + NoChange: "Null", + NewValue: "Rate", + }, }, - }, - { - minmax: [720, 722], - types: { - CallOf: "Call", - DispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - ScheduleTaskIndex: "u32", - DelayedOrigin: { - delay: "BlockNumber", - origin: "PalletsOrigin", - }, - AuthorityOrigin: "DelayedOrigin", - StorageValue: "Vec", - GraduallyUpdate: { - key: "StorageKey", - targetValue: "StorageValue", - perBlock: "StorageValue", - }, - StorageKeyBytes: "Vec", - StorageValueBytes: "Vec", - RpcDataProviderId: "Text", - DataProviderId: "u8", - TimestampedValue: { - value: "OracleValue", - timestamp: "Moment", - }, - TimestampedValueOf: "TimestampedValue", - OrderedSet: "Vec", - OrmlAccountData: { - free: "Balance", - reserved: "Balance", - frozen: "Balance", - }, - OrmlBalanceLock: { - amount: "Balance", - id: "LockIdentifier", - }, - AuctionInfo: { - bid: "Option<(AccountId, Balance)>", - start: "BlockNumber", - end: "Option", - }, - DelayedDispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - DispatchId: "u32", - Price: "FixedU128", - OrmlVestingSchedule: { - start: "BlockNumber", - period: "BlockNumber", - periodCount: "u32", - perPeriod: "Compact", - }, - VestingScheduleOf: "OrmlVestingSchedule", - OrmlCurrencyId: "CurrencyId", - PoolInfo: { - totalShares: "Share", - rewards: "BTreeMap", - }, - CompactBalance: "Compact", - PoolInfoV0: { - totalShares: "Compact", - totalRewards: "CompactBalance", - totalWithdrawnRewards: "CompactBalance", - }, - Share: "u128", - OracleValue: "Price", - Amount: "i128", - AmountOf: "Amount", - AuctionId: "u32", - AuctionIdOf: "AuctionId", - TokenSymbol: { - _enum: { - ACA: 0, - AUSD: 1, - DOT: 2, - LDOT: 3, - XBTC: 4, - RENBTC: 5, - POLKABTC: 6, - PLM: 7, - PHA: 8, - HDT: 9, - BCG: 11, - KAR: 128, - KUSD: 129, - KSM: 130, - LKSM: 131, - SDN: 135, - KILT: 138, - }, - }, - DexShare: { - _enum: { - Token: "TokenSymbol", - Erc20: "EvmAddress", - }, - }, - CurrencyId: { - _enum: { - Token: "TokenSymbol", - DEXShare: "(TokenSymbol, TokenSymbol)", - ERC20: "EvmAddress", - }, - }, - CurrencyIdOf: "CurrencyId", - AirDropCurrencyId: { - _enum: ["KAR", "ACA"], - }, - AuthoritysOriginId: { - _enum: [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve", - ], - }, - AcalaDataProviderId: { - _enum: ["Aggregated", "Acala", "Band"], - }, - TradingPair: "(CurrencyId, CurrencyId)", - ChainBridgeChainId: "u8", - PalletBalanceOf: "Balance", - CollateralAuctionItem: { - refundRecipient: "AccountId", - currencyId: "CurrencyId", - initialAmount: "Compact", - amount: "Compact", - target: "Compact", - startTime: "BlockNumber", - }, - DebitAuctionItem: { - initialAmount: "Compact", - amount: "Compact", - fix: "Compact", - startTime: "BlockNumber", - }, - SurplusAuctionItem: { - amount: "Compact", - startTime: "BlockNumber", - }, - LiquidationStrategy: { - _enum: ["Auction", "Exchange"], - }, - OptionRate: "Option", - OptionRatio: "Option", - ChangeOptionRate: { - _enum: { - NoChange: "Null", - NewValue: "OptionRate", - }, - }, - ChangeOptionRatio: { - _enum: { - NoChange: "Null", - NewValue: "OptionRatio", - }, - }, - ChangeBalance: { - _enum: { - NoChange: "Null", - NewValue: "Balance", - }, - }, - RiskManagementParams: { - maximumTotalDebitValue: "Balance", - interestRatePerSec: "Option", - liquidationRatio: "Option", - liquidationPenalty: "Option", - requiredCollateralRatio: "Option", - }, - CandidateInfoOf: "CandidateInfo", - TradingPairProvisionParameters: { - minContribution: "(Balance, Balance)", - targetProvision: "(Balance, Balance)", - accumulatedProvision: "(Balance, Balance)", - notBefore: "BlockNumber", - }, - BalanceWrapper: { - amount: "Balance", - }, - BalanceRequest: { - amount: "Balance", - }, - TradingPairStatus: { - _enum: { - NotEnabled: "Null", - Provisioning: "TradingPairProvisionParameters", - Enabled: "Null", - }, - }, - Erc20Info: { - address: "EvmAddress", - name: "Vec", - symbol: "Vec", - decimals: "u8", - }, - EstimateResourcesResponse: { - gas: "u256", - storage: "i32", - weightFee: "u256", - }, - EvmAccountInfo: { - nonce: "Index", - contractInfo: "Option", - }, - CodeInfo: { - codeSize: "u32", - refCount: "u32", - }, - EvmContractInfo: { - codeHash: "H256", - maintainer: "H160", - deployed: "bool", - }, - EvmAddress: "H160", - CallRequest: { - from: "Option", - to: "Option", - gasLimit: "Option", - storageLimit: "Option", - value: "Option", - data: "Option", - }, - RedeemStrategy: { - _enum: { - Immediately: "Null", - Target: "EraIndex", - WaitForUnbonding: "Null", - }, - }, - RelaychainAccountId: "AccountId", - SlashInfo: { - validator: "RelaychainAccountId", - relaychainTokenAmount: "Balance", - }, - ValidatorBacking: { - totalInsurance: "Balance", - isFrozen: "bool", - }, - Guarantee: { - total: "Balance", - bonded: "Balance", - unbonding: "Option<(Balance, BlockNumber)>", - }, - PoolId: { - _enum: { - Loans: "CurrencyId", - DexIncentive: "CurrencyId", - DexSaving: "CurrencyId", - Homa: "Null", - }, - }, - PoolIdV0: { - _enum: { - LoansIncentive: "CurrencyId", - DexIncentive: "CurrencyId", - HomaIncentive: "Null", - DexSaving: "CurrencyId", - HomaValidatorAllowance: "AccountId", - }, - }, - Position: { - collateral: "Balance", - debit: "Balance", - }, - CID: "Vec", - Attributes: "BTreeMap, Vec>", - TokenInfoOf: { - metadata: "CID", - owner: "AccountId", - data: "TokenData", - }, - Properties: { - _set: { - _bitLength: 8, - Transferable: 1, - Burnable: 2, - Mintable: 4, - ClassPropertiesMutable: 8, - }, - }, - ClassData: { - deposit: "Balance", - properties: "Properties", - attributes: "Attributes", - }, - TokenData: { - deposit: "Balance", - attributes: "Attributes", - }, - TokenId: "u64", - TokenIdOf: "TokenId", - NFTClassId: "u32", - ClassIdOf: "ClassId", - NFTBalance: "u128", - NFTBalanceOf: "NFTBalance", - ClassInfoOf: { - metadata: "CID", - totalIssuance: "TokenId", - owner: "AccountId", - data: "ClassData", - }, - NomineeId: "AccountId", - HomaUnlockChunk: { - value: "Balance", - era: "EraIndex", - }, - BondingLedger: { - total: "Balance", - active: "Balance", - unlocking: "Vec", - }, - OracleKey: "CurrencyId", - AsOriginId: "AuthoritysOriginId", - ProxyType: { - _enum: [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan", - ], - }, - AtLeast64BitUnsigned: "u128", - StableAssetPoolId: "u32", - RelayChainBlockNumberOf: "RelayChainBlockNumber", - SubAccountStatus: { - bonded: "Balance", - available: "Balance", - unbonding: "Vec<(EraIndex,Balance)>", - mockRewardRate: "Rate", - }, - Params: { - targetMaxFreeUnbondedRatio: "Ratio", - targetMinFreeUnbondedRatio: "Ratio", - targetUnbondingToFreeRatio: "Ratio", - unbondingToFreeAdjustment: "Ratio", - baseFeeRate: "Rate", - }, - StakingPoolPhase: { - _enum: [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished", - ], - }, - Ledger: { - bonded: "Balance", - unbondingToFree: "Balance", - freePool: "Balance", - toUnbondNextEra: "(Balance, Balance)", - }, - ChangeRate: { - _enum: { - NoChange: "Null", - NewValue: "Rate", - }, - }, - ChangeRatio: { - _enum: { - NoChange: "Null", - NewValue: "Ratio", - }, - }, - BalanceInfo: { - amount: "Balance", - }, - PolkadotAccountId: "AccountId", - PolkadotAccountIdOf: "PolkadotAccountId", - ExchangeRate: "FixedU128", - Rate: "FixedU128", - Ratio: "FixedU128", - PublicKey: "[u8; 20]", - DestAddress: "Vec", - PoolTokenIndex: "u32", - AssetId: "CurrencyId", - Keys: "SessionKeys1", - Address: "GenericMultiAddress", - LookupSource: "GenericMultiAddress", - MultiLocation: "MultiLocationV0", - MultiAsset: "MultiAssetV0", - Xcm: "XcmV0", - XcmOrder: "XcmOrderV0", - XcmError: "XcmErrorV0", - Response: "ResponseV0", + ChangeRatio: { + _enum: { + NoChange: "Null", + NewValue: "Ratio", + }, }, - }, - { - minmax: [723, 729], - types: { - CallOf: "Call", - DispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - ScheduleTaskIndex: "u32", - DelayedOrigin: { - delay: "BlockNumber", - origin: "PalletsOrigin", - }, - AuthorityOrigin: "DelayedOrigin", - StorageValue: "Vec", - GraduallyUpdate: { - key: "StorageKey", - targetValue: "StorageValue", - perBlock: "StorageValue", - }, - StorageKeyBytes: "Vec", - StorageValueBytes: "Vec", - RpcDataProviderId: "Text", - DataProviderId: "u8", - TimestampedValue: { - value: "OracleValue", - timestamp: "Moment", - }, - TimestampedValueOf: "TimestampedValue", - OrderedSet: "Vec", - OrmlAccountData: { - free: "Balance", - reserved: "Balance", - frozen: "Balance", - }, - OrmlBalanceLock: { - amount: "Balance", - id: "LockIdentifier", - }, - AuctionInfo: { - bid: "Option<(AccountId, Balance)>", - start: "BlockNumber", - end: "Option", - }, - DelayedDispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - DispatchId: "u32", - Price: "FixedU128", - OrmlVestingSchedule: { - start: "BlockNumber", - period: "BlockNumber", - periodCount: "u32", - perPeriod: "Compact", - }, - VestingScheduleOf: "OrmlVestingSchedule", - OrmlCurrencyId: "CurrencyId", - PoolInfo: { - totalShares: "Compact", - totalRewards: "Compact", - totalWithdrawnRewards: "Compact", - }, - CompactBalance: "Compact", - PoolInfoV0: { - totalShares: "Compact", - totalRewards: "CompactBalance", - totalWithdrawnRewards: "CompactBalance", - }, - Share: "u128", - OracleValue: "Price", - Amount: "i128", - AmountOf: "Amount", - AuctionId: "u32", - AuctionIdOf: "AuctionId", - TokenSymbol: { - _enum: { - ACA: 0, - AUSD: 1, - DOT: 2, - LDOT: 3, - XBTC: 4, - RENBTC: 5, - POLKABTC: 6, - PLM: 7, - PHA: 8, - HDT: 9, - BCG: 11, - KAR: 128, - KUSD: 129, - KSM: 130, - LKSM: 131, - SDN: 135, - KILT: 138, - }, - }, - DexShare: { - _enum: { - Token: "TokenSymbol", - Erc20: "EvmAddress", - }, - }, - CurrencyId: { - _enum: { - Token: "TokenSymbol", - DEXShare: "(TokenSymbol, TokenSymbol)", - ERC20: "EvmAddress", - }, - }, - CurrencyIdOf: "CurrencyId", - AirDropCurrencyId: { - _enum: ["KAR", "ACA"], - }, - AuthoritysOriginId: { - _enum: [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve", - ], - }, - AcalaDataProviderId: { - _enum: ["Aggregated", "Acala", "Band"], - }, - TradingPair: "(CurrencyId, CurrencyId)", - ChainBridgeChainId: "u8", - PalletBalanceOf: "Balance", - CollateralAuctionItem: { - refundRecipient: "AccountId", - currencyId: "CurrencyId", - initialAmount: "Compact", - amount: "Compact", - target: "Compact", - startTime: "BlockNumber", - }, - DebitAuctionItem: { - initialAmount: "Compact", - amount: "Compact", - fix: "Compact", - startTime: "BlockNumber", - }, - SurplusAuctionItem: { - amount: "Compact", - startTime: "BlockNumber", - }, - LiquidationStrategy: { - _enum: ["Auction", "Exchange"], - }, - OptionRate: "Option", - OptionRatio: "Option", - ChangeOptionRate: { - _enum: { - NoChange: "Null", - NewValue: "OptionRate", - }, - }, - ChangeOptionRatio: { - _enum: { - NoChange: "Null", - NewValue: "OptionRatio", - }, - }, - ChangeBalance: { - _enum: { - NoChange: "Null", - NewValue: "Balance", - }, - }, - RiskManagementParams: { - maximumTotalDebitValue: "Balance", - interestRatePerSec: "Option", - liquidationRatio: "Option", - liquidationPenalty: "Option", - requiredCollateralRatio: "Option", - }, - CandidateInfoOf: "CandidateInfo", - TradingPairProvisionParameters: { - minContribution: "(Balance, Balance)", - targetProvision: "(Balance, Balance)", - accumulatedProvision: "(Balance, Balance)", - notBefore: "BlockNumber", - }, - BalanceWrapper: { - amount: "Balance", - }, - BalanceRequest: { - amount: "Balance", - }, - TradingPairStatus: { - _enum: { - NotEnabled: "Null", - Provisioning: "TradingPairProvisionParameters", - Enabled: "Null", - }, - }, - Erc20Info: { - address: "EvmAddress", - name: "Vec", - symbol: "Vec", - decimals: "u8", - }, - EstimateResourcesResponse: { - gas: "u256", - storage: "i32", - weightFee: "u256", - }, - EvmAccountInfo: { - nonce: "Index", - contractInfo: "Option", - }, - CodeInfo: { - codeSize: "u32", - refCount: "u32", - }, - EvmContractInfo: { - codeHash: "H256", - maintainer: "H160", - deployed: "bool", - }, - EvmAddress: "H160", - CallRequest: { - from: "Option", - to: "Option", - gasLimit: "Option", - storageLimit: "Option", - value: "Option", - data: "Option", - }, - RedeemStrategy: { - _enum: { - Immediately: "Null", - Target: "EraIndex", - WaitForUnbonding: "Null", - }, - }, - RelaychainAccountId: "AccountId", - SlashInfo: { - validator: "RelaychainAccountId", - relaychainTokenAmount: "Balance", - }, - ValidatorBacking: { - totalInsurance: "Balance", - isFrozen: "bool", - }, - Guarantee: { - total: "Balance", - bonded: "Balance", - unbonding: "Option<(Balance, BlockNumber)>", - }, - PoolId: { - _enum: { - LoansIncentive: "CurrencyId", - DexIncentive: "CurrencyId", - HomaIncentive: "Null", - DexSaving: "CurrencyId", - HomaValidatorAllowance: "AccountId", - }, - }, - PoolIdV0: { - _enum: { - LoansIncentive: "CurrencyId", - DexIncentive: "CurrencyId", - HomaIncentive: "Null", - DexSaving: "CurrencyId", - HomaValidatorAllowance: "AccountId", - }, - }, - Position: { - collateral: "Balance", - debit: "Balance", - }, - CID: "Vec", - Attributes: "BTreeMap, Vec>", - TokenInfoOf: { - metadata: "CID", - owner: "AccountId", - data: "TokenData", - }, - Properties: { - _set: { - _bitLength: 8, - Transferable: 1, - Burnable: 2, - Mintable: 4, - ClassPropertiesMutable: 8, - }, - }, - ClassData: { - deposit: "Balance", - properties: "Properties", - attributes: "Attributes", - }, - TokenData: { - deposit: "Balance", - attributes: "Attributes", - }, - TokenId: "u64", - TokenIdOf: "TokenId", - NFTClassId: "u32", - ClassIdOf: "ClassId", - NFTBalance: "u128", - NFTBalanceOf: "NFTBalance", - ClassInfoOf: { - metadata: "CID", - totalIssuance: "TokenId", - owner: "AccountId", - data: "ClassData", - }, - NomineeId: "AccountId", - HomaUnlockChunk: { - value: "Balance", - era: "EraIndex", - }, - BondingLedger: { - total: "Balance", - active: "Balance", - unlocking: "Vec", - }, - OracleKey: "CurrencyId", - AsOriginId: "AuthoritysOriginId", - ProxyType: { - _enum: [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan", - ], - }, - AtLeast64BitUnsigned: "u128", - StableAssetPoolId: "u32", - RelayChainBlockNumberOf: "RelayChainBlockNumber", - SubAccountStatus: { - bonded: "Balance", - available: "Balance", - unbonding: "Vec<(EraIndex,Balance)>", - mockRewardRate: "Rate", - }, - Params: { - targetMaxFreeUnbondedRatio: "Ratio", - targetMinFreeUnbondedRatio: "Ratio", - targetUnbondingToFreeRatio: "Ratio", - unbondingToFreeAdjustment: "Ratio", - baseFeeRate: "Rate", - }, - StakingPoolPhase: { - _enum: [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished", - ], - }, - Ledger: { - bonded: "Balance", - unbondingToFree: "Balance", - freePool: "Balance", - toUnbondNextEra: "(Balance, Balance)", - }, - ChangeRate: { - _enum: { - NoChange: "Null", - NewValue: "Rate", - }, - }, - ChangeRatio: { - _enum: { - NoChange: "Null", - NewValue: "Ratio", - }, - }, - BalanceInfo: { - amount: "Balance", - }, - PolkadotAccountId: "AccountId", - PolkadotAccountIdOf: "PolkadotAccountId", - ExchangeRate: "FixedU128", - Rate: "FixedU128", - Ratio: "FixedU128", - PublicKey: "[u8; 20]", - DestAddress: "Vec", - PoolTokenIndex: "u32", - AssetId: "CurrencyId", - Keys: "SessionKeys1", - Address: "GenericMultiAddress", - LookupSource: "GenericMultiAddress", - MultiLocation: "MultiLocationV0", - MultiAsset: "MultiAssetV0", - Xcm: "XcmV0", - XcmOrder: "XcmOrderV0", - XcmError: "XcmErrorV0", - Response: "ResponseV0", + BalanceInfo: { + amount: "Balance", }, + PolkadotAccountId: "AccountId", + PolkadotAccountIdOf: "PolkadotAccountId", + ExchangeRate: "FixedU128", + Rate: "FixedU128", + Ratio: "FixedU128", + PublicKey: "[u8; 20]", + DestAddress: "Vec", + PoolTokenIndex: "u32", + AssetId: "CurrencyId", + Keys: "SessionKeys1", + MultiLocation: "MultiLocationV0", + MultiAsset: "MultiAssetV0", + Xcm: "XcmV0", + XcmOrder: "XcmOrderV0", + XcmError: "XcmErrorV0", + Response: "ResponseV0", + Address: "GenericMultiAddress", + LookupSource: "GenericMultiAddress", }, - { - minmax: [730, 1007], - types: { - CallOf: "Call", - DispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - ScheduleTaskIndex: "u32", - DelayedOrigin: { - delay: "BlockNumber", - origin: "PalletsOrigin", - }, - AuthorityOrigin: "DelayedOrigin", - StorageValue: "Vec", - GraduallyUpdate: { - key: "StorageKey", - targetValue: "StorageValue", - perBlock: "StorageValue", - }, - StorageKeyBytes: "Vec", - StorageValueBytes: "Vec", - RpcDataProviderId: "Text", - DataProviderId: "u8", - TimestampedValue: { - value: "OracleValue", - timestamp: "Moment", - }, - TimestampedValueOf: "TimestampedValue", - OrderedSet: "Vec", - OrmlAccountData: { - free: "Balance", - reserved: "Balance", - frozen: "Balance", - }, - OrmlBalanceLock: { - amount: "Balance", - id: "LockIdentifier", - }, - AuctionInfo: { - bid: "Option<(AccountId, Balance)>", - start: "BlockNumber", - end: "Option", - }, - DelayedDispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - DispatchId: "u32", - Price: "FixedU128", - OrmlVestingSchedule: { - start: "BlockNumber", - period: "BlockNumber", - periodCount: "u32", - perPeriod: "Compact", - }, - VestingScheduleOf: "OrmlVestingSchedule", - OrmlCurrencyId: "CurrencyId", - PoolInfo: { - totalShares: "Compact", - totalRewards: "Compact", - totalWithdrawnRewards: "Compact", - }, - CompactBalance: "Compact", - PoolInfoV0: { - totalShares: "Compact", - totalRewards: "CompactBalance", - totalWithdrawnRewards: "CompactBalance", - }, - Share: "u128", - OracleValue: "Price", - Amount: "i128", - AmountOf: "Amount", - AuctionId: "u32", - AuctionIdOf: "AuctionId", - TokenSymbol: { - _enum: { - ACA: 0, - AUSD: 1, - DOT: 2, - LDOT: 3, - RENBTC: 4, - KAR: 128, - KUSD: 129, - KSM: 130, - LKSM: 131, - CASH: 140, - }, - }, - DexShare: { - _enum: { - Token: "TokenSymbol", - Erc20: "EvmAddress", - }, - }, - CurrencyId: { - _enum: { - Token: "TokenSymbol", - DEXShare: "(DexShare, DexShare)", - ERC20: "EvmAddress", - StableAssetPoolToken: "StableAssetPoolId", - }, - }, - CurrencyIdOf: "CurrencyId", - AirDropCurrencyId: { - _enum: ["KAR", "ACA"], - }, - AuthoritysOriginId: { - _enum: [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve", - ], - }, - AcalaDataProviderId: { - _enum: ["Aggregated", "Acala", "Band"], - }, - TradingPair: "(CurrencyId, CurrencyId)", - ChainBridgeChainId: "u8", - PalletBalanceOf: "Balance", - CollateralAuctionItem: { - refundRecipient: "AccountId", - currencyId: "CurrencyId", - initialAmount: "Compact", - amount: "Compact", - target: "Compact", - startTime: "BlockNumber", - }, - DebitAuctionItem: { - initialAmount: "Compact", - amount: "Compact", - fix: "Compact", - startTime: "BlockNumber", - }, - SurplusAuctionItem: { - amount: "Compact", - startTime: "BlockNumber", - }, - LiquidationStrategy: { - _enum: ["Auction", "Exchange"], - }, - OptionRate: "Option", - OptionRatio: "Option", - ChangeOptionRate: { - _enum: { - NoChange: "Null", - NewValue: "OptionRate", - }, - }, - ChangeOptionRatio: { - _enum: { - NoChange: "Null", - NewValue: "OptionRatio", - }, - }, - ChangeBalance: { - _enum: { - NoChange: "Null", - NewValue: "Balance", - }, - }, - RiskManagementParams: { - maximumTotalDebitValue: "Balance", - interestRatePerSec: "Option", - liquidationRatio: "Option", - liquidationPenalty: "Option", - requiredCollateralRatio: "Option", - }, - CandidateInfoOf: "CandidateInfo", - TradingPairProvisionParameters: { - minContribution: "(Balance, Balance)", - targetProvision: "(Balance, Balance)", - accumulatedProvision: "(Balance, Balance)", - notBefore: "BlockNumber", - }, - BalanceWrapper: { - amount: "Balance", - }, - BalanceRequest: { - amount: "Balance", - }, - TradingPairStatus: { - _enum: { - NotEnabled: "Null", - Provisioning: "TradingPairProvisionParameters", - Enabled: "Null", - }, - }, - Erc20Info: { - address: "EvmAddress", - name: "Vec", - symbol: "Vec", - decimals: "u8", - }, - EstimateResourcesResponse: { - gas: "u256", - storage: "i32", - weightFee: "u256", - }, - EvmAccountInfo: { - nonce: "Index", - contractInfo: "Option", - }, - CodeInfo: { - codeSize: "u32", - refCount: "u32", - }, - EvmContractInfo: { - codeHash: "H256", - maintainer: "H160", - deployed: "bool", - }, - EvmAddress: "H160", - CallRequest: { - from: "Option", - to: "Option", - gasLimit: "Option", - storageLimit: "Option", - value: "Option", - data: "Option", - }, - RedeemStrategy: { - _enum: { - Immediately: "Null", - Target: "EraIndex", - WaitForUnbonding: "Null", - }, - }, - RelaychainAccountId: "AccountId", - SlashInfo: { - validator: "RelaychainAccountId", - relaychainTokenAmount: "Balance", - }, - ValidatorBacking: { - totalInsurance: "Balance", - isFrozen: "bool", - }, - Guarantee: { - total: "Balance", - bonded: "Balance", - unbonding: "Option<(Balance, BlockNumber)>", - }, - PoolId: { - _enum: { - LoansIncentive: "CurrencyId", - DexIncentive: "CurrencyId", - HomaIncentive: "Null", - DexSaving: "CurrencyId", - HomaValidatorAllowance: "AccountId", - }, - }, - PoolIdV0: { - _enum: { - LoansIncentive: "CurrencyId", - DexIncentive: "CurrencyId", - HomaIncentive: "Null", - DexSaving: "CurrencyId", - HomaValidatorAllowance: "AccountId", - }, - }, - Position: { - collateral: "Balance", - debit: "Balance", - }, - CID: "Vec", - Attributes: "BTreeMap, Vec>", - TokenInfoOf: { - metadata: "CID", - owner: "AccountId", - data: "TokenData", - }, - Properties: { - _set: { - _bitLength: 8, - Transferable: 1, - Burnable: 2, - Mintable: 4, - ClassPropertiesMutable: 8, - }, - }, - ClassData: { - deposit: "Balance", - properties: "Properties", - attributes: "Attributes", - }, - TokenData: { - deposit: "Balance", - attributes: "Attributes", - }, - TokenId: "u64", - TokenIdOf: "TokenId", - NFTClassId: "u32", - ClassIdOf: "ClassId", - NFTBalance: "u128", - NFTBalanceOf: "NFTBalance", - ClassInfoOf: { - metadata: "CID", - totalIssuance: "TokenId", - owner: "AccountId", - data: "ClassData", - }, - NomineeId: "AccountId", - HomaUnlockChunk: { - value: "Balance", - era: "EraIndex", - }, - BondingLedger: { - total: "Balance", - active: "Balance", - unlocking: "Vec", - }, - OracleKey: "CurrencyId", - AsOriginId: "AuthoritysOriginId", - ProxyType: { - _enum: [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan", - ], - }, - AtLeast64BitUnsigned: "u128", - StableAssetPoolId: "u32", - RelayChainBlockNumberOf: "RelayChainBlockNumber", - SubAccountStatus: { - bonded: "Balance", - available: "Balance", - unbonding: "Vec<(EraIndex,Balance)>", - mockRewardRate: "Rate", - }, - Params: { - targetMaxFreeUnbondedRatio: "Ratio", - targetMinFreeUnbondedRatio: "Ratio", - targetUnbondingToFreeRatio: "Ratio", - unbondingToFreeAdjustment: "Ratio", - baseFeeRate: "Rate", - }, - StakingPoolPhase: { - _enum: [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished", - ], - }, - Ledger: { - bonded: "Balance", - unbondingToFree: "Balance", - freePool: "Balance", - toUnbondNextEra: "(Balance, Balance)", - }, - ChangeRate: { - _enum: { - NoChange: "Null", - NewValue: "Rate", - }, - }, - ChangeRatio: { - _enum: { - NoChange: "Null", - NewValue: "Ratio", - }, - }, - BalanceInfo: { - amount: "Balance", - }, - PolkadotAccountId: "AccountId", - PolkadotAccountIdOf: "PolkadotAccountId", - ExchangeRate: "FixedU128", - Rate: "FixedU128", - Ratio: "FixedU128", - PublicKey: "[u8; 20]", - DestAddress: "Vec", - PoolTokenIndex: "u32", - AssetId: "CurrencyId", - Keys: "SessionKeys1", - Address: "GenericMultiAddress", - LookupSource: "GenericMultiAddress", - MultiLocation: "MultiLocationV0", - MultiAsset: "MultiAssetV0", - Xcm: "XcmV0", - XcmOrder: "XcmOrderV0", - XcmError: "XcmErrorV0", - Response: "ResponseV0", + }, + { + minmax: [720, 722], + types: { + CallOf: "Call", + DispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, }, - }, - { - minmax: [1008, 1008], - types: { - CallOf: "Call", - DispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - ScheduleTaskIndex: "u32", - DelayedOrigin: { - delay: "BlockNumber", - origin: "PalletsOrigin", - }, - AuthorityOrigin: "DelayedOrigin", - StorageValue: "Vec", - GraduallyUpdate: { - key: "StorageKey", - targetValue: "StorageValue", - perBlock: "StorageValue", - }, - StorageKeyBytes: "Vec", - StorageValueBytes: "Vec", - RpcDataProviderId: "Text", - DataProviderId: "u8", - TimestampedValue: { - value: "OracleValue", - timestamp: "Moment", - }, - TimestampedValueOf: "TimestampedValue", - OrderedSet: "Vec", - OrmlAccountData: { - free: "Balance", - reserved: "Balance", - frozen: "Balance", - }, - OrmlBalanceLock: { - amount: "Balance", - id: "LockIdentifier", - }, - AuctionInfo: { - bid: "Option<(AccountId, Balance)>", - start: "BlockNumber", - end: "Option", - }, - DelayedDispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - DispatchId: "u32", - Price: "FixedU128", - OrmlVestingSchedule: { - start: "BlockNumber", - period: "BlockNumber", - periodCount: "u32", - perPeriod: "Compact", - }, - VestingScheduleOf: "OrmlVestingSchedule", - OrmlCurrencyId: "CurrencyId", - PoolInfo: { - totalShares: "Compact", - totalRewards: "Compact", - totalWithdrawnRewards: "Compact", - }, - CompactBalance: "Compact", - PoolInfoV0: { - totalShares: "Compact", - totalRewards: "CompactBalance", - totalWithdrawnRewards: "CompactBalance", - }, - Share: "u128", - OracleValue: "Price", - Amount: "i128", - AmountOf: "Amount", - AuctionId: "u32", - AuctionIdOf: "AuctionId", - TokenSymbol: { - _enum: { - ACA: 0, - AUSD: 1, - DOT: 2, - LDOT: 3, - RENBTC: 20, - CASH: 21, - KAR: 128, - KUSD: 129, - KSM: 130, - LKSM: 131, - }, - }, - DexShare: { - _enum: { - Token: "TokenSymbol", - Erc20: "EvmAddress", - }, - }, - CurrencyId: { - _enum: { - Token: "TokenSymbol", - DEXShare: "(DexShare, DexShare)", - ERC20: "EvmAddress", - StableAssetPoolToken: "StableAssetPoolId", - }, - }, - CurrencyIdOf: "CurrencyId", - AirDropCurrencyId: { - _enum: ["KAR", "ACA"], - }, - AuthoritysOriginId: { - _enum: [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve", - ], - }, - AcalaDataProviderId: { - _enum: ["Aggregated", "Acala", "Band"], - }, - TradingPair: "(CurrencyId, CurrencyId)", - ChainBridgeChainId: "u8", - PalletBalanceOf: "Balance", - CollateralAuctionItem: { - refundRecipient: "AccountId", - currencyId: "CurrencyId", - initialAmount: "Compact", - amount: "Compact", - target: "Compact", - startTime: "BlockNumber", - }, - DebitAuctionItem: { - initialAmount: "Compact", - amount: "Compact", - fix: "Compact", - startTime: "BlockNumber", - }, - SurplusAuctionItem: { - amount: "Compact", - startTime: "BlockNumber", - }, - LiquidationStrategy: { - _enum: ["Auction", "Exchange"], - }, - OptionRate: "Option", - OptionRatio: "Option", - ChangeOptionRate: { - _enum: { - NoChange: "Null", - NewValue: "OptionRate", - }, - }, - ChangeOptionRatio: { - _enum: { - NoChange: "Null", - NewValue: "OptionRatio", - }, - }, - ChangeBalance: { - _enum: { - NoChange: "Null", - NewValue: "Balance", - }, - }, - RiskManagementParams: { - maximumTotalDebitValue: "Balance", - interestRatePerSec: "Option", - liquidationRatio: "Option", - liquidationPenalty: "Option", - requiredCollateralRatio: "Option", - }, - CandidateInfoOf: "CandidateInfo", - TradingPairProvisionParameters: { - minContribution: "(Balance, Balance)", - targetProvision: "(Balance, Balance)", - accumulatedProvision: "(Balance, Balance)", - notBefore: "BlockNumber", - }, - BalanceWrapper: { - amount: "Balance", - }, - BalanceRequest: { - amount: "Balance", - }, - TradingPairStatus: { - _enum: { - NotEnabled: "Null", - Provisioning: "TradingPairProvisionParameters", - Enabled: "Null", - }, - }, - Erc20Info: { - address: "EvmAddress", - name: "Vec", - symbol: "Vec", - decimals: "u8", - }, - EstimateResourcesResponse: { - gas: "u256", - storage: "i32", - weightFee: "u256", - }, - EvmAccountInfo: { - nonce: "Index", - contractInfo: "Option", - }, - CodeInfo: { - codeSize: "u32", - refCount: "u32", - }, - EvmContractInfo: { - codeHash: "H256", - maintainer: "H160", - deployed: "bool", - }, - EvmAddress: "H160", - CallRequest: { - from: "Option", - to: "Option", - gasLimit: "Option", - storageLimit: "Option", - value: "Option", - data: "Option", - }, - RedeemStrategy: { - _enum: { - Immediately: "Null", - Target: "EraIndex", - WaitForUnbonding: "Null", - }, - }, - RelaychainAccountId: "AccountId", - SlashInfo: { - validator: "RelaychainAccountId", - relaychainTokenAmount: "Balance", - }, - ValidatorBacking: { - totalInsurance: "Balance", - isFrozen: "bool", - }, - Guarantee: { - total: "Balance", - bonded: "Balance", - unbonding: "Option<(Balance, BlockNumber)>", - }, - PoolId: { - _enum: { - LoansIncentive: "CurrencyId", - DexIncentive: "CurrencyId", - HomaIncentive: "Null", - DexSaving: "CurrencyId", - HomaValidatorAllowance: "AccountId", - }, - }, - PoolIdV0: { - _enum: { - LoansIncentive: "CurrencyId", - DexIncentive: "CurrencyId", - HomaIncentive: "Null", - DexSaving: "CurrencyId", - HomaValidatorAllowance: "AccountId", - }, - }, - Position: { - collateral: "Balance", - debit: "Balance", - }, - CID: "Vec", - Attributes: "BTreeMap, Vec>", - TokenInfoOf: { - metadata: "CID", - owner: "AccountId", - data: "TokenData", - }, - Properties: { - _set: { - _bitLength: 8, - Transferable: 1, - Burnable: 2, - Mintable: 4, - ClassPropertiesMutable: 8, - }, - }, - ClassData: { - deposit: "Balance", - properties: "Properties", - attributes: "Attributes", - }, - TokenData: { - deposit: "Balance", - attributes: "Attributes", - }, - TokenId: "u64", - TokenIdOf: "TokenId", - NFTClassId: "u32", - ClassIdOf: "ClassId", - NFTBalance: "u128", - NFTBalanceOf: "NFTBalance", - ClassInfoOf: { - metadata: "CID", - totalIssuance: "TokenId", - owner: "AccountId", - data: "ClassData", - }, - NomineeId: "AccountId", - HomaUnlockChunk: { - value: "Balance", - era: "EraIndex", - }, - BondingLedger: { - total: "Balance", - active: "Balance", - unlocking: "Vec", - }, - OracleKey: "CurrencyId", - AsOriginId: "AuthoritysOriginId", - ProxyType: { - _enum: [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan", - ], - }, - AtLeast64BitUnsigned: "u128", - StableAssetPoolId: "u32", - RelayChainBlockNumberOf: "RelayChainBlockNumber", - SubAccountStatus: { - bonded: "Balance", - available: "Balance", - unbonding: "Vec<(EraIndex,Balance)>", - mockRewardRate: "Rate", - }, - Params: { - targetMaxFreeUnbondedRatio: "Ratio", - targetMinFreeUnbondedRatio: "Ratio", - targetUnbondingToFreeRatio: "Ratio", - unbondingToFreeAdjustment: "Ratio", - baseFeeRate: "Rate", - }, - StakingPoolPhase: { - _enum: [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished", - ], - }, - Ledger: { - bonded: "Balance", - unbondingToFree: "Balance", - freePool: "Balance", - toUnbondNextEra: "(Balance, Balance)", - }, - ChangeRate: { - _enum: { - NoChange: "Null", - NewValue: "Rate", - }, - }, - ChangeRatio: { - _enum: { - NoChange: "Null", - NewValue: "Ratio", - }, - }, - BalanceInfo: { - amount: "Balance", - }, - PolkadotAccountId: "AccountId", - PolkadotAccountIdOf: "PolkadotAccountId", - ExchangeRate: "FixedU128", - Rate: "FixedU128", - Ratio: "FixedU128", - PublicKey: "[u8; 20]", - DestAddress: "Vec", - PoolTokenIndex: "u32", - AssetId: "CurrencyId", - Keys: "SessionKeys1", - Address: "GenericMultiAddress", - LookupSource: "GenericMultiAddress", - MultiLocation: "MultiLocationV0", - MultiAsset: "MultiAssetV0", - Xcm: "XcmV0", - XcmOrder: "XcmOrderV0", - XcmError: "XcmErrorV0", - Response: "ResponseV0", + ScheduleTaskIndex: "u32", + DelayedOrigin: { + delay: "BlockNumber", + origin: "PalletsOrigin", }, - }, - { - minmax: [1008, 1009], - types: { - CallOf: "Call", - DispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - ScheduleTaskIndex: "u32", - DelayedOrigin: { - delay: "BlockNumber", - origin: "PalletsOrigin", - }, - AuthorityOrigin: "DelayedOrigin", - StorageValue: "Vec", - GraduallyUpdate: { - key: "StorageKey", - targetValue: "StorageValue", - perBlock: "StorageValue", - }, - StorageKeyBytes: "Vec", - StorageValueBytes: "Vec", - RpcDataProviderId: "Text", - DataProviderId: "u8", - TimestampedValue: { - value: "OracleValue", - timestamp: "Moment", - }, - TimestampedValueOf: "TimestampedValue", - OrderedSet: "Vec", - OrmlAccountData: { - free: "Balance", - reserved: "Balance", - frozen: "Balance", - }, - OrmlBalanceLock: { - amount: "Balance", - id: "LockIdentifier", - }, - AuctionInfo: { - bid: "Option<(AccountId, Balance)>", - start: "BlockNumber", - end: "Option", - }, - DelayedDispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - DispatchId: "u32", - Price: "FixedU128", - OrmlVestingSchedule: { - start: "BlockNumber", - period: "BlockNumber", - periodCount: "u32", - perPeriod: "Compact", - }, - VestingScheduleOf: "OrmlVestingSchedule", - OrmlCurrencyId: "CurrencyId", - PoolInfo: { - totalShares: "Compact", - totalRewards: "Compact", - totalWithdrawnRewards: "Compact", - }, - CompactBalance: "Compact", - PoolInfoV0: { - totalShares: "Compact", - totalRewards: "CompactBalance", - totalWithdrawnRewards: "CompactBalance", - }, - Share: "u128", - OracleValue: "Price", - Amount: "i128", - AmountOf: "Amount", - AuctionId: "u32", - AuctionIdOf: "AuctionId", - TokenSymbol: { - _enum: { - ACA: 0, - AUSD: 1, - DOT: 2, - LDOT: 3, - RENBTC: 20, - CASH: 21, - KAR: 128, - KUSD: 129, - KSM: 130, - LKSM: 131, - BNC: 168, - VSKSM: 169, - }, - }, - DexShare: { - _enum: { - Token: "TokenSymbol", - Erc20: "EvmAddress", - }, - }, - CurrencyId: { - _enum: { - Token: "TokenSymbol", - DEXShare: "(DexShare, DexShare)", - ERC20: "EvmAddress", - StableAssetPoolToken: "StableAssetPoolId", - }, - }, - CurrencyIdOf: "CurrencyId", - AirDropCurrencyId: { - _enum: ["KAR", "ACA"], - }, - AuthoritysOriginId: { - _enum: [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve", - ], - }, - AcalaDataProviderId: { - _enum: ["Aggregated", "Acala", "Band"], - }, - TradingPair: "(CurrencyId, CurrencyId)", - ChainBridgeChainId: "u8", - PalletBalanceOf: "Balance", - CollateralAuctionItem: { - refundRecipient: "AccountId", - currencyId: "CurrencyId", - initialAmount: "Compact", - amount: "Compact", - target: "Compact", - startTime: "BlockNumber", - }, - DebitAuctionItem: { - initialAmount: "Compact", - amount: "Compact", - fix: "Compact", - startTime: "BlockNumber", - }, - SurplusAuctionItem: { - amount: "Compact", - startTime: "BlockNumber", - }, - LiquidationStrategy: { - _enum: ["Auction", "Exchange"], - }, - OptionRate: "Option", - OptionRatio: "Option", - ChangeOptionRate: { - _enum: { - NoChange: "Null", - NewValue: "OptionRate", - }, - }, - ChangeOptionRatio: { - _enum: { - NoChange: "Null", - NewValue: "OptionRatio", - }, - }, - ChangeBalance: { - _enum: { - NoChange: "Null", - NewValue: "Balance", - }, - }, - RiskManagementParams: { - maximumTotalDebitValue: "Balance", - interestRatePerSec: "Option", - liquidationRatio: "Option", - liquidationPenalty: "Option", - requiredCollateralRatio: "Option", - }, - CandidateInfoOf: "CandidateInfo", - TradingPairProvisionParameters: { - minContribution: "(Balance, Balance)", - targetProvision: "(Balance, Balance)", - accumulatedProvision: "(Balance, Balance)", - notBefore: "BlockNumber", - }, - BalanceWrapper: { - amount: "Balance", - }, - BalanceRequest: { - amount: "Balance", - }, - TradingPairStatus: { - _enum: { - NotEnabled: "Null", - Provisioning: "TradingPairProvisionParameters", - Enabled: "Null", - }, - }, - Erc20Info: { - address: "EvmAddress", - name: "Vec", - symbol: "Vec", - decimals: "u8", - }, - EstimateResourcesResponse: { - gas: "u256", - storage: "i32", - weightFee: "u256", - }, - EvmAccountInfo: { - nonce: "Index", - contractInfo: "Option", - }, - CodeInfo: { - codeSize: "u32", - refCount: "u32", - }, - EvmContractInfo: { - codeHash: "H256", - maintainer: "H160", - deployed: "bool", - }, - EvmAddress: "H160", - CallRequest: { - from: "Option", - to: "Option", - gasLimit: "Option", - storageLimit: "Option", - value: "Option", - data: "Option", - }, - RedeemStrategy: { - _enum: { - Immediately: "Null", - Target: "EraIndex", - WaitForUnbonding: "Null", - }, - }, - RelaychainAccountId: "AccountId", - SlashInfo: { - validator: "RelaychainAccountId", - relaychainTokenAmount: "Balance", - }, - ValidatorBacking: { - totalInsurance: "Balance", - isFrozen: "bool", - }, - Guarantee: { - total: "Balance", - bonded: "Balance", - unbonding: "Option<(Balance, BlockNumber)>", - }, - PoolId: { - _enum: { - LoansIncentive: "CurrencyId", - DexIncentive: "CurrencyId", - HomaIncentive: "Null", - DexSaving: "CurrencyId", - HomaValidatorAllowance: "AccountId", - }, - }, - PoolIdV0: { - _enum: { - LoansIncentive: "CurrencyId", - DexIncentive: "CurrencyId", - HomaIncentive: "Null", - DexSaving: "CurrencyId", - HomaValidatorAllowance: "AccountId", - }, - }, - Position: { - collateral: "Balance", - debit: "Balance", - }, - CID: "Vec", - Attributes: "BTreeMap, Vec>", - TokenInfoOf: { - metadata: "CID", - owner: "AccountId", - data: "TokenData", - }, - Properties: { - _set: { - _bitLength: 8, - Transferable: 1, - Burnable: 2, - Mintable: 4, - ClassPropertiesMutable: 8, - }, - }, - ClassData: { - deposit: "Balance", - properties: "Properties", - attributes: "Attributes", - }, - TokenData: { - deposit: "Balance", - attributes: "Attributes", - }, - TokenId: "u64", - TokenIdOf: "TokenId", - NFTClassId: "u32", - ClassIdOf: "ClassId", - NFTBalance: "u128", - NFTBalanceOf: "NFTBalance", - ClassInfoOf: { - metadata: "CID", - totalIssuance: "TokenId", - owner: "AccountId", - data: "ClassData", - }, - NomineeId: "AccountId", - HomaUnlockChunk: { - value: "Balance", - era: "EraIndex", - }, - BondingLedger: { - total: "Balance", - active: "Balance", - unlocking: "Vec", - }, - OracleKey: "CurrencyId", - AsOriginId: "AuthoritysOriginId", - ProxyType: { - _enum: [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan", - ], - }, - AtLeast64BitUnsigned: "u128", - StableAssetPoolId: "u32", - RelayChainBlockNumberOf: "RelayChainBlockNumber", - SubAccountStatus: { - bonded: "Balance", - available: "Balance", - unbonding: "Vec<(EraIndex,Balance)>", - mockRewardRate: "Rate", - }, - Params: { - targetMaxFreeUnbondedRatio: "Ratio", - targetMinFreeUnbondedRatio: "Ratio", - targetUnbondingToFreeRatio: "Ratio", - unbondingToFreeAdjustment: "Ratio", - baseFeeRate: "Rate", - }, - StakingPoolPhase: { - _enum: [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished", - ], - }, - Ledger: { - bonded: "Balance", - unbondingToFree: "Balance", - freePool: "Balance", - toUnbondNextEra: "(Balance, Balance)", - }, - ChangeRate: { - _enum: { - NoChange: "Null", - NewValue: "Rate", - }, - }, - ChangeRatio: { - _enum: { - NoChange: "Null", - NewValue: "Ratio", - }, - }, - BalanceInfo: { - amount: "Balance", - }, - PolkadotAccountId: "AccountId", - PolkadotAccountIdOf: "PolkadotAccountId", - ExchangeRate: "FixedU128", - Rate: "FixedU128", - Ratio: "FixedU128", - PublicKey: "[u8; 20]", - DestAddress: "Vec", - PoolTokenIndex: "u32", - AssetId: "CurrencyId", - Keys: "SessionKeys1", - Address: "GenericMultiAddress", - LookupSource: "GenericMultiAddress", - MultiLocation: "MultiLocationV0", - MultiAsset: "MultiAssetV0", - Xcm: "XcmV0", - XcmOrder: "XcmOrderV0", - XcmError: "XcmErrorV0", - Response: "ResponseV0", + AuthorityOrigin: "DelayedOrigin", + StorageValue: "Vec", + GraduallyUpdate: { + key: "StorageKey", + targetValue: "StorageValue", + perBlock: "StorageValue", }, - }, - { - minmax: [1010, 1013], - types: { - CallOf: "Call", - DispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - ScheduleTaskIndex: "u32", - DelayedOrigin: { - delay: "BlockNumber", - origin: "PalletsOrigin", - }, - AuthorityOrigin: "DelayedOrigin", - StorageValue: "Vec", - GraduallyUpdate: { - key: "StorageKey", - targetValue: "StorageValue", - perBlock: "StorageValue", - }, - StorageKeyBytes: "Vec", - StorageValueBytes: "Vec", - RpcDataProviderId: "Text", - DataProviderId: "u8", - TimestampedValue: { - value: "OracleValue", - timestamp: "Moment", - }, - TimestampedValueOf: "TimestampedValue", - OrderedSet: "Vec", - OrmlAccountData: { - free: "Balance", - reserved: "Balance", - frozen: "Balance", - }, - OrmlBalanceLock: { - amount: "Balance", - id: "LockIdentifier", - }, - AuctionInfo: { - bid: "Option<(AccountId, Balance)>", - start: "BlockNumber", - end: "Option", - }, - DelayedDispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - DispatchId: "u32", - Price: "FixedU128", - OrmlVestingSchedule: { - start: "BlockNumber", - period: "BlockNumber", - periodCount: "u32", - perPeriod: "Compact", - }, - VestingScheduleOf: "OrmlVestingSchedule", - OrmlCurrencyId: "CurrencyId", - PoolInfo: { - totalShares: "Share", - rewards: "BTreeMap", - }, - CompactBalance: "Compact", - PoolInfoV0: { - totalShares: "Compact", - totalRewards: "CompactBalance", - totalWithdrawnRewards: "CompactBalance", - }, - Share: "u128", - OracleValue: "Price", - Amount: "i128", - AmountOf: "Amount", - AuctionId: "u32", - AuctionIdOf: "AuctionId", - TokenSymbol: { - _enum: { - ACA: 0, - AUSD: 1, - DOT: 2, - LDOT: 3, - RENBTC: 20, - CASH: 21, - KAR: 128, - KUSD: 129, - KSM: 130, - LKSM: 131, - BNC: 168, - VSKSM: 169, - }, - }, - DexShare: { - _enum: { - Token: "TokenSymbol", - Erc20: "EvmAddress", - }, - }, - CurrencyId: { - _enum: { - Token: "TokenSymbol", - DEXShare: "(DexShare, DexShare)", - ERC20: "EvmAddress", - StableAssetPoolToken: "StableAssetPoolId", - }, - }, - CurrencyIdOf: "CurrencyId", - AirDropCurrencyId: { - _enum: ["KAR", "ACA"], - }, - AuthoritysOriginId: { - _enum: [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve", - ], - }, - AcalaDataProviderId: { - _enum: ["Aggregated", "Acala", "Band"], - }, - TradingPair: "(CurrencyId, CurrencyId)", - ChainBridgeChainId: "u8", - PalletBalanceOf: "Balance", - CollateralAuctionItem: { - refundRecipient: "AccountId", - currencyId: "CurrencyId", - initialAmount: "Compact", - amount: "Compact", - target: "Compact", - startTime: "BlockNumber", - }, - DebitAuctionItem: { - initialAmount: "Compact", - amount: "Compact", - fix: "Compact", - startTime: "BlockNumber", - }, - SurplusAuctionItem: { - amount: "Compact", - startTime: "BlockNumber", - }, - LiquidationStrategy: { - _enum: ["Auction", "Exchange"], - }, - OptionRate: "Option", - OptionRatio: "Option", - ChangeOptionRate: { - _enum: { - NoChange: "Null", - NewValue: "OptionRate", - }, - }, - ChangeOptionRatio: { - _enum: { - NoChange: "Null", - NewValue: "OptionRatio", - }, - }, - ChangeBalance: { - _enum: { - NoChange: "Null", - NewValue: "Balance", - }, - }, - RiskManagementParams: { - maximumTotalDebitValue: "Balance", - interestRatePerSec: "Option", - liquidationRatio: "Option", - liquidationPenalty: "Option", - requiredCollateralRatio: "Option", - }, - CandidateInfoOf: "CandidateInfo", - TradingPairProvisionParameters: { - minContribution: "(Balance, Balance)", - targetProvision: "(Balance, Balance)", - accumulatedProvision: "(Balance, Balance)", - notBefore: "BlockNumber", - }, - BalanceWrapper: { - amount: "Balance", - }, - BalanceRequest: { - amount: "Balance", - }, - TradingPairStatus: { - _enum: { - NotEnabled: "Null", - Provisioning: "TradingPairProvisionParameters", - Enabled: "Null", - }, - }, - Erc20Info: { - address: "EvmAddress", - name: "Vec", - symbol: "Vec", - decimals: "u8", - }, - EstimateResourcesResponse: { - gas: "u256", - storage: "i32", - weightFee: "u256", - }, - EvmAccountInfo: { - nonce: "Index", - contractInfo: "Option", - }, - CodeInfo: { - codeSize: "u32", - refCount: "u32", - }, - EvmContractInfo: { - codeHash: "H256", - maintainer: "H160", - deployed: "bool", - }, - EvmAddress: "H160", - CallRequest: { - from: "Option", - to: "Option", - gasLimit: "Option", - storageLimit: "Option", - value: "Option", - data: "Option", - }, - RedeemStrategy: { - _enum: { - Immediately: "Null", - Target: "EraIndex", - WaitForUnbonding: "Null", - }, - }, - RelaychainAccountId: "AccountId", - SlashInfo: { - validator: "RelaychainAccountId", - relaychainTokenAmount: "Balance", - }, - ValidatorBacking: { - totalInsurance: "Balance", - isFrozen: "bool", - }, - Guarantee: { - total: "Balance", - bonded: "Balance", - unbonding: "Option<(Balance, BlockNumber)>", - }, - PoolId: { - _enum: { - Loans: "CurrencyId", - Dex: "CurrencyId", - }, - }, - PoolIdV0: { - _enum: { - LoansIncentive: "CurrencyId", - DexIncentive: "CurrencyId", - HomaIncentive: "Null", - DexSaving: "CurrencyId", - HomaValidatorAllowance: "AccountId", - }, - }, - Position: { - collateral: "Balance", - debit: "Balance", - }, - CID: "Vec", - Attributes: "BTreeMap, Vec>", - TokenInfoOf: { - metadata: "CID", - owner: "AccountId", - data: "TokenData", - }, - Properties: { - _set: { - _bitLength: 8, - Transferable: 1, - Burnable: 2, - Mintable: 4, - ClassPropertiesMutable: 8, - }, - }, - ClassData: { - deposit: "Balance", - properties: "Properties", - attributes: "Attributes", - }, - TokenData: { - deposit: "Balance", - attributes: "Attributes", - }, - TokenId: "u64", - TokenIdOf: "TokenId", - NFTClassId: "u32", - ClassIdOf: "ClassId", - NFTBalance: "u128", - NFTBalanceOf: "NFTBalance", - ClassInfoOf: { - metadata: "CID", - totalIssuance: "TokenId", - owner: "AccountId", - data: "ClassData", - }, - NomineeId: "AccountId", - HomaUnlockChunk: { - value: "Balance", - era: "EraIndex", - }, - BondingLedger: { - total: "Balance", - active: "Balance", - unlocking: "Vec", - }, - OracleKey: "CurrencyId", - AsOriginId: "AuthoritysOriginId", - ProxyType: { - _enum: [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan", - ], - }, - AtLeast64BitUnsigned: "u128", - StableAssetPoolId: "u32", - RelayChainBlockNumberOf: "RelayChainBlockNumber", - SubAccountStatus: { - bonded: "Balance", - available: "Balance", - unbonding: "Vec<(EraIndex,Balance)>", - mockRewardRate: "Rate", - }, - Params: { - targetMaxFreeUnbondedRatio: "Ratio", - targetMinFreeUnbondedRatio: "Ratio", - targetUnbondingToFreeRatio: "Ratio", - unbondingToFreeAdjustment: "Ratio", - baseFeeRate: "Rate", - }, - StakingPoolPhase: { - _enum: [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished", - ], - }, - Ledger: { - bonded: "Balance", - unbondingToFree: "Balance", - freePool: "Balance", - toUnbondNextEra: "(Balance, Balance)", - }, - ChangeRate: { - _enum: { - NoChange: "Null", - NewValue: "Rate", - }, - }, - ChangeRatio: { - _enum: { - NoChange: "Null", - NewValue: "Ratio", - }, - }, - BalanceInfo: { - amount: "Balance", - }, - PolkadotAccountId: "AccountId", - PolkadotAccountIdOf: "PolkadotAccountId", - ExchangeRate: "FixedU128", - Rate: "FixedU128", - Ratio: "FixedU128", - PublicKey: "[u8; 20]", - DestAddress: "Vec", - PoolTokenIndex: "u32", - AssetId: "CurrencyId", - Keys: "SessionKeys1", - Address: "GenericMultiAddress", - LookupSource: "GenericMultiAddress", - MultiLocation: "MultiLocationV0", - MultiAsset: "MultiAssetV0", - Xcm: "XcmV0", - XcmOrder: "XcmOrderV0", - XcmError: "XcmErrorV0", - Response: "ResponseV0", + StorageKeyBytes: "Vec", + StorageValueBytes: "Vec", + RpcDataProviderId: "Text", + DataProviderId: "u8", + TimestampedValue: { + value: "OracleValue", + timestamp: "Moment", }, - }, - { - minmax: [1014, 1018], - types: { - CallOf: "Call", - DispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - ScheduleTaskIndex: "u32", - DelayedOrigin: { - delay: "BlockNumber", - origin: "PalletsOrigin", - }, - AuthorityOrigin: "DelayedOrigin", - StorageValue: "Vec", - GraduallyUpdate: { - key: "StorageKey", - targetValue: "StorageValue", - perBlock: "StorageValue", - }, - StorageKeyBytes: "Vec", - StorageValueBytes: "Vec", - RpcDataProviderId: "Text", - DataProviderId: "u8", - TimestampedValue: { - value: "OracleValue", - timestamp: "Moment", - }, - TimestampedValueOf: "TimestampedValue", - OrderedSet: "Vec", - OrmlAccountData: { - free: "Balance", - reserved: "Balance", - frozen: "Balance", - }, - OrmlBalanceLock: { - amount: "Balance", - id: "LockIdentifier", - }, - AuctionInfo: { - bid: "Option<(AccountId, Balance)>", - start: "BlockNumber", - end: "Option", - }, - DelayedDispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - DispatchId: "u32", - Price: "FixedU128", - OrmlVestingSchedule: { - start: "BlockNumber", - period: "BlockNumber", - periodCount: "u32", - perPeriod: "Compact", - }, - VestingScheduleOf: "OrmlVestingSchedule", - OrmlCurrencyId: "CurrencyId", - PoolInfo: { - totalShares: "Share", - rewards: "BTreeMap", - }, - CompactBalance: "Compact", - PoolInfoV0: { - totalShares: "Compact", - totalRewards: "CompactBalance", - totalWithdrawnRewards: "CompactBalance", - }, - Share: "u128", - OracleValue: "Price", - Amount: "i128", - AmountOf: "Amount", - AuctionId: "u32", - AuctionIdOf: "AuctionId", - TokenSymbol: { - _enum: { - ACA: 0, - AUSD: 1, - DOT: 2, - LDOT: 3, - RENBTC: 20, - CASH: 21, - KAR: 128, - KUSD: 129, - KSM: 130, - LKSM: 131, - BNC: 168, - VSKSM: 169, - }, - }, - DexShare: { - _enum: { - Token: "TokenSymbol", - Erc20: "EvmAddress", - }, - }, - CurrencyId: { - _enum: { - Token: "TokenSymbol", - DEXShare: "(DexShare, DexShare)", - ERC20: "EvmAddress", - StableAssetPoolToken: "StableAssetPoolId", - }, - }, - CurrencyIdOf: "CurrencyId", - AirDropCurrencyId: { - _enum: ["KAR", "ACA"], - }, - AuthoritysOriginId: { - _enum: [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve", - ], - }, - AcalaDataProviderId: { - _enum: ["Aggregated", "Acala", "Band"], - }, - TradingPair: "(CurrencyId, CurrencyId)", - ChainBridgeChainId: "u8", - PalletBalanceOf: "Balance", - CollateralAuctionItem: { - refundRecipient: "AccountId", - currencyId: "CurrencyId", - initialAmount: "Compact", - amount: "Compact", - target: "Compact", - startTime: "BlockNumber", - }, - DebitAuctionItem: { - initialAmount: "Compact", - amount: "Compact", - fix: "Compact", - startTime: "BlockNumber", - }, - SurplusAuctionItem: { - amount: "Compact", - startTime: "BlockNumber", - }, - LiquidationStrategy: { - _enum: ["Auction", "Exchange"], - }, - OptionRate: "Option", - OptionRatio: "Option", - ChangeOptionRate: { - _enum: { - NoChange: "Null", - NewValue: "OptionRate", - }, - }, - ChangeOptionRatio: { - _enum: { - NoChange: "Null", - NewValue: "OptionRatio", - }, - }, - ChangeBalance: { - _enum: { - NoChange: "Null", - NewValue: "Balance", - }, - }, - RiskManagementParams: { - maximumTotalDebitValue: "Balance", - interestRatePerSec: "Option", - liquidationRatio: "Option", - liquidationPenalty: "Option", - requiredCollateralRatio: "Option", - }, - CandidateInfoOf: "CandidateInfo", - TradingPairProvisionParameters: { - minContribution: "(Balance, Balance)", - targetProvision: "(Balance, Balance)", - accumulatedProvision: "(Balance, Balance)", - notBefore: "BlockNumber", - }, - BalanceWrapper: { - amount: "Balance", - }, - BalanceRequest: { - amount: "Balance", - }, - TradingPairStatus: { - _enum: { - NotEnabled: "Null", - Provisioning: "TradingPairProvisionParameters", - Enabled: "Null", - }, - }, - Erc20Info: { - address: "EvmAddress", - name: "Vec", - symbol: "Vec", - decimals: "u8", - }, - EstimateResourcesResponse: { - gas: "u256", - storage: "i32", - weightFee: "u256", - }, - EvmAccountInfo: { - nonce: "Index", - contractInfo: "Option", - }, - CodeInfo: { - codeSize: "u32", - refCount: "u32", - }, - EvmContractInfo: { - codeHash: "H256", - maintainer: "H160", - deployed: "bool", - }, - EvmAddress: "H160", - CallRequest: { - from: "Option", - to: "Option", - gasLimit: "Option", - storageLimit: "Option", - value: "Option", - data: "Option", - }, - RedeemStrategy: { - _enum: { - Immediately: "Null", - Target: "EraIndex", - WaitForUnbonding: "Null", - }, - }, - RelaychainAccountId: "AccountId", - SlashInfo: { - validator: "RelaychainAccountId", - relaychainTokenAmount: "Balance", - }, - ValidatorBacking: { - totalInsurance: "Balance", - isFrozen: "bool", - }, - Guarantee: { - total: "Balance", - bonded: "Balance", - unbonding: "Option<(Balance, BlockNumber)>", - }, - PoolId: { - _enum: { - Loans: "CurrencyId", - Dex: "CurrencyId", - }, - }, - PoolIdV0: { - _enum: { - LoansIncentive: "CurrencyId", - DexIncentive: "CurrencyId", - HomaIncentive: "Null", - DexSaving: "CurrencyId", - HomaValidatorAllowance: "AccountId", - }, - }, - Position: { - collateral: "Balance", - debit: "Balance", - }, - CID: "Vec", - Attributes: "BTreeMap, Vec>", - TokenInfoOf: { - metadata: "CID", - owner: "AccountId", - data: "TokenData", - }, - Properties: { - _set: { - _bitLength: 8, - Transferable: 1, - Burnable: 2, - Mintable: 4, - ClassPropertiesMutable: 8, - }, - }, - ClassData: { - deposit: "Balance", - properties: "Properties", - attributes: "Attributes", - }, - TokenData: { - deposit: "Balance", - attributes: "Attributes", - }, - TokenId: "u64", - TokenIdOf: "TokenId", - NFTClassId: "u32", - ClassIdOf: "ClassId", - NFTBalance: "u128", - NFTBalanceOf: "NFTBalance", - ClassInfoOf: { - metadata: "CID", - totalIssuance: "TokenId", - owner: "AccountId", - data: "ClassData", - }, - NomineeId: "AccountId", - HomaUnlockChunk: { - value: "Balance", - era: "EraIndex", - }, - BondingLedger: { - total: "Balance", - active: "Balance", - unlocking: "Vec", - }, - OracleKey: "CurrencyId", - AsOriginId: "AuthoritysOriginId", - ProxyType: { - _enum: [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan", - ], - }, - AtLeast64BitUnsigned: "u128", - StableAssetPoolId: "u32", - RelayChainBlockNumberOf: "RelayChainBlockNumber", - SubAccountStatus: { - bonded: "Balance", - available: "Balance", - unbonding: "Vec<(EraIndex,Balance)>", - mockRewardRate: "Rate", - }, - Params: { - targetMaxFreeUnbondedRatio: "Ratio", - targetMinFreeUnbondedRatio: "Ratio", - targetUnbondingToFreeRatio: "Ratio", - unbondingToFreeAdjustment: "Ratio", - baseFeeRate: "Rate", - }, - StakingPoolPhase: { - _enum: [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished", - ], - }, - Ledger: { - bonded: "Balance", - unbondingToFree: "Balance", - freePool: "Balance", - toUnbondNextEra: "(Balance, Balance)", - }, - ChangeRate: { - _enum: { - NoChange: "Null", - NewValue: "Rate", - }, - }, - ChangeRatio: { - _enum: { - NoChange: "Null", - NewValue: "Ratio", - }, - }, - BalanceInfo: { - amount: "Balance", - }, - PolkadotAccountId: "AccountId", - PolkadotAccountIdOf: "PolkadotAccountId", - ExchangeRate: "FixedU128", - Rate: "FixedU128", - Ratio: "FixedU128", - PublicKey: "[u8; 20]", - DestAddress: "Vec", - PoolTokenIndex: "u32", - AssetId: "CurrencyId", - Keys: "SessionKeys1", - Address: "GenericMultiAddress", - LookupSource: "GenericMultiAddress", - MultiLocation: "MultiLocationV1", - MultiAsset: "MultiAssetV1", - Xcm: "XcmV1", - XcmOrder: "XcmOrderV1", - XcmError: "XcmErrorV1", - Response: "ResponseV1", + TimestampedValueOf: "TimestampedValue", + OrderedSet: "Vec", + OrmlAccountData: { + free: "Balance", + reserved: "Balance", + frozen: "Balance", }, - }, - { - minmax: [1019, null], - types: { - CallOf: "Call", - DispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - ScheduleTaskIndex: "u32", - DelayedOrigin: { - delay: "BlockNumber", - origin: "PalletsOrigin", - }, - AuthorityOrigin: "DelayedOrigin", - StorageValue: "Vec", - GraduallyUpdate: { - key: "StorageKey", - targetValue: "StorageValue", - perBlock: "StorageValue", - }, - StorageKeyBytes: "Vec", - StorageValueBytes: "Vec", - RpcDataProviderId: "Text", - DataProviderId: "u8", - TimestampedValue: { - value: "OracleValue", - timestamp: "Moment", - }, - TimestampedValueOf: "TimestampedValue", - OrderedSet: "Vec", - OrmlAccountData: { - free: "Balance", - reserved: "Balance", - frozen: "Balance", - }, - OrmlBalanceLock: { - amount: "Balance", - id: "LockIdentifier", - }, - AuctionInfo: { - bid: "Option<(AccountId, Balance)>", - start: "BlockNumber", - end: "Option", - }, - DelayedDispatchTime: { - _enum: { - At: "BlockNumber", - After: "BlockNumber", - }, - }, - DispatchId: "u32", - Price: "FixedU128", - OrmlVestingSchedule: { - start: "BlockNumber", - period: "BlockNumber", - periodCount: "u32", - perPeriod: "Compact", - }, - VestingScheduleOf: "OrmlVestingSchedule", - OrmlCurrencyId: "CurrencyId", - PoolInfo: { - totalShares: "Share", - rewards: "BTreeMap", - }, - CompactBalance: "Compact", - PoolInfoV0: { - totalShares: "Compact", - totalRewards: "CompactBalance", - totalWithdrawnRewards: "CompactBalance", - }, - Share: "u128", - OracleValue: "Price", - Amount: "i128", - AmountOf: "Amount", - AuctionId: "u32", - AuctionIdOf: "AuctionId", - TokenSymbol: { - _enum: { - ACA: 0, - AUSD: 1, - DOT: 2, - LDOT: 3, - RENBTC: 20, - CASH: 21, - KAR: 128, - KUSD: 129, - KSM: 130, - LKSM: 131, - BNC: 168, - VSKSM: 169, - }, - }, - DexShare: { - _enum: { - Token: "TokenSymbol", - Erc20: "EvmAddress", - }, - }, - CurrencyId: { - _enum: { - Token: "TokenSymbol", - DEXShare: "(DexShare, DexShare)", - ERC20: "EvmAddress", - StableAssetPoolToken: "StableAssetPoolId", - }, - }, - CurrencyIdOf: "CurrencyId", - AirDropCurrencyId: { - _enum: ["KAR", "ACA"], - }, - AuthoritysOriginId: { - _enum: [ - "Root", - "Treasury", - "HonzonTreasury", - "HomaTreasury", - "TreasuryReserve", - ], - }, - AcalaDataProviderId: { - _enum: ["Aggregated", "Acala", "Band"], - }, - TradingPair: "(CurrencyId, CurrencyId)", - ChainBridgeChainId: "u8", - PalletBalanceOf: "Balance", - CollateralAuctionItem: { - refundRecipient: "AccountId", - currencyId: "CurrencyId", - initialAmount: "Compact", - amount: "Compact", - target: "Compact", - startTime: "BlockNumber", - }, - DebitAuctionItem: { - initialAmount: "Compact", - amount: "Compact", - fix: "Compact", - startTime: "BlockNumber", - }, - SurplusAuctionItem: { - amount: "Compact", - startTime: "BlockNumber", - }, - LiquidationStrategy: { - _enum: ["Auction", "Exchange"], - }, - OptionRate: "Option", - OptionRatio: "Option", - ChangeOptionRate: { - _enum: { - NoChange: "Null", - NewValue: "OptionRate", - }, - }, - ChangeOptionRatio: { - _enum: { - NoChange: "Null", - NewValue: "OptionRatio", - }, - }, - ChangeBalance: { - _enum: { - NoChange: "Null", - NewValue: "Balance", - }, - }, - RiskManagementParams: { - maximumTotalDebitValue: "Balance", - interestRatePerSec: "Option", - liquidationRatio: "Option", - liquidationPenalty: "Option", - requiredCollateralRatio: "Option", - }, - CandidateInfoOf: "CandidateInfo", - TradingPairProvisionParameters: { - minContribution: "(Balance, Balance)", - targetProvision: "(Balance, Balance)", - accumulatedProvision: "(Balance, Balance)", - notBefore: "BlockNumber", - }, - BalanceWrapper: { - amount: "Balance", - }, - BalanceRequest: { - amount: "Balance", - }, - TradingPairStatus: { - _enum: { - NotEnabled: "Null", - Provisioning: "TradingPairProvisionParameters", - Enabled: "Null", - }, - }, - Erc20Info: { - address: "EvmAddress", - name: "Vec", - symbol: "Vec", - decimals: "u8", - }, - EstimateResourcesResponse: { - gas: "u256", - storage: "i32", - weightFee: "u256", - }, - EvmAccountInfo: { - nonce: "Index", - contractInfo: "Option", - }, - CodeInfo: { - codeSize: "u32", - refCount: "u32", - }, - EvmContractInfo: { - codeHash: "H256", - maintainer: "H160", - deployed: "bool", - }, - EvmAddress: "H160", - CallRequest: { - from: "Option", - to: "Option", - gasLimit: "Option", - storageLimit: "Option", - value: "Option", - data: "Option", - }, - RedeemStrategy: { - _enum: { - Immediately: "Null", - Target: "EraIndex", - WaitForUnbonding: "Null", - }, - }, - RelaychainAccountId: "AccountId", - SlashInfo: { - validator: "RelaychainAccountId", - relaychainTokenAmount: "Balance", - }, - ValidatorBacking: { - totalInsurance: "Balance", - isFrozen: "bool", - }, - Guarantee: { - total: "Balance", - bonded: "Balance", - unbonding: "Option<(Balance, BlockNumber)>", - }, - PoolId: { - _enum: { - Loans: "CurrencyId", - Dex: "CurrencyId", - }, - }, - PoolIdV0: { - _enum: { - LoansIncentive: "CurrencyId", - DexIncentive: "CurrencyId", - HomaIncentive: "Null", - DexSaving: "CurrencyId", - HomaValidatorAllowance: "AccountId", - }, - }, - Position: { - collateral: "Balance", - debit: "Balance", - }, - CID: "Vec", - Attributes: "BTreeMap, Vec>", - TokenInfoOf: { - metadata: "CID", - owner: "AccountId", - data: "TokenData", - }, - Properties: { - _set: { - _bitLength: 8, - Transferable: 1, - Burnable: 2, - Mintable: 4, - ClassPropertiesMutable: 8, - }, - }, - ClassData: { - deposit: "Balance", - properties: "Properties", - attributes: "Attributes", - }, - TokenData: { - deposit: "Balance", - attributes: "Attributes", - }, - TokenId: "u64", - TokenIdOf: "TokenId", - NFTClassId: "u32", - ClassIdOf: "ClassId", - NFTBalance: "u128", - NFTBalanceOf: "NFTBalance", - ClassInfoOf: { - metadata: "CID", - totalIssuance: "TokenId", - owner: "AccountId", - data: "ClassData", - }, - NomineeId: "AccountId", - HomaUnlockChunk: { - value: "Balance", - era: "EraIndex", - }, - BondingLedger: { - total: "Balance", - active: "Balance", - unlocking: "Vec", - }, - OracleKey: "CurrencyId", - AsOriginId: "AuthoritysOriginId", - ProxyType: { - _enum: [ - "Any", - "CancelProxy", - "Governance", - "Auction", - "Swap", - "Loan", - ], - }, - AtLeast64BitUnsigned: "u128", - StableAssetPoolId: "u32", - RelayChainBlockNumberOf: "RelayChainBlockNumber", - SubAccountStatus: { - bonded: "Balance", - available: "Balance", - unbonding: "Vec<(EraIndex,Balance)>", - mockRewardRate: "Rate", - }, - Params: { - targetMaxFreeUnbondedRatio: "Ratio", - targetMinFreeUnbondedRatio: "Ratio", - targetUnbondingToFreeRatio: "Ratio", - unbondingToFreeAdjustment: "Ratio", - baseFeeRate: "Rate", - }, - StakingPoolPhase: { - _enum: [ - "Started", - "RelaychainUpdated", - "LedgerUpdated", - "Finished", - ], - }, - Ledger: { - bonded: "Balance", - unbondingToFree: "Balance", - freePool: "Balance", - toUnbondNextEra: "(Balance, Balance)", - }, - ChangeRate: { - _enum: { - NoChange: "Null", - NewValue: "Rate", - }, - }, - ChangeRatio: { - _enum: { - NoChange: "Null", - NewValue: "Ratio", - }, - }, - BalanceInfo: { - amount: "Balance", - }, - PolkadotAccountId: "AccountId", - PolkadotAccountIdOf: "PolkadotAccountId", - ExchangeRate: "FixedU128", - Rate: "FixedU128", - Ratio: "FixedU128", - PublicKey: "[u8; 20]", - DestAddress: "Vec", - PoolTokenIndex: "u32", - AssetId: "CurrencyId", - Keys: "SessionKeys1", - Address: "GenericMultiAddress", - LookupSource: "GenericMultiAddress", + OrmlBalanceLock: { + amount: "Balance", + id: "LockIdentifier", }, - }, - ], - alias: { - stakingPool: { - Phase: "StakingPoolPhase", - }, - nomineesElection: { - UnlockChunk: "HomaUnlockChunk", - }, - evm: { - AccountInfo: "EvmAccountInfo", - ContractInfo: "EvmContractInfo", - }, - rewards: { + AuctionInfo: { + bid: "Option<(AccountId, Balance)>", + start: "BlockNumber", + end: "Option", + }, + DelayedDispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + DispatchId: "u32", + Price: "FixedU128", + OrmlVestingSchedule: { + start: "BlockNumber", + period: "BlockNumber", + periodCount: "u32", + perPeriod: "Compact", + }, + VestingScheduleOf: "OrmlVestingSchedule", OrmlCurrencyId: "CurrencyId", - }, - oracle: { - DataProviderId: "AcalaDataProviderId", - }, - chainBridge: { - ChainId: "ChainBridgeChainId", - }, - tokens: { - AccountData: "OrmlAccountData", - BalanceLock: "OrmlBalanceLock", - }, + PoolInfo: { + totalShares: "Share", + rewards: "BTreeMap", + }, + CompactBalance: "Compact", + PoolInfoV0: { + totalShares: "Compact", + totalRewards: "CompactBalance", + totalWithdrawnRewards: "CompactBalance", + }, + Share: "u128", + OracleValue: "Price", + Amount: "i128", + AmountOf: "Amount", + AuctionId: "u32", + AuctionIdOf: "AuctionId", + TokenSymbol: { + _enum: { + ACA: 0, + AUSD: 1, + DOT: 2, + LDOT: 3, + XBTC: 4, + RENBTC: 5, + POLKABTC: 6, + PLM: 7, + PHA: 8, + HDT: 9, + BCG: 11, + KAR: 128, + KUSD: 129, + KSM: 130, + LKSM: 131, + SDN: 135, + KILT: 138, + }, + }, + DexShare: { + _enum: { + Token: "TokenSymbol", + Erc20: "EvmAddress", + }, + }, + CurrencyId: { + _enum: { + Token: "TokenSymbol", + DEXShare: "(TokenSymbol, TokenSymbol)", + ERC20: "EvmAddress", + }, + }, + CurrencyIdOf: "CurrencyId", + AirDropCurrencyId: { + _enum: ["KAR", "ACA"], + }, + AuthoritysOriginId: { + _enum: [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve", + ], + }, + AcalaDataProviderId: { + _enum: ["Aggregated", "Acala", "Band"], + }, + TradingPair: "(CurrencyId, CurrencyId)", + ChainBridgeChainId: "u8", + PalletBalanceOf: "Balance", + CollateralAuctionItem: { + refundRecipient: "AccountId", + currencyId: "CurrencyId", + initialAmount: "Compact", + amount: "Compact", + target: "Compact", + startTime: "BlockNumber", + }, + DebitAuctionItem: { + initialAmount: "Compact", + amount: "Compact", + fix: "Compact", + startTime: "BlockNumber", + }, + SurplusAuctionItem: { + amount: "Compact", + startTime: "BlockNumber", + }, + LiquidationStrategy: { + _enum: ["Auction", "Exchange"], + }, + OptionRate: "Option", + OptionRatio: "Option", + ChangeOptionRate: { + _enum: { + NoChange: "Null", + NewValue: "OptionRate", + }, + }, + ChangeOptionRatio: { + _enum: { + NoChange: "Null", + NewValue: "OptionRatio", + }, + }, + ChangeBalance: { + _enum: { + NoChange: "Null", + NewValue: "Balance", + }, + }, + RiskManagementParams: { + maximumTotalDebitValue: "Balance", + interestRatePerSec: "Option", + liquidationRatio: "Option", + liquidationPenalty: "Option", + requiredCollateralRatio: "Option", + }, + CandidateInfoOf: "CandidateInfo", + TradingPairProvisionParameters: { + minContribution: "(Balance, Balance)", + targetProvision: "(Balance, Balance)", + accumulatedProvision: "(Balance, Balance)", + notBefore: "BlockNumber", + }, + BalanceWrapper: { + amount: "Balance", + }, + BalanceRequest: { + amount: "Balance", + }, + TradingPairStatus: { + _enum: { + NotEnabled: "Null", + Provisioning: "TradingPairProvisionParameters", + Enabled: "Null", + }, + }, + Erc20Info: { + address: "EvmAddress", + name: "Vec", + symbol: "Vec", + decimals: "u8", + }, + EstimateResourcesResponse: { + gas: "u256", + storage: "i32", + weightFee: "u256", + }, + EvmAccountInfo: { + nonce: "Index", + contractInfo: "Option", + }, + CodeInfo: { + codeSize: "u32", + refCount: "u32", + }, + EvmContractInfo: { + codeHash: "H256", + maintainer: "H160", + deployed: "bool", + }, + EvmAddress: "H160", + CallRequest: { + from: "Option", + to: "Option", + gasLimit: "Option", + storageLimit: "Option", + value: "Option", + data: "Option", + }, + RedeemStrategy: { + _enum: { + Immediately: "Null", + Target: "EraIndex", + WaitForUnbonding: "Null", + }, + }, + RelaychainAccountId: "AccountId", + SlashInfo: { + validator: "RelaychainAccountId", + relaychainTokenAmount: "Balance", + }, + ValidatorBacking: { + totalInsurance: "Balance", + isFrozen: "bool", + }, + Guarantee: { + total: "Balance", + bonded: "Balance", + unbonding: "Option<(Balance, BlockNumber)>", + }, + PoolId: { + _enum: { + Loans: "CurrencyId", + DexIncentive: "CurrencyId", + DexSaving: "CurrencyId", + Homa: "Null", + }, + }, + PoolIdV0: { + _enum: { + LoansIncentive: "CurrencyId", + DexIncentive: "CurrencyId", + HomaIncentive: "Null", + DexSaving: "CurrencyId", + HomaValidatorAllowance: "AccountId", + }, + }, + Position: { + collateral: "Balance", + debit: "Balance", + }, + CID: "Vec", + Attributes: "BTreeMap, Vec>", + TokenInfoOf: { + metadata: "CID", + owner: "AccountId", + data: "TokenData", + }, + Properties: { + _set: { + _bitLength: 8, + Transferable: 1, + Burnable: 2, + Mintable: 4, + ClassPropertiesMutable: 8, + }, + }, + ClassData: { + deposit: "Balance", + properties: "Properties", + attributes: "Attributes", + }, + TokenData: { + deposit: "Balance", + attributes: "Attributes", + }, + TokenId: "u64", + TokenIdOf: "TokenId", + NFTClassId: "u32", + ClassIdOf: "ClassId", + NFTBalance: "u128", + NFTBalanceOf: "NFTBalance", + ClassInfoOf: { + metadata: "CID", + totalIssuance: "TokenId", + owner: "AccountId", + data: "ClassData", + }, + NomineeId: "AccountId", + HomaUnlockChunk: { + value: "Balance", + era: "EraIndex", + }, + BondingLedger: { + total: "Balance", + active: "Balance", + unlocking: "Vec", + }, + OracleKey: "CurrencyId", + AsOriginId: "AuthoritysOriginId", + ProxyType: { + _enum: [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan", + ], + }, + AtLeast64BitUnsigned: "u128", + StableAssetPoolId: "u32", + RelayChainBlockNumberOf: "RelayChainBlockNumber", + SubAccountStatus: { + bonded: "Balance", + available: "Balance", + unbonding: "Vec<(EraIndex,Balance)>", + mockRewardRate: "Rate", + }, + Params: { + targetMaxFreeUnbondedRatio: "Ratio", + targetMinFreeUnbondedRatio: "Ratio", + targetUnbondingToFreeRatio: "Ratio", + unbondingToFreeAdjustment: "Ratio", + baseFeeRate: "Rate", + }, + StakingPoolPhase: { + _enum: [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished", + ], + }, + Ledger: { + bonded: "Balance", + unbondingToFree: "Balance", + freePool: "Balance", + toUnbondNextEra: "(Balance, Balance)", + }, + ChangeRate: { + _enum: { + NoChange: "Null", + NewValue: "Rate", + }, + }, + ChangeRatio: { + _enum: { + NoChange: "Null", + NewValue: "Ratio", + }, + }, + BalanceInfo: { + amount: "Balance", + }, + PolkadotAccountId: "AccountId", + PolkadotAccountIdOf: "PolkadotAccountId", + ExchangeRate: "FixedU128", + Rate: "FixedU128", + Ratio: "FixedU128", + PublicKey: "[u8; 20]", + DestAddress: "Vec", + PoolTokenIndex: "u32", + AssetId: "CurrencyId", + Keys: "SessionKeys1", + Address: "GenericMultiAddress", + LookupSource: "GenericMultiAddress", + MultiLocation: "MultiLocationV0", + MultiAsset: "MultiAssetV0", + Xcm: "XcmV0", + XcmOrder: "XcmOrderV0", + XcmError: "XcmErrorV0", + Response: "ResponseV0", + }, + }, + { + minmax: [723, 729], + types: { + CallOf: "Call", + DispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + ScheduleTaskIndex: "u32", + DelayedOrigin: { + delay: "BlockNumber", + origin: "PalletsOrigin", + }, + AuthorityOrigin: "DelayedOrigin", + StorageValue: "Vec", + GraduallyUpdate: { + key: "StorageKey", + targetValue: "StorageValue", + perBlock: "StorageValue", + }, + StorageKeyBytes: "Vec", + StorageValueBytes: "Vec", + RpcDataProviderId: "Text", + DataProviderId: "u8", + TimestampedValue: { + value: "OracleValue", + timestamp: "Moment", + }, + TimestampedValueOf: "TimestampedValue", + OrderedSet: "Vec", + OrmlAccountData: { + free: "Balance", + reserved: "Balance", + frozen: "Balance", + }, + OrmlBalanceLock: { + amount: "Balance", + id: "LockIdentifier", + }, + AuctionInfo: { + bid: "Option<(AccountId, Balance)>", + start: "BlockNumber", + end: "Option", + }, + DelayedDispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + DispatchId: "u32", + Price: "FixedU128", + OrmlVestingSchedule: { + start: "BlockNumber", + period: "BlockNumber", + periodCount: "u32", + perPeriod: "Compact", + }, + VestingScheduleOf: "OrmlVestingSchedule", + OrmlCurrencyId: "CurrencyId", + PoolInfo: { + totalShares: "Compact", + totalRewards: "Compact", + totalWithdrawnRewards: "Compact", + }, + CompactBalance: "Compact", + PoolInfoV0: { + totalShares: "Compact", + totalRewards: "CompactBalance", + totalWithdrawnRewards: "CompactBalance", + }, + Share: "u128", + OracleValue: "Price", + Amount: "i128", + AmountOf: "Amount", + AuctionId: "u32", + AuctionIdOf: "AuctionId", + TokenSymbol: { + _enum: { + ACA: 0, + AUSD: 1, + DOT: 2, + LDOT: 3, + XBTC: 4, + RENBTC: 5, + POLKABTC: 6, + PLM: 7, + PHA: 8, + HDT: 9, + BCG: 11, + KAR: 128, + KUSD: 129, + KSM: 130, + LKSM: 131, + SDN: 135, + KILT: 138, + }, + }, + DexShare: { + _enum: { + Token: "TokenSymbol", + Erc20: "EvmAddress", + }, + }, + CurrencyId: { + _enum: { + Token: "TokenSymbol", + DEXShare: "(TokenSymbol, TokenSymbol)", + ERC20: "EvmAddress", + }, + }, + CurrencyIdOf: "CurrencyId", + AirDropCurrencyId: { + _enum: ["KAR", "ACA"], + }, + AuthoritysOriginId: { + _enum: [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve", + ], + }, + AcalaDataProviderId: { + _enum: ["Aggregated", "Acala", "Band"], + }, + TradingPair: "(CurrencyId, CurrencyId)", + ChainBridgeChainId: "u8", + PalletBalanceOf: "Balance", + CollateralAuctionItem: { + refundRecipient: "AccountId", + currencyId: "CurrencyId", + initialAmount: "Compact", + amount: "Compact", + target: "Compact", + startTime: "BlockNumber", + }, + DebitAuctionItem: { + initialAmount: "Compact", + amount: "Compact", + fix: "Compact", + startTime: "BlockNumber", + }, + SurplusAuctionItem: { + amount: "Compact", + startTime: "BlockNumber", + }, + LiquidationStrategy: { + _enum: ["Auction", "Exchange"], + }, + OptionRate: "Option", + OptionRatio: "Option", + ChangeOptionRate: { + _enum: { + NoChange: "Null", + NewValue: "OptionRate", + }, + }, + ChangeOptionRatio: { + _enum: { + NoChange: "Null", + NewValue: "OptionRatio", + }, + }, + ChangeBalance: { + _enum: { + NoChange: "Null", + NewValue: "Balance", + }, + }, + RiskManagementParams: { + maximumTotalDebitValue: "Balance", + interestRatePerSec: "Option", + liquidationRatio: "Option", + liquidationPenalty: "Option", + requiredCollateralRatio: "Option", + }, + CandidateInfoOf: "CandidateInfo", + TradingPairProvisionParameters: { + minContribution: "(Balance, Balance)", + targetProvision: "(Balance, Balance)", + accumulatedProvision: "(Balance, Balance)", + notBefore: "BlockNumber", + }, + BalanceWrapper: { + amount: "Balance", + }, + BalanceRequest: { + amount: "Balance", + }, + TradingPairStatus: { + _enum: { + NotEnabled: "Null", + Provisioning: "TradingPairProvisionParameters", + Enabled: "Null", + }, + }, + Erc20Info: { + address: "EvmAddress", + name: "Vec", + symbol: "Vec", + decimals: "u8", + }, + EstimateResourcesResponse: { + gas: "u256", + storage: "i32", + weightFee: "u256", + }, + EvmAccountInfo: { + nonce: "Index", + contractInfo: "Option", + }, + CodeInfo: { + codeSize: "u32", + refCount: "u32", + }, + EvmContractInfo: { + codeHash: "H256", + maintainer: "H160", + deployed: "bool", + }, + EvmAddress: "H160", + CallRequest: { + from: "Option", + to: "Option", + gasLimit: "Option", + storageLimit: "Option", + value: "Option", + data: "Option", + }, + RedeemStrategy: { + _enum: { + Immediately: "Null", + Target: "EraIndex", + WaitForUnbonding: "Null", + }, + }, + RelaychainAccountId: "AccountId", + SlashInfo: { + validator: "RelaychainAccountId", + relaychainTokenAmount: "Balance", + }, + ValidatorBacking: { + totalInsurance: "Balance", + isFrozen: "bool", + }, + Guarantee: { + total: "Balance", + bonded: "Balance", + unbonding: "Option<(Balance, BlockNumber)>", + }, + PoolId: { + _enum: { + LoansIncentive: "CurrencyId", + DexIncentive: "CurrencyId", + HomaIncentive: "Null", + DexSaving: "CurrencyId", + HomaValidatorAllowance: "AccountId", + }, + }, + PoolIdV0: { + _enum: { + LoansIncentive: "CurrencyId", + DexIncentive: "CurrencyId", + HomaIncentive: "Null", + DexSaving: "CurrencyId", + HomaValidatorAllowance: "AccountId", + }, + }, + Position: { + collateral: "Balance", + debit: "Balance", + }, + CID: "Vec", + Attributes: "BTreeMap, Vec>", + TokenInfoOf: { + metadata: "CID", + owner: "AccountId", + data: "TokenData", + }, + Properties: { + _set: { + _bitLength: 8, + Transferable: 1, + Burnable: 2, + Mintable: 4, + ClassPropertiesMutable: 8, + }, + }, + ClassData: { + deposit: "Balance", + properties: "Properties", + attributes: "Attributes", + }, + TokenData: { + deposit: "Balance", + attributes: "Attributes", + }, + TokenId: "u64", + TokenIdOf: "TokenId", + NFTClassId: "u32", + ClassIdOf: "ClassId", + NFTBalance: "u128", + NFTBalanceOf: "NFTBalance", + ClassInfoOf: { + metadata: "CID", + totalIssuance: "TokenId", + owner: "AccountId", + data: "ClassData", + }, + NomineeId: "AccountId", + HomaUnlockChunk: { + value: "Balance", + era: "EraIndex", + }, + BondingLedger: { + total: "Balance", + active: "Balance", + unlocking: "Vec", + }, + OracleKey: "CurrencyId", + AsOriginId: "AuthoritysOriginId", + ProxyType: { + _enum: [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan", + ], + }, + AtLeast64BitUnsigned: "u128", + StableAssetPoolId: "u32", + RelayChainBlockNumberOf: "RelayChainBlockNumber", + SubAccountStatus: { + bonded: "Balance", + available: "Balance", + unbonding: "Vec<(EraIndex,Balance)>", + mockRewardRate: "Rate", + }, + Params: { + targetMaxFreeUnbondedRatio: "Ratio", + targetMinFreeUnbondedRatio: "Ratio", + targetUnbondingToFreeRatio: "Ratio", + unbondingToFreeAdjustment: "Ratio", + baseFeeRate: "Rate", + }, + StakingPoolPhase: { + _enum: [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished", + ], + }, + Ledger: { + bonded: "Balance", + unbondingToFree: "Balance", + freePool: "Balance", + toUnbondNextEra: "(Balance, Balance)", + }, + ChangeRate: { + _enum: { + NoChange: "Null", + NewValue: "Rate", + }, + }, + ChangeRatio: { + _enum: { + NoChange: "Null", + NewValue: "Ratio", + }, + }, + BalanceInfo: { + amount: "Balance", + }, + PolkadotAccountId: "AccountId", + PolkadotAccountIdOf: "PolkadotAccountId", + ExchangeRate: "FixedU128", + Rate: "FixedU128", + Ratio: "FixedU128", + PublicKey: "[u8; 20]", + DestAddress: "Vec", + PoolTokenIndex: "u32", + AssetId: "CurrencyId", + Keys: "SessionKeys1", + Address: "GenericMultiAddress", + LookupSource: "GenericMultiAddress", + MultiLocation: "MultiLocationV0", + MultiAsset: "MultiAssetV0", + Xcm: "XcmV0", + XcmOrder: "XcmOrderV0", + XcmError: "XcmErrorV0", + Response: "ResponseV0", + }, + }, + { + minmax: [730, 1007], + types: { + CallOf: "Call", + DispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + ScheduleTaskIndex: "u32", + DelayedOrigin: { + delay: "BlockNumber", + origin: "PalletsOrigin", + }, + AuthorityOrigin: "DelayedOrigin", + StorageValue: "Vec", + GraduallyUpdate: { + key: "StorageKey", + targetValue: "StorageValue", + perBlock: "StorageValue", + }, + StorageKeyBytes: "Vec", + StorageValueBytes: "Vec", + RpcDataProviderId: "Text", + DataProviderId: "u8", + TimestampedValue: { + value: "OracleValue", + timestamp: "Moment", + }, + TimestampedValueOf: "TimestampedValue", + OrderedSet: "Vec", + OrmlAccountData: { + free: "Balance", + reserved: "Balance", + frozen: "Balance", + }, + OrmlBalanceLock: { + amount: "Balance", + id: "LockIdentifier", + }, + AuctionInfo: { + bid: "Option<(AccountId, Balance)>", + start: "BlockNumber", + end: "Option", + }, + DelayedDispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + DispatchId: "u32", + Price: "FixedU128", + OrmlVestingSchedule: { + start: "BlockNumber", + period: "BlockNumber", + periodCount: "u32", + perPeriod: "Compact", + }, + VestingScheduleOf: "OrmlVestingSchedule", + OrmlCurrencyId: "CurrencyId", + PoolInfo: { + totalShares: "Compact", + totalRewards: "Compact", + totalWithdrawnRewards: "Compact", + }, + CompactBalance: "Compact", + PoolInfoV0: { + totalShares: "Compact", + totalRewards: "CompactBalance", + totalWithdrawnRewards: "CompactBalance", + }, + Share: "u128", + OracleValue: "Price", + Amount: "i128", + AmountOf: "Amount", + AuctionId: "u32", + AuctionIdOf: "AuctionId", + TokenSymbol: { + _enum: { + ACA: 0, + AUSD: 1, + DOT: 2, + LDOT: 3, + RENBTC: 4, + KAR: 128, + KUSD: 129, + KSM: 130, + LKSM: 131, + CASH: 140, + }, + }, + DexShare: { + _enum: { + Token: "TokenSymbol", + Erc20: "EvmAddress", + }, + }, + CurrencyId: { + _enum: { + Token: "TokenSymbol", + DEXShare: "(DexShare, DexShare)", + ERC20: "EvmAddress", + StableAssetPoolToken: "StableAssetPoolId", + }, + }, + CurrencyIdOf: "CurrencyId", + AirDropCurrencyId: { + _enum: ["KAR", "ACA"], + }, + AuthoritysOriginId: { + _enum: [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve", + ], + }, + AcalaDataProviderId: { + _enum: ["Aggregated", "Acala", "Band"], + }, + TradingPair: "(CurrencyId, CurrencyId)", + ChainBridgeChainId: "u8", + PalletBalanceOf: "Balance", + CollateralAuctionItem: { + refundRecipient: "AccountId", + currencyId: "CurrencyId", + initialAmount: "Compact", + amount: "Compact", + target: "Compact", + startTime: "BlockNumber", + }, + DebitAuctionItem: { + initialAmount: "Compact", + amount: "Compact", + fix: "Compact", + startTime: "BlockNumber", + }, + SurplusAuctionItem: { + amount: "Compact", + startTime: "BlockNumber", + }, + LiquidationStrategy: { + _enum: ["Auction", "Exchange"], + }, + OptionRate: "Option", + OptionRatio: "Option", + ChangeOptionRate: { + _enum: { + NoChange: "Null", + NewValue: "OptionRate", + }, + }, + ChangeOptionRatio: { + _enum: { + NoChange: "Null", + NewValue: "OptionRatio", + }, + }, + ChangeBalance: { + _enum: { + NoChange: "Null", + NewValue: "Balance", + }, + }, + RiskManagementParams: { + maximumTotalDebitValue: "Balance", + interestRatePerSec: "Option", + liquidationRatio: "Option", + liquidationPenalty: "Option", + requiredCollateralRatio: "Option", + }, + CandidateInfoOf: "CandidateInfo", + TradingPairProvisionParameters: { + minContribution: "(Balance, Balance)", + targetProvision: "(Balance, Balance)", + accumulatedProvision: "(Balance, Balance)", + notBefore: "BlockNumber", + }, + BalanceWrapper: { + amount: "Balance", + }, + BalanceRequest: { + amount: "Balance", + }, + TradingPairStatus: { + _enum: { + NotEnabled: "Null", + Provisioning: "TradingPairProvisionParameters", + Enabled: "Null", + }, + }, + Erc20Info: { + address: "EvmAddress", + name: "Vec", + symbol: "Vec", + decimals: "u8", + }, + EstimateResourcesResponse: { + gas: "u256", + storage: "i32", + weightFee: "u256", + }, + EvmAccountInfo: { + nonce: "Index", + contractInfo: "Option", + }, + CodeInfo: { + codeSize: "u32", + refCount: "u32", + }, + EvmContractInfo: { + codeHash: "H256", + maintainer: "H160", + deployed: "bool", + }, + EvmAddress: "H160", + CallRequest: { + from: "Option", + to: "Option", + gasLimit: "Option", + storageLimit: "Option", + value: "Option", + data: "Option", + }, + RedeemStrategy: { + _enum: { + Immediately: "Null", + Target: "EraIndex", + WaitForUnbonding: "Null", + }, + }, + RelaychainAccountId: "AccountId", + SlashInfo: { + validator: "RelaychainAccountId", + relaychainTokenAmount: "Balance", + }, + ValidatorBacking: { + totalInsurance: "Balance", + isFrozen: "bool", + }, + Guarantee: { + total: "Balance", + bonded: "Balance", + unbonding: "Option<(Balance, BlockNumber)>", + }, + PoolId: { + _enum: { + LoansIncentive: "CurrencyId", + DexIncentive: "CurrencyId", + HomaIncentive: "Null", + DexSaving: "CurrencyId", + HomaValidatorAllowance: "AccountId", + }, + }, + PoolIdV0: { + _enum: { + LoansIncentive: "CurrencyId", + DexIncentive: "CurrencyId", + HomaIncentive: "Null", + DexSaving: "CurrencyId", + HomaValidatorAllowance: "AccountId", + }, + }, + Position: { + collateral: "Balance", + debit: "Balance", + }, + CID: "Vec", + Attributes: "BTreeMap, Vec>", + TokenInfoOf: { + metadata: "CID", + owner: "AccountId", + data: "TokenData", + }, + Properties: { + _set: { + _bitLength: 8, + Transferable: 1, + Burnable: 2, + Mintable: 4, + ClassPropertiesMutable: 8, + }, + }, + ClassData: { + deposit: "Balance", + properties: "Properties", + attributes: "Attributes", + }, + TokenData: { + deposit: "Balance", + attributes: "Attributes", + }, + TokenId: "u64", + TokenIdOf: "TokenId", + NFTClassId: "u32", + ClassIdOf: "ClassId", + NFTBalance: "u128", + NFTBalanceOf: "NFTBalance", + ClassInfoOf: { + metadata: "CID", + totalIssuance: "TokenId", + owner: "AccountId", + data: "ClassData", + }, + NomineeId: "AccountId", + HomaUnlockChunk: { + value: "Balance", + era: "EraIndex", + }, + BondingLedger: { + total: "Balance", + active: "Balance", + unlocking: "Vec", + }, + OracleKey: "CurrencyId", + AsOriginId: "AuthoritysOriginId", + ProxyType: { + _enum: [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan", + ], + }, + AtLeast64BitUnsigned: "u128", + StableAssetPoolId: "u32", + RelayChainBlockNumberOf: "RelayChainBlockNumber", + SubAccountStatus: { + bonded: "Balance", + available: "Balance", + unbonding: "Vec<(EraIndex,Balance)>", + mockRewardRate: "Rate", + }, + Params: { + targetMaxFreeUnbondedRatio: "Ratio", + targetMinFreeUnbondedRatio: "Ratio", + targetUnbondingToFreeRatio: "Ratio", + unbondingToFreeAdjustment: "Ratio", + baseFeeRate: "Rate", + }, + StakingPoolPhase: { + _enum: [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished", + ], + }, + Ledger: { + bonded: "Balance", + unbondingToFree: "Balance", + freePool: "Balance", + toUnbondNextEra: "(Balance, Balance)", + }, + ChangeRate: { + _enum: { + NoChange: "Null", + NewValue: "Rate", + }, + }, + ChangeRatio: { + _enum: { + NoChange: "Null", + NewValue: "Ratio", + }, + }, + BalanceInfo: { + amount: "Balance", + }, + PolkadotAccountId: "AccountId", + PolkadotAccountIdOf: "PolkadotAccountId", + ExchangeRate: "FixedU128", + Rate: "FixedU128", + Ratio: "FixedU128", + PublicKey: "[u8; 20]", + DestAddress: "Vec", + PoolTokenIndex: "u32", + AssetId: "CurrencyId", + Keys: "SessionKeys1", + Address: "GenericMultiAddress", + LookupSource: "GenericMultiAddress", + MultiLocation: "MultiLocationV0", + MultiAsset: "MultiAssetV0", + Xcm: "XcmV0", + XcmOrder: "XcmOrderV0", + XcmError: "XcmErrorV0", + Response: "ResponseV0", + }, + }, + { + minmax: [1008, 1008], + types: { + CallOf: "Call", + DispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + ScheduleTaskIndex: "u32", + DelayedOrigin: { + delay: "BlockNumber", + origin: "PalletsOrigin", + }, + AuthorityOrigin: "DelayedOrigin", + StorageValue: "Vec", + GraduallyUpdate: { + key: "StorageKey", + targetValue: "StorageValue", + perBlock: "StorageValue", + }, + StorageKeyBytes: "Vec", + StorageValueBytes: "Vec", + RpcDataProviderId: "Text", + DataProviderId: "u8", + TimestampedValue: { + value: "OracleValue", + timestamp: "Moment", + }, + TimestampedValueOf: "TimestampedValue", + OrderedSet: "Vec", + OrmlAccountData: { + free: "Balance", + reserved: "Balance", + frozen: "Balance", + }, + OrmlBalanceLock: { + amount: "Balance", + id: "LockIdentifier", + }, + AuctionInfo: { + bid: "Option<(AccountId, Balance)>", + start: "BlockNumber", + end: "Option", + }, + DelayedDispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + DispatchId: "u32", + Price: "FixedU128", + OrmlVestingSchedule: { + start: "BlockNumber", + period: "BlockNumber", + periodCount: "u32", + perPeriod: "Compact", + }, + VestingScheduleOf: "OrmlVestingSchedule", + OrmlCurrencyId: "CurrencyId", + PoolInfo: { + totalShares: "Compact", + totalRewards: "Compact", + totalWithdrawnRewards: "Compact", + }, + CompactBalance: "Compact", + PoolInfoV0: { + totalShares: "Compact", + totalRewards: "CompactBalance", + totalWithdrawnRewards: "CompactBalance", + }, + Share: "u128", + OracleValue: "Price", + Amount: "i128", + AmountOf: "Amount", + AuctionId: "u32", + AuctionIdOf: "AuctionId", + TokenSymbol: { + _enum: { + ACA: 0, + AUSD: 1, + DOT: 2, + LDOT: 3, + RENBTC: 20, + CASH: 21, + KAR: 128, + KUSD: 129, + KSM: 130, + LKSM: 131, + }, + }, + DexShare: { + _enum: { + Token: "TokenSymbol", + Erc20: "EvmAddress", + }, + }, + CurrencyId: { + _enum: { + Token: "TokenSymbol", + DEXShare: "(DexShare, DexShare)", + ERC20: "EvmAddress", + StableAssetPoolToken: "StableAssetPoolId", + }, + }, + CurrencyIdOf: "CurrencyId", + AirDropCurrencyId: { + _enum: ["KAR", "ACA"], + }, + AuthoritysOriginId: { + _enum: [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve", + ], + }, + AcalaDataProviderId: { + _enum: ["Aggregated", "Acala", "Band"], + }, + TradingPair: "(CurrencyId, CurrencyId)", + ChainBridgeChainId: "u8", + PalletBalanceOf: "Balance", + CollateralAuctionItem: { + refundRecipient: "AccountId", + currencyId: "CurrencyId", + initialAmount: "Compact", + amount: "Compact", + target: "Compact", + startTime: "BlockNumber", + }, + DebitAuctionItem: { + initialAmount: "Compact", + amount: "Compact", + fix: "Compact", + startTime: "BlockNumber", + }, + SurplusAuctionItem: { + amount: "Compact", + startTime: "BlockNumber", + }, + LiquidationStrategy: { + _enum: ["Auction", "Exchange"], + }, + OptionRate: "Option", + OptionRatio: "Option", + ChangeOptionRate: { + _enum: { + NoChange: "Null", + NewValue: "OptionRate", + }, + }, + ChangeOptionRatio: { + _enum: { + NoChange: "Null", + NewValue: "OptionRatio", + }, + }, + ChangeBalance: { + _enum: { + NoChange: "Null", + NewValue: "Balance", + }, + }, + RiskManagementParams: { + maximumTotalDebitValue: "Balance", + interestRatePerSec: "Option", + liquidationRatio: "Option", + liquidationPenalty: "Option", + requiredCollateralRatio: "Option", + }, + CandidateInfoOf: "CandidateInfo", + TradingPairProvisionParameters: { + minContribution: "(Balance, Balance)", + targetProvision: "(Balance, Balance)", + accumulatedProvision: "(Balance, Balance)", + notBefore: "BlockNumber", + }, + BalanceWrapper: { + amount: "Balance", + }, + BalanceRequest: { + amount: "Balance", + }, + TradingPairStatus: { + _enum: { + NotEnabled: "Null", + Provisioning: "TradingPairProvisionParameters", + Enabled: "Null", + }, + }, + Erc20Info: { + address: "EvmAddress", + name: "Vec", + symbol: "Vec", + decimals: "u8", + }, + EstimateResourcesResponse: { + gas: "u256", + storage: "i32", + weightFee: "u256", + }, + EvmAccountInfo: { + nonce: "Index", + contractInfo: "Option", + }, + CodeInfo: { + codeSize: "u32", + refCount: "u32", + }, + EvmContractInfo: { + codeHash: "H256", + maintainer: "H160", + deployed: "bool", + }, + EvmAddress: "H160", + CallRequest: { + from: "Option", + to: "Option", + gasLimit: "Option", + storageLimit: "Option", + value: "Option", + data: "Option", + }, + RedeemStrategy: { + _enum: { + Immediately: "Null", + Target: "EraIndex", + WaitForUnbonding: "Null", + }, + }, + RelaychainAccountId: "AccountId", + SlashInfo: { + validator: "RelaychainAccountId", + relaychainTokenAmount: "Balance", + }, + ValidatorBacking: { + totalInsurance: "Balance", + isFrozen: "bool", + }, + Guarantee: { + total: "Balance", + bonded: "Balance", + unbonding: "Option<(Balance, BlockNumber)>", + }, + PoolId: { + _enum: { + LoansIncentive: "CurrencyId", + DexIncentive: "CurrencyId", + HomaIncentive: "Null", + DexSaving: "CurrencyId", + HomaValidatorAllowance: "AccountId", + }, + }, + PoolIdV0: { + _enum: { + LoansIncentive: "CurrencyId", + DexIncentive: "CurrencyId", + HomaIncentive: "Null", + DexSaving: "CurrencyId", + HomaValidatorAllowance: "AccountId", + }, + }, + Position: { + collateral: "Balance", + debit: "Balance", + }, + CID: "Vec", + Attributes: "BTreeMap, Vec>", + TokenInfoOf: { + metadata: "CID", + owner: "AccountId", + data: "TokenData", + }, + Properties: { + _set: { + _bitLength: 8, + Transferable: 1, + Burnable: 2, + Mintable: 4, + ClassPropertiesMutable: 8, + }, + }, + ClassData: { + deposit: "Balance", + properties: "Properties", + attributes: "Attributes", + }, + TokenData: { + deposit: "Balance", + attributes: "Attributes", + }, + TokenId: "u64", + TokenIdOf: "TokenId", + NFTClassId: "u32", + ClassIdOf: "ClassId", + NFTBalance: "u128", + NFTBalanceOf: "NFTBalance", + ClassInfoOf: { + metadata: "CID", + totalIssuance: "TokenId", + owner: "AccountId", + data: "ClassData", + }, + NomineeId: "AccountId", + HomaUnlockChunk: { + value: "Balance", + era: "EraIndex", + }, + BondingLedger: { + total: "Balance", + active: "Balance", + unlocking: "Vec", + }, + OracleKey: "CurrencyId", + AsOriginId: "AuthoritysOriginId", + ProxyType: { + _enum: [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan", + ], + }, + AtLeast64BitUnsigned: "u128", + StableAssetPoolId: "u32", + RelayChainBlockNumberOf: "RelayChainBlockNumber", + SubAccountStatus: { + bonded: "Balance", + available: "Balance", + unbonding: "Vec<(EraIndex,Balance)>", + mockRewardRate: "Rate", + }, + Params: { + targetMaxFreeUnbondedRatio: "Ratio", + targetMinFreeUnbondedRatio: "Ratio", + targetUnbondingToFreeRatio: "Ratio", + unbondingToFreeAdjustment: "Ratio", + baseFeeRate: "Rate", + }, + StakingPoolPhase: { + _enum: [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished", + ], + }, + Ledger: { + bonded: "Balance", + unbondingToFree: "Balance", + freePool: "Balance", + toUnbondNextEra: "(Balance, Balance)", + }, + ChangeRate: { + _enum: { + NoChange: "Null", + NewValue: "Rate", + }, + }, + ChangeRatio: { + _enum: { + NoChange: "Null", + NewValue: "Ratio", + }, + }, + BalanceInfo: { + amount: "Balance", + }, + PolkadotAccountId: "AccountId", + PolkadotAccountIdOf: "PolkadotAccountId", + ExchangeRate: "FixedU128", + Rate: "FixedU128", + Ratio: "FixedU128", + PublicKey: "[u8; 20]", + DestAddress: "Vec", + PoolTokenIndex: "u32", + AssetId: "CurrencyId", + Keys: "SessionKeys1", + Address: "GenericMultiAddress", + LookupSource: "GenericMultiAddress", + MultiLocation: "MultiLocationV0", + MultiAsset: "MultiAssetV0", + Xcm: "XcmV0", + XcmOrder: "XcmOrderV0", + XcmError: "XcmErrorV0", + Response: "ResponseV0", + }, + }, + { + minmax: [1008, 1009], + types: { + CallOf: "Call", + DispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + ScheduleTaskIndex: "u32", + DelayedOrigin: { + delay: "BlockNumber", + origin: "PalletsOrigin", + }, + AuthorityOrigin: "DelayedOrigin", + StorageValue: "Vec", + GraduallyUpdate: { + key: "StorageKey", + targetValue: "StorageValue", + perBlock: "StorageValue", + }, + StorageKeyBytes: "Vec", + StorageValueBytes: "Vec", + RpcDataProviderId: "Text", + DataProviderId: "u8", + TimestampedValue: { + value: "OracleValue", + timestamp: "Moment", + }, + TimestampedValueOf: "TimestampedValue", + OrderedSet: "Vec", + OrmlAccountData: { + free: "Balance", + reserved: "Balance", + frozen: "Balance", + }, + OrmlBalanceLock: { + amount: "Balance", + id: "LockIdentifier", + }, + AuctionInfo: { + bid: "Option<(AccountId, Balance)>", + start: "BlockNumber", + end: "Option", + }, + DelayedDispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + DispatchId: "u32", + Price: "FixedU128", + OrmlVestingSchedule: { + start: "BlockNumber", + period: "BlockNumber", + periodCount: "u32", + perPeriod: "Compact", + }, + VestingScheduleOf: "OrmlVestingSchedule", + OrmlCurrencyId: "CurrencyId", + PoolInfo: { + totalShares: "Compact", + totalRewards: "Compact", + totalWithdrawnRewards: "Compact", + }, + CompactBalance: "Compact", + PoolInfoV0: { + totalShares: "Compact", + totalRewards: "CompactBalance", + totalWithdrawnRewards: "CompactBalance", + }, + Share: "u128", + OracleValue: "Price", + Amount: "i128", + AmountOf: "Amount", + AuctionId: "u32", + AuctionIdOf: "AuctionId", + TokenSymbol: { + _enum: { + ACA: 0, + AUSD: 1, + DOT: 2, + LDOT: 3, + RENBTC: 20, + CASH: 21, + KAR: 128, + KUSD: 129, + KSM: 130, + LKSM: 131, + BNC: 168, + VSKSM: 169, + }, + }, + DexShare: { + _enum: { + Token: "TokenSymbol", + Erc20: "EvmAddress", + }, + }, + CurrencyId: { + _enum: { + Token: "TokenSymbol", + DEXShare: "(DexShare, DexShare)", + ERC20: "EvmAddress", + StableAssetPoolToken: "StableAssetPoolId", + }, + }, + CurrencyIdOf: "CurrencyId", + AirDropCurrencyId: { + _enum: ["KAR", "ACA"], + }, + AuthoritysOriginId: { + _enum: [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve", + ], + }, + AcalaDataProviderId: { + _enum: ["Aggregated", "Acala", "Band"], + }, + TradingPair: "(CurrencyId, CurrencyId)", + ChainBridgeChainId: "u8", + PalletBalanceOf: "Balance", + CollateralAuctionItem: { + refundRecipient: "AccountId", + currencyId: "CurrencyId", + initialAmount: "Compact", + amount: "Compact", + target: "Compact", + startTime: "BlockNumber", + }, + DebitAuctionItem: { + initialAmount: "Compact", + amount: "Compact", + fix: "Compact", + startTime: "BlockNumber", + }, + SurplusAuctionItem: { + amount: "Compact", + startTime: "BlockNumber", + }, + LiquidationStrategy: { + _enum: ["Auction", "Exchange"], + }, + OptionRate: "Option", + OptionRatio: "Option", + ChangeOptionRate: { + _enum: { + NoChange: "Null", + NewValue: "OptionRate", + }, + }, + ChangeOptionRatio: { + _enum: { + NoChange: "Null", + NewValue: "OptionRatio", + }, + }, + ChangeBalance: { + _enum: { + NoChange: "Null", + NewValue: "Balance", + }, + }, + RiskManagementParams: { + maximumTotalDebitValue: "Balance", + interestRatePerSec: "Option", + liquidationRatio: "Option", + liquidationPenalty: "Option", + requiredCollateralRatio: "Option", + }, + CandidateInfoOf: "CandidateInfo", + TradingPairProvisionParameters: { + minContribution: "(Balance, Balance)", + targetProvision: "(Balance, Balance)", + accumulatedProvision: "(Balance, Balance)", + notBefore: "BlockNumber", + }, + BalanceWrapper: { + amount: "Balance", + }, + BalanceRequest: { + amount: "Balance", + }, + TradingPairStatus: { + _enum: { + NotEnabled: "Null", + Provisioning: "TradingPairProvisionParameters", + Enabled: "Null", + }, + }, + Erc20Info: { + address: "EvmAddress", + name: "Vec", + symbol: "Vec", + decimals: "u8", + }, + EstimateResourcesResponse: { + gas: "u256", + storage: "i32", + weightFee: "u256", + }, + EvmAccountInfo: { + nonce: "Index", + contractInfo: "Option", + }, + CodeInfo: { + codeSize: "u32", + refCount: "u32", + }, + EvmContractInfo: { + codeHash: "H256", + maintainer: "H160", + deployed: "bool", + }, + EvmAddress: "H160", + CallRequest: { + from: "Option", + to: "Option", + gasLimit: "Option", + storageLimit: "Option", + value: "Option", + data: "Option", + }, + RedeemStrategy: { + _enum: { + Immediately: "Null", + Target: "EraIndex", + WaitForUnbonding: "Null", + }, + }, + RelaychainAccountId: "AccountId", + SlashInfo: { + validator: "RelaychainAccountId", + relaychainTokenAmount: "Balance", + }, + ValidatorBacking: { + totalInsurance: "Balance", + isFrozen: "bool", + }, + Guarantee: { + total: "Balance", + bonded: "Balance", + unbonding: "Option<(Balance, BlockNumber)>", + }, + PoolId: { + _enum: { + LoansIncentive: "CurrencyId", + DexIncentive: "CurrencyId", + HomaIncentive: "Null", + DexSaving: "CurrencyId", + HomaValidatorAllowance: "AccountId", + }, + }, + PoolIdV0: { + _enum: { + LoansIncentive: "CurrencyId", + DexIncentive: "CurrencyId", + HomaIncentive: "Null", + DexSaving: "CurrencyId", + HomaValidatorAllowance: "AccountId", + }, + }, + Position: { + collateral: "Balance", + debit: "Balance", + }, + CID: "Vec", + Attributes: "BTreeMap, Vec>", + TokenInfoOf: { + metadata: "CID", + owner: "AccountId", + data: "TokenData", + }, + Properties: { + _set: { + _bitLength: 8, + Transferable: 1, + Burnable: 2, + Mintable: 4, + ClassPropertiesMutable: 8, + }, + }, + ClassData: { + deposit: "Balance", + properties: "Properties", + attributes: "Attributes", + }, + TokenData: { + deposit: "Balance", + attributes: "Attributes", + }, + TokenId: "u64", + TokenIdOf: "TokenId", + NFTClassId: "u32", + ClassIdOf: "ClassId", + NFTBalance: "u128", + NFTBalanceOf: "NFTBalance", + ClassInfoOf: { + metadata: "CID", + totalIssuance: "TokenId", + owner: "AccountId", + data: "ClassData", + }, + NomineeId: "AccountId", + HomaUnlockChunk: { + value: "Balance", + era: "EraIndex", + }, + BondingLedger: { + total: "Balance", + active: "Balance", + unlocking: "Vec", + }, + OracleKey: "CurrencyId", + AsOriginId: "AuthoritysOriginId", + ProxyType: { + _enum: [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan", + ], + }, + AtLeast64BitUnsigned: "u128", + StableAssetPoolId: "u32", + RelayChainBlockNumberOf: "RelayChainBlockNumber", + SubAccountStatus: { + bonded: "Balance", + available: "Balance", + unbonding: "Vec<(EraIndex,Balance)>", + mockRewardRate: "Rate", + }, + Params: { + targetMaxFreeUnbondedRatio: "Ratio", + targetMinFreeUnbondedRatio: "Ratio", + targetUnbondingToFreeRatio: "Ratio", + unbondingToFreeAdjustment: "Ratio", + baseFeeRate: "Rate", + }, + StakingPoolPhase: { + _enum: [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished", + ], + }, + Ledger: { + bonded: "Balance", + unbondingToFree: "Balance", + freePool: "Balance", + toUnbondNextEra: "(Balance, Balance)", + }, + ChangeRate: { + _enum: { + NoChange: "Null", + NewValue: "Rate", + }, + }, + ChangeRatio: { + _enum: { + NoChange: "Null", + NewValue: "Ratio", + }, + }, + BalanceInfo: { + amount: "Balance", + }, + PolkadotAccountId: "AccountId", + PolkadotAccountIdOf: "PolkadotAccountId", + ExchangeRate: "FixedU128", + Rate: "FixedU128", + Ratio: "FixedU128", + PublicKey: "[u8; 20]", + DestAddress: "Vec", + PoolTokenIndex: "u32", + AssetId: "CurrencyId", + Keys: "SessionKeys1", + Address: "GenericMultiAddress", + LookupSource: "GenericMultiAddress", + MultiLocation: "MultiLocationV0", + MultiAsset: "MultiAssetV0", + Xcm: "XcmV0", + XcmOrder: "XcmOrderV0", + XcmError: "XcmErrorV0", + Response: "ResponseV0", + }, + }, + { + minmax: [1010, 1013], + types: { + CallOf: "Call", + DispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + ScheduleTaskIndex: "u32", + DelayedOrigin: { + delay: "BlockNumber", + origin: "PalletsOrigin", + }, + AuthorityOrigin: "DelayedOrigin", + StorageValue: "Vec", + GraduallyUpdate: { + key: "StorageKey", + targetValue: "StorageValue", + perBlock: "StorageValue", + }, + StorageKeyBytes: "Vec", + StorageValueBytes: "Vec", + RpcDataProviderId: "Text", + DataProviderId: "u8", + TimestampedValue: { + value: "OracleValue", + timestamp: "Moment", + }, + TimestampedValueOf: "TimestampedValue", + OrderedSet: "Vec", + OrmlAccountData: { + free: "Balance", + reserved: "Balance", + frozen: "Balance", + }, + OrmlBalanceLock: { + amount: "Balance", + id: "LockIdentifier", + }, + AuctionInfo: { + bid: "Option<(AccountId, Balance)>", + start: "BlockNumber", + end: "Option", + }, + DelayedDispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + DispatchId: "u32", + Price: "FixedU128", + OrmlVestingSchedule: { + start: "BlockNumber", + period: "BlockNumber", + periodCount: "u32", + perPeriod: "Compact", + }, + VestingScheduleOf: "OrmlVestingSchedule", + OrmlCurrencyId: "CurrencyId", + PoolInfo: { + totalShares: "Share", + rewards: "BTreeMap", + }, + CompactBalance: "Compact", + PoolInfoV0: { + totalShares: "Compact", + totalRewards: "CompactBalance", + totalWithdrawnRewards: "CompactBalance", + }, + Share: "u128", + OracleValue: "Price", + Amount: "i128", + AmountOf: "Amount", + AuctionId: "u32", + AuctionIdOf: "AuctionId", + TokenSymbol: { + _enum: { + ACA: 0, + AUSD: 1, + DOT: 2, + LDOT: 3, + RENBTC: 20, + CASH: 21, + KAR: 128, + KUSD: 129, + KSM: 130, + LKSM: 131, + BNC: 168, + VSKSM: 169, + }, + }, + DexShare: { + _enum: { + Token: "TokenSymbol", + Erc20: "EvmAddress", + }, + }, + CurrencyId: { + _enum: { + Token: "TokenSymbol", + DEXShare: "(DexShare, DexShare)", + ERC20: "EvmAddress", + StableAssetPoolToken: "StableAssetPoolId", + }, + }, + CurrencyIdOf: "CurrencyId", + AirDropCurrencyId: { + _enum: ["KAR", "ACA"], + }, + AuthoritysOriginId: { + _enum: [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve", + ], + }, + AcalaDataProviderId: { + _enum: ["Aggregated", "Acala", "Band"], + }, + TradingPair: "(CurrencyId, CurrencyId)", + ChainBridgeChainId: "u8", + PalletBalanceOf: "Balance", + CollateralAuctionItem: { + refundRecipient: "AccountId", + currencyId: "CurrencyId", + initialAmount: "Compact", + amount: "Compact", + target: "Compact", + startTime: "BlockNumber", + }, + DebitAuctionItem: { + initialAmount: "Compact", + amount: "Compact", + fix: "Compact", + startTime: "BlockNumber", + }, + SurplusAuctionItem: { + amount: "Compact", + startTime: "BlockNumber", + }, + LiquidationStrategy: { + _enum: ["Auction", "Exchange"], + }, + OptionRate: "Option", + OptionRatio: "Option", + ChangeOptionRate: { + _enum: { + NoChange: "Null", + NewValue: "OptionRate", + }, + }, + ChangeOptionRatio: { + _enum: { + NoChange: "Null", + NewValue: "OptionRatio", + }, + }, + ChangeBalance: { + _enum: { + NoChange: "Null", + NewValue: "Balance", + }, + }, + RiskManagementParams: { + maximumTotalDebitValue: "Balance", + interestRatePerSec: "Option", + liquidationRatio: "Option", + liquidationPenalty: "Option", + requiredCollateralRatio: "Option", + }, + CandidateInfoOf: "CandidateInfo", + TradingPairProvisionParameters: { + minContribution: "(Balance, Balance)", + targetProvision: "(Balance, Balance)", + accumulatedProvision: "(Balance, Balance)", + notBefore: "BlockNumber", + }, + BalanceWrapper: { + amount: "Balance", + }, + BalanceRequest: { + amount: "Balance", + }, + TradingPairStatus: { + _enum: { + NotEnabled: "Null", + Provisioning: "TradingPairProvisionParameters", + Enabled: "Null", + }, + }, + Erc20Info: { + address: "EvmAddress", + name: "Vec", + symbol: "Vec", + decimals: "u8", + }, + EstimateResourcesResponse: { + gas: "u256", + storage: "i32", + weightFee: "u256", + }, + EvmAccountInfo: { + nonce: "Index", + contractInfo: "Option", + }, + CodeInfo: { + codeSize: "u32", + refCount: "u32", + }, + EvmContractInfo: { + codeHash: "H256", + maintainer: "H160", + deployed: "bool", + }, + EvmAddress: "H160", + CallRequest: { + from: "Option", + to: "Option", + gasLimit: "Option", + storageLimit: "Option", + value: "Option", + data: "Option", + }, + RedeemStrategy: { + _enum: { + Immediately: "Null", + Target: "EraIndex", + WaitForUnbonding: "Null", + }, + }, + RelaychainAccountId: "AccountId", + SlashInfo: { + validator: "RelaychainAccountId", + relaychainTokenAmount: "Balance", + }, + ValidatorBacking: { + totalInsurance: "Balance", + isFrozen: "bool", + }, + Guarantee: { + total: "Balance", + bonded: "Balance", + unbonding: "Option<(Balance, BlockNumber)>", + }, + PoolId: { + _enum: { + Loans: "CurrencyId", + Dex: "CurrencyId", + }, + }, + PoolIdV0: { + _enum: { + LoansIncentive: "CurrencyId", + DexIncentive: "CurrencyId", + HomaIncentive: "Null", + DexSaving: "CurrencyId", + HomaValidatorAllowance: "AccountId", + }, + }, + Position: { + collateral: "Balance", + debit: "Balance", + }, + CID: "Vec", + Attributes: "BTreeMap, Vec>", + TokenInfoOf: { + metadata: "CID", + owner: "AccountId", + data: "TokenData", + }, + Properties: { + _set: { + _bitLength: 8, + Transferable: 1, + Burnable: 2, + Mintable: 4, + ClassPropertiesMutable: 8, + }, + }, + ClassData: { + deposit: "Balance", + properties: "Properties", + attributes: "Attributes", + }, + TokenData: { + deposit: "Balance", + attributes: "Attributes", + }, + TokenId: "u64", + TokenIdOf: "TokenId", + NFTClassId: "u32", + ClassIdOf: "ClassId", + NFTBalance: "u128", + NFTBalanceOf: "NFTBalance", + ClassInfoOf: { + metadata: "CID", + totalIssuance: "TokenId", + owner: "AccountId", + data: "ClassData", + }, + NomineeId: "AccountId", + HomaUnlockChunk: { + value: "Balance", + era: "EraIndex", + }, + BondingLedger: { + total: "Balance", + active: "Balance", + unlocking: "Vec", + }, + OracleKey: "CurrencyId", + AsOriginId: "AuthoritysOriginId", + ProxyType: { + _enum: [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan", + ], + }, + AtLeast64BitUnsigned: "u128", + StableAssetPoolId: "u32", + RelayChainBlockNumberOf: "RelayChainBlockNumber", + SubAccountStatus: { + bonded: "Balance", + available: "Balance", + unbonding: "Vec<(EraIndex,Balance)>", + mockRewardRate: "Rate", + }, + Params: { + targetMaxFreeUnbondedRatio: "Ratio", + targetMinFreeUnbondedRatio: "Ratio", + targetUnbondingToFreeRatio: "Ratio", + unbondingToFreeAdjustment: "Ratio", + baseFeeRate: "Rate", + }, + StakingPoolPhase: { + _enum: [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished", + ], + }, + Ledger: { + bonded: "Balance", + unbondingToFree: "Balance", + freePool: "Balance", + toUnbondNextEra: "(Balance, Balance)", + }, + ChangeRate: { + _enum: { + NoChange: "Null", + NewValue: "Rate", + }, + }, + ChangeRatio: { + _enum: { + NoChange: "Null", + NewValue: "Ratio", + }, + }, + BalanceInfo: { + amount: "Balance", + }, + PolkadotAccountId: "AccountId", + PolkadotAccountIdOf: "PolkadotAccountId", + ExchangeRate: "FixedU128", + Rate: "FixedU128", + Ratio: "FixedU128", + PublicKey: "[u8; 20]", + DestAddress: "Vec", + PoolTokenIndex: "u32", + AssetId: "CurrencyId", + Keys: "SessionKeys1", + Address: "GenericMultiAddress", + LookupSource: "GenericMultiAddress", + MultiLocation: "MultiLocationV0", + MultiAsset: "MultiAssetV0", + Xcm: "XcmV0", + XcmOrder: "XcmOrderV0", + XcmError: "XcmErrorV0", + Response: "ResponseV0", + }, + }, + { + minmax: [1014, 1018], + types: { + CallOf: "Call", + DispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + ScheduleTaskIndex: "u32", + DelayedOrigin: { + delay: "BlockNumber", + origin: "PalletsOrigin", + }, + AuthorityOrigin: "DelayedOrigin", + StorageValue: "Vec", + GraduallyUpdate: { + key: "StorageKey", + targetValue: "StorageValue", + perBlock: "StorageValue", + }, + StorageKeyBytes: "Vec", + StorageValueBytes: "Vec", + RpcDataProviderId: "Text", + DataProviderId: "u8", + TimestampedValue: { + value: "OracleValue", + timestamp: "Moment", + }, + TimestampedValueOf: "TimestampedValue", + OrderedSet: "Vec", + OrmlAccountData: { + free: "Balance", + reserved: "Balance", + frozen: "Balance", + }, + OrmlBalanceLock: { + amount: "Balance", + id: "LockIdentifier", + }, + AuctionInfo: { + bid: "Option<(AccountId, Balance)>", + start: "BlockNumber", + end: "Option", + }, + DelayedDispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + DispatchId: "u32", + Price: "FixedU128", + OrmlVestingSchedule: { + start: "BlockNumber", + period: "BlockNumber", + periodCount: "u32", + perPeriod: "Compact", + }, + VestingScheduleOf: "OrmlVestingSchedule", + OrmlCurrencyId: "CurrencyId", + PoolInfo: { + totalShares: "Share", + rewards: "BTreeMap", + }, + CompactBalance: "Compact", + PoolInfoV0: { + totalShares: "Compact", + totalRewards: "CompactBalance", + totalWithdrawnRewards: "CompactBalance", + }, + Share: "u128", + OracleValue: "Price", + Amount: "i128", + AmountOf: "Amount", + AuctionId: "u32", + AuctionIdOf: "AuctionId", + TokenSymbol: { + _enum: { + ACA: 0, + AUSD: 1, + DOT: 2, + LDOT: 3, + RENBTC: 20, + CASH: 21, + KAR: 128, + KUSD: 129, + KSM: 130, + LKSM: 131, + BNC: 168, + VSKSM: 169, + }, + }, + DexShare: { + _enum: { + Token: "TokenSymbol", + Erc20: "EvmAddress", + }, + }, + CurrencyId: { + _enum: { + Token: "TokenSymbol", + DEXShare: "(DexShare, DexShare)", + ERC20: "EvmAddress", + StableAssetPoolToken: "StableAssetPoolId", + }, + }, + CurrencyIdOf: "CurrencyId", + AirDropCurrencyId: { + _enum: ["KAR", "ACA"], + }, + AuthoritysOriginId: { + _enum: [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve", + ], + }, + AcalaDataProviderId: { + _enum: ["Aggregated", "Acala", "Band"], + }, + TradingPair: "(CurrencyId, CurrencyId)", + ChainBridgeChainId: "u8", + PalletBalanceOf: "Balance", + CollateralAuctionItem: { + refundRecipient: "AccountId", + currencyId: "CurrencyId", + initialAmount: "Compact", + amount: "Compact", + target: "Compact", + startTime: "BlockNumber", + }, + DebitAuctionItem: { + initialAmount: "Compact", + amount: "Compact", + fix: "Compact", + startTime: "BlockNumber", + }, + SurplusAuctionItem: { + amount: "Compact", + startTime: "BlockNumber", + }, + LiquidationStrategy: { + _enum: ["Auction", "Exchange"], + }, + OptionRate: "Option", + OptionRatio: "Option", + ChangeOptionRate: { + _enum: { + NoChange: "Null", + NewValue: "OptionRate", + }, + }, + ChangeOptionRatio: { + _enum: { + NoChange: "Null", + NewValue: "OptionRatio", + }, + }, + ChangeBalance: { + _enum: { + NoChange: "Null", + NewValue: "Balance", + }, + }, + RiskManagementParams: { + maximumTotalDebitValue: "Balance", + interestRatePerSec: "Option", + liquidationRatio: "Option", + liquidationPenalty: "Option", + requiredCollateralRatio: "Option", + }, + CandidateInfoOf: "CandidateInfo", + TradingPairProvisionParameters: { + minContribution: "(Balance, Balance)", + targetProvision: "(Balance, Balance)", + accumulatedProvision: "(Balance, Balance)", + notBefore: "BlockNumber", + }, + BalanceWrapper: { + amount: "Balance", + }, + BalanceRequest: { + amount: "Balance", + }, + TradingPairStatus: { + _enum: { + NotEnabled: "Null", + Provisioning: "TradingPairProvisionParameters", + Enabled: "Null", + }, + }, + Erc20Info: { + address: "EvmAddress", + name: "Vec", + symbol: "Vec", + decimals: "u8", + }, + EstimateResourcesResponse: { + gas: "u256", + storage: "i32", + weightFee: "u256", + }, + EvmAccountInfo: { + nonce: "Index", + contractInfo: "Option", + }, + CodeInfo: { + codeSize: "u32", + refCount: "u32", + }, + EvmContractInfo: { + codeHash: "H256", + maintainer: "H160", + deployed: "bool", + }, + EvmAddress: "H160", + CallRequest: { + from: "Option", + to: "Option", + gasLimit: "Option", + storageLimit: "Option", + value: "Option", + data: "Option", + }, + RedeemStrategy: { + _enum: { + Immediately: "Null", + Target: "EraIndex", + WaitForUnbonding: "Null", + }, + }, + RelaychainAccountId: "AccountId", + SlashInfo: { + validator: "RelaychainAccountId", + relaychainTokenAmount: "Balance", + }, + ValidatorBacking: { + totalInsurance: "Balance", + isFrozen: "bool", + }, + Guarantee: { + total: "Balance", + bonded: "Balance", + unbonding: "Option<(Balance, BlockNumber)>", + }, + PoolId: { + _enum: { + Loans: "CurrencyId", + Dex: "CurrencyId", + }, + }, + PoolIdV0: { + _enum: { + LoansIncentive: "CurrencyId", + DexIncentive: "CurrencyId", + HomaIncentive: "Null", + DexSaving: "CurrencyId", + HomaValidatorAllowance: "AccountId", + }, + }, + Position: { + collateral: "Balance", + debit: "Balance", + }, + CID: "Vec", + Attributes: "BTreeMap, Vec>", + TokenInfoOf: { + metadata: "CID", + owner: "AccountId", + data: "TokenData", + }, + Properties: { + _set: { + _bitLength: 8, + Transferable: 1, + Burnable: 2, + Mintable: 4, + ClassPropertiesMutable: 8, + }, + }, + ClassData: { + deposit: "Balance", + properties: "Properties", + attributes: "Attributes", + }, + TokenData: { + deposit: "Balance", + attributes: "Attributes", + }, + TokenId: "u64", + TokenIdOf: "TokenId", + NFTClassId: "u32", + ClassIdOf: "ClassId", + NFTBalance: "u128", + NFTBalanceOf: "NFTBalance", + ClassInfoOf: { + metadata: "CID", + totalIssuance: "TokenId", + owner: "AccountId", + data: "ClassData", + }, + NomineeId: "AccountId", + HomaUnlockChunk: { + value: "Balance", + era: "EraIndex", + }, + BondingLedger: { + total: "Balance", + active: "Balance", + unlocking: "Vec", + }, + OracleKey: "CurrencyId", + AsOriginId: "AuthoritysOriginId", + ProxyType: { + _enum: [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan", + ], + }, + AtLeast64BitUnsigned: "u128", + StableAssetPoolId: "u32", + RelayChainBlockNumberOf: "RelayChainBlockNumber", + SubAccountStatus: { + bonded: "Balance", + available: "Balance", + unbonding: "Vec<(EraIndex,Balance)>", + mockRewardRate: "Rate", + }, + Params: { + targetMaxFreeUnbondedRatio: "Ratio", + targetMinFreeUnbondedRatio: "Ratio", + targetUnbondingToFreeRatio: "Ratio", + unbondingToFreeAdjustment: "Ratio", + baseFeeRate: "Rate", + }, + StakingPoolPhase: { + _enum: [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished", + ], + }, + Ledger: { + bonded: "Balance", + unbondingToFree: "Balance", + freePool: "Balance", + toUnbondNextEra: "(Balance, Balance)", + }, + ChangeRate: { + _enum: { + NoChange: "Null", + NewValue: "Rate", + }, + }, + ChangeRatio: { + _enum: { + NoChange: "Null", + NewValue: "Ratio", + }, + }, + BalanceInfo: { + amount: "Balance", + }, + PolkadotAccountId: "AccountId", + PolkadotAccountIdOf: "PolkadotAccountId", + ExchangeRate: "FixedU128", + Rate: "FixedU128", + Ratio: "FixedU128", + PublicKey: "[u8; 20]", + DestAddress: "Vec", + PoolTokenIndex: "u32", + AssetId: "CurrencyId", + Keys: "SessionKeys1", + Address: "GenericMultiAddress", + LookupSource: "GenericMultiAddress", + MultiLocation: "MultiLocationV1", + MultiAsset: "MultiAssetV1", + Xcm: "XcmV1", + XcmOrder: "XcmOrderV1", + XcmError: "XcmErrorV1", + Response: "ResponseV1", + }, + }, + { + minmax: [1019, null], + types: { + CallOf: "Call", + DispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + ScheduleTaskIndex: "u32", + DelayedOrigin: { + delay: "BlockNumber", + origin: "PalletsOrigin", + }, + AuthorityOrigin: "DelayedOrigin", + StorageValue: "Vec", + GraduallyUpdate: { + key: "StorageKey", + targetValue: "StorageValue", + perBlock: "StorageValue", + }, + StorageKeyBytes: "Vec", + StorageValueBytes: "Vec", + RpcDataProviderId: "Text", + DataProviderId: "u8", + TimestampedValue: { + value: "OracleValue", + timestamp: "Moment", + }, + TimestampedValueOf: "TimestampedValue", + OrderedSet: "Vec", + OrmlAccountData: { + free: "Balance", + reserved: "Balance", + frozen: "Balance", + }, + OrmlBalanceLock: { + amount: "Balance", + id: "LockIdentifier", + }, + AuctionInfo: { + bid: "Option<(AccountId, Balance)>", + start: "BlockNumber", + end: "Option", + }, + DelayedDispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + DispatchId: "u32", + Price: "FixedU128", + OrmlVestingSchedule: { + start: "BlockNumber", + period: "BlockNumber", + periodCount: "u32", + perPeriod: "Compact", + }, + VestingScheduleOf: "OrmlVestingSchedule", + OrmlCurrencyId: "CurrencyId", + PoolInfo: { + totalShares: "Share", + rewards: "BTreeMap", + }, + CompactBalance: "Compact", + PoolInfoV0: { + totalShares: "Compact", + totalRewards: "CompactBalance", + totalWithdrawnRewards: "CompactBalance", + }, + Share: "u128", + OracleValue: "Price", + Amount: "i128", + AmountOf: "Amount", + AuctionId: "u32", + AuctionIdOf: "AuctionId", + TokenSymbol: { + _enum: { + ACA: 0, + AUSD: 1, + DOT: 2, + LDOT: 3, + RENBTC: 20, + CASH: 21, + KAR: 128, + KUSD: 129, + KSM: 130, + LKSM: 131, + BNC: 168, + VSKSM: 169, + }, + }, + DexShare: { + _enum: { + Token: "TokenSymbol", + Erc20: "EvmAddress", + }, + }, + CurrencyId: { + _enum: { + Token: "TokenSymbol", + DEXShare: "(DexShare, DexShare)", + ERC20: "EvmAddress", + StableAssetPoolToken: "StableAssetPoolId", + }, + }, + CurrencyIdOf: "CurrencyId", + AirDropCurrencyId: { + _enum: ["KAR", "ACA"], + }, + AuthoritysOriginId: { + _enum: [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve", + ], + }, + AcalaDataProviderId: { + _enum: ["Aggregated", "Acala", "Band"], + }, + TradingPair: "(CurrencyId, CurrencyId)", + ChainBridgeChainId: "u8", + PalletBalanceOf: "Balance", + CollateralAuctionItem: { + refundRecipient: "AccountId", + currencyId: "CurrencyId", + initialAmount: "Compact", + amount: "Compact", + target: "Compact", + startTime: "BlockNumber", + }, + DebitAuctionItem: { + initialAmount: "Compact", + amount: "Compact", + fix: "Compact", + startTime: "BlockNumber", + }, + SurplusAuctionItem: { + amount: "Compact", + startTime: "BlockNumber", + }, + LiquidationStrategy: { + _enum: ["Auction", "Exchange"], + }, + OptionRate: "Option", + OptionRatio: "Option", + ChangeOptionRate: { + _enum: { + NoChange: "Null", + NewValue: "OptionRate", + }, + }, + ChangeOptionRatio: { + _enum: { + NoChange: "Null", + NewValue: "OptionRatio", + }, + }, + ChangeBalance: { + _enum: { + NoChange: "Null", + NewValue: "Balance", + }, + }, + RiskManagementParams: { + maximumTotalDebitValue: "Balance", + interestRatePerSec: "Option", + liquidationRatio: "Option", + liquidationPenalty: "Option", + requiredCollateralRatio: "Option", + }, + CandidateInfoOf: "CandidateInfo", + TradingPairProvisionParameters: { + minContribution: "(Balance, Balance)", + targetProvision: "(Balance, Balance)", + accumulatedProvision: "(Balance, Balance)", + notBefore: "BlockNumber", + }, + BalanceWrapper: { + amount: "Balance", + }, + BalanceRequest: { + amount: "Balance", + }, + TradingPairStatus: { + _enum: { + NotEnabled: "Null", + Provisioning: "TradingPairProvisionParameters", + Enabled: "Null", + }, + }, + Erc20Info: { + address: "EvmAddress", + name: "Vec", + symbol: "Vec", + decimals: "u8", + }, + EstimateResourcesResponse: { + gas: "u256", + storage: "i32", + weightFee: "u256", + }, + EvmAccountInfo: { + nonce: "Index", + contractInfo: "Option", + }, + CodeInfo: { + codeSize: "u32", + refCount: "u32", + }, + EvmContractInfo: { + codeHash: "H256", + maintainer: "H160", + deployed: "bool", + }, + EvmAddress: "H160", + CallRequest: { + from: "Option", + to: "Option", + gasLimit: "Option", + storageLimit: "Option", + value: "Option", + data: "Option", + }, + RedeemStrategy: { + _enum: { + Immediately: "Null", + Target: "EraIndex", + WaitForUnbonding: "Null", + }, + }, + RelaychainAccountId: "AccountId", + SlashInfo: { + validator: "RelaychainAccountId", + relaychainTokenAmount: "Balance", + }, + ValidatorBacking: { + totalInsurance: "Balance", + isFrozen: "bool", + }, + Guarantee: { + total: "Balance", + bonded: "Balance", + unbonding: "Option<(Balance, BlockNumber)>", + }, + PoolId: { + _enum: { + Loans: "CurrencyId", + Dex: "CurrencyId", + }, + }, + PoolIdV0: { + _enum: { + LoansIncentive: "CurrencyId", + DexIncentive: "CurrencyId", + HomaIncentive: "Null", + DexSaving: "CurrencyId", + HomaValidatorAllowance: "AccountId", + }, + }, + Position: { + collateral: "Balance", + debit: "Balance", + }, + CID: "Vec", + Attributes: "BTreeMap, Vec>", + TokenInfoOf: { + metadata: "CID", + owner: "AccountId", + data: "TokenData", + }, + Properties: { + _set: { + _bitLength: 8, + Transferable: 1, + Burnable: 2, + Mintable: 4, + ClassPropertiesMutable: 8, + }, + }, + ClassData: { + deposit: "Balance", + properties: "Properties", + attributes: "Attributes", + }, + TokenData: { + deposit: "Balance", + attributes: "Attributes", + }, + TokenId: "u64", + TokenIdOf: "TokenId", + NFTClassId: "u32", + ClassIdOf: "ClassId", + NFTBalance: "u128", + NFTBalanceOf: "NFTBalance", + ClassInfoOf: { + metadata: "CID", + totalIssuance: "TokenId", + owner: "AccountId", + data: "ClassData", + }, + NomineeId: "AccountId", + HomaUnlockChunk: { + value: "Balance", + era: "EraIndex", + }, + BondingLedger: { + total: "Balance", + active: "Balance", + unlocking: "Vec", + }, + OracleKey: "CurrencyId", + AsOriginId: "AuthoritysOriginId", + ProxyType: { + _enum: [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan", + ], + }, + AtLeast64BitUnsigned: "u128", + StableAssetPoolId: "u32", + RelayChainBlockNumberOf: "RelayChainBlockNumber", + SubAccountStatus: { + bonded: "Balance", + available: "Balance", + unbonding: "Vec<(EraIndex,Balance)>", + mockRewardRate: "Rate", + }, + Params: { + targetMaxFreeUnbondedRatio: "Ratio", + targetMinFreeUnbondedRatio: "Ratio", + targetUnbondingToFreeRatio: "Ratio", + unbondingToFreeAdjustment: "Ratio", + baseFeeRate: "Rate", + }, + StakingPoolPhase: { + _enum: [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished", + ], + }, + Ledger: { + bonded: "Balance", + unbondingToFree: "Balance", + freePool: "Balance", + toUnbondNextEra: "(Balance, Balance)", + }, + ChangeRate: { + _enum: { + NoChange: "Null", + NewValue: "Rate", + }, + }, + ChangeRatio: { + _enum: { + NoChange: "Null", + NewValue: "Ratio", + }, + }, + BalanceInfo: { + amount: "Balance", + }, + PolkadotAccountId: "AccountId", + PolkadotAccountIdOf: "PolkadotAccountId", + ExchangeRate: "FixedU128", + Rate: "FixedU128", + Ratio: "FixedU128", + PublicKey: "[u8; 20]", + DestAddress: "Vec", + PoolTokenIndex: "u32", + AssetId: "CurrencyId", + Keys: "SessionKeys1", + Address: "GenericMultiAddress", + LookupSource: "GenericMultiAddress", + }, + }, + ], + alias: { + stakingPool: { + Phase: "StakingPoolPhase", + }, + nomineesElection: { + UnlockChunk: "HomaUnlockChunk", + }, + evm: { + AccountInfo: "EvmAccountInfo", + ContractInfo: "EvmContractInfo", + }, + rewards: { + OrmlCurrencyId: "CurrencyId", + }, + oracle: { + DataProviderId: "AcalaDataProviderId", + }, + chainBridge: { + ChainId: "ChainBridgeChainId", + }, + tokens: { + AccountData: "OrmlAccountData", + BalanceLock: "OrmlBalanceLock", + }, + }, + }, + mandala: { + rpc: { + oracle: { + getValue: { + description: "Retrieves the oracle value for a given key.", + params: [ + { + name: "providerId", + type: "RpcDataProviderId", + }, + { + name: "key", + type: "OracleKey", + }, + { + name: "at", + type: "BlockHash", + isHistoric: true, + isOptional: true, + }, + ], + type: "Option", + isSubscription: false, + jsonrpc: "oracle_getValue", + method: "getValue", + section: "oracle", + }, + getAllValues: { + description: "Retrieves all oracle values.", + params: [ + { + name: "providerId", + type: "RpcDataProviderId", + }, + { + name: "at", + type: "BlockHash", + isHistoric: true, + isOptional: true, + }, + ], + type: "Vec<(OracleKey, Option)>", + isSubscription: false, + jsonrpc: "oracle_getAllValues", + method: "getAllValues", + section: "oracle", + }, + }, + dex: { + getSupplyAmount: { + description: "Get supply amount", + params: [ + { + name: "supplyCurrencyId", + type: "CurrencyId", + }, + { + name: "targetCurrencyId", + type: "CurrencyId", + }, + { + name: "targetCurrencyAmount", + type: "BalanceRequest", + }, + ], + type: "BalanceWrapper", + isSubscription: false, + jsonrpc: "dex_getSupplyAmount", + method: "getSupplyAmount", + section: "dex", + }, + getTargetAmount: { + description: "Get target amount", + params: [ + { + name: "supplyCurrencyId", + type: "CurrencyId", + }, + { + name: "targetCurrencyId", + type: "CurrencyId", + }, + { + name: "supplyCurrencyAmount", + type: "BalanceRequest", + }, + ], + type: "BalanceWrapper", + isSubscription: false, + jsonrpc: "dex_getTargetAmount", + method: "getTargetAmount", + section: "dex", + }, + }, + evm: { + call: { + description: "eth call", + params: [ + { + name: "data", + type: "CallRequest", + }, + { + name: "at", + type: "BlockHash", + isHistoric: true, + isOptional: true, + }, + ], + type: "Raw", + isSubscription: false, + jsonrpc: "evm_call", + method: "call", + section: "evm", + }, + estimateResources: { + description: "eth estimateResources", + params: [ + { + name: "from", + type: "H160", + }, + { + name: "unsignedExtrinsic", + type: "Bytes", + }, + { + name: "at", + type: "BlockHash", + isHistoric: true, + isOptional: true, + }, + ], + type: "EstimateResourcesResponse", + isSubscription: false, + jsonrpc: "evm_estimateResources", + method: "estimateResources", + section: "evm", + }, + }, + stakingPool: { + getAvailableUnbonded: { + description: "Get Available Unbonded", + params: [ + { + name: "account", + type: "AccountId", + }, + ], + type: "BalanceInfo", + isSubscription: false, + jsonrpc: "stakingPool_getAvailableUnbonded", + method: "getAvailableUnbonded", + section: "stakingPool", + }, + getLiquidStakingExchangeRate: { + description: "get liquid staking exchange rate", + params: [], + type: "ExchangeRate", + isSubscription: false, + jsonrpc: "stakingPool_getLiquidStakingExchangeRate", + method: "getLiquidStakingExchangeRate", + section: "stakingPool", + }, + }, + }, + instances: { + council: ["generalCouncil"], + }, + types: [ + { + minmax: [600, 699], + types: { + CallOf: "Call", + DispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + ScheduleTaskIndex: "u32", + DelayedOrigin: { + delay: "BlockNumber", + origin: "PalletsOrigin", + }, + AuthorityOrigin: "DelayedOrigin", + StorageValue: "Vec", + GraduallyUpdate: { + key: "StorageKey", + targetValue: "StorageValue", + perBlock: "StorageValue", + }, + StorageKeyBytes: "Vec", + StorageValueBytes: "Vec", + RpcDataProviderId: "Text", + DataProviderId: "u8", + TimestampedValue: { + value: "OracleValue", + timestamp: "Moment", + }, + TimestampedValueOf: "TimestampedValue", + OrderedSet: "Vec", + OrmlAccountData: { + free: "Balance", + reserved: "Balance", + frozen: "Balance", + }, + OrmlBalanceLock: { + amount: "Balance", + id: "LockIdentifier", + }, + AuctionInfo: { + bid: "Option<(AccountId, Balance)>", + start: "BlockNumber", + end: "Option", + }, + DelayedDispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + DispatchId: "u32", + Price: "FixedU128", + OrmlVestingSchedule: { + start: "BlockNumber", + period: "BlockNumber", + periodCount: "u32", + perPeriod: "Compact", + }, + VestingScheduleOf: "OrmlVestingSchedule", + OrmlCurrencyId: "CurrencyId", + PoolInfo: { + totalShares: "Share", + rewards: "BTreeMap", + }, + CompactBalance: "Compact", + PoolInfoV0: { + totalShares: "Compact", + totalRewards: "CompactBalance", + totalWithdrawnRewards: "CompactBalance", + }, + Share: "u128", + OracleValue: "Price", + Amount: "i128", + AmountOf: "Amount", + AuctionId: "u32", + AuctionIdOf: "AuctionId", + TokenSymbol: { + _enum: ["ACA", "AUSD", "DOT", "XBTC", "LDOT", "RENBTC"], + }, + DexShare: { + _enum: { + Token: "TokenSymbol", + Erc20: "EvmAddress", + }, + }, + CurrencyId: { + _enum: { + Token: "TokenSymbol", + DEXShare: "(DexShare, DexShare)", + ERC20: "EvmAddress", + StableAssetPoolToken: "StableAssetPoolId", + }, + }, + CurrencyIdOf: "CurrencyId", + AirDropCurrencyId: { + _enum: ["KAR", "ACA"], + }, + AuthoritysOriginId: { + _enum: [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve", + ], + }, + AcalaDataProviderId: { + _enum: ["Aggregated", "Acala", "Band"], + }, + TradingPair: "(CurrencyId, CurrencyId)", + ChainBridgeChainId: "u8", + PalletBalanceOf: "Balance", + CollateralAuctionItem: { + refundRecipient: "AccountId", + currencyId: "CurrencyId", + initialAmount: "Compact", + amount: "Compact", + target: "Compact", + startTime: "BlockNumber", + }, + DebitAuctionItem: { + initialAmount: "Compact", + amount: "Compact", + fix: "Compact", + startTime: "BlockNumber", + }, + SurplusAuctionItem: { + amount: "Compact", + startTime: "BlockNumber", + }, + LiquidationStrategy: { + _enum: ["Auction", "Exchange"], + }, + OptionRate: "Option", + OptionRatio: "Option", + ChangeOptionRate: { + _enum: { + NoChange: "Null", + NewValue: "OptionRate", + }, + }, + ChangeOptionRatio: { + _enum: { + NoChange: "Null", + NewValue: "OptionRatio", + }, + }, + ChangeBalance: { + _enum: { + NoChange: "Null", + NewValue: "Balance", + }, + }, + RiskManagementParams: { + maximumTotalDebitValue: "Balance", + interestRatePerSec: "Option", + liquidationRatio: "Option", + liquidationPenalty: "Option", + requiredCollateralRatio: "Option", + }, + CandidateInfoOf: "CandidateInfo", + TradingPairProvisionParameters: { + minContribution: "(Balance, Balance)", + targetProvision: "(Balance, Balance)", + accumulatedProvision: "(Balance, Balance)", + notBefore: "BlockNumber", + }, + BalanceWrapper: { + amount: "Balance", + }, + BalanceRequest: { + amount: "Balance", + }, + TradingPairStatus: { + _enum: { + NotEnabled: "Null", + Provisioning: "TradingPairProvisionParameters", + Enabled: "Null", + }, + }, + Erc20Info: { + address: "EvmAddress", + name: "Vec", + symbol: "Vec", + decimals: "u8", + }, + EstimateResourcesResponse: { + gas: "u256", + storage: "i32", + weightFee: "u256", + }, + EvmAccountInfo: { + nonce: "Index", + contractInfo: "Option", + }, + CodeInfo: { + codeSize: "u32", + refCount: "u32", + }, + EvmContractInfo: { + codeHash: "H256", + maintainer: "H160", + deployed: "bool", + }, + EvmAddress: "H160", + CallRequest: { + from: "Option", + to: "Option", + gasLimit: "Option", + storageLimit: "Option", + value: "Option", + data: "Option", + }, + RedeemStrategy: { + _enum: { + Immediately: "Null", + Target: "EraIndex", + WaitForUnbonding: "Null", + }, + }, + RelaychainAccountId: "AccountId", + SlashInfo: { + validator: "RelaychainAccountId", + relaychainTokenAmount: "Balance", + }, + ValidatorBacking: { + totalInsurance: "Balance", + isFrozen: "bool", + }, + Guarantee: { + total: "Balance", + bonded: "Balance", + unbonding: "Option<(Balance, BlockNumber)>", + }, + PoolId: { + _enum: { + Loans: "CurrencyId", + DexIncentive: "CurrencyId", + DexSaving: "CurrencyId", + Homa: "Null", + }, + }, + PoolIdV0: { + _enum: { + LoansIncentive: "CurrencyId", + DexIncentive: "CurrencyId", + HomaIncentive: "Null", + DexSaving: "CurrencyId", + HomaValidatorAllowance: "AccountId", + }, + }, + Position: { + collateral: "Balance", + debit: "Balance", + }, + CID: "Vec", + Attributes: "BTreeMap, Vec>", + TokenInfoOf: { + metadata: "CID", + owner: "AccountId", + data: "TokenData", + }, + Properties: { + _set: { + _bitLength: 8, + Transferable: 1, + Burnable: 2, + Mintable: 4, + ClassPropertiesMutable: 8, + }, + }, + ClassData: { + deposit: "Balance", + properties: "Properties", + attributes: "Attributes", + }, + TokenData: { + deposit: "Balance", + attributes: "Attributes", + }, + TokenId: "u64", + TokenIdOf: "TokenId", + NFTClassId: "u32", + ClassIdOf: "ClassId", + NFTBalance: "u128", + NFTBalanceOf: "NFTBalance", + ClassInfoOf: { + metadata: "CID", + totalIssuance: "TokenId", + owner: "AccountId", + data: "ClassData", + }, + NomineeId: "AccountId", + HomaUnlockChunk: { + value: "Balance", + era: "EraIndex", + }, + BondingLedger: { + total: "Balance", + active: "Balance", + unlocking: "Vec", + }, + OracleKey: "CurrencyId", + AsOriginId: "AuthoritysOriginId", + ProxyType: { + _enum: [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan", + ], + }, + AtLeast64BitUnsigned: "u128", + StableAssetPoolId: "u32", + RelayChainBlockNumberOf: "RelayChainBlockNumber", + SubAccountStatus: { + bonded: "Balance", + available: "Balance", + unbonding: "Vec<(EraIndex,Balance)>", + mockRewardRate: "Rate", + }, + Params: { + targetMaxFreeUnbondedRatio: "Ratio", + targetMinFreeUnbondedRatio: "Ratio", + targetUnbondingToFreeRatio: "Ratio", + unbondingToFreeAdjustment: "Ratio", + baseFeeRate: "Rate", + }, + StakingPoolPhase: { + _enum: [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished", + ], + }, + Ledger: { + bonded: "Balance", + unbondingToFree: "Balance", + freePool: "Balance", + toUnbondNextEra: "(Balance, Balance)", + }, + ChangeRate: { + _enum: { + NoChange: "Null", + NewValue: "Rate", + }, + }, + ChangeRatio: { + _enum: { + NoChange: "Null", + NewValue: "Ratio", + }, + }, + BalanceInfo: { + amount: "Balance", + }, + PolkadotAccountId: "AccountId", + PolkadotAccountIdOf: "PolkadotAccountId", + ExchangeRate: "FixedU128", + Rate: "FixedU128", + Ratio: "FixedU128", + PublicKey: "[u8; 20]", + DestAddress: "Vec", + PoolTokenIndex: "u32", + AssetId: "CurrencyId", + Keys: "SessionKeys1", + MultiLocation: "MultiLocationV0", + MultiAsset: "MultiAssetV0", + Xcm: "XcmV0", + XcmOrder: "XcmOrderV0", + XcmError: "XcmErrorV0", + Response: "ResponseV0", + Address: "LookupSource", + LookupSource: "IndicesLookupSource", + }, + }, + { + minmax: [700, 719], + types: { + CallOf: "Call", + DispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + ScheduleTaskIndex: "u32", + DelayedOrigin: { + delay: "BlockNumber", + origin: "PalletsOrigin", + }, + AuthorityOrigin: "DelayedOrigin", + StorageValue: "Vec", + GraduallyUpdate: { + key: "StorageKey", + targetValue: "StorageValue", + perBlock: "StorageValue", + }, + StorageKeyBytes: "Vec", + StorageValueBytes: "Vec", + RpcDataProviderId: "Text", + DataProviderId: "u8", + TimestampedValue: { + value: "OracleValue", + timestamp: "Moment", + }, + TimestampedValueOf: "TimestampedValue", + OrderedSet: "Vec", + OrmlAccountData: { + free: "Balance", + reserved: "Balance", + frozen: "Balance", + }, + OrmlBalanceLock: { + amount: "Balance", + id: "LockIdentifier", + }, + AuctionInfo: { + bid: "Option<(AccountId, Balance)>", + start: "BlockNumber", + end: "Option", + }, + DelayedDispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + DispatchId: "u32", + Price: "FixedU128", + OrmlVestingSchedule: { + start: "BlockNumber", + period: "BlockNumber", + periodCount: "u32", + perPeriod: "Compact", + }, + VestingScheduleOf: "OrmlVestingSchedule", + OrmlCurrencyId: "CurrencyId", + PoolInfo: { + totalShares: "Share", + rewards: "BTreeMap", + }, + CompactBalance: "Compact", + PoolInfoV0: { + totalShares: "Compact", + totalRewards: "CompactBalance", + totalWithdrawnRewards: "CompactBalance", + }, + Share: "u128", + OracleValue: "Price", + Amount: "i128", + AmountOf: "Amount", + AuctionId: "u32", + AuctionIdOf: "AuctionId", + TokenSymbol: { + _enum: ["ACA", "AUSD", "DOT", "XBTC", "LDOT", "RENBTC"], + }, + DexShare: { + _enum: { + Token: "TokenSymbol", + Erc20: "EvmAddress", + }, + }, + CurrencyId: { + _enum: { + Token: "TokenSymbol", + DEXShare: "(DexShare, DexShare)", + ERC20: "EvmAddress", + StableAssetPoolToken: "StableAssetPoolId", + }, + }, + CurrencyIdOf: "CurrencyId", + AirDropCurrencyId: { + _enum: ["KAR", "ACA"], + }, + AuthoritysOriginId: { + _enum: [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve", + ], + }, + AcalaDataProviderId: { + _enum: ["Aggregated", "Acala", "Band"], + }, + TradingPair: "(CurrencyId, CurrencyId)", + ChainBridgeChainId: "u8", + PalletBalanceOf: "Balance", + CollateralAuctionItem: { + refundRecipient: "AccountId", + currencyId: "CurrencyId", + initialAmount: "Compact", + amount: "Compact", + target: "Compact", + startTime: "BlockNumber", + }, + DebitAuctionItem: { + initialAmount: "Compact", + amount: "Compact", + fix: "Compact", + startTime: "BlockNumber", + }, + SurplusAuctionItem: { + amount: "Compact", + startTime: "BlockNumber", + }, + LiquidationStrategy: { + _enum: ["Auction", "Exchange"], + }, + OptionRate: "Option", + OptionRatio: "Option", + ChangeOptionRate: { + _enum: { + NoChange: "Null", + NewValue: "OptionRate", + }, + }, + ChangeOptionRatio: { + _enum: { + NoChange: "Null", + NewValue: "OptionRatio", + }, + }, + ChangeBalance: { + _enum: { + NoChange: "Null", + NewValue: "Balance", + }, + }, + RiskManagementParams: { + maximumTotalDebitValue: "Balance", + interestRatePerSec: "Option", + liquidationRatio: "Option", + liquidationPenalty: "Option", + requiredCollateralRatio: "Option", + }, + CandidateInfoOf: "CandidateInfo", + TradingPairProvisionParameters: { + minContribution: "(Balance, Balance)", + targetProvision: "(Balance, Balance)", + accumulatedProvision: "(Balance, Balance)", + notBefore: "BlockNumber", + }, + BalanceWrapper: { + amount: "Balance", + }, + BalanceRequest: { + amount: "Balance", + }, + TradingPairStatus: { + _enum: { + NotEnabled: "Null", + Provisioning: "TradingPairProvisionParameters", + Enabled: "Null", + }, + }, + Erc20Info: { + address: "EvmAddress", + name: "Vec", + symbol: "Vec", + decimals: "u8", + }, + EstimateResourcesResponse: { + gas: "u256", + storage: "i32", + weightFee: "u256", + }, + EvmAccountInfo: { + nonce: "Index", + contractInfo: "Option", + }, + CodeInfo: { + codeSize: "u32", + refCount: "u32", + }, + EvmContractInfo: { + codeHash: "H256", + maintainer: "H160", + deployed: "bool", + }, + EvmAddress: "H160", + CallRequest: { + from: "Option", + to: "Option", + gasLimit: "Option", + storageLimit: "Option", + value: "Option", + data: "Option", + }, + RedeemStrategy: { + _enum: { + Immediately: "Null", + Target: "EraIndex", + WaitForUnbonding: "Null", + }, + }, + RelaychainAccountId: "AccountId", + SlashInfo: { + validator: "RelaychainAccountId", + relaychainTokenAmount: "Balance", + }, + ValidatorBacking: { + totalInsurance: "Balance", + isFrozen: "bool", + }, + Guarantee: { + total: "Balance", + bonded: "Balance", + unbonding: "Option<(Balance, BlockNumber)>", + }, + PoolId: { + _enum: { + Loans: "CurrencyId", + DexIncentive: "CurrencyId", + DexSaving: "CurrencyId", + Homa: "Null", + }, + }, + PoolIdV0: { + _enum: { + LoansIncentive: "CurrencyId", + DexIncentive: "CurrencyId", + HomaIncentive: "Null", + DexSaving: "CurrencyId", + HomaValidatorAllowance: "AccountId", + }, + }, + Position: { + collateral: "Balance", + debit: "Balance", + }, + CID: "Vec", + Attributes: "BTreeMap, Vec>", + TokenInfoOf: { + metadata: "CID", + owner: "AccountId", + data: "TokenData", + }, + Properties: { + _set: { + _bitLength: 8, + Transferable: 1, + Burnable: 2, + Mintable: 4, + ClassPropertiesMutable: 8, + }, + }, + ClassData: { + deposit: "Balance", + properties: "Properties", + attributes: "Attributes", + }, + TokenData: { + deposit: "Balance", + attributes: "Attributes", + }, + TokenId: "u64", + TokenIdOf: "TokenId", + NFTClassId: "u32", + ClassIdOf: "ClassId", + NFTBalance: "u128", + NFTBalanceOf: "NFTBalance", + ClassInfoOf: { + metadata: "CID", + totalIssuance: "TokenId", + owner: "AccountId", + data: "ClassData", + }, + NomineeId: "AccountId", + HomaUnlockChunk: { + value: "Balance", + era: "EraIndex", + }, + BondingLedger: { + total: "Balance", + active: "Balance", + unlocking: "Vec", + }, + OracleKey: "CurrencyId", + AsOriginId: "AuthoritysOriginId", + ProxyType: { + _enum: [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan", + ], + }, + AtLeast64BitUnsigned: "u128", + StableAssetPoolId: "u32", + RelayChainBlockNumberOf: "RelayChainBlockNumber", + SubAccountStatus: { + bonded: "Balance", + available: "Balance", + unbonding: "Vec<(EraIndex,Balance)>", + mockRewardRate: "Rate", + }, + Params: { + targetMaxFreeUnbondedRatio: "Ratio", + targetMinFreeUnbondedRatio: "Ratio", + targetUnbondingToFreeRatio: "Ratio", + unbondingToFreeAdjustment: "Ratio", + baseFeeRate: "Rate", + }, + StakingPoolPhase: { + _enum: [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished", + ], + }, + Ledger: { + bonded: "Balance", + unbondingToFree: "Balance", + freePool: "Balance", + toUnbondNextEra: "(Balance, Balance)", + }, + ChangeRate: { + _enum: { + NoChange: "Null", + NewValue: "Rate", + }, + }, + ChangeRatio: { + _enum: { + NoChange: "Null", + NewValue: "Ratio", + }, + }, + BalanceInfo: { + amount: "Balance", + }, + PolkadotAccountId: "AccountId", + PolkadotAccountIdOf: "PolkadotAccountId", + ExchangeRate: "FixedU128", + Rate: "FixedU128", + Ratio: "FixedU128", + PublicKey: "[u8; 20]", + DestAddress: "Vec", + PoolTokenIndex: "u32", + AssetId: "CurrencyId", + Keys: "SessionKeys1", + MultiLocation: "MultiLocationV0", + MultiAsset: "MultiAssetV0", + Xcm: "XcmV0", + XcmOrder: "XcmOrderV0", + XcmError: "XcmErrorV0", + Response: "ResponseV0", + Address: "GenericMultiAddress", + LookupSource: "GenericMultiAddress", + }, + }, + { + minmax: [720, 722], + types: { + CallOf: "Call", + DispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + ScheduleTaskIndex: "u32", + DelayedOrigin: { + delay: "BlockNumber", + origin: "PalletsOrigin", + }, + AuthorityOrigin: "DelayedOrigin", + StorageValue: "Vec", + GraduallyUpdate: { + key: "StorageKey", + targetValue: "StorageValue", + perBlock: "StorageValue", + }, + StorageKeyBytes: "Vec", + StorageValueBytes: "Vec", + RpcDataProviderId: "Text", + DataProviderId: "u8", + TimestampedValue: { + value: "OracleValue", + timestamp: "Moment", + }, + TimestampedValueOf: "TimestampedValue", + OrderedSet: "Vec", + OrmlAccountData: { + free: "Balance", + reserved: "Balance", + frozen: "Balance", + }, + OrmlBalanceLock: { + amount: "Balance", + id: "LockIdentifier", + }, + AuctionInfo: { + bid: "Option<(AccountId, Balance)>", + start: "BlockNumber", + end: "Option", + }, + DelayedDispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + DispatchId: "u32", + Price: "FixedU128", + OrmlVestingSchedule: { + start: "BlockNumber", + period: "BlockNumber", + periodCount: "u32", + perPeriod: "Compact", + }, + VestingScheduleOf: "OrmlVestingSchedule", + OrmlCurrencyId: "CurrencyId", + PoolInfo: { + totalShares: "Share", + rewards: "BTreeMap", + }, + CompactBalance: "Compact", + PoolInfoV0: { + totalShares: "Compact", + totalRewards: "CompactBalance", + totalWithdrawnRewards: "CompactBalance", + }, + Share: "u128", + OracleValue: "Price", + Amount: "i128", + AmountOf: "Amount", + AuctionId: "u32", + AuctionIdOf: "AuctionId", + TokenSymbol: { + _enum: { + ACA: 0, + AUSD: 1, + DOT: 2, + LDOT: 3, + XBTC: 4, + RENBTC: 5, + POLKABTC: 6, + PLM: 7, + PHA: 8, + HDT: 9, + BCG: 11, + KAR: 128, + KUSD: 129, + KSM: 130, + LKSM: 131, + SDN: 135, + KILT: 138, + }, + }, + DexShare: { + _enum: { + Token: "TokenSymbol", + Erc20: "EvmAddress", + }, + }, + CurrencyId: { + _enum: { + Token: "TokenSymbol", + DEXShare: "(TokenSymbol, TokenSymbol)", + ERC20: "EvmAddress", + }, + }, + CurrencyIdOf: "CurrencyId", + AirDropCurrencyId: { + _enum: ["KAR", "ACA"], + }, + AuthoritysOriginId: { + _enum: [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve", + ], + }, + AcalaDataProviderId: { + _enum: ["Aggregated", "Acala", "Band"], + }, + TradingPair: "(CurrencyId, CurrencyId)", + ChainBridgeChainId: "u8", + PalletBalanceOf: "Balance", + CollateralAuctionItem: { + refundRecipient: "AccountId", + currencyId: "CurrencyId", + initialAmount: "Compact", + amount: "Compact", + target: "Compact", + startTime: "BlockNumber", + }, + DebitAuctionItem: { + initialAmount: "Compact", + amount: "Compact", + fix: "Compact", + startTime: "BlockNumber", + }, + SurplusAuctionItem: { + amount: "Compact", + startTime: "BlockNumber", + }, + LiquidationStrategy: { + _enum: ["Auction", "Exchange"], + }, + OptionRate: "Option", + OptionRatio: "Option", + ChangeOptionRate: { + _enum: { + NoChange: "Null", + NewValue: "OptionRate", + }, + }, + ChangeOptionRatio: { + _enum: { + NoChange: "Null", + NewValue: "OptionRatio", + }, + }, + ChangeBalance: { + _enum: { + NoChange: "Null", + NewValue: "Balance", + }, + }, + RiskManagementParams: { + maximumTotalDebitValue: "Balance", + interestRatePerSec: "Option", + liquidationRatio: "Option", + liquidationPenalty: "Option", + requiredCollateralRatio: "Option", + }, + CandidateInfoOf: "CandidateInfo", + TradingPairProvisionParameters: { + minContribution: "(Balance, Balance)", + targetProvision: "(Balance, Balance)", + accumulatedProvision: "(Balance, Balance)", + notBefore: "BlockNumber", + }, + BalanceWrapper: { + amount: "Balance", + }, + BalanceRequest: { + amount: "Balance", + }, + TradingPairStatus: { + _enum: { + NotEnabled: "Null", + Provisioning: "TradingPairProvisionParameters", + Enabled: "Null", + }, + }, + Erc20Info: { + address: "EvmAddress", + name: "Vec", + symbol: "Vec", + decimals: "u8", + }, + EstimateResourcesResponse: { + gas: "u256", + storage: "i32", + weightFee: "u256", + }, + EvmAccountInfo: { + nonce: "Index", + contractInfo: "Option", + }, + CodeInfo: { + codeSize: "u32", + refCount: "u32", + }, + EvmContractInfo: { + codeHash: "H256", + maintainer: "H160", + deployed: "bool", + }, + EvmAddress: "H160", + CallRequest: { + from: "Option", + to: "Option", + gasLimit: "Option", + storageLimit: "Option", + value: "Option", + data: "Option", + }, + RedeemStrategy: { + _enum: { + Immediately: "Null", + Target: "EraIndex", + WaitForUnbonding: "Null", + }, + }, + RelaychainAccountId: "AccountId", + SlashInfo: { + validator: "RelaychainAccountId", + relaychainTokenAmount: "Balance", + }, + ValidatorBacking: { + totalInsurance: "Balance", + isFrozen: "bool", + }, + Guarantee: { + total: "Balance", + bonded: "Balance", + unbonding: "Option<(Balance, BlockNumber)>", + }, + PoolId: { + _enum: { + Loans: "CurrencyId", + DexIncentive: "CurrencyId", + DexSaving: "CurrencyId", + Homa: "Null", + }, + }, + PoolIdV0: { + _enum: { + LoansIncentive: "CurrencyId", + DexIncentive: "CurrencyId", + HomaIncentive: "Null", + DexSaving: "CurrencyId", + HomaValidatorAllowance: "AccountId", + }, + }, + Position: { + collateral: "Balance", + debit: "Balance", + }, + CID: "Vec", + Attributes: "BTreeMap, Vec>", + TokenInfoOf: { + metadata: "CID", + owner: "AccountId", + data: "TokenData", + }, + Properties: { + _set: { + _bitLength: 8, + Transferable: 1, + Burnable: 2, + Mintable: 4, + ClassPropertiesMutable: 8, + }, + }, + ClassData: { + deposit: "Balance", + properties: "Properties", + attributes: "Attributes", + }, + TokenData: { + deposit: "Balance", + attributes: "Attributes", + }, + TokenId: "u64", + TokenIdOf: "TokenId", + NFTClassId: "u32", + ClassIdOf: "ClassId", + NFTBalance: "u128", + NFTBalanceOf: "NFTBalance", + ClassInfoOf: { + metadata: "CID", + totalIssuance: "TokenId", + owner: "AccountId", + data: "ClassData", + }, + NomineeId: "AccountId", + HomaUnlockChunk: { + value: "Balance", + era: "EraIndex", + }, + BondingLedger: { + total: "Balance", + active: "Balance", + unlocking: "Vec", + }, + OracleKey: "CurrencyId", + AsOriginId: "AuthoritysOriginId", + ProxyType: { + _enum: [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan", + ], + }, + AtLeast64BitUnsigned: "u128", + StableAssetPoolId: "u32", + RelayChainBlockNumberOf: "RelayChainBlockNumber", + SubAccountStatus: { + bonded: "Balance", + available: "Balance", + unbonding: "Vec<(EraIndex,Balance)>", + mockRewardRate: "Rate", + }, + Params: { + targetMaxFreeUnbondedRatio: "Ratio", + targetMinFreeUnbondedRatio: "Ratio", + targetUnbondingToFreeRatio: "Ratio", + unbondingToFreeAdjustment: "Ratio", + baseFeeRate: "Rate", + }, + StakingPoolPhase: { + _enum: [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished", + ], + }, + Ledger: { + bonded: "Balance", + unbondingToFree: "Balance", + freePool: "Balance", + toUnbondNextEra: "(Balance, Balance)", + }, + ChangeRate: { + _enum: { + NoChange: "Null", + NewValue: "Rate", + }, + }, + ChangeRatio: { + _enum: { + NoChange: "Null", + NewValue: "Ratio", + }, + }, + BalanceInfo: { + amount: "Balance", + }, + PolkadotAccountId: "AccountId", + PolkadotAccountIdOf: "PolkadotAccountId", + ExchangeRate: "FixedU128", + Rate: "FixedU128", + Ratio: "FixedU128", + PublicKey: "[u8; 20]", + DestAddress: "Vec", + PoolTokenIndex: "u32", + AssetId: "CurrencyId", + Keys: "SessionKeys1", + Address: "GenericMultiAddress", + LookupSource: "GenericMultiAddress", + MultiLocation: "MultiLocationV0", + MultiAsset: "MultiAssetV0", + Xcm: "XcmV0", + XcmOrder: "XcmOrderV0", + XcmError: "XcmErrorV0", + Response: "ResponseV0", + }, + }, + { + minmax: [723, 729], + types: { + CallOf: "Call", + DispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + ScheduleTaskIndex: "u32", + DelayedOrigin: { + delay: "BlockNumber", + origin: "PalletsOrigin", + }, + AuthorityOrigin: "DelayedOrigin", + StorageValue: "Vec", + GraduallyUpdate: { + key: "StorageKey", + targetValue: "StorageValue", + perBlock: "StorageValue", + }, + StorageKeyBytes: "Vec", + StorageValueBytes: "Vec", + RpcDataProviderId: "Text", + DataProviderId: "u8", + TimestampedValue: { + value: "OracleValue", + timestamp: "Moment", + }, + TimestampedValueOf: "TimestampedValue", + OrderedSet: "Vec", + OrmlAccountData: { + free: "Balance", + reserved: "Balance", + frozen: "Balance", + }, + OrmlBalanceLock: { + amount: "Balance", + id: "LockIdentifier", + }, + AuctionInfo: { + bid: "Option<(AccountId, Balance)>", + start: "BlockNumber", + end: "Option", + }, + DelayedDispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + DispatchId: "u32", + Price: "FixedU128", + OrmlVestingSchedule: { + start: "BlockNumber", + period: "BlockNumber", + periodCount: "u32", + perPeriod: "Compact", + }, + VestingScheduleOf: "OrmlVestingSchedule", + OrmlCurrencyId: "CurrencyId", + PoolInfo: { + totalShares: "Compact", + totalRewards: "Compact", + totalWithdrawnRewards: "Compact", + }, + CompactBalance: "Compact", + PoolInfoV0: { + totalShares: "Compact", + totalRewards: "CompactBalance", + totalWithdrawnRewards: "CompactBalance", + }, + Share: "u128", + OracleValue: "Price", + Amount: "i128", + AmountOf: "Amount", + AuctionId: "u32", + AuctionIdOf: "AuctionId", + TokenSymbol: { + _enum: { + ACA: 0, + AUSD: 1, + DOT: 2, + LDOT: 3, + XBTC: 4, + RENBTC: 5, + POLKABTC: 6, + PLM: 7, + PHA: 8, + HDT: 9, + BCG: 11, + KAR: 128, + KUSD: 129, + KSM: 130, + LKSM: 131, + SDN: 135, + KILT: 138, + }, + }, + DexShare: { + _enum: { + Token: "TokenSymbol", + Erc20: "EvmAddress", + }, + }, + CurrencyId: { + _enum: { + Token: "TokenSymbol", + DEXShare: "(TokenSymbol, TokenSymbol)", + ERC20: "EvmAddress", + }, + }, + CurrencyIdOf: "CurrencyId", + AirDropCurrencyId: { + _enum: ["KAR", "ACA"], + }, + AuthoritysOriginId: { + _enum: [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve", + ], + }, + AcalaDataProviderId: { + _enum: ["Aggregated", "Acala", "Band"], + }, + TradingPair: "(CurrencyId, CurrencyId)", + ChainBridgeChainId: "u8", + PalletBalanceOf: "Balance", + CollateralAuctionItem: { + refundRecipient: "AccountId", + currencyId: "CurrencyId", + initialAmount: "Compact", + amount: "Compact", + target: "Compact", + startTime: "BlockNumber", + }, + DebitAuctionItem: { + initialAmount: "Compact", + amount: "Compact", + fix: "Compact", + startTime: "BlockNumber", + }, + SurplusAuctionItem: { + amount: "Compact", + startTime: "BlockNumber", + }, + LiquidationStrategy: { + _enum: ["Auction", "Exchange"], + }, + OptionRate: "Option", + OptionRatio: "Option", + ChangeOptionRate: { + _enum: { + NoChange: "Null", + NewValue: "OptionRate", + }, + }, + ChangeOptionRatio: { + _enum: { + NoChange: "Null", + NewValue: "OptionRatio", + }, + }, + ChangeBalance: { + _enum: { + NoChange: "Null", + NewValue: "Balance", + }, + }, + RiskManagementParams: { + maximumTotalDebitValue: "Balance", + interestRatePerSec: "Option", + liquidationRatio: "Option", + liquidationPenalty: "Option", + requiredCollateralRatio: "Option", + }, + CandidateInfoOf: "CandidateInfo", + TradingPairProvisionParameters: { + minContribution: "(Balance, Balance)", + targetProvision: "(Balance, Balance)", + accumulatedProvision: "(Balance, Balance)", + notBefore: "BlockNumber", + }, + BalanceWrapper: { + amount: "Balance", + }, + BalanceRequest: { + amount: "Balance", + }, + TradingPairStatus: { + _enum: { + NotEnabled: "Null", + Provisioning: "TradingPairProvisionParameters", + Enabled: "Null", + }, + }, + Erc20Info: { + address: "EvmAddress", + name: "Vec", + symbol: "Vec", + decimals: "u8", + }, + EstimateResourcesResponse: { + gas: "u256", + storage: "i32", + weightFee: "u256", + }, + EvmAccountInfo: { + nonce: "Index", + contractInfo: "Option", + }, + CodeInfo: { + codeSize: "u32", + refCount: "u32", + }, + EvmContractInfo: { + codeHash: "H256", + maintainer: "H160", + deployed: "bool", + }, + EvmAddress: "H160", + CallRequest: { + from: "Option", + to: "Option", + gasLimit: "Option", + storageLimit: "Option", + value: "Option", + data: "Option", + }, + RedeemStrategy: { + _enum: { + Immediately: "Null", + Target: "EraIndex", + WaitForUnbonding: "Null", + }, + }, + RelaychainAccountId: "AccountId", + SlashInfo: { + validator: "RelaychainAccountId", + relaychainTokenAmount: "Balance", + }, + ValidatorBacking: { + totalInsurance: "Balance", + isFrozen: "bool", + }, + Guarantee: { + total: "Balance", + bonded: "Balance", + unbonding: "Option<(Balance, BlockNumber)>", + }, + PoolId: { + _enum: { + LoansIncentive: "CurrencyId", + DexIncentive: "CurrencyId", + HomaIncentive: "Null", + DexSaving: "CurrencyId", + HomaValidatorAllowance: "AccountId", + }, + }, + PoolIdV0: { + _enum: { + LoansIncentive: "CurrencyId", + DexIncentive: "CurrencyId", + HomaIncentive: "Null", + DexSaving: "CurrencyId", + HomaValidatorAllowance: "AccountId", + }, + }, + Position: { + collateral: "Balance", + debit: "Balance", + }, + CID: "Vec", + Attributes: "BTreeMap, Vec>", + TokenInfoOf: { + metadata: "CID", + owner: "AccountId", + data: "TokenData", + }, + Properties: { + _set: { + _bitLength: 8, + Transferable: 1, + Burnable: 2, + Mintable: 4, + ClassPropertiesMutable: 8, + }, + }, + ClassData: { + deposit: "Balance", + properties: "Properties", + attributes: "Attributes", + }, + TokenData: { + deposit: "Balance", + attributes: "Attributes", + }, + TokenId: "u64", + TokenIdOf: "TokenId", + NFTClassId: "u32", + ClassIdOf: "ClassId", + NFTBalance: "u128", + NFTBalanceOf: "NFTBalance", + ClassInfoOf: { + metadata: "CID", + totalIssuance: "TokenId", + owner: "AccountId", + data: "ClassData", + }, + NomineeId: "AccountId", + HomaUnlockChunk: { + value: "Balance", + era: "EraIndex", + }, + BondingLedger: { + total: "Balance", + active: "Balance", + unlocking: "Vec", + }, + OracleKey: "CurrencyId", + AsOriginId: "AuthoritysOriginId", + ProxyType: { + _enum: [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan", + ], + }, + AtLeast64BitUnsigned: "u128", + StableAssetPoolId: "u32", + RelayChainBlockNumberOf: "RelayChainBlockNumber", + SubAccountStatus: { + bonded: "Balance", + available: "Balance", + unbonding: "Vec<(EraIndex,Balance)>", + mockRewardRate: "Rate", + }, + Params: { + targetMaxFreeUnbondedRatio: "Ratio", + targetMinFreeUnbondedRatio: "Ratio", + targetUnbondingToFreeRatio: "Ratio", + unbondingToFreeAdjustment: "Ratio", + baseFeeRate: "Rate", + }, + StakingPoolPhase: { + _enum: [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished", + ], + }, + Ledger: { + bonded: "Balance", + unbondingToFree: "Balance", + freePool: "Balance", + toUnbondNextEra: "(Balance, Balance)", + }, + ChangeRate: { + _enum: { + NoChange: "Null", + NewValue: "Rate", + }, + }, + ChangeRatio: { + _enum: { + NoChange: "Null", + NewValue: "Ratio", + }, + }, + BalanceInfo: { + amount: "Balance", + }, + PolkadotAccountId: "AccountId", + PolkadotAccountIdOf: "PolkadotAccountId", + ExchangeRate: "FixedU128", + Rate: "FixedU128", + Ratio: "FixedU128", + PublicKey: "[u8; 20]", + DestAddress: "Vec", + PoolTokenIndex: "u32", + AssetId: "CurrencyId", + Keys: "SessionKeys1", + Address: "GenericMultiAddress", + LookupSource: "GenericMultiAddress", + MultiLocation: "MultiLocationV0", + MultiAsset: "MultiAssetV0", + Xcm: "XcmV0", + XcmOrder: "XcmOrderV0", + XcmError: "XcmErrorV0", + Response: "ResponseV0", + }, + }, + { + minmax: [730, 1007], + types: { + CallOf: "Call", + DispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + ScheduleTaskIndex: "u32", + DelayedOrigin: { + delay: "BlockNumber", + origin: "PalletsOrigin", + }, + AuthorityOrigin: "DelayedOrigin", + StorageValue: "Vec", + GraduallyUpdate: { + key: "StorageKey", + targetValue: "StorageValue", + perBlock: "StorageValue", + }, + StorageKeyBytes: "Vec", + StorageValueBytes: "Vec", + RpcDataProviderId: "Text", + DataProviderId: "u8", + TimestampedValue: { + value: "OracleValue", + timestamp: "Moment", + }, + TimestampedValueOf: "TimestampedValue", + OrderedSet: "Vec", + OrmlAccountData: { + free: "Balance", + reserved: "Balance", + frozen: "Balance", + }, + OrmlBalanceLock: { + amount: "Balance", + id: "LockIdentifier", + }, + AuctionInfo: { + bid: "Option<(AccountId, Balance)>", + start: "BlockNumber", + end: "Option", + }, + DelayedDispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + DispatchId: "u32", + Price: "FixedU128", + OrmlVestingSchedule: { + start: "BlockNumber", + period: "BlockNumber", + periodCount: "u32", + perPeriod: "Compact", + }, + VestingScheduleOf: "OrmlVestingSchedule", + OrmlCurrencyId: "CurrencyId", + PoolInfo: { + totalShares: "Compact", + totalRewards: "Compact", + totalWithdrawnRewards: "Compact", + }, + CompactBalance: "Compact", + PoolInfoV0: { + totalShares: "Compact", + totalRewards: "CompactBalance", + totalWithdrawnRewards: "CompactBalance", + }, + Share: "u128", + OracleValue: "Price", + Amount: "i128", + AmountOf: "Amount", + AuctionId: "u32", + AuctionIdOf: "AuctionId", + TokenSymbol: { + _enum: { + ACA: 0, + AUSD: 1, + DOT: 2, + LDOT: 3, + RENBTC: 4, + KAR: 128, + KUSD: 129, + KSM: 130, + LKSM: 131, + CASH: 140, + }, + }, + DexShare: { + _enum: { + Token: "TokenSymbol", + Erc20: "EvmAddress", + }, + }, + CurrencyId: { + _enum: { + Token: "TokenSymbol", + DEXShare: "(DexShare, DexShare)", + ERC20: "EvmAddress", + StableAssetPoolToken: "StableAssetPoolId", + }, + }, + CurrencyIdOf: "CurrencyId", + AirDropCurrencyId: { + _enum: ["KAR", "ACA"], + }, + AuthoritysOriginId: { + _enum: [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve", + ], + }, + AcalaDataProviderId: { + _enum: ["Aggregated", "Acala", "Band"], + }, + TradingPair: "(CurrencyId, CurrencyId)", + ChainBridgeChainId: "u8", + PalletBalanceOf: "Balance", + CollateralAuctionItem: { + refundRecipient: "AccountId", + currencyId: "CurrencyId", + initialAmount: "Compact", + amount: "Compact", + target: "Compact", + startTime: "BlockNumber", + }, + DebitAuctionItem: { + initialAmount: "Compact", + amount: "Compact", + fix: "Compact", + startTime: "BlockNumber", + }, + SurplusAuctionItem: { + amount: "Compact", + startTime: "BlockNumber", + }, + LiquidationStrategy: { + _enum: ["Auction", "Exchange"], + }, + OptionRate: "Option", + OptionRatio: "Option", + ChangeOptionRate: { + _enum: { + NoChange: "Null", + NewValue: "OptionRate", + }, + }, + ChangeOptionRatio: { + _enum: { + NoChange: "Null", + NewValue: "OptionRatio", + }, + }, + ChangeBalance: { + _enum: { + NoChange: "Null", + NewValue: "Balance", + }, + }, + RiskManagementParams: { + maximumTotalDebitValue: "Balance", + interestRatePerSec: "Option", + liquidationRatio: "Option", + liquidationPenalty: "Option", + requiredCollateralRatio: "Option", + }, + CandidateInfoOf: "CandidateInfo", + TradingPairProvisionParameters: { + minContribution: "(Balance, Balance)", + targetProvision: "(Balance, Balance)", + accumulatedProvision: "(Balance, Balance)", + notBefore: "BlockNumber", + }, + BalanceWrapper: { + amount: "Balance", + }, + BalanceRequest: { + amount: "Balance", + }, + TradingPairStatus: { + _enum: { + NotEnabled: "Null", + Provisioning: "TradingPairProvisionParameters", + Enabled: "Null", + }, + }, + Erc20Info: { + address: "EvmAddress", + name: "Vec", + symbol: "Vec", + decimals: "u8", + }, + EstimateResourcesResponse: { + gas: "u256", + storage: "i32", + weightFee: "u256", + }, + EvmAccountInfo: { + nonce: "Index", + contractInfo: "Option", + }, + CodeInfo: { + codeSize: "u32", + refCount: "u32", + }, + EvmContractInfo: { + codeHash: "H256", + maintainer: "H160", + deployed: "bool", + }, + EvmAddress: "H160", + CallRequest: { + from: "Option", + to: "Option", + gasLimit: "Option", + storageLimit: "Option", + value: "Option", + data: "Option", + }, + RedeemStrategy: { + _enum: { + Immediately: "Null", + Target: "EraIndex", + WaitForUnbonding: "Null", + }, + }, + RelaychainAccountId: "AccountId", + SlashInfo: { + validator: "RelaychainAccountId", + relaychainTokenAmount: "Balance", + }, + ValidatorBacking: { + totalInsurance: "Balance", + isFrozen: "bool", + }, + Guarantee: { + total: "Balance", + bonded: "Balance", + unbonding: "Option<(Balance, BlockNumber)>", + }, + PoolId: { + _enum: { + LoansIncentive: "CurrencyId", + DexIncentive: "CurrencyId", + HomaIncentive: "Null", + DexSaving: "CurrencyId", + HomaValidatorAllowance: "AccountId", + }, + }, + PoolIdV0: { + _enum: { + LoansIncentive: "CurrencyId", + DexIncentive: "CurrencyId", + HomaIncentive: "Null", + DexSaving: "CurrencyId", + HomaValidatorAllowance: "AccountId", + }, + }, + Position: { + collateral: "Balance", + debit: "Balance", + }, + CID: "Vec", + Attributes: "BTreeMap, Vec>", + TokenInfoOf: { + metadata: "CID", + owner: "AccountId", + data: "TokenData", + }, + Properties: { + _set: { + _bitLength: 8, + Transferable: 1, + Burnable: 2, + Mintable: 4, + ClassPropertiesMutable: 8, + }, + }, + ClassData: { + deposit: "Balance", + properties: "Properties", + attributes: "Attributes", + }, + TokenData: { + deposit: "Balance", + attributes: "Attributes", + }, + TokenId: "u64", + TokenIdOf: "TokenId", + NFTClassId: "u32", + ClassIdOf: "ClassId", + NFTBalance: "u128", + NFTBalanceOf: "NFTBalance", + ClassInfoOf: { + metadata: "CID", + totalIssuance: "TokenId", + owner: "AccountId", + data: "ClassData", + }, + NomineeId: "AccountId", + HomaUnlockChunk: { + value: "Balance", + era: "EraIndex", + }, + BondingLedger: { + total: "Balance", + active: "Balance", + unlocking: "Vec", + }, + OracleKey: "CurrencyId", + AsOriginId: "AuthoritysOriginId", + ProxyType: { + _enum: [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan", + ], + }, + AtLeast64BitUnsigned: "u128", + StableAssetPoolId: "u32", + RelayChainBlockNumberOf: "RelayChainBlockNumber", + SubAccountStatus: { + bonded: "Balance", + available: "Balance", + unbonding: "Vec<(EraIndex,Balance)>", + mockRewardRate: "Rate", + }, + Params: { + targetMaxFreeUnbondedRatio: "Ratio", + targetMinFreeUnbondedRatio: "Ratio", + targetUnbondingToFreeRatio: "Ratio", + unbondingToFreeAdjustment: "Ratio", + baseFeeRate: "Rate", + }, + StakingPoolPhase: { + _enum: [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished", + ], + }, + Ledger: { + bonded: "Balance", + unbondingToFree: "Balance", + freePool: "Balance", + toUnbondNextEra: "(Balance, Balance)", + }, + ChangeRate: { + _enum: { + NoChange: "Null", + NewValue: "Rate", + }, + }, + ChangeRatio: { + _enum: { + NoChange: "Null", + NewValue: "Ratio", + }, + }, + BalanceInfo: { + amount: "Balance", + }, + PolkadotAccountId: "AccountId", + PolkadotAccountIdOf: "PolkadotAccountId", + ExchangeRate: "FixedU128", + Rate: "FixedU128", + Ratio: "FixedU128", + PublicKey: "[u8; 20]", + DestAddress: "Vec", + PoolTokenIndex: "u32", + AssetId: "CurrencyId", + Keys: "SessionKeys1", + Address: "GenericMultiAddress", + LookupSource: "GenericMultiAddress", + MultiLocation: "MultiLocationV0", + MultiAsset: "MultiAssetV0", + Xcm: "XcmV0", + XcmOrder: "XcmOrderV0", + XcmError: "XcmErrorV0", + Response: "ResponseV0", + }, + }, + { + minmax: [1008, 1008], + types: { + CallOf: "Call", + DispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + ScheduleTaskIndex: "u32", + DelayedOrigin: { + delay: "BlockNumber", + origin: "PalletsOrigin", + }, + AuthorityOrigin: "DelayedOrigin", + StorageValue: "Vec", + GraduallyUpdate: { + key: "StorageKey", + targetValue: "StorageValue", + perBlock: "StorageValue", + }, + StorageKeyBytes: "Vec", + StorageValueBytes: "Vec", + RpcDataProviderId: "Text", + DataProviderId: "u8", + TimestampedValue: { + value: "OracleValue", + timestamp: "Moment", + }, + TimestampedValueOf: "TimestampedValue", + OrderedSet: "Vec", + OrmlAccountData: { + free: "Balance", + reserved: "Balance", + frozen: "Balance", + }, + OrmlBalanceLock: { + amount: "Balance", + id: "LockIdentifier", + }, + AuctionInfo: { + bid: "Option<(AccountId, Balance)>", + start: "BlockNumber", + end: "Option", + }, + DelayedDispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + DispatchId: "u32", + Price: "FixedU128", + OrmlVestingSchedule: { + start: "BlockNumber", + period: "BlockNumber", + periodCount: "u32", + perPeriod: "Compact", + }, + VestingScheduleOf: "OrmlVestingSchedule", + OrmlCurrencyId: "CurrencyId", + PoolInfo: { + totalShares: "Compact", + totalRewards: "Compact", + totalWithdrawnRewards: "Compact", + }, + CompactBalance: "Compact", + PoolInfoV0: { + totalShares: "Compact", + totalRewards: "CompactBalance", + totalWithdrawnRewards: "CompactBalance", + }, + Share: "u128", + OracleValue: "Price", + Amount: "i128", + AmountOf: "Amount", + AuctionId: "u32", + AuctionIdOf: "AuctionId", + TokenSymbol: { + _enum: { + ACA: 0, + AUSD: 1, + DOT: 2, + LDOT: 3, + RENBTC: 20, + CASH: 21, + KAR: 128, + KUSD: 129, + KSM: 130, + LKSM: 131, + }, + }, + DexShare: { + _enum: { + Token: "TokenSymbol", + Erc20: "EvmAddress", + }, + }, + CurrencyId: { + _enum: { + Token: "TokenSymbol", + DEXShare: "(DexShare, DexShare)", + ERC20: "EvmAddress", + StableAssetPoolToken: "StableAssetPoolId", + }, + }, + CurrencyIdOf: "CurrencyId", + AirDropCurrencyId: { + _enum: ["KAR", "ACA"], + }, + AuthoritysOriginId: { + _enum: [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve", + ], + }, + AcalaDataProviderId: { + _enum: ["Aggregated", "Acala", "Band"], + }, + TradingPair: "(CurrencyId, CurrencyId)", + ChainBridgeChainId: "u8", + PalletBalanceOf: "Balance", + CollateralAuctionItem: { + refundRecipient: "AccountId", + currencyId: "CurrencyId", + initialAmount: "Compact", + amount: "Compact", + target: "Compact", + startTime: "BlockNumber", + }, + DebitAuctionItem: { + initialAmount: "Compact", + amount: "Compact", + fix: "Compact", + startTime: "BlockNumber", + }, + SurplusAuctionItem: { + amount: "Compact", + startTime: "BlockNumber", + }, + LiquidationStrategy: { + _enum: ["Auction", "Exchange"], + }, + OptionRate: "Option", + OptionRatio: "Option", + ChangeOptionRate: { + _enum: { + NoChange: "Null", + NewValue: "OptionRate", + }, + }, + ChangeOptionRatio: { + _enum: { + NoChange: "Null", + NewValue: "OptionRatio", + }, + }, + ChangeBalance: { + _enum: { + NoChange: "Null", + NewValue: "Balance", + }, + }, + RiskManagementParams: { + maximumTotalDebitValue: "Balance", + interestRatePerSec: "Option", + liquidationRatio: "Option", + liquidationPenalty: "Option", + requiredCollateralRatio: "Option", + }, + CandidateInfoOf: "CandidateInfo", + TradingPairProvisionParameters: { + minContribution: "(Balance, Balance)", + targetProvision: "(Balance, Balance)", + accumulatedProvision: "(Balance, Balance)", + notBefore: "BlockNumber", + }, + BalanceWrapper: { + amount: "Balance", + }, + BalanceRequest: { + amount: "Balance", + }, + TradingPairStatus: { + _enum: { + NotEnabled: "Null", + Provisioning: "TradingPairProvisionParameters", + Enabled: "Null", + }, + }, + Erc20Info: { + address: "EvmAddress", + name: "Vec", + symbol: "Vec", + decimals: "u8", + }, + EstimateResourcesResponse: { + gas: "u256", + storage: "i32", + weightFee: "u256", + }, + EvmAccountInfo: { + nonce: "Index", + contractInfo: "Option", + }, + CodeInfo: { + codeSize: "u32", + refCount: "u32", + }, + EvmContractInfo: { + codeHash: "H256", + maintainer: "H160", + deployed: "bool", + }, + EvmAddress: "H160", + CallRequest: { + from: "Option", + to: "Option", + gasLimit: "Option", + storageLimit: "Option", + value: "Option", + data: "Option", + }, + RedeemStrategy: { + _enum: { + Immediately: "Null", + Target: "EraIndex", + WaitForUnbonding: "Null", + }, + }, + RelaychainAccountId: "AccountId", + SlashInfo: { + validator: "RelaychainAccountId", + relaychainTokenAmount: "Balance", + }, + ValidatorBacking: { + totalInsurance: "Balance", + isFrozen: "bool", + }, + Guarantee: { + total: "Balance", + bonded: "Balance", + unbonding: "Option<(Balance, BlockNumber)>", + }, + PoolId: { + _enum: { + LoansIncentive: "CurrencyId", + DexIncentive: "CurrencyId", + HomaIncentive: "Null", + DexSaving: "CurrencyId", + HomaValidatorAllowance: "AccountId", + }, + }, + PoolIdV0: { + _enum: { + LoansIncentive: "CurrencyId", + DexIncentive: "CurrencyId", + HomaIncentive: "Null", + DexSaving: "CurrencyId", + HomaValidatorAllowance: "AccountId", + }, + }, + Position: { + collateral: "Balance", + debit: "Balance", + }, + CID: "Vec", + Attributes: "BTreeMap, Vec>", + TokenInfoOf: { + metadata: "CID", + owner: "AccountId", + data: "TokenData", + }, + Properties: { + _set: { + _bitLength: 8, + Transferable: 1, + Burnable: 2, + Mintable: 4, + ClassPropertiesMutable: 8, + }, + }, + ClassData: { + deposit: "Balance", + properties: "Properties", + attributes: "Attributes", + }, + TokenData: { + deposit: "Balance", + attributes: "Attributes", + }, + TokenId: "u64", + TokenIdOf: "TokenId", + NFTClassId: "u32", + ClassIdOf: "ClassId", + NFTBalance: "u128", + NFTBalanceOf: "NFTBalance", + ClassInfoOf: { + metadata: "CID", + totalIssuance: "TokenId", + owner: "AccountId", + data: "ClassData", + }, + NomineeId: "AccountId", + HomaUnlockChunk: { + value: "Balance", + era: "EraIndex", + }, + BondingLedger: { + total: "Balance", + active: "Balance", + unlocking: "Vec", + }, + OracleKey: "CurrencyId", + AsOriginId: "AuthoritysOriginId", + ProxyType: { + _enum: [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan", + ], + }, + AtLeast64BitUnsigned: "u128", + StableAssetPoolId: "u32", + RelayChainBlockNumberOf: "RelayChainBlockNumber", + SubAccountStatus: { + bonded: "Balance", + available: "Balance", + unbonding: "Vec<(EraIndex,Balance)>", + mockRewardRate: "Rate", + }, + Params: { + targetMaxFreeUnbondedRatio: "Ratio", + targetMinFreeUnbondedRatio: "Ratio", + targetUnbondingToFreeRatio: "Ratio", + unbondingToFreeAdjustment: "Ratio", + baseFeeRate: "Rate", + }, + StakingPoolPhase: { + _enum: [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished", + ], + }, + Ledger: { + bonded: "Balance", + unbondingToFree: "Balance", + freePool: "Balance", + toUnbondNextEra: "(Balance, Balance)", + }, + ChangeRate: { + _enum: { + NoChange: "Null", + NewValue: "Rate", + }, + }, + ChangeRatio: { + _enum: { + NoChange: "Null", + NewValue: "Ratio", + }, + }, + BalanceInfo: { + amount: "Balance", + }, + PolkadotAccountId: "AccountId", + PolkadotAccountIdOf: "PolkadotAccountId", + ExchangeRate: "FixedU128", + Rate: "FixedU128", + Ratio: "FixedU128", + PublicKey: "[u8; 20]", + DestAddress: "Vec", + PoolTokenIndex: "u32", + AssetId: "CurrencyId", + Keys: "SessionKeys1", + Address: "GenericMultiAddress", + LookupSource: "GenericMultiAddress", + MultiLocation: "MultiLocationV0", + MultiAsset: "MultiAssetV0", + Xcm: "XcmV0", + XcmOrder: "XcmOrderV0", + XcmError: "XcmErrorV0", + Response: "ResponseV0", + }, + }, + { + minmax: [1008, 1009], + types: { + CallOf: "Call", + DispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + ScheduleTaskIndex: "u32", + DelayedOrigin: { + delay: "BlockNumber", + origin: "PalletsOrigin", + }, + AuthorityOrigin: "DelayedOrigin", + StorageValue: "Vec", + GraduallyUpdate: { + key: "StorageKey", + targetValue: "StorageValue", + perBlock: "StorageValue", + }, + StorageKeyBytes: "Vec", + StorageValueBytes: "Vec", + RpcDataProviderId: "Text", + DataProviderId: "u8", + TimestampedValue: { + value: "OracleValue", + timestamp: "Moment", + }, + TimestampedValueOf: "TimestampedValue", + OrderedSet: "Vec", + OrmlAccountData: { + free: "Balance", + reserved: "Balance", + frozen: "Balance", + }, + OrmlBalanceLock: { + amount: "Balance", + id: "LockIdentifier", + }, + AuctionInfo: { + bid: "Option<(AccountId, Balance)>", + start: "BlockNumber", + end: "Option", + }, + DelayedDispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + DispatchId: "u32", + Price: "FixedU128", + OrmlVestingSchedule: { + start: "BlockNumber", + period: "BlockNumber", + periodCount: "u32", + perPeriod: "Compact", + }, + VestingScheduleOf: "OrmlVestingSchedule", + OrmlCurrencyId: "CurrencyId", + PoolInfo: { + totalShares: "Compact", + totalRewards: "Compact", + totalWithdrawnRewards: "Compact", + }, + CompactBalance: "Compact", + PoolInfoV0: { + totalShares: "Compact", + totalRewards: "CompactBalance", + totalWithdrawnRewards: "CompactBalance", + }, + Share: "u128", + OracleValue: "Price", + Amount: "i128", + AmountOf: "Amount", + AuctionId: "u32", + AuctionIdOf: "AuctionId", + TokenSymbol: { + _enum: { + ACA: 0, + AUSD: 1, + DOT: 2, + LDOT: 3, + RENBTC: 20, + CASH: 21, + KAR: 128, + KUSD: 129, + KSM: 130, + LKSM: 131, + BNC: 168, + VSKSM: 169, + }, + }, + DexShare: { + _enum: { + Token: "TokenSymbol", + Erc20: "EvmAddress", + }, + }, + CurrencyId: { + _enum: { + Token: "TokenSymbol", + DEXShare: "(DexShare, DexShare)", + ERC20: "EvmAddress", + StableAssetPoolToken: "StableAssetPoolId", + }, + }, + CurrencyIdOf: "CurrencyId", + AirDropCurrencyId: { + _enum: ["KAR", "ACA"], + }, + AuthoritysOriginId: { + _enum: [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve", + ], + }, + AcalaDataProviderId: { + _enum: ["Aggregated", "Acala", "Band"], + }, + TradingPair: "(CurrencyId, CurrencyId)", + ChainBridgeChainId: "u8", + PalletBalanceOf: "Balance", + CollateralAuctionItem: { + refundRecipient: "AccountId", + currencyId: "CurrencyId", + initialAmount: "Compact", + amount: "Compact", + target: "Compact", + startTime: "BlockNumber", + }, + DebitAuctionItem: { + initialAmount: "Compact", + amount: "Compact", + fix: "Compact", + startTime: "BlockNumber", + }, + SurplusAuctionItem: { + amount: "Compact", + startTime: "BlockNumber", + }, + LiquidationStrategy: { + _enum: ["Auction", "Exchange"], + }, + OptionRate: "Option", + OptionRatio: "Option", + ChangeOptionRate: { + _enum: { + NoChange: "Null", + NewValue: "OptionRate", + }, + }, + ChangeOptionRatio: { + _enum: { + NoChange: "Null", + NewValue: "OptionRatio", + }, + }, + ChangeBalance: { + _enum: { + NoChange: "Null", + NewValue: "Balance", + }, + }, + RiskManagementParams: { + maximumTotalDebitValue: "Balance", + interestRatePerSec: "Option", + liquidationRatio: "Option", + liquidationPenalty: "Option", + requiredCollateralRatio: "Option", + }, + CandidateInfoOf: "CandidateInfo", + TradingPairProvisionParameters: { + minContribution: "(Balance, Balance)", + targetProvision: "(Balance, Balance)", + accumulatedProvision: "(Balance, Balance)", + notBefore: "BlockNumber", + }, + BalanceWrapper: { + amount: "Balance", + }, + BalanceRequest: { + amount: "Balance", + }, + TradingPairStatus: { + _enum: { + NotEnabled: "Null", + Provisioning: "TradingPairProvisionParameters", + Enabled: "Null", + }, + }, + Erc20Info: { + address: "EvmAddress", + name: "Vec", + symbol: "Vec", + decimals: "u8", + }, + EstimateResourcesResponse: { + gas: "u256", + storage: "i32", + weightFee: "u256", + }, + EvmAccountInfo: { + nonce: "Index", + contractInfo: "Option", + }, + CodeInfo: { + codeSize: "u32", + refCount: "u32", + }, + EvmContractInfo: { + codeHash: "H256", + maintainer: "H160", + deployed: "bool", + }, + EvmAddress: "H160", + CallRequest: { + from: "Option", + to: "Option", + gasLimit: "Option", + storageLimit: "Option", + value: "Option", + data: "Option", + }, + RedeemStrategy: { + _enum: { + Immediately: "Null", + Target: "EraIndex", + WaitForUnbonding: "Null", + }, + }, + RelaychainAccountId: "AccountId", + SlashInfo: { + validator: "RelaychainAccountId", + relaychainTokenAmount: "Balance", + }, + ValidatorBacking: { + totalInsurance: "Balance", + isFrozen: "bool", + }, + Guarantee: { + total: "Balance", + bonded: "Balance", + unbonding: "Option<(Balance, BlockNumber)>", + }, + PoolId: { + _enum: { + LoansIncentive: "CurrencyId", + DexIncentive: "CurrencyId", + HomaIncentive: "Null", + DexSaving: "CurrencyId", + HomaValidatorAllowance: "AccountId", + }, + }, + PoolIdV0: { + _enum: { + LoansIncentive: "CurrencyId", + DexIncentive: "CurrencyId", + HomaIncentive: "Null", + DexSaving: "CurrencyId", + HomaValidatorAllowance: "AccountId", + }, + }, + Position: { + collateral: "Balance", + debit: "Balance", + }, + CID: "Vec", + Attributes: "BTreeMap, Vec>", + TokenInfoOf: { + metadata: "CID", + owner: "AccountId", + data: "TokenData", + }, + Properties: { + _set: { + _bitLength: 8, + Transferable: 1, + Burnable: 2, + Mintable: 4, + ClassPropertiesMutable: 8, + }, + }, + ClassData: { + deposit: "Balance", + properties: "Properties", + attributes: "Attributes", + }, + TokenData: { + deposit: "Balance", + attributes: "Attributes", + }, + TokenId: "u64", + TokenIdOf: "TokenId", + NFTClassId: "u32", + ClassIdOf: "ClassId", + NFTBalance: "u128", + NFTBalanceOf: "NFTBalance", + ClassInfoOf: { + metadata: "CID", + totalIssuance: "TokenId", + owner: "AccountId", + data: "ClassData", + }, + NomineeId: "AccountId", + HomaUnlockChunk: { + value: "Balance", + era: "EraIndex", + }, + BondingLedger: { + total: "Balance", + active: "Balance", + unlocking: "Vec", + }, + OracleKey: "CurrencyId", + AsOriginId: "AuthoritysOriginId", + ProxyType: { + _enum: [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan", + ], + }, + AtLeast64BitUnsigned: "u128", + StableAssetPoolId: "u32", + RelayChainBlockNumberOf: "RelayChainBlockNumber", + SubAccountStatus: { + bonded: "Balance", + available: "Balance", + unbonding: "Vec<(EraIndex,Balance)>", + mockRewardRate: "Rate", + }, + Params: { + targetMaxFreeUnbondedRatio: "Ratio", + targetMinFreeUnbondedRatio: "Ratio", + targetUnbondingToFreeRatio: "Ratio", + unbondingToFreeAdjustment: "Ratio", + baseFeeRate: "Rate", + }, + StakingPoolPhase: { + _enum: [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished", + ], + }, + Ledger: { + bonded: "Balance", + unbondingToFree: "Balance", + freePool: "Balance", + toUnbondNextEra: "(Balance, Balance)", + }, + ChangeRate: { + _enum: { + NoChange: "Null", + NewValue: "Rate", + }, + }, + ChangeRatio: { + _enum: { + NoChange: "Null", + NewValue: "Ratio", + }, + }, + BalanceInfo: { + amount: "Balance", + }, + PolkadotAccountId: "AccountId", + PolkadotAccountIdOf: "PolkadotAccountId", + ExchangeRate: "FixedU128", + Rate: "FixedU128", + Ratio: "FixedU128", + PublicKey: "[u8; 20]", + DestAddress: "Vec", + PoolTokenIndex: "u32", + AssetId: "CurrencyId", + Keys: "SessionKeys1", + Address: "GenericMultiAddress", + LookupSource: "GenericMultiAddress", + MultiLocation: "MultiLocationV0", + MultiAsset: "MultiAssetV0", + Xcm: "XcmV0", + XcmOrder: "XcmOrderV0", + XcmError: "XcmErrorV0", + Response: "ResponseV0", + }, + }, + { + minmax: [1010, 1013], + types: { + CallOf: "Call", + DispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + ScheduleTaskIndex: "u32", + DelayedOrigin: { + delay: "BlockNumber", + origin: "PalletsOrigin", + }, + AuthorityOrigin: "DelayedOrigin", + StorageValue: "Vec", + GraduallyUpdate: { + key: "StorageKey", + targetValue: "StorageValue", + perBlock: "StorageValue", + }, + StorageKeyBytes: "Vec", + StorageValueBytes: "Vec", + RpcDataProviderId: "Text", + DataProviderId: "u8", + TimestampedValue: { + value: "OracleValue", + timestamp: "Moment", + }, + TimestampedValueOf: "TimestampedValue", + OrderedSet: "Vec", + OrmlAccountData: { + free: "Balance", + reserved: "Balance", + frozen: "Balance", + }, + OrmlBalanceLock: { + amount: "Balance", + id: "LockIdentifier", + }, + AuctionInfo: { + bid: "Option<(AccountId, Balance)>", + start: "BlockNumber", + end: "Option", + }, + DelayedDispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + DispatchId: "u32", + Price: "FixedU128", + OrmlVestingSchedule: { + start: "BlockNumber", + period: "BlockNumber", + periodCount: "u32", + perPeriod: "Compact", + }, + VestingScheduleOf: "OrmlVestingSchedule", + OrmlCurrencyId: "CurrencyId", + PoolInfo: { + totalShares: "Share", + rewards: "BTreeMap", + }, + CompactBalance: "Compact", + PoolInfoV0: { + totalShares: "Compact", + totalRewards: "CompactBalance", + totalWithdrawnRewards: "CompactBalance", + }, + Share: "u128", + OracleValue: "Price", + Amount: "i128", + AmountOf: "Amount", + AuctionId: "u32", + AuctionIdOf: "AuctionId", + TokenSymbol: { + _enum: { + ACA: 0, + AUSD: 1, + DOT: 2, + LDOT: 3, + RENBTC: 20, + CASH: 21, + KAR: 128, + KUSD: 129, + KSM: 130, + LKSM: 131, + BNC: 168, + VSKSM: 169, + }, + }, + DexShare: { + _enum: { + Token: "TokenSymbol", + Erc20: "EvmAddress", + }, + }, + CurrencyId: { + _enum: { + Token: "TokenSymbol", + DEXShare: "(DexShare, DexShare)", + ERC20: "EvmAddress", + StableAssetPoolToken: "StableAssetPoolId", + }, + }, + CurrencyIdOf: "CurrencyId", + AirDropCurrencyId: { + _enum: ["KAR", "ACA"], + }, + AuthoritysOriginId: { + _enum: [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve", + ], + }, + AcalaDataProviderId: { + _enum: ["Aggregated", "Acala", "Band"], + }, + TradingPair: "(CurrencyId, CurrencyId)", + ChainBridgeChainId: "u8", + PalletBalanceOf: "Balance", + CollateralAuctionItem: { + refundRecipient: "AccountId", + currencyId: "CurrencyId", + initialAmount: "Compact", + amount: "Compact", + target: "Compact", + startTime: "BlockNumber", + }, + DebitAuctionItem: { + initialAmount: "Compact", + amount: "Compact", + fix: "Compact", + startTime: "BlockNumber", + }, + SurplusAuctionItem: { + amount: "Compact", + startTime: "BlockNumber", + }, + LiquidationStrategy: { + _enum: ["Auction", "Exchange"], + }, + OptionRate: "Option", + OptionRatio: "Option", + ChangeOptionRate: { + _enum: { + NoChange: "Null", + NewValue: "OptionRate", + }, + }, + ChangeOptionRatio: { + _enum: { + NoChange: "Null", + NewValue: "OptionRatio", + }, + }, + ChangeBalance: { + _enum: { + NoChange: "Null", + NewValue: "Balance", + }, + }, + RiskManagementParams: { + maximumTotalDebitValue: "Balance", + interestRatePerSec: "Option", + liquidationRatio: "Option", + liquidationPenalty: "Option", + requiredCollateralRatio: "Option", + }, + CandidateInfoOf: "CandidateInfo", + TradingPairProvisionParameters: { + minContribution: "(Balance, Balance)", + targetProvision: "(Balance, Balance)", + accumulatedProvision: "(Balance, Balance)", + notBefore: "BlockNumber", + }, + BalanceWrapper: { + amount: "Balance", + }, + BalanceRequest: { + amount: "Balance", + }, + TradingPairStatus: { + _enum: { + NotEnabled: "Null", + Provisioning: "TradingPairProvisionParameters", + Enabled: "Null", + }, + }, + Erc20Info: { + address: "EvmAddress", + name: "Vec", + symbol: "Vec", + decimals: "u8", + }, + EstimateResourcesResponse: { + gas: "u256", + storage: "i32", + weightFee: "u256", + }, + EvmAccountInfo: { + nonce: "Index", + contractInfo: "Option", + }, + CodeInfo: { + codeSize: "u32", + refCount: "u32", + }, + EvmContractInfo: { + codeHash: "H256", + maintainer: "H160", + deployed: "bool", + }, + EvmAddress: "H160", + CallRequest: { + from: "Option", + to: "Option", + gasLimit: "Option", + storageLimit: "Option", + value: "Option", + data: "Option", + }, + RedeemStrategy: { + _enum: { + Immediately: "Null", + Target: "EraIndex", + WaitForUnbonding: "Null", + }, + }, + RelaychainAccountId: "AccountId", + SlashInfo: { + validator: "RelaychainAccountId", + relaychainTokenAmount: "Balance", + }, + ValidatorBacking: { + totalInsurance: "Balance", + isFrozen: "bool", + }, + Guarantee: { + total: "Balance", + bonded: "Balance", + unbonding: "Option<(Balance, BlockNumber)>", + }, + PoolId: { + _enum: { + Loans: "CurrencyId", + Dex: "CurrencyId", + }, + }, + PoolIdV0: { + _enum: { + LoansIncentive: "CurrencyId", + DexIncentive: "CurrencyId", + HomaIncentive: "Null", + DexSaving: "CurrencyId", + HomaValidatorAllowance: "AccountId", + }, + }, + Position: { + collateral: "Balance", + debit: "Balance", + }, + CID: "Vec", + Attributes: "BTreeMap, Vec>", + TokenInfoOf: { + metadata: "CID", + owner: "AccountId", + data: "TokenData", + }, + Properties: { + _set: { + _bitLength: 8, + Transferable: 1, + Burnable: 2, + Mintable: 4, + ClassPropertiesMutable: 8, + }, + }, + ClassData: { + deposit: "Balance", + properties: "Properties", + attributes: "Attributes", + }, + TokenData: { + deposit: "Balance", + attributes: "Attributes", + }, + TokenId: "u64", + TokenIdOf: "TokenId", + NFTClassId: "u32", + ClassIdOf: "ClassId", + NFTBalance: "u128", + NFTBalanceOf: "NFTBalance", + ClassInfoOf: { + metadata: "CID", + totalIssuance: "TokenId", + owner: "AccountId", + data: "ClassData", + }, + NomineeId: "AccountId", + HomaUnlockChunk: { + value: "Balance", + era: "EraIndex", + }, + BondingLedger: { + total: "Balance", + active: "Balance", + unlocking: "Vec", + }, + OracleKey: "CurrencyId", + AsOriginId: "AuthoritysOriginId", + ProxyType: { + _enum: [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan", + ], + }, + AtLeast64BitUnsigned: "u128", + StableAssetPoolId: "u32", + RelayChainBlockNumberOf: "RelayChainBlockNumber", + SubAccountStatus: { + bonded: "Balance", + available: "Balance", + unbonding: "Vec<(EraIndex,Balance)>", + mockRewardRate: "Rate", + }, + Params: { + targetMaxFreeUnbondedRatio: "Ratio", + targetMinFreeUnbondedRatio: "Ratio", + targetUnbondingToFreeRatio: "Ratio", + unbondingToFreeAdjustment: "Ratio", + baseFeeRate: "Rate", + }, + StakingPoolPhase: { + _enum: [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished", + ], + }, + Ledger: { + bonded: "Balance", + unbondingToFree: "Balance", + freePool: "Balance", + toUnbondNextEra: "(Balance, Balance)", + }, + ChangeRate: { + _enum: { + NoChange: "Null", + NewValue: "Rate", + }, + }, + ChangeRatio: { + _enum: { + NoChange: "Null", + NewValue: "Ratio", + }, + }, + BalanceInfo: { + amount: "Balance", + }, + PolkadotAccountId: "AccountId", + PolkadotAccountIdOf: "PolkadotAccountId", + ExchangeRate: "FixedU128", + Rate: "FixedU128", + Ratio: "FixedU128", + PublicKey: "[u8; 20]", + DestAddress: "Vec", + PoolTokenIndex: "u32", + AssetId: "CurrencyId", + Keys: "SessionKeys1", + Address: "GenericMultiAddress", + LookupSource: "GenericMultiAddress", + MultiLocation: "MultiLocationV0", + MultiAsset: "MultiAssetV0", + Xcm: "XcmV0", + XcmOrder: "XcmOrderV0", + XcmError: "XcmErrorV0", + Response: "ResponseV0", + }, + }, + { + minmax: [1014, 1018], + types: { + CallOf: "Call", + DispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + ScheduleTaskIndex: "u32", + DelayedOrigin: { + delay: "BlockNumber", + origin: "PalletsOrigin", + }, + AuthorityOrigin: "DelayedOrigin", + StorageValue: "Vec", + GraduallyUpdate: { + key: "StorageKey", + targetValue: "StorageValue", + perBlock: "StorageValue", + }, + StorageKeyBytes: "Vec", + StorageValueBytes: "Vec", + RpcDataProviderId: "Text", + DataProviderId: "u8", + TimestampedValue: { + value: "OracleValue", + timestamp: "Moment", + }, + TimestampedValueOf: "TimestampedValue", + OrderedSet: "Vec", + OrmlAccountData: { + free: "Balance", + reserved: "Balance", + frozen: "Balance", + }, + OrmlBalanceLock: { + amount: "Balance", + id: "LockIdentifier", + }, + AuctionInfo: { + bid: "Option<(AccountId, Balance)>", + start: "BlockNumber", + end: "Option", + }, + DelayedDispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + DispatchId: "u32", + Price: "FixedU128", + OrmlVestingSchedule: { + start: "BlockNumber", + period: "BlockNumber", + periodCount: "u32", + perPeriod: "Compact", + }, + VestingScheduleOf: "OrmlVestingSchedule", + OrmlCurrencyId: "CurrencyId", + PoolInfo: { + totalShares: "Share", + rewards: "BTreeMap", + }, + CompactBalance: "Compact", + PoolInfoV0: { + totalShares: "Compact", + totalRewards: "CompactBalance", + totalWithdrawnRewards: "CompactBalance", + }, + Share: "u128", + OracleValue: "Price", + Amount: "i128", + AmountOf: "Amount", + AuctionId: "u32", + AuctionIdOf: "AuctionId", + TokenSymbol: { + _enum: { + ACA: 0, + AUSD: 1, + DOT: 2, + LDOT: 3, + RENBTC: 20, + CASH: 21, + KAR: 128, + KUSD: 129, + KSM: 130, + LKSM: 131, + BNC: 168, + VSKSM: 169, + }, + }, + DexShare: { + _enum: { + Token: "TokenSymbol", + Erc20: "EvmAddress", + }, + }, + CurrencyId: { + _enum: { + Token: "TokenSymbol", + DEXShare: "(DexShare, DexShare)", + ERC20: "EvmAddress", + StableAssetPoolToken: "StableAssetPoolId", + }, + }, + CurrencyIdOf: "CurrencyId", + AirDropCurrencyId: { + _enum: ["KAR", "ACA"], + }, + AuthoritysOriginId: { + _enum: [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve", + ], + }, + AcalaDataProviderId: { + _enum: ["Aggregated", "Acala", "Band"], + }, + TradingPair: "(CurrencyId, CurrencyId)", + ChainBridgeChainId: "u8", + PalletBalanceOf: "Balance", + CollateralAuctionItem: { + refundRecipient: "AccountId", + currencyId: "CurrencyId", + initialAmount: "Compact", + amount: "Compact", + target: "Compact", + startTime: "BlockNumber", + }, + DebitAuctionItem: { + initialAmount: "Compact", + amount: "Compact", + fix: "Compact", + startTime: "BlockNumber", + }, + SurplusAuctionItem: { + amount: "Compact", + startTime: "BlockNumber", + }, + LiquidationStrategy: { + _enum: ["Auction", "Exchange"], + }, + OptionRate: "Option", + OptionRatio: "Option", + ChangeOptionRate: { + _enum: { + NoChange: "Null", + NewValue: "OptionRate", + }, + }, + ChangeOptionRatio: { + _enum: { + NoChange: "Null", + NewValue: "OptionRatio", + }, + }, + ChangeBalance: { + _enum: { + NoChange: "Null", + NewValue: "Balance", + }, + }, + RiskManagementParams: { + maximumTotalDebitValue: "Balance", + interestRatePerSec: "Option", + liquidationRatio: "Option", + liquidationPenalty: "Option", + requiredCollateralRatio: "Option", + }, + CandidateInfoOf: "CandidateInfo", + TradingPairProvisionParameters: { + minContribution: "(Balance, Balance)", + targetProvision: "(Balance, Balance)", + accumulatedProvision: "(Balance, Balance)", + notBefore: "BlockNumber", + }, + BalanceWrapper: { + amount: "Balance", + }, + BalanceRequest: { + amount: "Balance", + }, + TradingPairStatus: { + _enum: { + NotEnabled: "Null", + Provisioning: "TradingPairProvisionParameters", + Enabled: "Null", + }, + }, + Erc20Info: { + address: "EvmAddress", + name: "Vec", + symbol: "Vec", + decimals: "u8", + }, + EstimateResourcesResponse: { + gas: "u256", + storage: "i32", + weightFee: "u256", + }, + EvmAccountInfo: { + nonce: "Index", + contractInfo: "Option", + }, + CodeInfo: { + codeSize: "u32", + refCount: "u32", + }, + EvmContractInfo: { + codeHash: "H256", + maintainer: "H160", + deployed: "bool", + }, + EvmAddress: "H160", + CallRequest: { + from: "Option", + to: "Option", + gasLimit: "Option", + storageLimit: "Option", + value: "Option", + data: "Option", + }, + RedeemStrategy: { + _enum: { + Immediately: "Null", + Target: "EraIndex", + WaitForUnbonding: "Null", + }, + }, + RelaychainAccountId: "AccountId", + SlashInfo: { + validator: "RelaychainAccountId", + relaychainTokenAmount: "Balance", + }, + ValidatorBacking: { + totalInsurance: "Balance", + isFrozen: "bool", + }, + Guarantee: { + total: "Balance", + bonded: "Balance", + unbonding: "Option<(Balance, BlockNumber)>", + }, + PoolId: { + _enum: { + Loans: "CurrencyId", + Dex: "CurrencyId", + }, + }, + PoolIdV0: { + _enum: { + LoansIncentive: "CurrencyId", + DexIncentive: "CurrencyId", + HomaIncentive: "Null", + DexSaving: "CurrencyId", + HomaValidatorAllowance: "AccountId", + }, + }, + Position: { + collateral: "Balance", + debit: "Balance", + }, + CID: "Vec", + Attributes: "BTreeMap, Vec>", + TokenInfoOf: { + metadata: "CID", + owner: "AccountId", + data: "TokenData", + }, + Properties: { + _set: { + _bitLength: 8, + Transferable: 1, + Burnable: 2, + Mintable: 4, + ClassPropertiesMutable: 8, + }, + }, + ClassData: { + deposit: "Balance", + properties: "Properties", + attributes: "Attributes", + }, + TokenData: { + deposit: "Balance", + attributes: "Attributes", + }, + TokenId: "u64", + TokenIdOf: "TokenId", + NFTClassId: "u32", + ClassIdOf: "ClassId", + NFTBalance: "u128", + NFTBalanceOf: "NFTBalance", + ClassInfoOf: { + metadata: "CID", + totalIssuance: "TokenId", + owner: "AccountId", + data: "ClassData", + }, + NomineeId: "AccountId", + HomaUnlockChunk: { + value: "Balance", + era: "EraIndex", + }, + BondingLedger: { + total: "Balance", + active: "Balance", + unlocking: "Vec", + }, + OracleKey: "CurrencyId", + AsOriginId: "AuthoritysOriginId", + ProxyType: { + _enum: [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan", + ], + }, + AtLeast64BitUnsigned: "u128", + StableAssetPoolId: "u32", + RelayChainBlockNumberOf: "RelayChainBlockNumber", + SubAccountStatus: { + bonded: "Balance", + available: "Balance", + unbonding: "Vec<(EraIndex,Balance)>", + mockRewardRate: "Rate", + }, + Params: { + targetMaxFreeUnbondedRatio: "Ratio", + targetMinFreeUnbondedRatio: "Ratio", + targetUnbondingToFreeRatio: "Ratio", + unbondingToFreeAdjustment: "Ratio", + baseFeeRate: "Rate", + }, + StakingPoolPhase: { + _enum: [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished", + ], + }, + Ledger: { + bonded: "Balance", + unbondingToFree: "Balance", + freePool: "Balance", + toUnbondNextEra: "(Balance, Balance)", + }, + ChangeRate: { + _enum: { + NoChange: "Null", + NewValue: "Rate", + }, + }, + ChangeRatio: { + _enum: { + NoChange: "Null", + NewValue: "Ratio", + }, + }, + BalanceInfo: { + amount: "Balance", + }, + PolkadotAccountId: "AccountId", + PolkadotAccountIdOf: "PolkadotAccountId", + ExchangeRate: "FixedU128", + Rate: "FixedU128", + Ratio: "FixedU128", + PublicKey: "[u8; 20]", + DestAddress: "Vec", + PoolTokenIndex: "u32", + AssetId: "CurrencyId", + Keys: "SessionKeys1", + Address: "GenericMultiAddress", + LookupSource: "GenericMultiAddress", + MultiLocation: "MultiLocationV1", + MultiAsset: "MultiAssetV1", + Xcm: "XcmV1", + XcmOrder: "XcmOrderV1", + XcmError: "XcmErrorV1", + Response: "ResponseV1", + }, + }, + { + minmax: [1019, null], + types: { + CallOf: "Call", + DispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + ScheduleTaskIndex: "u32", + DelayedOrigin: { + delay: "BlockNumber", + origin: "PalletsOrigin", + }, + AuthorityOrigin: "DelayedOrigin", + StorageValue: "Vec", + GraduallyUpdate: { + key: "StorageKey", + targetValue: "StorageValue", + perBlock: "StorageValue", + }, + StorageKeyBytes: "Vec", + StorageValueBytes: "Vec", + RpcDataProviderId: "Text", + DataProviderId: "u8", + TimestampedValue: { + value: "OracleValue", + timestamp: "Moment", + }, + TimestampedValueOf: "TimestampedValue", + OrderedSet: "Vec", + OrmlAccountData: { + free: "Balance", + reserved: "Balance", + frozen: "Balance", + }, + OrmlBalanceLock: { + amount: "Balance", + id: "LockIdentifier", + }, + AuctionInfo: { + bid: "Option<(AccountId, Balance)>", + start: "BlockNumber", + end: "Option", + }, + DelayedDispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + DispatchId: "u32", + Price: "FixedU128", + OrmlVestingSchedule: { + start: "BlockNumber", + period: "BlockNumber", + periodCount: "u32", + perPeriod: "Compact", + }, + VestingScheduleOf: "OrmlVestingSchedule", + OrmlCurrencyId: "CurrencyId", + PoolInfo: { + totalShares: "Share", + rewards: "BTreeMap", + }, + CompactBalance: "Compact", + PoolInfoV0: { + totalShares: "Compact", + totalRewards: "CompactBalance", + totalWithdrawnRewards: "CompactBalance", + }, + Share: "u128", + OracleValue: "Price", + Amount: "i128", + AmountOf: "Amount", + AuctionId: "u32", + AuctionIdOf: "AuctionId", + TokenSymbol: { + _enum: { + ACA: 0, + AUSD: 1, + DOT: 2, + LDOT: 3, + RENBTC: 20, + CASH: 21, + KAR: 128, + KUSD: 129, + KSM: 130, + LKSM: 131, + BNC: 168, + VSKSM: 169, + }, + }, + DexShare: { + _enum: { + Token: "TokenSymbol", + Erc20: "EvmAddress", + }, + }, + CurrencyId: { + _enum: { + Token: "TokenSymbol", + DEXShare: "(DexShare, DexShare)", + ERC20: "EvmAddress", + StableAssetPoolToken: "StableAssetPoolId", + }, + }, + CurrencyIdOf: "CurrencyId", + AirDropCurrencyId: { + _enum: ["KAR", "ACA"], + }, + AuthoritysOriginId: { + _enum: [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve", + ], + }, + AcalaDataProviderId: { + _enum: ["Aggregated", "Acala", "Band"], + }, + TradingPair: "(CurrencyId, CurrencyId)", + ChainBridgeChainId: "u8", + PalletBalanceOf: "Balance", + CollateralAuctionItem: { + refundRecipient: "AccountId", + currencyId: "CurrencyId", + initialAmount: "Compact", + amount: "Compact", + target: "Compact", + startTime: "BlockNumber", + }, + DebitAuctionItem: { + initialAmount: "Compact", + amount: "Compact", + fix: "Compact", + startTime: "BlockNumber", + }, + SurplusAuctionItem: { + amount: "Compact", + startTime: "BlockNumber", + }, + LiquidationStrategy: { + _enum: ["Auction", "Exchange"], + }, + OptionRate: "Option", + OptionRatio: "Option", + ChangeOptionRate: { + _enum: { + NoChange: "Null", + NewValue: "OptionRate", + }, + }, + ChangeOptionRatio: { + _enum: { + NoChange: "Null", + NewValue: "OptionRatio", + }, + }, + ChangeBalance: { + _enum: { + NoChange: "Null", + NewValue: "Balance", + }, + }, + RiskManagementParams: { + maximumTotalDebitValue: "Balance", + interestRatePerSec: "Option", + liquidationRatio: "Option", + liquidationPenalty: "Option", + requiredCollateralRatio: "Option", + }, + CandidateInfoOf: "CandidateInfo", + TradingPairProvisionParameters: { + minContribution: "(Balance, Balance)", + targetProvision: "(Balance, Balance)", + accumulatedProvision: "(Balance, Balance)", + notBefore: "BlockNumber", + }, + BalanceWrapper: { + amount: "Balance", + }, + BalanceRequest: { + amount: "Balance", + }, + TradingPairStatus: { + _enum: { + NotEnabled: "Null", + Provisioning: "TradingPairProvisionParameters", + Enabled: "Null", + }, + }, + Erc20Info: { + address: "EvmAddress", + name: "Vec", + symbol: "Vec", + decimals: "u8", + }, + EstimateResourcesResponse: { + gas: "u256", + storage: "i32", + weightFee: "u256", + }, + EvmAccountInfo: { + nonce: "Index", + contractInfo: "Option", + }, + CodeInfo: { + codeSize: "u32", + refCount: "u32", + }, + EvmContractInfo: { + codeHash: "H256", + maintainer: "H160", + deployed: "bool", + }, + EvmAddress: "H160", + CallRequest: { + from: "Option", + to: "Option", + gasLimit: "Option", + storageLimit: "Option", + value: "Option", + data: "Option", + }, + RedeemStrategy: { + _enum: { + Immediately: "Null", + Target: "EraIndex", + WaitForUnbonding: "Null", + }, + }, + RelaychainAccountId: "AccountId", + SlashInfo: { + validator: "RelaychainAccountId", + relaychainTokenAmount: "Balance", + }, + ValidatorBacking: { + totalInsurance: "Balance", + isFrozen: "bool", + }, + Guarantee: { + total: "Balance", + bonded: "Balance", + unbonding: "Option<(Balance, BlockNumber)>", + }, + PoolId: { + _enum: { + Loans: "CurrencyId", + Dex: "CurrencyId", + }, + }, + PoolIdV0: { + _enum: { + LoansIncentive: "CurrencyId", + DexIncentive: "CurrencyId", + HomaIncentive: "Null", + DexSaving: "CurrencyId", + HomaValidatorAllowance: "AccountId", + }, + }, + Position: { + collateral: "Balance", + debit: "Balance", + }, + CID: "Vec", + Attributes: "BTreeMap, Vec>", + TokenInfoOf: { + metadata: "CID", + owner: "AccountId", + data: "TokenData", + }, + Properties: { + _set: { + _bitLength: 8, + Transferable: 1, + Burnable: 2, + Mintable: 4, + ClassPropertiesMutable: 8, + }, + }, + ClassData: { + deposit: "Balance", + properties: "Properties", + attributes: "Attributes", + }, + TokenData: { + deposit: "Balance", + attributes: "Attributes", + }, + TokenId: "u64", + TokenIdOf: "TokenId", + NFTClassId: "u32", + ClassIdOf: "ClassId", + NFTBalance: "u128", + NFTBalanceOf: "NFTBalance", + ClassInfoOf: { + metadata: "CID", + totalIssuance: "TokenId", + owner: "AccountId", + data: "ClassData", + }, + NomineeId: "AccountId", + HomaUnlockChunk: { + value: "Balance", + era: "EraIndex", + }, + BondingLedger: { + total: "Balance", + active: "Balance", + unlocking: "Vec", + }, + OracleKey: "CurrencyId", + AsOriginId: "AuthoritysOriginId", + ProxyType: { + _enum: [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan", + ], + }, + AtLeast64BitUnsigned: "u128", + StableAssetPoolId: "u32", + RelayChainBlockNumberOf: "RelayChainBlockNumber", + SubAccountStatus: { + bonded: "Balance", + available: "Balance", + unbonding: "Vec<(EraIndex,Balance)>", + mockRewardRate: "Rate", + }, + Params: { + targetMaxFreeUnbondedRatio: "Ratio", + targetMinFreeUnbondedRatio: "Ratio", + targetUnbondingToFreeRatio: "Ratio", + unbondingToFreeAdjustment: "Ratio", + baseFeeRate: "Rate", + }, + StakingPoolPhase: { + _enum: [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished", + ], + }, + Ledger: { + bonded: "Balance", + unbondingToFree: "Balance", + freePool: "Balance", + toUnbondNextEra: "(Balance, Balance)", + }, + ChangeRate: { + _enum: { + NoChange: "Null", + NewValue: "Rate", + }, + }, + ChangeRatio: { + _enum: { + NoChange: "Null", + NewValue: "Ratio", + }, + }, + BalanceInfo: { + amount: "Balance", + }, + PolkadotAccountId: "AccountId", + PolkadotAccountIdOf: "PolkadotAccountId", + ExchangeRate: "FixedU128", + Rate: "FixedU128", + Ratio: "FixedU128", + PublicKey: "[u8; 20]", + DestAddress: "Vec", + PoolTokenIndex: "u32", + AssetId: "CurrencyId", + Keys: "SessionKeys1", + Address: "GenericMultiAddress", + LookupSource: "GenericMultiAddress", + }, + }, + ], + alias: { + stakingPool: { + Phase: "StakingPoolPhase", + }, + nomineesElection: { + UnlockChunk: "HomaUnlockChunk", + }, + evm: { + AccountInfo: "EvmAccountInfo", + ContractInfo: "EvmContractInfo", + }, + rewards: { + OrmlCurrencyId: "CurrencyId", + }, + oracle: { + DataProviderId: "AcalaDataProviderId", + }, + chainBridge: { + ChainId: "ChainBridgeChainId", + }, + tokens: { + AccountData: "OrmlAccountData", + BalanceLock: "OrmlBalanceLock", + }, + }, + }, + karura: { + rpc: { + oracle: { + getValue: { + description: "Retrieves the oracle value for a given key.", + params: [ + { + name: "providerId", + type: "RpcDataProviderId", + }, + { + name: "key", + type: "OracleKey", + }, + { + name: "at", + type: "BlockHash", + isHistoric: true, + isOptional: true, + }, + ], + type: "Option", + isSubscription: false, + jsonrpc: "oracle_getValue", + method: "getValue", + section: "oracle", + }, + getAllValues: { + description: "Retrieves all oracle values.", + params: [ + { + name: "providerId", + type: "RpcDataProviderId", + }, + { + name: "at", + type: "BlockHash", + isHistoric: true, + isOptional: true, + }, + ], + type: "Vec<(OracleKey, Option)>", + isSubscription: false, + jsonrpc: "oracle_getAllValues", + method: "getAllValues", + section: "oracle", + }, + }, + dex: { + getSupplyAmount: { + description: "Get supply amount", + params: [ + { + name: "supplyCurrencyId", + type: "CurrencyId", + }, + { + name: "targetCurrencyId", + type: "CurrencyId", + }, + { + name: "targetCurrencyAmount", + type: "BalanceRequest", + }, + ], + type: "BalanceWrapper", + isSubscription: false, + jsonrpc: "dex_getSupplyAmount", + method: "getSupplyAmount", + section: "dex", + }, + getTargetAmount: { + description: "Get target amount", + params: [ + { + name: "supplyCurrencyId", + type: "CurrencyId", + }, + { + name: "targetCurrencyId", + type: "CurrencyId", + }, + { + name: "supplyCurrencyAmount", + type: "BalanceRequest", + }, + ], + type: "BalanceWrapper", + isSubscription: false, + jsonrpc: "dex_getTargetAmount", + method: "getTargetAmount", + section: "dex", + }, + }, + evm: { + call: { + description: "eth call", + params: [ + { + name: "data", + type: "CallRequest", + }, + { + name: "at", + type: "BlockHash", + isHistoric: true, + isOptional: true, + }, + ], + type: "Raw", + isSubscription: false, + jsonrpc: "evm_call", + method: "call", + section: "evm", + }, + estimateResources: { + description: "eth estimateResources", + params: [ + { + name: "from", + type: "H160", + }, + { + name: "unsignedExtrinsic", + type: "Bytes", + }, + { + name: "at", + type: "BlockHash", + isHistoric: true, + isOptional: true, + }, + ], + type: "EstimateResourcesResponse", + isSubscription: false, + jsonrpc: "evm_estimateResources", + method: "estimateResources", + section: "evm", + }, + }, + stakingPool: { + getAvailableUnbonded: { + description: "Get Available Unbonded", + params: [ + { + name: "account", + type: "AccountId", + }, + ], + type: "BalanceInfo", + isSubscription: false, + jsonrpc: "stakingPool_getAvailableUnbonded", + method: "getAvailableUnbonded", + section: "stakingPool", + }, + getLiquidStakingExchangeRate: { + description: "get liquid staking exchange rate", + params: [], + type: "ExchangeRate", + isSubscription: false, + jsonrpc: "stakingPool_getLiquidStakingExchangeRate", + method: "getLiquidStakingExchangeRate", + section: "stakingPool", + }, + }, + }, + instances: { + council: ["generalCouncil"], + }, + types: [ + { + minmax: [600, 699], + types: { + CallOf: "Call", + DispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + ScheduleTaskIndex: "u32", + DelayedOrigin: { + delay: "BlockNumber", + origin: "PalletsOrigin", + }, + AuthorityOrigin: "DelayedOrigin", + StorageValue: "Vec", + GraduallyUpdate: { + key: "StorageKey", + targetValue: "StorageValue", + perBlock: "StorageValue", + }, + StorageKeyBytes: "Vec", + StorageValueBytes: "Vec", + RpcDataProviderId: "Text", + DataProviderId: "u8", + TimestampedValue: { + value: "OracleValue", + timestamp: "Moment", + }, + TimestampedValueOf: "TimestampedValue", + OrderedSet: "Vec", + OrmlAccountData: { + free: "Balance", + reserved: "Balance", + frozen: "Balance", + }, + OrmlBalanceLock: { + amount: "Balance", + id: "LockIdentifier", + }, + AuctionInfo: { + bid: "Option<(AccountId, Balance)>", + start: "BlockNumber", + end: "Option", + }, + DelayedDispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + DispatchId: "u32", + Price: "FixedU128", + OrmlVestingSchedule: { + start: "BlockNumber", + period: "BlockNumber", + periodCount: "u32", + perPeriod: "Compact", + }, + VestingScheduleOf: "OrmlVestingSchedule", + OrmlCurrencyId: "CurrencyId", + PoolInfo: { + totalShares: "Share", + rewards: "BTreeMap", + }, + CompactBalance: "Compact", + PoolInfoV0: { + totalShares: "Compact", + totalRewards: "CompactBalance", + totalWithdrawnRewards: "CompactBalance", + }, + Share: "u128", + OracleValue: "Price", + Amount: "i128", + AmountOf: "Amount", + AuctionId: "u32", + AuctionIdOf: "AuctionId", + TokenSymbol: { + _enum: ["ACA", "AUSD", "DOT", "XBTC", "LDOT", "RENBTC"], + }, + DexShare: { + _enum: { + Token: "TokenSymbol", + Erc20: "EvmAddress", + }, + }, + CurrencyId: { + _enum: { + Token: "TokenSymbol", + DEXShare: "(DexShare, DexShare)", + ERC20: "EvmAddress", + StableAssetPoolToken: "StableAssetPoolId", + }, + }, + CurrencyIdOf: "CurrencyId", + AirDropCurrencyId: { + _enum: ["KAR", "ACA"], + }, + AuthoritysOriginId: { + _enum: [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve", + ], + }, + AcalaDataProviderId: { + _enum: ["Aggregated", "Acala", "Band"], + }, + TradingPair: "(CurrencyId, CurrencyId)", + ChainBridgeChainId: "u8", + PalletBalanceOf: "Balance", + CollateralAuctionItem: { + refundRecipient: "AccountId", + currencyId: "CurrencyId", + initialAmount: "Compact", + amount: "Compact", + target: "Compact", + startTime: "BlockNumber", + }, + DebitAuctionItem: { + initialAmount: "Compact", + amount: "Compact", + fix: "Compact", + startTime: "BlockNumber", + }, + SurplusAuctionItem: { + amount: "Compact", + startTime: "BlockNumber", + }, + LiquidationStrategy: { + _enum: ["Auction", "Exchange"], + }, + OptionRate: "Option", + OptionRatio: "Option", + ChangeOptionRate: { + _enum: { + NoChange: "Null", + NewValue: "OptionRate", + }, + }, + ChangeOptionRatio: { + _enum: { + NoChange: "Null", + NewValue: "OptionRatio", + }, + }, + ChangeBalance: { + _enum: { + NoChange: "Null", + NewValue: "Balance", + }, + }, + RiskManagementParams: { + maximumTotalDebitValue: "Balance", + interestRatePerSec: "Option", + liquidationRatio: "Option", + liquidationPenalty: "Option", + requiredCollateralRatio: "Option", + }, + CandidateInfoOf: "CandidateInfo", + TradingPairProvisionParameters: { + minContribution: "(Balance, Balance)", + targetProvision: "(Balance, Balance)", + accumulatedProvision: "(Balance, Balance)", + notBefore: "BlockNumber", + }, + BalanceWrapper: { + amount: "Balance", + }, + BalanceRequest: { + amount: "Balance", + }, + TradingPairStatus: { + _enum: { + NotEnabled: "Null", + Provisioning: "TradingPairProvisionParameters", + Enabled: "Null", + }, + }, + Erc20Info: { + address: "EvmAddress", + name: "Vec", + symbol: "Vec", + decimals: "u8", + }, + EstimateResourcesResponse: { + gas: "u256", + storage: "i32", + weightFee: "u256", + }, + EvmAccountInfo: { + nonce: "Index", + contractInfo: "Option", + }, + CodeInfo: { + codeSize: "u32", + refCount: "u32", + }, + EvmContractInfo: { + codeHash: "H256", + maintainer: "H160", + deployed: "bool", + }, + EvmAddress: "H160", + CallRequest: { + from: "Option", + to: "Option", + gasLimit: "Option", + storageLimit: "Option", + value: "Option", + data: "Option", + }, + RedeemStrategy: { + _enum: { + Immediately: "Null", + Target: "EraIndex", + WaitForUnbonding: "Null", + }, + }, + RelaychainAccountId: "AccountId", + SlashInfo: { + validator: "RelaychainAccountId", + relaychainTokenAmount: "Balance", + }, + ValidatorBacking: { + totalInsurance: "Balance", + isFrozen: "bool", + }, + Guarantee: { + total: "Balance", + bonded: "Balance", + unbonding: "Option<(Balance, BlockNumber)>", + }, + PoolId: { + _enum: { + Loans: "CurrencyId", + DexIncentive: "CurrencyId", + DexSaving: "CurrencyId", + Homa: "Null", + }, + }, + PoolIdV0: { + _enum: { + LoansIncentive: "CurrencyId", + DexIncentive: "CurrencyId", + HomaIncentive: "Null", + DexSaving: "CurrencyId", + HomaValidatorAllowance: "AccountId", + }, + }, + Position: { + collateral: "Balance", + debit: "Balance", + }, + CID: "Vec", + Attributes: "BTreeMap, Vec>", + TokenInfoOf: { + metadata: "CID", + owner: "AccountId", + data: "TokenData", + }, + Properties: { + _set: { + _bitLength: 8, + Transferable: 1, + Burnable: 2, + Mintable: 4, + ClassPropertiesMutable: 8, + }, + }, + ClassData: { + deposit: "Balance", + properties: "Properties", + attributes: "Attributes", + }, + TokenData: { + deposit: "Balance", + attributes: "Attributes", + }, + TokenId: "u64", + TokenIdOf: "TokenId", + NFTClassId: "u32", + ClassIdOf: "ClassId", + NFTBalance: "u128", + NFTBalanceOf: "NFTBalance", + ClassInfoOf: { + metadata: "CID", + totalIssuance: "TokenId", + owner: "AccountId", + data: "ClassData", + }, + NomineeId: "AccountId", + HomaUnlockChunk: { + value: "Balance", + era: "EraIndex", + }, + BondingLedger: { + total: "Balance", + active: "Balance", + unlocking: "Vec", + }, + OracleKey: "CurrencyId", + AsOriginId: "AuthoritysOriginId", + ProxyType: { + _enum: [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan", + ], + }, + AtLeast64BitUnsigned: "u128", + StableAssetPoolId: "u32", + RelayChainBlockNumberOf: "RelayChainBlockNumber", + SubAccountStatus: { + bonded: "Balance", + available: "Balance", + unbonding: "Vec<(EraIndex,Balance)>", + mockRewardRate: "Rate", + }, + Params: { + targetMaxFreeUnbondedRatio: "Ratio", + targetMinFreeUnbondedRatio: "Ratio", + targetUnbondingToFreeRatio: "Ratio", + unbondingToFreeAdjustment: "Ratio", + baseFeeRate: "Rate", + }, + StakingPoolPhase: { + _enum: [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished", + ], + }, + Ledger: { + bonded: "Balance", + unbondingToFree: "Balance", + freePool: "Balance", + toUnbondNextEra: "(Balance, Balance)", + }, + ChangeRate: { + _enum: { + NoChange: "Null", + NewValue: "Rate", + }, + }, + ChangeRatio: { + _enum: { + NoChange: "Null", + NewValue: "Ratio", + }, + }, + BalanceInfo: { + amount: "Balance", + }, + PolkadotAccountId: "AccountId", + PolkadotAccountIdOf: "PolkadotAccountId", + ExchangeRate: "FixedU128", + Rate: "FixedU128", + Ratio: "FixedU128", + PublicKey: "[u8; 20]", + DestAddress: "Vec", + PoolTokenIndex: "u32", + AssetId: "CurrencyId", + Keys: "SessionKeys1", + MultiLocation: "MultiLocationV0", + MultiAsset: "MultiAssetV0", + Xcm: "XcmV0", + XcmOrder: "XcmOrderV0", + XcmError: "XcmErrorV0", + Response: "ResponseV0", + Address: "LookupSource", + LookupSource: "IndicesLookupSource", + }, + }, + { + minmax: [700, 719], + types: { + CallOf: "Call", + DispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + ScheduleTaskIndex: "u32", + DelayedOrigin: { + delay: "BlockNumber", + origin: "PalletsOrigin", + }, + AuthorityOrigin: "DelayedOrigin", + StorageValue: "Vec", + GraduallyUpdate: { + key: "StorageKey", + targetValue: "StorageValue", + perBlock: "StorageValue", + }, + StorageKeyBytes: "Vec", + StorageValueBytes: "Vec", + RpcDataProviderId: "Text", + DataProviderId: "u8", + TimestampedValue: { + value: "OracleValue", + timestamp: "Moment", + }, + TimestampedValueOf: "TimestampedValue", + OrderedSet: "Vec", + OrmlAccountData: { + free: "Balance", + reserved: "Balance", + frozen: "Balance", + }, + OrmlBalanceLock: { + amount: "Balance", + id: "LockIdentifier", + }, + AuctionInfo: { + bid: "Option<(AccountId, Balance)>", + start: "BlockNumber", + end: "Option", + }, + DelayedDispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + DispatchId: "u32", + Price: "FixedU128", + OrmlVestingSchedule: { + start: "BlockNumber", + period: "BlockNumber", + periodCount: "u32", + perPeriod: "Compact", + }, + VestingScheduleOf: "OrmlVestingSchedule", + OrmlCurrencyId: "CurrencyId", + PoolInfo: { + totalShares: "Share", + rewards: "BTreeMap", + }, + CompactBalance: "Compact", + PoolInfoV0: { + totalShares: "Compact", + totalRewards: "CompactBalance", + totalWithdrawnRewards: "CompactBalance", + }, + Share: "u128", + OracleValue: "Price", + Amount: "i128", + AmountOf: "Amount", + AuctionId: "u32", + AuctionIdOf: "AuctionId", + TokenSymbol: { + _enum: ["ACA", "AUSD", "DOT", "XBTC", "LDOT", "RENBTC"], + }, + DexShare: { + _enum: { + Token: "TokenSymbol", + Erc20: "EvmAddress", + }, + }, + CurrencyId: { + _enum: { + Token: "TokenSymbol", + DEXShare: "(DexShare, DexShare)", + ERC20: "EvmAddress", + StableAssetPoolToken: "StableAssetPoolId", + }, + }, + CurrencyIdOf: "CurrencyId", + AirDropCurrencyId: { + _enum: ["KAR", "ACA"], + }, + AuthoritysOriginId: { + _enum: [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve", + ], + }, + AcalaDataProviderId: { + _enum: ["Aggregated", "Acala", "Band"], + }, + TradingPair: "(CurrencyId, CurrencyId)", + ChainBridgeChainId: "u8", + PalletBalanceOf: "Balance", + CollateralAuctionItem: { + refundRecipient: "AccountId", + currencyId: "CurrencyId", + initialAmount: "Compact", + amount: "Compact", + target: "Compact", + startTime: "BlockNumber", + }, + DebitAuctionItem: { + initialAmount: "Compact", + amount: "Compact", + fix: "Compact", + startTime: "BlockNumber", + }, + SurplusAuctionItem: { + amount: "Compact", + startTime: "BlockNumber", + }, + LiquidationStrategy: { + _enum: ["Auction", "Exchange"], + }, + OptionRate: "Option", + OptionRatio: "Option", + ChangeOptionRate: { + _enum: { + NoChange: "Null", + NewValue: "OptionRate", + }, + }, + ChangeOptionRatio: { + _enum: { + NoChange: "Null", + NewValue: "OptionRatio", + }, + }, + ChangeBalance: { + _enum: { + NoChange: "Null", + NewValue: "Balance", + }, + }, + RiskManagementParams: { + maximumTotalDebitValue: "Balance", + interestRatePerSec: "Option", + liquidationRatio: "Option", + liquidationPenalty: "Option", + requiredCollateralRatio: "Option", + }, + CandidateInfoOf: "CandidateInfo", + TradingPairProvisionParameters: { + minContribution: "(Balance, Balance)", + targetProvision: "(Balance, Balance)", + accumulatedProvision: "(Balance, Balance)", + notBefore: "BlockNumber", + }, + BalanceWrapper: { + amount: "Balance", + }, + BalanceRequest: { + amount: "Balance", + }, + TradingPairStatus: { + _enum: { + NotEnabled: "Null", + Provisioning: "TradingPairProvisionParameters", + Enabled: "Null", + }, + }, + Erc20Info: { + address: "EvmAddress", + name: "Vec", + symbol: "Vec", + decimals: "u8", + }, + EstimateResourcesResponse: { + gas: "u256", + storage: "i32", + weightFee: "u256", + }, + EvmAccountInfo: { + nonce: "Index", + contractInfo: "Option", + }, + CodeInfo: { + codeSize: "u32", + refCount: "u32", + }, + EvmContractInfo: { + codeHash: "H256", + maintainer: "H160", + deployed: "bool", + }, + EvmAddress: "H160", + CallRequest: { + from: "Option", + to: "Option", + gasLimit: "Option", + storageLimit: "Option", + value: "Option", + data: "Option", + }, + RedeemStrategy: { + _enum: { + Immediately: "Null", + Target: "EraIndex", + WaitForUnbonding: "Null", + }, + }, + RelaychainAccountId: "AccountId", + SlashInfo: { + validator: "RelaychainAccountId", + relaychainTokenAmount: "Balance", + }, + ValidatorBacking: { + totalInsurance: "Balance", + isFrozen: "bool", + }, + Guarantee: { + total: "Balance", + bonded: "Balance", + unbonding: "Option<(Balance, BlockNumber)>", + }, + PoolId: { + _enum: { + Loans: "CurrencyId", + DexIncentive: "CurrencyId", + DexSaving: "CurrencyId", + Homa: "Null", + }, + }, + PoolIdV0: { + _enum: { + LoansIncentive: "CurrencyId", + DexIncentive: "CurrencyId", + HomaIncentive: "Null", + DexSaving: "CurrencyId", + HomaValidatorAllowance: "AccountId", + }, + }, + Position: { + collateral: "Balance", + debit: "Balance", + }, + CID: "Vec", + Attributes: "BTreeMap, Vec>", + TokenInfoOf: { + metadata: "CID", + owner: "AccountId", + data: "TokenData", + }, + Properties: { + _set: { + _bitLength: 8, + Transferable: 1, + Burnable: 2, + Mintable: 4, + ClassPropertiesMutable: 8, + }, + }, + ClassData: { + deposit: "Balance", + properties: "Properties", + attributes: "Attributes", + }, + TokenData: { + deposit: "Balance", + attributes: "Attributes", + }, + TokenId: "u64", + TokenIdOf: "TokenId", + NFTClassId: "u32", + ClassIdOf: "ClassId", + NFTBalance: "u128", + NFTBalanceOf: "NFTBalance", + ClassInfoOf: { + metadata: "CID", + totalIssuance: "TokenId", + owner: "AccountId", + data: "ClassData", + }, + NomineeId: "AccountId", + HomaUnlockChunk: { + value: "Balance", + era: "EraIndex", + }, + BondingLedger: { + total: "Balance", + active: "Balance", + unlocking: "Vec", + }, + OracleKey: "CurrencyId", + AsOriginId: "AuthoritysOriginId", + ProxyType: { + _enum: [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan", + ], + }, + AtLeast64BitUnsigned: "u128", + StableAssetPoolId: "u32", + RelayChainBlockNumberOf: "RelayChainBlockNumber", + SubAccountStatus: { + bonded: "Balance", + available: "Balance", + unbonding: "Vec<(EraIndex,Balance)>", + mockRewardRate: "Rate", + }, + Params: { + targetMaxFreeUnbondedRatio: "Ratio", + targetMinFreeUnbondedRatio: "Ratio", + targetUnbondingToFreeRatio: "Ratio", + unbondingToFreeAdjustment: "Ratio", + baseFeeRate: "Rate", + }, + StakingPoolPhase: { + _enum: [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished", + ], + }, + Ledger: { + bonded: "Balance", + unbondingToFree: "Balance", + freePool: "Balance", + toUnbondNextEra: "(Balance, Balance)", + }, + ChangeRate: { + _enum: { + NoChange: "Null", + NewValue: "Rate", + }, + }, + ChangeRatio: { + _enum: { + NoChange: "Null", + NewValue: "Ratio", + }, + }, + BalanceInfo: { + amount: "Balance", + }, + PolkadotAccountId: "AccountId", + PolkadotAccountIdOf: "PolkadotAccountId", + ExchangeRate: "FixedU128", + Rate: "FixedU128", + Ratio: "FixedU128", + PublicKey: "[u8; 20]", + DestAddress: "Vec", + PoolTokenIndex: "u32", + AssetId: "CurrencyId", + Keys: "SessionKeys1", + MultiLocation: "MultiLocationV0", + MultiAsset: "MultiAssetV0", + Xcm: "XcmV0", + XcmOrder: "XcmOrderV0", + XcmError: "XcmErrorV0", + Response: "ResponseV0", + Address: "GenericMultiAddress", + LookupSource: "GenericMultiAddress", + }, + }, + { + minmax: [720, 722], + types: { + CallOf: "Call", + DispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + ScheduleTaskIndex: "u32", + DelayedOrigin: { + delay: "BlockNumber", + origin: "PalletsOrigin", + }, + AuthorityOrigin: "DelayedOrigin", + StorageValue: "Vec", + GraduallyUpdate: { + key: "StorageKey", + targetValue: "StorageValue", + perBlock: "StorageValue", + }, + StorageKeyBytes: "Vec", + StorageValueBytes: "Vec", + RpcDataProviderId: "Text", + DataProviderId: "u8", + TimestampedValue: { + value: "OracleValue", + timestamp: "Moment", + }, + TimestampedValueOf: "TimestampedValue", + OrderedSet: "Vec", + OrmlAccountData: { + free: "Balance", + reserved: "Balance", + frozen: "Balance", + }, + OrmlBalanceLock: { + amount: "Balance", + id: "LockIdentifier", + }, + AuctionInfo: { + bid: "Option<(AccountId, Balance)>", + start: "BlockNumber", + end: "Option", + }, + DelayedDispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + DispatchId: "u32", + Price: "FixedU128", + OrmlVestingSchedule: { + start: "BlockNumber", + period: "BlockNumber", + periodCount: "u32", + perPeriod: "Compact", + }, + VestingScheduleOf: "OrmlVestingSchedule", + OrmlCurrencyId: "CurrencyId", + PoolInfo: { + totalShares: "Share", + rewards: "BTreeMap", + }, + CompactBalance: "Compact", + PoolInfoV0: { + totalShares: "Compact", + totalRewards: "CompactBalance", + totalWithdrawnRewards: "CompactBalance", + }, + Share: "u128", + OracleValue: "Price", + Amount: "i128", + AmountOf: "Amount", + AuctionId: "u32", + AuctionIdOf: "AuctionId", + TokenSymbol: { + _enum: { + ACA: 0, + AUSD: 1, + DOT: 2, + LDOT: 3, + XBTC: 4, + RENBTC: 5, + POLKABTC: 6, + PLM: 7, + PHA: 8, + HDT: 9, + BCG: 11, + KAR: 128, + KUSD: 129, + KSM: 130, + LKSM: 131, + SDN: 135, + KILT: 138, + }, + }, + DexShare: { + _enum: { + Token: "TokenSymbol", + Erc20: "EvmAddress", + }, + }, + CurrencyId: { + _enum: { + Token: "TokenSymbol", + DEXShare: "(TokenSymbol, TokenSymbol)", + ERC20: "EvmAddress", + }, + }, + CurrencyIdOf: "CurrencyId", + AirDropCurrencyId: { + _enum: ["KAR", "ACA"], + }, + AuthoritysOriginId: { + _enum: [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve", + ], + }, + AcalaDataProviderId: { + _enum: ["Aggregated", "Acala", "Band"], + }, + TradingPair: "(CurrencyId, CurrencyId)", + ChainBridgeChainId: "u8", + PalletBalanceOf: "Balance", + CollateralAuctionItem: { + refundRecipient: "AccountId", + currencyId: "CurrencyId", + initialAmount: "Compact", + amount: "Compact", + target: "Compact", + startTime: "BlockNumber", + }, + DebitAuctionItem: { + initialAmount: "Compact", + amount: "Compact", + fix: "Compact", + startTime: "BlockNumber", + }, + SurplusAuctionItem: { + amount: "Compact", + startTime: "BlockNumber", + }, + LiquidationStrategy: { + _enum: ["Auction", "Exchange"], + }, + OptionRate: "Option", + OptionRatio: "Option", + ChangeOptionRate: { + _enum: { + NoChange: "Null", + NewValue: "OptionRate", + }, + }, + ChangeOptionRatio: { + _enum: { + NoChange: "Null", + NewValue: "OptionRatio", + }, + }, + ChangeBalance: { + _enum: { + NoChange: "Null", + NewValue: "Balance", + }, + }, + RiskManagementParams: { + maximumTotalDebitValue: "Balance", + interestRatePerSec: "Option", + liquidationRatio: "Option", + liquidationPenalty: "Option", + requiredCollateralRatio: "Option", + }, + CandidateInfoOf: "CandidateInfo", + TradingPairProvisionParameters: { + minContribution: "(Balance, Balance)", + targetProvision: "(Balance, Balance)", + accumulatedProvision: "(Balance, Balance)", + notBefore: "BlockNumber", + }, + BalanceWrapper: { + amount: "Balance", + }, + BalanceRequest: { + amount: "Balance", + }, + TradingPairStatus: { + _enum: { + NotEnabled: "Null", + Provisioning: "TradingPairProvisionParameters", + Enabled: "Null", + }, + }, + Erc20Info: { + address: "EvmAddress", + name: "Vec", + symbol: "Vec", + decimals: "u8", + }, + EstimateResourcesResponse: { + gas: "u256", + storage: "i32", + weightFee: "u256", + }, + EvmAccountInfo: { + nonce: "Index", + contractInfo: "Option", + }, + CodeInfo: { + codeSize: "u32", + refCount: "u32", + }, + EvmContractInfo: { + codeHash: "H256", + maintainer: "H160", + deployed: "bool", + }, + EvmAddress: "H160", + CallRequest: { + from: "Option", + to: "Option", + gasLimit: "Option", + storageLimit: "Option", + value: "Option", + data: "Option", + }, + RedeemStrategy: { + _enum: { + Immediately: "Null", + Target: "EraIndex", + WaitForUnbonding: "Null", + }, + }, + RelaychainAccountId: "AccountId", + SlashInfo: { + validator: "RelaychainAccountId", + relaychainTokenAmount: "Balance", + }, + ValidatorBacking: { + totalInsurance: "Balance", + isFrozen: "bool", + }, + Guarantee: { + total: "Balance", + bonded: "Balance", + unbonding: "Option<(Balance, BlockNumber)>", + }, + PoolId: { + _enum: { + Loans: "CurrencyId", + DexIncentive: "CurrencyId", + DexSaving: "CurrencyId", + Homa: "Null", + }, + }, + PoolIdV0: { + _enum: { + LoansIncentive: "CurrencyId", + DexIncentive: "CurrencyId", + HomaIncentive: "Null", + DexSaving: "CurrencyId", + HomaValidatorAllowance: "AccountId", + }, + }, + Position: { + collateral: "Balance", + debit: "Balance", + }, + CID: "Vec", + Attributes: "BTreeMap, Vec>", + TokenInfoOf: { + metadata: "CID", + owner: "AccountId", + data: "TokenData", + }, + Properties: { + _set: { + _bitLength: 8, + Transferable: 1, + Burnable: 2, + Mintable: 4, + ClassPropertiesMutable: 8, + }, + }, + ClassData: { + deposit: "Balance", + properties: "Properties", + attributes: "Attributes", + }, + TokenData: { + deposit: "Balance", + attributes: "Attributes", + }, + TokenId: "u64", + TokenIdOf: "TokenId", + NFTClassId: "u32", + ClassIdOf: "ClassId", + NFTBalance: "u128", + NFTBalanceOf: "NFTBalance", + ClassInfoOf: { + metadata: "CID", + totalIssuance: "TokenId", + owner: "AccountId", + data: "ClassData", + }, + NomineeId: "AccountId", + HomaUnlockChunk: { + value: "Balance", + era: "EraIndex", + }, + BondingLedger: { + total: "Balance", + active: "Balance", + unlocking: "Vec", + }, + OracleKey: "CurrencyId", + AsOriginId: "AuthoritysOriginId", + ProxyType: { + _enum: [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan", + ], + }, + AtLeast64BitUnsigned: "u128", + StableAssetPoolId: "u32", + RelayChainBlockNumberOf: "RelayChainBlockNumber", + SubAccountStatus: { + bonded: "Balance", + available: "Balance", + unbonding: "Vec<(EraIndex,Balance)>", + mockRewardRate: "Rate", + }, + Params: { + targetMaxFreeUnbondedRatio: "Ratio", + targetMinFreeUnbondedRatio: "Ratio", + targetUnbondingToFreeRatio: "Ratio", + unbondingToFreeAdjustment: "Ratio", + baseFeeRate: "Rate", + }, + StakingPoolPhase: { + _enum: [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished", + ], + }, + Ledger: { + bonded: "Balance", + unbondingToFree: "Balance", + freePool: "Balance", + toUnbondNextEra: "(Balance, Balance)", + }, + ChangeRate: { + _enum: { + NoChange: "Null", + NewValue: "Rate", + }, + }, + ChangeRatio: { + _enum: { + NoChange: "Null", + NewValue: "Ratio", + }, + }, + BalanceInfo: { + amount: "Balance", + }, + PolkadotAccountId: "AccountId", + PolkadotAccountIdOf: "PolkadotAccountId", + ExchangeRate: "FixedU128", + Rate: "FixedU128", + Ratio: "FixedU128", + PublicKey: "[u8; 20]", + DestAddress: "Vec", + PoolTokenIndex: "u32", + AssetId: "CurrencyId", + Keys: "SessionKeys1", + Address: "GenericMultiAddress", + LookupSource: "GenericMultiAddress", + MultiLocation: "MultiLocationV0", + MultiAsset: "MultiAssetV0", + Xcm: "XcmV0", + XcmOrder: "XcmOrderV0", + XcmError: "XcmErrorV0", + Response: "ResponseV0", + }, + }, + { + minmax: [723, 729], + types: { + CallOf: "Call", + DispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + ScheduleTaskIndex: "u32", + DelayedOrigin: { + delay: "BlockNumber", + origin: "PalletsOrigin", + }, + AuthorityOrigin: "DelayedOrigin", + StorageValue: "Vec", + GraduallyUpdate: { + key: "StorageKey", + targetValue: "StorageValue", + perBlock: "StorageValue", + }, + StorageKeyBytes: "Vec", + StorageValueBytes: "Vec", + RpcDataProviderId: "Text", + DataProviderId: "u8", + TimestampedValue: { + value: "OracleValue", + timestamp: "Moment", + }, + TimestampedValueOf: "TimestampedValue", + OrderedSet: "Vec", + OrmlAccountData: { + free: "Balance", + reserved: "Balance", + frozen: "Balance", + }, + OrmlBalanceLock: { + amount: "Balance", + id: "LockIdentifier", + }, + AuctionInfo: { + bid: "Option<(AccountId, Balance)>", + start: "BlockNumber", + end: "Option", + }, + DelayedDispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + DispatchId: "u32", + Price: "FixedU128", + OrmlVestingSchedule: { + start: "BlockNumber", + period: "BlockNumber", + periodCount: "u32", + perPeriod: "Compact", + }, + VestingScheduleOf: "OrmlVestingSchedule", + OrmlCurrencyId: "CurrencyId", + PoolInfo: { + totalShares: "Compact", + totalRewards: "Compact", + totalWithdrawnRewards: "Compact", + }, + CompactBalance: "Compact", + PoolInfoV0: { + totalShares: "Compact", + totalRewards: "CompactBalance", + totalWithdrawnRewards: "CompactBalance", + }, + Share: "u128", + OracleValue: "Price", + Amount: "i128", + AmountOf: "Amount", + AuctionId: "u32", + AuctionIdOf: "AuctionId", + TokenSymbol: { + _enum: { + ACA: 0, + AUSD: 1, + DOT: 2, + LDOT: 3, + XBTC: 4, + RENBTC: 5, + POLKABTC: 6, + PLM: 7, + PHA: 8, + HDT: 9, + BCG: 11, + KAR: 128, + KUSD: 129, + KSM: 130, + LKSM: 131, + SDN: 135, + KILT: 138, + }, + }, + DexShare: { + _enum: { + Token: "TokenSymbol", + Erc20: "EvmAddress", + }, + }, + CurrencyId: { + _enum: { + Token: "TokenSymbol", + DEXShare: "(TokenSymbol, TokenSymbol)", + ERC20: "EvmAddress", + }, + }, + CurrencyIdOf: "CurrencyId", + AirDropCurrencyId: { + _enum: ["KAR", "ACA"], + }, + AuthoritysOriginId: { + _enum: [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve", + ], + }, + AcalaDataProviderId: { + _enum: ["Aggregated", "Acala", "Band"], + }, + TradingPair: "(CurrencyId, CurrencyId)", + ChainBridgeChainId: "u8", + PalletBalanceOf: "Balance", + CollateralAuctionItem: { + refundRecipient: "AccountId", + currencyId: "CurrencyId", + initialAmount: "Compact", + amount: "Compact", + target: "Compact", + startTime: "BlockNumber", + }, + DebitAuctionItem: { + initialAmount: "Compact", + amount: "Compact", + fix: "Compact", + startTime: "BlockNumber", + }, + SurplusAuctionItem: { + amount: "Compact", + startTime: "BlockNumber", + }, + LiquidationStrategy: { + _enum: ["Auction", "Exchange"], + }, + OptionRate: "Option", + OptionRatio: "Option", + ChangeOptionRate: { + _enum: { + NoChange: "Null", + NewValue: "OptionRate", + }, + }, + ChangeOptionRatio: { + _enum: { + NoChange: "Null", + NewValue: "OptionRatio", + }, + }, + ChangeBalance: { + _enum: { + NoChange: "Null", + NewValue: "Balance", + }, + }, + RiskManagementParams: { + maximumTotalDebitValue: "Balance", + interestRatePerSec: "Option", + liquidationRatio: "Option", + liquidationPenalty: "Option", + requiredCollateralRatio: "Option", + }, + CandidateInfoOf: "CandidateInfo", + TradingPairProvisionParameters: { + minContribution: "(Balance, Balance)", + targetProvision: "(Balance, Balance)", + accumulatedProvision: "(Balance, Balance)", + notBefore: "BlockNumber", + }, + BalanceWrapper: { + amount: "Balance", + }, + BalanceRequest: { + amount: "Balance", + }, + TradingPairStatus: { + _enum: { + NotEnabled: "Null", + Provisioning: "TradingPairProvisionParameters", + Enabled: "Null", + }, + }, + Erc20Info: { + address: "EvmAddress", + name: "Vec", + symbol: "Vec", + decimals: "u8", + }, + EstimateResourcesResponse: { + gas: "u256", + storage: "i32", + weightFee: "u256", + }, + EvmAccountInfo: { + nonce: "Index", + contractInfo: "Option", + }, + CodeInfo: { + codeSize: "u32", + refCount: "u32", + }, + EvmContractInfo: { + codeHash: "H256", + maintainer: "H160", + deployed: "bool", + }, + EvmAddress: "H160", + CallRequest: { + from: "Option", + to: "Option", + gasLimit: "Option", + storageLimit: "Option", + value: "Option", + data: "Option", + }, + RedeemStrategy: { + _enum: { + Immediately: "Null", + Target: "EraIndex", + WaitForUnbonding: "Null", + }, + }, + RelaychainAccountId: "AccountId", + SlashInfo: { + validator: "RelaychainAccountId", + relaychainTokenAmount: "Balance", + }, + ValidatorBacking: { + totalInsurance: "Balance", + isFrozen: "bool", + }, + Guarantee: { + total: "Balance", + bonded: "Balance", + unbonding: "Option<(Balance, BlockNumber)>", + }, + PoolId: { + _enum: { + LoansIncentive: "CurrencyId", + DexIncentive: "CurrencyId", + HomaIncentive: "Null", + DexSaving: "CurrencyId", + HomaValidatorAllowance: "AccountId", + }, + }, + PoolIdV0: { + _enum: { + LoansIncentive: "CurrencyId", + DexIncentive: "CurrencyId", + HomaIncentive: "Null", + DexSaving: "CurrencyId", + HomaValidatorAllowance: "AccountId", + }, + }, + Position: { + collateral: "Balance", + debit: "Balance", + }, + CID: "Vec", + Attributes: "BTreeMap, Vec>", + TokenInfoOf: { + metadata: "CID", + owner: "AccountId", + data: "TokenData", + }, + Properties: { + _set: { + _bitLength: 8, + Transferable: 1, + Burnable: 2, + Mintable: 4, + ClassPropertiesMutable: 8, + }, + }, + ClassData: { + deposit: "Balance", + properties: "Properties", + attributes: "Attributes", + }, + TokenData: { + deposit: "Balance", + attributes: "Attributes", + }, + TokenId: "u64", + TokenIdOf: "TokenId", + NFTClassId: "u32", + ClassIdOf: "ClassId", + NFTBalance: "u128", + NFTBalanceOf: "NFTBalance", + ClassInfoOf: { + metadata: "CID", + totalIssuance: "TokenId", + owner: "AccountId", + data: "ClassData", + }, + NomineeId: "AccountId", + HomaUnlockChunk: { + value: "Balance", + era: "EraIndex", + }, + BondingLedger: { + total: "Balance", + active: "Balance", + unlocking: "Vec", + }, + OracleKey: "CurrencyId", + AsOriginId: "AuthoritysOriginId", + ProxyType: { + _enum: [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan", + ], + }, + AtLeast64BitUnsigned: "u128", + StableAssetPoolId: "u32", + RelayChainBlockNumberOf: "RelayChainBlockNumber", + SubAccountStatus: { + bonded: "Balance", + available: "Balance", + unbonding: "Vec<(EraIndex,Balance)>", + mockRewardRate: "Rate", + }, + Params: { + targetMaxFreeUnbondedRatio: "Ratio", + targetMinFreeUnbondedRatio: "Ratio", + targetUnbondingToFreeRatio: "Ratio", + unbondingToFreeAdjustment: "Ratio", + baseFeeRate: "Rate", + }, + StakingPoolPhase: { + _enum: [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished", + ], + }, + Ledger: { + bonded: "Balance", + unbondingToFree: "Balance", + freePool: "Balance", + toUnbondNextEra: "(Balance, Balance)", + }, + ChangeRate: { + _enum: { + NoChange: "Null", + NewValue: "Rate", + }, + }, + ChangeRatio: { + _enum: { + NoChange: "Null", + NewValue: "Ratio", + }, + }, + BalanceInfo: { + amount: "Balance", + }, + PolkadotAccountId: "AccountId", + PolkadotAccountIdOf: "PolkadotAccountId", + ExchangeRate: "FixedU128", + Rate: "FixedU128", + Ratio: "FixedU128", + PublicKey: "[u8; 20]", + DestAddress: "Vec", + PoolTokenIndex: "u32", + AssetId: "CurrencyId", + Keys: "SessionKeys1", + Address: "GenericMultiAddress", + LookupSource: "GenericMultiAddress", + MultiLocation: "MultiLocationV0", + MultiAsset: "MultiAssetV0", + Xcm: "XcmV0", + XcmOrder: "XcmOrderV0", + XcmError: "XcmErrorV0", + Response: "ResponseV0", + }, + }, + { + minmax: [730, 1007], + types: { + CallOf: "Call", + DispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + ScheduleTaskIndex: "u32", + DelayedOrigin: { + delay: "BlockNumber", + origin: "PalletsOrigin", + }, + AuthorityOrigin: "DelayedOrigin", + StorageValue: "Vec", + GraduallyUpdate: { + key: "StorageKey", + targetValue: "StorageValue", + perBlock: "StorageValue", + }, + StorageKeyBytes: "Vec", + StorageValueBytes: "Vec", + RpcDataProviderId: "Text", + DataProviderId: "u8", + TimestampedValue: { + value: "OracleValue", + timestamp: "Moment", + }, + TimestampedValueOf: "TimestampedValue", + OrderedSet: "Vec", + OrmlAccountData: { + free: "Balance", + reserved: "Balance", + frozen: "Balance", + }, + OrmlBalanceLock: { + amount: "Balance", + id: "LockIdentifier", + }, + AuctionInfo: { + bid: "Option<(AccountId, Balance)>", + start: "BlockNumber", + end: "Option", + }, + DelayedDispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + DispatchId: "u32", + Price: "FixedU128", + OrmlVestingSchedule: { + start: "BlockNumber", + period: "BlockNumber", + periodCount: "u32", + perPeriod: "Compact", + }, + VestingScheduleOf: "OrmlVestingSchedule", + OrmlCurrencyId: "CurrencyId", + PoolInfo: { + totalShares: "Compact", + totalRewards: "Compact", + totalWithdrawnRewards: "Compact", + }, + CompactBalance: "Compact", + PoolInfoV0: { + totalShares: "Compact", + totalRewards: "CompactBalance", + totalWithdrawnRewards: "CompactBalance", + }, + Share: "u128", + OracleValue: "Price", + Amount: "i128", + AmountOf: "Amount", + AuctionId: "u32", + AuctionIdOf: "AuctionId", + TokenSymbol: { + _enum: { + ACA: 0, + AUSD: 1, + DOT: 2, + LDOT: 3, + RENBTC: 4, + KAR: 128, + KUSD: 129, + KSM: 130, + LKSM: 131, + CASH: 140, + }, + }, + DexShare: { + _enum: { + Token: "TokenSymbol", + Erc20: "EvmAddress", + }, + }, + CurrencyId: { + _enum: { + Token: "TokenSymbol", + DEXShare: "(DexShare, DexShare)", + ERC20: "EvmAddress", + StableAssetPoolToken: "StableAssetPoolId", + }, + }, + CurrencyIdOf: "CurrencyId", + AirDropCurrencyId: { + _enum: ["KAR", "ACA"], + }, + AuthoritysOriginId: { + _enum: [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve", + ], + }, + AcalaDataProviderId: { + _enum: ["Aggregated", "Acala", "Band"], + }, + TradingPair: "(CurrencyId, CurrencyId)", + ChainBridgeChainId: "u8", + PalletBalanceOf: "Balance", + CollateralAuctionItem: { + refundRecipient: "AccountId", + currencyId: "CurrencyId", + initialAmount: "Compact", + amount: "Compact", + target: "Compact", + startTime: "BlockNumber", + }, + DebitAuctionItem: { + initialAmount: "Compact", + amount: "Compact", + fix: "Compact", + startTime: "BlockNumber", + }, + SurplusAuctionItem: { + amount: "Compact", + startTime: "BlockNumber", + }, + LiquidationStrategy: { + _enum: ["Auction", "Exchange"], + }, + OptionRate: "Option", + OptionRatio: "Option", + ChangeOptionRate: { + _enum: { + NoChange: "Null", + NewValue: "OptionRate", + }, + }, + ChangeOptionRatio: { + _enum: { + NoChange: "Null", + NewValue: "OptionRatio", + }, + }, + ChangeBalance: { + _enum: { + NoChange: "Null", + NewValue: "Balance", + }, + }, + RiskManagementParams: { + maximumTotalDebitValue: "Balance", + interestRatePerSec: "Option", + liquidationRatio: "Option", + liquidationPenalty: "Option", + requiredCollateralRatio: "Option", + }, + CandidateInfoOf: "CandidateInfo", + TradingPairProvisionParameters: { + minContribution: "(Balance, Balance)", + targetProvision: "(Balance, Balance)", + accumulatedProvision: "(Balance, Balance)", + notBefore: "BlockNumber", + }, + BalanceWrapper: { + amount: "Balance", + }, + BalanceRequest: { + amount: "Balance", + }, + TradingPairStatus: { + _enum: { + NotEnabled: "Null", + Provisioning: "TradingPairProvisionParameters", + Enabled: "Null", + }, + }, + Erc20Info: { + address: "EvmAddress", + name: "Vec", + symbol: "Vec", + decimals: "u8", + }, + EstimateResourcesResponse: { + gas: "u256", + storage: "i32", + weightFee: "u256", + }, + EvmAccountInfo: { + nonce: "Index", + contractInfo: "Option", + }, + CodeInfo: { + codeSize: "u32", + refCount: "u32", + }, + EvmContractInfo: { + codeHash: "H256", + maintainer: "H160", + deployed: "bool", + }, + EvmAddress: "H160", + CallRequest: { + from: "Option", + to: "Option", + gasLimit: "Option", + storageLimit: "Option", + value: "Option", + data: "Option", + }, + RedeemStrategy: { + _enum: { + Immediately: "Null", + Target: "EraIndex", + WaitForUnbonding: "Null", + }, + }, + RelaychainAccountId: "AccountId", + SlashInfo: { + validator: "RelaychainAccountId", + relaychainTokenAmount: "Balance", + }, + ValidatorBacking: { + totalInsurance: "Balance", + isFrozen: "bool", + }, + Guarantee: { + total: "Balance", + bonded: "Balance", + unbonding: "Option<(Balance, BlockNumber)>", + }, + PoolId: { + _enum: { + LoansIncentive: "CurrencyId", + DexIncentive: "CurrencyId", + HomaIncentive: "Null", + DexSaving: "CurrencyId", + HomaValidatorAllowance: "AccountId", + }, + }, + PoolIdV0: { + _enum: { + LoansIncentive: "CurrencyId", + DexIncentive: "CurrencyId", + HomaIncentive: "Null", + DexSaving: "CurrencyId", + HomaValidatorAllowance: "AccountId", + }, + }, + Position: { + collateral: "Balance", + debit: "Balance", + }, + CID: "Vec", + Attributes: "BTreeMap, Vec>", + TokenInfoOf: { + metadata: "CID", + owner: "AccountId", + data: "TokenData", + }, + Properties: { + _set: { + _bitLength: 8, + Transferable: 1, + Burnable: 2, + Mintable: 4, + ClassPropertiesMutable: 8, + }, + }, + ClassData: { + deposit: "Balance", + properties: "Properties", + attributes: "Attributes", + }, + TokenData: { + deposit: "Balance", + attributes: "Attributes", + }, + TokenId: "u64", + TokenIdOf: "TokenId", + NFTClassId: "u32", + ClassIdOf: "ClassId", + NFTBalance: "u128", + NFTBalanceOf: "NFTBalance", + ClassInfoOf: { + metadata: "CID", + totalIssuance: "TokenId", + owner: "AccountId", + data: "ClassData", + }, + NomineeId: "AccountId", + HomaUnlockChunk: { + value: "Balance", + era: "EraIndex", + }, + BondingLedger: { + total: "Balance", + active: "Balance", + unlocking: "Vec", + }, + OracleKey: "CurrencyId", + AsOriginId: "AuthoritysOriginId", + ProxyType: { + _enum: [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan", + ], + }, + AtLeast64BitUnsigned: "u128", + StableAssetPoolId: "u32", + RelayChainBlockNumberOf: "RelayChainBlockNumber", + SubAccountStatus: { + bonded: "Balance", + available: "Balance", + unbonding: "Vec<(EraIndex,Balance)>", + mockRewardRate: "Rate", + }, + Params: { + targetMaxFreeUnbondedRatio: "Ratio", + targetMinFreeUnbondedRatio: "Ratio", + targetUnbondingToFreeRatio: "Ratio", + unbondingToFreeAdjustment: "Ratio", + baseFeeRate: "Rate", + }, + StakingPoolPhase: { + _enum: [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished", + ], + }, + Ledger: { + bonded: "Balance", + unbondingToFree: "Balance", + freePool: "Balance", + toUnbondNextEra: "(Balance, Balance)", + }, + ChangeRate: { + _enum: { + NoChange: "Null", + NewValue: "Rate", + }, + }, + ChangeRatio: { + _enum: { + NoChange: "Null", + NewValue: "Ratio", + }, + }, + BalanceInfo: { + amount: "Balance", + }, + PolkadotAccountId: "AccountId", + PolkadotAccountIdOf: "PolkadotAccountId", + ExchangeRate: "FixedU128", + Rate: "FixedU128", + Ratio: "FixedU128", + PublicKey: "[u8; 20]", + DestAddress: "Vec", + PoolTokenIndex: "u32", + AssetId: "CurrencyId", + Keys: "SessionKeys1", + Address: "GenericMultiAddress", + LookupSource: "GenericMultiAddress", + MultiLocation: "MultiLocationV0", + MultiAsset: "MultiAssetV0", + Xcm: "XcmV0", + XcmOrder: "XcmOrderV0", + XcmError: "XcmErrorV0", + Response: "ResponseV0", + }, + }, + { + minmax: [1008, 1008], + types: { + CallOf: "Call", + DispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + ScheduleTaskIndex: "u32", + DelayedOrigin: { + delay: "BlockNumber", + origin: "PalletsOrigin", + }, + AuthorityOrigin: "DelayedOrigin", + StorageValue: "Vec", + GraduallyUpdate: { + key: "StorageKey", + targetValue: "StorageValue", + perBlock: "StorageValue", + }, + StorageKeyBytes: "Vec", + StorageValueBytes: "Vec", + RpcDataProviderId: "Text", + DataProviderId: "u8", + TimestampedValue: { + value: "OracleValue", + timestamp: "Moment", + }, + TimestampedValueOf: "TimestampedValue", + OrderedSet: "Vec", + OrmlAccountData: { + free: "Balance", + reserved: "Balance", + frozen: "Balance", + }, + OrmlBalanceLock: { + amount: "Balance", + id: "LockIdentifier", + }, + AuctionInfo: { + bid: "Option<(AccountId, Balance)>", + start: "BlockNumber", + end: "Option", + }, + DelayedDispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + DispatchId: "u32", + Price: "FixedU128", + OrmlVestingSchedule: { + start: "BlockNumber", + period: "BlockNumber", + periodCount: "u32", + perPeriod: "Compact", + }, + VestingScheduleOf: "OrmlVestingSchedule", + OrmlCurrencyId: "CurrencyId", + PoolInfo: { + totalShares: "Compact", + totalRewards: "Compact", + totalWithdrawnRewards: "Compact", + }, + CompactBalance: "Compact", + PoolInfoV0: { + totalShares: "Compact", + totalRewards: "CompactBalance", + totalWithdrawnRewards: "CompactBalance", + }, + Share: "u128", + OracleValue: "Price", + Amount: "i128", + AmountOf: "Amount", + AuctionId: "u32", + AuctionIdOf: "AuctionId", + TokenSymbol: { + _enum: { + ACA: 0, + AUSD: 1, + DOT: 2, + LDOT: 3, + RENBTC: 20, + CASH: 21, + KAR: 128, + KUSD: 129, + KSM: 130, + LKSM: 131, + }, + }, + DexShare: { + _enum: { + Token: "TokenSymbol", + Erc20: "EvmAddress", + }, + }, + CurrencyId: { + _enum: { + Token: "TokenSymbol", + DEXShare: "(DexShare, DexShare)", + ERC20: "EvmAddress", + StableAssetPoolToken: "StableAssetPoolId", + }, + }, + CurrencyIdOf: "CurrencyId", + AirDropCurrencyId: { + _enum: ["KAR", "ACA"], + }, + AuthoritysOriginId: { + _enum: [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve", + ], + }, + AcalaDataProviderId: { + _enum: ["Aggregated", "Acala", "Band"], + }, + TradingPair: "(CurrencyId, CurrencyId)", + ChainBridgeChainId: "u8", + PalletBalanceOf: "Balance", + CollateralAuctionItem: { + refundRecipient: "AccountId", + currencyId: "CurrencyId", + initialAmount: "Compact", + amount: "Compact", + target: "Compact", + startTime: "BlockNumber", + }, + DebitAuctionItem: { + initialAmount: "Compact", + amount: "Compact", + fix: "Compact", + startTime: "BlockNumber", + }, + SurplusAuctionItem: { + amount: "Compact", + startTime: "BlockNumber", + }, + LiquidationStrategy: { + _enum: ["Auction", "Exchange"], + }, + OptionRate: "Option", + OptionRatio: "Option", + ChangeOptionRate: { + _enum: { + NoChange: "Null", + NewValue: "OptionRate", + }, + }, + ChangeOptionRatio: { + _enum: { + NoChange: "Null", + NewValue: "OptionRatio", + }, + }, + ChangeBalance: { + _enum: { + NoChange: "Null", + NewValue: "Balance", + }, + }, + RiskManagementParams: { + maximumTotalDebitValue: "Balance", + interestRatePerSec: "Option", + liquidationRatio: "Option", + liquidationPenalty: "Option", + requiredCollateralRatio: "Option", + }, + CandidateInfoOf: "CandidateInfo", + TradingPairProvisionParameters: { + minContribution: "(Balance, Balance)", + targetProvision: "(Balance, Balance)", + accumulatedProvision: "(Balance, Balance)", + notBefore: "BlockNumber", + }, + BalanceWrapper: { + amount: "Balance", + }, + BalanceRequest: { + amount: "Balance", + }, + TradingPairStatus: { + _enum: { + NotEnabled: "Null", + Provisioning: "TradingPairProvisionParameters", + Enabled: "Null", + }, + }, + Erc20Info: { + address: "EvmAddress", + name: "Vec", + symbol: "Vec", + decimals: "u8", + }, + EstimateResourcesResponse: { + gas: "u256", + storage: "i32", + weightFee: "u256", + }, + EvmAccountInfo: { + nonce: "Index", + contractInfo: "Option", + }, + CodeInfo: { + codeSize: "u32", + refCount: "u32", + }, + EvmContractInfo: { + codeHash: "H256", + maintainer: "H160", + deployed: "bool", + }, + EvmAddress: "H160", + CallRequest: { + from: "Option", + to: "Option", + gasLimit: "Option", + storageLimit: "Option", + value: "Option", + data: "Option", + }, + RedeemStrategy: { + _enum: { + Immediately: "Null", + Target: "EraIndex", + WaitForUnbonding: "Null", + }, + }, + RelaychainAccountId: "AccountId", + SlashInfo: { + validator: "RelaychainAccountId", + relaychainTokenAmount: "Balance", + }, + ValidatorBacking: { + totalInsurance: "Balance", + isFrozen: "bool", + }, + Guarantee: { + total: "Balance", + bonded: "Balance", + unbonding: "Option<(Balance, BlockNumber)>", + }, + PoolId: { + _enum: { + LoansIncentive: "CurrencyId", + DexIncentive: "CurrencyId", + HomaIncentive: "Null", + DexSaving: "CurrencyId", + HomaValidatorAllowance: "AccountId", + }, + }, + PoolIdV0: { + _enum: { + LoansIncentive: "CurrencyId", + DexIncentive: "CurrencyId", + HomaIncentive: "Null", + DexSaving: "CurrencyId", + HomaValidatorAllowance: "AccountId", + }, + }, + Position: { + collateral: "Balance", + debit: "Balance", + }, + CID: "Vec", + Attributes: "BTreeMap, Vec>", + TokenInfoOf: { + metadata: "CID", + owner: "AccountId", + data: "TokenData", + }, + Properties: { + _set: { + _bitLength: 8, + Transferable: 1, + Burnable: 2, + Mintable: 4, + ClassPropertiesMutable: 8, + }, + }, + ClassData: { + deposit: "Balance", + properties: "Properties", + attributes: "Attributes", + }, + TokenData: { + deposit: "Balance", + attributes: "Attributes", + }, + TokenId: "u64", + TokenIdOf: "TokenId", + NFTClassId: "u32", + ClassIdOf: "ClassId", + NFTBalance: "u128", + NFTBalanceOf: "NFTBalance", + ClassInfoOf: { + metadata: "CID", + totalIssuance: "TokenId", + owner: "AccountId", + data: "ClassData", + }, + NomineeId: "AccountId", + HomaUnlockChunk: { + value: "Balance", + era: "EraIndex", + }, + BondingLedger: { + total: "Balance", + active: "Balance", + unlocking: "Vec", + }, + OracleKey: "CurrencyId", + AsOriginId: "AuthoritysOriginId", + ProxyType: { + _enum: [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan", + ], + }, + AtLeast64BitUnsigned: "u128", + StableAssetPoolId: "u32", + RelayChainBlockNumberOf: "RelayChainBlockNumber", + SubAccountStatus: { + bonded: "Balance", + available: "Balance", + unbonding: "Vec<(EraIndex,Balance)>", + mockRewardRate: "Rate", + }, + Params: { + targetMaxFreeUnbondedRatio: "Ratio", + targetMinFreeUnbondedRatio: "Ratio", + targetUnbondingToFreeRatio: "Ratio", + unbondingToFreeAdjustment: "Ratio", + baseFeeRate: "Rate", + }, + StakingPoolPhase: { + _enum: [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished", + ], + }, + Ledger: { + bonded: "Balance", + unbondingToFree: "Balance", + freePool: "Balance", + toUnbondNextEra: "(Balance, Balance)", + }, + ChangeRate: { + _enum: { + NoChange: "Null", + NewValue: "Rate", + }, + }, + ChangeRatio: { + _enum: { + NoChange: "Null", + NewValue: "Ratio", + }, + }, + BalanceInfo: { + amount: "Balance", + }, + PolkadotAccountId: "AccountId", + PolkadotAccountIdOf: "PolkadotAccountId", + ExchangeRate: "FixedU128", + Rate: "FixedU128", + Ratio: "FixedU128", + PublicKey: "[u8; 20]", + DestAddress: "Vec", + PoolTokenIndex: "u32", + AssetId: "CurrencyId", + Keys: "SessionKeys1", + Address: "GenericMultiAddress", + LookupSource: "GenericMultiAddress", + MultiLocation: "MultiLocationV0", + MultiAsset: "MultiAssetV0", + Xcm: "XcmV0", + XcmOrder: "XcmOrderV0", + XcmError: "XcmErrorV0", + Response: "ResponseV0", + }, + }, + { + minmax: [1008, 1009], + types: { + CallOf: "Call", + DispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + ScheduleTaskIndex: "u32", + DelayedOrigin: { + delay: "BlockNumber", + origin: "PalletsOrigin", + }, + AuthorityOrigin: "DelayedOrigin", + StorageValue: "Vec", + GraduallyUpdate: { + key: "StorageKey", + targetValue: "StorageValue", + perBlock: "StorageValue", + }, + StorageKeyBytes: "Vec", + StorageValueBytes: "Vec", + RpcDataProviderId: "Text", + DataProviderId: "u8", + TimestampedValue: { + value: "OracleValue", + timestamp: "Moment", + }, + TimestampedValueOf: "TimestampedValue", + OrderedSet: "Vec", + OrmlAccountData: { + free: "Balance", + reserved: "Balance", + frozen: "Balance", + }, + OrmlBalanceLock: { + amount: "Balance", + id: "LockIdentifier", + }, + AuctionInfo: { + bid: "Option<(AccountId, Balance)>", + start: "BlockNumber", + end: "Option", + }, + DelayedDispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + DispatchId: "u32", + Price: "FixedU128", + OrmlVestingSchedule: { + start: "BlockNumber", + period: "BlockNumber", + periodCount: "u32", + perPeriod: "Compact", + }, + VestingScheduleOf: "OrmlVestingSchedule", + OrmlCurrencyId: "CurrencyId", + PoolInfo: { + totalShares: "Compact", + totalRewards: "Compact", + totalWithdrawnRewards: "Compact", + }, + CompactBalance: "Compact", + PoolInfoV0: { + totalShares: "Compact", + totalRewards: "CompactBalance", + totalWithdrawnRewards: "CompactBalance", + }, + Share: "u128", + OracleValue: "Price", + Amount: "i128", + AmountOf: "Amount", + AuctionId: "u32", + AuctionIdOf: "AuctionId", + TokenSymbol: { + _enum: { + ACA: 0, + AUSD: 1, + DOT: 2, + LDOT: 3, + RENBTC: 20, + CASH: 21, + KAR: 128, + KUSD: 129, + KSM: 130, + LKSM: 131, + BNC: 168, + VSKSM: 169, + }, + }, + DexShare: { + _enum: { + Token: "TokenSymbol", + Erc20: "EvmAddress", + }, + }, + CurrencyId: { + _enum: { + Token: "TokenSymbol", + DEXShare: "(DexShare, DexShare)", + ERC20: "EvmAddress", + StableAssetPoolToken: "StableAssetPoolId", + }, + }, + CurrencyIdOf: "CurrencyId", + AirDropCurrencyId: { + _enum: ["KAR", "ACA"], + }, + AuthoritysOriginId: { + _enum: [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve", + ], + }, + AcalaDataProviderId: { + _enum: ["Aggregated", "Acala", "Band"], + }, + TradingPair: "(CurrencyId, CurrencyId)", + ChainBridgeChainId: "u8", + PalletBalanceOf: "Balance", + CollateralAuctionItem: { + refundRecipient: "AccountId", + currencyId: "CurrencyId", + initialAmount: "Compact", + amount: "Compact", + target: "Compact", + startTime: "BlockNumber", + }, + DebitAuctionItem: { + initialAmount: "Compact", + amount: "Compact", + fix: "Compact", + startTime: "BlockNumber", + }, + SurplusAuctionItem: { + amount: "Compact", + startTime: "BlockNumber", + }, + LiquidationStrategy: { + _enum: ["Auction", "Exchange"], + }, + OptionRate: "Option", + OptionRatio: "Option", + ChangeOptionRate: { + _enum: { + NoChange: "Null", + NewValue: "OptionRate", + }, + }, + ChangeOptionRatio: { + _enum: { + NoChange: "Null", + NewValue: "OptionRatio", + }, + }, + ChangeBalance: { + _enum: { + NoChange: "Null", + NewValue: "Balance", + }, + }, + RiskManagementParams: { + maximumTotalDebitValue: "Balance", + interestRatePerSec: "Option", + liquidationRatio: "Option", + liquidationPenalty: "Option", + requiredCollateralRatio: "Option", + }, + CandidateInfoOf: "CandidateInfo", + TradingPairProvisionParameters: { + minContribution: "(Balance, Balance)", + targetProvision: "(Balance, Balance)", + accumulatedProvision: "(Balance, Balance)", + notBefore: "BlockNumber", + }, + BalanceWrapper: { + amount: "Balance", + }, + BalanceRequest: { + amount: "Balance", + }, + TradingPairStatus: { + _enum: { + NotEnabled: "Null", + Provisioning: "TradingPairProvisionParameters", + Enabled: "Null", + }, + }, + Erc20Info: { + address: "EvmAddress", + name: "Vec", + symbol: "Vec", + decimals: "u8", + }, + EstimateResourcesResponse: { + gas: "u256", + storage: "i32", + weightFee: "u256", + }, + EvmAccountInfo: { + nonce: "Index", + contractInfo: "Option", + }, + CodeInfo: { + codeSize: "u32", + refCount: "u32", + }, + EvmContractInfo: { + codeHash: "H256", + maintainer: "H160", + deployed: "bool", + }, + EvmAddress: "H160", + CallRequest: { + from: "Option", + to: "Option", + gasLimit: "Option", + storageLimit: "Option", + value: "Option", + data: "Option", + }, + RedeemStrategy: { + _enum: { + Immediately: "Null", + Target: "EraIndex", + WaitForUnbonding: "Null", + }, + }, + RelaychainAccountId: "AccountId", + SlashInfo: { + validator: "RelaychainAccountId", + relaychainTokenAmount: "Balance", + }, + ValidatorBacking: { + totalInsurance: "Balance", + isFrozen: "bool", + }, + Guarantee: { + total: "Balance", + bonded: "Balance", + unbonding: "Option<(Balance, BlockNumber)>", + }, + PoolId: { + _enum: { + LoansIncentive: "CurrencyId", + DexIncentive: "CurrencyId", + HomaIncentive: "Null", + DexSaving: "CurrencyId", + HomaValidatorAllowance: "AccountId", + }, + }, + PoolIdV0: { + _enum: { + LoansIncentive: "CurrencyId", + DexIncentive: "CurrencyId", + HomaIncentive: "Null", + DexSaving: "CurrencyId", + HomaValidatorAllowance: "AccountId", + }, + }, + Position: { + collateral: "Balance", + debit: "Balance", + }, + CID: "Vec", + Attributes: "BTreeMap, Vec>", + TokenInfoOf: { + metadata: "CID", + owner: "AccountId", + data: "TokenData", + }, + Properties: { + _set: { + _bitLength: 8, + Transferable: 1, + Burnable: 2, + Mintable: 4, + ClassPropertiesMutable: 8, + }, + }, + ClassData: { + deposit: "Balance", + properties: "Properties", + attributes: "Attributes", + }, + TokenData: { + deposit: "Balance", + attributes: "Attributes", + }, + TokenId: "u64", + TokenIdOf: "TokenId", + NFTClassId: "u32", + ClassIdOf: "ClassId", + NFTBalance: "u128", + NFTBalanceOf: "NFTBalance", + ClassInfoOf: { + metadata: "CID", + totalIssuance: "TokenId", + owner: "AccountId", + data: "ClassData", + }, + NomineeId: "AccountId", + HomaUnlockChunk: { + value: "Balance", + era: "EraIndex", + }, + BondingLedger: { + total: "Balance", + active: "Balance", + unlocking: "Vec", + }, + OracleKey: "CurrencyId", + AsOriginId: "AuthoritysOriginId", + ProxyType: { + _enum: [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan", + ], + }, + AtLeast64BitUnsigned: "u128", + StableAssetPoolId: "u32", + RelayChainBlockNumberOf: "RelayChainBlockNumber", + SubAccountStatus: { + bonded: "Balance", + available: "Balance", + unbonding: "Vec<(EraIndex,Balance)>", + mockRewardRate: "Rate", + }, + Params: { + targetMaxFreeUnbondedRatio: "Ratio", + targetMinFreeUnbondedRatio: "Ratio", + targetUnbondingToFreeRatio: "Ratio", + unbondingToFreeAdjustment: "Ratio", + baseFeeRate: "Rate", + }, + StakingPoolPhase: { + _enum: [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished", + ], + }, + Ledger: { + bonded: "Balance", + unbondingToFree: "Balance", + freePool: "Balance", + toUnbondNextEra: "(Balance, Balance)", + }, + ChangeRate: { + _enum: { + NoChange: "Null", + NewValue: "Rate", + }, + }, + ChangeRatio: { + _enum: { + NoChange: "Null", + NewValue: "Ratio", + }, + }, + BalanceInfo: { + amount: "Balance", + }, + PolkadotAccountId: "AccountId", + PolkadotAccountIdOf: "PolkadotAccountId", + ExchangeRate: "FixedU128", + Rate: "FixedU128", + Ratio: "FixedU128", + PublicKey: "[u8; 20]", + DestAddress: "Vec", + PoolTokenIndex: "u32", + AssetId: "CurrencyId", + Keys: "SessionKeys1", + Address: "GenericMultiAddress", + LookupSource: "GenericMultiAddress", + MultiLocation: "MultiLocationV0", + MultiAsset: "MultiAssetV0", + Xcm: "XcmV0", + XcmOrder: "XcmOrderV0", + XcmError: "XcmErrorV0", + Response: "ResponseV0", + }, + }, + { + minmax: [1010, 1013], + types: { + CallOf: "Call", + DispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + ScheduleTaskIndex: "u32", + DelayedOrigin: { + delay: "BlockNumber", + origin: "PalletsOrigin", + }, + AuthorityOrigin: "DelayedOrigin", + StorageValue: "Vec", + GraduallyUpdate: { + key: "StorageKey", + targetValue: "StorageValue", + perBlock: "StorageValue", + }, + StorageKeyBytes: "Vec", + StorageValueBytes: "Vec", + RpcDataProviderId: "Text", + DataProviderId: "u8", + TimestampedValue: { + value: "OracleValue", + timestamp: "Moment", + }, + TimestampedValueOf: "TimestampedValue", + OrderedSet: "Vec", + OrmlAccountData: { + free: "Balance", + reserved: "Balance", + frozen: "Balance", + }, + OrmlBalanceLock: { + amount: "Balance", + id: "LockIdentifier", + }, + AuctionInfo: { + bid: "Option<(AccountId, Balance)>", + start: "BlockNumber", + end: "Option", + }, + DelayedDispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + DispatchId: "u32", + Price: "FixedU128", + OrmlVestingSchedule: { + start: "BlockNumber", + period: "BlockNumber", + periodCount: "u32", + perPeriod: "Compact", + }, + VestingScheduleOf: "OrmlVestingSchedule", + OrmlCurrencyId: "CurrencyId", + PoolInfo: { + totalShares: "Share", + rewards: "BTreeMap", + }, + CompactBalance: "Compact", + PoolInfoV0: { + totalShares: "Compact", + totalRewards: "CompactBalance", + totalWithdrawnRewards: "CompactBalance", + }, + Share: "u128", + OracleValue: "Price", + Amount: "i128", + AmountOf: "Amount", + AuctionId: "u32", + AuctionIdOf: "AuctionId", + TokenSymbol: { + _enum: { + ACA: 0, + AUSD: 1, + DOT: 2, + LDOT: 3, + RENBTC: 20, + CASH: 21, + KAR: 128, + KUSD: 129, + KSM: 130, + LKSM: 131, + BNC: 168, + VSKSM: 169, + }, + }, + DexShare: { + _enum: { + Token: "TokenSymbol", + Erc20: "EvmAddress", + }, + }, + CurrencyId: { + _enum: { + Token: "TokenSymbol", + DEXShare: "(DexShare, DexShare)", + ERC20: "EvmAddress", + StableAssetPoolToken: "StableAssetPoolId", + }, + }, + CurrencyIdOf: "CurrencyId", + AirDropCurrencyId: { + _enum: ["KAR", "ACA"], + }, + AuthoritysOriginId: { + _enum: [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve", + ], + }, + AcalaDataProviderId: { + _enum: ["Aggregated", "Acala", "Band"], + }, + TradingPair: "(CurrencyId, CurrencyId)", + ChainBridgeChainId: "u8", + PalletBalanceOf: "Balance", + CollateralAuctionItem: { + refundRecipient: "AccountId", + currencyId: "CurrencyId", + initialAmount: "Compact", + amount: "Compact", + target: "Compact", + startTime: "BlockNumber", + }, + DebitAuctionItem: { + initialAmount: "Compact", + amount: "Compact", + fix: "Compact", + startTime: "BlockNumber", + }, + SurplusAuctionItem: { + amount: "Compact", + startTime: "BlockNumber", + }, + LiquidationStrategy: { + _enum: ["Auction", "Exchange"], + }, + OptionRate: "Option", + OptionRatio: "Option", + ChangeOptionRate: { + _enum: { + NoChange: "Null", + NewValue: "OptionRate", + }, + }, + ChangeOptionRatio: { + _enum: { + NoChange: "Null", + NewValue: "OptionRatio", + }, + }, + ChangeBalance: { + _enum: { + NoChange: "Null", + NewValue: "Balance", + }, + }, + RiskManagementParams: { + maximumTotalDebitValue: "Balance", + interestRatePerSec: "Option", + liquidationRatio: "Option", + liquidationPenalty: "Option", + requiredCollateralRatio: "Option", + }, + CandidateInfoOf: "CandidateInfo", + TradingPairProvisionParameters: { + minContribution: "(Balance, Balance)", + targetProvision: "(Balance, Balance)", + accumulatedProvision: "(Balance, Balance)", + notBefore: "BlockNumber", + }, + BalanceWrapper: { + amount: "Balance", + }, + BalanceRequest: { + amount: "Balance", + }, + TradingPairStatus: { + _enum: { + NotEnabled: "Null", + Provisioning: "TradingPairProvisionParameters", + Enabled: "Null", + }, + }, + Erc20Info: { + address: "EvmAddress", + name: "Vec", + symbol: "Vec", + decimals: "u8", + }, + EstimateResourcesResponse: { + gas: "u256", + storage: "i32", + weightFee: "u256", + }, + EvmAccountInfo: { + nonce: "Index", + contractInfo: "Option", + }, + CodeInfo: { + codeSize: "u32", + refCount: "u32", + }, + EvmContractInfo: { + codeHash: "H256", + maintainer: "H160", + deployed: "bool", + }, + EvmAddress: "H160", + CallRequest: { + from: "Option", + to: "Option", + gasLimit: "Option", + storageLimit: "Option", + value: "Option", + data: "Option", + }, + RedeemStrategy: { + _enum: { + Immediately: "Null", + Target: "EraIndex", + WaitForUnbonding: "Null", + }, + }, + RelaychainAccountId: "AccountId", + SlashInfo: { + validator: "RelaychainAccountId", + relaychainTokenAmount: "Balance", + }, + ValidatorBacking: { + totalInsurance: "Balance", + isFrozen: "bool", + }, + Guarantee: { + total: "Balance", + bonded: "Balance", + unbonding: "Option<(Balance, BlockNumber)>", + }, + PoolId: { + _enum: { + Loans: "CurrencyId", + Dex: "CurrencyId", + }, + }, + PoolIdV0: { + _enum: { + LoansIncentive: "CurrencyId", + DexIncentive: "CurrencyId", + HomaIncentive: "Null", + DexSaving: "CurrencyId", + HomaValidatorAllowance: "AccountId", + }, + }, + Position: { + collateral: "Balance", + debit: "Balance", + }, + CID: "Vec", + Attributes: "BTreeMap, Vec>", + TokenInfoOf: { + metadata: "CID", + owner: "AccountId", + data: "TokenData", + }, + Properties: { + _set: { + _bitLength: 8, + Transferable: 1, + Burnable: 2, + Mintable: 4, + ClassPropertiesMutable: 8, + }, + }, + ClassData: { + deposit: "Balance", + properties: "Properties", + attributes: "Attributes", + }, + TokenData: { + deposit: "Balance", + attributes: "Attributes", + }, + TokenId: "u64", + TokenIdOf: "TokenId", + NFTClassId: "u32", + ClassIdOf: "ClassId", + NFTBalance: "u128", + NFTBalanceOf: "NFTBalance", + ClassInfoOf: { + metadata: "CID", + totalIssuance: "TokenId", + owner: "AccountId", + data: "ClassData", + }, + NomineeId: "AccountId", + HomaUnlockChunk: { + value: "Balance", + era: "EraIndex", + }, + BondingLedger: { + total: "Balance", + active: "Balance", + unlocking: "Vec", + }, + OracleKey: "CurrencyId", + AsOriginId: "AuthoritysOriginId", + ProxyType: { + _enum: [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan", + ], + }, + AtLeast64BitUnsigned: "u128", + StableAssetPoolId: "u32", + RelayChainBlockNumberOf: "RelayChainBlockNumber", + SubAccountStatus: { + bonded: "Balance", + available: "Balance", + unbonding: "Vec<(EraIndex,Balance)>", + mockRewardRate: "Rate", + }, + Params: { + targetMaxFreeUnbondedRatio: "Ratio", + targetMinFreeUnbondedRatio: "Ratio", + targetUnbondingToFreeRatio: "Ratio", + unbondingToFreeAdjustment: "Ratio", + baseFeeRate: "Rate", + }, + StakingPoolPhase: { + _enum: [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished", + ], + }, + Ledger: { + bonded: "Balance", + unbondingToFree: "Balance", + freePool: "Balance", + toUnbondNextEra: "(Balance, Balance)", + }, + ChangeRate: { + _enum: { + NoChange: "Null", + NewValue: "Rate", + }, + }, + ChangeRatio: { + _enum: { + NoChange: "Null", + NewValue: "Ratio", + }, + }, + BalanceInfo: { + amount: "Balance", + }, + PolkadotAccountId: "AccountId", + PolkadotAccountIdOf: "PolkadotAccountId", + ExchangeRate: "FixedU128", + Rate: "FixedU128", + Ratio: "FixedU128", + PublicKey: "[u8; 20]", + DestAddress: "Vec", + PoolTokenIndex: "u32", + AssetId: "CurrencyId", + Keys: "SessionKeys1", + Address: "GenericMultiAddress", + LookupSource: "GenericMultiAddress", + MultiLocation: "MultiLocationV0", + MultiAsset: "MultiAssetV0", + Xcm: "XcmV0", + XcmOrder: "XcmOrderV0", + XcmError: "XcmErrorV0", + Response: "ResponseV0", + }, + }, + { + minmax: [1014, 1018], + types: { + CallOf: "Call", + DispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + ScheduleTaskIndex: "u32", + DelayedOrigin: { + delay: "BlockNumber", + origin: "PalletsOrigin", + }, + AuthorityOrigin: "DelayedOrigin", + StorageValue: "Vec", + GraduallyUpdate: { + key: "StorageKey", + targetValue: "StorageValue", + perBlock: "StorageValue", + }, + StorageKeyBytes: "Vec", + StorageValueBytes: "Vec", + RpcDataProviderId: "Text", + DataProviderId: "u8", + TimestampedValue: { + value: "OracleValue", + timestamp: "Moment", + }, + TimestampedValueOf: "TimestampedValue", + OrderedSet: "Vec", + OrmlAccountData: { + free: "Balance", + reserved: "Balance", + frozen: "Balance", + }, + OrmlBalanceLock: { + amount: "Balance", + id: "LockIdentifier", + }, + AuctionInfo: { + bid: "Option<(AccountId, Balance)>", + start: "BlockNumber", + end: "Option", + }, + DelayedDispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + DispatchId: "u32", + Price: "FixedU128", + OrmlVestingSchedule: { + start: "BlockNumber", + period: "BlockNumber", + periodCount: "u32", + perPeriod: "Compact", + }, + VestingScheduleOf: "OrmlVestingSchedule", + OrmlCurrencyId: "CurrencyId", + PoolInfo: { + totalShares: "Share", + rewards: "BTreeMap", + }, + CompactBalance: "Compact", + PoolInfoV0: { + totalShares: "Compact", + totalRewards: "CompactBalance", + totalWithdrawnRewards: "CompactBalance", + }, + Share: "u128", + OracleValue: "Price", + Amount: "i128", + AmountOf: "Amount", + AuctionId: "u32", + AuctionIdOf: "AuctionId", + TokenSymbol: { + _enum: { + ACA: 0, + AUSD: 1, + DOT: 2, + LDOT: 3, + RENBTC: 20, + CASH: 21, + KAR: 128, + KUSD: 129, + KSM: 130, + LKSM: 131, + BNC: 168, + VSKSM: 169, + }, + }, + DexShare: { + _enum: { + Token: "TokenSymbol", + Erc20: "EvmAddress", + }, + }, + CurrencyId: { + _enum: { + Token: "TokenSymbol", + DEXShare: "(DexShare, DexShare)", + ERC20: "EvmAddress", + StableAssetPoolToken: "StableAssetPoolId", + }, + }, + CurrencyIdOf: "CurrencyId", + AirDropCurrencyId: { + _enum: ["KAR", "ACA"], + }, + AuthoritysOriginId: { + _enum: [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve", + ], + }, + AcalaDataProviderId: { + _enum: ["Aggregated", "Acala", "Band"], + }, + TradingPair: "(CurrencyId, CurrencyId)", + ChainBridgeChainId: "u8", + PalletBalanceOf: "Balance", + CollateralAuctionItem: { + refundRecipient: "AccountId", + currencyId: "CurrencyId", + initialAmount: "Compact", + amount: "Compact", + target: "Compact", + startTime: "BlockNumber", + }, + DebitAuctionItem: { + initialAmount: "Compact", + amount: "Compact", + fix: "Compact", + startTime: "BlockNumber", + }, + SurplusAuctionItem: { + amount: "Compact", + startTime: "BlockNumber", + }, + LiquidationStrategy: { + _enum: ["Auction", "Exchange"], + }, + OptionRate: "Option", + OptionRatio: "Option", + ChangeOptionRate: { + _enum: { + NoChange: "Null", + NewValue: "OptionRate", + }, + }, + ChangeOptionRatio: { + _enum: { + NoChange: "Null", + NewValue: "OptionRatio", + }, + }, + ChangeBalance: { + _enum: { + NoChange: "Null", + NewValue: "Balance", + }, + }, + RiskManagementParams: { + maximumTotalDebitValue: "Balance", + interestRatePerSec: "Option", + liquidationRatio: "Option", + liquidationPenalty: "Option", + requiredCollateralRatio: "Option", + }, + CandidateInfoOf: "CandidateInfo", + TradingPairProvisionParameters: { + minContribution: "(Balance, Balance)", + targetProvision: "(Balance, Balance)", + accumulatedProvision: "(Balance, Balance)", + notBefore: "BlockNumber", + }, + BalanceWrapper: { + amount: "Balance", + }, + BalanceRequest: { + amount: "Balance", + }, + TradingPairStatus: { + _enum: { + NotEnabled: "Null", + Provisioning: "TradingPairProvisionParameters", + Enabled: "Null", + }, + }, + Erc20Info: { + address: "EvmAddress", + name: "Vec", + symbol: "Vec", + decimals: "u8", + }, + EstimateResourcesResponse: { + gas: "u256", + storage: "i32", + weightFee: "u256", + }, + EvmAccountInfo: { + nonce: "Index", + contractInfo: "Option", + }, + CodeInfo: { + codeSize: "u32", + refCount: "u32", + }, + EvmContractInfo: { + codeHash: "H256", + maintainer: "H160", + deployed: "bool", + }, + EvmAddress: "H160", + CallRequest: { + from: "Option", + to: "Option", + gasLimit: "Option", + storageLimit: "Option", + value: "Option", + data: "Option", + }, + RedeemStrategy: { + _enum: { + Immediately: "Null", + Target: "EraIndex", + WaitForUnbonding: "Null", + }, + }, + RelaychainAccountId: "AccountId", + SlashInfo: { + validator: "RelaychainAccountId", + relaychainTokenAmount: "Balance", + }, + ValidatorBacking: { + totalInsurance: "Balance", + isFrozen: "bool", + }, + Guarantee: { + total: "Balance", + bonded: "Balance", + unbonding: "Option<(Balance, BlockNumber)>", + }, + PoolId: { + _enum: { + Loans: "CurrencyId", + Dex: "CurrencyId", + }, + }, + PoolIdV0: { + _enum: { + LoansIncentive: "CurrencyId", + DexIncentive: "CurrencyId", + HomaIncentive: "Null", + DexSaving: "CurrencyId", + HomaValidatorAllowance: "AccountId", + }, + }, + Position: { + collateral: "Balance", + debit: "Balance", + }, + CID: "Vec", + Attributes: "BTreeMap, Vec>", + TokenInfoOf: { + metadata: "CID", + owner: "AccountId", + data: "TokenData", + }, + Properties: { + _set: { + _bitLength: 8, + Transferable: 1, + Burnable: 2, + Mintable: 4, + ClassPropertiesMutable: 8, + }, + }, + ClassData: { + deposit: "Balance", + properties: "Properties", + attributes: "Attributes", + }, + TokenData: { + deposit: "Balance", + attributes: "Attributes", + }, + TokenId: "u64", + TokenIdOf: "TokenId", + NFTClassId: "u32", + ClassIdOf: "ClassId", + NFTBalance: "u128", + NFTBalanceOf: "NFTBalance", + ClassInfoOf: { + metadata: "CID", + totalIssuance: "TokenId", + owner: "AccountId", + data: "ClassData", + }, + NomineeId: "AccountId", + HomaUnlockChunk: { + value: "Balance", + era: "EraIndex", + }, + BondingLedger: { + total: "Balance", + active: "Balance", + unlocking: "Vec", + }, + OracleKey: "CurrencyId", + AsOriginId: "AuthoritysOriginId", + ProxyType: { + _enum: [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan", + ], + }, + AtLeast64BitUnsigned: "u128", + StableAssetPoolId: "u32", + RelayChainBlockNumberOf: "RelayChainBlockNumber", + SubAccountStatus: { + bonded: "Balance", + available: "Balance", + unbonding: "Vec<(EraIndex,Balance)>", + mockRewardRate: "Rate", + }, + Params: { + targetMaxFreeUnbondedRatio: "Ratio", + targetMinFreeUnbondedRatio: "Ratio", + targetUnbondingToFreeRatio: "Ratio", + unbondingToFreeAdjustment: "Ratio", + baseFeeRate: "Rate", + }, + StakingPoolPhase: { + _enum: [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished", + ], + }, + Ledger: { + bonded: "Balance", + unbondingToFree: "Balance", + freePool: "Balance", + toUnbondNextEra: "(Balance, Balance)", + }, + ChangeRate: { + _enum: { + NoChange: "Null", + NewValue: "Rate", + }, + }, + ChangeRatio: { + _enum: { + NoChange: "Null", + NewValue: "Ratio", + }, + }, + BalanceInfo: { + amount: "Balance", + }, + PolkadotAccountId: "AccountId", + PolkadotAccountIdOf: "PolkadotAccountId", + ExchangeRate: "FixedU128", + Rate: "FixedU128", + Ratio: "FixedU128", + PublicKey: "[u8; 20]", + DestAddress: "Vec", + PoolTokenIndex: "u32", + AssetId: "CurrencyId", + Keys: "SessionKeys1", + Address: "GenericMultiAddress", + LookupSource: "GenericMultiAddress", + MultiLocation: "MultiLocationV1", + MultiAsset: "MultiAssetV1", + Xcm: "XcmV1", + XcmOrder: "XcmOrderV1", + XcmError: "XcmErrorV1", + Response: "ResponseV1", + }, + }, + { + minmax: [1019, null], + types: { + CallOf: "Call", + DispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + ScheduleTaskIndex: "u32", + DelayedOrigin: { + delay: "BlockNumber", + origin: "PalletsOrigin", + }, + AuthorityOrigin: "DelayedOrigin", + StorageValue: "Vec", + GraduallyUpdate: { + key: "StorageKey", + targetValue: "StorageValue", + perBlock: "StorageValue", + }, + StorageKeyBytes: "Vec", + StorageValueBytes: "Vec", + RpcDataProviderId: "Text", + DataProviderId: "u8", + TimestampedValue: { + value: "OracleValue", + timestamp: "Moment", + }, + TimestampedValueOf: "TimestampedValue", + OrderedSet: "Vec", + OrmlAccountData: { + free: "Balance", + reserved: "Balance", + frozen: "Balance", + }, + OrmlBalanceLock: { + amount: "Balance", + id: "LockIdentifier", + }, + AuctionInfo: { + bid: "Option<(AccountId, Balance)>", + start: "BlockNumber", + end: "Option", + }, + DelayedDispatchTime: { + _enum: { + At: "BlockNumber", + After: "BlockNumber", + }, + }, + DispatchId: "u32", + Price: "FixedU128", + OrmlVestingSchedule: { + start: "BlockNumber", + period: "BlockNumber", + periodCount: "u32", + perPeriod: "Compact", + }, + VestingScheduleOf: "OrmlVestingSchedule", + OrmlCurrencyId: "CurrencyId", + PoolInfo: { + totalShares: "Share", + rewards: "BTreeMap", + }, + CompactBalance: "Compact", + PoolInfoV0: { + totalShares: "Compact", + totalRewards: "CompactBalance", + totalWithdrawnRewards: "CompactBalance", + }, + Share: "u128", + OracleValue: "Price", + Amount: "i128", + AmountOf: "Amount", + AuctionId: "u32", + AuctionIdOf: "AuctionId", + TokenSymbol: { + _enum: { + ACA: 0, + AUSD: 1, + DOT: 2, + LDOT: 3, + RENBTC: 20, + CASH: 21, + KAR: 128, + KUSD: 129, + KSM: 130, + LKSM: 131, + BNC: 168, + VSKSM: 169, + }, + }, + DexShare: { + _enum: { + Token: "TokenSymbol", + Erc20: "EvmAddress", + }, + }, + CurrencyId: { + _enum: { + Token: "TokenSymbol", + DEXShare: "(DexShare, DexShare)", + ERC20: "EvmAddress", + StableAssetPoolToken: "StableAssetPoolId", + }, + }, + CurrencyIdOf: "CurrencyId", + AirDropCurrencyId: { + _enum: ["KAR", "ACA"], + }, + AuthoritysOriginId: { + _enum: [ + "Root", + "Treasury", + "HonzonTreasury", + "HomaTreasury", + "TreasuryReserve", + ], + }, + AcalaDataProviderId: { + _enum: ["Aggregated", "Acala", "Band"], + }, + TradingPair: "(CurrencyId, CurrencyId)", + ChainBridgeChainId: "u8", + PalletBalanceOf: "Balance", + CollateralAuctionItem: { + refundRecipient: "AccountId", + currencyId: "CurrencyId", + initialAmount: "Compact", + amount: "Compact", + target: "Compact", + startTime: "BlockNumber", + }, + DebitAuctionItem: { + initialAmount: "Compact", + amount: "Compact", + fix: "Compact", + startTime: "BlockNumber", + }, + SurplusAuctionItem: { + amount: "Compact", + startTime: "BlockNumber", + }, + LiquidationStrategy: { + _enum: ["Auction", "Exchange"], + }, + OptionRate: "Option", + OptionRatio: "Option", + ChangeOptionRate: { + _enum: { + NoChange: "Null", + NewValue: "OptionRate", + }, + }, + ChangeOptionRatio: { + _enum: { + NoChange: "Null", + NewValue: "OptionRatio", + }, + }, + ChangeBalance: { + _enum: { + NoChange: "Null", + NewValue: "Balance", + }, + }, + RiskManagementParams: { + maximumTotalDebitValue: "Balance", + interestRatePerSec: "Option", + liquidationRatio: "Option", + liquidationPenalty: "Option", + requiredCollateralRatio: "Option", + }, + CandidateInfoOf: "CandidateInfo", + TradingPairProvisionParameters: { + minContribution: "(Balance, Balance)", + targetProvision: "(Balance, Balance)", + accumulatedProvision: "(Balance, Balance)", + notBefore: "BlockNumber", + }, + BalanceWrapper: { + amount: "Balance", + }, + BalanceRequest: { + amount: "Balance", + }, + TradingPairStatus: { + _enum: { + NotEnabled: "Null", + Provisioning: "TradingPairProvisionParameters", + Enabled: "Null", + }, + }, + Erc20Info: { + address: "EvmAddress", + name: "Vec", + symbol: "Vec", + decimals: "u8", + }, + EstimateResourcesResponse: { + gas: "u256", + storage: "i32", + weightFee: "u256", + }, + EvmAccountInfo: { + nonce: "Index", + contractInfo: "Option", + }, + CodeInfo: { + codeSize: "u32", + refCount: "u32", + }, + EvmContractInfo: { + codeHash: "H256", + maintainer: "H160", + deployed: "bool", + }, + EvmAddress: "H160", + CallRequest: { + from: "Option", + to: "Option", + gasLimit: "Option", + storageLimit: "Option", + value: "Option", + data: "Option", + }, + RedeemStrategy: { + _enum: { + Immediately: "Null", + Target: "EraIndex", + WaitForUnbonding: "Null", + }, + }, + RelaychainAccountId: "AccountId", + SlashInfo: { + validator: "RelaychainAccountId", + relaychainTokenAmount: "Balance", + }, + ValidatorBacking: { + totalInsurance: "Balance", + isFrozen: "bool", + }, + Guarantee: { + total: "Balance", + bonded: "Balance", + unbonding: "Option<(Balance, BlockNumber)>", + }, + PoolId: { + _enum: { + Loans: "CurrencyId", + Dex: "CurrencyId", + }, + }, + PoolIdV0: { + _enum: { + LoansIncentive: "CurrencyId", + DexIncentive: "CurrencyId", + HomaIncentive: "Null", + DexSaving: "CurrencyId", + HomaValidatorAllowance: "AccountId", + }, + }, + Position: { + collateral: "Balance", + debit: "Balance", + }, + CID: "Vec", + Attributes: "BTreeMap, Vec>", + TokenInfoOf: { + metadata: "CID", + owner: "AccountId", + data: "TokenData", + }, + Properties: { + _set: { + _bitLength: 8, + Transferable: 1, + Burnable: 2, + Mintable: 4, + ClassPropertiesMutable: 8, + }, + }, + ClassData: { + deposit: "Balance", + properties: "Properties", + attributes: "Attributes", + }, + TokenData: { + deposit: "Balance", + attributes: "Attributes", + }, + TokenId: "u64", + TokenIdOf: "TokenId", + NFTClassId: "u32", + ClassIdOf: "ClassId", + NFTBalance: "u128", + NFTBalanceOf: "NFTBalance", + ClassInfoOf: { + metadata: "CID", + totalIssuance: "TokenId", + owner: "AccountId", + data: "ClassData", + }, + NomineeId: "AccountId", + HomaUnlockChunk: { + value: "Balance", + era: "EraIndex", + }, + BondingLedger: { + total: "Balance", + active: "Balance", + unlocking: "Vec", + }, + OracleKey: "CurrencyId", + AsOriginId: "AuthoritysOriginId", + ProxyType: { + _enum: [ + "Any", + "CancelProxy", + "Governance", + "Auction", + "Swap", + "Loan", + ], + }, + AtLeast64BitUnsigned: "u128", + StableAssetPoolId: "u32", + RelayChainBlockNumberOf: "RelayChainBlockNumber", + SubAccountStatus: { + bonded: "Balance", + available: "Balance", + unbonding: "Vec<(EraIndex,Balance)>", + mockRewardRate: "Rate", + }, + Params: { + targetMaxFreeUnbondedRatio: "Ratio", + targetMinFreeUnbondedRatio: "Ratio", + targetUnbondingToFreeRatio: "Ratio", + unbondingToFreeAdjustment: "Ratio", + baseFeeRate: "Rate", + }, + StakingPoolPhase: { + _enum: [ + "Started", + "RelaychainUpdated", + "LedgerUpdated", + "Finished", + ], + }, + Ledger: { + bonded: "Balance", + unbondingToFree: "Balance", + freePool: "Balance", + toUnbondNextEra: "(Balance, Balance)", + }, + ChangeRate: { + _enum: { + NoChange: "Null", + NewValue: "Rate", + }, + }, + ChangeRatio: { + _enum: { + NoChange: "Null", + NewValue: "Ratio", + }, + }, + BalanceInfo: { + amount: "Balance", + }, + PolkadotAccountId: "AccountId", + PolkadotAccountIdOf: "PolkadotAccountId", + ExchangeRate: "FixedU128", + Rate: "FixedU128", + Ratio: "FixedU128", + PublicKey: "[u8; 20]", + DestAddress: "Vec", + PoolTokenIndex: "u32", + AssetId: "CurrencyId", + Keys: "SessionKeys1", + Address: "GenericMultiAddress", + LookupSource: "GenericMultiAddress", + }, + }, + ], + alias: { + stakingPool: { + Phase: "StakingPoolPhase", + }, + nomineesElection: { + UnlockChunk: "HomaUnlockChunk", + }, + evm: { + AccountInfo: "EvmAccountInfo", + ContractInfo: "EvmContractInfo", + }, + rewards: { + OrmlCurrencyId: "CurrencyId", + }, + oracle: { + DataProviderId: "AcalaDataProviderId", + }, + chainBridge: { + ChainId: "ChainBridgeChainId", + }, + tokens: { + AccountData: "OrmlAccountData", + BalanceLock: "OrmlBalanceLock", }, }, }, }, - }; \ No newline at end of file + }, +}; diff --git a/chainTypes/khalaChaintypes.ts b/chainTypes/khalaChaintypes.ts index 3a0697b9..9a3be4fe 100644 --- a/chainTypes/khalaChaintypes.ts +++ b/chainTypes/khalaChaintypes.ts @@ -1,14 +1,14 @@ -import type { OverrideBundleType } from '@polkadot/types/types'; -import { versionedKhala } from '@phala/typedefs'; +import type { OverrideBundleType } from "@polkadot/types/types"; +import { versionedKhala } from "@phala/typedefs"; const typesBundle: OverrideBundleType = { spec: { khala: { - types: versionedKhala + types: versionedKhala, }, }, -} +}; export default { - typesBundle -}; \ No newline at end of file + typesBundle, +}; diff --git a/chainTypes/kiltChaintypes.ts b/chainTypes/kiltChaintypes.ts index b108eaa3..d9f08574 100644 --- a/chainTypes/kiltChaintypes.ts +++ b/chainTypes/kiltChaintypes.ts @@ -6,9 +6,9 @@ export default { }, typesBundle: { spec: { - 'mashnet-node': typeBundleForPolkadot, + "mashnet-node": typeBundleForPolkadot, "kilt-spiritnet": typeBundleForPolkadot, "kilt-parachain": typeBundleForPolkadot, }, }, -}; \ No newline at end of file +}; diff --git a/chainTypes/kintsugiChaintypes.ts b/chainTypes/kintsugiChaintypes.ts index c6d2a203..04c1fccc 100644 --- a/chainTypes/kintsugiChaintypes.ts +++ b/chainTypes/kintsugiChaintypes.ts @@ -20,4 +20,4 @@ const typesBundle: OverrideBundleType = { export default { typesBundle, -}; \ No newline at end of file +}; diff --git a/chainTypes/krestChaintypes.ts b/chainTypes/krestChaintypes.ts index d7447121..3bc30e37 100644 --- a/chainTypes/krestChaintypes.ts +++ b/chainTypes/krestChaintypes.ts @@ -1,9 +1,11 @@ // "Adapted from https://github.com/polkadot-js/apps/blob/master/packages/apps-config/src/api/spec/peaq.ts -import type { OverrideBundleDefinition } from '@polkadot/types/types'; +import type { OverrideBundleDefinition } from "@polkadot/types/types"; -import { typesBundleForPolkadot } from '@peaqnetwork/type-definitions'; +import { typesBundleForPolkadot } from "@peaqnetwork/type-definitions"; export default { - typesBundle: (typesBundleForPolkadot as { spec: { peaq: OverrideBundleDefinition } }).spec.peaq -} \ No newline at end of file + typesBundle: ( + typesBundleForPolkadot as { spec: { peaq: OverrideBundleDefinition } } + ).spec.peaq, +}; diff --git a/chainTypes/kylinChainTypes.ts b/chainTypes/kylinChainTypes.ts index dc7ca011..c0b39d0b 100644 --- a/chainTypes/kylinChainTypes.ts +++ b/chainTypes/kylinChainTypes.ts @@ -6,28 +6,28 @@ const types = { // on all versions minmax: [0, undefined], types: { - Address: 'MultiAddress', - LookupSource: 'MultiAddress', + Address: "MultiAddress", + LookupSource: "MultiAddress", DataRequest: { - para_id: 'Option', - account_id: 'Option', - requested_block_number: 'BlockNumber', - processed_block_number: 'Option', - requested_timestamp: 'u128', - processed_timestamp: 'Option', - payload: 'Text', - feed_name: 'Text', - is_query: 'bool', - url: 'Option' - } - } - } - ] -} + para_id: "Option", + account_id: "Option", + requested_block_number: "BlockNumber", + processed_block_number: "Option", + requested_timestamp: "u128", + processed_timestamp: "Option", + payload: "Text", + feed_name: "Text", + is_query: "bool", + url: "Option", + }, + }, + }, + ], +}; const typesBundle: OverrideBundleType = { spec: { - "kylin": types, + kylin: types, }, }; diff --git a/chainTypes/moonbeamChaintypes.ts b/chainTypes/moonbeamChaintypes.ts index d7968565..70a50bb6 100644 --- a/chainTypes/moonbeamChaintypes.ts +++ b/chainTypes/moonbeamChaintypes.ts @@ -1,5 +1,5 @@ import { typesBundlePre900 } from "moonbeam-types-bundle"; export default { - typesBundle: typesBundlePre900 + typesBundle: typesBundlePre900, }; diff --git a/chainTypes/parallelHeikoChaintypes.ts b/chainTypes/parallelHeikoChaintypes.ts index 7b958533..a3ec8e80 100644 --- a/chainTypes/parallelHeikoChaintypes.ts +++ b/chainTypes/parallelHeikoChaintypes.ts @@ -1,5 +1,5 @@ -import { typesBundle } from '@parallel-finance/type-definitions'; +import { typesBundle } from "@parallel-finance/type-definitions"; export default { - typesBundle -}; \ No newline at end of file + typesBundle, +}; diff --git a/chainTypes/polkadexChaintypes.ts b/chainTypes/polkadexChaintypes.ts index fda58bb9..24cd980c 100644 --- a/chainTypes/polkadexChaintypes.ts +++ b/chainTypes/polkadexChaintypes.ts @@ -1,4 +1,4 @@ -import type { OverrideBundleDefinition } from '@polkadot/types/types'; +import type { OverrideBundleDefinition } from "@polkadot/types/types"; // structs need to be in order /* eslint-disable sort-keys */ @@ -9,26 +9,26 @@ const definitions: OverrideBundleDefinition = { minmax: [0, undefined], types: { BurnTxDetails: { - approvals: 'u32', - approvers: 'Vec' + approvals: "u32", + approvers: "Vec", }, OrmlVestingSchedule: { - start: 'BlockNumber', - period: 'BlockNumber', - periodCount: 'u32', - perPeriod: 'Compact' + start: "BlockNumber", + period: "BlockNumber", + periodCount: "u32", + perPeriod: "Compact", }, - VestingScheduleOf: 'OrmlVestingSchedule', - DispatchError: 'DispatchErrorPre6First', - } - } - ] + VestingScheduleOf: "OrmlVestingSchedule", + DispatchErrorModule: "DispatchErrorModuleU8", + }, + }, + ], }; const typesBundle = { - spec: { - 'node': definitions - } -} + spec: { + node: definitions, + }, +}; -export default { typesBundle }; \ No newline at end of file +export default { typesBundle }; diff --git a/chainTypes/polymeshTypes.ts b/chainTypes/polymeshTypes.ts index 7a229ba2..713b226f 100644 --- a/chainTypes/polymeshTypes.ts +++ b/chainTypes/polymeshTypes.ts @@ -1,3 +1,3 @@ -import { typesBundle } from '@polymeshassociation/polymesh-types'; +import { typesBundle } from "@polymeshassociation/polymesh-types"; -export default { typesBundle } \ No newline at end of file +export default { typesBundle }; diff --git a/chainTypes/rococoAssethubChaintypes.ts b/chainTypes/rococoAssethubChaintypes.ts index 7988fdb9..8ac75155 100644 --- a/chainTypes/rococoAssethubChaintypes.ts +++ b/chainTypes/rococoAssethubChaintypes.ts @@ -5,26 +5,26 @@ const definitions: OverrideBundleDefinition = { { minmax: [0, 10004], types: { - NovaAssetId: "Option" + NovaAssetId: "Option", }, }, { minmax: [10005, null], types: { - NovaAssetId: "Option" + NovaAssetId: "Option", }, }, ], signedExtensions: { ChargeAssetTxPayment: { extrinsic: { - tip: 'Compact', + tip: "Compact", // eslint-disable-next-line sort-keys - assetId: 'NovaAssetId' + assetId: "NovaAssetId", }, - payload: {} - } - } + payload: {}, + }, + }, }; -export default { typesBundle: { spec: { "statemine": definitions } } }; \ No newline at end of file +export default { typesBundle: { spec: { statemine: definitions } } }; diff --git a/chainTypes/shidenChaintypes.ts b/chainTypes/shidenChaintypes.ts index 84e48d3a..06c6b6c2 100644 --- a/chainTypes/shidenChaintypes.ts +++ b/chainTypes/shidenChaintypes.ts @@ -1,4 +1,4 @@ -import type { OverrideBundleDefinition } from '@polkadot/types/types'; +import type { OverrideBundleDefinition } from "@polkadot/types/types"; // structs need to be in order /* eslint-disable sort-keys */ @@ -9,41 +9,41 @@ const definitions: OverrideBundleDefinition = { // on all versions minmax: [0, undefined], types: { - Keys: 'AccountId', - Address: 'MultiAddress', - LookupSource: 'MultiAddress', - AmountOf: 'Amount', - Amount: 'i128', + Keys: "AccountId", + Address: "MultiAddress", + LookupSource: "MultiAddress", + AmountOf: "Amount", + Amount: "i128", SmartContract: { _enum: { - Evm: 'H160', - Wasm: 'AccountId' - } + Evm: "H160", + Wasm: "AccountId", + }, }, EraStakingPoints: { - total: 'Balance', - stakers: 'BTreeMap', - formerStakedEra: 'EraIndex', - claimedRewards: 'Balance' + total: "Balance", + stakers: "BTreeMap", + formerStakedEra: "EraIndex", + claimedRewards: "Balance", }, PalletDappsStakingEraStakingPoints: { - total: 'Balance', - stakers: 'BTreeMap', - formerStakedEra: 'EraIndex', - claimedRewards: 'Balance' + total: "Balance", + stakers: "BTreeMap", + formerStakedEra: "EraIndex", + claimedRewards: "Balance", }, EraRewardAndStake: { - rewards: 'Balance', - staked: 'Balance' + rewards: "Balance", + staked: "Balance", }, PalletDappsStakingEraRewardAndStake: { - rewards: 'Balance', - staked: 'Balance' + rewards: "Balance", + staked: "Balance", }, - EraIndex: 'u32' - } - } - ] + EraIndex: "u32", + }, + }, + ], }; -export default { typesBundle: { spec: { shiden: definitions }}}; \ No newline at end of file +export default { typesBundle: { spec: { shiden: definitions } } }; diff --git a/chainTypes/statemineChaintypes.ts b/chainTypes/statemineChaintypes.ts index 245c7f8b..0d432d4f 100644 --- a/chainTypes/statemineChaintypes.ts +++ b/chainTypes/statemineChaintypes.ts @@ -5,26 +5,26 @@ const definitions: OverrideBundleDefinition = { { minmax: [0, 999999], types: { - NovaAssetId: "Option" + NovaAssetId: "Option", }, }, { minmax: [1000000, null], types: { - NovaAssetId: "Option" + NovaAssetId: "Option", }, }, ], signedExtensions: { ChargeAssetTxPayment: { extrinsic: { - tip: 'Compact', + tip: "Compact", // eslint-disable-next-line sort-keys - assetId: 'NovaAssetId' + assetId: "NovaAssetId", }, - payload: {} - } - } + payload: {}, + }, + }, }; -export default { typesBundle: { spec: { "statemine": definitions } } }; \ No newline at end of file +export default { typesBundle: { spec: { statemine: definitions } } }; diff --git a/chainTypes/subsocialChaintypes.ts b/chainTypes/subsocialChaintypes.ts index bc25b838..9b5ee141 100644 --- a/chainTypes/subsocialChaintypes.ts +++ b/chainTypes/subsocialChaintypes.ts @@ -1,5 +1,5 @@ -import { typesBundle } from '@subsocial/definitions/index'; +import { typesBundle } from "@subsocial/definitions/index"; export default { typesBundle, -}; \ No newline at end of file +}; diff --git a/chainTypes/ternoaChaintypes.ts b/chainTypes/ternoaChaintypes.ts index 85e59abd..9ff7691b 100644 --- a/chainTypes/ternoaChaintypes.ts +++ b/chainTypes/ternoaChaintypes.ts @@ -1,4 +1,4 @@ -import type { OverrideBundleDefinition } from '@polkadot/types/types'; +import type { OverrideBundleDefinition } from "@polkadot/types/types"; const definitions: OverrideBundleDefinition = { types: [ @@ -6,91 +6,82 @@ const definitions: OverrideBundleDefinition = { // on all versions minmax: [0, undefined], types: { - AccountDataOf: 'AccountData', - Address: 'MultiAddress', - LookupSource: 'MultiAddress', - ShardIdentifier: 'Hash', - Url: 'Text', - URI: 'Text', - ClusterId: 'u32', - EnclaveId: 'u32', - MarketplaceId: 'u32', - BalanceCaps: 'Balance', - NFTId: 'u32', - TernoaString: 'Vec', - NFTSeriesId: 'Text', + AccountDataOf: "AccountData", + Address: "MultiAddress", + LookupSource: "MultiAddress", + ShardIdentifier: "Hash", + Url: "Text", + URI: "Text", + ClusterId: "u32", + EnclaveId: "u32", + MarketplaceId: "u32", + BalanceCaps: "Balance", + NFTId: "u32", + TernoaString: "Vec", + NFTSeriesId: "Text", NFTData: { - owner: 'AccountId', - ipfs_reference: 'Text', - series_id: 'NFTSeriesId', - locked: 'bool' + owner: "AccountId", + ipfs_reference: "Text", + series_id: "NFTSeriesId", + locked: "bool", }, NFTSeriesDetails: { - owner: 'AccountId', - draft: 'bool' + owner: "AccountId", + draft: "bool", }, NFTCurrencyCombined: { - caps: 'Balance', - tiime: 'Balance' + caps: "Balance", + tiime: "Balance", }, NFTCurrency: { _enum: { - Caps: 'Balance', - Tiime: 'Balance', - Combined: 'NFTCurrencyCombined' - } + Caps: "Balance", + Tiime: "Balance", + Combined: "NFTCurrencyCombined", + }, }, NFTCurrencyId: { - _enum: [ - 'Caps', - 'Tiime' - ] + _enum: ["Caps", "Tiime"], }, SaleInformation: { - account_id: 'AccountId', - price: 'NFTCurrency', - marketplace_id: 'MarketplaceId' + account_id: "AccountId", + price: "NFTCurrency", + marketplace_id: "MarketplaceId", }, MarketplaceType: { - _enum: [ - 'Public', - 'Private' - ] + _enum: ["Public", "Private"], }, MarketplaceInformation: { - kind: 'MarketplaceType', - commission_fee: 'u8', - owner: 'AccountId', - allow_list: 'Vec', - disallow_list: 'Vec', - name: 'Text', - uri: 'Option', - logo_uri: 'Option' + kind: "MarketplaceType", + commission_fee: "u8", + owner: "AccountId", + allow_list: "Vec", + disallow_list: "Vec", + name: "Text", + uri: "Option", + logo_uri: "Option", }, Cluster: { - enclaves: 'Vec' + enclaves: "Vec", }, Enclave: { - api_url: 'Url' + api_url: "Url", }, CapsuleData: { - owner: 'AccountId', - ipfs_reference: 'Text' + owner: "AccountId", + ipfs_reference: "Text", }, - CapsuleLedger: 'Vec<(NFTId, Balance)>', + CapsuleLedger: "Vec<(NFTId, Balance)>", Status: { - _enum: [ - 'Free', - 'Reserved' - ] + _enum: ["Free", "Reserved"], }, Request: { - shard: 'ShardIdentifier', - cyphertext: 'Vec' - } - } - } - ] + shard: "ShardIdentifier", + cyphertext: "Vec", + }, + }, + }, + ], }; -export default { typesBundle: { spec: { ternoa: definitions }}}; \ No newline at end of file +export default { typesBundle: { spec: { ternoa: definitions } } }; diff --git a/chainTypes/westmintChaintypes.ts b/chainTypes/westmintChaintypes.ts index 89db6d68..04bce200 100644 --- a/chainTypes/westmintChaintypes.ts +++ b/chainTypes/westmintChaintypes.ts @@ -5,26 +5,26 @@ const definitions: OverrideBundleDefinition = { { minmax: [0, 9434], types: { - NovaAssetId: "Option" + NovaAssetId: "Option", }, }, { minmax: [9435, null], types: { - NovaAssetId: "Option" + NovaAssetId: "Option", }, }, ], signedExtensions: { ChargeAssetTxPayment: { extrinsic: { - tip: 'Compact', + tip: "Compact", // eslint-disable-next-line sort-keys - assetId: 'NovaAssetId' + assetId: "NovaAssetId", }, - payload: {} - } - } + payload: {}, + }, + }, }; -export default { typesBundle: { spec: { "westmint": definitions } } }; \ No newline at end of file +export default { typesBundle: { spec: { westmint: definitions } } }; diff --git a/chainTypes/zeitgeistChaintypes.ts b/chainTypes/zeitgeistChaintypes.ts index 1563d17f..fabf5105 100644 --- a/chainTypes/zeitgeistChaintypes.ts +++ b/chainTypes/zeitgeistChaintypes.ts @@ -1,42 +1,46 @@ -import { OverrideBundleType } from '@polkadot/types/types'; -import * as typeDefs from '@zeitgeistpm/type-defs'; +import { OverrideBundleType } from "@polkadot/types/types"; +import * as typeDefs from "@zeitgeistpm/type-defs"; -function typesFromDefs (definitions: Record }>): Record { - return Object - .values(definitions) - .reduce((res: Record, { types }): Record => ({ +function typesFromDefs( + definitions: Record }>, +): Record { + return Object.values(definitions).reduce( + (res: Record, { types }): Record => ({ ...res, - ...types - }), {}); + ...types, + }), + {}, + ); } const types = { alias: { tokens: { - AccountData: 'TokensAccountData' - } + AccountData: "TokensAccountData", + }, }, - types: [{ - minmax: [0, undefined], - types: { - ...typesFromDefs(typeDefs), - TokensAccountData: { - free: 'Balance', - frozen: 'Balance', - reserved: 'Balance' - } - } - }] -} + types: [ + { + minmax: [0, undefined], + types: { + ...typesFromDefs(typeDefs), + TokensAccountData: { + free: "Balance", + frozen: "Balance", + reserved: "Balance", + }, + }, + }, + ], +}; const typesBundle: OverrideBundleType = { spec: { zeitgeist: types, }, -} +}; export default { - types: { - }, - typesBundle -}; \ No newline at end of file + types: {}, + typesBundle, +}; diff --git a/clover.yaml b/clover.yaml index 04af8762..2c3b7089 100644 --- a/clover.yaml +++ b/clover.yaml @@ -3,17 +3,19 @@ name: subquery-nova-clover version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x5c7bd13edf349b33eb175ffae85210299e324d852916336027391536e686f267' + chainId: "0x5c7bd13edf349b33eb175ffae85210299e324d852916336027391536e686f267" endpoint: >- wss://clover.api.onfinality.io/public-ws dictionary: https://api.subquery.network/sq/subquery/clover-dictionary diff --git a/composable.yaml b/composable.yaml index e669a187..551f892a 100644 --- a/composable.yaml +++ b/composable.yaml @@ -3,17 +3,19 @@ name: subquery-nova-composable version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0xdaab8df776eb52ec604a5df5d388bb62a050a0aaec4556a64265b9d42755552d' + chainId: "0xdaab8df776eb52ec604a5df5d388bb62a050a0aaec4556a64265b9d42755552d" endpoint: wss://composable-rpc.dwellir.com dataSources: - name: main diff --git a/crab.yaml b/crab.yaml index 20780803..2fd068c0 100644 --- a/crab.yaml +++ b/crab.yaml @@ -3,17 +3,17 @@ name: subquery-nova-crab version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x86e49c195aeae7c5c4a86ced251f1a28c67b3c35d8289c387ede1776cdd88b24' + chainId: "0x86e49c195aeae7c5c4a86ced251f1a28c67b3c35d8289c387ede1776cdd88b24" endpoint: wss://darwiniacrab-rpc.dwellir.com dataSources: - name: main diff --git a/crust.yaml b/crust.yaml index ee676c32..abe1b87a 100644 --- a/crust.yaml +++ b/crust.yaml @@ -3,17 +3,19 @@ name: subquery-nova-crust version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x4319cc49ee79495b57a1fec4d2bd43f59052dcc690276de566c2691d6df4f7b8' + chainId: "0x4319cc49ee79495b57a1fec4d2bd43f59052dcc690276de566c2691d6df4f7b8" endpoint: wss://crust-parachain.crustapps.net chaintypes: file: ./dist/crustChaintypes.js diff --git a/dao-ipci.yaml b/dao-ipci.yaml index 57d15624..4ea5f274 100644 --- a/dao-ipci.yaml +++ b/dao-ipci.yaml @@ -3,17 +3,19 @@ name: subquery-nova-dao-ipci version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x6f0f071506de39058fe9a95bbca983ac0e9c5da3443909574e95d52eb078d348' + chainId: "0x6f0f071506de39058fe9a95bbca983ac0e9c5da3443909574e95d52eb078d348" endpoint: >- wss://kusama.rpc.ipci.io dataSources: diff --git a/darwinia.yaml b/darwinia.yaml index bccbff52..c51e04db 100644 --- a/darwinia.yaml +++ b/darwinia.yaml @@ -3,18 +3,20 @@ name: subquery-nova-darwinia version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0xf0b8924b12e8108550d28870bc03f7b45a947e1b2b9abf81bfb0b89ecb60570e' - endpoint: wss://rpc.darwinia.network + chainId: "0xe71578b37a7c799b0ab4ee87ffa6f059a6b98f71f06fb8c84a8d88013a548ad6" + endpoint: wss://parachain-rpc.darwinia.network dataSources: - name: main kind: substrate/Runtime diff --git a/dock.yaml b/dock.yaml index 8a7d50d4..b87577c0 100644 --- a/dock.yaml +++ b/dock.yaml @@ -3,17 +3,19 @@ name: subquery-nova-dock version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x6bfe24dca2a3be10f22212678ac13a6446ec764103c0f3471c71609eac384aae' + chainId: "0x6bfe24dca2a3be10f22212678ac13a6446ec764103c0f3471c71609eac384aae" endpoint: >- wss://mainnet-node.dock.io chaintypes: diff --git a/docker-compose.yml b/docker-compose.yml index 50c91ecc..4f60f852 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,12 +1,13 @@ -version: '3' +version: "3" services: postgres: container_name: "postgres-${PROJECT_PATH}" - image: postgres:12-alpine + image: postgres:16-alpine ports: - 5432:5432 volumes: - .data/postgres:/var/lib/postgresql/data + - ./docker/init:/docker-entrypoint-initdb.d/ healthcheck: test: ["CMD-SHELL", "pg_isready -U postgres"] interval: 5s @@ -53,4 +54,3 @@ services: command: - --name=app - --playground - diff --git a/docker/init/create_extension.sql b/docker/init/create_extension.sql new file mode 100644 index 00000000..fc33bc93 --- /dev/null +++ b/docker/init/create_extension.sql @@ -0,0 +1 @@ +CREATE EXTENSION IF NOT EXISTS btree_gist; \ No newline at end of file diff --git a/efinity.yaml b/efinity.yaml index 92f503b6..34712295 100644 --- a/efinity.yaml +++ b/efinity.yaml @@ -3,17 +3,19 @@ name: subquery-nova-efinity version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x335369975fced3fc22e23498da306a712f4fd964c957364d53c49cea9db8bc2f' + chainId: "0x335369975fced3fc22e23498da306a712f4fd964c957364d53c49cea9db8bc2f" endpoint: wss://efinity-rpc.dwellir.com dataSources: - name: main diff --git a/encointer.yaml b/encointer.yaml index f5638a6c..2c738150 100644 --- a/encointer.yaml +++ b/encointer.yaml @@ -3,17 +3,19 @@ name: subquery-nova-encointer version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x7dd99936c1e9e6d1ce7d90eb6f33bea8393b4bf87677d675aa63c9cb3e8c5b5b' + chainId: "0x7dd99936c1e9e6d1ce7d90eb6f33bea8393b4bf87677d675aa63c9cb3e8c5b5b" endpoint: wss://kusama.api.encointer.org chaintypes: file: ./dist/encointerChaintypes.js diff --git a/energywebx.yaml b/energywebx.yaml index 8294e8df..62899898 100644 --- a/energywebx.yaml +++ b/energywebx.yaml @@ -3,17 +3,19 @@ name: subquery-nova-energywebx version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x5a51e04b88a4784d205091aa7bada002f3e5da3045e5b05655ee4db2589c33b5' + chainId: "0x5a51e04b88a4784d205091aa7bada002f3e5da3045e5b05655ee4db2589c33b5" endpoint: >- wss://public-rpc.mainnet.energywebx.com/ dataSources: diff --git a/enjin-matrixchain.yaml b/enjin-matrixchain.yaml index 8857144c..44f6cb71 100644 --- a/enjin-matrixchain.yaml +++ b/enjin-matrixchain.yaml @@ -3,17 +3,17 @@ name: subquery-nova-enjin-matrixchain version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x3af4ff48ec76d2efc8476730f423ac07e25ad48f5f4c9dc39c778b164d808615' + chainId: "0x3af4ff48ec76d2efc8476730f423ac07e25ad48f5f4c9dc39c778b164d808615" endpoint: >- wss://enjin-matrix-rpc-1.dwellir.com/ dataSources: diff --git a/equilibrium.yaml b/equilibrium.yaml index 74df79d7..784e4b2f 100644 --- a/equilibrium.yaml +++ b/equilibrium.yaml @@ -3,17 +3,19 @@ name: subquery-nova-equilibrium version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x89d3ec46d2fb43ef5a9713833373d5ea666b092fa8fd68fbc34596036571b907' + chainId: "0x89d3ec46d2fb43ef5a9713833373d5ea666b092fa8fd68fbc34596036571b907" endpoint: >- wss://equilibrium-rpc.dwellir.com chaintypes: @@ -32,4 +34,4 @@ dataSources: kind: substrate/EventHandler filter: module: eqBalances - method: Transfer \ No newline at end of file + method: Transfer diff --git a/frequency.yaml b/frequency.yaml index 28ec1b6c..92a15ec5 100644 --- a/frequency.yaml +++ b/frequency.yaml @@ -3,17 +3,17 @@ name: subquery-nova-frequency version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x4a587bf17a404e3572747add7aab7bbe56e805a5479c6c436f07f36fcc8d3ae1' + chainId: "0x4a587bf17a404e3572747add7aab7bbe56e805a5479c6c436f07f36fcc8d3ae1" endpoint: >- wss://0.rpc.frequency.xyz chaintypes: diff --git a/giant.yaml b/giant.yaml index 3ea58dc5..77290f4e 100644 --- a/giant.yaml +++ b/giant.yaml @@ -3,17 +3,17 @@ name: subquery-nova-giant version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x49f4849244114177544d73d2412289f6d73a892b9eb1ca97cef81c9c0c9ec0ff' + chainId: "0x49f4849244114177544d73d2412289f6d73a892b9eb1ca97cef81c9c0c9ec0ff" endpoint: >- wss://rpc-anchor-1-giant-mainnet-ue1.giantprotocol.org:443 dataSources: diff --git a/gm-network.yaml b/gm-network.yaml index de48abd4..81978c59 100644 --- a/gm-network.yaml +++ b/gm-network.yaml @@ -3,17 +3,19 @@ name: subquery-nova-gm version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x19a3733beb9cb8a970a308d835599e9005e02dc007a35440e461a451466776f8' + chainId: "0x19a3733beb9cb8a970a308d835599e9005e02dc007a35440e461a451466776f8" endpoint: wss://ws.gm.bldnodes.org dataSources: - name: main @@ -49,4 +51,3 @@ dataSources: filter: module: tokens method: Transfer - diff --git a/hashed_network.yaml b/hashed_network.yaml index f04a545a..e1f28e68 100644 --- a/hashed_network.yaml +++ b/hashed_network.yaml @@ -3,17 +3,19 @@ name: subquery-nova-hashed-network version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0xdce5477cfca571c2cb652f38bbb70429004be3cf9649dd2b4ad9455b2251fe43' + chainId: "0xdce5477cfca571c2cb652f38bbb70429004be3cf9649dd2b4ad9455b2251fe43" endpoint: wss://c2.hashed.network dataSources: - name: main diff --git a/hydra.yaml b/hydra.yaml index 36205203..42a4ec38 100644 --- a/hydra.yaml +++ b/hydra.yaml @@ -3,18 +3,20 @@ name: subquery-nova-hydra version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0xafdc188f45c71dacbaa0b62e16a91f726c7b8699a9748cdf715459de6b7f366d' - endpoint: wss://rpc.hydradx.cloud + chainId: "0xafdc188f45c71dacbaa0b62e16a91f726c7b8699a9748cdf715459de6b7f366d" + endpoint: wss://hydradx-rpc.dwellir.com dataSources: - name: main kind: substrate/Runtime @@ -58,4 +60,4 @@ dataSources: kind: substrate/EventHandler filter: module: router - method: Executed \ No newline at end of file + method: Executed diff --git a/imbue.yaml b/imbue.yaml index 8d4c3fb6..11c38e5b 100644 --- a/imbue.yaml +++ b/imbue.yaml @@ -3,17 +3,19 @@ name: subquery-nova-imbue version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0xca93a37c913a25fa8fdb33c7f738afc39379cb71d37874a16d4c091a5aef9f89' + chainId: "0xca93a37c913a25fa8fdb33c7f738afc39379cb71d37874a16d4c091a5aef9f89" endpoint: wss://imbue-kusama.imbue.network dataSources: - name: main diff --git a/integritee.yaml b/integritee.yaml index ccd27a87..88d21b56 100644 --- a/integritee.yaml +++ b/integritee.yaml @@ -3,17 +3,19 @@ name: subquery-nova-integritee version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0xcdedc8eadbfa209d3f207bba541e57c3c58a667b05a2e1d1e86353c9000758da' + chainId: "0xcdedc8eadbfa209d3f207bba541e57c3c58a667b05a2e1d1e86353c9000758da" endpoint: wss://kusama.api.integritee.network chaintypes: file: ./dist/integriteeChaintypes.js diff --git a/interlay.yaml b/interlay.yaml index 27a73317..b663fbac 100644 --- a/interlay.yaml +++ b/interlay.yaml @@ -3,17 +3,19 @@ name: subquery-nova-interlay version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0xbf88efe70e9e0e916416e8bed61f2b45717f517d7f3523e33c7b001e5ffcbc72' + chainId: "0xbf88efe70e9e0e916416e8bed61f2b45717f517d7f3523e33c7b001e5ffcbc72" endpoint: >- wss://interlay.api.onfinality.io/public-ws chaintypes: diff --git a/ipfs-cids/.3dpass-cid b/ipfs-cids/.3dpass-cid index 3d9e31a7..911523dc 100644 --- a/ipfs-cids/.3dpass-cid +++ b/ipfs-cids/.3dpass-cid @@ -1 +1 @@ -QmNv3B1tMsdQ12jCh2TomMsRa7aeJkHm2rAWEYWHAabRWC \ No newline at end of file +QmdVN77itwYybFUCMqWn1iBMzJofkmT9wATLyFS6d6m7Uy \ No newline at end of file diff --git a/ipfs-cids/.acala-cid b/ipfs-cids/.acala-cid index 4dc29e9f..0c4b49cd 100644 --- a/ipfs-cids/.acala-cid +++ b/ipfs-cids/.acala-cid @@ -1 +1 @@ -QmZpH7rveacov5opR8v8YB8wbKcQiwa3CJD1e2TbQuJ5fJ \ No newline at end of file +Qmez7uTRb1E6USDZpJ4D7p3Vt1J8mfzBp28My25uT2ozC2 \ No newline at end of file diff --git a/ipfs-cids/.ajuna-cid b/ipfs-cids/.ajuna-cid index 7f6a8fa2..ea335f1b 100644 --- a/ipfs-cids/.ajuna-cid +++ b/ipfs-cids/.ajuna-cid @@ -1 +1 @@ -QmRTPuuphqY1XZs28itccVWC4nJHaGG6hgrpw9s9UMWn13 \ No newline at end of file +QmTVjexF6DvuBJEiNi6hMz4haY8cSJsmquBjpJKyTqgyib \ No newline at end of file diff --git a/ipfs-cids/.aleph-zero-cid b/ipfs-cids/.aleph-zero-cid index 7f86bbff..06223dbe 100644 --- a/ipfs-cids/.aleph-zero-cid +++ b/ipfs-cids/.aleph-zero-cid @@ -1 +1 @@ -QmedctyebukkZpQzxhF2UtxpysKVbChbQW1kgUfUSA3qaH \ No newline at end of file +QmQsWhvZGQMmnAKVK7d56kHiiDd5pPsagiy1mb9o1fa3x6 \ No newline at end of file diff --git a/ipfs-cids/.altair-cid b/ipfs-cids/.altair-cid index 329082c6..d63815ff 100644 --- a/ipfs-cids/.altair-cid +++ b/ipfs-cids/.altair-cid @@ -1 +1 @@ -QmZnEgi74BE29d94RVwZLhbeEw6zLoCDEzpmRvF8q3NBLV \ No newline at end of file +QmbQbb2KvCVMZ2vVpF7YAoVrV6iPF4PtEZwWQtNuuyc61Y \ No newline at end of file diff --git a/ipfs-cids/.amplitude-cid b/ipfs-cids/.amplitude-cid index aa3ec7e1..a80271b6 100644 --- a/ipfs-cids/.amplitude-cid +++ b/ipfs-cids/.amplitude-cid @@ -1 +1 @@ -QmXgnf22YKxHJu4pdtfT3ZuXDzFCJQqQLun7qAseSnmzY1 \ No newline at end of file +Qmdb9wezZTrwxPDHxmun94jGuZhVhx5RC19gybrLteUiUo \ No newline at end of file diff --git a/ipfs-cids/.astar-cid b/ipfs-cids/.astar-cid index 44dd3cf4..bf8c1e3c 100644 --- a/ipfs-cids/.astar-cid +++ b/ipfs-cids/.astar-cid @@ -1 +1 @@ -QmWY9eT9T6ZjRM38U9tcTwEpp5tVAJeVr6EJ1xRJboGhfP \ No newline at end of file +QmUygwMTyxcj6AoHQJRmW4KAq7NeKTf9jpfeF1hVThmXLk \ No newline at end of file diff --git a/ipfs-cids/.avail-cid b/ipfs-cids/.avail-cid new file mode 100644 index 00000000..8d78041e --- /dev/null +++ b/ipfs-cids/.avail-cid @@ -0,0 +1 @@ +QmUQ5XxMTMELZxnNfBZK3HoKS5Mw2a7YxxTkriVWUgvGNP \ No newline at end of file diff --git a/ipfs-cids/.avail-turing-test-cid b/ipfs-cids/.avail-turing-test-cid deleted file mode 100644 index 5ee7283d..00000000 --- a/ipfs-cids/.avail-turing-test-cid +++ /dev/null @@ -1 +0,0 @@ -QmXvme4hdNWZbADoU6pXMVf44nEY7A1T83Hz7S8NGqQ62j \ No newline at end of file diff --git a/ipfs-cids/.aventus-cid b/ipfs-cids/.aventus-cid index be5571aa..0065565b 100644 --- a/ipfs-cids/.aventus-cid +++ b/ipfs-cids/.aventus-cid @@ -1 +1 @@ -QmX6X6sCE1BDieqgfGhbqeYdfJ98AJvYJeDKVfMcpwaQ5D \ No newline at end of file +QmfS4GJtVYEcaGeWAoGK2xbLc5jFsVggdSoMvt6giXmfZ1 \ No newline at end of file diff --git a/ipfs-cids/.bajun-cid b/ipfs-cids/.bajun-cid index baad51f9..b2138f22 100644 --- a/ipfs-cids/.bajun-cid +++ b/ipfs-cids/.bajun-cid @@ -1 +1 @@ -QmepFa7W6pqJM2ce75SNqp9QvjZqvJ4ZZtjU5t6c9Ug8hA \ No newline at end of file +QmeguMBQKXQNq4B45YJKytYUokEznmZdXhb1MexnoRyUCP \ No newline at end of file diff --git a/ipfs-cids/.basilisk-cid b/ipfs-cids/.basilisk-cid index 0a046843..13c2ccc9 100644 --- a/ipfs-cids/.basilisk-cid +++ b/ipfs-cids/.basilisk-cid @@ -1 +1 @@ -QmVVzAfK5GdLkPLyDcdH91xuzS4bNbezQAnD3v2EXpfxpE \ No newline at end of file +QmdLgbA4XioN96qyyxJrFdNPfJwJ1vh3KC3vZK5HnniLCt \ No newline at end of file diff --git a/ipfs-cids/.bifrost-cid b/ipfs-cids/.bifrost-cid index bda1f87c..abbb3f29 100644 --- a/ipfs-cids/.bifrost-cid +++ b/ipfs-cids/.bifrost-cid @@ -1 +1 @@ -QmXsoaW78uVAriDqUjTyRyyfeg5waaw8tWwJbbLf25pmwV \ No newline at end of file +QmfUa8wWPDc3kN8sH6iKuXGcvexYbWwUmz5xJ3Qj5L8ZSg \ No newline at end of file diff --git a/ipfs-cids/.bifrost-polkadot-cid b/ipfs-cids/.bifrost-polkadot-cid index 2028498c..44edcb38 100644 --- a/ipfs-cids/.bifrost-polkadot-cid +++ b/ipfs-cids/.bifrost-polkadot-cid @@ -1 +1 @@ -QmUvcaLA5JHgA46UEfmyWfV33uMSjij1xzEnYMewTcp5hx \ No newline at end of file +QmVA6uLuRMhFtnkESX8M9r2sDG7bz9D92H5Wy9jkiGncU2 \ No newline at end of file diff --git a/ipfs-cids/.bit-country-cid b/ipfs-cids/.bit-country-cid index def2d4f3..e7404f70 100644 --- a/ipfs-cids/.bit-country-cid +++ b/ipfs-cids/.bit-country-cid @@ -1 +1 @@ -QmTK1xpU6jNWi9LxEbLe9YkS1RSDRACGQvp3Tu5UVX4qn8 \ No newline at end of file +QmRLRsyePFXkT13CPXdx5ehepSJChpxg4NQ6EQmPLDNztV \ No newline at end of file diff --git a/ipfs-cids/.bittensor-cid b/ipfs-cids/.bittensor-cid index 7997508a..e26830b2 100644 --- a/ipfs-cids/.bittensor-cid +++ b/ipfs-cids/.bittensor-cid @@ -1 +1 @@ -QmedPxBDjEGwmP4BkJoxffhairvQq275EwFJg6JhRskGzp \ No newline at end of file +QmVFx6pwfgnBUcepTvWNJWwYdbwxoAhEop9SuPNsyPpcWh \ No newline at end of file diff --git a/ipfs-cids/.calamari-cid b/ipfs-cids/.calamari-cid index 81128097..f3b29f31 100644 --- a/ipfs-cids/.calamari-cid +++ b/ipfs-cids/.calamari-cid @@ -1 +1 @@ -QmQv7BZ9TdspLpKr6K6z3kKuRZK3RxaBvEryqdhw3LsJiT \ No newline at end of file +Qmf69cfV1D1eiEzp3pa3U35JG7LX6J8DXMJPE3ZeZ3NJZi \ No newline at end of file diff --git a/ipfs-cids/.centrifuge-cid b/ipfs-cids/.centrifuge-cid index d5e86f41..511576e6 100644 --- a/ipfs-cids/.centrifuge-cid +++ b/ipfs-cids/.centrifuge-cid @@ -1 +1 @@ -QmabdcsgojRrWEHQcsieCwDBbszDzZQjMuKaUn7u1ZnR1G \ No newline at end of file +QmSjuQSXhD1cReQ6i4czQTF2LMWvBuWVT6qCvC8mz4ZNXz \ No newline at end of file diff --git a/ipfs-cids/.clover-cid b/ipfs-cids/.clover-cid index 7ff48e52..d1af73dd 100644 --- a/ipfs-cids/.clover-cid +++ b/ipfs-cids/.clover-cid @@ -1 +1 @@ -QmdZL9C5XxaXr4iKNwVPM6KXVGmWBc24Fbj9eTVKPeNx6J \ No newline at end of file +QmaBGeehjXZvmraAMgcvsYZekXWEWAysLxNvJpy8tsjbEQ \ No newline at end of file diff --git a/ipfs-cids/.composable-cid b/ipfs-cids/.composable-cid index 8a0b7f47..29f5800d 100644 --- a/ipfs-cids/.composable-cid +++ b/ipfs-cids/.composable-cid @@ -1 +1 @@ -QmcxgNLtKW11jqSeLnxHBe9cRCU8SxcwsB1K5zcxKM1ov6 \ No newline at end of file +QmcMK7H48axF9PS9XKGFWCicxvwjuBWdTiqbMhfk35WJct \ No newline at end of file diff --git a/ipfs-cids/.crab-cid b/ipfs-cids/.crab-cid index 3e781b96..0fa051cb 100644 --- a/ipfs-cids/.crab-cid +++ b/ipfs-cids/.crab-cid @@ -1 +1 @@ -QmZ3Jd37GiB2HSwYt88hNnfYSt6Wh7Pok3fKRj4F9KE1KX \ No newline at end of file +QmfCWcMNwvphtr1aA4rijYbTyVVSvkE17ABUjteJGWSkrT \ No newline at end of file diff --git a/ipfs-cids/.crust-cid b/ipfs-cids/.crust-cid index 3ce89814..f672f324 100644 --- a/ipfs-cids/.crust-cid +++ b/ipfs-cids/.crust-cid @@ -1 +1 @@ -QmRX3KSAkL9egkxocHRAgV4GMAb7dQmjBLBesso2LinCqF \ No newline at end of file +QmP5nC7ZuWfG8nm9rR8K95WowPSRxqq5HrVJqYikTikzyy \ No newline at end of file diff --git a/ipfs-cids/.dao-ipci-cid b/ipfs-cids/.dao-ipci-cid index bc3ded68..19c42ce0 100644 --- a/ipfs-cids/.dao-ipci-cid +++ b/ipfs-cids/.dao-ipci-cid @@ -1 +1 @@ -QmWpBegjsf92J7x6ndahs7d43yFugsGJq4AhsqwSRC9AkD \ No newline at end of file +QmXL1tRvJrygM3USRvjFDYuQtybnTw7iSJ4erd5zD5bi6o \ No newline at end of file diff --git a/ipfs-cids/.darwinia-cid b/ipfs-cids/.darwinia-cid index aa7f78b2..cbfd58c5 100644 --- a/ipfs-cids/.darwinia-cid +++ b/ipfs-cids/.darwinia-cid @@ -1 +1 @@ -QmUj8R7tcCehDURsLvx9xPWmEZ6yrXXBB3WsX8x4KUngc5 \ No newline at end of file +Qmdo8oeiCppUcjoNNwyt2SfD4HUvNKSY7pmVdLNg5Ry2Ze \ No newline at end of file diff --git a/ipfs-cids/.dock-cid b/ipfs-cids/.dock-cid index 5c408e59..fbdd51d6 100644 --- a/ipfs-cids/.dock-cid +++ b/ipfs-cids/.dock-cid @@ -1 +1 @@ -QmSM8Q1xKcU17AXqajJcBcjPtNTyntzVH7yh31gmEz1HYV \ No newline at end of file +QmP1xXioiLAWY48AXn913NkPEKKDGoJEZ6p7S7zg2jYGHk \ No newline at end of file diff --git a/ipfs-cids/.dora-cid b/ipfs-cids/.dora-cid deleted file mode 100644 index b67ec334..00000000 --- a/ipfs-cids/.dora-cid +++ /dev/null @@ -1 +0,0 @@ -QmTFkJnMEAw8Mn1rGNWPdiC8DZbVMYq2jToeV8m1pAL6e9 \ No newline at end of file diff --git a/ipfs-cids/.efinity-cid b/ipfs-cids/.efinity-cid index a0c35353..951fb527 100644 --- a/ipfs-cids/.efinity-cid +++ b/ipfs-cids/.efinity-cid @@ -1 +1 @@ -QmduJsb2z1JSZG8nU67Dt2AssQx5KUtTSey1bUc6GzeXE3 \ No newline at end of file +Qmdfkv5tTsf7JLpBizube6V5rzZuN1qdLBQDHkSGT37XRZ \ No newline at end of file diff --git a/ipfs-cids/.encointer-cid b/ipfs-cids/.encointer-cid index e30d4942..77fd28aa 100644 --- a/ipfs-cids/.encointer-cid +++ b/ipfs-cids/.encointer-cid @@ -1 +1 @@ -QmSAV15SUREbfQdg5mz56yZjM9P4Ay9icPHPd4drirzsxV \ No newline at end of file +QmW5RdhFpgRh8iiDhZFVsbJsv8BdVcGSajoLiEWy4yKweK \ No newline at end of file diff --git a/ipfs-cids/.energywebx-cid b/ipfs-cids/.energywebx-cid index 270408a9..993c77f8 100644 --- a/ipfs-cids/.energywebx-cid +++ b/ipfs-cids/.energywebx-cid @@ -1 +1 @@ -QmUX3VPcRBFkN813wmBsqn4ZVsTnwAgMdsVtD73RfkjtZy \ No newline at end of file +QmRhsXMGBrjKK6vutbU3tcTiaApEfutmBUr3FyEhrLFeEv \ No newline at end of file diff --git a/ipfs-cids/.enjin-matrixchain-cid b/ipfs-cids/.enjin-matrixchain-cid index 125789f9..fe805959 100644 --- a/ipfs-cids/.enjin-matrixchain-cid +++ b/ipfs-cids/.enjin-matrixchain-cid @@ -1 +1 @@ -QmTyC2QqLH5hY5zTcJXrfyvCtH51AtoRMKoXowG4jfQsSF \ No newline at end of file +QmVLdxMjgiagHfKVuCSnnuJ87ZZcwiitW3NCHNFzEmbKjg \ No newline at end of file diff --git a/ipfs-cids/.equilibrium-cid b/ipfs-cids/.equilibrium-cid new file mode 100644 index 00000000..8a14cbb7 --- /dev/null +++ b/ipfs-cids/.equilibrium-cid @@ -0,0 +1 @@ +QmW8hx2ru5tFssJgcfRUT97D1rsDHNHvpFshXskyAyNL88 \ No newline at end of file diff --git a/ipfs-cids/.frequency-cid b/ipfs-cids/.frequency-cid index 9feb6615..59950499 100644 --- a/ipfs-cids/.frequency-cid +++ b/ipfs-cids/.frequency-cid @@ -1 +1 @@ -QmQYdvLwNbwCmeo9FKopep9Fcht1QWuonB3UCFqbNgY9zd \ No newline at end of file +QmSo7PShsQ7FFiBR5nZ44fXez4P9YhEMsnjqmkw14axBJo \ No newline at end of file diff --git a/ipfs-cids/.giant-cid b/ipfs-cids/.giant-cid index 081a5803..f4c6edfc 100644 --- a/ipfs-cids/.giant-cid +++ b/ipfs-cids/.giant-cid @@ -1 +1 @@ -QmVuYyuRQnFZWTEsPYvkh3YsixNQThroWgn9TqYyYug2A1 \ No newline at end of file +QmdR5JsYRCN9jUo7qADtg5tE3MzvJe9cBod1HMinPtytvj \ No newline at end of file diff --git a/ipfs-cids/.gm-network-cid b/ipfs-cids/.gm-network-cid index b0b12bc2..c8a0a2de 100644 --- a/ipfs-cids/.gm-network-cid +++ b/ipfs-cids/.gm-network-cid @@ -1 +1 @@ -QmYiKknVzH3iM6ZrojuXTK3h2egiAkJZFVvbhQGBqJnjeu \ No newline at end of file +QmQqnv9FGPedZW5c36LArGtqFNnYJWzLKe9nYoGfDeXjMa \ No newline at end of file diff --git a/ipfs-cids/.hashed_network-cid b/ipfs-cids/.hashed_network-cid index 34787119..98bcad24 100644 --- a/ipfs-cids/.hashed_network-cid +++ b/ipfs-cids/.hashed_network-cid @@ -1 +1 @@ -QmRx32gohJBLPBdk8SWnPQhvrzNs1XHMffpJkLaYFqcvx5 \ No newline at end of file +QmVkFKpsngBvhbpdFwUcGVbxjRPogmJFBx82dLGZULUJDV \ No newline at end of file diff --git a/ipfs-cids/.hydra-cid b/ipfs-cids/.hydra-cid index 2e9cee83..d9d8adee 100644 --- a/ipfs-cids/.hydra-cid +++ b/ipfs-cids/.hydra-cid @@ -1 +1 @@ -QmcLEzaNKuXCvSYe2ss7u64Y5UwKEGoE8TapDjhkqXe4v8 \ No newline at end of file +Qmc9NHGCfZmCq1NUyq3JgyEasSKj484zfwJU2qc2T99QuR \ No newline at end of file diff --git a/ipfs-cids/.imbue-cid b/ipfs-cids/.imbue-cid index 61fa0989..c250258f 100644 --- a/ipfs-cids/.imbue-cid +++ b/ipfs-cids/.imbue-cid @@ -1 +1 @@ -QmQZX2KQL3HVcHgrfyn5NeH31XRvk8VHskm1h5PitdFMFL \ No newline at end of file +QmWGGzPME9QETodvKVF9hBGezxqZ6Y7aNYMtEAp5VY6x3c \ No newline at end of file diff --git a/ipfs-cids/.integritee-cid b/ipfs-cids/.integritee-cid index 53a61c29..49dd4029 100644 --- a/ipfs-cids/.integritee-cid +++ b/ipfs-cids/.integritee-cid @@ -1 +1 @@ -QmYMaz9NVdkeyhXLvaXF2zrhmuChSvJbjJr7GVwfuTcUoK \ No newline at end of file +QmNU93D3M7Xp2bAooHst4X2G63Kn4gt2DrWdx59ZgPu8hB \ No newline at end of file diff --git a/ipfs-cids/.interlay-cid b/ipfs-cids/.interlay-cid index e0803581..dd66082c 100644 --- a/ipfs-cids/.interlay-cid +++ b/ipfs-cids/.interlay-cid @@ -1 +1 @@ -QmYh8D96rgsWQGtrmdt3rJkV657zAMgfGJeTaoFx169KzF \ No newline at end of file +QmXVwgQGPctSLAAc5hpefvAxGjAZ8njp8ovUayhVV6ed9V \ No newline at end of file diff --git a/ipfs-cids/.joystream-cid b/ipfs-cids/.joystream-cid index 87236ec0..cb8b699e 100644 --- a/ipfs-cids/.joystream-cid +++ b/ipfs-cids/.joystream-cid @@ -1 +1 @@ -Qmcs53NGUfvZSfyz7R18Nz3EaV6tohjTd3YWFTupUMo839 \ No newline at end of file +QmdqJWNjiNXQYx6TpRPCq7rnRWpk66nb1RfGVpAHLjxGQn \ No newline at end of file diff --git a/ipfs-cids/.jur-cid b/ipfs-cids/.jur-cid index 293f28d0..46f7d746 100644 --- a/ipfs-cids/.jur-cid +++ b/ipfs-cids/.jur-cid @@ -1 +1 @@ -QmTQHpQTWpvpVUowwL7p4pbEFQ6Q1a33wNve1ENXDaZ44j \ No newline at end of file +QmYHYPTsWBU8X4zmQhUUqjqHxutCRk1u81rdsAup3wzt8W \ No newline at end of file diff --git a/ipfs-cids/.kabocha-cid b/ipfs-cids/.kabocha-cid index 56834a2d..291bdf11 100644 --- a/ipfs-cids/.kabocha-cid +++ b/ipfs-cids/.kabocha-cid @@ -1 +1 @@ -QmYVbGiwSajpXk2pEeqJGhUPdDTwuvg1vgmJq3RwkSfkXF \ No newline at end of file +QmR6rtCkjc7VyLr7ZZYMJSMob7spfXBSmaujppNgZMwEHh \ No newline at end of file diff --git a/ipfs-cids/.kapex-cid b/ipfs-cids/.kapex-cid index d52b069f..1dcce13c 100644 --- a/ipfs-cids/.kapex-cid +++ b/ipfs-cids/.kapex-cid @@ -1 +1 @@ -QmU5Z7ZdaFv2Nph2cWssTiwfZ5Q2vfREPuzBUt6rTH22N6 \ No newline at end of file +QmP6nv16sdPHZnEhM7bXgZnzMjwV1BFEZqvMiBnLmft7xH \ No newline at end of file diff --git a/ipfs-cids/.karura-cid b/ipfs-cids/.karura-cid index d67b37cd..231f66a8 100644 --- a/ipfs-cids/.karura-cid +++ b/ipfs-cids/.karura-cid @@ -1 +1 @@ -QmUVcAFdouEgdXEhJTEtjSdP8Qr15WQLU2cSRbWAwUQofV \ No newline at end of file +Qmc1CLuuTYuDEeijANF3haewBcJfaQR2y9PZ9TfX1snLWp \ No newline at end of file diff --git a/ipfs-cids/.khala-cid b/ipfs-cids/.khala-cid index a5cf733b..32b2b36e 100644 --- a/ipfs-cids/.khala-cid +++ b/ipfs-cids/.khala-cid @@ -1 +1 @@ -Qmc2gnUAMQ2eesJeXkHWBFDShjH5cnob2H7fYDSi1a2ccZ \ No newline at end of file +QmYzEU8Pms2juHWjadTe7w9qgvrx5B3vX7TUAsjcuAnLDA \ No newline at end of file diff --git a/ipfs-cids/.kico-cid b/ipfs-cids/.kico-cid deleted file mode 100644 index 100bcc6e..00000000 --- a/ipfs-cids/.kico-cid +++ /dev/null @@ -1 +0,0 @@ -QmTnoXgTjT184XxLwVsRRKowbZ5siEFHyoAknbtZdVEwmW \ No newline at end of file diff --git a/ipfs-cids/.kilt-cid b/ipfs-cids/.kilt-cid index 51918f07..60526f49 100644 --- a/ipfs-cids/.kilt-cid +++ b/ipfs-cids/.kilt-cid @@ -1 +1 @@ -QmYRvaFZv5FJEwpZvKxu9DPLdHQLKzYsp4V4ZqexRdmXHR \ No newline at end of file +QmXwC82A3TsoqXYy8fkurhJDLH6Bvz3JwrrLcdLUjyLDqE \ No newline at end of file diff --git a/ipfs-cids/.kintsugi-cid b/ipfs-cids/.kintsugi-cid index 6d16dc17..f8c0ab58 100644 --- a/ipfs-cids/.kintsugi-cid +++ b/ipfs-cids/.kintsugi-cid @@ -1 +1 @@ -QmacspHDzfVaQfkxqxUAwKZsQi9B4V5Qpx5Zxhjt1Xsurv \ No newline at end of file +QmeHpoGDZEkUrjkQyyriVubKupJgKZ6qBwdqqsFHQmWuQx \ No newline at end of file diff --git a/ipfs-cids/.krest-cid b/ipfs-cids/.krest-cid index 707f574c..0a8f7f64 100644 --- a/ipfs-cids/.krest-cid +++ b/ipfs-cids/.krest-cid @@ -1 +1 @@ -Qmc1vVEb9rVewG5uwcfYv8toi7ExdGZ5eUsKVgk8gbymTC \ No newline at end of file +QmQUUAVT28AkmLCLrzhhEVcLTfqK1UF67PfqHpC2a1UP7z \ No newline at end of file diff --git a/ipfs-cids/.kusama-cid b/ipfs-cids/.kusama-cid index 81fd1d8f..7d64dc72 100644 --- a/ipfs-cids/.kusama-cid +++ b/ipfs-cids/.kusama-cid @@ -1 +1 @@ -QmZxCUe4kmXwUzvUNHCQrTqShr5ipcqv3nPGoAz1vTZnj8 \ No newline at end of file +QmRSkdQDJF9Kimdg1hMBzqQLUs2JFHAunLnv8ADoy5kZ4z \ No newline at end of file diff --git a/ipfs-cids/.kusama_bridgehub-cid b/ipfs-cids/.kusama_bridgehub-cid index 7fd1af34..ee4ceee3 100644 --- a/ipfs-cids/.kusama_bridgehub-cid +++ b/ipfs-cids/.kusama_bridgehub-cid @@ -1 +1 @@ -QmSJQxQJaaR5m6PMkbWptXqU3Mcmb87j3nLVuYYNZBy2UQ \ No newline at end of file +Qme4oHZMgk2zNP2h1hrNjMbodWTME1AYoMTaarqxjEUEqm \ No newline at end of file diff --git a/ipfs-cids/.kylin-cid b/ipfs-cids/.kylin-cid index 6cfde337..a9a56b45 100644 --- a/ipfs-cids/.kylin-cid +++ b/ipfs-cids/.kylin-cid @@ -1 +1 @@ -QmbrAD8YBZWD3FPGpMZDqVvVkzCk7UMj3KmKDz31f9SqT3 \ No newline at end of file +QmUaDeZuEZhaCcPwHGvXwCkvinYXNQGWJHsaSVF3kkwcgv \ No newline at end of file diff --git a/ipfs-cids/.litentry-cid b/ipfs-cids/.litentry-cid index 3f8e4f21..ab2dd9f9 100644 --- a/ipfs-cids/.litentry-cid +++ b/ipfs-cids/.litentry-cid @@ -1 +1 @@ -QmYBQ2tQeAp97KNJEsv3X37Y3PQNLA2bhKMsk1H3fUrCWn \ No newline at end of file +Qmf4dguJr19mv7JacmJNFJQcHRv4du6aT8KjX9uWopwbEh \ No newline at end of file diff --git a/ipfs-cids/.litmus-cid b/ipfs-cids/.litmus-cid index 563af0a3..7325767a 100644 --- a/ipfs-cids/.litmus-cid +++ b/ipfs-cids/.litmus-cid @@ -1 +1 @@ -QmNzXwHTSMUHwFo4vXtKkMNXEY99YeQKnChs6LAWxnmQcQ \ No newline at end of file +QmTMKUMEVu5vgRwS4raEsrpowYU2JQEc7Y9hhEVkLPZZkd \ No newline at end of file diff --git a/ipfs-cids/.manta-cid b/ipfs-cids/.manta-cid index 43b80565..19ff7bc4 100644 --- a/ipfs-cids/.manta-cid +++ b/ipfs-cids/.manta-cid @@ -1 +1 @@ -QmatFmxu7ZALVnasojm1zqV1xTQeiT9RDAvngC2mAprewV \ No newline at end of file +QmU1fK6a9puuwi8LqiRHDkGPUETmbaTN65xb7TfcodBSAe \ No newline at end of file diff --git a/ipfs-cids/.moonbeam-cid b/ipfs-cids/.moonbeam-cid index 07e2db11..b00ffdde 100644 --- a/ipfs-cids/.moonbeam-cid +++ b/ipfs-cids/.moonbeam-cid @@ -1 +1 @@ -QmNXxsHKXzXQeUshVms4KXb95Jyws29vv9aT52ton5ANcB \ No newline at end of file +QmVKgZVncw7k5diesYfnSMKseF2ikdi71YT1MShg6Wpzsf \ No newline at end of file diff --git a/ipfs-cids/.moonriver-cid b/ipfs-cids/.moonriver-cid index 5d902c77..7ebcccac 100644 --- a/ipfs-cids/.moonriver-cid +++ b/ipfs-cids/.moonriver-cid @@ -1 +1 @@ -QmSwWWzWXQeBfhzxCTVWtV3Gx1mzHwHkGwXR27cUDgQtSn \ No newline at end of file +QmakVxKt6PJWYbtMUwJQE2cw5pkz4Fm8ZAKB6ZR4LL9b3f \ No newline at end of file diff --git a/ipfs-cids/.myriad-cid b/ipfs-cids/.myriad-cid index 0d97d284..690f3fbb 100644 --- a/ipfs-cids/.myriad-cid +++ b/ipfs-cids/.myriad-cid @@ -1 +1 @@ -QmbjJgdYGXwLQm6JzZSnKg7nvTni2orJURD4C3vVpkoScp \ No newline at end of file +QmRQYegPQsWVGFCYrjqt5179PxTus84BTpEWri62TnWaFn \ No newline at end of file diff --git a/ipfs-cids/.mythos-cid b/ipfs-cids/.mythos-cid index b81da2d1..d566a4e0 100644 --- a/ipfs-cids/.mythos-cid +++ b/ipfs-cids/.mythos-cid @@ -1 +1 @@ -QmetCqt3jHYTS2SCLqti8tr1kg29h7AgJ3pnsgnpFXjnFd \ No newline at end of file +QmSQyDA7WnDmZAigdn3QwgyRqwv4qUE27r7JpJRTjH9nHE \ No newline at end of file diff --git a/ipfs-cids/.nodle-cid b/ipfs-cids/.nodle-cid index 0f7f4b66..a4feae5d 100644 --- a/ipfs-cids/.nodle-cid +++ b/ipfs-cids/.nodle-cid @@ -1 +1 @@ -Qmbo1iSoyGkPSZZmM37SLtJxjddvQhsdtXBCsMQDwXR5ih \ No newline at end of file +QmcF9KQbX7BwbauyfRpPvhdkFbq1gK71veA7iKGfhEFuDT \ No newline at end of file diff --git a/ipfs-cids/.origin-trail-cid b/ipfs-cids/.origin-trail-cid index 2bbffba3..dd68a17e 100644 --- a/ipfs-cids/.origin-trail-cid +++ b/ipfs-cids/.origin-trail-cid @@ -1 +1 @@ -QmYPG29C83JJEBfpkkLjPWww8YeC3MfxUfx8TPpde8TZo2 \ No newline at end of file +QmSqFoyB6YBsg8puG2xN9V1r2PLfbc7MuDizSR2usGQ3Dq \ No newline at end of file diff --git a/ipfs-cids/.parallel-cid b/ipfs-cids/.parallel-cid index 1d06b33a..79a1ceea 100644 --- a/ipfs-cids/.parallel-cid +++ b/ipfs-cids/.parallel-cid @@ -1 +1 @@ -QmSkLW7Tg37CzKSHuwdYkKfBbbLti5N43CGrbV5NPRhmug \ No newline at end of file +QmPMJpfCp1QRfuQGzDgWfNHqdjXn75rXk8GeBLMzBig5CE \ No newline at end of file diff --git a/ipfs-cids/.parallel-heiko-cid b/ipfs-cids/.parallel-heiko-cid index ca1ac6a9..e0a0341e 100644 --- a/ipfs-cids/.parallel-heiko-cid +++ b/ipfs-cids/.parallel-heiko-cid @@ -1 +1 @@ -Qmahpr5kdk1KYxcjpiEdPcQiBNMxZnCE99Dnj4PeirUCxG +QmR2Fvv6g6idc3K79CxFW888JtArUBJZtkEXNixfL7hKQT \ No newline at end of file diff --git a/ipfs-cids/.pendulum-cid b/ipfs-cids/.pendulum-cid index 45c1f7ac..8d2a177b 100644 --- a/ipfs-cids/.pendulum-cid +++ b/ipfs-cids/.pendulum-cid @@ -1 +1 @@ -QmUeqsYWxaWhEbfFR2yK8DMT2Kc7ePFeAUcdWCgPQTcHDW \ No newline at end of file +QmbDAyQunPBHdYocNsm1ntTMhk4Q4VwLGULM8xHQHT6S4n \ No newline at end of file diff --git a/ipfs-cids/.phala-cid b/ipfs-cids/.phala-cid index 34bc19bd..4c09667a 100644 --- a/ipfs-cids/.phala-cid +++ b/ipfs-cids/.phala-cid @@ -1 +1 @@ -QmSXLpEQ8EKssYkJTU3kvMYfvaFfC2EatJ7KGW5GuvsTwU \ No newline at end of file +QmQ6Z9j7JPdT8Jni1ELneyZobyx5naLSzgK6jwQaG6gCho \ No newline at end of file diff --git a/ipfs-cids/.picasso-cid b/ipfs-cids/.picasso-cid index b204eba8..ac362179 100644 --- a/ipfs-cids/.picasso-cid +++ b/ipfs-cids/.picasso-cid @@ -1 +1 @@ -Qmb4zLsUo9N3mZ4XaDku4dhSyJqfanjKaomAx8aFrcX8Ya \ No newline at end of file +QmYnHFHv7rXNJQmoY4G8WPKGw1sx3NpbVL5RkBnRdLN4DD \ No newline at end of file diff --git a/ipfs-cids/.pichiu-cid b/ipfs-cids/.pichiu-cid deleted file mode 100644 index 884b74f6..00000000 --- a/ipfs-cids/.pichiu-cid +++ /dev/null @@ -1 +0,0 @@ -QmdJkEYvvLTsvH5oQp1EzPxwUQoNN3fYFmJLYfHdrVNqa1 \ No newline at end of file diff --git a/ipfs-cids/.polimec-cid b/ipfs-cids/.polimec-cid index ee2d4ee1..3f443d33 100644 --- a/ipfs-cids/.polimec-cid +++ b/ipfs-cids/.polimec-cid @@ -1 +1 @@ -Qmdn7UaCKAg7BqWG5VnQGqu2urFVQpL8mThQ3PtuXvAqdZ \ No newline at end of file +Qmdd6MmS6imjhAMo8S6m4qfWBqU6KpEGEwj6xnL7fUhy1t \ No newline at end of file diff --git a/ipfs-cids/.polkadex-cid b/ipfs-cids/.polkadex-cid index ae6edd48..3c1ab449 100644 --- a/ipfs-cids/.polkadex-cid +++ b/ipfs-cids/.polkadex-cid @@ -1 +1 @@ -QmbC4wgmR3pyMPv4M8bBorWm1mtanAXvHeXh3VWiihYo7M \ No newline at end of file +QmbwPQChQAd6xEpDHrvZzEnYzJEpZBpxWMvbm6ARsiCUPF \ No newline at end of file diff --git a/ipfs-cids/.polkadot-cid b/ipfs-cids/.polkadot-cid index 4d5e5b39..f563680e 100644 --- a/ipfs-cids/.polkadot-cid +++ b/ipfs-cids/.polkadot-cid @@ -1 +1 @@ -QmQcPMkUd63AKSJYki1J8omYREKTQKeq87E3nxTiZe89sF \ No newline at end of file +Qmf2Pxk9iT2YbKKLtmC7Q8qzxM3fq4skNhCPJBGZULrK7n \ No newline at end of file diff --git a/ipfs-cids/.polkadot_bridgehub-cid b/ipfs-cids/.polkadot_bridgehub-cid index ab0f79e2..c273badb 100644 --- a/ipfs-cids/.polkadot_bridgehub-cid +++ b/ipfs-cids/.polkadot_bridgehub-cid @@ -1 +1 @@ -QmaKoo6Hs15bvmfirQjdbZz7FhMRJ7Vkj5TESfFPEmg6Ug \ No newline at end of file +QmVKoMvFYSSSZLx7nvTVi1Ew6awZTTL7pwQ4wvJiRSSq87 \ No newline at end of file diff --git a/ipfs-cids/.polkadot_collectives-cid b/ipfs-cids/.polkadot_collectives-cid index ddee5191..a591eedc 100644 --- a/ipfs-cids/.polkadot_collectives-cid +++ b/ipfs-cids/.polkadot_collectives-cid @@ -1 +1 @@ -QmQk6KtiGWhdWHSAyWqgABFQv3uTTVLPQCtEs4vzMa4ept \ No newline at end of file +QmV2LXzzxYWq5bPmoKYDxMixjkJ5nEhQduWLp7zFnMgJQc \ No newline at end of file diff --git a/ipfs-cids/.polymesh-cid b/ipfs-cids/.polymesh-cid index 7e99510e..f2e557fa 100644 --- a/ipfs-cids/.polymesh-cid +++ b/ipfs-cids/.polymesh-cid @@ -1 +1 @@ -QmPVGbUBi1vqzprgQfbbsqFtsZcMiN1TmLMLG2Zaz2ceyn \ No newline at end of file +QmTTLsxnagHBXRY5L2iZp3ae5aGi1GVWxWaax3QFizDgHv \ No newline at end of file diff --git a/ipfs-cids/.project-cid b/ipfs-cids/.project-cid new file mode 100644 index 00000000..5588ac1c --- /dev/null +++ b/ipfs-cids/.project-cid @@ -0,0 +1 @@ +Qmd1y1NdeQy7XbvdG9BRDaty1WrxEqnFviGyzBZk5eAVnP \ No newline at end of file diff --git a/ipfs-cids/.quartz-cid b/ipfs-cids/.quartz-cid index 7f47f672..66960c79 100644 --- a/ipfs-cids/.quartz-cid +++ b/ipfs-cids/.quartz-cid @@ -1 +1 @@ -QmdNTQ5qtNYzeYEaPcnQ3V7dhZaSYAed3RG9996Zke69bH \ No newline at end of file +QmWAjctGSeqjzFuEq9ZJjwcqxyjUFHDipwXDyS4nbaUJHg \ No newline at end of file diff --git a/ipfs-cids/.rococo-assethub-cid b/ipfs-cids/.rococo-assethub-cid index 1ba692b9..0ce3b301 100644 --- a/ipfs-cids/.rococo-assethub-cid +++ b/ipfs-cids/.rococo-assethub-cid @@ -1 +1 @@ -Qmctz9qki2DFujJNSEpTSUiptuZRhDZ8cS85ANkiceDFA5 \ No newline at end of file +QmQR9fTu9inS3CkarkApFRWTNbMajFYYK9JMThryeSzFyv \ No newline at end of file diff --git a/ipfs-cids/.shadow-cid b/ipfs-cids/.shadow-cid index 588e3c5b..33da9590 100644 --- a/ipfs-cids/.shadow-cid +++ b/ipfs-cids/.shadow-cid @@ -1 +1 @@ -QmYUNFcaZYFZQDBTwzW9BYXCTa3YHUFetLt7kkR7585U44 \ No newline at end of file +QmQKHgVWuoZjMnT7uz3topeeUXYCFDphdma3YKvDLKanWW \ No newline at end of file diff --git a/ipfs-cids/.shiden-cid b/ipfs-cids/.shiden-cid index ad679102..da95619f 100644 --- a/ipfs-cids/.shiden-cid +++ b/ipfs-cids/.shiden-cid @@ -1 +1 @@ -QmNNvadrykG5MiypR8boefF5k2Ucy9quxCwkC1iNnsQgdW \ No newline at end of file +QmamoQFLKLfXcarDBZv7NeCPU7E5VLfvcwUYKnURKLiS6H \ No newline at end of file diff --git a/ipfs-cids/.statemine-cid b/ipfs-cids/.statemine-cid index 46c2f100..dfb917f9 100644 --- a/ipfs-cids/.statemine-cid +++ b/ipfs-cids/.statemine-cid @@ -1 +1 @@ -QmUvbTgymvFVv6QirzD6AAmCB87VYyGAmg1p26k7vforg7 \ No newline at end of file +QmZ87g25qFSxfRU7TG5QksATY5RgQDqvCBvtTJAqWLBaw1 \ No newline at end of file diff --git a/ipfs-cids/.statemint-cid b/ipfs-cids/.statemint-cid index 1ed072b5..809eb558 100644 --- a/ipfs-cids/.statemint-cid +++ b/ipfs-cids/.statemint-cid @@ -1 +1 @@ -Qmeyg65t8YkBPszXNqxZYyTAzxGXYSvf2cRzLFvZvR4ybD \ No newline at end of file +QmbwmcVj5vKmV8AcxW1G1VkWbMYdEdYhKSqzWi6goSQKgR \ No newline at end of file diff --git a/ipfs-cids/.subsocial-cid b/ipfs-cids/.subsocial-cid index 06754911..fabc3241 100644 --- a/ipfs-cids/.subsocial-cid +++ b/ipfs-cids/.subsocial-cid @@ -1 +1 @@ -QmTFk8PrT9HLYSKKM52dRFAY6H3hSjzPHuWZGZgTrwFEiC \ No newline at end of file +QmX2u5ePuETQ2S7Nks3Viqyx2suKchTkQnFZyEeEPdyUq6 \ No newline at end of file diff --git a/ipfs-cids/.tanganika-cid b/ipfs-cids/.tanganika-cid index 51ecfe3a..299e123d 100644 --- a/ipfs-cids/.tanganika-cid +++ b/ipfs-cids/.tanganika-cid @@ -1 +1 @@ -QmeyrEdcko1swec3SZTkcfwaQWGux8EkosbpeXDLdJMjwn \ No newline at end of file +QmeyZbzqri6wq9dS6XcLDeamEXM5Ds7gfxk7ZwyeQinBK2 \ No newline at end of file diff --git a/ipfs-cids/.ternoa-cid b/ipfs-cids/.ternoa-cid index dab9934c..7c09fe03 100644 --- a/ipfs-cids/.ternoa-cid +++ b/ipfs-cids/.ternoa-cid @@ -1 +1 @@ -QmVXZwFotLctmAn5MgrhgXosqbGoQyTRCMkn42t7CPgtNQ \ No newline at end of file +QmSxSrRDDmu4X9U8KfShZC9nGidmLsgZEhHnEYr56f6sYb \ No newline at end of file diff --git a/ipfs-cids/.tinkernet-cid b/ipfs-cids/.tinkernet-cid index a7dc6881..aed27695 100644 --- a/ipfs-cids/.tinkernet-cid +++ b/ipfs-cids/.tinkernet-cid @@ -1 +1 @@ -QmSp6qJ5XndppM4miSX7ST6dWFCLSB6G4XBThBhRFR9rYt \ No newline at end of file +QmVrSeXkBqjcG6c2fXcKp4pahBTvBcbsRrC9dssAHeL7uT \ No newline at end of file diff --git a/ipfs-cids/.turing-cid b/ipfs-cids/.turing-cid index 36c68db1..0fc4a7ae 100644 --- a/ipfs-cids/.turing-cid +++ b/ipfs-cids/.turing-cid @@ -1 +1 @@ -QmewhqxjU8kRXjkqkEimdYDLawrXtg4SsmiiuQSMMseKQp \ No newline at end of file +QmVAj6r4hr1v69Z71C6YDSdTx5bGFH91WKJbBWgd7DfGZo \ No newline at end of file diff --git a/ipfs-cids/.unique-cid b/ipfs-cids/.unique-cid index 5c593757..78579d81 100644 --- a/ipfs-cids/.unique-cid +++ b/ipfs-cids/.unique-cid @@ -1 +1 @@ -QmeXWkYNetgWjHuE2Jy6fK9s95JVhUVNxJ498Cz3cAcaEw \ No newline at end of file +QmdwMm5phAdaG34BkTz22sUYJBTaCefyK6JhPpJ8XfdAtJ \ No newline at end of file diff --git a/ipfs-cids/.vara-cid b/ipfs-cids/.vara-cid index 62414f2b..bf6e6fda 100644 --- a/ipfs-cids/.vara-cid +++ b/ipfs-cids/.vara-cid @@ -1 +1 @@ -Qmd7zgTqFges3x29ddgGhfE8vBX45gqNdRuUhtmGJuEn4u \ No newline at end of file +QmcfaZUGYnLdeXha5A2trMP9FBu8XugPbm8PVfB9z7YEjQ \ No newline at end of file diff --git a/ipfs-cids/.westend-cid b/ipfs-cids/.westend-cid index 4f024c55..606f0c52 100644 --- a/ipfs-cids/.westend-cid +++ b/ipfs-cids/.westend-cid @@ -1 +1 @@ -QmWffzTpd4fCa2Ewpm78BBB76guRruF9zbL2uSai8rMTtX \ No newline at end of file +QmZqqNTxUG2up9AZDPuA698GW9awMRpSCPFggN5ULminab \ No newline at end of file diff --git a/ipfs-cids/.westmint-cid b/ipfs-cids/.westmint-cid index 41c8792f..9d791f58 100644 --- a/ipfs-cids/.westmint-cid +++ b/ipfs-cids/.westmint-cid @@ -1 +1 @@ -QmU7RCEQUUZq6Ngf37YEtfYAyGt21wsLxSg3MPag4iB8JC \ No newline at end of file +QmQpP63PUReN2p4WviSt2bQLdYSiwBprXS1h9ehxSp5GW6 \ No newline at end of file diff --git a/ipfs-cids/.xx-network-cid b/ipfs-cids/.xx-network-cid index 89833e47..2c8b191f 100644 --- a/ipfs-cids/.xx-network-cid +++ b/ipfs-cids/.xx-network-cid @@ -1 +1 @@ -Qmekf2u3WrikiTyMvk3ysgTWQViWGddUtEi3GKT8jCqkgE \ No newline at end of file +QmdCLgoHEdM1E7hvmXNQ5V8oFGFvvS7scr1QK2vgFb4hiB \ No newline at end of file diff --git a/ipfs-cids/.zeitgeist-cid b/ipfs-cids/.zeitgeist-cid index 16a07f57..00a9b516 100644 --- a/ipfs-cids/.zeitgeist-cid +++ b/ipfs-cids/.zeitgeist-cid @@ -1 +1 @@ -Qmc9oU4S8torLuvGcwKmh31pVZeUoeASft6mbYNmd4Bz3C \ No newline at end of file +QmV1Xhb9rP5J2y9V12TSp2mtxP8sP5PNfL9hoknHf1jKSF \ No newline at end of file diff --git a/ipfs-cids/3dpass.yaml b/ipfs-cids/3dpass.yaml deleted file mode 100644 index 70493363..00000000 --- a/ipfs-cids/3dpass.yaml +++ /dev/null @@ -1,57 +0,0 @@ -specVersion: 1.0.0 -name: subquery-nova-3DPass -version: 1.0.0 -runner: - node: - name: '@subql/node' - version: '*' - query: - name: '@subql/query' - version: v1.5.0 -description: Nova SubQuery project -repository: https://github.com/nova-wallet/subquery-nova -schema: - file: ./schema.graphql -network: - chainId: '0x6c5894837ad89b6d92b114a2fb3eafa8fe3d26a54848e3447015442cd6ef4e66' - endpoint: >- - wss://rpc2.3dpass.org -dataSources: - - name: main - kind: substrate/Runtime - startBlock: 1 - mapping: - file: ./dist/index.js - handlers: - - handler: handleHistoryElement - kind: substrate/CallHandler - - handler: handleParachainRewarded - kind: substrate/EventHandler - filter: - module: parachainStaking - method: Rewarded - - handler: handleTransfer - kind: substrate/EventHandler - filter: - module: balances - method: Transfer - - handler: handleAssetTransfer - kind: substrate/EventHandler - filter: - module: assets - method: Transferred - - handler: handleAssetTransfer - kind: substrate/EventHandler - filter: - module: localassets - method: Transferred - - handler: handleCurrencyTransfer - kind: substrate/EventHandler - filter: - module: currencies - method: Transferred - - handler: handleTokenTransfer - kind: substrate/EventHandler - filter: - module: tokens - method: Transfer diff --git a/jest.config.ts b/jest.config.ts index 34180d2f..2a32d14b 100644 --- a/jest.config.ts +++ b/jest.config.ts @@ -1,4 +1,4 @@ export default { - preset: 'ts-jest', - testMatch: ['**/tests/**/*.test.ts'], -} \ No newline at end of file + preset: "ts-jest", + testMatch: ["**/tests/**/*.test.ts"], +}; diff --git a/joystream.yaml b/joystream.yaml index 20322f48..8f868562 100644 --- a/joystream.yaml +++ b/joystream.yaml @@ -3,17 +3,19 @@ name: subquery-nova-joystream version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x6b5e488e0fa8f9821110d5c13f4c468abcd43ce5e297e62b34c53c3346465956' + chainId: "0x6b5e488e0fa8f9821110d5c13f4c468abcd43ce5e297e62b34c53c3346465956" endpoint: >- wss://rpc.joystream.org dataSources: diff --git a/jur.yaml b/jur.yaml index 779e5762..a7e26053 100644 --- a/jur.yaml +++ b/jur.yaml @@ -3,17 +3,17 @@ name: subquery-nova-jur version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x58d1393b47b11707978fbc07e77d7b6f7d9aa88d207dc008a52385f7dba6156a' + chainId: "0x58d1393b47b11707978fbc07e77d7b6f7d9aa88d207dc008a52385f7dba6156a" endpoint: >- wss://jur-mainnet-archive-rpc-1.icebergnodes.io chaintypes: diff --git a/kabocha.yaml b/kabocha.yaml index 8297d289..f20a66ab 100644 --- a/kabocha.yaml +++ b/kabocha.yaml @@ -3,17 +3,19 @@ name: subquery-nova-kabocha version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0xfeb426ca713f0f46c96465b8f039890370cf6bfd687c9076ea2843f58a6ae8a7' + chainId: "0xfeb426ca713f0f46c96465b8f039890370cf6bfd687c9076ea2843f58a6ae8a7" endpoint: wss://kabocha.jelliedowl.com dataSources: - name: main diff --git a/kapex.yaml b/kapex.yaml index 915d64da..59e0d011 100644 --- a/kapex.yaml +++ b/kapex.yaml @@ -3,17 +3,19 @@ name: subquery-nova-pichiu version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x7838c3c774e887c0a53bcba9e64f702361a1a852d5550b86b58cd73827fa1e1e' + chainId: "0x7838c3c774e887c0a53bcba9e64f702361a1a852d5550b86b58cd73827fa1e1e" endpoint: wss://k-ui.kapex.network dataSources: - name: main diff --git a/karura.yaml b/karura.yaml index 72c89fb7..bdf93214 100644 --- a/karura.yaml +++ b/karura.yaml @@ -3,17 +3,19 @@ name: subquery-nova-karura version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0xbaf5aabe40646d11f0ee8abbdc64f4a4b7674925cba08e4a05ff9ebed6e2126b' + chainId: "0xbaf5aabe40646d11f0ee8abbdc64f4a4b7674925cba08e4a05ff9ebed6e2126b" endpoint: >- wss://karura.polkawallet.io dictionary: https://api.subquery.network/sq/AcalaNetwork/karura-dictionary diff --git a/khala.yaml b/khala.yaml index 92c530c4..78ca32b6 100644 --- a/khala.yaml +++ b/khala.yaml @@ -3,17 +3,19 @@ name: subquery-nova-khala version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0xd43540ba6d3eb4897c28a77d48cb5b729fea37603cbbfc7a86a73b72adb3be8d' + chainId: "0xd43540ba6d3eb4897c28a77d48cb5b729fea37603cbbfc7a86a73b72adb3be8d" endpoint: wss://khala-rpc.dwellir.com dictionary: https://api.subquery.network/sq/subquery/khala-dictionary chaintypes: diff --git a/kilt.yaml b/kilt.yaml index af7821ea..83d86d15 100644 --- a/kilt.yaml +++ b/kilt.yaml @@ -3,17 +3,19 @@ name: subquery-nova-kilt version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x411f057b9107718c9624d6aa4a3f23c1653898297f3d4d529d9bb6511a39dd21' + chainId: "0x411f057b9107718c9624d6aa4a3f23c1653898297f3d4d529d9bb6511a39dd21" endpoint: >- wss://kilt-rpc.dwellir.com chaintypes: diff --git a/kintsugi.yaml b/kintsugi.yaml index 2d2f2781..a8afc865 100644 --- a/kintsugi.yaml +++ b/kintsugi.yaml @@ -3,17 +3,19 @@ name: subquery-nova-kintsugi version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x9af9a64e6e4da8e3073901c3ff0cc4c3aad9563786d89daf6ad820b6e14a0b8b' + chainId: "0x9af9a64e6e4da8e3073901c3ff0cc4c3aad9563786d89daf6ad820b6e14a0b8b" endpoint: >- wss://kintsugi.api.onfinality.io/public-ws chaintypes: diff --git a/krest.yaml b/krest.yaml index 3a9ff1b6..67cd01d1 100644 --- a/krest.yaml +++ b/krest.yaml @@ -3,17 +3,17 @@ name: subquery-nova-krest version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0xb3dd5ad6a82872b30aabaede8f41dfd4ff6c32ff82f8757d034a45be63cf104c' + chainId: "0xb3dd5ad6a82872b30aabaede8f41dfd4ff6c32ff82f8757d034a45be63cf104c" endpoint: >- wss://archive-node.peaq.network chaintypes: diff --git a/kusama.yaml b/kusama.yaml index 068c36ed..44dca87a 100644 --- a/kusama.yaml +++ b/kusama.yaml @@ -3,17 +3,19 @@ name: subquery-nova-kusama version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0xb0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafe' + chainId: "0xb0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafe" endpoint: wss://kusama-rpc.dwellir.com dictionary: https://api.subquery.network/sq/subquery/dictionary-kusama dataSources: diff --git a/kusama_bridgehub.yaml b/kusama_bridgehub.yaml index c42498bc..357d4a7e 100644 --- a/kusama_bridgehub.yaml +++ b/kusama_bridgehub.yaml @@ -3,17 +3,17 @@ name: subquery-nova-kusama-bridgehub version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x00dcb981df86429de8bbacf9803401f09485366c44efbf53af9ecfab03adc7e5' + chainId: "0x00dcb981df86429de8bbacf9803401f09485366c44efbf53af9ecfab03adc7e5" endpoint: >- wss://kusama-bridge-hub-rpc.polkadot.io dataSources: diff --git a/kylin.yaml b/kylin.yaml index 37acb2ad..2d03389d 100644 --- a/kylin.yaml +++ b/kylin.yaml @@ -3,17 +3,19 @@ name: subquery-nova-pichiu version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0xf2584690455deda322214e97edfffaf4c1233b6e4625e39478496b3e2f5a44c5' + chainId: "0xf2584690455deda322214e97edfffaf4c1233b6e4625e39478496b3e2f5a44c5" endpoint: wss://polkadot.kylin-node.co.uk chaintypes: file: ./dist/kylinChaintypes.js diff --git a/litentry.yaml b/litentry.yaml index b404d2ba..5870683e 100644 --- a/litentry.yaml +++ b/litentry.yaml @@ -3,17 +3,19 @@ name: subquery-nova-litentry version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x2fc8bb6ed7c0051bdcf4866c322ed32b6276572713607e3297ccf411b8f14aa9' + chainId: "0x2fc8bb6ed7c0051bdcf4866c322ed32b6276572713607e3297ccf411b8f14aa9" endpoint: wss://rpc.litentry-parachain.litentry.io dataSources: - name: main diff --git a/litmus.yaml b/litmus.yaml index a7d7a0cc..d1b698c7 100644 --- a/litmus.yaml +++ b/litmus.yaml @@ -3,17 +3,19 @@ name: subquery-nova-litmus version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0xda5831fbc8570e3c6336d0d72b8c08f8738beefec812df21ef2afc2982ede09c' + chainId: "0xda5831fbc8570e3c6336d0d72b8c08f8738beefec812df21ef2afc2982ede09c" endpoint: wss://rpc.litmus-parachain.litentry.io dataSources: - name: main diff --git a/local-runner.sh b/local-runner.sh old mode 100644 new mode 100755 index 095cb29a..3d04a613 --- a/local-runner.sh +++ b/local-runner.sh @@ -21,4 +21,4 @@ set -e yarn yarn codegen yarn build -yarn start:docker \ No newline at end of file +yarn start:docker diff --git a/manta.yaml b/manta.yaml index a0c69b8d..1c0c70b0 100644 --- a/manta.yaml +++ b/manta.yaml @@ -3,17 +3,19 @@ name: subquery-nova-manta version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0xf3c7ad88f6a80f366c4be216691411ef0622e8b809b1046ea297ef106058d4eb' + chainId: "0xf3c7ad88f6a80f366c4be216691411ef0622e8b809b1046ea297ef106058d4eb" endpoint: wss://ws.manta.systems dataSources: - name: main diff --git a/avail-turing-test.yaml b/migrations/kusama_21570001.yaml similarity index 81% rename from avail-turing-test.yaml rename to migrations/kusama_21570001.yaml index f4ec5744..a7cad65f 100644 --- a/avail-turing-test.yaml +++ b/migrations/kusama_21570001.yaml @@ -1,22 +1,26 @@ specVersion: 1.0.0 -name: subquery-nova-avail-turing-test +name: subquery-common-api-polkadot-transactions-kusama version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql +parent: + block: 21570001 + reference: QmXjqEMSndR2F6A7ZKKNJ4j6xF363bCGkheADsc5PJySV1 network: - chainId: '0xd3d2f3a3495dc597434a99d7d449ebad6616db45e4e4f178f31cc6fa14378b70' - endpoint: wss://turing-rpc.avail.so/ws - chaintypes: - file: ./dist/availChainTypes.js + chainId: "0xb0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafe" + endpoint: wss://kusama-rpc.dwellir.com + dictionary: https://api.subquery.network/sq/subquery/dictionary-kusama dataSources: - name: main kind: substrate/Runtime diff --git a/migrations/kusama_22790000.yaml b/migrations/kusama_22790000.yaml new file mode 100644 index 00000000..72ceac9c --- /dev/null +++ b/migrations/kusama_22790000.yaml @@ -0,0 +1,84 @@ +specVersion: 1.0.0 +name: subquery-common-api-polkadot-transactions-kusama +version: 1.0.0 +runner: + node: + name: "@subql/node" + version: ">= 4.6.3" + options: + historical: true + query: + name: "@subql/query" + version: "*" +description: Nova SubQuery project +repository: https://github.com/nova-wallet/subquery-nova +parent: + reference: QmWS4bvLU9Y1YBkrcDBq3Z7enZf8LykeyjSvgVKjB7FSVz + untilBlock: 22790000 +schema: + file: ./schema.graphql +network: + chainId: "0xb0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafe" + endpoint: wss://kusama-rpc.dwellir.com + dictionary: https://api.subquery.network/sq/subquery/dictionary-kusama +dataSources: + - name: main + kind: substrate/Runtime + startBlock: 1 + mapping: + file: ./dist/index.js + handlers: + - handler: handleHistoryElement + kind: substrate/CallHandler + filter: + isSigned: true + - handler: handleReward + kind: substrate/EventHandler + filter: + module: staking + method: Reward + - handler: handleRewarded + kind: substrate/EventHandler + filter: + module: staking + method: Rewarded + - handler: handlePoolReward + kind: substrate/EventHandler + filter: + module: nominationPools + method: PaidOut + - handler: handleSlash + kind: substrate/EventHandler + filter: + module: staking + method: Slash + - handler: handleSlashed + kind: substrate/EventHandler + filter: + module: staking + method: Slashed + - handler: handlePoolBondedSlash + kind: substrate/EventHandler + filter: + module: nominationPools + method: PoolSlashed + - handler: handlePoolUnbondingSlash + kind: substrate/EventHandler + filter: + module: nominationPools + method: UnbondingPoolSlashed + - handler: handleTransfer + kind: substrate/EventHandler + filter: + module: balances + method: Transfer + - handler: handleNewEra + kind: substrate/EventHandler + filter: + module: staking + method: StakingElection + - handler: handleStakersElected + kind: substrate/EventHandler + filter: + module: staking + method: StakersElected diff --git a/migrations/polkadot_19191763.yaml b/migrations/polkadot_19191763.yaml new file mode 100644 index 00000000..f7597024 --- /dev/null +++ b/migrations/polkadot_19191763.yaml @@ -0,0 +1,85 @@ +specVersion: 1.0.0 +name: subquery-common-api-polkadot-transactions-polkadot +version: 1.0.0 +runner: + node: + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true + query: + name: "@subql/query" + version: "*" +description: Nova SubQuery project +repository: https://github.com/nova-wallet/subquery-nova +schema: + file: ./schema.graphql +parent: + reference: QmaKL376q6hmmsEAAeaFjKGDXJUjPp9qRPC1qjkNNUNomR + block: 19191763 +network: + chainId: "0x91b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3" + endpoint: >- + wss://polkadot.api.onfinality.io/public-ws + dictionary: https://api.subquery.network/sq/subquery/dictionary-polkadot +dataSources: + - name: main + kind: substrate/Runtime + startBlock: 1 + mapping: + file: ./dist/index.js + handlers: + - handler: handleHistoryElement + kind: substrate/CallHandler + filter: + isSigned: true + - handler: handleReward + kind: substrate/EventHandler + filter: + module: staking + method: Reward + - handler: handleRewarded + kind: substrate/EventHandler + filter: + module: staking + method: Rewarded + - handler: handlePoolReward + kind: substrate/EventHandler + filter: + module: nominationPools + method: PaidOut + - handler: handleSlash + kind: substrate/EventHandler + filter: + module: staking + method: Slash + - handler: handleSlashed + kind: substrate/EventHandler + filter: + module: staking + method: Slashed + - handler: handlePoolBondedSlash + kind: substrate/EventHandler + filter: + module: nominationPools + method: PoolSlashed + - handler: handlePoolUnbondingSlash + kind: substrate/EventHandler + filter: + module: nominationPools + method: UnbondingPoolSlashed + - handler: handleTransfer + kind: substrate/EventHandler + filter: + module: balances + method: Transfer + - handler: handleNewEra + kind: substrate/EventHandler + filter: + module: staking + method: StakingElection + - handler: handleStakersElected + kind: substrate/EventHandler + filter: + module: staking + method: StakersElected diff --git a/migrations/polkadot_20438530.yaml b/migrations/polkadot_20438530.yaml new file mode 100644 index 00000000..255a0f40 --- /dev/null +++ b/migrations/polkadot_20438530.yaml @@ -0,0 +1,85 @@ +specVersion: 1.0.0 +name: subquery-common-api-polkadot-transactions-polkadot +version: 1.0.0 +runner: + node: + name: "@subql/node" + version: ">= 4.6.3" + options: + historical: true + query: + name: "@subql/query" + version: "*" +description: Nova SubQuery project +repository: https://github.com/nova-wallet/subquery-nova +schema: + file: ./schema.graphql +parent: + reference: QmaTy1aG5uZfeyUXRu8bDci1P6AzbTYBEzM57yEYk3MPEt + untilBlock: 20438530 +network: + chainId: "0x91b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3" + endpoint: >- + wss://polkadot.api.onfinality.io/public-ws + dictionary: https://api.subquery.network/sq/subquery/dictionary-polkadot +dataSources: + - name: main + kind: substrate/Runtime + startBlock: 1 + mapping: + file: ./dist/index.js + handlers: + - handler: handleHistoryElement + kind: substrate/CallHandler + filter: + isSigned: true + - handler: handleReward + kind: substrate/EventHandler + filter: + module: staking + method: Reward + - handler: handleRewarded + kind: substrate/EventHandler + filter: + module: staking + method: Rewarded + - handler: handlePoolReward + kind: substrate/EventHandler + filter: + module: nominationPools + method: PaidOut + - handler: handleSlash + kind: substrate/EventHandler + filter: + module: staking + method: Slash + - handler: handleSlashed + kind: substrate/EventHandler + filter: + module: staking + method: Slashed + - handler: handlePoolBondedSlash + kind: substrate/EventHandler + filter: + module: nominationPools + method: PoolSlashed + - handler: handlePoolUnbondingSlash + kind: substrate/EventHandler + filter: + module: nominationPools + method: UnbondingPoolSlashed + - handler: handleTransfer + kind: substrate/EventHandler + filter: + module: balances + method: Transfer + - handler: handleNewEra + kind: substrate/EventHandler + filter: + module: staking + method: StakingElection + - handler: handleStakersElected + kind: substrate/EventHandler + filter: + module: staking + method: StakersElected diff --git a/moonbeam.yaml b/moonbeam.yaml index 0a37216e..d861e3dd 100644 --- a/moonbeam.yaml +++ b/moonbeam.yaml @@ -3,17 +3,19 @@ name: subquery-nova-moonbeam version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0xfe58ea77779b7abda7da4ec526d14db9b1e9cd40a217c34892af80a9b332b76d' + chainId: "0xfe58ea77779b7abda7da4ec526d14db9b1e9cd40a217c34892af80a9b332b76d" endpoint: >- wss://moonbeam.api.onfinality.io/public-ws dictionary: https://api.subquery.network/sq/subquery/moonbeam-dictionary diff --git a/moonriver.yaml b/moonriver.yaml index ee1b2ef2..18a27a81 100644 --- a/moonriver.yaml +++ b/moonriver.yaml @@ -3,17 +3,19 @@ name: subquery-nova-moonriver version: 1.0.0 runner: node: - name: '@subql/node' - version: "*" + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x401a1f9dca3da46f5c4091016c8a2f26dcea05865116b286f60f668207d1474b' + chainId: "0x401a1f9dca3da46f5c4091016c8a2f26dcea05865116b286f60f668207d1474b" endpoint: >- wss://wss.api.moonriver.moonbeam.network dictionary: https://api.subquery.network/sq/subquery/moonriver-dictionary diff --git a/myriad.yaml b/myriad.yaml index 74aaa19a..0cfb4199 100644 --- a/myriad.yaml +++ b/myriad.yaml @@ -3,17 +3,19 @@ name: subquery-nova-polkadex version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x74ed91fbc18497f011290f9119a2217908649170337b6414a2d44923ade07063' + chainId: "0x74ed91fbc18497f011290f9119a2217908649170337b6414a2d44923ade07063" endpoint: >- wss://gateway.mainnet.octopus.network/myriad/a4cb0a6e30ff5233a3567eb4e8cb71e0 dataSources: diff --git a/mythos.yaml b/mythos.yaml index 4f601de2..82adea1d 100644 --- a/mythos.yaml +++ b/mythos.yaml @@ -3,17 +3,19 @@ name: subquery-nova-mythos version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: "*" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0xf6ee56e9c5277df5b4ce6ae9983ee88f3cbed27d31beeb98f9f84f997a1ab0b9' + chainId: "0xf6ee56e9c5277df5b4ce6ae9983ee88f3cbed27d31beeb98f9f84f997a1ab0b9" endpoint: >- wss://polkadot-mythos-rpc.polkadot.io dataSources: diff --git a/nodle.yaml b/nodle.yaml index c9be6153..cc995579 100644 --- a/nodle.yaml +++ b/nodle.yaml @@ -3,17 +3,19 @@ name: subquery-nova-nodle version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x97da7ede98d7bad4e36b4d734b6055425a3be036da2a332ea5a7037656427a21' + chainId: "0x97da7ede98d7bad4e36b4d734b6055425a3be036da2a332ea5a7037656427a21" endpoint: >- wss://nodle-parachain.api.onfinality.io/public-ws dictionary: https://api.subquery.network/sq/subquery/nodle-dictionary diff --git a/origin-trail.yaml b/origin-trail.yaml index 080c1e65..79e21e30 100644 --- a/origin-trail.yaml +++ b/origin-trail.yaml @@ -3,17 +3,19 @@ name: subquery-nova-origin-trail version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0xe7e0962324a3b86c83404dbea483f25fb5dab4c224791c81b756cfc948006174' + chainId: "0xe7e0962324a3b86c83404dbea483f25fb5dab4c224791c81b756cfc948006174" endpoint: wss://parachain-rpc.origin-trail.network dataSources: - name: main diff --git a/package.json b/package.json index d1b9e4ad..37f7160c 100644 --- a/package.json +++ b/package.json @@ -7,14 +7,16 @@ "build": "./node_modules/.bin/subql build", "start:docker": "docker-compose pull && docker-compose up --remove-orphans", "codegen": "./node_modules/.bin/subql codegen", - "validate": "./node_modules/.bin/subql validate" + "validate": "./node_modules/.bin/subql validate", + "prepare": "husky install", + "local-publish": "cd ./scripts && ./local-publish.sh" }, "files": [ "dist", "schema.graphql", "project.yaml" ], - "author": "Jay Ji", + "author": "SubQuery Team and Novasama", "license": "Apache-2.0", "dependencies": { "lodash": "^4.17.21" @@ -30,28 +32,32 @@ "@parallel-finance/type-definitions": "^1.7.14", "@peaqnetwork/type-definitions": "0.0.4", "@phala/typedefs": "^0.2.31", - "@polkadot/api": "^10.11.2", - "@polkadot/api-derive": "^10.11.2", - "@polkadot/types": "^10.11.2", - "@polkadot/types-augment": "^8", - "@polkadot/types-codec": "^10.11.2", + "@polkadot/api": "^11", + "@polkadot/api-derive": "^11", + "@polkadot/types": "^11", + "@polkadot/types-augment": "^11", + "@polkadot/types-codec": "^11", "@polymeshassociation/polymesh-types": "^5.4.1", - "@subql/cli": "^3.3.3", - "@subql/types": "^1.7.2", + "@subql/cli": "latest", + "@subql/types": "latest", "@subsocial/types": "^0.6.8", "@types/jest": "^29.5.1", "@zeitgeistpm/type-defs": "^0.8.0", "@zeroio/type-definitions": "^0.0.14", + "husky": "^8.0.3", "jest": "^29.5.0", + "lint-staged": "^15.1.0", "moonbeam-types-bundle": "^2.0.8", + "prettier": "3.1.0", "ts-jest": "^29.1.0", "ts-node": "^10.9.1", - "typescript": "^4.1.3" + "typescript": "^5.2.2" }, "exports": { "acalaChaintypes": "./chainTypes/acalaChaintypes.ts", "ajunaChaintypes": "./chainTypes/ajunaChaintypes.ts", "alephZeroChaintypes": "./chainTypes/alephZeroChaintypes.ts", + "astarChaintypes": "./chainTypes/astarChaintypes.ts", "basiliskChaintypes": "./chainTypes/basiliskChaintypes.ts", "centrifugeChaintypes": "./chainTypes/centrifugeChaintypes.ts", "dockChaintypes": "./chainTypes/dockChaintypes.ts", @@ -84,5 +90,8 @@ }, "resolutions": { "ipfs-unixfs": "6.0.6" + }, + "lint-staged": { + "**/*": "prettier --write --ignore-unknown" } } diff --git a/parallel-heiko.yaml b/parallel-heiko.yaml index 8dbcdbe0..04253d75 100644 --- a/parallel-heiko.yaml +++ b/parallel-heiko.yaml @@ -3,17 +3,19 @@ name: subquery-nova-parallel-heiko version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x64a1c658a48b2e70a7fb1ad4c39eea35022568c20fc44a6e2e3d0a57aee6053b' + chainId: "0x64a1c658a48b2e70a7fb1ad4c39eea35022568c20fc44a6e2e3d0a57aee6053b" endpoint: >- wss://heiko-rpc.parallel.fi dictionary: https://api.subquery.network/sq/subquery/parallel-heiko-dictionary diff --git a/parallel.yaml b/parallel.yaml index 00636b83..d046ae1f 100644 --- a/parallel.yaml +++ b/parallel.yaml @@ -3,17 +3,19 @@ name: subquery-nova-parallel version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0xe61a41c53f5dcd0beb09df93b34402aada44cb05117b71059cce40a2723a4e97' + chainId: "0xe61a41c53f5dcd0beb09df93b34402aada44cb05117b71059cce40a2723a4e97" endpoint: >- wss://parallel.api.onfinality.io/public-ws dictionary: https://api.subquery.network/sq/subquery/parallel-dictionary diff --git a/pendulum.yaml b/pendulum.yaml index f86160de..5a90934c 100644 --- a/pendulum.yaml +++ b/pendulum.yaml @@ -3,17 +3,19 @@ name: subquery-nova-parallel version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x5d3c298622d5634ed019bf61ea4b71655030015bde9beb0d6a24743714462c86' + chainId: "0x5d3c298622d5634ed019bf61ea4b71655030015bde9beb0d6a24743714462c86" endpoint: >- wss://rpc-pendulum.prd.pendulumchain.tech dataSources: diff --git a/phala.yaml b/phala.yaml index ec31782f..633105f0 100644 --- a/phala.yaml +++ b/phala.yaml @@ -3,17 +3,19 @@ name: subquery-nova-phala version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x1bb969d85965e4bb5a651abbedf21a54b6b31a21f66b5401cc3f1e286268d736' + chainId: "0x1bb969d85965e4bb5a651abbedf21a54b6b31a21f66b5401cc3f1e286268d736" endpoint: wss://api.phala.network/ws dataSources: - name: main diff --git a/picasso.yaml b/picasso.yaml index b5a2a8f9..2d903477 100644 --- a/picasso.yaml +++ b/picasso.yaml @@ -3,17 +3,19 @@ name: subquery-nova-picasso version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x6811a339673c9daa897944dcdac99c6e2939cc88245ed21951a0a3c9a2be75bc' + chainId: "0x6811a339673c9daa897944dcdac99c6e2939cc88245ed21951a0a3c9a2be75bc" endpoint: wss://picasso-rpc.composable.finance dataSources: - name: main diff --git a/polimec.yaml b/polimec.yaml index 8de203d5..6a5c2788 100644 --- a/polimec.yaml +++ b/polimec.yaml @@ -3,17 +3,19 @@ name: subquery-nova-polimec version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: "*" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x7eb9354488318e7549c722669dcbdcdc526f1fef1420e7944667212f3601fdbd' + chainId: "0x7eb9354488318e7549c722669dcbdcdc526f1fef1420e7944667212f3601fdbd" endpoint: wss://rpc.polimec.org dataSources: - name: main diff --git a/polkadex.yaml b/polkadex.yaml index 0e07fb86..a41a78d8 100644 --- a/polkadex.yaml +++ b/polkadex.yaml @@ -3,17 +3,19 @@ name: subquery-nova-polkadex version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x3920bcb4960a1eef5580cd5367ff3f430eef052774f78468852f7b9cb39f8a3c' + chainId: "0x3920bcb4960a1eef5580cd5367ff3f430eef052774f78468852f7b9cb39f8a3c" endpoint: >- wss://polkadex.api.onfinality.io/public-ws chaintypes: diff --git a/polkadot.yaml b/polkadot.yaml index 3be934e9..46d5c52e 100644 --- a/polkadot.yaml +++ b/polkadot.yaml @@ -3,17 +3,19 @@ name: subquery-nova-polkadot version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x91b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3' + chainId: "0x91b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3" endpoint: >- wss://polkadot.api.onfinality.io/public-ws dictionary: https://api.subquery.network/sq/subquery/dictionary-polkadot diff --git a/polkadot_bridgehub.yaml b/polkadot_bridgehub.yaml index 4d283284..5e5cb8eb 100644 --- a/polkadot_bridgehub.yaml +++ b/polkadot_bridgehub.yaml @@ -3,17 +3,17 @@ name: subquery-nova-polkadot-bridgehub version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0xdcf691b5a3fbe24adc99ddc959c0561b973e329b1aef4c4b22e7bb2ddecb4464' + chainId: "0xdcf691b5a3fbe24adc99ddc959c0561b973e329b1aef4c4b22e7bb2ddecb4464" endpoint: >- wss://polkadot-bridge-hub-rpc.polkadot.io dataSources: diff --git a/polkadot_collectives.yaml b/polkadot_collectives.yaml index 20e5342e..6972fc98 100644 --- a/polkadot_collectives.yaml +++ b/polkadot_collectives.yaml @@ -3,17 +3,17 @@ name: subquery-nova-polkadot-collectives version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x46ee89aa2eedd13e988962630ec9fb7565964cf5023bb351f2b6b25c1b68b0b2' + chainId: "0x46ee89aa2eedd13e988962630ec9fb7565964cf5023bb351f2b6b25c1b68b0b2" endpoint: >- wss://collectives.public.curie.radiumblock.co/ws dataSources: diff --git a/polymesh.yaml b/polymesh.yaml index 56ca36cd..f034bbdb 100644 --- a/polymesh.yaml +++ b/polymesh.yaml @@ -3,17 +3,19 @@ name: subquery-nova-aleph-zero version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x6fbd74e5e1d0a61d52ccfe9d4adaed16dd3a7caa37c6bc4d0c2fa12e8b2f4063' + chainId: "0x6fbd74e5e1d0a61d52ccfe9d4adaed16dd3a7caa37c6bc4d0c2fa12e8b2f4063" endpoint: wss://mainnet-rpc.polymesh.network chaintypes: file: ./dist/polymeshChaintypes.js diff --git a/project.yaml b/project.yaml index 3ea98d26..6824859d 100644 --- a/project.yaml +++ b/project.yaml @@ -3,17 +3,19 @@ name: subquery-nova version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0xfc41b9bd8ef8fe53d58c7ea67c794c7ec9a73daf05e6d54b14ff6342c99ba64c' + chainId: "0xfc41b9bd8ef8fe53d58c7ea67c794c7ec9a73daf05e6d54b14ff6342c99ba64c" endpoint: >- wss://acala-polkadot.api.onfinality.io/ws dataSources: @@ -49,4 +51,4 @@ dataSources: kind: substrate/EventHandler filter: module: parachainStaking - method: Rewarded \ No newline at end of file + method: Rewarded diff --git a/quartz.yaml b/quartz.yaml index d52cce94..5e10221c 100644 --- a/quartz.yaml +++ b/quartz.yaml @@ -3,17 +3,19 @@ name: subquery-nova-quartz version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0xcd4d732201ebe5d6b014edda071c4203e16867305332301dc8d092044b28e554' + chainId: "0xcd4d732201ebe5d6b014edda071c4203e16867305332301dc8d092044b28e554" endpoint: >- wss://quartz.api.onfinality.io/public-ws dictionary: https://api.subquery.network/sq/subquery/quartz-dictionary diff --git a/rococo-assethub.yaml b/rococo-assethub.yaml index 16a8ed8e..1ba69cf6 100644 --- a/rococo-assethub.yaml +++ b/rococo-assethub.yaml @@ -3,17 +3,17 @@ name: subquery-nova-rococo-assethub version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x7c34d42fc815d392057c78b49f2755c753440ccd38bcb0405b3bcfb601d08734' + chainId: "0x7c34d42fc815d392057c78b49f2755c753440ccd38bcb0405b3bcfb601d08734" endpoint: >- wss://rococo-asset-hub-rpc.polkadot.io chaintypes: diff --git a/schema.graphql b/schema.graphql index e127e03b..06e960cd 100644 --- a/schema.graphql +++ b/schema.graphql @@ -20,16 +20,16 @@ type AssetTransfer @jsonField { type Reward @jsonField { eventIdx: Int! amount: String! - isReward: Boolean!, - era: Int, - stash: String, + isReward: Boolean! + era: Int + stash: String validator: String } type PoolReward @jsonField { eventIdx: Int! amount: String! - isReward: Boolean!, + isReward: Boolean! poolId: Int! } @@ -48,7 +48,7 @@ type Swap @jsonField { enum RewardType { reward - slash + slash } type AccountReward @entity { diff --git a/scripts/local-publish.sh b/scripts/local-publish.sh new file mode 100755 index 00000000..92367319 --- /dev/null +++ b/scripts/local-publish.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +# Get a list of YAML files in alphabetical order +yamlFiles=($(ls ../*.yaml | sort)) + +for file in "${yamlFiles[@]}"; do + outputFileName=".$(basename "$file" .yaml)-cid" + + # Execute subql publish command + subql codegen -f "$file" && subql publish -f "$file" + + # Move or create the output file in the ipfs-cids folder + mv "../$outputFileName" "../ipfs-cids/$outputFileName" + + echo "Command executed for $file. Output file: $outputFileName" +done + +echo "All project published successfully." diff --git a/shadow.yaml b/shadow.yaml index 0543e147..d3f09300 100644 --- a/shadow.yaml +++ b/shadow.yaml @@ -3,17 +3,19 @@ name: subquery-nova-shadow version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0xd4c0c08ca49dc7c680c3dac71a7c0703e5b222f4b6c03fe4c5219bb8f22c18dc' + chainId: "0xd4c0c08ca49dc7c680c3dac71a7c0703e5b222f4b6c03fe4c5219bb8f22c18dc" endpoint: wss://rpc-shadow.crust.network/ dataSources: - name: main diff --git a/shiden.yaml b/shiden.yaml index 87cf788c..dac367fa 100644 --- a/shiden.yaml +++ b/shiden.yaml @@ -3,17 +3,19 @@ name: subquery-nova-shiden version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0xf1cf9022c7ebb34b162d5b5e34e705a5a740b2d0ecc1009fb89023e62a488108' + chainId: "0xf1cf9022c7ebb34b162d5b5e34e705a5a740b2d0ecc1009fb89023e62a488108" endpoint: >- wss://public-rpc.pinknode.io/shiden dictionary: https://api.subquery.network/sq/subquery/shiden-dictionary diff --git a/src/index.ts b/src/index.ts index 99951a76..8e249fed 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,8 +1,8 @@ //Exports all handler functions -export * from './mappings/HistoryElements' -export * from './mappings/Rewards' -export * from './mappings/PoolRewards' -export * from './mappings/Transfers' -export * from './mappings/NewEra' -export * from './mappings/swaps' -import "@polkadot/api-augment" \ No newline at end of file +export * from "./mappings/HistoryElements"; +export * from "./mappings/Rewards"; +export * from "./mappings/PoolRewards"; +export * from "./mappings/Transfers"; +export * from "./mappings/NewEra"; +export * from "./mappings/swaps"; +import "@polkadot/api-augment"; diff --git a/src/mappings/Cache.ts b/src/mappings/Cache.ts index da251b83..2b102b3f 100644 --- a/src/mappings/Cache.ts +++ b/src/mappings/Cache.ts @@ -1,16 +1,25 @@ import "@polkadot/types-augment/lookup"; -import {SubstrateEvent} from "@subql/types"; -import {blockNumber} from "./common"; -import {AccountId} from "@polkadot/types/interfaces"; -import {PalletStakingRewardDestination, PalletNominationPoolsPoolMember} from "@polkadot/types/lookup" +import { SubstrateEvent } from "@subql/types"; +import { blockNumber } from "./common"; +import { AccountId } from "@polkadot/types/interfaces"; +import { + PalletStakingRewardDestination, + PalletNominationPoolsPoolMember, +} from "@polkadot/types/lookup"; +import { Option } from "@polkadot/types"; // Due to memory consumption optimization `rewardDestinationByAddress` contains only one key -let rewardDestinationByAddress: {[blockId: string]: {[address: string]: PalletStakingRewardDestination}} = {} -let controllersByStash: {[blockId: string]: {[address: string]: string}} = {} +let rewardDestinationByAddress: { + [blockId: string]: { [address: string]: PalletStakingRewardDestination }; +} = {}; +let controllersByStash: { [blockId: string]: { [address: string]: string } } = + {}; -let parachainStakingRewardEra: {[blockId: string]: number} = {} +let parachainStakingRewardEra: { [blockId: string]: number } = {}; -let poolMembers: {[blockId: number]: [string, PalletNominationPoolsPoolMember][]} = {} +let poolMembers: { + [blockId: number]: [string, PalletNominationPoolsPoolMember][]; +} = {}; export async function cachedRewardDestination( accountAddress: string, @@ -65,7 +74,9 @@ export async function cachedRewardDestination( // looks like accountAddress not related to events so just try to query payee directly if (allAccountsInBlock.length === 0) { rewardDestinationByAddress[blockId] = {}; - return await api.query.staking.payee(accountAddress); + return (await api.query.staking.payee( + accountAddress, + )) as unknown as PalletStakingRewardDestination; } // TODO: Commented code doesn't work now, may be fixed later @@ -80,7 +91,9 @@ export async function cachedRewardDestination( // something went wrong, so just query for single accountAddress if (rewardDestinations.length !== allAccountsInBlock.length) { - const payee = await api.query.staking.payee(accountAddress); + const payee = (await api.query.staking.payee( + accountAddress, + )) as unknown as PalletStakingRewardDestination; destinationByAddress[accountAddress] = payee; rewardDestinationByAddress[blockId] = destinationByAddress; return payee; @@ -97,99 +110,131 @@ export async function cachedRewardDestination( } } -export async function cachedController(accountAddress: string, event: SubstrateEvent): Promise { - const blockId = blockNumber(event) - let cachedBlock = controllersByStash[blockId] +export async function cachedController( + accountAddress: string, + event: SubstrateEvent, +): Promise { + const blockId = blockNumber(event); + let cachedBlock = controllersByStash[blockId]; - if (cachedBlock !== undefined) { - return cachedBlock[accountAddress] - } else { - controllersByStash = {} - - let method = event.event.method - let section = event.event.section - - const allAccountsInBlock = event.block.events - .filter(blockEvent => { - return blockEvent.event.method == method && blockEvent.event.section == section - }) - .map(event => { - let {event: {data: [accountId, ]}} = event - return accountId - }); - - var controllerNeedAccounts: AccountId[] = [] - - for (let accountId of allAccountsInBlock) { - const rewardDestination = await cachedRewardDestination(accountId.toString(), event) - - if (rewardDestination.isController) { - controllerNeedAccounts.push(accountId as AccountId) - } - } - - // looks like accountAddress not related to events so just try to query controller directly - if (controllerNeedAccounts.length === 0) { - controllersByStash[blockId] = {} - let accountId = await api.query.staking.bonded(accountAddress) - return accountId.toString() - } - - // TODO: Commented code doesn't work now, may be fixed later - // const bonded = await api.query.staking.bonded.multi(controllerNeedAccounts); - const bonded = await api.queryMulti(controllerNeedAccounts.map(account => ([api.query.staking.bonded, account]))); - const controllers = bonded.map(bonded => { return bonded.toString() }); - - let bondedByAddress: {[address: string]: string} = {} - - // something went wrong, so just query for single accountAddress - if (controllers.length !== controllerNeedAccounts.length) { - const controller = await api.query.staking.bonded(accountAddress) - let controllerAddress = controller.toString() - bondedByAddress[accountAddress] = controllerAddress - controllersByStash[blockId] = bondedByAddress - return controllerAddress - } - controllerNeedAccounts.forEach((account, index) => { - let accountAddress = account.toString() - bondedByAddress[accountAddress] = controllers[index] - }) - controllersByStash[blockId] = bondedByAddress - return bondedByAddress[accountAddress] + if (cachedBlock !== undefined) { + return cachedBlock[accountAddress]; + } else { + controllersByStash = {}; + + let method = event.event.method; + let section = event.event.section; + + const allAccountsInBlock = event.block.events + .filter((blockEvent) => { + return ( + blockEvent.event.method == method && + blockEvent.event.section == section + ); + }) + .map((event) => { + let { + event: { + data: [accountId], + }, + } = event; + return accountId; + }); + + var controllerNeedAccounts: AccountId[] = []; + + for (let accountId of allAccountsInBlock) { + const rewardDestination = await cachedRewardDestination( + accountId.toString(), + event, + ); + + if (rewardDestination.isController) { + controllerNeedAccounts.push(accountId as AccountId); + } } -} -export async function cachedStakingRewardEraIndex(event: SubstrateEvent): Promise { - const blockId = blockNumber(event) - let cachedEra = parachainStakingRewardEra[blockId] + // looks like accountAddress not related to events so just try to query controller directly + if (controllerNeedAccounts.length === 0) { + controllersByStash[blockId] = {}; + let accountId = await api.query.staking.bonded(accountAddress); + return accountId.toString(); + } - if (cachedEra !== undefined) { - return cachedEra - } else { - const era = await api.query.parachainStaking.round() + // TODO: Commented code doesn't work now, may be fixed later + // const bonded = await api.query.staking.bonded.multi(controllerNeedAccounts); + const bonded = await api.queryMulti( + controllerNeedAccounts.map((account) => [ + api.query.staking.bonded, + account, + ]), + ); + const controllers = bonded.map((bonded) => { + return bonded.toString(); + }); - const paymentDelay = api.consts.parachainStaking.rewardPaymentDelay.toHuman() - // HACK: used to get data from object - const eraIndex = (era.toJSON() as {current: any}).current - Number(paymentDelay) + let bondedByAddress: { [address: string]: string } = {}; - parachainStakingRewardEra = {} - parachainStakingRewardEra[blockId] = eraIndex - return eraIndex + // something went wrong, so just query for single accountAddress + if (controllers.length !== controllerNeedAccounts.length) { + const controller = await api.query.staking.bonded(accountAddress); + let controllerAddress = controller.toString(); + bondedByAddress[accountAddress] = controllerAddress; + controllersByStash[blockId] = bondedByAddress; + return controllerAddress; } + controllerNeedAccounts.forEach((account, index) => { + let accountAddress = account.toString(); + bondedByAddress[accountAddress] = controllers[index]; + }); + controllersByStash[blockId] = bondedByAddress; + return bondedByAddress[accountAddress]; + } } -export async function getPoolMembers(blockId: number) : Promise<[string, PalletNominationPoolsPoolMember][]> { - const cachedMembers = poolMembers[blockId] - if (cachedMembers != undefined) { - return cachedMembers - } +export async function cachedStakingRewardEraIndex( + event: SubstrateEvent, +): Promise { + const blockId = blockNumber(event); + let cachedEra = parachainStakingRewardEra[blockId]; + + if (cachedEra !== undefined) { + return cachedEra; + } else { + const era = await api.query.parachainStaking.round(); + + const paymentDelay = + api.consts.parachainStaking.rewardPaymentDelay.toHuman(); + // HACK: used to get data from object + const eraIndex = + (era.toJSON() as { current: any }).current - Number(paymentDelay); + + parachainStakingRewardEra = {}; + parachainStakingRewardEra[blockId] = eraIndex; + return eraIndex; + } +} - const members: [string, PalletNominationPoolsPoolMember][] = (await api.query.nominationPools.poolMembers.entries()).filter( - ([_, member]) => member.isSome - ).map( - ([accountIdKey, member]) => [accountIdKey.args[0].toString(), member.unwrap()] +export async function getPoolMembers( + blockId: number, +): Promise<[string, PalletNominationPoolsPoolMember][]> { + const cachedMembers = poolMembers[blockId]; + if (cachedMembers != undefined) { + return cachedMembers; + } + + const members: [string, PalletNominationPoolsPoolMember][] = ( + await api.query.nominationPools.poolMembers.entries() + ) + .filter( + ([_, member]) => + (member as Option).isSome, ) - poolMembers = {} - poolMembers[blockId] = members - return members -} \ No newline at end of file + .map(([accountId, member]) => [ + accountId.args[0].toString(), + (member as Option).unwrap(), + ]); + poolMembers = {}; + poolMembers[blockId] = members; + return members; +} diff --git a/src/mappings/HistoryElements.ts b/src/mappings/HistoryElements.ts index b47f58a6..666ff8f9 100644 --- a/src/mappings/HistoryElements.ts +++ b/src/mappings/HistoryElements.ts @@ -1,408 +1,505 @@ -import {SubstrateExtrinsic} from '@subql/types'; -import {AssetTransfer, HistoryElement, Transfer, Swap} from "../types"; +import { SubstrateExtrinsic } from "@subql/types"; +import { AssetTransfer, HistoryElement, Transfer, Swap } from "../types"; import { - getAssetIdFromMultilocation, - getEventData, - callFromProxy, - callsFromBatch, - calculateFeeAsString, - extrinsicIdFromBlockAndIdx, - eventRecordToSubstrateEvent, - isBatch, - isProxy, - timestamp, - isNativeTransfer, - isAssetTransfer, - isOrmlTransfer, - isSwapExactTokensForTokens, - isSwapTokensForExactTokens, - isNativeTransferAll, - isOrmlTransferAll, - isEvmTransaction, - isEvmExecutedEvent, - isAssetTxFeePaidEvent, - isEquilibriumTransfer, - isHydraOmnipoolBuy, - isHydraOmnipoolSell, - isHydraRouterSell, - isHydraRouterBuy, - convertOrmlCurrencyIdToString + getAssetIdFromMultilocation, + getEventData, + callFromProxy, + callsFromBatch, + calculateFeeAsString, + extrinsicIdFromBlockAndIdx, + eventRecordToSubstrateEvent, + isBatch, + isProxy, + timestamp, + isNativeTransfer, + isAssetTransfer, + isOrmlTransfer, + isSwapExactTokensForTokens, + isSwapTokensForExactTokens, + isNativeTransferAll, + isOrmlTransferAll, + isEvmTransaction, + isEvmExecutedEvent, + isAssetTxFeePaidEvent, + isEquilibriumTransfer, + isHydraOmnipoolBuy, + isHydraOmnipoolSell, + isHydraRouterSell, + isHydraRouterBuy, + convertOrmlCurrencyIdToString, } from "./common"; -import {CallBase} from "@polkadot/types/types/calls"; -import {AnyTuple} from "@polkadot/types/types/codec"; -import {u64} from "@polkadot/types"; -import { ethereumEncode } from '@polkadot/util-crypto'; -import {u128, u32} from "@polkadot/types-codec"; -import {convertHydraDxTokenIdToString, findHydraDxFeeTyped} from "./swaps"; -import {Codec} from "@polkadot/types/types"; +import { CallBase } from "@polkadot/types/types/calls"; +import { AnyTuple } from "@polkadot/types/types/codec"; +import { u64 } from "@polkadot/types"; +import { ethereumEncode } from "@polkadot/util-crypto"; +import { u128, u32 } from "@polkadot/types-codec"; +import { convertHydraDxTokenIdToString, findHydraDxFeeTyped } from "./swaps"; +import { Codec } from "@polkadot/types/types"; type TransferData = { - isTransferAll: boolean, - transfer: Transfer | AssetTransfer | Swap, -} - -export async function handleHistoryElement(extrinsic: SubstrateExtrinsic): Promise { - const { isSigned } = extrinsic.extrinsic; - - if (isSigned) { - let failedTransfers = findFailedTransferCalls(extrinsic) - if (failedTransfers != null) { - await saveFailedTransfers(failedTransfers, extrinsic) - } else { - await saveExtrinsic(extrinsic) - } - } else if (isEvmTransaction(extrinsic.extrinsic.method) && extrinsic.success) { - await saveEvmExtrinsic(extrinsic) + isTransferAll: boolean; + transfer: Transfer | AssetTransfer | Swap; +}; + +type TransferCallback = ( + isTransferAll: boolean, + address: string, + amount: any, + assetId?: string +) => Array<{ isTransferAll: boolean; transfer: Transfer }>; + +type AssetHubSwapCallback = ( + path: any, + amountId: Codec, + amountOut: Codec, + receiver: Codec +) => Array<{ isTransferAll: boolean; transfer: Swap }>; + +type HydraDxSwapCallback = ( + assetIn: Codec, + assetOut: Codec, + amountIn: Codec, + amountOut: Codec +) => { isTransferAll: boolean; transfer: Swap }; + +export async function handleHistoryElement( + extrinsic: SubstrateExtrinsic +): Promise { + const { isSigned } = extrinsic.extrinsic; + + if (isSigned) { + let failedTransfers = findFailedTransferCalls(extrinsic); + if (failedTransfers != null) { + await saveFailedTransfers(failedTransfers, extrinsic); + } else { + await saveExtrinsic(extrinsic); } + } else if ( + isEvmTransaction(extrinsic.extrinsic.method) && + extrinsic.success + ) { + await saveEvmExtrinsic(extrinsic); + } } -function createHistoryElement (extrinsic: SubstrateExtrinsic, address: string, suffix: string = '', hash?: string) { - let extrinsicHash = hash || extrinsic.extrinsic.hash.toString(); - let blockNumber = extrinsic.block.block.header.number.toNumber(); - let extrinsicIdx = extrinsic.idx - let extrinsicId = extrinsicIdFromBlockAndIdx(blockNumber, extrinsicIdx) - let blockTimestamp = timestamp(extrinsic.block); - - const historyElement = new HistoryElement( - `${extrinsicId}${suffix}`, - blockNumber, - blockTimestamp, - address - ); - historyElement.extrinsicHash = extrinsicHash - historyElement.extrinsicIdx = extrinsicIdx - historyElement.timestamp = blockTimestamp +function createHistoryElement( + extrinsic: SubstrateExtrinsic, + address: string, + suffix: string = "", + hash?: string +) { + let extrinsicHash = hash || extrinsic.extrinsic.hash.toString(); + let blockNumber = extrinsic.block.block.header.number.toNumber(); + let extrinsicIdx = extrinsic.idx; + let extrinsicId = extrinsicIdFromBlockAndIdx(blockNumber, extrinsicIdx); + let blockTimestamp = timestamp(extrinsic.block); + + const historyElement = HistoryElement.create({ + id: `${extrinsicId}${suffix}`, + blockNumber, + timestamp: blockTimestamp, + address, + }); + historyElement.extrinsicHash = extrinsicHash; + historyElement.extrinsicIdx = extrinsicIdx; + historyElement.timestamp = blockTimestamp; + + return historyElement; +} - return historyElement +function addTransferToHistoryElement( + element: HistoryElement, + transfer: Transfer | AssetTransfer | Swap +) { + if ("assetIdIn" in transfer) { + element.swap = transfer; + } else if ("assetId" in transfer) { + element.assetTransfer = transfer; + } else { + element.transfer = transfer; + } } -function addTransferToHistoryElement(element: HistoryElement, transfer: Transfer | AssetTransfer | Swap) { - if ('assetIdIn' in transfer) { - element.swap = transfer - } else if ('assetId' in transfer) { - element.assetTransfer = transfer - } else { - element.transfer = transfer +async function saveFailedTransfers( + transfers: Array, + extrinsic: SubstrateExtrinsic +): Promise { + for (const { isTransferAll, transfer } of transfers) { + const isSwap = "assetIdIn" in transfer; + const from = isSwap ? transfer.sender : transfer.from; + const to = isSwap ? transfer.receiver : transfer.to; + const elementFrom = createHistoryElement(extrinsic, from, `-from`); + addTransferToHistoryElement(elementFrom, transfer); + + // FIXME: Try to find more appropriate way to handle failed transferAll events + if ((!isTransferAll && !isSwap) || from.toString() != to.toString()) { + const elementTo = createHistoryElement(extrinsic, to, `-to`); + addTransferToHistoryElement(elementTo, transfer); + + await elementTo.save(); } -} -async function saveFailedTransfers(transfers: Array, extrinsic: SubstrateExtrinsic): Promise { - let promises = transfers.map(({ isTransferAll, transfer }) => { - const isSwap = 'assetIdIn' in transfer - const from = isSwap ? transfer.sender : transfer.from - const to = isSwap ? transfer.receiver : transfer.to - const elementFrom = createHistoryElement(extrinsic, from, `-from`); - addTransferToHistoryElement(elementFrom, transfer) - - // FIXME: Try to find more appropriate way to handle failed transferAll events - if ((!isTransferAll && !isSwap) || (from.toString() != to.toString())) { - const elementTo = createHistoryElement(extrinsic, to, `-to`); - addTransferToHistoryElement(elementTo, transfer) - - return [elementTo.save(), elementFrom.save()] - } - - return [elementFrom.save()] - }) - await Promise.allSettled(promises) + await elementFrom.save(); + } } async function saveExtrinsic(extrinsic: SubstrateExtrinsic): Promise { - const element = createHistoryElement(extrinsic, extrinsic.extrinsic.signer.toString(), "-extrinsic") - - element.extrinsic = { - hash: extrinsic.extrinsic.hash.toString(), - module: extrinsic.extrinsic.method.section, - call: extrinsic.extrinsic.method.method, - success: extrinsic.success, - fee: calculateFeeAsString(extrinsic) - } - await element.save() + const element = createHistoryElement( + extrinsic, + extrinsic.extrinsic.signer.toString(), + "-extrinsic" + ); + + element.extrinsic = { + hash: extrinsic.extrinsic.hash.toString(), + module: extrinsic.extrinsic.method.section, + call: extrinsic.extrinsic.method.method, + success: extrinsic.success, + fee: calculateFeeAsString(extrinsic), + }; + await element.save(); } async function saveEvmExtrinsic(extrinsic: SubstrateExtrinsic): Promise { - const executedEvent = extrinsic.events.find(isEvmExecutedEvent) - if (!executedEvent) { - return - } - - const addressFrom = ethereumEncode(executedEvent.event.data?.[0]?.toString()); - const hash = executedEvent.event.data?.[2]?.toString(); - const success = !!(executedEvent.event.data?.[3].toJSON() as any).succeed; - - const element = createHistoryElement(extrinsic, addressFrom, '-extrinsic', hash) - - element.extrinsic = { - hash, - module: extrinsic.extrinsic.method.section, - call: extrinsic.extrinsic.method.method, - success, - fee: calculateFeeAsString(extrinsic, addressFrom) - } - - await element.save() + const executedEvent = extrinsic.events.find(isEvmExecutedEvent); + if (!executedEvent) { + return; + } + + const addressFrom = ethereumEncode(executedEvent.event.data?.[0]?.toString()); + const hash = executedEvent.event.data?.[2]?.toString(); + const success = !!(executedEvent.event.data?.[3].toJSON() as any).succeed; + + const element = createHistoryElement( + extrinsic, + addressFrom, + "-extrinsic", + hash + ); + + element.extrinsic = { + hash, + module: extrinsic.extrinsic.method.section, + call: extrinsic.extrinsic.method.method, + success, + fee: calculateFeeAsString(extrinsic, addressFrom), + }; + + await element.save(); } /// Success Transfer emits Transfer event that is handled at Transfers.ts handleTransfer() -function findFailedTransferCalls(extrinsic: SubstrateExtrinsic): Array | null { - if (extrinsic.success) { - return null; - } - - let sender = extrinsic.extrinsic.signer - const transferCallback = (isTransferAll, address, amount, assetId?) => { - const transfer: Transfer = { - amount: amount.toString(), - from: sender.toString(), - to: address, - fee: calculateFeeAsString(extrinsic), - eventIdx: -1, - success: false - } - - if (assetId) { - (transfer as AssetTransfer).assetId = assetId - } - - return [{ - isTransferAll, - transfer, - }] +function findFailedTransferCalls( + extrinsic: SubstrateExtrinsic +): Array | null { + if (extrinsic.success) { + return null; + } + + let sender = extrinsic.extrinsic.signer; + const transferCallback: TransferCallback = ( + isTransferAll, + address, + amount, + assetId? + ) => { + const transfer: Transfer = { + amount: amount.toString(), + from: sender.toString(), + to: address, + fee: calculateFeeAsString(extrinsic), + eventIdx: -1, + success: false, + }; + + if (assetId) { + (transfer as AssetTransfer).assetId = assetId; } - const assetHubSwapCallback = (path, amountIn, amountOut, receiver) => { - let assetIdFee = "native" - let fee = calculateFeeAsString(extrinsic) - let foundAssetTxFeePaid = extrinsic.block.events.find((e) => isAssetTxFeePaidEvent(eventRecordToSubstrateEvent(e))); - if (foundAssetTxFeePaid !== undefined) { - const [who, actual_fee, tip, rawAssetIdFee] = getEventData(eventRecordToSubstrateEvent(foundAssetTxFeePaid)) - if ('interior' in rawAssetIdFee) { - assetIdFee = getAssetIdFromMultilocation(rawAssetIdFee) - fee = actual_fee.toString(); - } - } - - const assetIdIn = getAssetIdFromMultilocation(path[0], true) - const assetIdOut = getAssetIdFromMultilocation(path[path["length"] - 1], true) - - if (assetIdIn === undefined || assetIdOut === undefined) { - return [] - } - - const swap: Swap = { - assetIdIn: assetIdIn, - amountIn: amountIn.toString(), - assetIdOut: assetIdOut, - amountOut: amountOut.toString(), - sender: sender.toString(), - receiver: receiver.toString(), - assetIdFee: assetIdFee, - fee: fee, - eventIdx: -1, - success: false - } - - return [{ - isTransferAll: false, - transfer: swap, - }] + return [ + { + isTransferAll, + transfer, + }, + ]; + }; + + const assetHubSwapCallback: AssetHubSwapCallback = ( + path, + amountIn, + amountOut, + receiver + ) => { + let assetIdFee = "native"; + let fee = calculateFeeAsString(extrinsic); + let foundAssetTxFeePaid = extrinsic.block.events.find((e) => + isAssetTxFeePaidEvent(eventRecordToSubstrateEvent(e)) + ); + if (foundAssetTxFeePaid !== undefined) { + const [who, actual_fee, tip, rawAssetIdFee] = getEventData( + eventRecordToSubstrateEvent(foundAssetTxFeePaid) + ); + if ("interior" in rawAssetIdFee) { + assetIdFee = getAssetIdFromMultilocation(rawAssetIdFee); + fee = actual_fee.toString(); + } } - const hydraDxSwapCallback = (assetIn: u32, assetOut: u32, amountIn: u128, amountOut: u128) => { - let fee = findHydraDxFeeTyped(extrinsic.events) - - const assetIdIn = convertHydraDxTokenIdToString(assetIn) - const assetIdOut = convertHydraDxTokenIdToString(assetOut) - - const swap: Swap = { - assetIdIn: assetIdIn, - amountIn: amountIn.toString(), - assetIdOut: assetIdOut, - amountOut: amountOut.toString(), - sender: sender.toString(), - receiver: sender.toString(), - assetIdFee: fee.tokenId, - fee: fee.amount, - eventIdx: -1, - success: false - } - - return { - isTransferAll: false, - transfer: swap, - } - } + const assetIdIn = getAssetIdFromMultilocation(path[0], true); + const assetIdOut = getAssetIdFromMultilocation( + path[path["length"] - 1], + true + ); - let transferCalls = determineTransferCallsArgs(extrinsic.extrinsic.method, transferCallback, assetHubSwapCallback, hydraDxSwapCallback) - if (transferCalls.length == 0) { - return null; + if (assetIdIn === undefined || assetIdOut === undefined) { + return []; } - return transferCalls -} + const swap: Swap = { + assetIdIn: assetIdIn, + amountIn: amountIn.toString(), + assetIdOut: assetIdOut, + amountOut: amountOut.toString(), + sender: sender.toString(), + receiver: receiver.toString(), + assetIdFee: assetIdFee, + fee: fee, + eventIdx: -1, + success: false, + }; -function determineTransferCallsArgs( - causeCall: CallBase, + return [ + { + isTransferAll: false, + transfer: swap, + }, + ]; + }; + + const hydraDxSwapCallback: HydraDxSwapCallback = ( + assetIn: Codec, + assetOut: Codec, + amountIn: Codec, + amountOut: Codec + ) => { + let fee = findHydraDxFeeTyped(extrinsic.events); + + const assetIdIn = convertHydraDxTokenIdToString(assetIn); + const assetIdOut = convertHydraDxTokenIdToString(assetOut); + + const swap: Swap = { + assetIdIn: assetIdIn, + amountIn: amountIn.toString(), + assetIdOut: assetIdOut, + amountOut: amountOut.toString(), + sender: sender.toString(), + receiver: sender.toString(), + assetIdFee: fee.tokenId, + fee: fee.amount, + eventIdx: -1, + success: false, + }; + + return { + isTransferAll: false, + transfer: swap, + }; + }; + + let transferCalls = determineTransferCallsArgs( + extrinsic.extrinsic.method, transferCallback, assetHubSwapCallback, hydraDxSwapCallback -) : Array { - if (isNativeTransfer(causeCall)) { - return transferCallback(false, ...extractArgsFromTransfer(causeCall)) - } else if (isAssetTransfer(causeCall)) { - return transferCallback(false, ...extractArgsFromAssetTransfer(causeCall)) - } else if (isOrmlTransfer(causeCall)) { - return transferCallback(false, ...extractArgsFromOrmlTransfer(causeCall)) - } else if (isEquilibriumTransfer(causeCall)) { - return transferCallback(false, ...extractArgsFromEquilibriumTransfer(causeCall)) - } else if (isNativeTransferAll(causeCall)) { - return transferCallback(true, ...extractArgsFromTransferAll(causeCall)) - } else if (isOrmlTransferAll(causeCall)) { - return transferCallback(true, ...extractArgsFromOrmlTransferAll(causeCall)) - } else if (isSwapExactTokensForTokens(causeCall)) { - return assetHubSwapCallback(...extractArgsFromSwapExactTokensForTokens(causeCall)) - } else if (isSwapTokensForExactTokens(causeCall)) { - return assetHubSwapCallback(...extractArgsFromSwapTokensForExactTokens(causeCall)) - } else if (isHydraOmnipoolBuy(causeCall)) { - return [hydraDxSwapCallback(...extractArgsFromHydraOmnipoolBuy(causeCall))] - } else if (isHydraOmnipoolSell(causeCall)) { - return [hydraDxSwapCallback(...extractArgsFromHydraOmnipoolSell(causeCall))] - } else if (isHydraRouterBuy(causeCall)) { - return [hydraDxSwapCallback(...extractArgsFromHydraRouterBuy(causeCall))] - } else if (isHydraRouterSell(causeCall)) { - return [hydraDxSwapCallback(...extractArgsFromHydraRouterSell(causeCall))] - } else if (isBatch(causeCall)) { - return callsFromBatch(causeCall) - .map(call => { - return determineTransferCallsArgs(call, transferCallback, assetHubSwapCallback, hydraDxSwapCallback) - .map((value, index, array) => { - return value - }) - }) - .flat() - } else if (isProxy(causeCall)) { - let proxyCall = callFromProxy(causeCall) - return determineTransferCallsArgs(proxyCall, transferCallback, assetHubSwapCallback, hydraDxSwapCallback) - } else { - return [] - } -} - -function extractArgsFromTransfer(call: CallBase): [string, bigint] { - const [destinationAddress, amount] = call.args + ); + if (transferCalls.length == 0) { + return null; + } - return [destinationAddress.toString(), (amount as u64).toBigInt()] + return transferCalls; } -function extractArgsFromAssetTransfer(call: CallBase): [string, bigint, string] { - const [assetId, destinationAddress, amount] = call.args - +function determineTransferCallsArgs( + causeCall: CallBase, + transferCallback: TransferCallback, + assetHubSwapCallback: AssetHubSwapCallback, + hydraDxSwapCallback: HydraDxSwapCallback +): Array { + if (isNativeTransfer(causeCall)) { + return transferCallback(false, ...extractArgsFromTransfer(causeCall)); + } else if (isAssetTransfer(causeCall)) { + return transferCallback(false, ...extractArgsFromAssetTransfer(causeCall)); + } else if (isOrmlTransfer(causeCall)) { + return transferCallback(false, ...extractArgsFromOrmlTransfer(causeCall)); + } else if (isEquilibriumTransfer(causeCall)) { + return transferCallback( + false, + ...extractArgsFromEquilibriumTransfer(causeCall) + ); + } else if (isNativeTransferAll(causeCall)) { + return transferCallback(true, ...extractArgsFromTransferAll(causeCall)); + } else if (isOrmlTransferAll(causeCall)) { + return transferCallback(true, ...extractArgsFromOrmlTransferAll(causeCall)); + } else if (isSwapExactTokensForTokens(causeCall)) { + return assetHubSwapCallback( + ...extractArgsFromSwapExactTokensForTokens(causeCall) + ); + } else if (isSwapTokensForExactTokens(causeCall)) { + return assetHubSwapCallback( + ...extractArgsFromSwapTokensForExactTokens(causeCall) + ); + } else if (isHydraOmnipoolBuy(causeCall)) { + return [hydraDxSwapCallback(...extractArgsFromHydraOmnipoolBuy(causeCall))]; + } else if (isHydraOmnipoolSell(causeCall)) { return [ - destinationAddress.toString(), - (amount as u64).toBigInt(), - assetId.toString() - ] + hydraDxSwapCallback(...extractArgsFromHydraOmnipoolSell(causeCall)), + ]; + } else if (isHydraRouterBuy(causeCall)) { + return [hydraDxSwapCallback(...extractArgsFromHydraRouterBuy(causeCall))]; + } else if (isHydraRouterSell(causeCall)) { + return [hydraDxSwapCallback(...extractArgsFromHydraRouterSell(causeCall))]; + } else if (isBatch(causeCall)) { + return callsFromBatch(causeCall) + .map((call) => { + return determineTransferCallsArgs( + call, + transferCallback, + assetHubSwapCallback, + hydraDxSwapCallback + ).map((value, index, array) => { + return value; + }); + }) + .flat(); + } else if (isProxy(causeCall)) { + let proxyCall = callFromProxy(causeCall); + return determineTransferCallsArgs( + proxyCall, + transferCallback, + assetHubSwapCallback, + hydraDxSwapCallback + ); + } else { + return []; + } } -function extractArgsFromOrmlTransfer(call: CallBase): [string, bigint, string] { - const [destinationAddress, currencyId, amount] = call.args +function extractArgsFromTransfer(call: CallBase): [string, bigint] { + const [destinationAddress, amount] = call.args; - return [ - destinationAddress.toString(), - (amount as u64).toBigInt(), - currencyId.toHex().toString() - ] + return [destinationAddress.toString(), (amount as u64).toBigInt()]; } -function extractArgsFromEquilibriumTransfer(call: CallBase): [string, bigint, string] { - const [assetId, destinationAddress, amount] = call.args +function extractArgsFromAssetTransfer( + call: CallBase +): [string, bigint, string] { + const [assetId, destinationAddress, amount] = call.args; - return [ - destinationAddress.toString(), - (amount as u64).toBigInt(), - assetId.toString() - ] + return [ + destinationAddress.toString(), + (amount as u64).toBigInt(), + assetId.toString(), + ]; } -function extractArgsFromTransferAll(call: CallBase): [string, bigint] { - const [destinationAddress] = call.args +function extractArgsFromOrmlTransfer( + call: CallBase +): [string, bigint, string] { + const [destinationAddress, currencyId, amount] = call.args; - return [destinationAddress.toString(), BigInt(0)] + return [ + destinationAddress.toString(), + (amount as u64).toBigInt(), + currencyId.toHex().toString(), + ]; } -function extractArgsFromOrmlTransferAll(call: CallBase): [string, bigint, string] { - const [destinationAddress, currencyId] = call.args +function extractArgsFromEquilibriumTransfer( + call: CallBase +): [string, bigint, string] { + const [assetId, destinationAddress, amount] = call.args; - return [ - destinationAddress.toString(), - BigInt(0), - convertOrmlCurrencyIdToString(currencyId) - ] + return [ + destinationAddress.toString(), + (amount as u64).toBigInt(), + assetId.toString(), + ]; } -function extractArgsFromSwapExactTokensForTokens(call: CallBase) { - const [path, amountIn, amountOut, receiver, _] = call.args +function extractArgsFromTransferAll( + call: CallBase +): [string, bigint] { + const [destinationAddress] = call.args; - return [ - path, - amountIn, - amountOut, - receiver - ] + return [destinationAddress.toString(), BigInt(0)]; } -function extractArgsFromSwapTokensForExactTokens(call: CallBase) { - const [path, amountOut, amountIn, receiver, _] = call.args +function extractArgsFromOrmlTransferAll( + call: CallBase +): [string, bigint, string] { + const [destinationAddress, currencyId] = call.args; - return [ - path, - amountIn, - amountOut, - receiver - ] + return [ + destinationAddress.toString(), + BigInt(0), + convertOrmlCurrencyIdToString(currencyId), + ]; } -function extractArgsFromHydraRouterSell(call: CallBase): Codec[] { - const [assetIn, assetOut, amountIn, minAmountOut, _] = call.args +function extractArgsFromSwapExactTokensForTokens( + call: CallBase +): [any, Codec, Codec, Codec] { + const [path, amountIn, amountOut, receiver, _] = call.args; - return [ - assetIn, - assetOut, - amountIn, - minAmountOut - ] + return [path, amountIn, amountOut, receiver]; } -function extractArgsFromHydraRouterBuy(call: CallBase): Codec[] { - const [assetIn, assetOut, amountOut, maxAmountIn, _] = call.args +function extractArgsFromSwapTokensForExactTokens( + call: CallBase +): [any, Codec, Codec, Codec] { + const [path, amountOut, amountIn, receiver, _] = call.args; - return [ - assetIn, - assetOut, - maxAmountIn, - amountOut - ] + return [path, amountIn, amountOut, receiver]; } -function extractArgsFromHydraOmnipoolSell(call: CallBase): Codec[] { - const [assetIn, assetOut, amount, minBuyAmount, _] = call.args +function extractArgsFromHydraRouterSell( + call: CallBase +): [Codec, Codec, Codec, Codec] { + const [assetIn, assetOut, amountIn, minAmountOut, _] = call.args; - return [ - assetIn, - assetOut, - amount, // amountIn - minBuyAmount // amountOut - ] + return [assetIn, assetOut, amountIn, minAmountOut]; } +function extractArgsFromHydraRouterBuy( + call: CallBase +): [Codec, Codec, Codec, Codec] { + const [assetIn, assetOut, amountOut, maxAmountIn, _] = call.args; -function extractArgsFromHydraOmnipoolBuy(call: CallBase): Codec[] { - const [assetOut, assetIn, amount, maxSellAmount, _] = call.args + return [assetIn, assetOut, maxAmountIn, amountOut]; +} - return [ - assetIn, - assetOut, - maxSellAmount, // amountIn - amount // amountOut - ] -} \ No newline at end of file +function extractArgsFromHydraOmnipoolSell( + call: CallBase +): [Codec, Codec, Codec, Codec] { + const [assetIn, assetOut, amount, minBuyAmount, _] = call.args; + + return [ + assetIn, + assetOut, + amount, // amountIn + minBuyAmount, // amountOut + ]; +} + +function extractArgsFromHydraOmnipoolBuy( + call: CallBase +): [Codec, Codec, Codec, Codec] { + const [assetOut, assetIn, amount, maxSellAmount, _] = call.args; + + return [ + assetIn, + assetOut, + maxSellAmount, // amountIn + amount, // amountOut + ]; +} diff --git a/src/mappings/NewEra.ts b/src/mappings/NewEra.ts index 90b8d1ed..05b27af5 100644 --- a/src/mappings/NewEra.ts +++ b/src/mappings/NewEra.ts @@ -1,92 +1,117 @@ -import {SubstrateEvent} from "@subql/types"; -import {eventId} from "./common"; +import { SubstrateEvent } from "@subql/types"; +import { eventId } from "./common"; import { EraValidatorInfo } from "../types/models/EraValidatorInfo"; import { IndividualExposure } from "../types"; -import {SpStakingPagedExposureMetadata, SpStakingExposurePage} from "@polkadot/types/lookup"; -import {Option} from "@polkadot/types-codec"; -import {INumber} from "@polkadot/types-codec/types/interfaces"; +import { + SpStakingPagedExposureMetadata, + SpStakingExposurePage, +} from "@polkadot/types/lookup"; +import { Option } from "@polkadot/types"; +import { INumber } from "@polkadot/types-codec/types/interfaces"; +import { Exposure } from "@polkadot/types/interfaces"; -export async function handleStakersElected(event: SubstrateEvent): Promise { - await handleNewEra(event) +export async function handleStakersElected( + event: SubstrateEvent, +): Promise { + await handleNewEra(event); } export async function handleNewEra(event: SubstrateEvent): Promise { - const currentEra = (await api.query.staking.currentEra()).unwrap().toNumber() + const currentEra = ((await api.query.staking.currentEra()) as Option) + .unwrap() + .toNumber(); - if (api.query.staking.erasStakersOverview) { - await processEraStakersPaged(event, currentEra); - } else { - await processEraStakersClipped(event, currentEra); - } + if (api.query.staking.erasStakersOverview) { + await processEraStakersPaged(event, currentEra); + } else { + await processEraStakersClipped(event, currentEra); + } } -async function processEraStakersClipped(event: SubstrateEvent, currentEra: number): Promise { - const exposures = await api.query.staking.erasStakersClipped.entries(currentEra); +async function processEraStakersClipped( + event: SubstrateEvent, + currentEra: number, +): Promise { + const exposures = + await api.query.staking.erasStakersClipped.entries(currentEra); - const eraValidatorInfos = exposures.map(([key, exposure]) => { - const [, validatorId] = key.args + for (const [key, exposure] of exposures) { + const [, validatorId] = key.args; + let validatorIdString = validatorId.toString(); + const exp = exposure as unknown as Exposure; + const eraValidatorInfo = new EraValidatorInfo( + eventId(event) + validatorIdString, + validatorIdString, + currentEra, + exp.total.toBigInt(), + exp.own.toBigInt(), + exp.others.map((other) => { + return { + who: other.who.toString(), + value: other.value.toString(), + } as IndividualExposure; + }), + ); + await eraValidatorInfo.save(); + } +} - let validatorIdString = validatorId.toString() - const eraValidatorInfo = new EraValidatorInfo( - eventId(event)+validatorIdString, - validatorIdString, - currentEra, - exposure.total.toBigInt(), - exposure.own.toBigInt(), - exposure.others.map(other => { - return { - who: other.who.toString(), - value: other.value.toString() - } as IndividualExposure - }) - ) - return eraValidatorInfo.save() - }) +async function processEraStakersPaged( + event: SubstrateEvent, + currentEra: number, +): Promise { + const overview = + await api.query.staking.erasStakersOverview.entries(currentEra); + const pages = await api.query.staking.erasStakersPaged.entries(currentEra); - await Promise.allSettled(eraValidatorInfos) -} + interface AccumulatorType { + [key: string]: any; + } -async function processEraStakersPaged(event: SubstrateEvent, currentEra: number): Promise { - const overview = await api.query.staking.erasStakersOverview.entries(currentEra) - const pages = await api.query.staking.erasStakersPaged.entries(currentEra) + const othersCounted = pages.reduce( + (accumulator: AccumulatorType, [key, exp]) => { + const exposure = ( + exp as unknown as Option + ).unwrap(); + const [, validatorId, pageId] = key.args; + const pageNumber = (pageId as INumber).toNumber(); + const validatorIdString = validatorId.toString(); - const othersCounted = pages.reduce((accumulator, [key, exp]) => { - const exposure = (exp as unknown as Option).unwrap() - const [, validatorId, pageId] = key.args - const pageNumber = (pageId as INumber).toNumber() - const validatorIdString = validatorId.toString() - - const others = exposure.others.map(({who, value}) => { - return { - who: who.toString(), - value: value.toString() - } as IndividualExposure - }); + const others = exposure.others.map(({ who, value }) => { + return { + who: who.toString(), + value: value.toString(), + } as IndividualExposure; + }); - (accumulator[validatorIdString] = accumulator[validatorIdString] || {})[pageNumber] = others; - return accumulator; - }, {}) + (accumulator[validatorIdString] = accumulator[validatorIdString] || {})[ + pageNumber + ] = others; + return accumulator; + }, + {}, + ); - const eraValidatorInfos = overview.map(([key, exp]) => { - const exposure = (exp as unknown as Option).unwrap() - const [, validatorId] = key.args - let validatorIdString = validatorId.toString() - - let others = [] - for (let i = 0; i < exposure.pageCount.toNumber(); ++i) { - others.push(...othersCounted[validatorIdString][i]) - }; + for (const [key, exp] of overview) { + const exposure = ( + exp as unknown as Option + ).unwrap(); + const [, validatorId] = key.args; + let validatorIdString = validatorId.toString(); - const eraValidatorInfo = new EraValidatorInfo( - eventId(event)+validatorIdString, - validatorIdString, - currentEra, - exposure.total.toBigInt(), - exposure.own.toBigInt(), - others - ) - return eraValidatorInfo.save() - }) + let others = []; + for (let i = 0; i < exposure.pageCount.toNumber(); ++i) { + others.push(...othersCounted[validatorIdString][i]); + } - await Promise.allSettled(eraValidatorInfos) + const eraValidatorInfo = new EraValidatorInfo( + eventId(event) + validatorIdString, + validatorIdString, + currentEra, + exposure.total.toBigInt(), + exposure.own.toBigInt(), + others, + ); + await eraValidatorInfo.save(); + } } diff --git a/src/mappings/PoolRewards.ts b/src/mappings/PoolRewards.ts index 7f8b8049..a8facef1 100644 --- a/src/mappings/PoolRewards.ts +++ b/src/mappings/PoolRewards.ts @@ -1,154 +1,257 @@ import { - AccountPoolReward, - AccumulatedReward, - AccumulatedPoolReward, - HistoryElement, - RewardType, -} from '../types'; -import {SubstrateEvent} from "@subql/types"; -import {eventIdFromBlockAndIdxAndAddress, timestamp, eventIdWithAddress, blockNumber} from "./common"; -import {Codec} from "@polkadot/types/types"; -import {INumber} from "@polkadot/types-codec/types/interfaces"; -import {PalletNominationPoolsPoolMember} from "@polkadot/types/lookup"; -import {handleGenericForTxHistory, updateAccumulatedGenericReward} from "./Rewards"; -import {getPoolMembers} from "./Cache"; - - -export async function handlePoolReward(rewardEvent: SubstrateEvent<[accountId: Codec, poolId: INumber, reward: INumber]>): Promise { - await handlePoolRewardForTxHistory(rewardEvent) - let accumulatedReward = await updateAccumulatedPoolReward(rewardEvent, true) - let { event: { data: [accountId, poolId, amount] } } = rewardEvent - await updateAccountPoolRewards(rewardEvent, accountId.toString(), amount.toBigInt(), poolId.toNumber(), RewardType.reward, accumulatedReward.amount) -} + AccountPoolReward, + AccumulatedReward, + AccumulatedPoolReward, + HistoryElement, + RewardType, +} from "../types"; +import { SubstrateEvent } from "@subql/types"; +import { + eventIdFromBlockAndIdxAndAddress, + timestamp, + eventIdWithAddress, + blockNumber, +} from "./common"; +import { Codec } from "@polkadot/types/types"; +import { u32 } from "@polkadot/types-codec"; +import { INumber } from "@polkadot/types-codec/types/interfaces"; +import { + PalletNominationPoolsBondedPoolInner, + PalletNominationPoolsPoolMember, + PalletNominationPoolsSubPools, +} from "@polkadot/types/lookup"; +import { + handleGenericForTxHistory, + updateAccumulatedGenericReward, +} from "./Rewards"; +import { getPoolMembers } from "./Cache"; +import { Option } from "@polkadot/types"; +export async function handlePoolReward( + rewardEvent: SubstrateEvent< + [accountId: Codec, poolId: INumber, reward: INumber] + >, +): Promise { + await handlePoolRewardForTxHistory(rewardEvent); + let accumulatedReward = await updateAccumulatedPoolReward(rewardEvent, true); + let { + event: { + data: [accountId, poolId, amount], + }, + } = rewardEvent; + await updateAccountPoolRewards( + rewardEvent, + accountId.toString(), + amount.toBigInt(), + poolId.toNumber(), + RewardType.reward, + accumulatedReward.amount, + ); +} -async function handlePoolRewardForTxHistory(rewardEvent: SubstrateEvent<[accountId: Codec, poolId: INumber, reward: INumber]>): Promise { - const {event: {data: [account, poolId, amount]}} = rewardEvent - handleGenericForTxHistory(rewardEvent, account.toString(), async (element: HistoryElement) => { - element.poolReward = { - eventIdx: rewardEvent.idx, - amount: amount.toString(), - isReward: true, - poolId: poolId.toNumber() - } - return element - }) +async function handlePoolRewardForTxHistory( + rewardEvent: SubstrateEvent< + [accountId: Codec, poolId: INumber, reward: INumber] + >, +): Promise { + const { + event: { + data: [account, poolId, amount], + }, + } = rewardEvent; + handleGenericForTxHistory( + rewardEvent, + account.toString(), + async (element: HistoryElement) => { + element.poolReward = { + eventIdx: rewardEvent.idx, + amount: amount.toString(), + isReward: true, + poolId: poolId.toNumber(), + }; + return element; + }, + ); } -async function updateAccumulatedPoolReward(event: SubstrateEvent<[accountId: Codec, poolId: INumber, reward: INumber]>, isReward: boolean): Promise { - let {event: {data: [accountId, _, amount]}} = event - return await updateAccumulatedGenericReward(AccumulatedPoolReward, accountId.toString(), amount.toBigInt(), isReward) +async function updateAccumulatedPoolReward( + event: SubstrateEvent<[accountId: Codec, poolId: INumber, reward: INumber]>, + isReward: boolean, +): Promise { + let { + event: { + data: [accountId, _, amount], + }, + } = event; + return await updateAccumulatedGenericReward( + AccumulatedPoolReward, + accountId.toString(), + amount.toBigInt(), + isReward, + ); } -async function updateAccountPoolRewards(event: SubstrateEvent, accountAddress: string, amount: bigint, poolId: number, rewardType: RewardType, accumulatedAmount: bigint): Promise { - let id = eventIdWithAddress(event, accountAddress) - let accountPoolReward = new AccountPoolReward( - id, - accountAddress, - blockNumber(event), - timestamp(event.block), - amount, - accumulatedAmount, - rewardType, - poolId - ); - await accountPoolReward.save() +async function updateAccountPoolRewards( + event: SubstrateEvent, + accountAddress: string, + amount: bigint, + poolId: number, + rewardType: RewardType, + accumulatedAmount: bigint, +): Promise { + let id = eventIdWithAddress(event, accountAddress); + let accountPoolReward = new AccountPoolReward( + id, + accountAddress, + blockNumber(event), + timestamp(event.block), + amount, + accumulatedAmount, + rewardType, + poolId, + ); + await accountPoolReward.save(); } -export async function handlePoolBondedSlash(bondedSlashEvent: SubstrateEvent<[poolId: INumber, slash: INumber]>): Promise { - const {event: {data: [poolIdEncoded, slash]}} = bondedSlashEvent - const poolId = poolIdEncoded.toNumber() - - const pool = (await api.query.nominationPools.bondedPools(poolId)).unwrap() - - await handleRelaychainPooledStakingSlash( - bondedSlashEvent, - poolId, - pool.points.toBigInt(), - slash.toBigInt(), - (member: PalletNominationPoolsPoolMember) : bigint => { - return member.points.toBigInt() - } - ) +export async function handlePoolBondedSlash( + bondedSlashEvent: SubstrateEvent<[poolId: INumber, slash: INumber]>, +): Promise { + const { + event: { + data: [poolIdEncoded, slash], + }, + } = bondedSlashEvent; + const poolId = poolIdEncoded.toNumber(); + + const poolOption = (await api.query.nominationPools.bondedPools( + poolId, + )) as Option; + const pool = poolOption.unwrap(); + + await handleRelaychainPooledStakingSlash( + bondedSlashEvent, + poolId, + pool.points.toBigInt(), + slash.toBigInt(), + (member: PalletNominationPoolsPoolMember): bigint => { + return member.points.toBigInt(); + }, + ); } -export async function handlePoolUnbondingSlash(unbondingSlashEvent: SubstrateEvent<[era: INumber, poolId: INumber, slash: INumber]>): Promise { - const {event: {data: [era, poolId, slash]}} = unbondingSlashEvent - const poolIdNumber = poolId.toNumber() - const eraIdNumber = era.toNumber() +export async function handlePoolUnbondingSlash( + unbondingSlashEvent: SubstrateEvent< + [era: INumber, poolId: INumber, slash: INumber] + >, +): Promise { + const { + event: { + data: [era, poolId, slash], + }, + } = unbondingSlashEvent; + const poolIdNumber = poolId.toNumber(); + const eraIdNumber = era.toNumber(); - const unbondingPools = (await api.query.nominationPools.subPoolsStorage(poolIdNumber)).unwrap() + const unbondingPools = ( + (await api.query.nominationPools.subPoolsStorage( + poolIdNumber, + )) as Option + ).unwrap(); - const pool = unbondingPools.withEra[eraIdNumber] ?? unbondingPools.noEra + const pool = + unbondingPools.withEra.get(eraIdNumber as unknown as u32) ?? + unbondingPools.noEra; - await handleRelaychainPooledStakingSlash( - unbondingSlashEvent, - poolIdNumber, - pool.points.toBigInt(), - slash.toBigInt(), - (member: PalletNominationPoolsPoolMember) : bigint => { - return member.unbondingEras[eraIdNumber]?.toBigInt() ?? BigInt(0) - } - ) + await handleRelaychainPooledStakingSlash( + unbondingSlashEvent, + poolIdNumber, + pool.points.toBigInt(), + slash.toBigInt(), + (member: PalletNominationPoolsPoolMember): bigint => { + return ( + member.unbondingEras.get(eraIdNumber as unknown as u32)?.toBigInt() ?? + BigInt(0) + ); + }, + ); } async function handleRelaychainPooledStakingSlash( - event: SubstrateEvent, - poolId: number, - poolPoints: bigint, - slash: bigint, - memberPointsCounter: (member: PalletNominationPoolsPoolMember) => bigint + event: SubstrateEvent, + poolId: number, + poolPoints: bigint, + slash: bigint, + memberPointsCounter: (member: PalletNominationPoolsPoolMember) => bigint, ): Promise { - if(poolPoints == BigInt(0)) { - return - } + if (poolPoints == BigInt(0)) { + return; + } - const members = await getPoolMembers(blockNumber(event)) - - await Promise.all(members.map(async ([accountId, member]) => { - let memberPoints: bigint - if (member.poolId.toNumber() === poolId) { - memberPoints = memberPointsCounter(member) - if (memberPoints != BigInt(0)) { - const personalSlash = (slash * memberPoints) / poolPoints - - await handlePoolSlashForTxHistory(event, poolId, accountId, personalSlash) - let accumulatedReward = await updateAccumulatedGenericReward(AccumulatedPoolReward, accountId, personalSlash, false) - await updateAccountPoolRewards( - event, - accountId, - personalSlash, - poolId, - RewardType.slash, - accumulatedReward.amount - ) - } - } - })) -} + const members = await getPoolMembers(blockNumber(event)); -async function handlePoolSlashForTxHistory(slashEvent: SubstrateEvent, poolId: number, accountId: string, personalSlash: bigint): Promise { - const extrinsic = slashEvent.extrinsic; - const block = slashEvent.block; - const blockNumber = block.block.header.number.toString() - const blockTimestamp = timestamp(block) - const eventId = eventIdFromBlockAndIdxAndAddress(blockNumber, slashEvent.idx.toString(), accountId) - - const element = new HistoryElement( - eventId, - block.block.header.number.toNumber(), - blockTimestamp, - accountId - ); - if (extrinsic !== undefined) { - element.extrinsicHash = extrinsic.extrinsic.hash.toString() - element.extrinsicIdx = extrinsic.idx - } - element.poolReward = { - eventIdx: slashEvent.idx, - amount: personalSlash.toString(), - isReward: false, - poolId: poolId + for (const [accountId, member] of members) { + let memberPoints: bigint; + if (member.poolId.toNumber() === poolId) { + memberPoints = memberPointsCounter(member); + if (memberPoints != BigInt(0)) { + const personalSlash = (slash * memberPoints) / poolPoints; + + await handlePoolSlashForTxHistory( + event, + poolId, + accountId, + personalSlash, + ); + let accumulatedReward = await updateAccumulatedGenericReward( + AccumulatedPoolReward, + accountId, + personalSlash, + false, + ); + await updateAccountPoolRewards( + event, + accountId, + personalSlash, + poolId, + RewardType.slash, + accumulatedReward.amount, + ); + } } - await element.save() -} \ No newline at end of file + } +} + +async function handlePoolSlashForTxHistory( + slashEvent: SubstrateEvent, + poolId: number, + accountId: string, + personalSlash: bigint, +): Promise { + const extrinsic = slashEvent.extrinsic; + const block = slashEvent.block; + const blockNumber = block.block.header.number.toString(); + const blockTimestamp = timestamp(block); + const eventId = eventIdFromBlockAndIdxAndAddress( + blockNumber, + slashEvent.idx.toString(), + accountId, + ); + + const element = HistoryElement.create({ + id: eventId, + timestamp: blockTimestamp, + blockNumber: block.block.header.number.toNumber(), + extrinsicHash: + extrinsic !== undefined ? extrinsic.extrinsic.hash.toString() : null, + extrinsicIdx: extrinsic !== undefined ? extrinsic.idx : null, + address: accountId, + poolReward: { + eventIdx: slashEvent.idx, + amount: personalSlash.toString(), + isReward: false, + poolId: poolId, + }, + }); + + await element.save(); +} diff --git a/src/mappings/Rewards.ts b/src/mappings/Rewards.ts index 74dacde8..16e99b7b 100644 --- a/src/mappings/Rewards.ts +++ b/src/mappings/Rewards.ts @@ -1,437 +1,576 @@ import { - AccountReward, - AccumulatedReward, - HistoryElement, - Reward, - RewardType, -} from '../types'; -import {SubstrateBlock, SubstrateEvent, SubstrateExtrinsic} from "@subql/types"; + AccountReward, + AccumulatedReward, + HistoryElement, + Reward, + RewardType, +} from "../types"; import { - callsFromBatch, - eventIdFromBlockAndIdx, - isBatch, - timestamp, - eventId, - eventIdWithAddress, - isProxy, - callFromProxy, - blockNumber, - eventRecordToSubstrateEvent, - getRewardData + SubstrateBlock, + SubstrateEvent, + SubstrateExtrinsic, +} from "@subql/types"; +import { + callsFromBatch, + eventIdFromBlockAndIdx, + isBatch, + timestamp, + eventId, + eventIdWithAddress, + isProxy, + callFromProxy, + blockNumber, } from "./common"; -import {CallBase} from "@polkadot/types/types/calls"; -import {AnyTuple} from "@polkadot/types/types/codec"; -import {EraIndex} from "@polkadot/types/interfaces/staking" -import {Balance} from "@polkadot/types/interfaces"; -import {cachedRewardDestination, cachedController, cachedStakingRewardEraIndex} from "./Cache" -import {Codec} from "@polkadot/types/types"; -import {INumber} from "@polkadot/types-codec/types/interfaces"; +import { CallBase } from "@polkadot/types/types/calls"; +import { AnyTuple } from "@polkadot/types/types/codec"; +import { EraIndex } from "@polkadot/types/interfaces/staking"; +import { Balance, EventRecord } from "@polkadot/types/interfaces"; +import { + cachedRewardDestination, + cachedController, + cachedStakingRewardEraIndex, +} from "./Cache"; +import { Codec } from "@polkadot/types/types"; +import { INumber } from "@polkadot/types-codec/types/interfaces"; function isPayoutStakers(call: CallBase): boolean { - return call.method == "payoutStakers" + return call.method == "payoutStakers"; } function isPayoutStakersByPage(call: CallBase): boolean { - return call.method == "payoutStakersByPage" + return call.method == "payoutStakersByPage"; } function isPayoutValidator(call: CallBase): boolean { - return call.method == "payoutValidator" + return call.method == "payoutValidator"; } -function extractArgsFromPayoutStakers(call: CallBase): [string, number] { - const [validatorAddressRaw, eraRaw] = call.args +function extractArgsFromPayoutStakers( + call: CallBase, +): [string, number] { + const [validatorAddressRaw, eraRaw] = call.args; - return [validatorAddressRaw.toString(), (eraRaw as EraIndex).toNumber()] + return [validatorAddressRaw.toString(), (eraRaw as EraIndex).toNumber()]; } -function extractArgsFromPayoutStakersByPage(call: CallBase): [string, number] { - const [validatorAddressRaw, eraRaw, _] = call.args +function extractArgsFromPayoutStakersByPage( + call: CallBase, +): [string, number] { + const [validatorAddressRaw, eraRaw, _] = call.args; - return [validatorAddressRaw.toString(), (eraRaw as EraIndex).toNumber()] + return [validatorAddressRaw.toString(), (eraRaw as EraIndex).toNumber()]; } -function extractArgsFromPayoutValidator(call: CallBase, sender: string): [string, number] { - const [eraRaw] = call.args +function extractArgsFromPayoutValidator( + call: CallBase, + sender: string, +): [string, number] { + const [eraRaw] = call.args; - return [sender, (eraRaw as EraIndex).toNumber()] + return [sender, (eraRaw as EraIndex).toNumber()]; } -export async function handleRewarded(rewardEvent: SubstrateEvent<[accountId: Codec, reward: INumber]>): Promise { - await handleReward(rewardEvent) +export async function handleRewarded( + rewardEvent: SubstrateEvent<[accountId: Codec, reward: INumber]>, +): Promise { + await handleReward(rewardEvent); } -export async function handleReward(rewardEvent: SubstrateEvent<[accountId: Codec, reward: INumber]>): Promise { - await handleRewardForTxHistory(rewardEvent) - let accumulatedReward = await updateAccumulatedReward(rewardEvent, true) - await updateAccountRewards(rewardEvent, RewardType.reward, accumulatedReward.amount) - // let rewardEventId = eventId(rewardEvent) - // try { - // let errorOccursOnEvent = await ErrorEvent.get(rewardEventId) - // if (errorOccursOnEvent !== undefined) { - // logger.info(`Skip rewardEvent: ${rewardEventId}`) - // return; - // } - - // await handleRewardForTxHistory(rewardEvent) - // await updateAccumulatedReward(rewardEvent, true) - // } catch (error) { - // logger.error(`Got error on reward event: ${rewardEventId}: ${error.toString()}`) - // let saveError = new ErrorEvent(rewardEventId) - // saveError.description = error.toString() - // await saveError.save() - // } +export async function handleReward( + rewardEvent: SubstrateEvent<[accountId: Codec, reward: INumber]>, +): Promise { + await handleRewardForTxHistory(rewardEvent); + let accumulatedReward = await updateAccumulatedReward(rewardEvent, true); + await updateAccountRewards( + rewardEvent, + RewardType.reward, + accumulatedReward.amount, + ); + // let rewardEventId = eventId(rewardEvent) + // try { + // let errorOccursOnEvent = await ErrorEvent.get(rewardEventId) + // if (errorOccursOnEvent !== undefined) { + // logger.info(`Skip rewardEvent: ${rewardEventId}`) + // return; + // } + + // await handleRewardForTxHistory(rewardEvent) + // await updateAccumulatedReward(rewardEvent, true) + // } catch (error) { + // logger.error(`Got error on reward event: ${rewardEventId}: ${error.toString()}`) + // let saveError = new ErrorEvent(rewardEventId) + // saveError.description = error.toString() + // await saveError.save() + // } } -async function handleRewardForTxHistory(rewardEvent: SubstrateEvent): Promise { - let element = await HistoryElement.get(eventId(rewardEvent)) - - if (element !== undefined) { - // already processed reward previously - return; - } - - let payoutCallsArgs = rewardEvent.block.block.extrinsics - .map(extrinsic => determinePayoutCallsArgs(extrinsic.method, extrinsic.signer.toString())) - .filter(args => args.length != 0) - .flat() +async function handleRewardForTxHistory( + rewardEvent: SubstrateEvent, +): Promise { + let element = await HistoryElement.get(eventId(rewardEvent)); - if (payoutCallsArgs.length == 0) { - return - } + if (element !== undefined) { + // already processed reward previously + return; + } - const payoutValidators = payoutCallsArgs.map(([validator,]) => validator) + let payoutCallsArgs = rewardEvent.block.block.extrinsics + .map((extrinsic) => + determinePayoutCallsArgs(extrinsic.method, extrinsic.signer.toString()), + ) + .filter((args) => args.length != 0) + .flat(); - const initialCallIndex = -1 + if (payoutCallsArgs.length == 0) { + return; + } - var accountsMapping: {[address: string]: string} = {} + const payoutValidators = payoutCallsArgs.map(([validator]) => validator); - for (const eventRecord of rewardEvent.block.events) { - if ( - eventRecord.event.section == rewardEvent.event.section && - eventRecord.event.method == rewardEvent.event.method - ) { + const initialCallIndex = -1; - let {event: {data: [account, _]}} = eventRecord + var accountsMapping: { [address: string]: string } = {}; - if (account.toRawType() === 'Balance') { - return - } + for (const eventRecord of rewardEvent.block.events) { + if ( + eventRecord.event.section == rewardEvent.event.section && + eventRecord.event.method == rewardEvent.event.method + ) { + let { + event: { + data: [account, _], + }, + } = eventRecord; - let accountAddress = account.toString() - let rewardDestination = await cachedRewardDestination(accountAddress, eventRecord as unknown as SubstrateEvent) + if (account.toRawType() === "Balance") { + return; + } - if (rewardDestination.isStaked || rewardDestination.isStash) { - accountsMapping[accountAddress] = accountAddress - } else if (rewardDestination.isController) { - accountsMapping[accountAddress] = await cachedController(accountAddress, eventRecord as unknown as SubstrateEvent) - } else if (rewardDestination.isAccount) { - accountsMapping[accountAddress] = rewardDestination.asAccount.toString() - } - } + let accountAddress = account.toString(); + let rewardDestination = await cachedRewardDestination( + accountAddress, + eventRecord as unknown as SubstrateEvent, + ); + + if (rewardDestination.isStaked || rewardDestination.isStash) { + accountsMapping[accountAddress] = accountAddress; + } else if (rewardDestination.isController) { + accountsMapping[accountAddress] = await cachedController( + accountAddress, + eventRecord as unknown as SubstrateEvent, + ); + } else if (rewardDestination.isAccount) { + accountsMapping[accountAddress] = + rewardDestination.asAccount.toString(); + } } - - await buildRewardEvents( - rewardEvent.block, - rewardEvent.extrinsic, - rewardEvent.event.method, - rewardEvent.event.section, - accountsMapping, - initialCallIndex, - (currentCallIndex, eventAccount) => { - if (payoutValidators.length > currentCallIndex + 1) { - const index = payoutValidators.indexOf(eventAccount) - return index !== -1 && index > currentCallIndex ? index : currentCallIndex - } else { - return currentCallIndex - } - }, - (currentCallIndex, eventIdx, stash, amount) => { - if (currentCallIndex == -1) { - return { - eventIdx: eventIdx, - amount: amount, - isReward: true, - stash: stash, - validator: "", - era: -1 - } - } else { - const [validator, era] = payoutCallsArgs[currentCallIndex] - return { - eventIdx: eventIdx, - amount: amount, - isReward: true, - stash: stash, - validator: validator, - era: era - } - } - } - ) + } + + await buildRewardEvents( + rewardEvent.block, + rewardEvent.extrinsic, + rewardEvent.event.method, + rewardEvent.event.section, + accountsMapping, + initialCallIndex, + (currentCallIndex, eventAccount) => { + if (payoutValidators.length > currentCallIndex + 1) { + const index = payoutValidators.indexOf(eventAccount); + return index !== -1 && index > currentCallIndex + ? index + : currentCallIndex; + } else { + return currentCallIndex; + } + }, + (currentCallIndex, eventIdx, stash, amount) => { + if (currentCallIndex == -1) { + return { + eventIdx: eventIdx, + amount: amount, + isReward: true, + stash: stash, + validator: "", + era: -1, + }; + } else { + const [validator, era] = payoutCallsArgs[currentCallIndex]; + return { + eventIdx: eventIdx, + amount: amount, + isReward: true, + stash: stash, + validator: validator, + era: era, + }; + } + }, + ); } -function determinePayoutCallsArgs(causeCall: CallBase, sender: string) : [string, number][] { - if (isPayoutStakers(causeCall)) { - return [extractArgsFromPayoutStakers(causeCall)] - } else if (isPayoutStakersByPage(causeCall)) { - return [extractArgsFromPayoutStakersByPage(causeCall)] - } else if (isPayoutValidator(causeCall)) { - return [extractArgsFromPayoutValidator(causeCall, sender)] - } else if (isBatch(causeCall)) { - return callsFromBatch(causeCall) - .map(call => { - return determinePayoutCallsArgs(call, sender) - .map((value, index, array) => { - return value - }) - }) - .flat() - } else if (isProxy(causeCall)) { - let proxyCall = callFromProxy(causeCall) - return determinePayoutCallsArgs(proxyCall, sender) - } else { - return [] - } +function determinePayoutCallsArgs( + causeCall: CallBase, + sender: string, +): [string, number][] { + if (isPayoutStakers(causeCall)) { + return [extractArgsFromPayoutStakers(causeCall)]; + } else if (isPayoutStakersByPage(causeCall)) { + return [extractArgsFromPayoutStakersByPage(causeCall)]; + } else if (isPayoutValidator(causeCall)) { + return [extractArgsFromPayoutValidator(causeCall, sender)]; + } else if (isBatch(causeCall)) { + return callsFromBatch(causeCall) + .map((call) => { + return determinePayoutCallsArgs(call, sender).map( + (value, index, array) => { + return value; + }, + ); + }) + .flat(); + } else if (isProxy(causeCall)) { + let proxyCall = callFromProxy(causeCall); + return determinePayoutCallsArgs(proxyCall, sender); + } else { + return []; + } } -export async function handleSlashed(slashEvent: SubstrateEvent<[accountId: Codec, slash: INumber]>): Promise { - await handleSlash(slashEvent) +export async function handleSlashed( + slashEvent: SubstrateEvent<[accountId: Codec, slash: INumber]>, +): Promise { + await handleSlash(slashEvent); } -export async function handleSlash(slashEvent: SubstrateEvent<[accountId: Codec, slash: INumber]>): Promise { - await handleSlashForTxHistory(slashEvent) - let accumulatedReward = await updateAccumulatedReward(slashEvent, false) - await updateAccountRewards(slashEvent, RewardType.slash, accumulatedReward.amount) - // let slashEventId = eventId(slashEvent) - // try { - // let errorOccursOnEvent = await ErrorEvent.get(slashEventId) - // if (errorOccursOnEvent !== undefined) { - // logger.info(`Skip slashEvent: ${slashEventId}`) - // return; - // } - - // await handleSlashForTxHistory(slashEvent) - // await updateAccumulatedReward(slashEvent, false) - // } catch (error) { - // logger.error(`Got error on slash event: ${slashEventId}: ${error.toString()}`) - // let saveError = new ErrorEvent(slashEventId) - // saveError.description = error.toString() - // await saveError.save() - // } +export async function handleSlash( + slashEvent: SubstrateEvent<[accountId: Codec, slash: INumber]>, +): Promise { + await handleSlashForTxHistory(slashEvent); + let accumulatedReward = await updateAccumulatedReward(slashEvent, false); + await updateAccountRewards( + slashEvent, + RewardType.slash, + accumulatedReward.amount, + ); + // let slashEventId = eventId(slashEvent) + // try { + // let errorOccursOnEvent = await ErrorEvent.get(slashEventId) + // if (errorOccursOnEvent !== undefined) { + // logger.info(`Skip slashEvent: ${slashEventId}`) + // return; + // } + + // await handleSlashForTxHistory(slashEvent) + // await updateAccumulatedReward(slashEvent, false) + // } catch (error) { + // logger.error(`Got error on slash event: ${slashEventId}: ${error.toString()}`) + // let saveError = new ErrorEvent(slashEventId) + // saveError.description = error.toString() + // await saveError.save() + // } } async function getValidators(era: number): Promise> { - const eraStakersInSlashEra = await (api.query.staking.erasStakersClipped ? api.query.staking.erasStakersClipped.keys(era) : api.query.staking.erasStakersOverview.keys(era)) - const validatorsInSlashEra = eraStakersInSlashEra.map((key) => { - let [, validatorId] = key.args - - return validatorId.toString() - }) - return new Set(validatorsInSlashEra) + const eraStakersInSlashEra = await (api.query.staking.erasStakersClipped + ? api.query.staking.erasStakersClipped.keys(era) + : api.query.staking.erasStakersOverview.keys(era)); + const validatorsInSlashEra = eraStakersInSlashEra.map((key) => { + let [, validatorId] = key.args; + + return validatorId.toString(); + }); + return new Set(validatorsInSlashEra); } -async function handleSlashForTxHistory(slashEvent: SubstrateEvent): Promise { - let element = await HistoryElement.get(eventId(slashEvent)) - - if (element !== undefined) { - // already processed reward previously - return; - } - const eraWrapped = await api.query.staking.currentEra() - const currentEra = Number(eraWrapped.toString()) - const slashDeferDuration = api.consts.staking.slashDeferDuration - let validatorsSet = new Set() - - const slashEra = !slashDeferDuration ? currentEra : currentEra - slashDeferDuration.toNumber() - - if (api.query.staking.erasStakersOverview || api.query.staking.erasStakersClipped) { - validatorsSet = await getValidators(slashEra) - } - - const initialValidator = null - - await buildRewardEvents( - slashEvent.block, - slashEvent.extrinsic, - slashEvent.event.method, - slashEvent.event.section, - {}, - initialValidator, - (currentValidator, eventAccount) => { - return validatorsSet.has(eventAccount) ? eventAccount : currentValidator - }, - (validator, eventIdx, stash, amount) => { - - return { - eventIdx: eventIdx, - amount: amount, - isReward: false, - stash: stash, - validator: validator, - era: slashEra - } - } - ) +async function handleSlashForTxHistory( + slashEvent: SubstrateEvent, +): Promise { + let element = await HistoryElement.get(eventId(slashEvent)); + + if (element !== undefined) { + // already processed reward previously + return; + } + const eraWrapped = await api.query.staking.currentEra(); + const currentEra = Number(eraWrapped.toString()); + const slashDeferDuration = api.consts.staking.slashDeferDuration; + let validatorsSet = new Set(); + + const slashEra = !slashDeferDuration + ? currentEra + : currentEra - Number(slashDeferDuration); + + if ( + api.query.staking.erasStakersOverview || + api.query.staking.erasStakersClipped + ) { + validatorsSet = await getValidators(slashEra); + } + + const initialValidator: any = null; + + await buildRewardEvents( + slashEvent.block, + slashEvent.extrinsic, + slashEvent.event.method, + slashEvent.event.section, + {}, + initialValidator, + (currentValidator, eventAccount) => { + return validatorsSet.has(eventAccount) ? eventAccount : currentValidator; + }, + (validator, eventIdx, stash, amount) => { + return { + eventIdx: eventIdx, + amount: amount, + isReward: false, + stash: stash, + validator: validator, + era: slashEra, + }; + }, + ); } async function buildRewardEvents( - block: SubstrateBlock, - extrinsic: SubstrateExtrinsic | undefined, - eventMethod: String, - eventSection: String, - accountsMapping: {[address: string]: string}, - initialInnerAccumulator: A, - produceNewAccumulator: (currentAccumulator: A, eventAccount: string) => A, - produceReward: (currentAccumulator: A, eventIdx: number, stash: string, amount: string) => Reward + block: SubstrateBlock, + extrinsic: SubstrateExtrinsic | undefined, + eventMethod: String, + eventSection: String, + accountsMapping: { [address: string]: string }, + initialInnerAccumulator: A, + produceNewAccumulator: (currentAccumulator: A, eventAccount: string) => A, + produceReward: ( + currentAccumulator: A, + eventIdx: number, + stash: string, + amount: string, + ) => Reward, ) { - let blockNumber = block.block.header.number.toString() - let blockTimestamp = timestamp(block) - - const [, savingPromises] = block.events.reduce<[A, Promise[]]>( - (accumulator, eventRecord, eventIndex) => { - let [innerAccumulator, currentPromises] = accumulator - - if (!(eventRecord.event.method == eventMethod && eventRecord.event.section == eventSection)) return accumulator - - let [account, amount] = getRewardData(eventRecordToSubstrateEvent(eventRecord)) + let blockNumber = block.block.header.number.toString(); + let blockTimestamp = timestamp(block); + + let innerAccumulator = initialInnerAccumulator; + for (let eventIndex = 0; eventIndex < block.events.length; eventIndex++) { + const eventRecord = block.events[eventIndex]; + + if ( + !( + eventRecord.event.method === eventMethod && + eventRecord.event.section === eventSection + ) + ) + continue; - const newAccumulator = produceNewAccumulator(innerAccumulator, account.toString()) + let [account, amount] = decodeDataFromReward( + eventRecordToSubstrateEvent(eventRecord), + ); - const eventId = eventIdFromBlockAndIdx(blockNumber, eventIndex.toString()) + innerAccumulator = produceNewAccumulator( + innerAccumulator, + account.toString(), + ); - const accountAddress = account.toString() - const destinationAddress = accountsMapping[accountAddress] + const eventId = eventIdFromBlockAndIdx(blockNumber, eventIndex.toString()); - const element = new HistoryElement( - eventId, - block.block.header.number.toNumber(), - blockTimestamp, - destinationAddress != undefined ? destinationAddress : accountAddress - ); + const accountAddress = account.toString(); + const destinationAddress = accountsMapping[accountAddress]; - if (extrinsic !== undefined) { - element.extrinsicHash = extrinsic.extrinsic.hash.toString() - element.extrinsicIdx = extrinsic.idx - } - element.reward = produceReward(newAccumulator, eventIndex, accountAddress, amount.toString()) + const element = new HistoryElement( + eventId, + block.block.header.number.toNumber(), + blockTimestamp, + destinationAddress !== undefined ? destinationAddress : accountAddress, + ); - currentPromises.push(element.save()) + if (extrinsic !== undefined) { + element.extrinsicHash = extrinsic.extrinsic.hash.toString(); + element.extrinsicIdx = extrinsic.idx; + } - return [newAccumulator, currentPromises]; - }, [initialInnerAccumulator, []]) + element.reward = produceReward( + innerAccumulator, + eventIndex, + accountAddress, + amount.toString(), + ); - await Promise.allSettled(savingPromises); + await element.save(); + } } -async function updateAccumulatedReward(event: SubstrateEvent<[accountId: Codec, reward: INumber]>, isReward: boolean): Promise { - let [accountId, amount] = getRewardData(event) - return await updateAccumulatedGenericReward(AccumulatedReward, accountId.toString(), (amount as unknown as Balance).toBigInt(), isReward) +async function updateAccumulatedReward( + event: SubstrateEvent, + isReward: boolean, +): Promise { + let [accountId, amount] = decodeDataFromReward(event); + return await updateAccumulatedGenericReward( + AccumulatedReward, + accountId.toString(), + (amount as unknown as Balance).toBigInt(), + isReward, + ); } -async function updateAccountRewards(event: SubstrateEvent, rewardType: RewardType, accumulatedAmount: bigint): Promise { - let [accountId, amount] = getRewardData(event) - - const accountAddress = accountId.toString() - let id = eventIdWithAddress(event, accountAddress) - let accountReward = new AccountReward( - id, - accountAddress, - blockNumber(event), - timestamp(event.block), - (amount as unknown as Balance).toBigInt(), - accumulatedAmount, - rewardType - ); - await accountReward.save() +async function updateAccountRewards( + event: SubstrateEvent, + rewardType: RewardType, + accumulatedAmount: bigint, +): Promise { + let [accountId, amount] = decodeDataFromReward(event); + const accountAddress = accountId.toString(); + let id = eventIdWithAddress(event, accountAddress); + let accountReward = new AccountReward( + id, + accountAddress, + blockNumber(event), + timestamp(event.block), + (amount as unknown as Balance).toBigInt(), + accumulatedAmount, + rewardType, + ); + await accountReward.save(); } -async function handleParachainRewardForTxHistory(rewardEvent: SubstrateEvent): Promise { - const [account, amount] = getRewardData(rewardEvent) - handleGenericForTxHistory(rewardEvent, account.toString(), async (element: HistoryElement) => { - const eraIndex = await cachedStakingRewardEraIndex(rewardEvent) - - const validatorEvent = rewardEvent.block.events.find(event => - event.event.section == rewardEvent.event.section && - event.event.method == rewardEvent.event.method - ) - const validatorId = validatorEvent?.event.data[0].toString() - element.reward = {eventIdx: rewardEvent.idx, - amount: amount.toString(), - isReward: true, - stash: account.toString(), - validator: validatorId, - era: eraIndex - } - - return element - }) +async function handleParachainRewardForTxHistory( + rewardEvent: SubstrateEvent, +): Promise { + let [account, amount] = decodeDataFromReward(rewardEvent); + handleGenericForTxHistory( + rewardEvent, + account.toString(), + async (element: HistoryElement) => { + const eraIndex = await cachedStakingRewardEraIndex(rewardEvent); + + const validatorEvent = rewardEvent.block.events.find( + (event) => + event.event.section == rewardEvent.event.section && + event.event.method == rewardEvent.event.method, + ); + const validatorId = validatorEvent?.event.data[0].toString(); + element.reward = { + eventIdx: rewardEvent.idx, + amount: amount.toString(), + isReward: true, + stash: account.toString(), + validator: validatorId, + era: eraIndex, + }; + + return element; + }, + ); } -export async function handleParachainRewarded (rewardEvent: SubstrateEvent<[accountId: Codec, reward: INumber]>): Promise { - await handleParachainRewardForTxHistory(rewardEvent) - let accumulatedReward = await updateAccumulatedReward(rewardEvent, true) - await updateAccountRewards(rewardEvent, RewardType.reward, accumulatedReward.amount) +export async function handleParachainRewarded( + rewardEvent: SubstrateEvent<[accountId: Codec, reward: INumber]>, +): Promise { + await handleParachainRewardForTxHistory(rewardEvent); + let accumulatedReward = await updateAccumulatedReward(rewardEvent, true); + await updateAccountRewards( + rewardEvent, + RewardType.reward, + accumulatedReward.amount, + ); } // ============= GENERICS ================ interface AccumulatedInterface { - amount : bigint - save() : Promise + amount: bigint; + save(): Promise; } interface AccumulatedInterfaceStatic { - new(id: string, amount: bigint):BaseType; - get(accountAddress: string) : Promise + new (id: string, amount: bigint): BaseType; + get(accountAddress: string): Promise; } -export async function updateAccumulatedGenericReward>(AccumulatedRewardTypeObject: AccumulatedRewardClassType, accountId: string, amount: bigint, isReward: boolean): Promise { - let accountAddress = accountId - - let accumulatedReward = await AccumulatedRewardTypeObject.get(accountAddress); - if (!accumulatedReward) { - accumulatedReward = new AccumulatedRewardTypeObject(accountAddress, BigInt(0)); - } - accumulatedReward.amount = accumulatedReward.amount + (isReward ? amount : -amount) - await accumulatedReward.save() - return accumulatedReward +export async function updateAccumulatedGenericReward< + AccumulatedRewardType extends AccumulatedInterface, + AccumulatedRewardClassType extends + AccumulatedInterfaceStatic, +>( + AccumulatedRewardTypeObject: AccumulatedRewardClassType, + accountId: string, + amount: bigint, + isReward: boolean, +): Promise { + let accountAddress = accountId; + + let accumulatedReward = await AccumulatedRewardTypeObject.get(accountAddress); + if (!accumulatedReward) { + accumulatedReward = new AccumulatedRewardTypeObject( + accountAddress, + BigInt(0), + ); + } + accumulatedReward.amount = + accumulatedReward.amount + (isReward ? amount : -amount); + await accumulatedReward.save(); + return accumulatedReward; } -export async function handleGenericForTxHistory(event: SubstrateEvent, address: string, fieldCallback: (element: HistoryElement) => Promise): Promise { - const extrinsic = event.extrinsic; - const block = event.block; - const blockNumber = block.block.header.number.toString() - const blockTimestamp = timestamp(block) - const eventId = eventIdFromBlockAndIdx(blockNumber, event.idx.toString()) - - const element = new HistoryElement( - eventId, - block.block.header.number.toNumber(), - blockTimestamp, - address - ); - if (extrinsic !== undefined) { - element.extrinsicHash = extrinsic.extrinsic.hash.toString() - element.extrinsicIdx = extrinsic.idx - } - - (await fieldCallback(element)).save() +export async function handleGenericForTxHistory( + event: SubstrateEvent, + address: string, + fieldCallback: (element: HistoryElement) => Promise, +): Promise { + const extrinsic = event.extrinsic; + const block = event.block; + const blockNumber = block.block.header.number.toString(); + const blockTimestamp = timestamp(block); + const eventId = eventIdFromBlockAndIdx(blockNumber, event.idx.toString()); + + const element = new HistoryElement( + eventId, + block.block.header.number.toNumber(), + blockTimestamp, + address, + ); + if (extrinsic !== undefined) { + element.extrinsicHash = extrinsic.extrinsic.hash.toString(); + element.extrinsicIdx = extrinsic.idx; + } + + (await fieldCallback(element)).save(); } interface AccountRewardsInterface { - id: string; + id: string; - address: string; + address: string; - blockNumber: number; + blockNumber: number; - timestamp: bigint; + timestamp: bigint; - amount: bigint; + amount: bigint; - accumulatedAmount: bigint; + accumulatedAmount: bigint; + + type: RewardType; + save(): Promise; +} - type: RewardType; - save() : Promise -} \ No newline at end of file +export function eventRecordToSubstrateEvent( + eventRecord: EventRecord, +): SubstrateEvent { + return eventRecord as unknown as SubstrateEvent; +} + +function decodeDataFromReward(event: SubstrateEvent): [Codec, Codec] { + // In early version staking.Reward data only have 2 parameters [accountId, amount] + // Now rewarded changed to https://polkadot.js.org/docs/substrate/events/#rewardedaccountid32-palletstakingrewarddestination-u128 + // And we can direct access property from data + const { + event: { data: innerData }, + } = event; + let account: Codec, amount: Codec; + if (innerData.length == 2) { + [account, amount] = innerData; + } else { + [account, , amount] = innerData; + } + return [account, amount]; +} diff --git a/src/mappings/Transfers.ts b/src/mappings/Transfers.ts index 335c5d96..84c2fd93 100644 --- a/src/mappings/Transfers.ts +++ b/src/mappings/Transfers.ts @@ -1,5 +1,6 @@ import { Codec } from "@polkadot/types/types"; import { HistoryElement } from "../types"; +import { HistoryElementProps } from "../types/models/HistoryElement"; import { SubstrateEvent } from "@subql/types"; import { blockNumber, @@ -14,9 +15,8 @@ import { eventRecordToSubstrateEvent, getAssetIdFromMultilocation, BigIntFromCodec, - convertOrmlCurrencyIdToString + convertOrmlCurrencyIdToString, } from "./common"; -import {INumber} from "@polkadot/types-codec/types/interfaces"; type TransferPayload = { event: SubstrateEvent; @@ -28,6 +28,103 @@ type TransferPayload = { assetId?: string; }; +export async function handleSwap(event: SubstrateEvent): Promise { + const [from, to, path, amountIn, amountOut] = getEventData(event); + + let element = await HistoryElement.get(`${eventId(event)}-from`); + + if (element !== undefined) { + // already processed swap previously + return; + } + + let assetIdFee: string; + let fee: string; + let foundAssetTxFeePaid = event.block.events.find((e) => + isAssetTxFeePaidEvent(eventRecordToSubstrateEvent(e)), + ); + let swaps = event.block.events.filter((e) => + isSwapExecutedEvent(eventRecordToSubstrateEvent(e)), + ); + if (foundAssetTxFeePaid === undefined) { + assetIdFee = "native"; + fee = calculateFeeAsString(event.extrinsic, from.toString()); + } else { + const [who, actualFee, tip, rawAssetIdFee] = getEventData( + eventRecordToSubstrateEvent(foundAssetTxFeePaid), + ); + assetIdFee = getAssetIdFromMultilocation(rawAssetIdFee); + fee = actualFee.toString(); + + let { + event: { + data: [feeFrom, feeTo, feePath, feeAmountIn, feeAmountOut], + }, + } = swaps[0]; + + swaps = swaps.slice(1); + if (BigIntFromCodec(actualFee) != BigIntFromCodec(feeAmountIn)) { + let { + event: { + data: [ + refundFrom, + refundTo, + refundPath, + refundAmountIn, + refundAmountOut, + ], + }, + } = swaps[swaps.length - 1]; + + if ( + BigIntFromCodec(feeAmountIn) == + BigIntFromCodec(actualFee) + BigIntFromCodec(refundAmountOut) && + getAssetIdFromMultilocation((feePath as any)[0]) == + getAssetIdFromMultilocation( + (refundPath as any)[(refundPath as any)["length"] - 1], + ) + ) { + swaps = swaps.slice(swaps.length - 1); + // TODO: if fee splitted, than we will process the same block two times + } + } + } + + for (const swap of swaps) { + await processSwap(eventRecordToSubstrateEvent(swap), assetIdFee, fee); + } +} + +async function processSwap( + event: SubstrateEvent, + assetIdFee: string, + fee: string, +): Promise { + const [from, to, path, amountIn, amountOut] = getEventData(event); + + const swap = { + assetIdIn: getAssetIdFromMultilocation((path as any)[0]), + amountIn: amountIn.toString(), + assetIdOut: getAssetIdFromMultilocation( + (path as any)[(path as any)["length"] - 1], + ), + amountOut: amountOut.toString(), + sender: from.toString(), + receiver: to.toString(), + assetIdFee: assetIdFee, + fee: fee, + eventIdx: event.idx, + success: true, + }; + + await createAssetTransmission(event, from.toString(), "-from", { + swap: swap, + }); + if (from.toString() != to.toString()) { + await createAssetTransmission(event, to.toString(), "-to", { swap: swap }); + } +} + export async function handleTransfer(event: SubstrateEvent): Promise { const [from, to, amount] = getEventData(event); @@ -43,7 +140,7 @@ export async function handleTransfer(event: SubstrateEvent): Promise { } export async function handleAssetTransfer( - event: SubstrateEvent + event: SubstrateEvent, ): Promise { const [assetId, from, to, amount] = getEventData(event); @@ -91,7 +188,7 @@ export async function handleOrmlTransfer(event: SubstrateEvent): Promise { } export async function handleEquilibriumTransfer( - event: SubstrateEvent + event: SubstrateEvent, ): Promise { const [from, to, assetId, amount] = getEventData(event); @@ -116,13 +213,13 @@ export async function handleEquilibriumTransfer( } export async function handleTokenTransfer( - event: SubstrateEvent + event: SubstrateEvent, ): Promise { await handleOrmlTransfer(event); } export async function handleCurrencyTransfer( - event: SubstrateEvent + event: SubstrateEvent, ): Promise { await handleOrmlTransfer(event); } @@ -143,30 +240,30 @@ async function createTransfer({ fee: calculateFeeAsString(event.extrinsic, from.toString()), eventIdx: event.idx, success: true, - } + }; let data; if (assetId) { data = { - "assetTransfer": { + assetTransfer: { ...transfer, assetId: assetId, - } - } + }, + }; } else { data = { - "transfer": transfer - } + transfer: transfer, + }; } await createAssetTransmission(event, address, suffix, data); } export async function createAssetTransmission( - event, - address, - suffix, - data + event: SubstrateEvent, + address: any, + suffix: string, + data: Partial, ) { const element = new HistoryElement( `${eventId(event)}${suffix}`, @@ -187,8 +284,9 @@ export async function createAssetTransmission( element.extrinsicIdx = event.extrinsic.idx; } - for(var key in data) { - element[key] = data[key] + for (var key in data) { + (element[key as keyof HistoryElementProps] as any) = + data[key as keyof HistoryElementProps]; } await element.save(); diff --git a/src/mappings/common.ts b/src/mappings/common.ts index c55b03a2..65e1a794 100644 --- a/src/mappings/common.ts +++ b/src/mappings/common.ts @@ -1,323 +1,404 @@ -import {SubstrateBlock, SubstrateEvent} from "@subql/types"; -import {SubstrateExtrinsic} from "@subql/types"; -import {Balance, EventRecord} from "@polkadot/types/interfaces"; -import {CallBase} from "@polkadot/types/types/calls"; -import {AnyTuple} from "@polkadot/types/types/codec"; -import { Vec, GenericEventData } from '@polkadot/types'; -import {Codec} from "@polkadot/types/types"; -import {INumber} from "@polkadot/types-codec/types/interfaces"; -import { u8aToHex } from "@polkadot/util" -import * as events from "events"; - -const batchCalls = ["batch", "batchAll", "forceBatch"] -const transferCalls = ["transfer", "transferKeepAlive"] - -const ormlSections = ["currencies", "tokens"] +import { SubstrateBlock, SubstrateEvent, TypedEventRecord } from "@subql/types"; +import { SubstrateExtrinsic } from "@subql/types"; +import { Balance, EventRecord } from "@polkadot/types/interfaces"; +import { CallBase } from "@polkadot/types/types/calls"; +import { AnyTuple, Codec } from "@polkadot/types/types/codec"; +import { Vec, GenericEventData } from "@polkadot/types"; +import { INumber } from "@polkadot/types-codec/types/interfaces"; +import { u8aToHex } from "@polkadot/util"; + +const batchCalls = ["batch", "batchAll", "forceBatch"]; +const transferCalls = ["transfer", "transferKeepAlive"]; +const ormlSections = ["currencies", "tokens"]; export function distinct(array: Array): Array { - return [...new Set(array)]; + return [...new Set(array)]; } -export function isBatch(call: CallBase) : boolean { - return call.section == "utility" && batchCalls.includes(call.method) +export function isBatch(call: CallBase): boolean { + return call.section == "utility" && batchCalls.includes(call.method); } -export function isProxy(call: CallBase) : boolean { - return call.section == "proxy" && call.method == "proxy" +export function isProxy(call: CallBase): boolean { + return call.section == "proxy" && call.method == "proxy"; } -export function isNativeTransfer(call: CallBase) : boolean { - return ( - (call.section == "balances" && transferCalls.includes(call.method)) || - (call.section == "currencies" && call.method == "transferNativeCurrency") - ) +export function isNativeTransfer(call: CallBase): boolean { + return ( + (call.section == "balances" && transferCalls.includes(call.method)) || + (call.section == "currencies" && call.method == "transferNativeCurrency") + ); } -export function isAssetTransfer(call: CallBase) : boolean { - return call.section == "assets" && transferCalls.includes(call.method) +export function isAssetTransfer(call: CallBase): boolean { + return call.section == "assets" && transferCalls.includes(call.method); } -export function isEquilibriumTransfer(call: CallBase) : boolean { - return call.section == "eqBalances" && transferCalls.includes(call.method) +export function isEquilibriumTransfer(call: CallBase): boolean { + return call.section == "eqBalances" && transferCalls.includes(call.method); } export function isEvmTransaction(call: CallBase): boolean { - return call.section === "ethereum" && call.method === "transact" + return call.section === "ethereum" && call.method === "transact"; } -export function isEvmExecutedEvent(event: SubstrateEvent): boolean { - return event.event.section === 'ethereum' && event.event.method === "Executed" +export function isEvmExecutedEvent(event: TypedEventRecord): boolean { + return ( + event.event.section === "ethereum" && event.event.method === "Executed" + ); } export function isAssetTxFeePaidEvent(event: SubstrateEvent): boolean { - return event.event.section === 'assetTxPayment' && event.event.method === "AssetTxFeePaid" + return ( + event.event.section === "assetTxPayment" && + event.event.method === "AssetTxFeePaid" + ); } export function isCurrencyDepositedEvent(event: SubstrateEvent): boolean { - return event.event.section === 'currencies' && event.event.method === "Deposited" + return ( + event.event.section === "currencies" && event.event.method === "Deposited" + ); } export function isSwapExecutedEvent(event: SubstrateEvent): boolean { - return event.event.section === 'assetConversion' && event.event.method === "SwapExecuted" + return ( + event.event.section === "assetConversion" && + event.event.method === "SwapExecuted" + ); } -export function isSwapExactTokensForTokens(call: CallBase) : boolean { - return call.section === "assetConversion" && call.method === "swapExactTokensForTokens" +export function isSwapExactTokensForTokens(call: CallBase): boolean { + return ( + call.section === "assetConversion" && + call.method === "swapExactTokensForTokens" + ); } -export function isSwapTokensForExactTokens(call: CallBase) : boolean { - return call.section === "assetConversion" && call.method === "swapTokensForExactTokens" +export function isSwapTokensForExactTokens(call: CallBase): boolean { + return ( + call.section === "assetConversion" && + call.method === "swapTokensForExactTokens" + ); } -export function isHydraOmnipoolBuy(call: CallBase) : boolean { - return call.section === "omnipool" && call.method == "buy" +export function isHydraOmnipoolBuy(call: CallBase): boolean { + return call.section === "omnipool" && call.method == "buy"; } -export function isHydraOmnipoolSell(call: CallBase) : boolean { - return call.section === "omnipool" && call.method == "sell" +export function isHydraOmnipoolSell(call: CallBase): boolean { + return call.section === "omnipool" && call.method == "sell"; } -export function isHydraRouterBuy(call: CallBase) : boolean { - return call.section === "router" && call.method == "buy" +export function isHydraRouterBuy(call: CallBase): boolean { + return call.section === "router" && call.method == "buy"; } -export function isHydraRouterSell(call: CallBase) : boolean { - return call.section === "router" && call.method == "sell" +export function isHydraRouterSell(call: CallBase): boolean { + return call.section === "router" && call.method == "sell"; } -export function isOrmlTransfer(call: CallBase) : boolean { - return ormlSections.includes(call.section) && transferCalls.includes(call.method) +export function isOrmlTransfer(call: CallBase): boolean { + return ( + ormlSections.includes(call.section) && transferCalls.includes(call.method) + ); } -export function isNativeTransferAll(call: CallBase) : boolean { - return call.section == "balances" && call.method === "transferAll" +export function isNativeTransferAll(call: CallBase): boolean { + return call.section == "balances" && call.method === "transferAll"; } -export function isOrmlTransferAll(call: CallBase) : boolean { - return ormlSections.includes(call.section) && call.method === "transferAll" +export function isOrmlTransferAll(call: CallBase): boolean { + return ormlSections.includes(call.section) && call.method === "transferAll"; } -export function callsFromBatch(batchCall: CallBase) : CallBase[] { - return batchCall.args[0] as Vec> +export function callsFromBatch( + batchCall: CallBase, +): CallBase[] { + return batchCall.args[0] as Vec>; } -export function callFromProxy(proxyCall: CallBase) : CallBase { - return proxyCall.args[2] as CallBase +export function callFromProxy( + proxyCall: CallBase, +): CallBase { + return proxyCall.args[2] as CallBase; } -export function eventIdWithAddress(event: SubstrateEvent, address: String): string { - return `${eventId(event)}-${address}` +export function eventIdWithAddress( + event: SubstrateEvent, + address: String, +): string { + return `${eventId(event)}-${address}`; } export function eventId(event: SubstrateEvent): string { - return `${blockNumber(event)}-${event.idx}` + return `${blockNumber(event)}-${event.idx}`; } export function eventIdFromBlockAndIdx(blockNumber: string, eventIdx: string) { - return `${blockNumber}-${eventIdx}` + return `${blockNumber}-${eventIdx}`; } -export function eventIdFromBlockAndIdxAndAddress(blockNumber: string, eventIdx: string, address: string) { - return `${blockNumber}-${eventIdx}-${address}` +export function eventIdFromBlockAndIdxAndAddress( + blockNumber: string, + eventIdx: string, + address: string, +) { + return `${blockNumber}-${eventIdx}-${address}`; } export function extrinsicIdx(event: SubstrateEvent): string { - let idx: string = event.extrinsic ? event.extrinsic.idx.toString() : event.idx.toString() - return idx + let idx: string = event.extrinsic + ? event.extrinsic.idx.toString() + : event.idx.toString(); + return idx; } export function blockNumber(event: SubstrateEvent): number { - return event.block.block.header.number.toNumber() + return event.block.block.header.number.toNumber(); } -export function extrinsicIdFromBlockAndIdx(blockNumber: number, extrinsicIdx: number): string { - return `${blockNumber.toString()}-${extrinsicIdx.toString()}` +export function extrinsicIdFromBlockAndIdx( + blockNumber: number, + extrinsicIdx: number, +): string { + return `${blockNumber.toString()}-${extrinsicIdx.toString()}`; } export function timestamp(block: SubstrateBlock): bigint { - return BigInt(Math.round(block.timestamp ? block.timestamp.getTime() / 1000 : -1)) + return BigInt( + Math.round(block.timestamp ? block.timestamp.getTime() / 1000 : -1), + ); } -export function calculateFeeAsString(extrinsic?: SubstrateExtrinsic, from: string = ''): string { - if (extrinsic) { - const transactionPaymentFee = exportFeeFromTransactionFeePaidEvent(extrinsic) +export function calculateFeeAsString( + extrinsic?: SubstrateExtrinsic, + from: string = "", +): string { + if (extrinsic) { + const transactionPaymentFee = + exportFeeFromTransactionFeePaidEvent(extrinsic); - if (transactionPaymentFee != undefined) { - return transactionPaymentFee.toString() - } + if (transactionPaymentFee != undefined) { + return transactionPaymentFee.toString(); + } - const withdrawFee = exportFeeFromBalancesWithdrawEvent(extrinsic, from) + const withdrawFee = exportFeeFromBalancesWithdrawEvent(extrinsic, from); - if (withdrawFee !== BigInt(0)) { - if (isEvmTransaction(extrinsic.extrinsic.method)){ - const feeRefund = exportFeeRefund(extrinsic, from) - return feeRefund ? (withdrawFee - feeRefund).toString() : withdrawFee.toString(); - } - return withdrawFee.toString() - } + if (withdrawFee !== BigInt(0)) { + if (isEvmTransaction(extrinsic.extrinsic.method)) { + const feeRefund = exportFeeRefund(extrinsic, from); + return feeRefund + ? (withdrawFee - feeRefund).toString() + : withdrawFee.toString(); + } + return withdrawFee.toString(); + } - let balancesFee = exportFeeFromBalancesDepositEvent(extrinsic) - let treasureFee = exportFeeFromTreasureDepositEvent(extrinsic) + let balancesFee = exportFeeFromBalancesDepositEvent(extrinsic); + let treasureFee = exportFeeFromTreasureDepositEvent(extrinsic); - let totalFee = balancesFee + treasureFee - return totalFee.toString() - } else { - return BigInt(0).toString() - } + let totalFee = balancesFee + treasureFee; + return totalFee.toString(); + } else { + return BigInt(0).toString(); + } } export function getEventData(event: SubstrateEvent): GenericEventData { - return event.event.data as GenericEventData + return event.event.data as GenericEventData; } -export function eventRecordToSubstrateEvent(eventRecord: EventRecord): SubstrateEvent { - return eventRecord as unknown as SubstrateEvent +export function eventRecordToSubstrateEvent( + eventRecord: EventRecord, +): SubstrateEvent { + return eventRecord as unknown as SubstrateEvent; } export function BigIntFromCodec(eventRecord: Codec): bigint { - return (eventRecord as unknown as INumber).toBigInt() + return (eventRecord as unknown as INumber).toBigInt(); } export function convertOrmlCurrencyIdToString(currencyId: Codec): string { - // make sure first we have scale encoded bytes - const bytes = currencyId.toU8a() + // make sure first we have scale encoded bytes + const bytes = currencyId.toU8a(); - return u8aToHex(bytes).toString() + return u8aToHex(bytes).toString(); } -function exportFeeRefund(extrinsic: SubstrateExtrinsic, from: string = ''): bigint { - const extrinsicSigner = from || extrinsic.extrinsic.signer.toString() +function exportFeeRefund( + extrinsic: SubstrateExtrinsic, + from: string = "", +): bigint { + const extrinsicSigner = from || extrinsic.extrinsic.signer.toString(); - const eventRecord = extrinsic.events.find((event) => - event.event.method == "Deposit" && - event.event.section == "balances" && - event.event.data[0].toString() === extrinsicSigner - ) + const eventRecord = extrinsic.events.find( + (event) => + event.event.method == "Deposit" && + event.event.section == "balances" && + event.event.data[0].toString() === extrinsicSigner, + ); - if (eventRecord != undefined) { - const {event: {data: [, fee]}}= eventRecord - - return (fee as unknown as Balance).toBigInt() - } - - return BigInt(0) -} - -function exportFeeFromBalancesWithdrawEvent(extrinsic: SubstrateExtrinsic, from: string = ''): bigint { - const eventRecord = extrinsic.events.find((event) => - event.event.method == "Withdraw" && event.event.section == "balances" - ) - - if (eventRecord !== undefined) { - const { - event: { - data: [ accountid, fee ] - } - } = eventRecord + if (eventRecord != undefined) { + const { + event: { + data: [, fee], + }, + } = eventRecord; - const extrinsicSigner = from || extrinsic.extrinsic.signer.toString() - const withdrawAccountId = accountid.toString() - return extrinsicSigner === withdrawAccountId ? (fee as unknown as Balance).toBigInt() : BigInt(0) - } + return (fee as unknown as Balance).toBigInt(); + } - return BigInt(0) + return BigInt(0); } -function exportFeeFromTransactionFeePaidEvent(extrinsic: SubstrateExtrinsic, from: string = ''): bigint | undefined { - const eventRecord = extrinsic.events.find((event) => - event.event.method == "TransactionFeePaid" && event.event.section == "transactionPayment" - ) +function exportFeeFromBalancesWithdrawEvent( + extrinsic: SubstrateExtrinsic, + from: string = "", +): bigint { + const eventRecord = extrinsic.events.find( + (event) => + event.event.method == "Withdraw" && event.event.section == "balances", + ); - if (eventRecord !== undefined) { - const { - event: { - data: [ accountid, fee, tip ] - } - } = eventRecord + if (eventRecord !== undefined) { + const { + event: { + data: [accountid, fee], + }, + } = eventRecord; + + const extrinsicSigner = from || extrinsic.extrinsic.signer.toString(); + const withdrawAccountId = accountid.toString(); + return extrinsicSigner === withdrawAccountId + ? (fee as unknown as Balance).toBigInt() + : BigInt(0); + } + + return BigInt(0); +} + +function exportFeeFromTransactionFeePaidEvent( + extrinsic: SubstrateExtrinsic, + from: string = "", +): bigint | undefined { + const eventRecord = extrinsic.events.find( + (event) => + event.event.method == "TransactionFeePaid" && + event.event.section == "transactionPayment", + ); + + if (eventRecord !== undefined) { + const { + event: { + data: [accountid, fee, tip], + }, + } = eventRecord; - const fullFee = (fee as Balance).toBigInt() + (tip as Balance).toBigInt() + const fullFee = (fee as Balance).toBigInt() + (tip as Balance).toBigInt(); - const extrinsicSigner = from || extrinsic.extrinsic.signer.toString() - const withdrawAccountId = accountid.toString() - return extrinsicSigner === withdrawAccountId ? fullFee : undefined - } + const extrinsicSigner = from || extrinsic.extrinsic.signer.toString(); + const withdrawAccountId = accountid.toString(); + return extrinsicSigner === withdrawAccountId ? fullFee : undefined; + } - return undefined + return undefined; } -export function extractTransactionPaidFee(events: EventRecord[]): string | undefined { - const eventRecord = events.find((event) => - event.event.method == "TransactionFeePaid" && event.event.section == "transactionPayment" - ) - - if (eventRecord == undefined) return undefined +function exportFeeFromBalancesDepositEvent( + extrinsic: SubstrateExtrinsic, +): bigint { + const eventRecord = extrinsic.events.find((event) => { + return event.event.method == "Deposit" && event.event.section == "balances"; + }); + if (eventRecord != undefined) { const { - event: { - data: [ _, fee, tip ] - } - } = eventRecord - - const fullFee = (fee as Balance).toBigInt() + (tip as Balance).toBigInt() - - return fullFee.toString() -} + event: { + data: [, fee], + }, + } = eventRecord; -function exportFeeFromBalancesDepositEvent(extrinsic: SubstrateExtrinsic): bigint { - const eventRecord = extrinsic.events.find((event) => { - return event.event.method == "Deposit" && event.event.section == "balances" - }) + return (fee as unknown as Balance).toBigInt(); + } - if (eventRecord != undefined) { - const {event: {data: [, fee]}}= eventRecord - - return (fee as unknown as Balance).toBigInt() - } - - return BigInt(0) + return BigInt(0); } -function exportFeeFromTreasureDepositEvent(extrinsic: SubstrateExtrinsic): bigint { - const eventRecord = extrinsic.events.find((event) => { - return event.event.method == "Deposit" && event.event.section == "treasury" - }) - - if (eventRecord != undefined) { - const {event: {data: [fee]}}= eventRecord +function exportFeeFromTreasureDepositEvent( + extrinsic: SubstrateExtrinsic, +): bigint { + const eventRecord = extrinsic.events.find((event) => { + return event.event.method == "Deposit" && event.event.section == "treasury"; + }); - return (fee as unknown as Balance).toBigInt() - } else { - return BigInt(0) + if (eventRecord != undefined) { + const { + event: { + data: [fee], + }, + } = eventRecord; + + return (fee as unknown as Balance).toBigInt(); + } else { + return BigInt(0); + } +} + +export function getAssetIdFromMultilocation( + multilocation: any, + safe = false, +): string | undefined { + try { + let junctions = multilocation.interior; + + if (junctions.isHere) { + return "native"; + } else if (multilocation.parents != "0") { + return multilocation.toHex(); + } else { + return junctions.asX2[1].asGeneralIndex.toString(); } -} - -export function getAssetIdFromMultilocation(multilocation, safe=false): string | undefined{ - try { - let junctions = multilocation.interior; - - if (junctions.isHere) { - return "native"; - } else if (multilocation.parents != "0") { - return multilocation.toHex(); - } else { - return junctions.asX2[1].asGeneralIndex.toString(); - } - } catch (e) { - if (safe) { - return undefined - } else { - throw e; - } + } catch (e) { + if (safe) { + return undefined; + } else { + throw e; } + } } export function getRewardData(event: SubstrateEvent): [Codec, Codec] { - const {event: {data: innerData}} = event - let account: Codec, amount: Codec; - if (innerData.length == 2) { - [account, amount] = innerData - } else { - [account, ,amount] = innerData - } - return [account, amount] + const { + event: { data: innerData }, + } = event; + let account: Codec, amount: Codec; + if (innerData.length == 2) { + [account, amount] = innerData; + } else { + [account, , amount] = innerData; + } + return [account, amount]; +} + +export function extractTransactionPaidFee( + events: EventRecord[], +): string | undefined { + const eventRecord = events.find( + (event) => + event.event.method == "TransactionFeePaid" && + event.event.section == "transactionPayment", + ); + + if (eventRecord == undefined) return undefined; + + const { + event: { + data: [_, fee, tip], + }, + } = eventRecord; + + const fullFee = (fee as Balance).toBigInt() + (tip as Balance).toBigInt(); + + return fullFee.toString(); } diff --git a/src/mappings/swaps/AssetConversion.ts b/src/mappings/swaps/AssetConversion.ts index eb99ea85..eb8fb55d 100644 --- a/src/mappings/swaps/AssetConversion.ts +++ b/src/mappings/swaps/AssetConversion.ts @@ -1,72 +1,119 @@ -import {SubstrateEvent} from "@subql/types"; +import { SubstrateEvent } from "@subql/types"; import { - BigIntFromCodec, - calculateFeeAsString, - eventId, - eventRecordToSubstrateEvent, getAssetIdFromMultilocation, - getEventData, - isAssetTxFeePaidEvent, - isSwapExecutedEvent + BigIntFromCodec, + calculateFeeAsString, + eventId, + eventRecordToSubstrateEvent, + getAssetIdFromMultilocation, + getEventData, + isAssetTxFeePaidEvent, + isSwapExecutedEvent, } from "../common"; -import {HistoryElement} from "../../types"; -import {createAssetTransmission} from "../Transfers"; +import { HistoryElement } from "../../types"; +import { createAssetTransmission } from "../Transfers"; -export async function handleAssetConversionSwap(event: SubstrateEvent): Promise { - const [from, to, path, amountIn, amountOut] = getEventData(event); +export async function handleAssetConversionSwap( + event: SubstrateEvent +): Promise { + const [from, to, path, amountIn, amountOut] = getEventData(event); - let element = await HistoryElement.get(`${eventId(event)}-from`) + let element = await HistoryElement.get(`${eventId(event)}-from`); - if (element !== undefined) { - // already processed swap previously - return; - } + if (element !== undefined) { + // already processed swap previously + return; + } + + let assetIdFee: string; + let fee: string; + let foundAssetTxFeePaid = event.block.events.find((e) => + isAssetTxFeePaidEvent(eventRecordToSubstrateEvent(e)) + ); + let swaps = event.block.events.filter((e) => + isSwapExecutedEvent(eventRecordToSubstrateEvent(e)) + ); + if (foundAssetTxFeePaid === undefined) { + assetIdFee = "native"; + fee = calculateFeeAsString(event.extrinsic, from.toString()); + } else { + const [who, actualFee, tip, rawAssetIdFee] = getEventData( + eventRecordToSubstrateEvent(foundAssetTxFeePaid) + ); + assetIdFee = getAssetIdFromMultilocation(rawAssetIdFee); + fee = actualFee.toString(); - let assetIdFee: string - let fee: string - let foundAssetTxFeePaid = event.block.events.find((e) => isAssetTxFeePaidEvent(eventRecordToSubstrateEvent(e))); - let swaps = event.block.events.filter((e) => isSwapExecutedEvent(eventRecordToSubstrateEvent(e))); - if (foundAssetTxFeePaid === undefined) { - assetIdFee = "native" - fee = calculateFeeAsString(event.extrinsic, from.toString()) - } else { - const [who, actualFee, tip, rawAssetIdFee] = getEventData(eventRecordToSubstrateEvent(foundAssetTxFeePaid)) - assetIdFee = getAssetIdFromMultilocation(rawAssetIdFee) - fee = actualFee.toString() + let { + event: { + data: [feeFrom, feeTo, feePath, feeAmountIn, feeAmountOut], + }, + } = swaps[0]; - let { event: { data: [feeFrom, feeTo, feePath, feeAmountIn, feeAmountOut] } } = swaps[0] + swaps = swaps.slice(1); + if (BigIntFromCodec(actualFee) != BigIntFromCodec(feeAmountIn)) { + let { + event: { + data: [ + refundFrom, + refundTo, + refundPath, + refundAmountIn, + refundAmountOut, + ], + }, + } = swaps[swaps.length - 1]; - swaps = swaps.slice(1) - if (BigIntFromCodec(actualFee) != BigIntFromCodec(feeAmountIn)) { - let { event: { data: [refundFrom, refundTo, refundPath, refundAmountIn, refundAmountOut] } } = swaps[swaps.length - 1] + const feePathArray = feePath as unknown as any[]; + const refundPathArray = refundPath as unknown as any[]; - if (BigIntFromCodec(feeAmountIn) == BigIntFromCodec(actualFee) + BigIntFromCodec(refundAmountOut) && - getAssetIdFromMultilocation(feePath[0]) == getAssetIdFromMultilocation(refundPath[refundPath["length"] - 1])) { - swaps = swaps.slice(swaps.length - 1) - // TODO: if fee splitted, than we will process the same block two times - } - } + if ( + BigIntFromCodec(feeAmountIn) == + BigIntFromCodec(actualFee) + BigIntFromCodec(refundAmountOut) && + getAssetIdFromMultilocation(feePathArray[0]) == + getAssetIdFromMultilocation( + refundPathArray[refundPathArray["length"] - 1] + ) + ) { + swaps = swaps.slice(swaps.length - 1); + // TODO: if fee splitted, than we will process the same block two times + } } - await Promise.all(swaps.map((e) => processAssetConversionSwap(eventRecordToSubstrateEvent(e), assetIdFee, fee))) + } + + for (const e of swaps) { + await processAssetConversionSwap( + eventRecordToSubstrateEvent(e), + assetIdFee, + fee + ); + } } -async function processAssetConversionSwap(event: SubstrateEvent, assetIdFee: string, fee: string): Promise { - const [from, to, path, amountIn, amountOut] = getEventData(event) +async function processAssetConversionSwap( + event: SubstrateEvent, + assetIdFee: string, + fee: string +): Promise { + const [from, to, path, amountIn, amountOut] = getEventData(event); - const swap = { - assetIdIn: getAssetIdFromMultilocation(path[0]), - amountIn: amountIn.toString(), - assetIdOut: getAssetIdFromMultilocation(path[path["length"] - 1]), - amountOut: amountOut.toString(), - sender: from.toString(), - receiver: to.toString(), - assetIdFee: assetIdFee, - fee: fee, - eventIdx: event.idx, - success: true - } + const pathArray = path as unknown as any[]; - await createAssetTransmission(event, from.toString(), "-from", {"swap": swap}); - if (from.toString() != to.toString()) { - await createAssetTransmission(event, to.toString(), "-to", {"swap": swap}); - } -} \ No newline at end of file + const swap = { + assetIdIn: getAssetIdFromMultilocation(pathArray[0]), + amountIn: amountIn.toString(), + assetIdOut: getAssetIdFromMultilocation(pathArray[pathArray["length"] - 1]), + amountOut: amountOut.toString(), + sender: from.toString(), + receiver: to.toString(), + assetIdFee: assetIdFee, + fee: fee, + eventIdx: event.idx, + success: true, + }; + + await createAssetTransmission(event, from.toString(), "-from", { + swap: swap, + }); + if (from.toString() != to.toString()) { + await createAssetTransmission(event, to.toString(), "-to", { swap: swap }); + } +} diff --git a/src/mappings/swaps/HydraDx.ts b/src/mappings/swaps/HydraDx.ts index c54d5cec..0da0b1bb 100644 --- a/src/mappings/swaps/HydraDx.ts +++ b/src/mappings/swaps/HydraDx.ts @@ -1,161 +1,193 @@ -import {SubstrateEvent, TypedEventRecord} from "@subql/types"; +import { SubstrateEvent, TypedEventRecord } from "@subql/types"; import { - eventId, - eventRecordToSubstrateEvent, extractTransactionPaidFee, getEventData, - isCurrencyDepositedEvent, - convertOrmlCurrencyIdToString + eventId, + eventRecordToSubstrateEvent, + extractTransactionPaidFee, + isCurrencyDepositedEvent, + convertOrmlCurrencyIdToString, } from "../common"; -import {HistoryElement} from "../../types"; -import {createAssetTransmission} from "../Transfers"; -import {AccountId32} from "@polkadot/types/interfaces/runtime"; -import {u128, u32} from "@polkadot/types-codec"; -import {EventRecord} from "@polkadot/types/interfaces"; -import {Codec, AnyTuple} from "@polkadot/types/types"; -import {INumber} from "@polkadot/types-codec/types/interfaces"; - -type OmnipoolSwapArgs = [who: AccountId32, assetIn: u32, assetOut: u32, amountIn: u128, amountOut: u128, assetFeeAmount: u128, protocolFeeAmount: u128] - -type RouterSwapArgs = [assetIn: u32, assetOut: u32, amountIn: u128, amountOut: u128]; - -export async function handleOmnipoolSwap(event: SubstrateEvent): Promise { - let element = await HistoryElement.get(`${eventId(event)}-from`) - if (element !== undefined) { - // already processed swap previously - return; - } - if (event.extrinsic == undefined) { - // TODO we dont yet process swap events that were initiated by the system and not by the user - // Example: https://hydradx.subscan.io/block/4361343?tab=event&event=4361343-27 - return; - } - - if (isPartOfRouterSwap(event.extrinsic.events)) { - // TODO: we currently don't support swaps in batch - return; - } - - const fee = findHydraDxFeeTyped(event.extrinsic.events) - const [who, assetIn, assetOut, amountIn, amountOut] = event.event.data - - const swap = { - assetIdIn: convertHydraDxTokenIdToString(assetIn), - amountIn: amountIn.toString(), - assetIdOut: convertHydraDxTokenIdToString(assetOut), - amountOut: amountOut.toString(), - sender: who.toString(), - receiver: who.toString(), - assetIdFee: fee.tokenId, - fee: fee.amount, - eventIdx: event.idx, - success: true - } - - const blockNumber = event.block.block.header.number - logger.info(`Constructed omnipool swap ${JSON.stringify(swap)} for block ${blockNumber.toString()}`) - - await createAssetTransmission(event, who.toString(), "-from", {"swap": swap}); +import { HistoryElement } from "../../types"; +import { createAssetTransmission } from "../Transfers"; +import { AccountId32 } from "@polkadot/types/interfaces/runtime"; +import { u128, u32 } from "@polkadot/types-codec"; +import { EventRecord } from "@polkadot/types/interfaces"; +import { Codec } from "@polkadot/types/types"; +import { INumber } from "@polkadot/types-codec/types/interfaces"; + +type OmnipoolSwapArgs = [ + who: AccountId32, + assetIn: u32, + assetOut: u32, + amountIn: u128, + amountOut: u128, + assetFeeAmount: u128, + protocolFeeAmount: u128, +]; + +type RouterSwapArgs = [ + assetIn: u32, + assetOut: u32, + amountIn: u128, + amountOut: u128, +]; + +export async function handleOmnipoolSwap( + event: SubstrateEvent, +): Promise { + let element = await HistoryElement.get(`${eventId(event)}-from`); + if (element !== undefined) { + // already processed swap previously + return; + } + if (event.extrinsic == undefined) { + // TODO we dont yet process swap events that were initiated by the system and not by the user + // Example: https://hydradx.subscan.io/block/4361343?tab=event&event=4361343-27 + return; + } + + if (isPartOfRouterSwap(event.extrinsic.events)) { + // TODO: we currently don't support swaps in batch + return; + } + + const fee = findHydraDxFeeTyped(event.extrinsic.events); + const [who, assetIn, assetOut, amountIn, amountOut] = event.event.data; + + const swap = { + assetIdIn: convertHydraDxTokenIdToString(assetIn), + amountIn: amountIn.toString(), + assetIdOut: convertHydraDxTokenIdToString(assetOut), + amountOut: amountOut.toString(), + sender: who.toString(), + receiver: who.toString(), + assetIdFee: fee.tokenId, + fee: fee.amount, + eventIdx: event.idx, + success: true, + }; + + const blockNumber = event.block.block.header.number; + logger.info( + `Constructed omnipool swap ${JSON.stringify( + swap, + )} for block ${blockNumber.toString()}`, + ); + + await createAssetTransmission(event, who.toString(), "-from", { swap: swap }); } -export async function handleHydraRouterSwap(event: SubstrateEvent): Promise { - let element = await HistoryElement.get(`${eventId(event)}-from`) - if (element !== undefined) { - return; - } - if (event.extrinsic == undefined) { - return; - } - - const who = event.extrinsic.extrinsic.signer.toString() - const fee = findHydraDxFeeTyped(event.extrinsic.events) - const [assetIn, assetOut, amountIn, amountOut] = event.event.data - - const swap = { - assetIdIn: convertHydraDxTokenIdToString(assetIn), - amountIn: amountIn.toString(), - assetIdOut: convertHydraDxTokenIdToString(assetOut), - amountOut: amountOut.toString(), - sender: who.toString(), - receiver: who.toString(), - assetIdFee: fee.tokenId, - fee: fee.amount, - eventIdx: event.idx, - success: true - } - - const blockNumber = event.block.block.header.number - logger.info(`Constructed router swap ${JSON.stringify(swap)} for block ${blockNumber.toString()}`) - - await createAssetTransmission(event, who.toString(), "-from", {"swap": swap}); +export async function handleHydraRouterSwap( + event: SubstrateEvent, +): Promise { + let element = await HistoryElement.get(`${eventId(event)}-from`); + if (element !== undefined) { + return; + } + if (event.extrinsic == undefined) { + return; + } + + const who = event.extrinsic.extrinsic.signer.toString(); + const fee = findHydraDxFeeTyped(event.extrinsic.events); + const [assetIn, assetOut, amountIn, amountOut] = event.event.data; + + const swap = { + assetIdIn: convertHydraDxTokenIdToString(assetIn), + amountIn: amountIn.toString(), + assetIdOut: convertHydraDxTokenIdToString(assetOut), + amountOut: amountOut.toString(), + sender: who.toString(), + receiver: who.toString(), + assetIdFee: fee.tokenId, + fee: fee.amount, + eventIdx: event.idx, + success: true, + }; + + const blockNumber = event.block.block.header.number; + logger.info( + `Constructed router swap ${JSON.stringify( + swap, + )} for block ${blockNumber.toString()}`, + ); + + await createAssetTransmission(event, who.toString(), "-from", { swap: swap }); } export type Fee = { - tokenId: string - amount: string -} - -export function findHydraDxFeeTyped(events: TypedEventRecord[]): Fee | undefined { - return findHydraDxFee(events as EventRecord[]) + tokenId: string; + amount: string; +}; + +export function findHydraDxFeeTyped( + events: TypedEventRecord[], +): Fee | undefined { + return findHydraDxFee(events as EventRecord[]); } export function findHydraDxFee(events: EventRecord[]): Fee | undefined { - const lastCurrenciesDepositEvent = findLastEvent(events, - (event) => isCurrencyDepositedEvent(eventRecordToSubstrateEvent(event)) - ) - - if (lastCurrenciesDepositEvent == undefined) return findNativeFee(events) - - const { - event: { - data: [currencyId, _, amount] - } - } = lastCurrenciesDepositEvent - - return { - tokenId: convertHydraDxTokenIdToString(currencyId), - amount: (amount as INumber).toString() - } + const lastCurrenciesDepositEvent = findLastEvent(events, (event) => + isCurrencyDepositedEvent(eventRecordToSubstrateEvent(event)), + ); + + if (lastCurrenciesDepositEvent == undefined) return findNativeFee(events); + + const { + event: { + data: [currencyId, _, amount], + }, + } = lastCurrenciesDepositEvent; + + return { + tokenId: convertHydraDxTokenIdToString(currencyId), + amount: (amount as INumber).toString(), + }; } function isPartOfRouterSwap(events: TypedEventRecord[]): boolean { - const eventRecords = events as EventRecord[] - for (const eventRecord of eventRecords) { - if ( - eventRecord.event.section == "router" && - (eventRecord.event.method == "Executed" || eventRecord.event.method == "RouteExecuted") - ) { - return true - } + const eventRecords = events as EventRecord[]; + for (const eventRecord of eventRecords) { + if ( + eventRecord.event.section == "router" && + (eventRecord.event.method == "Executed" || + eventRecord.event.method == "RouteExecuted") + ) { + return true; } + } - return false + return false; } function findNativeFee(events: EventRecord[]): Fee | undefined { - let foundAssetTxFeePaid = extractTransactionPaidFee(events) - if (foundAssetTxFeePaid == undefined) return undefined + let foundAssetTxFeePaid = extractTransactionPaidFee(events); + if (foundAssetTxFeePaid == undefined) return undefined; - return { - tokenId: "native", - amount: foundAssetTxFeePaid - } + return { + tokenId: "native", + amount: foundAssetTxFeePaid, + }; } export function convertHydraDxTokenIdToString(hydraDxTokenId: Codec): string { - const asString = hydraDxTokenId.toString() + const asString = hydraDxTokenId.toString(); - if (asString == "0") { - return "native" - } else { - return convertOrmlCurrencyIdToString(hydraDxTokenId) - } + if (asString == "0") { + return "native"; + } else { + return convertOrmlCurrencyIdToString(hydraDxTokenId); + } } -function findLastEvent(events: EventRecord[], expression: (event: EventRecord) => boolean): EventRecord | undefined { - const currenciesDepositedEvents = events.filter(expression) +function findLastEvent( + events: EventRecord[], + expression: (event: EventRecord) => boolean, +): EventRecord | undefined { + const currenciesDepositedEvents = events.filter(expression); - if (currenciesDepositedEvents.length == 0) { - return undefined - } + if (currenciesDepositedEvents.length == 0) { + return undefined; + } - return currenciesDepositedEvents[currenciesDepositedEvents.length - 1] -} \ No newline at end of file + return currenciesDepositedEvents[currenciesDepositedEvents.length - 1]; +} diff --git a/src/mappings/swaps/index.ts b/src/mappings/swaps/index.ts index 8f81fbdc..ef226916 100644 --- a/src/mappings/swaps/index.ts +++ b/src/mappings/swaps/index.ts @@ -1,4 +1,4 @@ //Exports all handler functions -export * from './AssetConversion' -export * from './HydraDx' -import "@polkadot/api-augment" \ No newline at end of file +export * from "./AssetConversion"; +export * from "./HydraDx"; +import "@polkadot/api-augment"; diff --git a/statemine.yaml b/statemine.yaml index 8902134a..baddb4ba 100644 --- a/statemine.yaml +++ b/statemine.yaml @@ -3,17 +3,19 @@ name: subquery-nova-statemine version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x48239ef607d7928874027a43a67689209727dfb3d3dc5e5b03a39bdc2eda771a' + chainId: "0x48239ef607d7928874027a43a67689209727dfb3d3dc5e5b03a39bdc2eda771a" endpoint: >- wss://rpc-asset-hub-kusama.luckyfriday.io dictionary: https://api.subquery.network/sq/kodadot/statemine-dictionary diff --git a/statemint.yaml b/statemint.yaml index 0d5763f9..92caad68 100644 --- a/statemint.yaml +++ b/statemint.yaml @@ -3,17 +3,19 @@ name: subquery-nova-statemint version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x68d56f15f85d3136970ec16946040bc1752654e906147f7e43e9d539d7c3de2f' + chainId: "0x68d56f15f85d3136970ec16946040bc1752654e906147f7e43e9d539d7c3de2f" endpoint: >- wss://statemint-rpc.polkadot.io dictionary: https://api.subquery.network/sq/subquery/statemint-dictionary diff --git a/subsocial.yaml b/subsocial.yaml index a3c62cc3..3fd2fcbc 100644 --- a/subsocial.yaml +++ b/subsocial.yaml @@ -3,17 +3,19 @@ name: subquery-nova-subsocial version: 1.0.0 runner: node: - name: '@subql/node' - version: "*" + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x4a12be580bb959937a1c7a61d5cf24428ed67fa571974b4007645d1886e7c89f' + chainId: "0x4a12be580bb959937a1c7a61d5cf24428ed67fa571974b4007645d1886e7c89f" endpoint: wss://para.subsocial.network chaintypes: file: ./dist/subsocialChaintypes.js diff --git a/tanganika.yaml b/tanganika.yaml index e106db25..d855fc6e 100644 --- a/tanganika.yaml +++ b/tanganika.yaml @@ -3,17 +3,19 @@ name: subquery-nova-tanganika version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0xeacdd2d5b42de9769ccbb6e8d9013ab0d90ab105bf601d4aac53e874c145ec21' + chainId: "0xeacdd2d5b42de9769ccbb6e8d9013ab0d90ab105bf601d4aac53e874c145ec21" endpoint: wss://tanganika.datahighway.com dataSources: - name: main diff --git a/ternoa.yaml b/ternoa.yaml index 329b75cb..928882ad 100644 --- a/ternoa.yaml +++ b/ternoa.yaml @@ -3,17 +3,19 @@ name: subquery-nova-ternoa version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x6859c81ca95ef624c9dfe4dc6e3381c33e5d6509e35e147092bfbc780f777c4e' + chainId: "0x6859c81ca95ef624c9dfe4dc6e3381c33e5d6509e35e147092bfbc780f777c4e" endpoint: wss://mainnet.ternoa.network chaintypes: file: ./dist/ternoaChaintypes.js diff --git a/tests/reward.test.ts b/tests/reward.test.ts index e8140a80..1e954f60 100644 --- a/tests/reward.test.ts +++ b/tests/reward.test.ts @@ -1,285 +1,329 @@ -import { AccumulatedPoolReward, AccountPoolReward, HistoryElement } from '../src/types'; -import { - handlePoolReward, - handlePoolBondedSlash, - handlePoolUnbondingSlash, -} from "../src/mappings/PoolRewards" -import { getPoolMembers } from "../src/mappings/Cache" -import { SubstrateTestEventBuilder, mockOption, mockNumber, mockAddress } from "./utils/mockFunctions" +import { + AccumulatedPoolReward, + AccountPoolReward, + HistoryElement, +} from "../src/types"; +import { + handlePoolReward, + handlePoolBondedSlash, + handlePoolUnbondingSlash, +} from "../src/mappings/PoolRewards"; +import { getPoolMembers } from "../src/mappings/Cache"; +import { + SubstrateTestEventBuilder, + mockOption, + mockNumber, + mockAddress, +} from "./utils/mockFunctions"; import { RewardType } from "../src/types"; const mockBondedPools = { - 42: mockOption({ - commission: { - current: null, - max: null, - changeRate: null, - throttleFrom: null, - }, - memberCounter: 3, - points: mockNumber(1000), - roles: { - depositor: mockAddress("13wcqPQM6W5C3BdZDegusda4akT8XL7RfjcXP6RHuo85ANNS"), - root: mockAddress("13wcqPQM6W5C3BdZDegusda4akT8XL7RfjcXP6RHuo85ANNS"), - nominator: mockAddress("13wcqPQM6W5C3BdZDegusda4akT8XL7RfjcXP6RHuo85ANNS"), - bouncer: mockAddress("13wcqPQM6W5C3BdZDegusda4akT8XL7RfjcXP6RHuo85ANNS"), - }, - state: "Open" - }) -} + 42: mockOption({ + commission: { + current: null, + max: null, + changeRate: null, + throttleFrom: null, + }, + memberCounter: 3, + points: mockNumber(1000), + roles: { + depositor: mockAddress( + "13wcqPQM6W5C3BdZDegusda4akT8XL7RfjcXP6RHuo85ANNS", + ), + root: mockAddress("13wcqPQM6W5C3BdZDegusda4akT8XL7RfjcXP6RHuo85ANNS"), + nominator: mockAddress( + "13wcqPQM6W5C3BdZDegusda4akT8XL7RfjcXP6RHuo85ANNS", + ), + bouncer: mockAddress("13wcqPQM6W5C3BdZDegusda4akT8XL7RfjcXP6RHuo85ANNS"), + }, + state: "Open", + }), +}; const mockSubPoolsStorage = { - 42: mockOption({ - noEra: { - points: mockNumber(1000), - balance: mockNumber(1000) - }, - withEra: { - 4904: { - points: mockNumber(2000), - balance: mockNumber(2000) - }, - 5426: { - points: mockNumber(0), - balance: mockNumber(0) - } - } - }) -} + 42: mockOption({ + noEra: { + points: mockNumber(1000), + balance: mockNumber(1000), + }, + withEra: { + 4904: { + points: mockNumber(2000), + balance: mockNumber(2000), + }, + 5426: { + points: mockNumber(0), + balance: mockNumber(0), + }, + }, + }), +}; const mockPoolMembers = [ - [ - [ - mockAddress("12JFwUszJsgVUr5YW3QcheYmDZHNYHiPELbuJx3rm6guhrse") - ], - mockOption({ - isSome: true, - poolId: mockNumber(16), - points: mockNumber(100), - lastRecordedRewardCounter: undefined, - unbondingEras: {} - }) - ], - [ - [ - mockAddress("16XzkhKCZqFA4yYd2nfrNk8GZBhq8xkdAQZe3T8tUWxanWWj") - ], - mockOption({ - isSome: true, - poolId: mockNumber(42), - points: mockNumber(100), - lastRecordedRewardCounter: undefined, - unbondingEras: { - 4904: mockNumber(10) - } - }) - ], - [ - [ - mockAddress("128uKFo94ewG8BrRXyqVQFDj8753XNfgsDUp9DSGdh8erKwS") - ], - mockOption({ - isSome: true, - poolId: mockNumber(42), - points: mockNumber(50), - lastRecordedRewardCounter: undefined, - unbondingEras: { - 5426: mockNumber(5) - } - }) - ], - [ - [ - mockAddress("13au37C1nZtMjvv2uPHRvamYdgAVxffTWJoCZXo2sw1NeysP") - ], - mockOption({ - isSome: true, - poolId: mockNumber(42), - points: mockNumber(25), - lastRecordedRewardCounter: undefined, - unbondingEras: { - 1: mockNumber(1234) - } - }) - ] -] + [ + [mockAddress("12JFwUszJsgVUr5YW3QcheYmDZHNYHiPELbuJx3rm6guhrse")], + mockOption({ + isSome: true, + poolId: mockNumber(16), + points: mockNumber(100), + lastRecordedRewardCounter: undefined, + unbondingEras: {}, + }), + ], + [ + [mockAddress("16XzkhKCZqFA4yYd2nfrNk8GZBhq8xkdAQZe3T8tUWxanWWj")], + mockOption({ + isSome: true, + poolId: mockNumber(42), + points: mockNumber(100), + lastRecordedRewardCounter: undefined, + unbondingEras: { + 4904: mockNumber(10), + }, + }), + ], + [ + [mockAddress("128uKFo94ewG8BrRXyqVQFDj8753XNfgsDUp9DSGdh8erKwS")], + mockOption({ + isSome: true, + poolId: mockNumber(42), + points: mockNumber(50), + lastRecordedRewardCounter: undefined, + unbondingEras: { + 5426: mockNumber(5), + }, + }), + ], + [ + [mockAddress("13au37C1nZtMjvv2uPHRvamYdgAVxffTWJoCZXo2sw1NeysP")], + mockOption({ + isSome: true, + poolId: mockNumber(42), + points: mockNumber(25), + lastRecordedRewardCounter: undefined, + unbondingEras: { + 1: mockNumber(1234), + }, + }), + ], +]; // Mock the API object using Jest let mockAPI = { - queryMulti: jest.fn((data) => {return data}), - query: { - staking: { - payee: { - isStaked: true, - } - }, - nominationPools: { - bondedPools: async function(poolId) { - return mockBondedPools[poolId] - }, - poolMembers: { - entries: async function() { - return mockPoolMembers - } - }, - subPoolsStorage: async function(era) { - return mockSubPoolsStorage[era] - } - } - }, + queryMulti: jest.fn((data) => { + return data; + }), + query: { + staking: { + payee: { + isStaked: true, + }, + }, + nominationPools: { + bondedPools: async function (poolId) { + return mockBondedPools[poolId]; + }, + poolMembers: { + entries: async function () { + return mockPoolMembers; + }, + }, + subPoolsStorage: async function (era) { + return mockSubPoolsStorage[era]; + }, + }, + }, }; -describe('handlePoolSlash', () => { - let bondedSlashEvent - let unbondingSlashEvent - let poolId - let slashAmount +describe("handlePoolSlash", () => { + let bondedSlashEvent; + let unbondingSlashEvent; + let poolId; + let slashAmount; - let answers + let answers; - let historyElementResults: HistoryElement[] = [] - let accumulatedPoolRewardResults: AccumulatedPoolReward[] = [] - let acountPoolRewardResults: AccountPoolReward[] = [] + let historyElementResults: HistoryElement[] = []; + let accumulatedPoolRewardResults: AccumulatedPoolReward[] = []; + let acountPoolRewardResults: AccountPoolReward[] = []; - beforeAll(() => { - (global as any).api = mockAPI; - poolId = mockNumber(42) - slashAmount = mockNumber(10000) + beforeAll(() => { + (global as any).api = mockAPI; + poolId = mockNumber(42); + slashAmount = mockNumber(10000); - jest.spyOn(HistoryElement.prototype, "save").mockImplementation(function (this: HistoryElement) { - historyElementResults.push(this) - return Promise.resolve() - }) - jest.spyOn(AccumulatedPoolReward, "get").mockResolvedValue(undefined) - jest.spyOn(AccumulatedPoolReward.prototype, "save").mockImplementation(function (this: AccumulatedPoolReward) { - accumulatedPoolRewardResults.push(this) - return Promise.resolve() - }) - jest.spyOn(AccountPoolReward.prototype, "save").mockImplementation(function (this: AccountPoolReward) { - acountPoolRewardResults.push(this) - return Promise.resolve() - }) - }); + jest.spyOn(HistoryElement.prototype, "save").mockImplementation(function ( + this: HistoryElement, + ) { + historyElementResults.push(this); + return Promise.resolve(); + }); + jest.spyOn(AccumulatedPoolReward, "get").mockResolvedValue(undefined); + jest + .spyOn(AccumulatedPoolReward.prototype, "save") + .mockImplementation(function (this: AccumulatedPoolReward) { + accumulatedPoolRewardResults.push(this); + return Promise.resolve(); + }); + jest + .spyOn(AccountPoolReward.prototype, "save") + .mockImplementation(function (this: AccountPoolReward) { + acountPoolRewardResults.push(this); + return Promise.resolve(); + }); + }); - afterEach(() => { - expect(historyElementResults.length).toBe(answers.length) - historyElementResults.forEach((element, index) => { - expect(element.address).toBe(answers[index][0].toString()) - expect(element.poolReward?.amount).toBe(answers[index][1].toString()) - expect(element.poolReward?.isReward).toBe(false) - expect(element.poolReward?.poolId).toBe(poolId.toNumber()) - }); + afterEach(() => { + expect(historyElementResults.length).toBe(answers.length); + historyElementResults.forEach((element, index) => { + expect(element.address).toBe(answers[index][0].toString()); + expect(element.poolReward?.amount).toBe(answers[index][1].toString()); + expect(element.poolReward?.isReward).toBe(false); + expect(element.poolReward?.poolId).toBe(poolId.toNumber()); + }); - expect(accumulatedPoolRewardResults.length).toBe(answers.length) - accumulatedPoolRewardResults.forEach((element, index) => { - expect(element.amount).toBe(-answers[index][1]) - }); + expect(accumulatedPoolRewardResults.length).toBe(answers.length); + accumulatedPoolRewardResults.forEach((element, index) => { + expect(element.amount).toBe(-answers[index][1]); + }); - expect(acountPoolRewardResults.length).toBe(answers.length) - acountPoolRewardResults.forEach((element, index) => { - expect(element.address).toBe(answers[index][0]) - expect(element.amount).toBe(answers[index][1]) - expect(element.type).toBe(RewardType.slash) - expect(element.poolId).toBe(poolId.toNumber()) - }); - }) + expect(acountPoolRewardResults.length).toBe(answers.length); + acountPoolRewardResults.forEach((element, index) => { + expect(element.address).toBe(answers[index][0]); + expect(element.amount).toBe(answers[index][1]); + expect(element.type).toBe(RewardType.slash); + expect(element.poolId).toBe(poolId.toNumber()); + }); + }); - beforeEach(() => { - historyElementResults = [] - accumulatedPoolRewardResults = [] - acountPoolRewardResults = [] - }) + beforeEach(() => { + historyElementResults = []; + accumulatedPoolRewardResults = []; + acountPoolRewardResults = []; + }); - it('Bonded slash', async () => { - answers = [ - ["16XzkhKCZqFA4yYd2nfrNk8GZBhq8xkdAQZe3T8tUWxanWWj", BigInt(1000)], - ["128uKFo94ewG8BrRXyqVQFDj8753XNfgsDUp9DSGdh8erKwS", BigInt(500)], - ["13au37C1nZtMjvv2uPHRvamYdgAVxffTWJoCZXo2sw1NeysP", BigInt(250)], - ] + it("Bonded slash", async () => { + answers = [ + ["16XzkhKCZqFA4yYd2nfrNk8GZBhq8xkdAQZe3T8tUWxanWWj", BigInt(1000)], + ["128uKFo94ewG8BrRXyqVQFDj8753XNfgsDUp9DSGdh8erKwS", BigInt(500)], + ["13au37C1nZtMjvv2uPHRvamYdgAVxffTWJoCZXo2sw1NeysP", BigInt(250)], + ]; - bondedSlashEvent = new SubstrateTestEventBuilder().buildEventForBondedPoolSlash(poolId, slashAmount) - await handlePoolBondedSlash(bondedSlashEvent); - }); + bondedSlashEvent = + new SubstrateTestEventBuilder().buildEventForBondedPoolSlash( + poolId, + slashAmount, + ); + await handlePoolBondedSlash(bondedSlashEvent); + }); - it('Unbonding slash with no era', async () => { - answers = [ - ["13au37C1nZtMjvv2uPHRvamYdgAVxffTWJoCZXo2sw1NeysP", BigInt(12340)], - ] + it("Unbonding slash with no era", async () => { + answers = [ + ["13au37C1nZtMjvv2uPHRvamYdgAVxffTWJoCZXo2sw1NeysP", BigInt(12340)], + ]; - unbondingSlashEvent = new SubstrateTestEventBuilder().buildEventForUnbondingPoolSlash(mockNumber(1), poolId, slashAmount) - await handlePoolUnbondingSlash(unbondingSlashEvent); - }); + unbondingSlashEvent = + new SubstrateTestEventBuilder().buildEventForUnbondingPoolSlash( + mockNumber(1), + poolId, + slashAmount, + ); + await handlePoolUnbondingSlash(unbondingSlashEvent); + }); - it('Unbonding slash in era with points', async () => { - answers = [ - ["16XzkhKCZqFA4yYd2nfrNk8GZBhq8xkdAQZe3T8tUWxanWWj", BigInt(50)], - ] + it("Unbonding slash in era with points", async () => { + answers = [ + ["16XzkhKCZqFA4yYd2nfrNk8GZBhq8xkdAQZe3T8tUWxanWWj", BigInt(50)], + ]; - unbondingSlashEvent = new SubstrateTestEventBuilder().buildEventForUnbondingPoolSlash(mockNumber(4904), poolId, slashAmount) - await handlePoolUnbondingSlash(unbondingSlashEvent); - }); + unbondingSlashEvent = + new SubstrateTestEventBuilder().buildEventForUnbondingPoolSlash( + mockNumber(4904), + poolId, + slashAmount, + ); + await handlePoolUnbondingSlash(unbondingSlashEvent); + }); - it('Unbonding slash in era without points', async () => { - answers = [] + it("Unbonding slash in era without points", async () => { + answers = []; - unbondingSlashEvent = new SubstrateTestEventBuilder().buildEventForUnbondingPoolSlash(mockNumber(5426), poolId, slashAmount) - await handlePoolUnbondingSlash(unbondingSlashEvent); - }); + unbondingSlashEvent = + new SubstrateTestEventBuilder().buildEventForUnbondingPoolSlash( + mockNumber(5426), + poolId, + slashAmount, + ); + await handlePoolUnbondingSlash(unbondingSlashEvent); + }); - it('Caching for members working', async () => { - answers = [] - jest.spyOn(mockAPI.query.nominationPools.poolMembers, "entries") + it("Caching for members working", async () => { + answers = []; + jest.spyOn(mockAPI.query.nominationPools.poolMembers, "entries"); - const result_1 = await getPoolMembers(0) - const result_2 = await getPoolMembers(0) + const result_1 = await getPoolMembers(0); + const result_2 = await getPoolMembers(0); - expect(mockAPI.query.nominationPools.poolMembers.entries).toBeCalledTimes(1) - expect(result_1).toBe(result_2) - }); + expect(mockAPI.query.nominationPools.poolMembers.entries).toBeCalledTimes( + 1, + ); + expect(result_1).toBe(result_2); + }); }); -describe('handlePoolReward', () => { - let rewardEvent - let accountId - let rewardAmount - let poolId +describe("handlePoolReward", () => { + let rewardEvent; + let accountId; + let rewardAmount; + let poolId; + + beforeAll(() => { + jest.clearAllMocks(); - beforeAll(() => { - jest.clearAllMocks(); + (global as any).api = mockAPI; + accountId = mockAddress("JHXFqYWQFFr5RkHVzviRiKhY7tutyGcYQb6kUyoScSir862"); + rewardAmount = mockNumber(1000); + poolId = mockNumber(42); - (global as any).api = mockAPI; - accountId = mockAddress("JHXFqYWQFFr5RkHVzviRiKhY7tutyGcYQb6kUyoScSir862") - rewardAmount = mockNumber(1000) - poolId = mockNumber(42) + rewardEvent = new SubstrateTestEventBuilder().buildEventForPoolReward( + accountId, + poolId, + rewardAmount, + ); + }); - rewardEvent = new SubstrateTestEventBuilder().buildEventForPoolReward(accountId, poolId, rewardAmount) - }); + it("Pool reward processed properly", async () => { + jest.spyOn(AccumulatedPoolReward, "get").mockResolvedValue(undefined); + const accumulatedRewardSpy = jest + .spyOn(AccumulatedPoolReward.prototype, "save") + .mockImplementation(function (this: AccumulatedPoolReward) { + expect(this.amount).toBe(rewardAmount.toBigInt()); + return Promise.resolve(); + }); + const accountPoolRewardSpy = jest + .spyOn(AccountPoolReward.prototype, "save") + .mockImplementation(function (this: AccountPoolReward) { + expect(this.amount).toBe(rewardAmount.toBigInt()); + expect(this.address).toBe(accountId.toString()); + expect(this.type).toBe(RewardType.reward); + expect(this.poolId).toBe(poolId.toNumber()); + return Promise.resolve(); + }); + const historyElementSpy = jest + .spyOn(HistoryElement.prototype, "save") + .mockImplementation(function (this: HistoryElement) { + expect(this.address).toBe(accountId.toString()); + expect(this.poolReward?.amount).toBe(rewardAmount.toString()); + expect(this.poolReward?.isReward).toBe(true); + expect(this.poolReward?.poolId).toBe(poolId.toNumber()); + return Promise.resolve(); + }); - it('Pool reward processed properly', async () => { - jest.spyOn(AccumulatedPoolReward, "get").mockResolvedValue(undefined) - const accumulatedRewardSpy = jest.spyOn(AccumulatedPoolReward.prototype, "save").mockImplementation(function (this: AccumulatedPoolReward) { - expect(this.amount).toBe(rewardAmount.toBigInt()) - return Promise.resolve() - }) - const accountPoolRewardSpy = jest.spyOn(AccountPoolReward.prototype, "save").mockImplementation(function (this: AccountPoolReward) { - expect(this.amount).toBe(rewardAmount.toBigInt()) - expect(this.address).toBe(accountId.toString()) - expect(this.type).toBe(RewardType.reward) - expect(this.poolId).toBe(poolId.toNumber()) - return Promise.resolve() - }) - const historyElementSpy = jest.spyOn(HistoryElement.prototype, "save").mockImplementation(function (this: HistoryElement) { - expect(this.address).toBe(accountId.toString()) - expect(this.poolReward?.amount).toBe(rewardAmount.toString()) - expect(this.poolReward?.isReward).toBe(true) - expect(this.poolReward?.poolId).toBe(poolId.toNumber()) - return Promise.resolve() - }) + await handlePoolReward(rewardEvent); - await handlePoolReward(rewardEvent); - - expect(accumulatedRewardSpy).toBeCalledTimes(1) - expect(accountPoolRewardSpy).toBeCalledTimes(1) - expect(historyElementSpy).toBeCalledTimes(1) - }); + expect(accumulatedRewardSpy).toBeCalledTimes(1); + expect(accountPoolRewardSpy).toBeCalledTimes(1); + expect(historyElementSpy).toBeCalledTimes(1); + }); }); diff --git a/tests/utils/mockFunctions.ts b/tests/utils/mockFunctions.ts index 30a5edd0..d6f65159 100644 --- a/tests/utils/mockFunctions.ts +++ b/tests/utils/mockFunctions.ts @@ -1,87 +1,111 @@ -import { AnyTuple } from '@polkadot/types-codec/types'; -import { IEvent } from '@polkadot/types/types'; -import { EventRecord } from '@polkadot/types/interfaces'; -import { SubstrateBlock, SubstrateEvent, SubstrateExtrinsic } from "@subql/types"; +import { AnyTuple } from "@polkadot/types-codec/types"; +import { IEvent } from "@polkadot/types/types"; +import { EventRecord } from "@polkadot/types/interfaces"; +import { + SubstrateBlock, + SubstrateEvent, + SubstrateExtrinsic, +} from "@subql/types"; export class SubstrateTestEventBuilder { - private _event: Partial = {}; - - withExtrinsic(extrinsic: SubstrateExtrinsic): SubstrateTestEventBuilder { - this._event.extrinsic = extrinsic; - return this; - } - - withBlock(timestamp: Date = new Date(), blockNumber: number = 1): SubstrateTestEventBuilder { - this._event.block = { - timestamp: timestamp, - block: { - header: { - number: mockNumber(blockNumber) - } - } - } as SubstrateBlock - return this; - } - - withEvent(eventData, idx): SubstrateTestEventBuilder { - this._event.idx = idx - this._event.event = {data: eventData, method: 'method', section: 'section'} as unknown as IEvent - this._event.block.events = [] - const event = {event: {data: eventData, method: 'method', section: 'section'}} as EventRecord - this._event.block.events.push(event) - return this - } - - build(): SubstrateEvent { - return this._event as SubstrateEvent; - } - - buildEventForRewards(rewardAccountId, amount, idx=0): SubstrateEvent { - return this.withBlock().withEvent([rewardAccountId, amount], idx).build() - } - - buildEventForPoolReward(rewardAccountId, poolId, amount, idx=0): SubstrateEvent { - return this.withBlock().withEvent([rewardAccountId, poolId, amount], idx).build() - } - - - buildEventForBondedPoolSlash(poolId, amount, idx=0): SubstrateEvent { - return this.withBlock().withEvent([poolId, amount], idx).build() - } - - buildEventForUnbondingPoolSlash(era, poolId, amount, idx=0): SubstrateEvent { - return this.withBlock().withEvent([era, poolId, amount], idx).build() - } + private _event: Partial = {}; + + withExtrinsic(extrinsic: SubstrateExtrinsic): SubstrateTestEventBuilder { + this._event.extrinsic = extrinsic; + return this; + } + + withBlock( + timestamp: Date = new Date(), + blockNumber: number = 1, + ): SubstrateTestEventBuilder { + this._event.block = { + timestamp: timestamp, + block: { + header: { + number: mockNumber(blockNumber), + }, + }, + } as SubstrateBlock; + return this; + } + + withEvent(eventData, idx): SubstrateTestEventBuilder { + this._event.idx = idx; + this._event.event = { + data: eventData, + method: "method", + section: "section", + } as unknown as IEvent; + this._event.block.events = []; + const event = { + event: { data: eventData, method: "method", section: "section" }, + } as EventRecord; + this._event.block.events.push(event); + return this; + } + + build(): SubstrateEvent { + return this._event as SubstrateEvent; + } + + buildEventForRewards(rewardAccountId, amount, idx = 0): SubstrateEvent { + return this.withBlock().withEvent([rewardAccountId, amount], idx).build(); + } + + buildEventForPoolReward( + rewardAccountId, + poolId, + amount, + idx = 0, + ): SubstrateEvent { + return this.withBlock() + .withEvent([rewardAccountId, poolId, amount], idx) + .build(); + } + + buildEventForBondedPoolSlash(poolId, amount, idx = 0): SubstrateEvent { + return this.withBlock().withEvent([poolId, amount], idx).build(); + } + + buildEventForUnbondingPoolSlash( + era, + poolId, + amount, + idx = 0, + ): SubstrateEvent { + return this.withBlock().withEvent([era, poolId, amount], idx).build(); + } } -class MockOption{ - private __data : unknown; - public isSome = true; +class MockOption { + private __data: unknown; + public isSome = true; - constructor(data : unknown) { - this.__data = data - } + constructor(data: unknown) { + this.__data = data; + } - unwrap() { - return this.__data - } + unwrap() { + return this.__data; + } } -export function mockOption(data : unknown): unknown { - return new MockOption(data) +export function mockOption(data: unknown): unknown { + return new MockOption(data); } export function mockAddress(toStringValue: string): unknown { - return { - toString: jest.fn().mockReturnValue(toStringValue), - toRawType: jest.fn().mockReturnValue('AccountId') - } + return { + toString: jest.fn().mockReturnValue(toStringValue), + toRawType: jest.fn().mockReturnValue("AccountId"), + }; } export function mockNumber(number: number): unknown { - return { - toString: jest.fn().mockReturnValue(number.toString()), - toNumber: jest.fn().mockReturnValue(number), - toBigInt: jest.fn().mockReturnValue(BigInt(number)) - } -} \ No newline at end of file + return { + toString: jest.fn().mockReturnValue(number.toString()), + toNumber: jest.fn().mockReturnValue(number), + toBigInt: jest.fn().mockReturnValue(BigInt(number)), + }; +} diff --git a/tinkernet.yaml b/tinkernet.yaml index d8428cff..34550690 100644 --- a/tinkernet.yaml +++ b/tinkernet.yaml @@ -3,17 +3,19 @@ name: subquery-nova-tinkernet version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0xd42e9606a995dfe433dc7955dc2a70f495f350f373daa200098ae84437816ad2' + chainId: "0xd42e9606a995dfe433dc7955dc2a70f495f350f373daa200098ae84437816ad2" endpoint: wss://invarch-tinkernet.api.onfinality.io/public-ws dataSources: - name: main diff --git a/tsconfig.json b/tsconfig.json index 83c0c148..9a0b4d8d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -11,11 +11,13 @@ "rootDir": ".", "target": "es2020", "skipLibCheck": true, - "strictNullChecks": false + "strictNullChecks": false, + "strict": true }, "include": [ "src/**/*", + "node_modules/@subql/types-core/dist/global.d.ts", "node_modules/@subql/types/dist/global.d.ts", - "./chaintypes.ts" + "chainTypes/**/*" ] } diff --git a/turing.yaml b/turing.yaml index 7a725abc..395a6ecf 100644 --- a/turing.yaml +++ b/turing.yaml @@ -3,17 +3,19 @@ name: subquery-nova-turing version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x0f62b701fb12d02237a33b84818c11f621653d2b1614c777973babf4652b535d' + chainId: "0x0f62b701fb12d02237a33b84818c11f621653d2b1614c777973babf4652b535d" endpoint: wss://turing-rpc.dwellir.com dataSources: - name: main diff --git a/unique.yaml b/unique.yaml index d6430e0a..bf12fbdf 100644 --- a/unique.yaml +++ b/unique.yaml @@ -3,17 +3,19 @@ name: subquery-nova-unique version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x84322d9cddbf35088f1e54e9a85c967a41a56a4f43445768125e61af166c7d31' + chainId: "0x84322d9cddbf35088f1e54e9a85c967a41a56a4f43445768125e61af166c7d31" endpoint: wss://us-ws.unique.network/ dataSources: - name: main diff --git a/vara.yaml b/vara.yaml index 24708075..a45de801 100644 --- a/vara.yaml +++ b/vara.yaml @@ -3,17 +3,17 @@ name: subquery-nova-vara version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0xfe1b4c55fd4d668101126434206571a7838a8b6b93a6d1b95d607e78e6c53763' + chainId: "0xfe1b4c55fd4d668101126434206571a7838a8b6b93a6d1b95d607e78e6c53763" endpoint: >- wss://archive-rpc.vara-network.io dataSources: @@ -76,4 +76,4 @@ dataSources: kind: substrate/EventHandler filter: module: staking - method: StakersElected \ No newline at end of file + method: StakersElected diff --git a/westend.yaml b/westend.yaml index 7be51a6c..71cc33cb 100644 --- a/westend.yaml +++ b/westend.yaml @@ -3,17 +3,19 @@ name: subquery-nova-wallet version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0xe143f23803ac50e8f6f8e62695d1ce9e4e1d68aa36c1cd2cfd15340213f3423e' + chainId: "0xe143f23803ac50e8f6f8e62695d1ce9e4e1d68aa36c1cd2cfd15340213f3423e" endpoint: >- wss://westend.api.onfinality.io/public-ws dictionary: https://api.subquery.network/sq/subquery/westend-dictionary diff --git a/westmint.yaml b/westmint.yaml index 5e327ae0..963b6c83 100644 --- a/westmint.yaml +++ b/westmint.yaml @@ -3,17 +3,17 @@ name: subquery-nova-westmint version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x67f9723393ef76214df0118c34bbbd3dbebc8ed46a10973a8c969d48fe7598c9' + chainId: "0x67f9723393ef76214df0118c34bbbd3dbebc8ed46a10973a8c969d48fe7598c9" endpoint: >- wss://westmint-rpc.dwellir.com chaintypes: diff --git a/xx-network.yaml b/xx-network.yaml index c1362bdc..e5f77c9d 100644 --- a/xx-network.yaml +++ b/xx-network.yaml @@ -3,17 +3,19 @@ name: subquery-nova-xx-network version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x50dd5d206917bf10502c68fb4d18a59fc8aa31586f4e8856b493e43544aa82aa' + chainId: "0x50dd5d206917bf10502c68fb4d18a59fc8aa31586f4e8856b493e43544aa82aa" endpoint: >- wss://xxnetwork-rpc.dwellir.com dataSources: diff --git a/yarn.lock b/yarn.lock index 76940834..3b677891 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9,6 +9,14 @@ dependencies: "@open-web3/orml-type-definitions" "^1.1.4" +"@ampproject/remapping@^2.1.0": + version "2.3.0" + resolved "https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-2.3.0.tgz#ed441b6fa600072520ce18b43d2c8cc8caecc7f4" + integrity sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw== + dependencies: + "@jridgewell/gen-mapping" "^0.3.5" + "@jridgewell/trace-mapping" "^0.3.24" + "@ampproject/remapping@^2.2.0": version "2.2.1" resolved "https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-2.2.1.tgz#99e8e11851128b8702cd57c33684f1d0f260b630" @@ -31,11 +39,45 @@ dependencies: "@babel/highlight" "^7.22.5" +"@babel/code-frame@^7.18.6", "@babel/code-frame@^7.23.5", "@babel/code-frame@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.24.7.tgz#882fd9e09e8ee324e496bd040401c6f046ef4465" + integrity sha512-BcYH1CVJBO9tvyIZ2jVeXgSIMvGZ2FDRvDdOIVQyuklNKSsx+eppDEBq/g47Ayw+RqNFE+URvOShmf+f/qwAlA== + dependencies: + "@babel/highlight" "^7.24.7" + picocolors "^1.0.0" + +"@babel/compat-data@^7.17.7", "@babel/compat-data@^7.18.8", "@babel/compat-data@^7.20.5", "@babel/compat-data@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.24.7.tgz#d23bbea508c3883ba8251fb4164982c36ea577ed" + integrity sha512-qJzAIcv03PyaWqxRgO4mSU3lihncDT296vnyuE2O8uA4w3UHWI4S3hgeZd1L8W1Bft40w9JxJ2b412iDUFFRhw== + "@babel/compat-data@^7.22.9": version "7.22.9" resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.22.9.tgz#71cdb00a1ce3a329ce4cbec3a44f9fef35669730" integrity sha512-5UamI7xkUcJ3i9qVDS+KFDEK8/7oJ55/sJMB1Ge7IEapr7KfdfV/HErR+koZwOfd+SgtFKOKRhRakdg++DcJpQ== +"@babel/core@7.18.10": + version "7.18.10" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.18.10.tgz#39ad504991d77f1f3da91be0b8b949a5bc466fb8" + integrity sha512-JQM6k6ENcBFKVtWvLavlvi/mPcpYZ3+R+2EySDEMSMbp7Mn4FexlbbJVrx2R7Ijhr01T8gyqrOaABWIOgxeUyw== + dependencies: + "@ampproject/remapping" "^2.1.0" + "@babel/code-frame" "^7.18.6" + "@babel/generator" "^7.18.10" + "@babel/helper-compilation-targets" "^7.18.9" + "@babel/helper-module-transforms" "^7.18.9" + "@babel/helpers" "^7.18.9" + "@babel/parser" "^7.18.10" + "@babel/template" "^7.18.10" + "@babel/traverse" "^7.18.10" + "@babel/types" "^7.18.10" + convert-source-map "^1.7.0" + debug "^4.1.0" + gensync "^1.0.0-beta.2" + json5 "^2.2.1" + semver "^6.3.0" + "@babel/core@^7.11.6", "@babel/core@^7.12.3": version "7.22.9" resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.22.9.tgz#bd96492c68822198f33e8a256061da3cf391f58f" @@ -57,6 +99,25 @@ json5 "^2.2.2" semver "^6.3.1" +"@babel/generator@7.18.12": + version "7.18.12" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.18.12.tgz#fa58daa303757bd6f5e4bbca91b342040463d9f4" + integrity sha512-dfQ8ebCN98SvyL7IxNMCUtZQSq5R7kxgN+r8qYTGDmmSion1hX2C0zq2yo1bsCDhXixokv1SAWTZUMYbO/V5zg== + dependencies: + "@babel/types" "^7.18.10" + "@jridgewell/gen-mapping" "^0.3.2" + jsesc "^2.5.1" + +"@babel/generator@^7.18.10", "@babel/generator@^7.23.6", "@babel/generator@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.24.7.tgz#1654d01de20ad66b4b4d99c135471bc654c55e6d" + integrity sha512-oipXieGC3i45Y1A41t4tAqpnEZWgB/lC6Ehh6+rOviR5XWpTtMmLN+fGjz9vOiNRt0p6RtO6DtD0pdU3vpqdSA== + dependencies: + "@babel/types" "^7.24.7" + "@jridgewell/gen-mapping" "^0.3.5" + "@jridgewell/trace-mapping" "^0.3.25" + jsesc "^2.5.1" + "@babel/generator@^7.22.7", "@babel/generator@^7.22.9", "@babel/generator@^7.7.2": version "7.22.9" resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.22.9.tgz#572ecfa7a31002fa1de2a9d91621fd895da8493d" @@ -67,6 +128,32 @@ "@jridgewell/trace-mapping" "^0.3.17" jsesc "^2.5.1" +"@babel/helper-annotate-as-pure@^7.18.6", "@babel/helper-annotate-as-pure@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.24.7.tgz#5373c7bc8366b12a033b4be1ac13a206c6656aab" + integrity sha512-BaDeOonYvhdKw+JoMVkAixAAJzG2jVPIwWoKBPdYuY9b452e2rPuI9QPYh3KpofZ3pW2akOmwZLOiOsHMiqRAg== + dependencies: + "@babel/types" "^7.24.7" + +"@babel/helper-builder-binary-assignment-operator-visitor@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.24.7.tgz#37d66feb012024f2422b762b9b2a7cfe27c7fba3" + integrity sha512-xZeCVVdwb4MsDBkkyZ64tReWYrLRHlMN72vP7Bdm3OUOuyFZExhsHUUnuWnm2/XOlAJzR0LfPpB56WXZn0X/lA== + dependencies: + "@babel/traverse" "^7.24.7" + "@babel/types" "^7.24.7" + +"@babel/helper-compilation-targets@^7.17.7", "@babel/helper-compilation-targets@^7.18.9", "@babel/helper-compilation-targets@^7.20.7", "@babel/helper-compilation-targets@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.24.7.tgz#4eb6c4a80d6ffeac25ab8cd9a21b5dfa48d503a9" + integrity sha512-ctSdRHBi20qWOfy27RUb4Fhp07KSJ3sXcuSvTrXrc4aG8NSYDo1ici3Vhg9bg69y5bj0Mr1lh0aeEgTvc12rMg== + dependencies: + "@babel/compat-data" "^7.24.7" + "@babel/helper-validator-option" "^7.24.7" + browserslist "^4.22.2" + lru-cache "^5.1.1" + semver "^6.3.1" + "@babel/helper-compilation-targets@^7.22.9": version "7.22.9" resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.22.9.tgz#f9d0a7aaaa7cd32a3f31c9316a69f5a9bcacb892" @@ -78,11 +165,62 @@ lru-cache "^5.1.1" semver "^6.3.1" +"@babel/helper-create-class-features-plugin@^7.18.6", "@babel/helper-create-class-features-plugin@^7.21.0", "@babel/helper-create-class-features-plugin@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.24.7.tgz#2eaed36b3a1c11c53bdf80d53838b293c52f5b3b" + integrity sha512-kTkaDl7c9vO80zeX1rJxnuRpEsD5tA81yh11X1gQo+PhSti3JS+7qeZo9U4RHobKRiFPKaGK3svUAeb8D0Q7eg== + dependencies: + "@babel/helper-annotate-as-pure" "^7.24.7" + "@babel/helper-environment-visitor" "^7.24.7" + "@babel/helper-function-name" "^7.24.7" + "@babel/helper-member-expression-to-functions" "^7.24.7" + "@babel/helper-optimise-call-expression" "^7.24.7" + "@babel/helper-replace-supers" "^7.24.7" + "@babel/helper-skip-transparent-expression-wrappers" "^7.24.7" + "@babel/helper-split-export-declaration" "^7.24.7" + semver "^6.3.1" + +"@babel/helper-create-regexp-features-plugin@^7.18.6", "@babel/helper-create-regexp-features-plugin@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.24.7.tgz#be4f435a80dc2b053c76eeb4b7d16dd22cfc89da" + integrity sha512-03TCmXy2FtXJEZfbXDTSqq1fRJArk7lX9DOFC/47VthYcxyIOx+eXQmdo6DOQvrbpIix+KfXwvuXdFDZHxt+rA== + dependencies: + "@babel/helper-annotate-as-pure" "^7.24.7" + regexpu-core "^5.3.1" + semver "^6.3.1" + +"@babel/helper-define-polyfill-provider@^0.3.2", "@babel/helper-define-polyfill-provider@^0.3.3": + version "0.3.3" + resolved "https://registry.yarnpkg.com/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.3.3.tgz#8612e55be5d51f0cd1f36b4a5a83924e89884b7a" + integrity sha512-z5aQKU4IzbqCC1XH0nAqfsFLMVSo22SBKUc0BxGrLkolTdPTructy0ToNnlO2zA4j9Q/7pjMZf0DSY+DSTYzww== + dependencies: + "@babel/helper-compilation-targets" "^7.17.7" + "@babel/helper-plugin-utils" "^7.16.7" + debug "^4.1.1" + lodash.debounce "^4.0.8" + resolve "^1.14.2" + semver "^6.1.2" + +"@babel/helper-environment-visitor@^7.18.9", "@babel/helper-environment-visitor@^7.22.20", "@babel/helper-environment-visitor@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.24.7.tgz#4b31ba9551d1f90781ba83491dd59cf9b269f7d9" + integrity sha512-DoiN84+4Gnd0ncbBOM9AZENV4a5ZiL39HYMyZJGZ/AZEykHYdJw0wW3kdcsh9/Kn+BRXHLkkklZ51ecPKmI1CQ== + dependencies: + "@babel/types" "^7.24.7" + "@babel/helper-environment-visitor@^7.22.5": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.5.tgz#f06dd41b7c1f44e1f8da6c4055b41ab3a09a7e98" integrity sha512-XGmhECfVA/5sAt+H+xpSg0mfrHq6FzNr9Oxh7PSEBBRUb/mL7Kz3NICXb194rCqAEdxkhPT1a88teizAFyvk8Q== +"@babel/helper-function-name@^7.18.9", "@babel/helper-function-name@^7.23.0", "@babel/helper-function-name@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.24.7.tgz#75f1e1725742f39ac6584ee0b16d94513da38dd2" + integrity sha512-FyoJTsj/PEUWu1/TYRiXTIHc8lbw+TDYkZuoE43opPS5TrI7MyONBE1oNvfguEXAD9yhQRrVBnXdXzSLQl9XnA== + dependencies: + "@babel/template" "^7.24.7" + "@babel/types" "^7.24.7" + "@babel/helper-function-name@^7.22.5": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.22.5.tgz#ede300828905bb15e582c037162f99d5183af1be" @@ -91,6 +229,13 @@ "@babel/template" "^7.22.5" "@babel/types" "^7.22.5" +"@babel/helper-hoist-variables@^7.18.6", "@babel/helper-hoist-variables@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.24.7.tgz#b4ede1cde2fd89436397f30dc9376ee06b0f25ee" + integrity sha512-MJJwhkoGy5c4ehfoRyrJ/owKeMl19U54h27YYftT0o2teQ3FJ3nQUf/I3LlJsX4l3qlw7WRXUmiyajvHXoTubQ== + dependencies: + "@babel/types" "^7.24.7" + "@babel/helper-hoist-variables@^7.22.5": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz#c01a007dac05c085914e8fb652b339db50d823bb" @@ -98,6 +243,22 @@ dependencies: "@babel/types" "^7.22.5" +"@babel/helper-member-expression-to-functions@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.24.7.tgz#67613d068615a70e4ed5101099affc7a41c5225f" + integrity sha512-LGeMaf5JN4hAT471eJdBs/GK1DoYIJ5GCtZN/EsL6KUiiDZOvO/eKE11AMZJa2zP4zk4qe9V2O/hxAmkRc8p6w== + dependencies: + "@babel/traverse" "^7.24.7" + "@babel/types" "^7.24.7" + +"@babel/helper-module-imports@^7.18.6", "@babel/helper-module-imports@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.24.7.tgz#f2f980392de5b84c3328fc71d38bd81bbb83042b" + integrity sha512-8AyH3C+74cgCVVXow/myrynrAGv+nTVg5vKu2nZph9x7RcRwzmh0VFallJuFTZ9mx6u4eSdXZfcOzSqTUm0HCA== + dependencies: + "@babel/traverse" "^7.24.7" + "@babel/types" "^7.24.7" + "@babel/helper-module-imports@^7.22.5": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.22.5.tgz#1a8f4c9f4027d23f520bd76b364d44434a72660c" @@ -105,6 +266,17 @@ dependencies: "@babel/types" "^7.22.5" +"@babel/helper-module-transforms@^7.18.9", "@babel/helper-module-transforms@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.24.7.tgz#31b6c9a2930679498db65b685b1698bfd6c7daf8" + integrity sha512-1fuJEwIrp+97rM4RWdO+qrRsZlAeL1lQJoPqtCYWv0NL115XM93hIH4CSRln2w52SqvmY5hqdtauB6QFCDiZNQ== + dependencies: + "@babel/helper-environment-visitor" "^7.24.7" + "@babel/helper-module-imports" "^7.24.7" + "@babel/helper-simple-access" "^7.24.7" + "@babel/helper-split-export-declaration" "^7.24.7" + "@babel/helper-validator-identifier" "^7.24.7" + "@babel/helper-module-transforms@^7.22.9": version "7.22.9" resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.22.9.tgz#92dfcb1fbbb2bc62529024f72d942a8c97142129" @@ -116,11 +288,41 @@ "@babel/helper-split-export-declaration" "^7.22.6" "@babel/helper-validator-identifier" "^7.22.5" +"@babel/helper-optimise-call-expression@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.24.7.tgz#8b0a0456c92f6b323d27cfd00d1d664e76692a0f" + integrity sha512-jKiTsW2xmWwxT1ixIdfXUZp+P5yURx2suzLZr5Hi64rURpDYdMW0pv+Uf17EYk2Rd428Lx4tLsnjGJzYKDM/6A== + dependencies: + "@babel/types" "^7.24.7" + "@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.22.5", "@babel/helper-plugin-utils@^7.8.0": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.22.5.tgz#dd7ee3735e8a313b9f7b05a773d892e88e6d7295" integrity sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg== +"@babel/helper-plugin-utils@^7.16.7", "@babel/helper-plugin-utils@^7.18.6", "@babel/helper-plugin-utils@^7.18.9", "@babel/helper-plugin-utils@^7.20.2", "@babel/helper-plugin-utils@^7.24.7", "@babel/helper-plugin-utils@^7.8.3": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.7.tgz#98c84fe6fe3d0d3ae7bfc3a5e166a46844feb2a0" + integrity sha512-Rq76wjt7yz9AAc1KnlRKNAi/dMSVWgDRx43FHoJEbcYU6xOWaE2dVPwcdTukJrjxS65GITyfbvEYHvkirZ6uEg== + +"@babel/helper-remap-async-to-generator@^7.18.9", "@babel/helper-remap-async-to-generator@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.24.7.tgz#b3f0f203628522713849d49403f1a414468be4c7" + integrity sha512-9pKLcTlZ92hNZMQfGCHImUpDOlAgkkpqalWEeftW5FBya75k8Li2ilerxkM/uBEj01iBZXcCIB/bwvDYgWyibA== + dependencies: + "@babel/helper-annotate-as-pure" "^7.24.7" + "@babel/helper-environment-visitor" "^7.24.7" + "@babel/helper-wrap-function" "^7.24.7" + +"@babel/helper-replace-supers@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.24.7.tgz#f933b7eed81a1c0265740edc91491ce51250f765" + integrity sha512-qTAxxBM81VEyoAY0TtLrx1oAEJc09ZK67Q9ljQToqCnA+55eNwCORaxlKyu+rNfX86o8OXRUSNUnrtsAZXM9sg== + dependencies: + "@babel/helper-environment-visitor" "^7.24.7" + "@babel/helper-member-expression-to-functions" "^7.24.7" + "@babel/helper-optimise-call-expression" "^7.24.7" + "@babel/helper-simple-access@^7.22.5": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz#4938357dc7d782b80ed6dbb03a0fba3d22b1d5de" @@ -128,6 +330,29 @@ dependencies: "@babel/types" "^7.22.5" +"@babel/helper-simple-access@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.24.7.tgz#bcade8da3aec8ed16b9c4953b74e506b51b5edb3" + integrity sha512-zBAIvbCMh5Ts+b86r/CjU+4XGYIs+R1j951gxI3KmmxBMhCg4oQMsv6ZXQ64XOm/cvzfU1FmoCyt6+owc5QMYg== + dependencies: + "@babel/traverse" "^7.24.7" + "@babel/types" "^7.24.7" + +"@babel/helper-skip-transparent-expression-wrappers@^7.20.0", "@babel/helper-skip-transparent-expression-wrappers@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.24.7.tgz#5f8fa83b69ed5c27adc56044f8be2b3ea96669d9" + integrity sha512-IO+DLT3LQUElMbpzlatRASEyQtfhSE0+m465v++3jyyXeBTBUjtVZg28/gHeV5mrTJqvEKhKroBGAvhW+qPHiQ== + dependencies: + "@babel/traverse" "^7.24.7" + "@babel/types" "^7.24.7" + +"@babel/helper-split-export-declaration@^7.18.6", "@babel/helper-split-export-declaration@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.24.7.tgz#83949436890e07fa3d6873c61a96e3bbf692d856" + integrity sha512-oy5V7pD+UvfkEATUKvIjvIAH/xCzfsFVw7ygW2SI6NClZzquT+mwdTfgfdbUiceh6iQO0CHtCPsyze/MZ2YbAA== + dependencies: + "@babel/types" "^7.24.7" + "@babel/helper-split-export-declaration@^7.22.6": version "7.22.6" resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz#322c61b7310c0997fe4c323955667f18fcefb91c" @@ -135,6 +360,11 @@ dependencies: "@babel/types" "^7.22.5" +"@babel/helper-string-parser@^7.18.10", "@babel/helper-string-parser@^7.23.4", "@babel/helper-string-parser@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.24.7.tgz#4d2d0f14820ede3b9807ea5fc36dfc8cd7da07f2" + integrity sha512-7MbVt6xrwFQbunH2DNQsAP5sTGxfqQtErvBIvIMi6EQnbgUOuVYanvREcmFrOPhoXBrTtjhhP+lW+o5UfK+tDg== + "@babel/helper-string-parser@^7.22.5": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz#533f36457a25814cf1df6488523ad547d784a99f" @@ -145,16 +375,44 @@ resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.18.6.tgz#9c97e30d31b2b8c72a1d08984f2ca9b574d7a076" integrity sha512-MmetCkz9ej86nJQV+sFCxoGGrUbU3q02kgLciwkrt9QqEB7cP39oKEY0PakknEO0Gu20SskMRi+AYZ3b1TpN9g== +"@babel/helper-validator-identifier@^7.22.20", "@babel/helper-validator-identifier@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.7.tgz#75b889cfaf9e35c2aaf42cf0d72c8e91719251db" + integrity sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w== + "@babel/helper-validator-identifier@^7.22.5": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.5.tgz#9544ef6a33999343c8740fa51350f30eeaaaf193" integrity sha512-aJXu+6lErq8ltp+JhkJUfk1MTGyuA4v7f3pA+BJ5HLfNC6nAQ0Cpi9uOquUj8Hehg0aUiHzWQbOVJGao6ztBAQ== +"@babel/helper-validator-option@^7.18.6", "@babel/helper-validator-option@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.24.7.tgz#24c3bb77c7a425d1742eec8fb433b5a1b38e62f6" + integrity sha512-yy1/KvjhV/ZCL+SM7hBrvnZJ3ZuT9OuZgIJAGpPEToANvc3iM6iDvBnRjtElWibHU6n8/LPR/EjX9EtIEYO3pw== + "@babel/helper-validator-option@^7.22.5": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.22.5.tgz#de52000a15a177413c8234fa3a8af4ee8102d0ac" integrity sha512-R3oB6xlIVKUnxNUxbmgq7pKjxpru24zlimpE8WK47fACIlM0II/Hm1RS8IaOI7NgCr6LNS+jl5l75m20npAziw== +"@babel/helper-wrap-function@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/helper-wrap-function/-/helper-wrap-function-7.24.7.tgz#52d893af7e42edca7c6d2c6764549826336aae1f" + integrity sha512-N9JIYk3TD+1vq/wn77YnJOqMtfWhNewNE+DJV4puD2X7Ew9J4JvrzrFDfTfyv5EgEXVy9/Wt8QiOErzEmv5Ifw== + dependencies: + "@babel/helper-function-name" "^7.24.7" + "@babel/template" "^7.24.7" + "@babel/traverse" "^7.24.7" + "@babel/types" "^7.24.7" + +"@babel/helpers@^7.18.9": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.24.7.tgz#aa2ccda29f62185acb5d42fb4a3a1b1082107416" + integrity sha512-NlmJJtvcw72yRJRcnCmGvSi+3jDEg8qFu3z0AFoymmzLx5ERVWyzd9kVXr7Th9/8yIJi2Zc6av4Tqz3wFs8QWg== + dependencies: + "@babel/template" "^7.24.7" + "@babel/types" "^7.24.7" + "@babel/helpers@^7.22.6": version "7.22.6" resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.22.6.tgz#8e61d3395a4f0c5a8060f309fb008200969b5ecd" @@ -182,11 +440,195 @@ chalk "^2.0.0" js-tokens "^4.0.0" +"@babel/highlight@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.24.7.tgz#a05ab1df134b286558aae0ed41e6c5f731bf409d" + integrity sha512-EStJpq4OuY8xYfhGVXngigBJRWxftKX9ksiGDnmlY3o7B/V7KIAc9X4oiK87uPJSc/vs5L869bem5fhZa8caZw== + dependencies: + "@babel/helper-validator-identifier" "^7.24.7" + chalk "^2.4.2" + js-tokens "^4.0.0" + picocolors "^1.0.0" + +"@babel/parser@7.18.11": + version "7.18.11" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.18.11.tgz#68bb07ab3d380affa9a3f96728df07969645d2d9" + integrity sha512-9JKn5vN+hDt0Hdqn1PiJ2guflwP+B6Ga8qbDuoF0PzzVhrzsKIJo8yGqVk6CmMHiMei9w1C1Bp9IMJSIK+HPIQ== + "@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.20.7", "@babel/parser@^7.22.5", "@babel/parser@^7.22.7": version "7.22.7" resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.22.7.tgz#df8cf085ce92ddbdbf668a7f186ce848c9036cae" integrity sha512-7NF8pOkHP5o2vpmGgNGcfAeCvOYhGLyA3Z4eBQkT1RJlWu47n63bCs93QfJ2hIAFCil7L5P2IWhs1oToVgrL0Q== +"@babel/parser@^7.18.10", "@babel/parser@^7.18.11", "@babel/parser@^7.23.6", "@babel/parser@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.24.7.tgz#9a5226f92f0c5c8ead550b750f5608e766c8ce85" + integrity sha512-9uUYRm6OqQrCqQdG1iCBwBPZgN8ciDBro2nIOFaiRz1/BCxaI7CNvQbDHvsArAC7Tw9Hda/B3U+6ui9u4HWXPw== + +"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.18.6": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.24.7.tgz#468096ca44bbcbe8fcc570574e12eb1950e18107" + integrity sha512-unaQgZ/iRu/By6tsjMZzpeBZjChYfLYry6HrEXPoz3KmfF0sVBQ1l8zKMQ4xRGLWVsjuvB8nQfjNP/DcfEOCsg== + dependencies: + "@babel/helper-plugin-utils" "^7.24.7" + +"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.18.9": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.24.7.tgz#e4eabdd5109acc399b38d7999b2ef66fc2022f89" + integrity sha512-+izXIbke1T33mY4MSNnrqhPXDz01WYhEf3yF5NbnUtkiNnm+XBZJl3kNfoK6NKmYlz/D07+l2GWVK/QfDkNCuQ== + dependencies: + "@babel/helper-plugin-utils" "^7.24.7" + "@babel/helper-skip-transparent-expression-wrappers" "^7.24.7" + "@babel/plugin-transform-optional-chaining" "^7.24.7" + +"@babel/plugin-proposal-async-generator-functions@^7.18.10": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.20.7.tgz#bfb7276d2d573cb67ba379984a2334e262ba5326" + integrity sha512-xMbiLsn/8RK7Wq7VeVytytS2L6qE69bXPB10YCmMdDZbKF4okCqY74pI/jJQ/8U0b/F6NrT2+14b8/P9/3AMGA== + dependencies: + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-plugin-utils" "^7.20.2" + "@babel/helper-remap-async-to-generator" "^7.18.9" + "@babel/plugin-syntax-async-generators" "^7.8.4" + +"@babel/plugin-proposal-class-properties@7.18.6", "@babel/plugin-proposal-class-properties@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.18.6.tgz#b110f59741895f7ec21a6fff696ec46265c446a3" + integrity sha512-cumfXOF0+nzZrrN8Rf0t7M+tF6sZc7vhQwYQck9q1/5w2OExlD+b4v4RpMJFaV1Z7WcDRgO6FqvxqxGlwo+RHQ== + dependencies: + "@babel/helper-create-class-features-plugin" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-proposal-class-static-block@^7.18.6": + version "7.21.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.21.0.tgz#77bdd66fb7b605f3a61302d224bdfacf5547977d" + integrity sha512-XP5G9MWNUskFuP30IfFSEFB0Z6HzLIUcjYM4bYOPHXl7eiJ9HFv8tWj6TXTN5QODiEhDZAeI4hLok2iHFFV4hw== + dependencies: + "@babel/helper-create-class-features-plugin" "^7.21.0" + "@babel/helper-plugin-utils" "^7.20.2" + "@babel/plugin-syntax-class-static-block" "^7.14.5" + +"@babel/plugin-proposal-dynamic-import@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.18.6.tgz#72bcf8d408799f547d759298c3c27c7e7faa4d94" + integrity sha512-1auuwmK+Rz13SJj36R+jqFPMJWyKEDd7lLSdOj4oJK0UTgGueSAtkrCvz9ewmgyU/P941Rv2fQwZJN8s6QruXw== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + "@babel/plugin-syntax-dynamic-import" "^7.8.3" + +"@babel/plugin-proposal-export-default-from@7.18.10": + version "7.18.10" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-export-default-from/-/plugin-proposal-export-default-from-7.18.10.tgz#091f4794dbce4027c03cf4ebc64d3fb96b75c206" + integrity sha512-5H2N3R2aQFxkV4PIBUR/i7PUSwgTZjouJKzI8eKswfIjT0PhvzkPn0t0wIS5zn6maQuvtT0t1oHtMUz61LOuow== + dependencies: + "@babel/helper-plugin-utils" "^7.18.9" + "@babel/plugin-syntax-export-default-from" "^7.18.6" + +"@babel/plugin-proposal-export-namespace-from@^7.18.9": + version "7.18.9" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.18.9.tgz#5f7313ab348cdb19d590145f9247540e94761203" + integrity sha512-k1NtHyOMvlDDFeb9G5PhUXuGj8m/wiwojgQVEhJ/fsVsMCpLyOP4h0uGEjYJKrRI+EVPlb5Jk+Gt9P97lOGwtA== + dependencies: + "@babel/helper-plugin-utils" "^7.18.9" + "@babel/plugin-syntax-export-namespace-from" "^7.8.3" + +"@babel/plugin-proposal-json-strings@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.18.6.tgz#7e8788c1811c393aff762817e7dbf1ebd0c05f0b" + integrity sha512-lr1peyn9kOdbYc0xr0OdHTZ5FMqS6Di+H0Fz2I/JwMzGmzJETNeOFq2pBySw6X/KFL5EWDjlJuMsUGRFb8fQgQ== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + "@babel/plugin-syntax-json-strings" "^7.8.3" + +"@babel/plugin-proposal-logical-assignment-operators@^7.18.9": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.20.7.tgz#dfbcaa8f7b4d37b51e8bfb46d94a5aea2bb89d83" + integrity sha512-y7C7cZgpMIjWlKE5T7eJwp+tnRYM89HmRvWM5EQuB5BoHEONjmQ8lSNmBUwOyy/GFRsohJED51YBF79hE1djug== + dependencies: + "@babel/helper-plugin-utils" "^7.20.2" + "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" + +"@babel/plugin-proposal-nullish-coalescing-operator@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.18.6.tgz#fdd940a99a740e577d6c753ab6fbb43fdb9467e1" + integrity sha512-wQxQzxYeJqHcfppzBDnm1yAY0jSRkUXR2z8RePZYrKwMKgMlE8+Z6LUno+bd6LvbGh8Gltvy74+9pIYkr+XkKA== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" + +"@babel/plugin-proposal-numeric-separator@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.18.6.tgz#899b14fbafe87f053d2c5ff05b36029c62e13c75" + integrity sha512-ozlZFogPqoLm8WBr5Z8UckIoE4YQ5KESVcNudyXOR8uqIkliTEgJ3RoketfG6pmzLdeZF0H/wjE9/cCEitBl7Q== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + "@babel/plugin-syntax-numeric-separator" "^7.10.4" + +"@babel/plugin-proposal-object-rest-spread@7.18.9": + version "7.18.9" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.18.9.tgz#f9434f6beb2c8cae9dfcf97d2a5941bbbf9ad4e7" + integrity sha512-kDDHQ5rflIeY5xl69CEqGEZ0KY369ehsCIEbTGb4siHG5BE9sga/T0r0OUwyZNLMmZE79E1kbsqAjwFCW4ds6Q== + dependencies: + "@babel/compat-data" "^7.18.8" + "@babel/helper-compilation-targets" "^7.18.9" + "@babel/helper-plugin-utils" "^7.18.9" + "@babel/plugin-syntax-object-rest-spread" "^7.8.3" + "@babel/plugin-transform-parameters" "^7.18.8" + +"@babel/plugin-proposal-object-rest-spread@^7.18.9": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.20.7.tgz#aa662940ef425779c75534a5c41e9d936edc390a" + integrity sha512-d2S98yCiLxDVmBmE8UjGcfPvNEUbA1U5q5WxaWFUGRzJSVAZqm5W6MbPct0jxnegUZ0niLeNX+IOzEs7wYg9Dg== + dependencies: + "@babel/compat-data" "^7.20.5" + "@babel/helper-compilation-targets" "^7.20.7" + "@babel/helper-plugin-utils" "^7.20.2" + "@babel/plugin-syntax-object-rest-spread" "^7.8.3" + "@babel/plugin-transform-parameters" "^7.20.7" + +"@babel/plugin-proposal-optional-catch-binding@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.18.6.tgz#f9400d0e6a3ea93ba9ef70b09e72dd6da638a2cb" + integrity sha512-Q40HEhs9DJQyaZfUjjn6vE8Cv4GmMHCYuMGIWUnlxH6400VGxOuwWsPt4FxXxJkC/5eOzgn0z21M9gMT4MOhbw== + dependencies: + "@babel/helper-plugin-utils" "^7.18.6" + "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" + +"@babel/plugin-proposal-optional-chaining@^7.18.9": + version "7.21.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.21.0.tgz#886f5c8978deb7d30f678b2e24346b287234d3ea" + integrity sha512-p4zeefM72gpmEe2fkUr/OnOXpWEf8nAgk7ZYVqqfFiyIG7oFfVZcCrU64hWn5xp4tQ9LkV4bTIa5rD0KANpKNA== + dependencies: + "@babel/helper-plugin-utils" "^7.20.2" + "@babel/helper-skip-transparent-expression-wrappers" "^7.20.0" + "@babel/plugin-syntax-optional-chaining" "^7.8.3" + +"@babel/plugin-proposal-private-methods@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.18.6.tgz#5209de7d213457548a98436fa2882f52f4be6bea" + integrity sha512-nutsvktDItsNn4rpGItSNV2sz1XwS+nfU0Rg8aCx3W3NOKVzdMjJRu0O5OkgDp3ZGICSTbgRpxZoWsxoKRvbeA== + dependencies: + "@babel/helper-create-class-features-plugin" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-proposal-private-property-in-object@^7.18.6": + version "7.21.11" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.21.11.tgz#69d597086b6760c4126525cfa154f34631ff272c" + integrity sha512-0QZ8qP/3RLDVBwBFoWAwCtgcDZJVwA5LUJRZU8x2YFfKNuFq161wK3cuGrALu5yiPu+vzwTAg/sMWVNeWeNyaw== + dependencies: + "@babel/helper-annotate-as-pure" "^7.18.6" + "@babel/helper-create-class-features-plugin" "^7.21.0" + "@babel/helper-plugin-utils" "^7.20.2" + "@babel/plugin-syntax-private-property-in-object" "^7.14.5" + +"@babel/plugin-proposal-unicode-property-regex@^7.18.6", "@babel/plugin-proposal-unicode-property-regex@^7.4.4": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.18.6.tgz#af613d2cd5e643643b65cded64207b15c85cb78e" + integrity sha512-2BShG/d5yoZyXZfVePH91urL5wTG6ASZU9M4o03lKK8u8UW1y08OMttBSOADTcJrnPMpvDXRG3G8fyLh4ovs8w== + dependencies: + "@babel/helper-create-regexp-features-plugin" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" + "@babel/plugin-syntax-async-generators@^7.8.4": version "7.8.4" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz#a983fb1aeb2ec3f6ed042a210f640e90e786fe0d" @@ -201,13 +643,48 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-class-properties@^7.8.3": +"@babel/plugin-syntax-class-properties@^7.12.13", "@babel/plugin-syntax-class-properties@^7.8.3": version "7.12.13" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz#b5c987274c4a3a82b89714796931a6b53544ae10" integrity sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA== dependencies: "@babel/helper-plugin-utils" "^7.12.13" +"@babel/plugin-syntax-class-static-block@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz#195df89b146b4b78b3bf897fd7a257c84659d406" + integrity sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw== + dependencies: + "@babel/helper-plugin-utils" "^7.14.5" + +"@babel/plugin-syntax-dynamic-import@^7.8.3": + version "7.8.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz#62bf98b2da3cd21d626154fc96ee5b3cb68eacb3" + integrity sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-export-default-from@^7.18.6": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-export-default-from/-/plugin-syntax-export-default-from-7.24.7.tgz#85dae9098933573aae137fb52141dd3ca52ae7ac" + integrity sha512-bTPz4/635WQ9WhwsyPdxUJDVpsi/X9BMmy/8Rf/UAlOO4jSql4CxUCjWI5PiM+jG+c4LVPTScoTw80geFj9+Bw== + dependencies: + "@babel/helper-plugin-utils" "^7.24.7" + +"@babel/plugin-syntax-export-namespace-from@^7.8.3": + version "7.8.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz#028964a9ba80dbc094c915c487ad7c4e7a66465a" + integrity sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q== + dependencies: + "@babel/helper-plugin-utils" "^7.8.3" + +"@babel/plugin-syntax-import-assertions@^7.18.6": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.24.7.tgz#2a0b406b5871a20a841240586b1300ce2088a778" + integrity sha512-Ec3NRUMoi8gskrkBe3fNmEQfxDvY8bgfQpz6jlk/41kX9eUjvpyqWU7PBP/pLAvMaSQjbMNKJmvX57jP+M6bPg== + dependencies: + "@babel/helper-plugin-utils" "^7.24.7" + "@babel/plugin-syntax-import-meta@^7.8.3": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz#ee601348c370fa334d2207be158777496521fd51" @@ -222,6 +699,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" +"@babel/plugin-syntax-jsx@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.24.7.tgz#39a1fa4a7e3d3d7f34e2acc6be585b718d30e02d" + integrity sha512-6ddciUPe/mpMnOKv/U+RSd2vvVy+Yw/JfBB0ZHYjEZt9NLHmCUylNYlsbqCCS1Bffjlb0fCwC9Vqz+sBz6PsiQ== + dependencies: + "@babel/helper-plugin-utils" "^7.24.7" + "@babel/plugin-syntax-jsx@^7.7.2": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.22.5.tgz#a6b68e84fb76e759fc3b93e901876ffabbe1d918" @@ -229,7 +713,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.22.5" -"@babel/plugin-syntax-logical-assignment-operators@^7.8.3": +"@babel/plugin-syntax-logical-assignment-operators@^7.10.4", "@babel/plugin-syntax-logical-assignment-operators@^7.8.3": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz#ca91ef46303530448b906652bac2e9fe9941f699" integrity sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig== @@ -243,7 +727,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-numeric-separator@^7.8.3": +"@babel/plugin-syntax-numeric-separator@^7.10.4", "@babel/plugin-syntax-numeric-separator@^7.8.3": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz#b9b070b3e33570cd9fd07ba7fa91c0dd37b9af97" integrity sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug== @@ -271,13 +755,27 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-top-level-await@^7.8.3": +"@babel/plugin-syntax-private-property-in-object@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz#0dc6671ec0ea22b6e94a1114f857970cd39de1ad" + integrity sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg== + dependencies: + "@babel/helper-plugin-utils" "^7.14.5" + +"@babel/plugin-syntax-top-level-await@^7.14.5", "@babel/plugin-syntax-top-level-await@^7.8.3": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz#c1cfdadc35a646240001f06138247b741c34d94c" integrity sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw== dependencies: "@babel/helper-plugin-utils" "^7.14.5" +"@babel/plugin-syntax-typescript@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.24.7.tgz#58d458271b4d3b6bb27ee6ac9525acbb259bad1c" + integrity sha512-c/+fVeJBB0FeKsFvwytYiUD+LBvhHjGSI0g446PRGdSVGZLRNArBUno2PETbAly3tpiNAQR5XaZ+JslxkotsbA== + dependencies: + "@babel/helper-plugin-utils" "^7.24.7" + "@babel/plugin-syntax-typescript@^7.7.2": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.22.5.tgz#aac8d383b062c5072c647a31ef990c1d0af90272" @@ -285,6 +783,403 @@ dependencies: "@babel/helper-plugin-utils" "^7.22.5" +"@babel/plugin-transform-arrow-functions@^7.18.6": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.24.7.tgz#4f6886c11e423bd69f3ce51dbf42424a5f275514" + integrity sha512-Dt9LQs6iEY++gXUwY03DNFat5C2NbO48jj+j/bSAz6b3HgPs39qcPiYt77fDObIcFwj3/C2ICX9YMwGflUoSHQ== + dependencies: + "@babel/helper-plugin-utils" "^7.24.7" + +"@babel/plugin-transform-async-to-generator@^7.18.6": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.24.7.tgz#72a3af6c451d575842a7e9b5a02863414355bdcc" + integrity sha512-SQY01PcJfmQ+4Ash7NE+rpbLFbmqA2GPIgqzxfFTL4t1FKRq4zTms/7htKpoCUI9OcFYgzqfmCdH53s6/jn5fA== + dependencies: + "@babel/helper-module-imports" "^7.24.7" + "@babel/helper-plugin-utils" "^7.24.7" + "@babel/helper-remap-async-to-generator" "^7.24.7" + +"@babel/plugin-transform-block-scoped-functions@^7.18.6": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.24.7.tgz#a4251d98ea0c0f399dafe1a35801eaba455bbf1f" + integrity sha512-yO7RAz6EsVQDaBH18IDJcMB1HnrUn2FJ/Jslc/WtPPWcjhpUJXU/rjbwmluzp7v/ZzWcEhTMXELnnsz8djWDwQ== + dependencies: + "@babel/helper-plugin-utils" "^7.24.7" + +"@babel/plugin-transform-block-scoping@^7.18.9": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.24.7.tgz#42063e4deb850c7bd7c55e626bf4e7ab48e6ce02" + integrity sha512-Nd5CvgMbWc+oWzBsuaMcbwjJWAcp5qzrbg69SZdHSP7AMY0AbWFqFO0WTFCA1jxhMCwodRwvRec8k0QUbZk7RQ== + dependencies: + "@babel/helper-plugin-utils" "^7.24.7" + +"@babel/plugin-transform-classes@^7.18.9": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.24.7.tgz#4ae6ef43a12492134138c1e45913f7c46c41b4bf" + integrity sha512-CFbbBigp8ln4FU6Bpy6g7sE8B/WmCmzvivzUC6xDAdWVsjYTXijpuuGJmYkAaoWAzcItGKT3IOAbxRItZ5HTjw== + dependencies: + "@babel/helper-annotate-as-pure" "^7.24.7" + "@babel/helper-compilation-targets" "^7.24.7" + "@babel/helper-environment-visitor" "^7.24.7" + "@babel/helper-function-name" "^7.24.7" + "@babel/helper-plugin-utils" "^7.24.7" + "@babel/helper-replace-supers" "^7.24.7" + "@babel/helper-split-export-declaration" "^7.24.7" + globals "^11.1.0" + +"@babel/plugin-transform-computed-properties@^7.18.9": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.24.7.tgz#4cab3214e80bc71fae3853238d13d097b004c707" + integrity sha512-25cS7v+707Gu6Ds2oY6tCkUwsJ9YIDbggd9+cu9jzzDgiNq7hR/8dkzxWfKWnTic26vsI3EsCXNd4iEB6e8esQ== + dependencies: + "@babel/helper-plugin-utils" "^7.24.7" + "@babel/template" "^7.24.7" + +"@babel/plugin-transform-destructuring@^7.18.9": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.24.7.tgz#a097f25292defb6e6cc16d6333a4cfc1e3c72d9e" + integrity sha512-19eJO/8kdCQ9zISOf+SEUJM/bAUIsvY3YDnXZTupUCQ8LgrWnsG/gFB9dvXqdXnRXMAM8fvt7b0CBKQHNGy1mw== + dependencies: + "@babel/helper-plugin-utils" "^7.24.7" + +"@babel/plugin-transform-dotall-regex@^7.18.6", "@babel/plugin-transform-dotall-regex@^7.4.4": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.24.7.tgz#5f8bf8a680f2116a7207e16288a5f974ad47a7a0" + integrity sha512-ZOA3W+1RRTSWvyqcMJDLqbchh7U4NRGqwRfFSVbOLS/ePIP4vHB5e8T8eXcuqyN1QkgKyj5wuW0lcS85v4CrSw== + dependencies: + "@babel/helper-create-regexp-features-plugin" "^7.24.7" + "@babel/helper-plugin-utils" "^7.24.7" + +"@babel/plugin-transform-duplicate-keys@^7.18.9": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.24.7.tgz#dd20102897c9a2324e5adfffb67ff3610359a8ee" + integrity sha512-JdYfXyCRihAe46jUIliuL2/s0x0wObgwwiGxw/UbgJBr20gQBThrokO4nYKgWkD7uBaqM7+9x5TU7NkExZJyzw== + dependencies: + "@babel/helper-plugin-utils" "^7.24.7" + +"@babel/plugin-transform-exponentiation-operator@^7.18.6": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.24.7.tgz#b629ee22645f412024297d5245bce425c31f9b0d" + integrity sha512-Rqe/vSc9OYgDajNIK35u7ot+KeCoetqQYFXM4Epf7M7ez3lWlOjrDjrwMei6caCVhfdw+mIKD4cgdGNy5JQotQ== + dependencies: + "@babel/helper-builder-binary-assignment-operator-visitor" "^7.24.7" + "@babel/helper-plugin-utils" "^7.24.7" + +"@babel/plugin-transform-for-of@^7.18.8": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.24.7.tgz#f25b33f72df1d8be76399e1b8f3f9d366eb5bc70" + integrity sha512-wo9ogrDG1ITTTBsy46oGiN1dS9A7MROBTcYsfS8DtsImMkHk9JXJ3EWQM6X2SUw4x80uGPlwj0o00Uoc6nEE3g== + dependencies: + "@babel/helper-plugin-utils" "^7.24.7" + "@babel/helper-skip-transparent-expression-wrappers" "^7.24.7" + +"@babel/plugin-transform-function-name@^7.18.9": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.24.7.tgz#6d8601fbffe665c894440ab4470bc721dd9131d6" + integrity sha512-U9FcnA821YoILngSmYkW6FjyQe2TyZD5pHt4EVIhmcTkrJw/3KqcrRSxuOo5tFZJi7TE19iDyI1u+weTI7bn2w== + dependencies: + "@babel/helper-compilation-targets" "^7.24.7" + "@babel/helper-function-name" "^7.24.7" + "@babel/helper-plugin-utils" "^7.24.7" + +"@babel/plugin-transform-literals@^7.18.9": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-literals/-/plugin-transform-literals-7.24.7.tgz#36b505c1e655151a9d7607799a9988fc5467d06c" + integrity sha512-vcwCbb4HDH+hWi8Pqenwnjy+UiklO4Kt1vfspcQYFhJdpthSnW8XvWGyDZWKNVrVbVViI/S7K9PDJZiUmP2fYQ== + dependencies: + "@babel/helper-plugin-utils" "^7.24.7" + +"@babel/plugin-transform-member-expression-literals@^7.18.6": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.24.7.tgz#3b4454fb0e302e18ba4945ba3246acb1248315df" + integrity sha512-T/hRC1uqrzXMKLQ6UCwMT85S3EvqaBXDGf0FaMf4446Qx9vKwlghvee0+uuZcDUCZU5RuNi4781UQ7R308zzBw== + dependencies: + "@babel/helper-plugin-utils" "^7.24.7" + +"@babel/plugin-transform-modules-amd@^7.18.6": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.24.7.tgz#65090ed493c4a834976a3ca1cde776e6ccff32d7" + integrity sha512-9+pB1qxV3vs/8Hdmz/CulFB8w2tuu6EB94JZFsjdqxQokwGa9Unap7Bo2gGBGIvPmDIVvQrom7r5m/TCDMURhg== + dependencies: + "@babel/helper-module-transforms" "^7.24.7" + "@babel/helper-plugin-utils" "^7.24.7" + +"@babel/plugin-transform-modules-commonjs@^7.18.6", "@babel/plugin-transform-modules-commonjs@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.24.7.tgz#9fd5f7fdadee9085886b183f1ad13d1ab260f4ab" + integrity sha512-iFI8GDxtevHJ/Z22J5xQpVqFLlMNstcLXh994xifFwxxGslr2ZXXLWgtBeLctOD63UFDArdvN6Tg8RFw+aEmjQ== + dependencies: + "@babel/helper-module-transforms" "^7.24.7" + "@babel/helper-plugin-utils" "^7.24.7" + "@babel/helper-simple-access" "^7.24.7" + +"@babel/plugin-transform-modules-systemjs@^7.18.9": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.24.7.tgz#f8012316c5098f6e8dee6ecd58e2bc6f003d0ce7" + integrity sha512-GYQE0tW7YoaN13qFh3O1NCY4MPkUiAH3fiF7UcV/I3ajmDKEdG3l+UOcbAm4zUE3gnvUU+Eni7XrVKo9eO9auw== + dependencies: + "@babel/helper-hoist-variables" "^7.24.7" + "@babel/helper-module-transforms" "^7.24.7" + "@babel/helper-plugin-utils" "^7.24.7" + "@babel/helper-validator-identifier" "^7.24.7" + +"@babel/plugin-transform-modules-umd@^7.18.6": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.24.7.tgz#edd9f43ec549099620df7df24e7ba13b5c76efc8" + integrity sha512-3aytQvqJ/h9z4g8AsKPLvD4Zqi2qT+L3j7XoFFu1XBlZWEl2/1kWnhmAbxpLgPrHSY0M6UA02jyTiwUVtiKR6A== + dependencies: + "@babel/helper-module-transforms" "^7.24.7" + "@babel/helper-plugin-utils" "^7.24.7" + +"@babel/plugin-transform-named-capturing-groups-regex@^7.18.6": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.24.7.tgz#9042e9b856bc6b3688c0c2e4060e9e10b1460923" + integrity sha512-/jr7h/EWeJtk1U/uz2jlsCioHkZk1JJZVcc8oQsJ1dUlaJD83f4/6Zeh2aHt9BIFokHIsSeDfhUmju0+1GPd6g== + dependencies: + "@babel/helper-create-regexp-features-plugin" "^7.24.7" + "@babel/helper-plugin-utils" "^7.24.7" + +"@babel/plugin-transform-new-target@^7.18.6": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.24.7.tgz#31ff54c4e0555cc549d5816e4ab39241dfb6ab00" + integrity sha512-RNKwfRIXg4Ls/8mMTza5oPF5RkOW8Wy/WgMAp1/F1yZ8mMbtwXW+HDoJiOsagWrAhI5f57Vncrmr9XeT4CVapA== + dependencies: + "@babel/helper-plugin-utils" "^7.24.7" + +"@babel/plugin-transform-object-super@^7.18.6": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.24.7.tgz#66eeaff7830bba945dd8989b632a40c04ed625be" + integrity sha512-A/vVLwN6lBrMFmMDmPPz0jnE6ZGx7Jq7d6sT/Ev4H65RER6pZ+kczlf1DthF5N0qaPHBsI7UXiE8Zy66nmAovg== + dependencies: + "@babel/helper-plugin-utils" "^7.24.7" + "@babel/helper-replace-supers" "^7.24.7" + +"@babel/plugin-transform-optional-chaining@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.24.7.tgz#b8f6848a80cf2da98a8a204429bec04756c6d454" + integrity sha512-tK+0N9yd4j+x/4hxF3F0e0fu/VdcxU18y5SevtyM/PCFlQvXbR0Zmlo2eBrKtVipGNFzpq56o8WsIIKcJFUCRQ== + dependencies: + "@babel/helper-plugin-utils" "^7.24.7" + "@babel/helper-skip-transparent-expression-wrappers" "^7.24.7" + "@babel/plugin-syntax-optional-chaining" "^7.8.3" + +"@babel/plugin-transform-parameters@^7.18.8", "@babel/plugin-transform-parameters@^7.20.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.24.7.tgz#5881f0ae21018400e320fc7eb817e529d1254b68" + integrity sha512-yGWW5Rr+sQOhK0Ot8hjDJuxU3XLRQGflvT4lhlSY0DFvdb3TwKaY26CJzHtYllU0vT9j58hc37ndFPsqT1SrzA== + dependencies: + "@babel/helper-plugin-utils" "^7.24.7" + +"@babel/plugin-transform-property-literals@^7.18.6": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.24.7.tgz#f0d2ed8380dfbed949c42d4d790266525d63bbdc" + integrity sha512-EMi4MLQSHfd2nrCqQEWxFdha2gBCqU4ZcCng4WBGZ5CJL4bBRW0ptdqqDdeirGZcpALazVVNJqRmsO8/+oNCBA== + dependencies: + "@babel/helper-plugin-utils" "^7.24.7" + +"@babel/plugin-transform-regenerator@^7.18.6": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.24.7.tgz#021562de4534d8b4b1851759fd7af4e05d2c47f8" + integrity sha512-lq3fvXPdimDrlg6LWBoqj+r/DEWgONuwjuOuQCSYgRroXDH/IdM1C0IZf59fL5cHLpjEH/O6opIRBbqv7ELnuA== + dependencies: + "@babel/helper-plugin-utils" "^7.24.7" + regenerator-transform "^0.15.2" + +"@babel/plugin-transform-reserved-words@^7.18.6": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.24.7.tgz#80037fe4fbf031fc1125022178ff3938bb3743a4" + integrity sha512-0DUq0pHcPKbjFZCfTss/pGkYMfy3vFWydkUBd9r0GHpIyfs2eCDENvqadMycRS9wZCXR41wucAfJHJmwA0UmoQ== + dependencies: + "@babel/helper-plugin-utils" "^7.24.7" + +"@babel/plugin-transform-runtime@7.18.10": + version "7.18.10" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.18.10.tgz#37d14d1fa810a368fd635d4d1476c0154144a96f" + integrity sha512-q5mMeYAdfEbpBAgzl7tBre/la3LeCxmDO1+wMXRdPWbcoMjR3GiXlCLk7JBZVVye0bqTGNMbt0yYVXX1B1jEWQ== + dependencies: + "@babel/helper-module-imports" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.9" + babel-plugin-polyfill-corejs2 "^0.3.2" + babel-plugin-polyfill-corejs3 "^0.5.3" + babel-plugin-polyfill-regenerator "^0.4.0" + semver "^6.3.0" + +"@babel/plugin-transform-shorthand-properties@^7.18.6": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.24.7.tgz#85448c6b996e122fa9e289746140aaa99da64e73" + integrity sha512-KsDsevZMDsigzbA09+vacnLpmPH4aWjcZjXdyFKGzpplxhbeB4wYtury3vglQkg6KM/xEPKt73eCjPPf1PgXBA== + dependencies: + "@babel/helper-plugin-utils" "^7.24.7" + +"@babel/plugin-transform-spread@^7.18.9": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.24.7.tgz#e8a38c0fde7882e0fb8f160378f74bd885cc7bb3" + integrity sha512-x96oO0I09dgMDxJaANcRyD4ellXFLLiWhuwDxKZX5g2rWP1bTPkBSwCYv96VDXVT1bD9aPj8tppr5ITIh8hBng== + dependencies: + "@babel/helper-plugin-utils" "^7.24.7" + "@babel/helper-skip-transparent-expression-wrappers" "^7.24.7" + +"@babel/plugin-transform-sticky-regex@^7.18.6": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.24.7.tgz#96ae80d7a7e5251f657b5cf18f1ea6bf926f5feb" + integrity sha512-kHPSIJc9v24zEml5geKg9Mjx5ULpfncj0wRpYtxbvKyTtHCYDkVE3aHQ03FrpEo4gEe2vrJJS1Y9CJTaThA52g== + dependencies: + "@babel/helper-plugin-utils" "^7.24.7" + +"@babel/plugin-transform-template-literals@^7.18.9": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.24.7.tgz#a05debb4a9072ae8f985bcf77f3f215434c8f8c8" + integrity sha512-AfDTQmClklHCOLxtGoP7HkeMw56k1/bTQjwsfhL6pppo/M4TOBSq+jjBUBLmV/4oeFg4GWMavIl44ZeCtmmZTw== + dependencies: + "@babel/helper-plugin-utils" "^7.24.7" + +"@babel/plugin-transform-typeof-symbol@^7.18.9": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.24.7.tgz#f074be466580d47d6e6b27473a840c9f9ca08fb0" + integrity sha512-VtR8hDy7YLB7+Pet9IarXjg/zgCMSF+1mNS/EQEiEaUPoFXCVsHG64SIxcaaI2zJgRiv+YmgaQESUfWAdbjzgg== + dependencies: + "@babel/helper-plugin-utils" "^7.24.7" + +"@babel/plugin-transform-typescript@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.24.7.tgz#b006b3e0094bf0813d505e0c5485679eeaf4a881" + integrity sha512-iLD3UNkgx2n/HrjBesVbYX6j0yqn/sJktvbtKKgcaLIQ4bTTQ8obAypc1VpyHPD2y4Phh9zHOaAt8e/L14wCpw== + dependencies: + "@babel/helper-annotate-as-pure" "^7.24.7" + "@babel/helper-create-class-features-plugin" "^7.24.7" + "@babel/helper-plugin-utils" "^7.24.7" + "@babel/plugin-syntax-typescript" "^7.24.7" + +"@babel/plugin-transform-unicode-escapes@^7.18.10": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.24.7.tgz#2023a82ced1fb4971630a2e079764502c4148e0e" + integrity sha512-U3ap1gm5+4edc2Q/P+9VrBNhGkfnf+8ZqppY71Bo/pzZmXhhLdqgaUl6cuB07O1+AQJtCLfaOmswiNbSQ9ivhw== + dependencies: + "@babel/helper-plugin-utils" "^7.24.7" + +"@babel/plugin-transform-unicode-regex@^7.18.6": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.24.7.tgz#dfc3d4a51127108099b19817c0963be6a2adf19f" + integrity sha512-hlQ96MBZSAXUq7ltkjtu3FJCCSMx/j629ns3hA3pXnBXjanNP0LHi+JpPeA81zaWgVK1VGH95Xuy7u0RyQ8kMg== + dependencies: + "@babel/helper-create-regexp-features-plugin" "^7.24.7" + "@babel/helper-plugin-utils" "^7.24.7" + +"@babel/preset-env@7.18.10": + version "7.18.10" + resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.18.10.tgz#83b8dfe70d7eea1aae5a10635ab0a5fe60dfc0f4" + integrity sha512-wVxs1yjFdW3Z/XkNfXKoblxoHgbtUF7/l3PvvP4m02Qz9TZ6uZGxRVYjSQeR87oQmHco9zWitW5J82DJ7sCjvA== + dependencies: + "@babel/compat-data" "^7.18.8" + "@babel/helper-compilation-targets" "^7.18.9" + "@babel/helper-plugin-utils" "^7.18.9" + "@babel/helper-validator-option" "^7.18.6" + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression" "^7.18.6" + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining" "^7.18.9" + "@babel/plugin-proposal-async-generator-functions" "^7.18.10" + "@babel/plugin-proposal-class-properties" "^7.18.6" + "@babel/plugin-proposal-class-static-block" "^7.18.6" + "@babel/plugin-proposal-dynamic-import" "^7.18.6" + "@babel/plugin-proposal-export-namespace-from" "^7.18.9" + "@babel/plugin-proposal-json-strings" "^7.18.6" + "@babel/plugin-proposal-logical-assignment-operators" "^7.18.9" + "@babel/plugin-proposal-nullish-coalescing-operator" "^7.18.6" + "@babel/plugin-proposal-numeric-separator" "^7.18.6" + "@babel/plugin-proposal-object-rest-spread" "^7.18.9" + "@babel/plugin-proposal-optional-catch-binding" "^7.18.6" + "@babel/plugin-proposal-optional-chaining" "^7.18.9" + "@babel/plugin-proposal-private-methods" "^7.18.6" + "@babel/plugin-proposal-private-property-in-object" "^7.18.6" + "@babel/plugin-proposal-unicode-property-regex" "^7.18.6" + "@babel/plugin-syntax-async-generators" "^7.8.4" + "@babel/plugin-syntax-class-properties" "^7.12.13" + "@babel/plugin-syntax-class-static-block" "^7.14.5" + "@babel/plugin-syntax-dynamic-import" "^7.8.3" + "@babel/plugin-syntax-export-namespace-from" "^7.8.3" + "@babel/plugin-syntax-import-assertions" "^7.18.6" + "@babel/plugin-syntax-json-strings" "^7.8.3" + "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" + "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" + "@babel/plugin-syntax-numeric-separator" "^7.10.4" + "@babel/plugin-syntax-object-rest-spread" "^7.8.3" + "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" + "@babel/plugin-syntax-optional-chaining" "^7.8.3" + "@babel/plugin-syntax-private-property-in-object" "^7.14.5" + "@babel/plugin-syntax-top-level-await" "^7.14.5" + "@babel/plugin-transform-arrow-functions" "^7.18.6" + "@babel/plugin-transform-async-to-generator" "^7.18.6" + "@babel/plugin-transform-block-scoped-functions" "^7.18.6" + "@babel/plugin-transform-block-scoping" "^7.18.9" + "@babel/plugin-transform-classes" "^7.18.9" + "@babel/plugin-transform-computed-properties" "^7.18.9" + "@babel/plugin-transform-destructuring" "^7.18.9" + "@babel/plugin-transform-dotall-regex" "^7.18.6" + "@babel/plugin-transform-duplicate-keys" "^7.18.9" + "@babel/plugin-transform-exponentiation-operator" "^7.18.6" + "@babel/plugin-transform-for-of" "^7.18.8" + "@babel/plugin-transform-function-name" "^7.18.9" + "@babel/plugin-transform-literals" "^7.18.9" + "@babel/plugin-transform-member-expression-literals" "^7.18.6" + "@babel/plugin-transform-modules-amd" "^7.18.6" + "@babel/plugin-transform-modules-commonjs" "^7.18.6" + "@babel/plugin-transform-modules-systemjs" "^7.18.9" + "@babel/plugin-transform-modules-umd" "^7.18.6" + "@babel/plugin-transform-named-capturing-groups-regex" "^7.18.6" + "@babel/plugin-transform-new-target" "^7.18.6" + "@babel/plugin-transform-object-super" "^7.18.6" + "@babel/plugin-transform-parameters" "^7.18.8" + "@babel/plugin-transform-property-literals" "^7.18.6" + "@babel/plugin-transform-regenerator" "^7.18.6" + "@babel/plugin-transform-reserved-words" "^7.18.6" + "@babel/plugin-transform-shorthand-properties" "^7.18.6" + "@babel/plugin-transform-spread" "^7.18.9" + "@babel/plugin-transform-sticky-regex" "^7.18.6" + "@babel/plugin-transform-template-literals" "^7.18.9" + "@babel/plugin-transform-typeof-symbol" "^7.18.9" + "@babel/plugin-transform-unicode-escapes" "^7.18.10" + "@babel/plugin-transform-unicode-regex" "^7.18.6" + "@babel/preset-modules" "^0.1.5" + "@babel/types" "^7.18.10" + babel-plugin-polyfill-corejs2 "^0.3.2" + babel-plugin-polyfill-corejs3 "^0.5.3" + babel-plugin-polyfill-regenerator "^0.4.0" + core-js-compat "^3.22.1" + semver "^6.3.0" + +"@babel/preset-modules@^0.1.5": + version "0.1.6" + resolved "https://registry.yarnpkg.com/@babel/preset-modules/-/preset-modules-0.1.6.tgz#31bcdd8f19538437339d17af00d177d854d9d458" + integrity sha512-ID2yj6K/4lKfhuU3+EX4UvNbIt7eACFbHmNUjzA+ep+B5971CknnA/9DEWKbRokfbbtblxxxXFJJrH47UEAMVg== + dependencies: + "@babel/helper-plugin-utils" "^7.0.0" + "@babel/plugin-proposal-unicode-property-regex" "^7.4.4" + "@babel/plugin-transform-dotall-regex" "^7.4.4" + "@babel/types" "^7.4.4" + esutils "^2.0.2" + +"@babel/preset-typescript@^7.18.6": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/preset-typescript/-/preset-typescript-7.24.7.tgz#66cd86ea8f8c014855671d5ea9a737139cbbfef1" + integrity sha512-SyXRe3OdWwIwalxDg5UtJnJQO+YPcTfwiIY2B0Xlddh9o7jpWLvv8X1RthIeDOxQ+O1ML5BLPCONToObyVQVuQ== + dependencies: + "@babel/helper-plugin-utils" "^7.24.7" + "@babel/helper-validator-option" "^7.24.7" + "@babel/plugin-syntax-jsx" "^7.24.7" + "@babel/plugin-transform-modules-commonjs" "^7.24.7" + "@babel/plugin-transform-typescript" "^7.24.7" + +"@babel/regjsgen@^0.8.0": + version "0.8.0" + resolved "https://registry.yarnpkg.com/@babel/regjsgen/-/regjsgen-0.8.0.tgz#f0ba69b075e1f05fb2825b7fad991e7adbb18310" + integrity sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA== + +"@babel/runtime@^7.11.2", "@babel/runtime@^7.8.4": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.24.7.tgz#f4f0d5530e8dbdf59b3451b9b3e594b6ba082e12" + integrity sha512-UwgBRMjJP+xv857DCngvqXI3Iq6J4v0wXmwc6sapg+zyhbwmQX67LUEFrkK5tbyJ30jGuG3ZvWpBiB9LCy1kWw== + dependencies: + regenerator-runtime "^0.14.0" + "@babel/runtime@^7.17.8", "@babel/runtime@^7.18.9": version "7.19.0" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.19.0.tgz#22b11c037b094d27a8a2504ea4dcff00f50e2259" @@ -292,6 +1187,15 @@ dependencies: regenerator-runtime "^0.13.4" +"@babel/template@^7.18.10", "@babel/template@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.24.7.tgz#02efcee317d0609d2c07117cb70ef8fb17ab7315" + integrity sha512-jYqfPrU9JTF0PmPy1tLYHW4Mp4KlgxJD9l2nP9fD6yT/ICi554DmrWBAEYpIelzjHf1msDP3PxJIRt/nFNfBig== + dependencies: + "@babel/code-frame" "^7.24.7" + "@babel/parser" "^7.24.7" + "@babel/types" "^7.24.7" + "@babel/template@^7.22.5", "@babel/template@^7.3.3": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.22.5.tgz#0c8c4d944509875849bd0344ff0050756eefc6ec" @@ -301,6 +1205,54 @@ "@babel/parser" "^7.22.5" "@babel/types" "^7.22.5" +"@babel/traverse@7.18.11": + version "7.18.11" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.18.11.tgz#3d51f2afbd83ecf9912bcbb5c4d94e3d2ddaa16f" + integrity sha512-TG9PiM2R/cWCAy6BPJKeHzNbu4lPzOSZpeMfeNErskGpTJx6trEvFaVCbDvpcxwy49BKWmEPwiW8mrysNiDvIQ== + dependencies: + "@babel/code-frame" "^7.18.6" + "@babel/generator" "^7.18.10" + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-function-name" "^7.18.9" + "@babel/helper-hoist-variables" "^7.18.6" + "@babel/helper-split-export-declaration" "^7.18.6" + "@babel/parser" "^7.18.11" + "@babel/types" "^7.18.10" + debug "^4.1.0" + globals "^11.1.0" + +"@babel/traverse@7.23.6": + version "7.23.6" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.23.6.tgz#b53526a2367a0dd6edc423637f3d2d0f2521abc5" + integrity sha512-czastdK1e8YByZqezMPFiZ8ahwVMh/ESl9vPgvgdB9AmFMGP5jfpFax74AQgl5zj4XHzqeYAg2l8PuUeRS1MgQ== + dependencies: + "@babel/code-frame" "^7.23.5" + "@babel/generator" "^7.23.6" + "@babel/helper-environment-visitor" "^7.22.20" + "@babel/helper-function-name" "^7.23.0" + "@babel/helper-hoist-variables" "^7.22.5" + "@babel/helper-split-export-declaration" "^7.22.6" + "@babel/parser" "^7.23.6" + "@babel/types" "^7.23.6" + debug "^4.3.1" + globals "^11.1.0" + +"@babel/traverse@^7.18.10", "@babel/traverse@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.24.7.tgz#de2b900163fa741721ba382163fe46a936c40cf5" + integrity sha512-yb65Ed5S/QAcewNPh0nZczy9JdYXkkAbIsEo+P7BE7yO3txAY30Y/oPa3QkQ5It3xVG2kpKMg9MsdxZaO31uKA== + dependencies: + "@babel/code-frame" "^7.24.7" + "@babel/generator" "^7.24.7" + "@babel/helper-environment-visitor" "^7.24.7" + "@babel/helper-function-name" "^7.24.7" + "@babel/helper-hoist-variables" "^7.24.7" + "@babel/helper-split-export-declaration" "^7.24.7" + "@babel/parser" "^7.24.7" + "@babel/types" "^7.24.7" + debug "^4.3.1" + globals "^11.1.0" + "@babel/traverse@^7.22.6", "@babel/traverse@^7.22.8": version "7.22.8" resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.22.8.tgz#4d4451d31bc34efeae01eac222b514a77aa4000e" @@ -317,6 +1269,24 @@ debug "^4.1.0" globals "^11.1.0" +"@babel/types@7.18.10": + version "7.18.10" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.18.10.tgz#4908e81b6b339ca7c6b7a555a5fc29446f26dde6" + integrity sha512-MJvnbEiiNkpjo+LknnmRrqbY1GPUUggjv+wQVjetM/AONoupqRALB7I6jGqNUAZsKcRIEu2J6FRFvsczljjsaQ== + dependencies: + "@babel/helper-string-parser" "^7.18.10" + "@babel/helper-validator-identifier" "^7.18.6" + to-fast-properties "^2.0.0" + +"@babel/types@7.23.6": + version "7.23.6" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.23.6.tgz#be33fdb151e1f5a56877d704492c240fc71c7ccd" + integrity sha512-+uarb83brBzPKN38NX1MkB6vb6+mwvR6amUulqAE7ccQw1pEl+bCia9TbdG1lsnFP7lZySvUn37CHyXQdfTwzg== + dependencies: + "@babel/helper-string-parser" "^7.23.4" + "@babel/helper-validator-identifier" "^7.22.20" + to-fast-properties "^2.0.0" + "@babel/types@^7.0.0", "@babel/types@^7.20.7", "@babel/types@^7.22.5", "@babel/types@^7.3.3": version "7.22.5" resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.22.5.tgz#cd93eeaab025880a3a47ec881f4b096a5b786fbe" @@ -326,11 +1296,55 @@ "@babel/helper-validator-identifier" "^7.22.5" to-fast-properties "^2.0.0" +"@babel/types@^7.18.10", "@babel/types@^7.23.6", "@babel/types@^7.24.7", "@babel/types@^7.4.4": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.24.7.tgz#6027fe12bc1aa724cd32ab113fb7f1988f1f66f2" + integrity sha512-XEFXSlxiG5td2EJRe8vOmRbaXVgfcBlszKujvVmWIK/UpywWljQCfzAv3RQCGujWQ1RD4YYWEAqDXfuJiy8f5Q== + dependencies: + "@babel/helper-string-parser" "^7.24.7" + "@babel/helper-validator-identifier" "^7.24.7" + to-fast-properties "^2.0.0" + "@bcoe/v8-coverage@^0.2.3": version "0.2.3" resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== +"@concordium/common-sdk@9.4.0": + version "9.4.0" + resolved "https://registry.yarnpkg.com/@concordium/common-sdk/-/common-sdk-9.4.0.tgz#b2b93122d6506f15a0a77591a3f70c20c4357b24" + integrity sha512-m1ZqJ1vpJxWbSpIksOcsR0azgUQ7iPIAA7jevgEdqeRhsJOxZT0EwPyVDjAnk3pRiIq5K/or/TxhljuH23LmrA== + dependencies: + "@concordium/rust-bindings" "1.2.0" + "@grpc/grpc-js" "^1.3.4" + "@noble/ed25519" "^1.7.1" + "@protobuf-ts/runtime-rpc" "^2.8.2" + "@scure/bip39" "^1.1.0" + big.js "^6.2.0" + bs58check "^2.1.2" + buffer "^6.0.3" + cross-fetch "3.1.5" + hash.js "^1.1.7" + iso-3166-1 "^2.1.1" + json-bigint "^1.0.0" + uuid "^8.3.2" + +"@concordium/node-sdk@9.4.0": + version "9.4.0" + resolved "https://registry.yarnpkg.com/@concordium/node-sdk/-/node-sdk-9.4.0.tgz#f4dbe1de858c1d23d5860b3dea751a259207aedd" + integrity sha512-Zs08tbtxB6r05g3bMMoVjO/c5X6bRWs4gpLUsxiA0lHTNaGnn8IXn/05K5EtEDRKWZrWOqcX9lCjWD05DiNmiQ== + dependencies: + "@concordium/common-sdk" "9.4.0" + "@grpc/grpc-js" "^1.3.4" + "@protobuf-ts/grpc-transport" "^2.8.2" + buffer "^6.0.3" + google-protobuf "^3.20.1" + +"@concordium/rust-bindings@1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@concordium/rust-bindings/-/rust-bindings-1.2.0.tgz#9ae3ed802bb4fdc99a1a5ccf28e91689095fb889" + integrity sha512-GlfHg8uQCr0QJZZt6b1qZacJrVrgDXWjj68D0PvE3CNXo0yAqr81JXrUbpgfVzUXNabzfsUaDUifS8z8b197HA== + "@confio/ics23@^0.6.8": version "0.6.8" resolved "https://registry.yarnpkg.com/@confio/ics23/-/ics23-0.6.8.tgz#2a6b4f1f2b7b20a35d9a0745bb5a446e72930b3d" @@ -339,138 +1353,219 @@ "@noble/hashes" "^1.0.0" protobufjs "^6.8.8" -"@cosmjs/amino@0.28.13": - version "0.28.13" - resolved "https://registry.yarnpkg.com/@cosmjs/amino/-/amino-0.28.13.tgz#b51417a23c1ff8ef8b85a6862eba8492c6c44f38" - integrity sha512-IHnH2zGwaY69qT4mVAavr/pfzx6YE+ud1NHJbvVePlbGiz68CXTi5LHR+K0lrKB5mQ7E+ZErWz2mw5U/x+V1wQ== - dependencies: - "@cosmjs/crypto" "0.28.13" - "@cosmjs/encoding" "0.28.13" - "@cosmjs/math" "0.28.13" - "@cosmjs/utils" "0.28.13" - -"@cosmjs/cosmwasm-stargate@^0.28.9": - version "0.28.13" - resolved "https://registry.yarnpkg.com/@cosmjs/cosmwasm-stargate/-/cosmwasm-stargate-0.28.13.tgz#bea77bc999aaafdb677f446465f648cd000c5b4a" - integrity sha512-dVZNOiRd8btQreRUabncGhVXGCS2wToXqxi9l3KEHwCJQ2RWTshuqV+EZAdCaYHE5W6823s2Ol2W/ukA9AXJPw== - dependencies: - "@cosmjs/amino" "0.28.13" - "@cosmjs/crypto" "0.28.13" - "@cosmjs/encoding" "0.28.13" - "@cosmjs/math" "0.28.13" - "@cosmjs/proto-signing" "0.28.13" - "@cosmjs/stargate" "0.28.13" - "@cosmjs/tendermint-rpc" "0.28.13" - "@cosmjs/utils" "0.28.13" - cosmjs-types "^0.4.0" - long "^4.0.0" +"@cosmjs/amino@^0.32.3": + version "0.32.3" + resolved "https://registry.yarnpkg.com/@cosmjs/amino/-/amino-0.32.3.tgz#b81d4a2b8d61568431a1afcd871e1344a19d97ff" + integrity sha512-G4zXl+dJbqrz1sSJ56H/25l5NJEk/pAPIr8piAHgbXYw88OdAOlpA26PQvk2IbSN/rRgVbvlLTNgX2tzz1dyUA== + dependencies: + "@cosmjs/crypto" "^0.32.3" + "@cosmjs/encoding" "^0.32.3" + "@cosmjs/math" "^0.32.3" + "@cosmjs/utils" "^0.32.3" + +"@cosmjs/cosmwasm-stargate@^0.32.3": + version "0.32.3" + resolved "https://registry.yarnpkg.com/@cosmjs/cosmwasm-stargate/-/cosmwasm-stargate-0.32.3.tgz#26a110a6bb0c15fdeef647e3433bd9553a1acd5f" + integrity sha512-pqkt+QsLIPNMTRh9m+igJgIpzXXgn1BxmxfAb9zlC23kvsuzY/12un9M7iAdim1NwKXDFeYw46xC2YkprwQp+g== + dependencies: + "@cosmjs/amino" "^0.32.3" + "@cosmjs/crypto" "^0.32.3" + "@cosmjs/encoding" "^0.32.3" + "@cosmjs/math" "^0.32.3" + "@cosmjs/proto-signing" "^0.32.3" + "@cosmjs/stargate" "^0.32.3" + "@cosmjs/tendermint-rpc" "^0.32.3" + "@cosmjs/utils" "^0.32.3" + cosmjs-types "^0.9.0" pako "^2.0.2" -"@cosmjs/crypto@0.28.13": - version "0.28.13" - resolved "https://registry.yarnpkg.com/@cosmjs/crypto/-/crypto-0.28.13.tgz#541b6a36f616b2da5a568ead46d4e83841ceb412" - integrity sha512-ynKfM0q/tMBQMHJby6ad8lR3gkgBKaelQhIsCZTjClsnuC7oYT9y3ThSZCUWr7Pa9h0J8ahU2YV2oFWFVWJQzQ== +"@cosmjs/crypto@^0.32.3": + version "0.32.3" + resolved "https://registry.yarnpkg.com/@cosmjs/crypto/-/crypto-0.32.3.tgz#787f8e659709678722068ee1ddf379f65051a25e" + integrity sha512-niQOWJHUtlJm2GG4F00yGT7sGPKxfUwz+2qQ30uO/E3p58gOusTcH2qjiJNVxb8vScYJhFYFqpm/OA/mVqoUGQ== dependencies: - "@cosmjs/encoding" "0.28.13" - "@cosmjs/math" "0.28.13" - "@cosmjs/utils" "0.28.13" + "@cosmjs/encoding" "^0.32.3" + "@cosmjs/math" "^0.32.3" + "@cosmjs/utils" "^0.32.3" "@noble/hashes" "^1" bn.js "^5.2.0" - elliptic "^6.5.3" - libsodium-wrappers "^0.7.6" + elliptic "^6.5.4" + libsodium-wrappers-sumo "^0.7.11" -"@cosmjs/encoding@0.28.13": - version "0.28.13" - resolved "https://registry.yarnpkg.com/@cosmjs/encoding/-/encoding-0.28.13.tgz#7994e8e2c435beaf0690296ffb0f7f3eaec8150b" - integrity sha512-jtXbAYtV77rLHxoIrjGFsvgGjeTKttuHRv6cvuy3toCZzY7JzTclKH5O2g36IIE4lXwD9xwuhGJ2aa6A3dhNkA== +"@cosmjs/encoding@^0.32.3": + version "0.32.3" + resolved "https://registry.yarnpkg.com/@cosmjs/encoding/-/encoding-0.32.3.tgz#e245ff511fe4a0df7ba427b5187aab69e3468e5b" + integrity sha512-p4KF7hhv8jBQX3MkB3Defuhz/W0l3PwWVYU2vkVuBJ13bJcXyhU9nJjiMkaIv+XP+W2QgRceqNNgFUC5chNR7w== dependencies: base64-js "^1.3.0" bech32 "^1.1.4" readonly-date "^1.0.0" -"@cosmjs/json-rpc@0.28.13": - version "0.28.13" - resolved "https://registry.yarnpkg.com/@cosmjs/json-rpc/-/json-rpc-0.28.13.tgz#ff3f0c4a2f363b1a2c6779f8624a897e217fe297" - integrity sha512-fInSvg7x9P6p+GWqet+TMhrMTM3OWWdLJOGS5w2ryubMjgpR1rLiAx77MdTNkArW+/6sUwku0sN4veM4ENQu6A== +"@cosmjs/json-rpc@^0.32.3": + version "0.32.3" + resolved "https://registry.yarnpkg.com/@cosmjs/json-rpc/-/json-rpc-0.32.3.tgz#ccffdd7f722cecfab6daaa7463843b92f5d25355" + integrity sha512-JwFRWZa+Y95KrAG8CuEbPVOSnXO2uMSEBcaAB/FBU3Mo4jQnDoUjXvt3vwtFWxfAytrWCn1I4YDFaOAinnEG/Q== dependencies: - "@cosmjs/stream" "0.28.13" + "@cosmjs/stream" "^0.32.3" xstream "^11.14.0" -"@cosmjs/math@0.28.13": - version "0.28.13" - resolved "https://registry.yarnpkg.com/@cosmjs/math/-/math-0.28.13.tgz#50c05bc67007a04216f7f5e0c93f57270f8cc077" - integrity sha512-PDpL8W/kbyeWi0mQ2OruyqE8ZUAdxPs1xCbDX3WXJwy2oU+X2UTbkuweJHVpS9CIqmZulBoWQAmlf6t6zr1N/g== +"@cosmjs/math@^0.32.3": + version "0.32.3" + resolved "https://registry.yarnpkg.com/@cosmjs/math/-/math-0.32.3.tgz#16e4256f4da507b9352327da12ae64056a2ba6c9" + integrity sha512-amumUtZs8hCCnV+lSBaJIiZkGabQm22QGg/IotYrhcmoOEOjt82n7hMNlNXRs7V6WLMidGrGYcswB5zcmp0Meg== dependencies: bn.js "^5.2.0" -"@cosmjs/proto-signing@0.28.13", "@cosmjs/proto-signing@^0.28.9": - version "0.28.13" - resolved "https://registry.yarnpkg.com/@cosmjs/proto-signing/-/proto-signing-0.28.13.tgz#95ac12f0da0f0814f348f5ae996c3e96d015df61" - integrity sha512-nSl/2ZLsUJYz3Ad0RY3ihZUgRHIow2OnYqKsESMu+3RA/jTi9bDYhiBu8mNMHI0xrEJry918B2CyI56pOUHdPQ== - dependencies: - "@cosmjs/amino" "0.28.13" - "@cosmjs/crypto" "0.28.13" - "@cosmjs/encoding" "0.28.13" - "@cosmjs/math" "0.28.13" - "@cosmjs/utils" "0.28.13" - cosmjs-types "^0.4.0" - long "^4.0.0" +"@cosmjs/proto-signing@^0.32.3": + version "0.32.3" + resolved "https://registry.yarnpkg.com/@cosmjs/proto-signing/-/proto-signing-0.32.3.tgz#91ae149b747d18666a6ccc924165b306431f7c0d" + integrity sha512-kSZ0ZUY0DwcRT0NcIn2HkadH4NKlwjfZgbLj1ABwh/4l0RgeT84QCscZCu63tJYq3K6auwqTiZSZERwlO4/nbg== + dependencies: + "@cosmjs/amino" "^0.32.3" + "@cosmjs/crypto" "^0.32.3" + "@cosmjs/encoding" "^0.32.3" + "@cosmjs/math" "^0.32.3" + "@cosmjs/utils" "^0.32.3" + cosmjs-types "^0.9.0" -"@cosmjs/socket@0.28.13": - version "0.28.13" - resolved "https://registry.yarnpkg.com/@cosmjs/socket/-/socket-0.28.13.tgz#d8443ad6e91d080fc6b80a7e9cf297a56b1f6833" - integrity sha512-lavwGxQ5VdeltyhpFtwCRVfxeWjH5D5mmN7jgx9nuCf3XSFbTcOYxrk2pQ4usenu1Q1KZdL4Yl5RCNrJuHD9Ug== +"@cosmjs/socket@^0.32.3": + version "0.32.3" + resolved "https://registry.yarnpkg.com/@cosmjs/socket/-/socket-0.32.3.tgz#fa5c36bf58e87c0ad865d6318ecb0f8d9c89a28a" + integrity sha512-F2WwNmaUPdZ4SsH6Uyreq3wQk7jpaEkb3wfOP951f5Jt6HCW/PxbxhKzHkAAf6+Sqks6SPhkbWoE8XaZpjL2KA== dependencies: - "@cosmjs/stream" "0.28.13" + "@cosmjs/stream" "^0.32.3" isomorphic-ws "^4.0.1" ws "^7" xstream "^11.14.0" -"@cosmjs/stargate@0.28.13", "@cosmjs/stargate@^0.28.9": - version "0.28.13" - resolved "https://registry.yarnpkg.com/@cosmjs/stargate/-/stargate-0.28.13.tgz#a73d837a46ee8944e6eafe162f2ff6943c14350e" - integrity sha512-dVBMazDz8/eActHsRcZjDHHptOBMqvibj5CFgEtZBp22gP6ASzoAUXTlkSVk5FBf4sfuUHoff6st134/+PGMAg== +"@cosmjs/stargate@^0.32.3": + version "0.32.3" + resolved "https://registry.yarnpkg.com/@cosmjs/stargate/-/stargate-0.32.3.tgz#5a92b222ada960ebecea72cc9f366370763f4b66" + integrity sha512-OQWzO9YWKerUinPIxrO1MARbe84XkeXJAW0lyMIjXIEikajuXZ+PwftiKA5yA+8OyditVmHVLtPud6Pjna2s5w== dependencies: "@confio/ics23" "^0.6.8" - "@cosmjs/amino" "0.28.13" - "@cosmjs/encoding" "0.28.13" - "@cosmjs/math" "0.28.13" - "@cosmjs/proto-signing" "0.28.13" - "@cosmjs/stream" "0.28.13" - "@cosmjs/tendermint-rpc" "0.28.13" - "@cosmjs/utils" "0.28.13" - cosmjs-types "^0.4.0" - long "^4.0.0" - protobufjs "~6.11.3" + "@cosmjs/amino" "^0.32.3" + "@cosmjs/encoding" "^0.32.3" + "@cosmjs/math" "^0.32.3" + "@cosmjs/proto-signing" "^0.32.3" + "@cosmjs/stream" "^0.32.3" + "@cosmjs/tendermint-rpc" "^0.32.3" + "@cosmjs/utils" "^0.32.3" + cosmjs-types "^0.9.0" xstream "^11.14.0" -"@cosmjs/stream@0.28.13": - version "0.28.13" - resolved "https://registry.yarnpkg.com/@cosmjs/stream/-/stream-0.28.13.tgz#1e79d1116fda1e63e5ecddbd9d803d403942b1fa" - integrity sha512-AnjtfwT8NwPPkd3lhZhjOlOzT0Kn9bgEu2IPOZjQ1nmG2bplsr6TJmnwn0dJxHT7UGtex17h6whKB5N4wU37Wg== +"@cosmjs/stream@^0.32.3": + version "0.32.3" + resolved "https://registry.yarnpkg.com/@cosmjs/stream/-/stream-0.32.3.tgz#7522579aaf18025d322c2f33d6fb7573220395d6" + integrity sha512-J2zVWDojkynYifAUcRmVczzmp6STEpyiAARq0rSsviqjreGIfspfuws/8rmkPa6qQBZvpQOBQCm2HyZZwYplIw== dependencies: xstream "^11.14.0" -"@cosmjs/tendermint-rpc@0.28.13": - version "0.28.13" - resolved "https://registry.yarnpkg.com/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.28.13.tgz#0bf587ae66fa3f88319edbd258492d28e73f9f29" - integrity sha512-GB+ZmfuJIGQm0hsRtLYjeR3lOxF7Z6XyCBR0cX5AAYOZzSEBJjevPgUHD6tLn8zIhvzxaW3/VKnMB+WmlxdH4w== - dependencies: - "@cosmjs/crypto" "0.28.13" - "@cosmjs/encoding" "0.28.13" - "@cosmjs/json-rpc" "0.28.13" - "@cosmjs/math" "0.28.13" - "@cosmjs/socket" "0.28.13" - "@cosmjs/stream" "0.28.13" - "@cosmjs/utils" "0.28.13" - axios "^0.21.2" +"@cosmjs/tendermint-rpc@^0.32.3": + version "0.32.3" + resolved "https://registry.yarnpkg.com/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.32.3.tgz#f0406b9f0233e588fb924dca8c614972f9038aff" + integrity sha512-xeprW+VR9xKGstqZg0H/KBZoUp8/FfFyS9ljIUTLM/UINjP2MhiwncANPS2KScfJVepGufUKk0/phHUeIBSEkw== + dependencies: + "@cosmjs/crypto" "^0.32.3" + "@cosmjs/encoding" "^0.32.3" + "@cosmjs/json-rpc" "^0.32.3" + "@cosmjs/math" "^0.32.3" + "@cosmjs/socket" "^0.32.3" + "@cosmjs/stream" "^0.32.3" + "@cosmjs/utils" "^0.32.3" + axios "^1.6.0" readonly-date "^1.0.0" xstream "^11.14.0" -"@cosmjs/utils@0.28.13": - version "0.28.13" - resolved "https://registry.yarnpkg.com/@cosmjs/utils/-/utils-0.28.13.tgz#2fd2844ec832d7833811e2ae1691305d09791a08" - integrity sha512-dVeMBiyg+46x7XBZEfJK8yTihphbCFpjVYmLJVqmTsHfJwymQ65cpyW/C+V/LgWARGK8hWQ/aX9HM5Ao8QmMSg== +"@cosmjs/utils@^0.32.3": + version "0.32.3" + resolved "https://registry.yarnpkg.com/@cosmjs/utils/-/utils-0.32.3.tgz#5dcaee6dd7cc846cdc073e9a7a7f63242f5f7e31" + integrity sha512-WCZK4yksj2hBDz4w7xFZQTRZQ/RJhBX26uFHmmQFIcNUUVAihrLO+RerqJgk0dZqC42wstM9pEUQGtPmLcIYvg== + +"@cosmology/protobufjs@6.11.6": + version "6.11.6" + resolved "https://registry.yarnpkg.com/@cosmology/protobufjs/-/protobufjs-6.11.6.tgz#6f7bd340ab4a27969b1f75b4bff21a74e03b971a" + integrity sha512-k1opGC9CTX5vD2447pUqLmleVv0Kb8RasBUxkZHudVOvuXs2qAAGONmMIEGRCROKTodhTY9fdTnGU2lCZqAwNw== + dependencies: + "@protobufjs/aspromise" "^1.1.2" + "@protobufjs/base64" "^1.1.2" + "@protobufjs/codegen" "^2.0.4" + "@protobufjs/eventemitter" "^1.1.0" + "@protobufjs/fetch" "^1.1.0" + "@protobufjs/float" "^1.0.2" + "@protobufjs/inquire" "^1.1.0" + "@protobufjs/path" "^1.1.2" + "@protobufjs/pool" "^1.1.0" + "@protobufjs/utf8" "^1.1.0" + "@types/long" "^4.0.1" + "@types/node" ">=13.7.0" + long "^4.0.0" + +"@cosmwasm/ts-codegen@0.34.0": + version "0.34.0" + resolved "https://registry.yarnpkg.com/@cosmwasm/ts-codegen/-/ts-codegen-0.34.0.tgz#659bb69fc5f74cbd623567f3090e69072f08b23c" + integrity sha512-Mt/aYj0be9GnA51Arysqr9L8KQNWUJJHoJvtru7hkHmukPSewZDilwHCOJAaehk5gjsP7LFey2o2KEdfzkANhA== + dependencies: + "@babel/core" "7.18.10" + "@babel/generator" "7.18.12" + "@babel/parser" "7.18.11" + "@babel/plugin-proposal-class-properties" "7.18.6" + "@babel/plugin-proposal-export-default-from" "7.18.10" + "@babel/plugin-proposal-object-rest-spread" "7.18.9" + "@babel/plugin-transform-runtime" "7.18.10" + "@babel/preset-env" "7.18.10" + "@babel/preset-typescript" "^7.18.6" + "@babel/runtime" "^7.18.9" + "@babel/traverse" "7.18.11" + "@babel/types" "7.18.10" + "@pyramation/json-schema-to-typescript" " 11.0.4" + case "1.6.3" + dargs "7.0.0" + deepmerge "4.2.2" + dotty "0.1.2" + fuzzy "0.1.3" + glob "8.0.3" + inquirerer "0.1.3" + long "^5.2.0" + minimist "1.2.6" + mkdirp "1.0.4" + parse-package-name "1.0.0" + rimraf "3.0.2" + shelljs "0.8.5" + wasm-ast-types "^0.25.0" + +"@cosmwasm/ts-codegen@^0.35.7": + version "0.35.7" + resolved "https://registry.yarnpkg.com/@cosmwasm/ts-codegen/-/ts-codegen-0.35.7.tgz#b88c03b732824113fc765d560504516faca6f23b" + integrity sha512-qbOAYJPe5O5AjoWytZcsVvM0SBA39sMpiqnVIIgjJiqp4G4D5GjR2/UV3ePpygnIxxKZWMnOpPPUvLMjflblCw== + dependencies: + "@babel/core" "7.18.10" + "@babel/generator" "7.18.12" + "@babel/parser" "7.18.11" + "@babel/plugin-proposal-class-properties" "7.18.6" + "@babel/plugin-proposal-export-default-from" "7.18.10" + "@babel/plugin-proposal-object-rest-spread" "7.18.9" + "@babel/plugin-transform-runtime" "7.18.10" + "@babel/preset-env" "7.18.10" + "@babel/preset-typescript" "^7.18.6" + "@babel/runtime" "^7.18.9" + "@babel/traverse" "7.18.11" + "@babel/types" "7.18.10" + "@pyramation/json-schema-to-typescript" " 11.0.4" + case "1.6.3" + dargs "7.0.0" + deepmerge "4.2.2" + dotty "0.1.2" + fuzzy "0.1.3" + glob "8.0.3" + inquirerer "0.1.3" + long "^5.2.0" + minimist "1.2.6" + mkdirp "1.0.4" + parse-package-name "1.0.0" + rimraf "3.0.2" + shelljs "0.8.5" + wasm-ast-types "^0.26.4" "@crustio/type-definitions@^1.3.0": version "1.3.0" @@ -496,7 +1591,22 @@ resolved "https://registry.yarnpkg.com/@equilab/definitions/-/definitions-1.4.18.tgz#e544951b50278705af3d9fa4ba91e04df53a3d06" integrity sha512-rFEPaHmdn5I1QItbQun9H/x+o3hgjA6kLYLrNN6nl/ndtQMY2tqx/mQfcGIlKA1xVmyn9mUAqD8G0P/nBHD3yA== -"@ethersproject/abstract-provider@^5.6.1": +"@ethersproject/abi@5.7.0", "@ethersproject/abi@^5.7.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@ethersproject/abi/-/abi-5.7.0.tgz#b3f3e045bbbeed1af3947335c247ad625a44e449" + integrity sha512-351ktp42TiRcYB3H1OP8yajPeAQstMW/yCFokj/AthP9bLHzQFPlOrxOcwYEDkUAICmOHljvN4K39OMTMUa9RA== + dependencies: + "@ethersproject/address" "^5.7.0" + "@ethersproject/bignumber" "^5.7.0" + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/constants" "^5.7.0" + "@ethersproject/hash" "^5.7.0" + "@ethersproject/keccak256" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/properties" "^5.7.0" + "@ethersproject/strings" "^5.7.0" + +"@ethersproject/abstract-provider@5.7.0", "@ethersproject/abstract-provider@^5.6.1", "@ethersproject/abstract-provider@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/abstract-provider/-/abstract-provider-5.7.0.tgz#b0a8550f88b6bf9d51f90e4795d48294630cb9ef" integrity sha512-R41c9UkchKCpAqStMYUpdunjo3pkEvZC3FAwZn5S5MGbXoMQOHIdHItezTETxAO5bevtMApSyEhn9+CHcDsWBw== @@ -509,7 +1619,18 @@ "@ethersproject/transactions" "^5.7.0" "@ethersproject/web" "^5.7.0" -"@ethersproject/address@^5.7.0": +"@ethersproject/abstract-signer@5.7.0", "@ethersproject/abstract-signer@^5.7.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@ethersproject/abstract-signer/-/abstract-signer-5.7.0.tgz#13f4f32117868452191a4649723cb086d2b596b2" + integrity sha512-a16V8bq1/Cz+TGCkE2OPMTOUDLS3grCpdjoJCYNnVBbdYEMSgKrU0+B90s8b6H+ByYTBZN7a3g76jdIJi7UfKQ== + dependencies: + "@ethersproject/abstract-provider" "^5.7.0" + "@ethersproject/bignumber" "^5.7.0" + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/properties" "^5.7.0" + +"@ethersproject/address@5.7.0", "@ethersproject/address@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/address/-/address-5.7.0.tgz#19b56c4d74a3b0a46bfdbb6cfcc0a153fc697f37" integrity sha512-9wYhYt7aghVGo758POM5nqcOMaE168Q6aRLJZwUmiqSrAungkG74gSSeKEIR7ukixesdRZGPgVqme6vmxs1fkA== @@ -520,14 +1641,22 @@ "@ethersproject/logger" "^5.7.0" "@ethersproject/rlp" "^5.7.0" -"@ethersproject/base64@^5.7.0": +"@ethersproject/base64@5.7.0", "@ethersproject/base64@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/base64/-/base64-5.7.0.tgz#ac4ee92aa36c1628173e221d0d01f53692059e1c" integrity sha512-Dr8tcHt2mEbsZr/mwTPIQAf3Ai0Bks/7gTw9dSqk1mQvhW3XvRlmDJr/4n+wg1JmCl16NZue17CDh8xb/vZ0sQ== dependencies: "@ethersproject/bytes" "^5.7.0" -"@ethersproject/bignumber@^5.7.0": +"@ethersproject/basex@5.7.0", "@ethersproject/basex@^5.7.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@ethersproject/basex/-/basex-5.7.0.tgz#97034dc7e8938a8ca943ab20f8a5e492ece4020b" + integrity sha512-ywlh43GwZLv2Voc2gQVTKBoVQ1mti3d8HK5aMxsfu/nRDnMmNqaSJ3r3n85HBByT8OpoY96SXM1FogC533T4zw== + dependencies: + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/properties" "^5.7.0" + +"@ethersproject/bignumber@5.7.0", "@ethersproject/bignumber@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/bignumber/-/bignumber-5.7.0.tgz#e2f03837f268ba655ffba03a57853e18a18dc9c2" integrity sha512-n1CAdIHRWjSucQO3MC1zPSVgV/6dy/fjL9pMrPP9peL+QxEg9wOsVqwD4+818B6LUEtaXzVHQiuivzRoxPxUGw== @@ -536,21 +1665,89 @@ "@ethersproject/logger" "^5.7.0" bn.js "^5.2.1" -"@ethersproject/bytes@^5.7.0": +"@ethersproject/bytes@5.7.0", "@ethersproject/bytes@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/bytes/-/bytes-5.7.0.tgz#a00f6ea8d7e7534d6d87f47188af1148d71f155d" integrity sha512-nsbxwgFXWh9NyYWo+U8atvmMsSdKJprTcICAkvbBffT75qDocbuggBU0SJiVK2MuTrp0q+xvLkTnGMPK1+uA9A== dependencies: "@ethersproject/logger" "^5.7.0" -"@ethersproject/constants@^5.7.0": +"@ethersproject/constants@5.7.0", "@ethersproject/constants@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/constants/-/constants-5.7.0.tgz#df80a9705a7e08984161f09014ea012d1c75295e" integrity sha512-DHI+y5dBNvkpYUMiRQyxRBYBefZkJfo70VUkUAsRjcPs47muV9evftfZ0PJVCXYbAiCgght0DtcF9srFQmIgWA== dependencies: "@ethersproject/bignumber" "^5.7.0" -"@ethersproject/keccak256@^5.7.0": +"@ethersproject/contracts@5.7.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@ethersproject/contracts/-/contracts-5.7.0.tgz#c305e775abd07e48aa590e1a877ed5c316f8bd1e" + integrity sha512-5GJbzEU3X+d33CdfPhcyS+z8MzsTrBGk/sc+G+59+tPa9yFkl6HQ9D6L0QMgNTA9q8dT0XKxxkyp883XsQvbbg== + dependencies: + "@ethersproject/abi" "^5.7.0" + "@ethersproject/abstract-provider" "^5.7.0" + "@ethersproject/abstract-signer" "^5.7.0" + "@ethersproject/address" "^5.7.0" + "@ethersproject/bignumber" "^5.7.0" + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/constants" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/properties" "^5.7.0" + "@ethersproject/transactions" "^5.7.0" + +"@ethersproject/hash@5.7.0", "@ethersproject/hash@^5.7.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@ethersproject/hash/-/hash-5.7.0.tgz#eb7aca84a588508369562e16e514b539ba5240a7" + integrity sha512-qX5WrQfnah1EFnO5zJv1v46a8HW0+E5xuBBDTwMFZLuVTx0tbU2kkx15NqdjxecrLGatQN9FGQKpb1FKdHCt+g== + dependencies: + "@ethersproject/abstract-signer" "^5.7.0" + "@ethersproject/address" "^5.7.0" + "@ethersproject/base64" "^5.7.0" + "@ethersproject/bignumber" "^5.7.0" + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/keccak256" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/properties" "^5.7.0" + "@ethersproject/strings" "^5.7.0" + +"@ethersproject/hdnode@5.7.0", "@ethersproject/hdnode@^5.7.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@ethersproject/hdnode/-/hdnode-5.7.0.tgz#e627ddc6b466bc77aebf1a6b9e47405ca5aef9cf" + integrity sha512-OmyYo9EENBPPf4ERhR7oj6uAtUAhYGqOnIS+jE5pTXvdKBS99ikzq1E7Iv0ZQZ5V36Lqx1qZLeak0Ra16qpeOg== + dependencies: + "@ethersproject/abstract-signer" "^5.7.0" + "@ethersproject/basex" "^5.7.0" + "@ethersproject/bignumber" "^5.7.0" + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/pbkdf2" "^5.7.0" + "@ethersproject/properties" "^5.7.0" + "@ethersproject/sha2" "^5.7.0" + "@ethersproject/signing-key" "^5.7.0" + "@ethersproject/strings" "^5.7.0" + "@ethersproject/transactions" "^5.7.0" + "@ethersproject/wordlists" "^5.7.0" + +"@ethersproject/json-wallets@5.7.0", "@ethersproject/json-wallets@^5.7.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@ethersproject/json-wallets/-/json-wallets-5.7.0.tgz#5e3355287b548c32b368d91014919ebebddd5360" + integrity sha512-8oee5Xgu6+RKgJTkvEMl2wDgSPSAQ9MB/3JYjFV9jlKvcYHUXZC+cQp0njgmxdHkYWn8s6/IqIZYm0YWCjO/0g== + dependencies: + "@ethersproject/abstract-signer" "^5.7.0" + "@ethersproject/address" "^5.7.0" + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/hdnode" "^5.7.0" + "@ethersproject/keccak256" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/pbkdf2" "^5.7.0" + "@ethersproject/properties" "^5.7.0" + "@ethersproject/random" "^5.7.0" + "@ethersproject/strings" "^5.7.0" + "@ethersproject/transactions" "^5.7.0" + aes-js "3.0.0" + scrypt-js "3.0.1" + +"@ethersproject/keccak256@5.7.0", "@ethersproject/keccak256@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/keccak256/-/keccak256-5.7.0.tgz#3186350c6e1cd6aba7940384ec7d6d9db01f335a" integrity sha512-2UcPboeL/iW+pSg6vZ6ydF8tCnv3Iu/8tUmLLzWWGzxWKFFqOBQFLo6uLUv6BDrLgCDfN28RJ/wtByx+jZ4KBg== @@ -558,11 +1755,18 @@ "@ethersproject/bytes" "^5.7.0" js-sha3 "0.8.0" -"@ethersproject/logger@^5.7.0": +"@ethersproject/logger@5.7.0", "@ethersproject/logger@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/logger/-/logger-5.7.0.tgz#6ce9ae168e74fecf287be17062b590852c311892" integrity sha512-0odtFdXu/XHtjQXJYA3u9G0G8btm0ND5Cu8M7i5vhEcE8/HmF4Lbdqanwyv4uQTr2tx6b7fQRmgLrsnpQlmnig== +"@ethersproject/networks@5.7.1": + version "5.7.1" + resolved "https://registry.yarnpkg.com/@ethersproject/networks/-/networks-5.7.1.tgz#118e1a981d757d45ccea6bb58d9fd3d9db14ead6" + integrity sha512-n/MufjFYv3yFcUyfhnXotyDlNdFb7onmkSy8aQERi2PjNcnWQ66xXxa3XlS8nCcA8aJKJjIIMNJTC7tu80GwpQ== + dependencies: + "@ethersproject/logger" "^5.7.0" + "@ethersproject/networks@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/networks/-/networks-5.7.0.tgz#df72a392f1a63a57f87210515695a31a245845ad" @@ -570,22 +1774,73 @@ dependencies: "@ethersproject/logger" "^5.7.0" -"@ethersproject/properties@^5.7.0": +"@ethersproject/pbkdf2@5.7.0", "@ethersproject/pbkdf2@^5.7.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@ethersproject/pbkdf2/-/pbkdf2-5.7.0.tgz#d2267d0a1f6e123f3771007338c47cccd83d3102" + integrity sha512-oR/dBRZR6GTyaofd86DehG72hY6NpAjhabkhxgr3X2FpJtJuodEl2auADWBZfhDHgVCbu3/H/Ocq2uC6dpNjjw== + dependencies: + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/sha2" "^5.7.0" + +"@ethersproject/properties@5.7.0", "@ethersproject/properties@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/properties/-/properties-5.7.0.tgz#a6e12cb0439b878aaf470f1902a176033067ed30" integrity sha512-J87jy8suntrAkIZtecpxEPxY//szqr1mlBaYlQ0r4RCaiD2hjheqF9s1LVE8vVuJCXisjIP+JgtK/Do54ej4Sw== dependencies: "@ethersproject/logger" "^5.7.0" -"@ethersproject/rlp@^5.7.0": +"@ethersproject/providers@5.7.2", "@ethersproject/providers@^5.7.2": + version "5.7.2" + resolved "https://registry.yarnpkg.com/@ethersproject/providers/-/providers-5.7.2.tgz#f8b1a4f275d7ce58cf0a2eec222269a08beb18cb" + integrity sha512-g34EWZ1WWAVgr4aptGlVBF8mhl3VWjv+8hoAnzStu8Ah22VHBsuGzP17eb6xDVRzw895G4W7vvx60lFFur/1Rg== + dependencies: + "@ethersproject/abstract-provider" "^5.7.0" + "@ethersproject/abstract-signer" "^5.7.0" + "@ethersproject/address" "^5.7.0" + "@ethersproject/base64" "^5.7.0" + "@ethersproject/basex" "^5.7.0" + "@ethersproject/bignumber" "^5.7.0" + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/constants" "^5.7.0" + "@ethersproject/hash" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/networks" "^5.7.0" + "@ethersproject/properties" "^5.7.0" + "@ethersproject/random" "^5.7.0" + "@ethersproject/rlp" "^5.7.0" + "@ethersproject/sha2" "^5.7.0" + "@ethersproject/strings" "^5.7.0" + "@ethersproject/transactions" "^5.7.0" + "@ethersproject/web" "^5.7.0" + bech32 "1.1.4" + ws "7.4.6" + +"@ethersproject/random@5.7.0", "@ethersproject/random@^5.7.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@ethersproject/random/-/random-5.7.0.tgz#af19dcbc2484aae078bb03656ec05df66253280c" + integrity sha512-19WjScqRA8IIeWclFme75VMXSBvi4e6InrUNuaR4s5pTF2qNhcGdCUwdxUVGtDDqC00sDLCO93jPQoDUH4HVmQ== + dependencies: + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + +"@ethersproject/rlp@5.7.0", "@ethersproject/rlp@^5.7.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@ethersproject/rlp/-/rlp-5.7.0.tgz#de39e4d5918b9d74d46de93af80b7685a9c21304" + integrity sha512-rBxzX2vK8mVF7b0Tol44t5Tb8gomOHkj5guL+HhzQ1yBh/ydjGnpw6at+X6Iw0Kp3OzzzkcKp8N9r0W4kYSs9w== + dependencies: + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + +"@ethersproject/sha2@5.7.0", "@ethersproject/sha2@^5.7.0": version "5.7.0" - resolved "https://registry.yarnpkg.com/@ethersproject/rlp/-/rlp-5.7.0.tgz#de39e4d5918b9d74d46de93af80b7685a9c21304" - integrity sha512-rBxzX2vK8mVF7b0Tol44t5Tb8gomOHkj5guL+HhzQ1yBh/ydjGnpw6at+X6Iw0Kp3OzzzkcKp8N9r0W4kYSs9w== + resolved "https://registry.yarnpkg.com/@ethersproject/sha2/-/sha2-5.7.0.tgz#9a5f7a7824ef784f7f7680984e593a800480c9fb" + integrity sha512-gKlH42riwb3KYp0reLsFTokByAKoJdgFCwI+CCiX/k+Jm2mbNs6oOaCjYQSlI1+XBVejwH2KrmCbMAT/GnRDQw== dependencies: "@ethersproject/bytes" "^5.7.0" "@ethersproject/logger" "^5.7.0" + hash.js "1.1.7" -"@ethersproject/signing-key@^5.7.0": +"@ethersproject/signing-key@5.7.0", "@ethersproject/signing-key@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/signing-key/-/signing-key-5.7.0.tgz#06b2df39411b00bc57c7c09b01d1e41cf1b16ab3" integrity sha512-MZdy2nL3wO0u7gkB4nA/pEf8lu1TlFswPNmy8AiYkfKTdO6eXBJyUdmHO/ehm/htHw9K/qF8ujnTyUAD+Ry54Q== @@ -597,7 +1852,19 @@ elliptic "6.5.4" hash.js "1.1.7" -"@ethersproject/strings@^5.7.0": +"@ethersproject/solidity@5.7.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@ethersproject/solidity/-/solidity-5.7.0.tgz#5e9c911d8a2acce2a5ebb48a5e2e0af20b631cb8" + integrity sha512-HmabMd2Dt/raavyaGukF4XxizWKhKQ24DoLtdNbBmNKUOPqwjsKQSdV9GQtj9CBEea9DlzETlVER1gYeXXBGaA== + dependencies: + "@ethersproject/bignumber" "^5.7.0" + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/keccak256" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/sha2" "^5.7.0" + "@ethersproject/strings" "^5.7.0" + +"@ethersproject/strings@5.7.0", "@ethersproject/strings@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/strings/-/strings-5.7.0.tgz#54c9d2a7c57ae8f1205c88a9d3a56471e14d5ed2" integrity sha512-/9nu+lj0YswRNSH0NXYqrh8775XNyEdUQAuf3f+SmOrnVewcJ5SBNAjF7lpgehKi4abvNNXyf+HX86czCdJ8Mg== @@ -606,7 +1873,7 @@ "@ethersproject/constants" "^5.7.0" "@ethersproject/logger" "^5.7.0" -"@ethersproject/transactions@^5.7.0": +"@ethersproject/transactions@5.7.0", "@ethersproject/transactions@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/transactions/-/transactions-5.7.0.tgz#91318fc24063e057885a6af13fdb703e1f993d3b" integrity sha512-kmcNicCp1lp8qanMTC3RIikGgoJ80ztTyvtsFvCYpSCfkjhD0jZ2LOrnbcuxuToLIUYYf+4XwD1rP+B/erDIhQ== @@ -621,6 +1888,47 @@ "@ethersproject/rlp" "^5.7.0" "@ethersproject/signing-key" "^5.7.0" +"@ethersproject/units@5.7.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@ethersproject/units/-/units-5.7.0.tgz#637b563d7e14f42deeee39245275d477aae1d8b1" + integrity sha512-pD3xLMy3SJu9kG5xDGI7+xhTEmGXlEqXU4OfNapmfnxLVY4EMSSRp7j1k7eezutBPH7RBN/7QPnwR7hzNlEFeg== + dependencies: + "@ethersproject/bignumber" "^5.7.0" + "@ethersproject/constants" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + +"@ethersproject/wallet@5.7.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@ethersproject/wallet/-/wallet-5.7.0.tgz#4e5d0790d96fe21d61d38fb40324e6c7ef350b2d" + integrity sha512-MhmXlJXEJFBFVKrDLB4ZdDzxcBxQ3rLyCkhNqVu3CDYvR97E+8r01UgrI+TI99Le+aYm/in/0vp86guJuM7FCA== + dependencies: + "@ethersproject/abstract-provider" "^5.7.0" + "@ethersproject/abstract-signer" "^5.7.0" + "@ethersproject/address" "^5.7.0" + "@ethersproject/bignumber" "^5.7.0" + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/hash" "^5.7.0" + "@ethersproject/hdnode" "^5.7.0" + "@ethersproject/json-wallets" "^5.7.0" + "@ethersproject/keccak256" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/properties" "^5.7.0" + "@ethersproject/random" "^5.7.0" + "@ethersproject/signing-key" "^5.7.0" + "@ethersproject/transactions" "^5.7.0" + "@ethersproject/wordlists" "^5.7.0" + +"@ethersproject/web@5.7.1": + version "5.7.1" + resolved "https://registry.yarnpkg.com/@ethersproject/web/-/web-5.7.1.tgz#de1f285b373149bee5928f4eb7bcb87ee5fbb4ae" + integrity sha512-Gueu8lSvyjBWL4cYsWsjh6MtMwM0+H4HvqFPZfB6dV8ctbP9zFAO73VG1cMWae0FLPCtz0peKPpZY8/ugJJX2w== + dependencies: + "@ethersproject/base64" "^5.7.0" + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/properties" "^5.7.0" + "@ethersproject/strings" "^5.7.0" + "@ethersproject/web@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/web/-/web-5.7.0.tgz#40850c05260edad8b54827923bbad23d96aac0bc" @@ -632,6 +1940,17 @@ "@ethersproject/properties" "^5.7.0" "@ethersproject/strings" "^5.7.0" +"@ethersproject/wordlists@5.7.0", "@ethersproject/wordlists@^5.7.0": + version "5.7.0" + resolved "https://registry.yarnpkg.com/@ethersproject/wordlists/-/wordlists-5.7.0.tgz#8fb2c07185d68c3e09eb3bfd6e779ba2774627f5" + integrity sha512-S2TFNJNfHWVHNE6cNDjbVlZ6MgE17MIxMbMg2zv3wn+3XSJGosL1m9ZVv3GXCf/2ymSsQ+hRI5IzoMJTG6aoVA== + dependencies: + "@ethersproject/bytes" "^5.7.0" + "@ethersproject/hash" "^5.7.0" + "@ethersproject/logger" "^5.7.0" + "@ethersproject/properties" "^5.7.0" + "@ethersproject/strings" "^5.7.0" + "@frequency-chain/api-augment@1.7.4": version "1.7.4" resolved "https://registry.yarnpkg.com/@frequency-chain/api-augment/-/api-augment-1.7.4.tgz#76b922476466cb19c420e41352ae61bc57627acf" @@ -641,17 +1960,30 @@ "@polkadot/rpc-provider" "^10.7.3" "@polkadot/types" "^10.7.3" -"@gar/promisify@^1.0.1", "@gar/promisify@^1.1.3": - version "1.1.3" - resolved "https://registry.yarnpkg.com/@gar/promisify/-/promisify-1.1.3.tgz#555193ab2e3bb3b6adc3d551c9c030d9e860daf6" - integrity sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw== +"@grpc/grpc-js@^1.3.4": + version "1.10.9" + resolved "https://registry.yarnpkg.com/@grpc/grpc-js/-/grpc-js-1.10.9.tgz#468cc1549a3fe37b760a16745fb7685d91f4f10c" + integrity sha512-5tcgUctCG0qoNyfChZifz2tJqbRbXVO9J7X6duFcOjY3HUNCxg5D0ZCK7EP9vIcZ0zRpLU9bWkyCqVCLZ46IbQ== + dependencies: + "@grpc/proto-loader" "^0.7.13" + "@js-sdsl/ordered-map" "^4.4.2" + +"@grpc/proto-loader@^0.7.13": + version "0.7.13" + resolved "https://registry.yarnpkg.com/@grpc/proto-loader/-/proto-loader-0.7.13.tgz#f6a44b2b7c9f7b609f5748c6eac2d420e37670cf" + integrity sha512-AiXO/bfe9bmxBjxxtYxFAXGZvMaN5s8kO+jBHAJCON8rJoB5YS/D6X7ZNc6XQkuHNmyl4CYaMI1fJ/Gn27RGGw== + dependencies: + lodash.camelcase "^4.3.0" + long "^5.0.0" + protobufjs "^7.2.5" + yargs "^17.7.2" "@interlay/interbtc-types@^1.5.10": version "1.9.0" resolved "https://registry.yarnpkg.com/@interlay/interbtc-types/-/interbtc-types-1.9.0.tgz#beffd3b04bc1d9dba49f3ddc338b5867b81dec3d" integrity sha512-G/jOHXM6lqoFAPquESAxsjt5ETrmcPTDC36WFRWYpoRUfFxcjq6TkWGxUC5/RS6jIoWMQ6lEJZupmlm/QNdbAg== -"@ipld/dag-cbor@^6.0.5": +"@ipld/dag-cbor@^6.0.3", "@ipld/dag-cbor@^6.0.5": version "6.0.15" resolved "https://registry.yarnpkg.com/@ipld/dag-cbor/-/dag-cbor-6.0.15.tgz#aebe7a26c391cae98c32faedb681b1519e3d2372" integrity sha512-Vm3VTSTwlmGV92a3C5aeY+r2A18zbH2amehNhsX8PBa3muXICaWrN8Uri85A5hLH7D7ElhE8PdjxD6kNqUmTZA== @@ -659,6 +1991,22 @@ cborg "^1.5.4" multiformats "^9.5.4" +"@ipld/dag-cbor@^7.0.0": + version "7.0.3" + resolved "https://registry.yarnpkg.com/@ipld/dag-cbor/-/dag-cbor-7.0.3.tgz#aa31b28afb11a807c3d627828a344e5521ac4a1e" + integrity sha512-1VVh2huHsuohdXC1bGJNE8WR72slZ9XE2T3wbBBq31dm7ZBatmKLLxrB+XAqafxfRFjv08RZmj/W/ZqaM13AuA== + dependencies: + cborg "^1.6.0" + multiformats "^9.5.4" + +"@ipld/dag-json@^8.0.1": + version "8.0.11" + resolved "https://registry.yarnpkg.com/@ipld/dag-json/-/dag-json-8.0.11.tgz#8d30cc2dfacb0aef04d327465d3df91e79e8b6ce" + integrity sha512-Pea7JXeYHTWXRTIhBqBlhw7G53PJ7yta3G/sizGEZyzdeEwhZRr0od5IQ0r2ZxOt1Do+2czddjeEPp+YTxDwCA== + dependencies: + cborg "^1.5.4" + multiformats "^9.5.4" + "@ipld/dag-pb@^2.1.3": version "2.1.18" resolved "https://registry.yarnpkg.com/@ipld/dag-pb/-/dag-pb-2.1.18.tgz#12d63e21580e87c75fd1a2c62e375a78e355c16f" @@ -666,10 +2014,17 @@ dependencies: multiformats "^9.5.4" -"@isaacs/string-locale-compare@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@isaacs/string-locale-compare/-/string-locale-compare-1.1.0.tgz#291c227e93fd407a96ecd59879a35809120e432b" - integrity sha512-SQ7Kzhh9+D+ZW9MA0zkYv3VXhIDNx+LzM6EJ+/65I3QY+enU6Itte7E5XX7EWrqLW2FN4n06GWzBnPoC3th2aQ== +"@isaacs/cliui@^8.0.2": + version "8.0.2" + resolved "https://registry.yarnpkg.com/@isaacs/cliui/-/cliui-8.0.2.tgz#b37667b7bc181c168782259bab42474fbf52b550" + integrity sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA== + dependencies: + string-width "^5.1.2" + string-width-cjs "npm:string-width@^4.2.0" + strip-ansi "^7.0.1" + strip-ansi-cjs "npm:strip-ansi@^6.0.1" + wrap-ansi "^8.1.0" + wrap-ansi-cjs "npm:wrap-ansi@^7.0.0" "@istanbuljs/load-nyc-config@^1.0.0": version "1.1.0" @@ -810,6 +2165,13 @@ strip-ansi "^6.0.0" v8-to-istanbul "^9.0.1" +"@jest/schemas@^28.1.3": + version "28.1.3" + resolved "https://registry.yarnpkg.com/@jest/schemas/-/schemas-28.1.3.tgz#ad8b86a66f11f33619e3d7e1dcddd7f2d40ff905" + integrity sha512-/l/VWsdt/aBXgjshLWOFyFt3IVdYypu5y2Wn2rOO1un6nkqIn8SLXzgIMYXFyYsRWDyF5EthmKJMIdJvk08grg== + dependencies: + "@sinclair/typebox" "^0.24.1" + "@jest/schemas@^29.6.0": version "29.6.0" resolved "https://registry.yarnpkg.com/@jest/schemas/-/schemas-29.6.0.tgz#0f4cb2c8e3dca80c135507ba5635a4fd755b0040" @@ -846,6 +2208,27 @@ jest-haste-map "^29.6.2" slash "^3.0.0" +"@jest/transform@28.1.3": + version "28.1.3" + resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-28.1.3.tgz#59d8098e50ab07950e0f2fc0fc7ec462371281b0" + integrity sha512-u5dT5di+oFI6hfcLOHGTAfmUxFRrjK+vnaP0kkVow9Md/M7V/MxqQMOz/VV25UZO8pzeA9PjfTpOu6BDuwSPQA== + dependencies: + "@babel/core" "^7.11.6" + "@jest/types" "^28.1.3" + "@jridgewell/trace-mapping" "^0.3.13" + babel-plugin-istanbul "^6.1.1" + chalk "^4.0.0" + convert-source-map "^1.4.0" + fast-json-stable-stringify "^2.0.0" + graceful-fs "^4.2.9" + jest-haste-map "^28.1.3" + jest-regex-util "^28.0.2" + jest-util "^28.1.3" + micromatch "^4.0.4" + pirates "^4.0.4" + slash "^3.0.0" + write-file-atomic "^4.0.1" + "@jest/transform@^29.6.2": version "29.6.2" resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-29.6.2.tgz#522901ebbb211af08835bc3bcdf765ab778094e3" @@ -867,6 +2250,18 @@ slash "^3.0.0" write-file-atomic "^4.0.2" +"@jest/types@^28.1.3": + version "28.1.3" + resolved "https://registry.yarnpkg.com/@jest/types/-/types-28.1.3.tgz#b05de80996ff12512bc5ceb1d208285a7d11748b" + integrity sha512-RyjiyMUZrKz/c+zlMFO1pm70DcIlST8AeWTkoUdZevew44wcNZQHsEVOiCVtgVnlFFD82FPaXycys58cf2muVQ== + dependencies: + "@jest/schemas" "^28.1.3" + "@types/istanbul-lib-coverage" "^2.0.0" + "@types/istanbul-reports" "^3.0.0" + "@types/node" "*" + "@types/yargs" "^17.0.8" + chalk "^4.0.0" + "@jest/types@^29.6.1": version "29.6.1" resolved "https://registry.yarnpkg.com/@jest/types/-/types-29.6.1.tgz#ae79080278acff0a6af5eb49d063385aaa897bf2" @@ -897,16 +2292,35 @@ "@jridgewell/sourcemap-codec" "^1.4.10" "@jridgewell/trace-mapping" "^0.3.9" +"@jridgewell/gen-mapping@^0.3.5": + version "0.3.5" + resolved "https://registry.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz#dcce6aff74bdf6dad1a95802b69b04a2fcb1fb36" + integrity sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg== + dependencies: + "@jridgewell/set-array" "^1.2.1" + "@jridgewell/sourcemap-codec" "^1.4.10" + "@jridgewell/trace-mapping" "^0.3.24" + "@jridgewell/resolve-uri@3.1.0", "@jridgewell/resolve-uri@^3.0.3": version "3.1.0" resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz#2203b118c157721addfe69d47b70465463066d78" integrity sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w== +"@jridgewell/resolve-uri@^3.1.0": + version "3.1.2" + resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz#7a0ee601f60f99a20c7c7c5ff0c80388c1189bd6" + integrity sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw== + "@jridgewell/set-array@^1.0.1": version "1.1.2" resolved "https://registry.yarnpkg.com/@jridgewell/set-array/-/set-array-1.1.2.tgz#7c6cf998d6d20b914c0a55a91ae928ff25965e72" integrity sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw== +"@jridgewell/set-array@^1.2.1": + version "1.2.1" + resolved "https://registry.yarnpkg.com/@jridgewell/set-array/-/set-array-1.2.1.tgz#558fb6472ed16a4c850b889530e6b36438c49280" + integrity sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A== + "@jridgewell/source-map@^0.3.2": version "0.3.2" resolved "https://registry.yarnpkg.com/@jridgewell/source-map/-/source-map-0.3.2.tgz#f45351aaed4527a298512ec72f81040c998580fb" @@ -920,6 +2334,11 @@ resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz#add4c98d341472a289190b424efbdb096991bb24" integrity sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw== +"@jridgewell/sourcemap-codec@^1.4.14": + version "1.4.15" + resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz#d7c6e6755c78567a951e04ab52ef0fd26de59f32" + integrity sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg== + "@jridgewell/trace-mapping@0.3.9": version "0.3.9" resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz#6534fd5933a53ba7cbf3a17615e273a0d1273ff9" @@ -936,6 +2355,14 @@ "@jridgewell/resolve-uri" "3.1.0" "@jridgewell/sourcemap-codec" "1.4.14" +"@jridgewell/trace-mapping@^0.3.13", "@jridgewell/trace-mapping@^0.3.24", "@jridgewell/trace-mapping@^0.3.25": + version "0.3.25" + resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz#15f190e98895f3fc23276ee14bc76b675c2e50f0" + integrity sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ== + dependencies: + "@jridgewell/resolve-uri" "^3.1.0" + "@jridgewell/sourcemap-codec" "^1.4.14" + "@jridgewell/trace-mapping@^0.3.9": version "0.3.15" resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.15.tgz#aba35c48a38d3fd84b37e66c9c0423f9744f9774" @@ -944,6 +2371,16 @@ "@jridgewell/resolve-uri" "^3.0.3" "@jridgewell/sourcemap-codec" "^1.4.10" +"@js-sdsl/ordered-map@^4.4.2": + version "4.4.2" + resolved "https://registry.yarnpkg.com/@js-sdsl/ordered-map/-/ordered-map-4.4.2.tgz#9299f82874bab9e4c7f9c48d865becbfe8d6907c" + integrity sha512-iUKgm52T8HOE/makSxjqoWhe95ZJA1/G1sYsGev2JDKUSS14KAgg1LHb+Ba+IPow0xflbnSkOsZcO08C7w1gYw== + +"@jsdevtools/ono@^7.1.3": + version "7.1.3" + resolved "https://registry.yarnpkg.com/@jsdevtools/ono/-/ono-7.1.3.tgz#9df03bbd7c696a5c58885c34aa06da41c8543796" + integrity sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg== + "@kiltprotocol/type-definitions@^0.1.23": version "0.1.23" resolved "https://registry.yarnpkg.com/@kiltprotocol/type-definitions/-/type-definitions-0.1.23.tgz#c54475dad7849dc4654975da33590872fc9acdde" @@ -983,6 +2420,11 @@ dependencies: "@noble/hashes" "1.3.3" +"@noble/ed25519@^1.7.1": + version "1.7.3" + resolved "https://registry.yarnpkg.com/@noble/ed25519/-/ed25519-1.7.3.tgz#57e1677bf6885354b466c38e2b620c62f45a7123" + integrity sha512-iR8GBkDt0Q3GyaVcIu7mSsVIqnFbkbRzGLWlvhwunacoLwt4J3swfKhfaM6rN6WY+TBGoYT1GtT1mIh2/jGbRQ== + "@noble/hashes@1.0.0": version "1.0.0" resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.0.0.tgz#d5e38bfbdaba174805a4e649f13be9a9ed3351ae" @@ -1003,6 +2445,11 @@ resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.3.3.tgz#39908da56a4adc270147bb07968bf3b16cfe1699" integrity sha512-V7/fPHgl+jsVPXqqeOzT8egNj2iBIVt+ECeMMG8TdcnTikP3oaBtUVqpT/gYCR68aEBJSF+XbYUxStjbFMqIIA== +"@noble/hashes@^1.3.1", "@noble/hashes@~1.4.0": + version "1.4.0" + resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.4.0.tgz#45814aa329f30e4fe0ba49426f49dfccdd066426" + integrity sha512-V1JJ1WTRUqHHrOSh597hURcMqVKVGL/ea3kv0gSnEdsEZ0/+VyPghM1lMNGc00z7CIQorSvbKpuJkxvuHbvdbg== + "@noble/secp256k1@1.5.5": version "1.5.5" resolved "https://registry.yarnpkg.com/@noble/secp256k1/-/secp256k1-1.5.5.tgz#315ab5745509d1a8c8e90d0bdf59823ccf9bcfc3" @@ -1034,200 +2481,7 @@ "@nodelib/fs.scandir" "2.1.5" fastq "^1.6.0" -"@npmcli/arborist@^4.0.4": - version "4.3.1" - resolved "https://registry.yarnpkg.com/@npmcli/arborist/-/arborist-4.3.1.tgz#a08cddce3339882f688c1dea1651f6971e781c44" - integrity sha512-yMRgZVDpwWjplorzt9SFSaakWx6QIK248Nw4ZFgkrAy/GvJaFRaSZzE6nD7JBK5r8g/+PTxFq5Wj/sfciE7x+A== - dependencies: - "@isaacs/string-locale-compare" "^1.1.0" - "@npmcli/installed-package-contents" "^1.0.7" - "@npmcli/map-workspaces" "^2.0.0" - "@npmcli/metavuln-calculator" "^2.0.0" - "@npmcli/move-file" "^1.1.0" - "@npmcli/name-from-folder" "^1.0.1" - "@npmcli/node-gyp" "^1.0.3" - "@npmcli/package-json" "^1.0.1" - "@npmcli/run-script" "^2.0.0" - bin-links "^3.0.0" - cacache "^15.0.3" - common-ancestor-path "^1.0.1" - json-parse-even-better-errors "^2.3.1" - json-stringify-nice "^1.1.4" - mkdirp "^1.0.4" - mkdirp-infer-owner "^2.0.0" - npm-install-checks "^4.0.0" - npm-package-arg "^8.1.5" - npm-pick-manifest "^6.1.0" - npm-registry-fetch "^12.0.1" - pacote "^12.0.2" - parse-conflict-json "^2.0.1" - proc-log "^1.0.0" - promise-all-reject-late "^1.0.0" - promise-call-limit "^1.0.1" - read-package-json-fast "^2.0.2" - readdir-scoped-modules "^1.1.0" - rimraf "^3.0.2" - semver "^7.3.5" - ssri "^8.0.1" - treeverse "^1.0.4" - walk-up-path "^1.0.0" - -"@npmcli/fs@^1.0.0": - version "1.1.1" - resolved "https://registry.yarnpkg.com/@npmcli/fs/-/fs-1.1.1.tgz#72f719fe935e687c56a4faecf3c03d06ba593257" - integrity sha512-8KG5RD0GVP4ydEzRn/I4BNDuxDtqVbOdm8675T49OIG/NGhaK0pjPX7ZcDlvKYbA+ulvVK3ztfcF4uBdOxuJbQ== - dependencies: - "@gar/promisify" "^1.0.1" - semver "^7.3.5" - -"@npmcli/fs@^2.1.0": - version "2.1.2" - resolved "https://registry.yarnpkg.com/@npmcli/fs/-/fs-2.1.2.tgz#a9e2541a4a2fec2e69c29b35e6060973da79b865" - integrity sha512-yOJKRvohFOaLqipNtwYB9WugyZKhC/DZC4VYPmpaCzDBrA8YpK3qHZ8/HGscMnE4GqbkLNuVcCnxkeQEdGt6LQ== - dependencies: - "@gar/promisify" "^1.1.3" - semver "^7.3.5" - -"@npmcli/git@^2.1.0": - version "2.1.0" - resolved "https://registry.yarnpkg.com/@npmcli/git/-/git-2.1.0.tgz#2fbd77e147530247d37f325930d457b3ebe894f6" - integrity sha512-/hBFX/QG1b+N7PZBFs0bi+evgRZcK9nWBxQKZkGoXUT5hJSwl5c4d7y8/hm+NQZRPhQ67RzFaj5UM9YeyKoryw== - dependencies: - "@npmcli/promise-spawn" "^1.3.2" - lru-cache "^6.0.0" - mkdirp "^1.0.4" - npm-pick-manifest "^6.1.1" - promise-inflight "^1.0.1" - promise-retry "^2.0.1" - semver "^7.3.5" - which "^2.0.2" - -"@npmcli/installed-package-contents@^1.0.6", "@npmcli/installed-package-contents@^1.0.7": - version "1.0.7" - resolved "https://registry.yarnpkg.com/@npmcli/installed-package-contents/-/installed-package-contents-1.0.7.tgz#ab7408c6147911b970a8abe261ce512232a3f4fa" - integrity sha512-9rufe0wnJusCQoLpV9ZPKIVP55itrM5BxOXs10DmdbRfgWtHy1LDyskbwRnBghuB0PrF7pNPOqREVtpz4HqzKw== - dependencies: - npm-bundled "^1.1.1" - npm-normalize-package-bin "^1.0.1" - -"@npmcli/map-workspaces@^2.0.0": - version "2.0.4" - resolved "https://registry.yarnpkg.com/@npmcli/map-workspaces/-/map-workspaces-2.0.4.tgz#9e5e8ab655215a262aefabf139782b894e0504fc" - integrity sha512-bMo0aAfwhVwqoVM5UzX1DJnlvVvzDCHae821jv48L1EsrYwfOZChlqWYXEtto/+BkBXetPbEWgau++/brh4oVg== - dependencies: - "@npmcli/name-from-folder" "^1.0.1" - glob "^8.0.1" - minimatch "^5.0.1" - read-package-json-fast "^2.0.3" - -"@npmcli/metavuln-calculator@^2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@npmcli/metavuln-calculator/-/metavuln-calculator-2.0.0.tgz#70937b8b5a5cad5c588c8a7b38c4a8bd6f62c84c" - integrity sha512-VVW+JhWCKRwCTE+0xvD6p3uV4WpqocNYYtzyvenqL/u1Q3Xx6fGTJ+6UoIoii07fbuEO9U3IIyuGY0CYHDv1sg== - dependencies: - cacache "^15.0.5" - json-parse-even-better-errors "^2.3.1" - pacote "^12.0.0" - semver "^7.3.2" - -"@npmcli/move-file@^1.0.1", "@npmcli/move-file@^1.1.0": - version "1.1.2" - resolved "https://registry.yarnpkg.com/@npmcli/move-file/-/move-file-1.1.2.tgz#1a82c3e372f7cae9253eb66d72543d6b8685c674" - integrity sha512-1SUf/Cg2GzGDyaf15aR9St9TWlb+XvbZXWpDx8YKs7MLzMH/BCeopv+y9vzrzgkfykCGuWOlSu3mZhj2+FQcrg== - dependencies: - mkdirp "^1.0.4" - rimraf "^3.0.2" - -"@npmcli/move-file@^2.0.0": - version "2.0.1" - resolved "https://registry.yarnpkg.com/@npmcli/move-file/-/move-file-2.0.1.tgz#26f6bdc379d87f75e55739bab89db525b06100e4" - integrity sha512-mJd2Z5TjYWq/ttPLLGqArdtnC74J6bOzg4rMDnN+p1xTacZ2yPRCk2y0oSWQtygLR9YVQXgOcONrwtnk3JupxQ== - dependencies: - mkdirp "^1.0.4" - rimraf "^3.0.2" - -"@npmcli/name-from-folder@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@npmcli/name-from-folder/-/name-from-folder-1.0.1.tgz#77ecd0a4fcb772ba6fe927e2e2e155fbec2e6b1a" - integrity sha512-qq3oEfcLFwNfEYOQ8HLimRGKlD8WSeGEdtUa7hmzpR8Sa7haL1KVQrvgO6wqMjhWFFVjgtrh1gIxDz+P8sjUaA== - -"@npmcli/node-gyp@^1.0.2", "@npmcli/node-gyp@^1.0.3": - version "1.0.3" - resolved "https://registry.yarnpkg.com/@npmcli/node-gyp/-/node-gyp-1.0.3.tgz#a912e637418ffc5f2db375e93b85837691a43a33" - integrity sha512-fnkhw+fmX65kiLqk6E3BFLXNC26rUhK90zVwe2yncPliVT/Qos3xjhTLE59Df8KnPlcwIERXKVlU1bXoUQ+liA== - -"@npmcli/package-json@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@npmcli/package-json/-/package-json-1.0.1.tgz#1ed42f00febe5293c3502fd0ef785647355f6e89" - integrity sha512-y6jnu76E9C23osz8gEMBayZmaZ69vFOIk8vR1FJL/wbEJ54+9aVG9rLTjQKSXfgYZEr50nw1txBBFfBZZe+bYg== - dependencies: - json-parse-even-better-errors "^2.3.1" - -"@npmcli/promise-spawn@^1.2.0", "@npmcli/promise-spawn@^1.3.2": - version "1.3.2" - resolved "https://registry.yarnpkg.com/@npmcli/promise-spawn/-/promise-spawn-1.3.2.tgz#42d4e56a8e9274fba180dabc0aea6e38f29274f5" - integrity sha512-QyAGYo/Fbj4MXeGdJcFzZ+FkDkomfRBrPM+9QYJSg+PxgAUL+LU3FneQk37rKR2/zjqkCV1BLHccX98wRXG3Sg== - dependencies: - infer-owner "^1.0.4" - -"@npmcli/run-script@^2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@npmcli/run-script/-/run-script-2.0.0.tgz#9949c0cab415b17aaac279646db4f027d6f1e743" - integrity sha512-fSan/Pu11xS/TdaTpTB0MRn9guwGU8dye+x56mEVgBEd/QsybBbYcAL0phPXi8SGWFEChkQd6M9qL4y6VOpFig== - dependencies: - "@npmcli/node-gyp" "^1.0.2" - "@npmcli/promise-spawn" "^1.3.2" - node-gyp "^8.2.0" - read-package-json-fast "^2.0.1" - -"@oclif/color@^1.0.0": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@oclif/color/-/color-1.0.1.tgz#20ab9205e0924c6388918a88874e1f4b32df9970" - integrity sha512-qjYr+izgWdIVOroiBKqTzQgc1r5Wd9QB1J7yGM2EeelqhBARiiVLRZL45vhV4zdyTRdDkZS0EBzFwQap+nliLA== - dependencies: - ansi-styles "^4.2.1" - chalk "^4.1.0" - strip-ansi "^6.0.1" - supports-color "^8.1.1" - tslib "^2" - -"@oclif/command@^1.8.15", "@oclif/command@^1.8.16": - version "1.8.16" - resolved "https://registry.yarnpkg.com/@oclif/command/-/command-1.8.16.tgz#bea46f81b2061b47e1cda318a0b923e62ca4cc0c" - integrity sha512-rmVKYEsKzurfRU0xJz+iHelbi1LGlihIWZ7Qvmb/CBz1EkhL7nOkW4SVXmG2dA5Ce0si2gr88i6q4eBOMRNJ1w== - dependencies: - "@oclif/config" "^1.18.2" - "@oclif/errors" "^1.3.5" - "@oclif/help" "^1.0.1" - "@oclif/parser" "^3.8.6" - debug "^4.1.1" - semver "^7.3.2" - -"@oclif/config@1.18.2": - version "1.18.2" - resolved "https://registry.yarnpkg.com/@oclif/config/-/config-1.18.2.tgz#5bfe74a9ba6a8ca3dceb314a81bd9ce2e15ebbfe" - integrity sha512-cE3qfHWv8hGRCP31j7fIS7BfCflm/BNZ2HNqHexH+fDrdF2f1D5S8VmXWLC77ffv3oDvWyvE9AZeR0RfmHCCaA== - dependencies: - "@oclif/errors" "^1.3.3" - "@oclif/parser" "^3.8.0" - debug "^4.1.1" - globby "^11.0.1" - is-wsl "^2.1.1" - tslib "^2.0.0" - -"@oclif/config@^1.18.2", "@oclif/config@^1.18.3": - version "1.18.3" - resolved "https://registry.yarnpkg.com/@oclif/config/-/config-1.18.3.tgz#ddfc144fdab66b1658c2f1b3478fa7fbfd317e79" - integrity sha512-sBpko86IrTscc39EvHUhL+c++81BVTsIZ3ETu/vG+cCdi0N6vb2DoahR67A9FI2CGnxRRHjnTfa3m6LulwNATA== - dependencies: - "@oclif/errors" "^1.3.5" - "@oclif/parser" "^3.8.0" - debug "^4.1.1" - globby "^11.0.1" - is-wsl "^2.1.1" - tslib "^2.3.1" - -"@oclif/core@^1.0.8", "@oclif/core@^1.1.1", "@oclif/core@^1.2.1", "@oclif/core@^1.3.3", "@oclif/core@^1.3.6", "@oclif/core@^1.6.4": +"@oclif/core@^1.1.1": version "1.16.1" resolved "https://registry.yarnpkg.com/@oclif/core/-/core-1.16.1.tgz#39663c903f859f8e37b375d7466b92b4394e1c8d" integrity sha512-MfzgqcWzWymndd934pd52JAwy0RIgWWYnC0Ed7bxUVYWF4HFb3KmsE7x9/QBP9392Q14vxXi2GNLHboM/5vaDA== @@ -1261,204 +2515,54 @@ widest-line "^3.1.0" wrap-ansi "^7.0.0" -"@oclif/errors@1.3.5", "@oclif/errors@^1.3.3", "@oclif/errors@^1.3.5": - version "1.3.5" - resolved "https://registry.yarnpkg.com/@oclif/errors/-/errors-1.3.5.tgz#a1e9694dbeccab10fe2fe15acb7113991bed636c" - integrity sha512-OivucXPH/eLLlOT7FkCMoZXiaVYf8I/w1eTAM1+gKzfhALwWTusxEx7wBmW0uzvkSg/9ovWLycPaBgJbM3LOCQ== - dependencies: - clean-stack "^3.0.0" - fs-extra "^8.1" - indent-string "^4.0.0" - strip-ansi "^6.0.0" - wrap-ansi "^7.0.0" - -"@oclif/help@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@oclif/help/-/help-1.0.1.tgz#fd96a3dd9fb2314479e6c8584c91b63754a7dff5" - integrity sha512-8rsl4RHL5+vBUAKBL6PFI3mj58hjPCp2VYyXD4TAa7IMStikFfOH2gtWmqLzIlxAED2EpD0dfYwo9JJxYsH7Aw== - dependencies: - "@oclif/config" "1.18.2" - "@oclif/errors" "1.3.5" - chalk "^4.1.2" - indent-string "^4.0.0" - lodash "^4.17.21" - string-width "^4.2.0" - strip-ansi "^6.0.0" - widest-line "^3.1.0" - wrap-ansi "^6.2.0" - -"@oclif/linewrap@^1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@oclif/linewrap/-/linewrap-1.0.0.tgz#aedcb64b479d4db7be24196384897b5000901d91" - integrity sha512-Ups2dShK52xXa8w6iBWLgcjPJWjais6KPJQq3gQ/88AY6BXoTX+MIGFPrWQO1KLMiQfoTpcLnUwloN4brrVUHw== - -"@oclif/parser@^3.8.0", "@oclif/parser@^3.8.6": - version "3.8.7" - resolved "https://registry.yarnpkg.com/@oclif/parser/-/parser-3.8.7.tgz#236d48db05d0b00157d3b42d31f9dac7550d2a7c" - integrity sha512-b11xBmIUK+LuuwVGJpFs4LwQN2xj2cBWj2c4z1FtiXGrJ85h9xV6q+k136Hw0tGg1jQoRXuvuBnqQ7es7vO9/Q== +"@oclif/core@^2.15.0": + version "2.16.0" + resolved "https://registry.yarnpkg.com/@oclif/core/-/core-2.16.0.tgz#e6f3c6c359d4313a15403d8652bbdd0e99ce4b3a" + integrity sha512-dL6atBH0zCZl1A1IXCKJgLPrM/wR7K+Wi401E/IvqsK8m2iCHW+0TEOGrans/cuN3oTW+uxIyJFHJ8Im0k4qBw== dependencies: - "@oclif/errors" "^1.3.5" - "@oclif/linewrap" "^1.0.0" - chalk "^4.1.0" - tslib "^2.3.1" - -"@oclif/plugin-help@^3.2.3": - version "3.3.1" - resolved "https://registry.yarnpkg.com/@oclif/plugin-help/-/plugin-help-3.3.1.tgz#36adb4e0173f741df409bb4b69036d24a53bfb24" - integrity sha512-QuSiseNRJygaqAdABYFWn/H1CwIZCp9zp/PLid6yXvy6VcQV7OenEFF5XuYaCvSARe2Tg9r8Jqls5+fw1A9CbQ== - dependencies: - "@oclif/command" "^1.8.15" - "@oclif/config" "1.18.2" - "@oclif/errors" "1.3.5" - "@oclif/help" "^1.0.1" + "@types/cli-progress" "^3.11.0" + ansi-escapes "^4.3.2" + ansi-styles "^4.3.0" + cardinal "^2.1.1" chalk "^4.1.2" + clean-stack "^3.0.1" + cli-progress "^3.12.0" + debug "^4.3.4" + ejs "^3.1.8" + get-package-type "^0.1.0" + globby "^11.1.0" + hyperlinker "^1.0.0" indent-string "^4.0.0" - lodash "^4.17.21" - string-width "^4.2.0" - strip-ansi "^6.0.0" - widest-line "^3.1.0" - wrap-ansi "^6.2.0" - -"@oclif/plugin-help@^5.1.11": - version "5.1.12" - resolved "https://registry.yarnpkg.com/@oclif/plugin-help/-/plugin-help-5.1.12.tgz#24a18631eb9b22cb55e1a3b8e4f6039fd42727e6" - integrity sha512-HvH/RubJxqCinP0vUWQLTOboT+SfjfL8h40s+PymkWaldIcXlpoRaJX50vz+SjZIs7uewZwEk8fzLqpF/BWXlg== - dependencies: - "@oclif/core" "^1.3.6" - -"@oclif/plugin-not-found@^2.3.1": - version "2.3.1" - resolved "https://registry.yarnpkg.com/@oclif/plugin-not-found/-/plugin-not-found-2.3.1.tgz#8fe1019fdeeb77be055314662bb9180808222e80" - integrity sha512-AeNBw+zSkRpePmpXO8xlL072VF2/R2yK3qsVs/JF26Yw1w77TWuRTdFR+hFotJtFCJ4QYqhNtKSjdryCO9AXsA== - dependencies: - "@oclif/color" "^1.0.0" - "@oclif/core" "^1.2.1" - fast-levenshtein "^3.0.0" - lodash "^4.17.21" - -"@oclif/plugin-warn-if-update-available@^2.0.4": - version "2.0.4" - resolved "https://registry.yarnpkg.com/@oclif/plugin-warn-if-update-available/-/plugin-warn-if-update-available-2.0.4.tgz#3d509ca2394cccf65e6622be812d7be4065a60aa" - integrity sha512-9dprC1CWPjesg0Vf/rDSQH2tzJXhP1ow84cb2My1kj6e6ESulPKpctiCFSZ1WaCQFfq+crKhzlNoP/vRaXNUAg== - dependencies: - "@oclif/core" "^1.0.8" - chalk "^4.1.0" - debug "^4.1.0" - fs-extra "^9.0.1" - http-call "^5.2.2" - lodash "^4.17.21" - semver "^7.3.2" - -"@oclif/screen@^1.0.4 ": - version "1.0.4" - resolved "https://registry.yarnpkg.com/@oclif/screen/-/screen-1.0.4.tgz#b740f68609dfae8aa71c3a6cab15d816407ba493" - integrity sha512-60CHpq+eqnTxLZQ4PGHYNwUX572hgpMHGPtTWMjdTMsAvlm69lZV/4ly6O3sAYkomo4NggGcomrDpBe34rxUqw== - -"@oclif/screen@^3.0.2": - version "3.0.2" - resolved "https://registry.yarnpkg.com/@oclif/screen/-/screen-3.0.2.tgz#969054308fe98d130c02844a45cc792199b75670" - integrity sha512-S/SF/XYJeevwIgHFmVDAFRUvM3m+OjhvCAYMk78ZJQCYCQ5wS7j+LTt1ZEv2jpEEGg2tx/F6TYYWxddNAYHrFQ== - -"@octokit/auth-token@^2.4.4": - version "2.5.0" - resolved "https://registry.yarnpkg.com/@octokit/auth-token/-/auth-token-2.5.0.tgz#27c37ea26c205f28443402477ffd261311f21e36" - integrity sha512-r5FVUJCOLl19AxiuZD2VRZ/ORjp/4IN98Of6YJoJOkY75CIBuYfmiNHGrDwXr+aLGG55igl9QrxX3hbiXlLb+g== - dependencies: - "@octokit/types" "^6.0.3" - -"@octokit/core@^3.5.1": - version "3.6.0" - resolved "https://registry.yarnpkg.com/@octokit/core/-/core-3.6.0.tgz#3376cb9f3008d9b3d110370d90e0a1fcd5fe6085" - integrity sha512-7RKRKuA4xTjMhY+eG3jthb3hlZCsOwg3rztWh75Xc+ShDWOfDDATWbeZpAHBNRpm4Tv9WgBMOy1zEJYXG6NJ7Q== - dependencies: - "@octokit/auth-token" "^2.4.4" - "@octokit/graphql" "^4.5.8" - "@octokit/request" "^5.6.3" - "@octokit/request-error" "^2.0.5" - "@octokit/types" "^6.0.3" - before-after-hook "^2.2.0" - universal-user-agent "^6.0.0" - -"@octokit/endpoint@^6.0.1": - version "6.0.12" - resolved "https://registry.yarnpkg.com/@octokit/endpoint/-/endpoint-6.0.12.tgz#3b4d47a4b0e79b1027fb8d75d4221928b2d05658" - integrity sha512-lF3puPwkQWGfkMClXb4k/eUT/nZKQfxinRWJrdZaJO85Dqwo/G0yOC434Jr2ojwafWJMYqFGFa5ms4jJUgujdA== - dependencies: - "@octokit/types" "^6.0.3" - is-plain-object "^5.0.0" - universal-user-agent "^6.0.0" - -"@octokit/graphql@^4.5.8": - version "4.8.0" - resolved "https://registry.yarnpkg.com/@octokit/graphql/-/graphql-4.8.0.tgz#664d9b11c0e12112cbf78e10f49a05959aa22cc3" - integrity sha512-0gv+qLSBLKF0z8TKaSKTsS39scVKF9dbMxJpj3U0vC7wjNWFuIpL/z76Qe2fiuCbDRcJSavkXsVtMS6/dtQQsg== - dependencies: - "@octokit/request" "^5.6.0" - "@octokit/types" "^6.0.3" - universal-user-agent "^6.0.0" - -"@octokit/openapi-types@^12.11.0": - version "12.11.0" - resolved "https://registry.yarnpkg.com/@octokit/openapi-types/-/openapi-types-12.11.0.tgz#da5638d64f2b919bca89ce6602d059f1b52d3ef0" - integrity sha512-VsXyi8peyRq9PqIz/tpqiL2w3w80OgVMwBHltTml3LmVvXiphgeqmY9mvBw9Wu7e0QWk/fqD37ux8yP5uVekyQ== - -"@octokit/plugin-paginate-rest@^2.16.8": - version "2.21.3" - resolved "https://registry.yarnpkg.com/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-2.21.3.tgz#7f12532797775640dbb8224da577da7dc210c87e" - integrity sha512-aCZTEf0y2h3OLbrgKkrfFdjRL6eSOo8komneVQJnYecAxIej7Bafor2xhuDJOIFau4pk0i/P28/XgtbyPF0ZHw== - dependencies: - "@octokit/types" "^6.40.0" - -"@octokit/plugin-request-log@^1.0.4": - version "1.0.4" - resolved "https://registry.yarnpkg.com/@octokit/plugin-request-log/-/plugin-request-log-1.0.4.tgz#5e50ed7083a613816b1e4a28aeec5fb7f1462e85" - integrity sha512-mLUsMkgP7K/cnFEw07kWqXGF5LKrOkD+lhCrKvPHXWDywAwuDUeDwWBpc69XK3pNX0uKiVt8g5z96PJ6z9xCFA== - -"@octokit/plugin-rest-endpoint-methods@^5.12.0": - version "5.16.2" - resolved "https://registry.yarnpkg.com/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-5.16.2.tgz#7ee8bf586df97dd6868cf68f641354e908c25342" - integrity sha512-8QFz29Fg5jDuTPXVtey05BLm7OB+M8fnvE64RNegzX7U+5NUXcOcnpTIK0YfSHBg8gYd0oxIq3IZTe9SfPZiRw== - dependencies: - "@octokit/types" "^6.39.0" - deprecation "^2.3.1" - -"@octokit/request-error@^2.0.5", "@octokit/request-error@^2.1.0": - version "2.1.0" - resolved "https://registry.yarnpkg.com/@octokit/request-error/-/request-error-2.1.0.tgz#9e150357831bfc788d13a4fd4b1913d60c74d677" - integrity sha512-1VIvgXxs9WHSjicsRwq8PlR2LR2x6DwsJAaFgzdi0JfJoGSO8mYI/cHJQ+9FbN21aa+DrgNLnwObmyeSC8Rmpg== - dependencies: - "@octokit/types" "^6.0.3" - deprecation "^2.0.0" - once "^1.4.0" + is-wsl "^2.2.0" + js-yaml "^3.14.1" + natural-orderby "^2.0.3" + object-treeify "^1.1.33" + password-prompt "^1.1.2" + slice-ansi "^4.0.0" + string-width "^4.2.3" + strip-ansi "^6.0.1" + supports-color "^8.1.1" + supports-hyperlinks "^2.2.0" + ts-node "^10.9.1" + tslib "^2.5.0" + widest-line "^3.1.0" + wordwrap "^1.0.0" + wrap-ansi "^7.0.0" -"@octokit/request@^5.6.0", "@octokit/request@^5.6.3": - version "5.6.3" - resolved "https://registry.yarnpkg.com/@octokit/request/-/request-5.6.3.tgz#19a022515a5bba965ac06c9d1334514eb50c48b0" - integrity sha512-bFJl0I1KVc9jYTe9tdGGpAMPy32dLBXXo1dS/YwSCTL/2nd9XeHsY616RE3HPXDVk+a+dBuzyz5YdlXwcDTr2A== - dependencies: - "@octokit/endpoint" "^6.0.1" - "@octokit/request-error" "^2.1.0" - "@octokit/types" "^6.16.1" - is-plain-object "^5.0.0" - node-fetch "^2.6.7" - universal-user-agent "^6.0.0" +"@oclif/linewrap@^1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@oclif/linewrap/-/linewrap-1.0.0.tgz#aedcb64b479d4db7be24196384897b5000901d91" + integrity sha512-Ups2dShK52xXa8w6iBWLgcjPJWjais6KPJQq3gQ/88AY6BXoTX+MIGFPrWQO1KLMiQfoTpcLnUwloN4brrVUHw== -"@octokit/rest@^18.0.6": - version "18.12.0" - resolved "https://registry.yarnpkg.com/@octokit/rest/-/rest-18.12.0.tgz#f06bc4952fc87130308d810ca9d00e79f6988881" - integrity sha512-gDPiOHlyGavxr72y0guQEhLsemgVjwRePayJ+FcKc2SJqKUbxbkvf5kAZEWA/MKvsfYlQAMVzNJE3ezQcxMJ2Q== - dependencies: - "@octokit/core" "^3.5.1" - "@octokit/plugin-paginate-rest" "^2.16.8" - "@octokit/plugin-request-log" "^1.0.4" - "@octokit/plugin-rest-endpoint-methods" "^5.12.0" +"@oclif/screen@^1.0.4 ": + version "1.0.4" + resolved "https://registry.yarnpkg.com/@oclif/screen/-/screen-1.0.4.tgz#b740f68609dfae8aa71c3a6cab15d816407ba493" + integrity sha512-60CHpq+eqnTxLZQ4PGHYNwUX572hgpMHGPtTWMjdTMsAvlm69lZV/4ly6O3sAYkomo4NggGcomrDpBe34rxUqw== -"@octokit/types@^6.0.3", "@octokit/types@^6.16.1", "@octokit/types@^6.39.0", "@octokit/types@^6.40.0": - version "6.41.0" - resolved "https://registry.yarnpkg.com/@octokit/types/-/types-6.41.0.tgz#e58ef78d78596d2fb7df9c6259802464b5f84a04" - integrity sha512-eJ2jbzjdijiL3B4PrSQaSjuF2sPEQPVCPzBvTHJD9Nz+9dw2SGH4K4xeQJ77YfTq5bRQ+bD8wT11JbeDPmxmGg== - dependencies: - "@octokit/openapi-types" "^12.11.0" +"@oclif/screen@^3.0.2": + version "3.0.2" + resolved "https://registry.yarnpkg.com/@oclif/screen/-/screen-3.0.2.tgz#969054308fe98d130c02844a45cc792199b75670" + integrity sha512-S/SF/XYJeevwIgHFmVDAFRUvM3m+OjhvCAYMk78ZJQCYCQ5wS7j+LTt1ZEv2jpEEGg2tx/F6TYYWxddNAYHrFQ== "@open-web3/orml-type-definitions@^0.9.4-38", "@open-web3/orml-type-definitions@^0.9.4-7": version "0.9.4-38" @@ -1493,18 +2597,58 @@ resolved "https://registry.yarnpkg.com/@phala/typedefs/-/typedefs-0.2.31.tgz#35921c4532f9870392ec7bec8a3084783f84ce5d" integrity sha512-syWQSM1IsBjNCwxnwa+nKbKn13yEWUgFcrmyx8TI7cOLSghD0fKpcpKc83IjRQVxMXCW15WwG2lN3ikWAKenUQ== -"@polkadot/api-augment@10.11.2": - version "10.11.2" - resolved "https://registry.yarnpkg.com/@polkadot/api-augment/-/api-augment-10.11.2.tgz#9ea6f3a25edb61a03d571f06f6ec87ced6d29a2a" - integrity sha512-PTpnqpezc75qBqUtgrc0GYB8h9UHjfbHSRZamAbecIVAJ2/zc6CqtnldeaBlIu1IKTgBzi3FFtTyYu+ZGbNT2Q== +"@pkgjs/parseargs@^0.11.0": + version "0.11.0" + resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33" + integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg== + +"@polkadot-api/json-rpc-provider-proxy@0.0.1": + version "0.0.1" + resolved "https://registry.yarnpkg.com/@polkadot-api/json-rpc-provider-proxy/-/json-rpc-provider-proxy-0.0.1.tgz#bb5c943642cdf0ec7bc48c0a2647558b9fcd7bdb" + integrity sha512-gmVDUP8LpCH0BXewbzqXF2sdHddq1H1q+XrAW2of+KZj4woQkIGBRGTJHeBEVHe30EB+UejR1N2dT4PO/RvDdg== + +"@polkadot-api/json-rpc-provider@0.0.1": + version "0.0.1" + resolved "https://registry.yarnpkg.com/@polkadot-api/json-rpc-provider/-/json-rpc-provider-0.0.1.tgz#333645d40ccd9bccfd1f32503f17e4e63e76e297" + integrity sha512-/SMC/l7foRjpykLTUTacIH05H3mr9ip8b5xxfwXlVezXrNVLp3Cv0GX6uItkKd+ZjzVPf3PFrDF2B2/HLSNESA== + +"@polkadot-api/metadata-builders@0.0.1": + version "0.0.1" + resolved "https://registry.yarnpkg.com/@polkadot-api/metadata-builders/-/metadata-builders-0.0.1.tgz#a76b48febef9ea72be8273d889e2677101045a05" + integrity sha512-GCI78BHDzXAF/L2pZD6Aod/yl82adqQ7ftNmKg51ixRL02JpWUA+SpUKTJE5MY1p8kiJJIo09P2um24SiJHxNA== dependencies: - "@polkadot/api-base" "10.11.2" - "@polkadot/rpc-augment" "10.11.2" - "@polkadot/types" "10.11.2" - "@polkadot/types-augment" "10.11.2" - "@polkadot/types-codec" "10.11.2" - "@polkadot/util" "^12.6.2" - tslib "^2.6.2" + "@polkadot-api/substrate-bindings" "0.0.1" + "@polkadot-api/utils" "0.0.1" + +"@polkadot-api/observable-client@0.1.0": + version "0.1.0" + resolved "https://registry.yarnpkg.com/@polkadot-api/observable-client/-/observable-client-0.1.0.tgz#472045ea06a2bc4bccdc2db5c063eadcbf6f5351" + integrity sha512-GBCGDRztKorTLna/unjl/9SWZcRmvV58o9jwU2Y038VuPXZcr01jcw/1O3x+yeAuwyGzbucI/mLTDa1QoEml3A== + dependencies: + "@polkadot-api/metadata-builders" "0.0.1" + "@polkadot-api/substrate-bindings" "0.0.1" + "@polkadot-api/substrate-client" "0.0.1" + "@polkadot-api/utils" "0.0.1" + +"@polkadot-api/substrate-bindings@0.0.1": + version "0.0.1" + resolved "https://registry.yarnpkg.com/@polkadot-api/substrate-bindings/-/substrate-bindings-0.0.1.tgz#c4b7f4d6c3672d2c15cbc6c02964f014b73cbb0b" + integrity sha512-bAe7a5bOPnuFVmpv7y4BBMRpNTnMmE0jtTqRUw/+D8ZlEHNVEJQGr4wu3QQCl7k1GnSV1wfv3mzIbYjErEBocg== + dependencies: + "@noble/hashes" "^1.3.1" + "@polkadot-api/utils" "0.0.1" + "@scure/base" "^1.1.1" + scale-ts "^1.6.0" + +"@polkadot-api/substrate-client@0.0.1": + version "0.0.1" + resolved "https://registry.yarnpkg.com/@polkadot-api/substrate-client/-/substrate-client-0.0.1.tgz#0e8010a0abe2fb47d6fa7ab94e45e1d0de083314" + integrity sha512-9Bg9SGc3AwE+wXONQoW8GC00N3v6lCZLW74HQzqB6ROdcm5VAHM4CB/xRzWSUF9CXL78ugiwtHx3wBcpx4H4Wg== + +"@polkadot-api/utils@0.0.1": + version "0.0.1" + resolved "https://registry.yarnpkg.com/@polkadot-api/utils/-/utils-0.0.1.tgz#908b22becac705149d7cc946532143d0fb003bfc" + integrity sha512-3j+pRmlF9SgiYDabSdZsBSsN5XHbpXOAce1lWj56IEEaFZVjsiCaxDOA7C9nCcgfVXuvnbxqqEGQvnY+QfBAUw== "@polkadot/api-augment@10.9.1": version "10.9.1" @@ -1519,6 +2663,19 @@ "@polkadot/util" "^12.3.1" tslib "^2.5.3" +"@polkadot/api-augment@11.2.1": + version "11.2.1" + resolved "https://registry.yarnpkg.com/@polkadot/api-augment/-/api-augment-11.2.1.tgz#23168ead387f731136f6e8a86f30b89707603efc" + integrity sha512-Huo457lCqeavbrf1O/2qQYGNFWURLXndW4vNkj8AP+I757WIqebhc6K3+mz+KoV1aTsX/qwaiEgeoTjrrIwcqA== + dependencies: + "@polkadot/api-base" "11.2.1" + "@polkadot/rpc-augment" "11.2.1" + "@polkadot/types" "11.2.1" + "@polkadot/types-augment" "11.2.1" + "@polkadot/types-codec" "11.2.1" + "@polkadot/util" "^12.6.2" + tslib "^2.6.2" + "@polkadot/api-augment@9.3.3": version "9.3.3" resolved "https://registry.yarnpkg.com/@polkadot/api-augment/-/api-augment-9.3.3.tgz#417ec6f5bc511ce0a58e67d7731ca6a5359cfce1" @@ -1532,17 +2689,6 @@ "@polkadot/types-codec" "9.3.3" "@polkadot/util" "^10.1.7" -"@polkadot/api-base@10.11.2": - version "10.11.2" - resolved "https://registry.yarnpkg.com/@polkadot/api-base/-/api-base-10.11.2.tgz#135de5ab83769a1fd3ad9f845f27338a65b0ffe3" - integrity sha512-4LIjaUfO9nOzilxo7XqzYKCNMtmUypdk8oHPdrRnSjKEsnK7vDsNi+979z2KXNXd2KFSCFHENmI523fYnMnReg== - dependencies: - "@polkadot/rpc-core" "10.11.2" - "@polkadot/types" "10.11.2" - "@polkadot/util" "^12.6.2" - rxjs "^7.8.1" - tslib "^2.6.2" - "@polkadot/api-base@10.9.1": version "10.9.1" resolved "https://registry.yarnpkg.com/@polkadot/api-base/-/api-base-10.9.1.tgz#27f63c4950814c2f10535f794121fa1384dc2207" @@ -1554,6 +2700,17 @@ rxjs "^7.8.1" tslib "^2.5.3" +"@polkadot/api-base@11.2.1": + version "11.2.1" + resolved "https://registry.yarnpkg.com/@polkadot/api-base/-/api-base-11.2.1.tgz#d22dce1a74840a21632b9007e45c2b4e1af84431" + integrity sha512-lVYTHQf8S4rpOJ9d1jvQjviHLE6zljl13vmgs+gXHGJwMAqhhNwKY3ZMQW/u/bRE2uKk0cAlahtsRtiFpjHAfw== + dependencies: + "@polkadot/rpc-core" "11.2.1" + "@polkadot/types" "11.2.1" + "@polkadot/util" "^12.6.2" + rxjs "^7.8.1" + tslib "^2.6.2" + "@polkadot/api-base@9.3.3": version "9.3.3" resolved "https://registry.yarnpkg.com/@polkadot/api-base/-/api-base-9.3.3.tgz#199de102d615e0042a8a673078a6a03c7a35d134" @@ -1565,22 +2722,6 @@ "@polkadot/util" "^10.1.7" rxjs "^7.5.6" -"@polkadot/api-derive@10.11.2", "@polkadot/api-derive@^10.11.2": - version "10.11.2" - resolved "https://registry.yarnpkg.com/@polkadot/api-derive/-/api-derive-10.11.2.tgz#eb9e3f681ef3dda88ee2dfa538a6bded937de77e" - integrity sha512-m3BQbPionkd1iSlknddxnL2hDtolPIsT+aRyrtn4zgMRPoLjHFmTmovvg8RaUyYofJtZeYrnjMw0mdxiSXx7eA== - dependencies: - "@polkadot/api" "10.11.2" - "@polkadot/api-augment" "10.11.2" - "@polkadot/api-base" "10.11.2" - "@polkadot/rpc-core" "10.11.2" - "@polkadot/types" "10.11.2" - "@polkadot/types-codec" "10.11.2" - "@polkadot/util" "^12.6.2" - "@polkadot/util-crypto" "^12.6.2" - rxjs "^7.8.1" - tslib "^2.6.2" - "@polkadot/api-derive@10.9.1": version "10.9.1" resolved "https://registry.yarnpkg.com/@polkadot/api-derive/-/api-derive-10.9.1.tgz#04a4ca3285fd215c4cd50cfb3f4791d38dd90050" @@ -1597,6 +2738,22 @@ rxjs "^7.8.1" tslib "^2.5.3" +"@polkadot/api-derive@11.2.1", "@polkadot/api-derive@^11": + version "11.2.1" + resolved "https://registry.yarnpkg.com/@polkadot/api-derive/-/api-derive-11.2.1.tgz#9e0ba0c1dc54d2f6e0ee6cc73ca31c4e40ade920" + integrity sha512-ts6D6tXmvhBpHDT7E03TStXfG6+/bXCvJ7HZUVNDXi4P9cToClzJVOX5uKsPI5/MUYDEq13scxPyQK63m8SsHg== + dependencies: + "@polkadot/api" "11.2.1" + "@polkadot/api-augment" "11.2.1" + "@polkadot/api-base" "11.2.1" + "@polkadot/rpc-core" "11.2.1" + "@polkadot/types" "11.2.1" + "@polkadot/types-codec" "11.2.1" + "@polkadot/util" "^12.6.2" + "@polkadot/util-crypto" "^12.6.2" + rxjs "^7.8.1" + tslib "^2.6.2" + "@polkadot/api-derive@9.3.3": version "9.3.3" resolved "https://registry.yarnpkg.com/@polkadot/api-derive/-/api-derive-9.3.3.tgz#a5f73d08d9273e2c7e461cf2819e7e76a5a26f3a" @@ -1613,29 +2770,6 @@ "@polkadot/util-crypto" "^10.1.7" rxjs "^7.5.6" -"@polkadot/api@10.11.2", "@polkadot/api@^10.11.2": - version "10.11.2" - resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-10.11.2.tgz#16cd07062d51cc9cf77a3a6afa3cb4e526e44a82" - integrity sha512-AorCZxCWCoTtdbl4DPUZh+ACe/pbLIS1BkdQY0AFJuZllm0x/yWzjgampcPd5jQAA/O3iKShRBkZqj6Mk9yG/A== - dependencies: - "@polkadot/api-augment" "10.11.2" - "@polkadot/api-base" "10.11.2" - "@polkadot/api-derive" "10.11.2" - "@polkadot/keyring" "^12.6.2" - "@polkadot/rpc-augment" "10.11.2" - "@polkadot/rpc-core" "10.11.2" - "@polkadot/rpc-provider" "10.11.2" - "@polkadot/types" "10.11.2" - "@polkadot/types-augment" "10.11.2" - "@polkadot/types-codec" "10.11.2" - "@polkadot/types-create" "10.11.2" - "@polkadot/types-known" "10.11.2" - "@polkadot/util" "^12.6.2" - "@polkadot/util-crypto" "^12.6.2" - eventemitter3 "^5.0.1" - rxjs "^7.8.1" - tslib "^2.6.2" - "@polkadot/api@10.9.1", "@polkadot/api@^10.7.3": version "10.9.1" resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-10.9.1.tgz#156b3436f45ef18218960804988c1f552d2c4e46" @@ -1659,6 +2793,29 @@ rxjs "^7.8.1" tslib "^2.5.3" +"@polkadot/api@11.2.1", "@polkadot/api@^11": + version "11.2.1" + resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-11.2.1.tgz#b19a8e22367703333e71f3613095f76f0dbbca70" + integrity sha512-NwcWadMt+mrJ3T7RuwpnaIYtH4x0eix+GiKRtLMtIO32uAfhwVyMnqvLtxDxa4XDJ/es2rtSMYG+t0b1BTM+xQ== + dependencies: + "@polkadot/api-augment" "11.2.1" + "@polkadot/api-base" "11.2.1" + "@polkadot/api-derive" "11.2.1" + "@polkadot/keyring" "^12.6.2" + "@polkadot/rpc-augment" "11.2.1" + "@polkadot/rpc-core" "11.2.1" + "@polkadot/rpc-provider" "11.2.1" + "@polkadot/types" "11.2.1" + "@polkadot/types-augment" "11.2.1" + "@polkadot/types-codec" "11.2.1" + "@polkadot/types-create" "11.2.1" + "@polkadot/types-known" "11.2.1" + "@polkadot/util" "^12.6.2" + "@polkadot/util-crypto" "^12.6.2" + eventemitter3 "^5.0.1" + rxjs "^7.8.1" + tslib "^2.6.2" + "@polkadot/api@9.3.3", "@polkadot/api@^9.2.1", "@polkadot/api@latest": version "9.3.3" resolved "https://registry.yarnpkg.com/@polkadot/api/-/api-9.3.3.tgz#23b5d064d564d155441d8e6e347d0b5abaaf9716" @@ -1682,7 +2839,7 @@ eventemitter3 "^4.0.7" rxjs "^7.5.6" -"@polkadot/keyring@^10.1.1", "@polkadot/keyring@^10.1.7": +"@polkadot/keyring@^10.1.7": version "10.1.7" resolved "https://registry.yarnpkg.com/@polkadot/keyring/-/keyring-10.1.7.tgz#d51be1dc5807c961889847d8f0e10e4bbdd19d3f" integrity sha512-lArwaAS3hDs+HHupDIC4r2mFaAfmNQV2YzwL2wM5zhOqB2RugN03BFrgwNll0y9/Bg8rYDqM3Y5BvVMzgMZ6XA== @@ -1718,15 +2875,6 @@ "@polkadot/util" "10.1.7" "@substrate/ss58-registry" "^1.28.0" -"@polkadot/networks@12.3.2": - version "12.3.2" - resolved "https://registry.yarnpkg.com/@polkadot/networks/-/networks-12.3.2.tgz#131b0439c481add159814dd2cf0286c6c3fe5b3b" - integrity sha512-uCkyybKoeEm1daKr0uT/9oNDHDDzCy2/ZdVl346hQqfdR1Ct3BaxMjxqvdmb5N8aCw0cBWSfgsxAYtw8ESmllQ== - dependencies: - "@polkadot/util" "12.3.2" - "@substrate/ss58-registry" "^1.40.0" - tslib "^2.5.3" - "@polkadot/networks@12.4.1", "@polkadot/networks@^12.3.1": version "12.4.1" resolved "https://registry.yarnpkg.com/@polkadot/networks/-/networks-12.4.1.tgz#b4e9104e016d8bd09706e5a640dff83b67378a3d" @@ -1754,17 +2902,6 @@ "@polkadot/util" "8.7.1" "@substrate/ss58-registry" "^1.17.0" -"@polkadot/rpc-augment@10.11.2": - version "10.11.2" - resolved "https://registry.yarnpkg.com/@polkadot/rpc-augment/-/rpc-augment-10.11.2.tgz#4458ee62bd95cd1f016f097f607767d1e6dfc709" - integrity sha512-9AhT0WW81/8jYbRcAC6PRmuxXqNhJje8OYiulBQHbG1DTCcjAfz+6VQBke9BwTStzPq7d526+yyBKD17O3zlAA== - dependencies: - "@polkadot/rpc-core" "10.11.2" - "@polkadot/types" "10.11.2" - "@polkadot/types-codec" "10.11.2" - "@polkadot/util" "^12.6.2" - tslib "^2.6.2" - "@polkadot/rpc-augment@10.9.1": version "10.9.1" resolved "https://registry.yarnpkg.com/@polkadot/rpc-augment/-/rpc-augment-10.9.1.tgz#214ec3ee145d20caa61ea204041a3aadb89c6b0f" @@ -1776,6 +2913,17 @@ "@polkadot/util" "^12.3.1" tslib "^2.5.3" +"@polkadot/rpc-augment@11.2.1": + version "11.2.1" + resolved "https://registry.yarnpkg.com/@polkadot/rpc-augment/-/rpc-augment-11.2.1.tgz#681d073924954680c9ea1a92af840f37c77b17ac" + integrity sha512-AbkqWTnKCi71LdqFVbCyYelf5N/Wtj4jFnpRd8z7tIbbiAnNRW61dBgdF9jZ8jd9Z0JvfAmCmG17uCEdsqfNjA== + dependencies: + "@polkadot/rpc-core" "11.2.1" + "@polkadot/types" "11.2.1" + "@polkadot/types-codec" "11.2.1" + "@polkadot/util" "^12.6.2" + tslib "^2.6.2" + "@polkadot/rpc-augment@9.3.3": version "9.3.3" resolved "https://registry.yarnpkg.com/@polkadot/rpc-augment/-/rpc-augment-9.3.3.tgz#9977710e070f0b6567417e25b6948659e26994ef" @@ -1787,18 +2935,6 @@ "@polkadot/types-codec" "9.3.3" "@polkadot/util" "^10.1.7" -"@polkadot/rpc-core@10.11.2": - version "10.11.2" - resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-10.11.2.tgz#a63ef288133d32abfeff8e80a94d3787e91e87be" - integrity sha512-Ot0CFLWx8sZhLZog20WDuniPA01Bk2StNDsdAQgcFKPwZw6ShPaZQCHuKLQK6I6DodOrem9FXX7c1hvoKJP5Ww== - dependencies: - "@polkadot/rpc-augment" "10.11.2" - "@polkadot/rpc-provider" "10.11.2" - "@polkadot/types" "10.11.2" - "@polkadot/util" "^12.6.2" - rxjs "^7.8.1" - tslib "^2.6.2" - "@polkadot/rpc-core@10.9.1": version "10.9.1" resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-10.9.1.tgz#798c514dbed6f6c2e43098a494c9f51fb144dc31" @@ -1811,6 +2947,18 @@ rxjs "^7.8.1" tslib "^2.5.3" +"@polkadot/rpc-core@11.2.1": + version "11.2.1" + resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-11.2.1.tgz#3e1105cd5f6dc86b8c5284cf4c8cbb771b39bb62" + integrity sha512-GHNIHDvBts6HDvySfYksuLccaVnI+fc7ubY1uYcJMoyGv9pLhMtveH4Ft7NTxqkBqopbPXZHc8ca9CaIeBVr7w== + dependencies: + "@polkadot/rpc-augment" "11.2.1" + "@polkadot/rpc-provider" "11.2.1" + "@polkadot/types" "11.2.1" + "@polkadot/util" "^12.6.2" + rxjs "^7.8.1" + tslib "^2.6.2" + "@polkadot/rpc-core@9.3.3": version "9.3.3" resolved "https://registry.yarnpkg.com/@polkadot/rpc-core/-/rpc-core-9.3.3.tgz#04182b108fe91fc0d04883640609f5ba7a64f7cb" @@ -1823,26 +2971,6 @@ "@polkadot/util" "^10.1.7" rxjs "^7.5.6" -"@polkadot/rpc-provider@10.11.2": - version "10.11.2" - resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-10.11.2.tgz#b50a11d4baffa39519f786951e68d8c4953672a8" - integrity sha512-he5jWMpDJp7e+vUzTZDzpkB7ps3H8psRally+/ZvZZScPvFEjfczT7I1WWY9h58s8+ImeVP/lkXjL9h/gUOt3Q== - dependencies: - "@polkadot/keyring" "^12.6.2" - "@polkadot/types" "10.11.2" - "@polkadot/types-support" "10.11.2" - "@polkadot/util" "^12.6.2" - "@polkadot/util-crypto" "^12.6.2" - "@polkadot/x-fetch" "^12.6.2" - "@polkadot/x-global" "^12.6.2" - "@polkadot/x-ws" "^12.6.2" - eventemitter3 "^5.0.1" - mock-socket "^9.3.1" - nock "^13.4.0" - tslib "^2.6.2" - optionalDependencies: - "@substrate/connect" "0.7.35" - "@polkadot/rpc-provider@10.9.1", "@polkadot/rpc-provider@^10.7.3": version "10.9.1" resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-10.9.1.tgz#de3a474bbcd26d28d9cd3134acdb3b5ce92b680b" @@ -1863,6 +2991,26 @@ optionalDependencies: "@substrate/connect" "0.7.26" +"@polkadot/rpc-provider@11.2.1": + version "11.2.1" + resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-11.2.1.tgz#7581ea47f5572d3cacab802938ba58f847414871" + integrity sha512-TO9pdxNmTweK1vi9JYUAoLr/JYJUwPJTTdrSJrmGmiNPaM7txbQVgtT4suQYflVZTgXUYR7OYQ201fH+Qb9J9w== + dependencies: + "@polkadot/keyring" "^12.6.2" + "@polkadot/types" "11.2.1" + "@polkadot/types-support" "11.2.1" + "@polkadot/util" "^12.6.2" + "@polkadot/util-crypto" "^12.6.2" + "@polkadot/x-fetch" "^12.6.2" + "@polkadot/x-global" "^12.6.2" + "@polkadot/x-ws" "^12.6.2" + eventemitter3 "^5.0.1" + mock-socket "^9.3.1" + nock "^13.5.0" + tslib "^2.6.2" + optionalDependencies: + "@substrate/connect" "0.8.10" + "@polkadot/rpc-provider@9.3.3": version "9.3.3" resolved "https://registry.yarnpkg.com/@polkadot/rpc-provider/-/rpc-provider-9.3.3.tgz#8da6e4aa152aa4ec6163012c662294cd0916f7ff" @@ -1882,16 +3030,6 @@ mock-socket "^9.1.5" nock "^13.2.9" -"@polkadot/types-augment@10.11.2": - version "10.11.2" - resolved "https://registry.yarnpkg.com/@polkadot/types-augment/-/types-augment-10.11.2.tgz#197b24f2c85c9ca483d5cb6d2acc06f42c707abd" - integrity sha512-8eB8ew04wZiE5GnmFvEFW1euJWmF62SGxb1O+8wL3zoUtB9Xgo1vB6w6xbTrd+HLV6jNSeXXnbbF1BEUvi9cNg== - dependencies: - "@polkadot/types" "10.11.2" - "@polkadot/types-codec" "10.11.2" - "@polkadot/util" "^12.6.2" - tslib "^2.6.2" - "@polkadot/types-augment@10.9.1": version "10.9.1" resolved "https://registry.yarnpkg.com/@polkadot/types-augment/-/types-augment-10.9.1.tgz#5f1c1225c04ffbfe243629a46087c9c9de25a6b3" @@ -1902,15 +3040,15 @@ "@polkadot/util" "^12.3.1" tslib "^2.5.3" -"@polkadot/types-augment@8.14.1", "@polkadot/types-augment@^8": - version "8.14.1" - resolved "https://registry.yarnpkg.com/@polkadot/types-augment/-/types-augment-8.14.1.tgz#6868d7f1321f6cd2b5028374bc496e5174fcf15e" - integrity sha512-Xa4TUFqyZT+IJ6pBSwDjWcF42u/E34OyC+gbs5Z2vWQ4EzSDkq4xNoUKjJlEEgTemsD9lhPOIc4jvqTCefwxEw== +"@polkadot/types-augment@11.2.1", "@polkadot/types-augment@^11": + version "11.2.1" + resolved "https://registry.yarnpkg.com/@polkadot/types-augment/-/types-augment-11.2.1.tgz#2593f95cd182216696585ee5e426c571c1226de6" + integrity sha512-3zBsuSKjZlMEeDVqPTkLnFvjPdyGcW3UBihzCgpTmXhLSuwTbsscMwKtKwIPkOHHQPYJYyZXTMkurMXCJOz2kA== dependencies: - "@babel/runtime" "^7.18.9" - "@polkadot/types" "8.14.1" - "@polkadot/types-codec" "8.14.1" - "@polkadot/util" "^10.1.1" + "@polkadot/types" "11.2.1" + "@polkadot/types-codec" "11.2.1" + "@polkadot/util" "^12.6.2" + tslib "^2.6.2" "@polkadot/types-augment@9.3.3": version "9.3.3" @@ -1922,15 +3060,6 @@ "@polkadot/types-codec" "9.3.3" "@polkadot/util" "^10.1.7" -"@polkadot/types-codec@10.11.2", "@polkadot/types-codec@^10.11.2": - version "10.11.2" - resolved "https://registry.yarnpkg.com/@polkadot/types-codec/-/types-codec-10.11.2.tgz#e4570f8c92ffad090fb1d04a94731979537ced33" - integrity sha512-3xjOQL+LOOMzYqlgP9ROL0FQnzU8lGflgYewzau7AsDlFziSEtb49a9BpYo6zil4koC+QB8zQ9OHGFumG08T8w== - dependencies: - "@polkadot/util" "^12.6.2" - "@polkadot/x-bigint" "^12.6.2" - tslib "^2.6.2" - "@polkadot/types-codec@10.9.1": version "10.9.1" resolved "https://registry.yarnpkg.com/@polkadot/types-codec/-/types-codec-10.9.1.tgz#f30026d3dfeaa69c07c45fa66d1c39318fd232cc" @@ -1940,14 +3069,14 @@ "@polkadot/x-bigint" "^12.3.1" tslib "^2.5.3" -"@polkadot/types-codec@8.14.1": - version "8.14.1" - resolved "https://registry.yarnpkg.com/@polkadot/types-codec/-/types-codec-8.14.1.tgz#b5342fa38e17eb1183434981e23334d5bd1ecd2e" - integrity sha512-y6YDN4HwvEgSWlgrEV04QBBxDxES1cTuUQFzZJzOTuZCWpA371Mdj3M9wYxGXMnj0wa+rCQGECHPZZaNxBMiKg== +"@polkadot/types-codec@11.2.1", "@polkadot/types-codec@^11": + version "11.2.1" + resolved "https://registry.yarnpkg.com/@polkadot/types-codec/-/types-codec-11.2.1.tgz#4b1ac762d21680c588a6b46593544d56660d8c60" + integrity sha512-9VRRf1g/nahAC3/VSiCSUIRL7uuup04JEZLIAG2LaDgmCBOSV9dt1Yj9114bRUrHHkeUSBmiq64+YX1hZMpQzQ== dependencies: - "@babel/runtime" "^7.18.9" - "@polkadot/util" "^10.1.1" - "@polkadot/x-bigint" "^10.1.1" + "@polkadot/util" "^12.6.2" + "@polkadot/x-bigint" "^12.6.2" + tslib "^2.6.2" "@polkadot/types-codec@9.3.3": version "9.3.3" @@ -1958,15 +3087,6 @@ "@polkadot/util" "^10.1.7" "@polkadot/x-bigint" "^10.1.7" -"@polkadot/types-create@10.11.2": - version "10.11.2" - resolved "https://registry.yarnpkg.com/@polkadot/types-create/-/types-create-10.11.2.tgz#dfd52cdde45619c90f42ec4c681bc5ec8d9e6f43" - integrity sha512-SJt23NxYvefRxVZZm6mT9ed1pR6FDoIGQ3xUpbjhTLfU2wuhpKjekMVorYQ6z/gK2JLMu2kV92Ardsz+6GX5XQ== - dependencies: - "@polkadot/types-codec" "10.11.2" - "@polkadot/util" "^12.6.2" - tslib "^2.6.2" - "@polkadot/types-create@10.9.1": version "10.9.1" resolved "https://registry.yarnpkg.com/@polkadot/types-create/-/types-create-10.9.1.tgz#087d7e2af51cce558b67e3859613b932a3bdc0a3" @@ -1976,14 +3096,14 @@ "@polkadot/util" "^12.3.1" tslib "^2.5.3" -"@polkadot/types-create@8.14.1": - version "8.14.1" - resolved "https://registry.yarnpkg.com/@polkadot/types-create/-/types-create-8.14.1.tgz#46af719c33581576eed03658baf3aaa932b3d89c" - integrity sha512-fb9yyblj5AYAPzeCIq0kYSfzDxRDi/0ud9gN2UzB3H7M/O4n2mPC1vD4UOLF+B7l9QzCrt4e+k+/riGp7GfvyA== +"@polkadot/types-create@11.2.1": + version "11.2.1" + resolved "https://registry.yarnpkg.com/@polkadot/types-create/-/types-create-11.2.1.tgz#e2776b54ac9fc01ab8c1d04cdd44c8ec3219f7da" + integrity sha512-Y0Zri7x6/rHURVNLMi6i1+rmJDLCn8OQl8BIvRmsIBkCYh2oCzy0g9aqVoCdm+QnoUU5ZNtu+U/gj1kL5ODivQ== dependencies: - "@babel/runtime" "^7.18.9" - "@polkadot/types-codec" "8.14.1" - "@polkadot/util" "^10.1.1" + "@polkadot/types-codec" "11.2.1" + "@polkadot/util" "^12.6.2" + tslib "^2.6.2" "@polkadot/types-create@9.3.3": version "9.3.3" @@ -1994,18 +3114,6 @@ "@polkadot/types-codec" "9.3.3" "@polkadot/util" "^10.1.7" -"@polkadot/types-known@10.11.2": - version "10.11.2" - resolved "https://registry.yarnpkg.com/@polkadot/types-known/-/types-known-10.11.2.tgz#2ce647b0dd49dec07032547a53d7aa30208a825f" - integrity sha512-kbEIX7NUQFxpDB0FFGNyXX/odY7jbp56RGD+Z4A731fW2xh/DgAQrI994xTzuh0c0EqPE26oQm3kATSpseqo9w== - dependencies: - "@polkadot/networks" "^12.6.2" - "@polkadot/types" "10.11.2" - "@polkadot/types-codec" "10.11.2" - "@polkadot/types-create" "10.11.2" - "@polkadot/util" "^12.6.2" - tslib "^2.6.2" - "@polkadot/types-known@10.9.1": version "10.9.1" resolved "https://registry.yarnpkg.com/@polkadot/types-known/-/types-known-10.9.1.tgz#fe0c7e55191aa843119edcaf9abb5d2471463a7d" @@ -2018,6 +3126,18 @@ "@polkadot/util" "^12.3.1" tslib "^2.5.3" +"@polkadot/types-known@11.2.1": + version "11.2.1" + resolved "https://registry.yarnpkg.com/@polkadot/types-known/-/types-known-11.2.1.tgz#4dd77f668fdc93513440aa7edc763e9bdf9d3dc7" + integrity sha512-dnbmVKagVI6ARuZaGMGc67HPeHGrR7/lcwfS7jGzEmRcoQk7p/UQjWfOk/LG9NzvQkmRVbE0Gqskn4VorqnTbA== + dependencies: + "@polkadot/networks" "^12.6.2" + "@polkadot/types" "11.2.1" + "@polkadot/types-codec" "11.2.1" + "@polkadot/types-create" "11.2.1" + "@polkadot/util" "^12.6.2" + tslib "^2.6.2" + "@polkadot/types-known@9.3.3", "@polkadot/types-known@latest": version "9.3.3" resolved "https://registry.yarnpkg.com/@polkadot/types-known/-/types-known-9.3.3.tgz#483f6e0ed45a34e1acd91e5ed23b7d2871d2fe6b" @@ -2030,14 +3150,6 @@ "@polkadot/types-create" "9.3.3" "@polkadot/util" "^10.1.7" -"@polkadot/types-support@10.11.2": - version "10.11.2" - resolved "https://registry.yarnpkg.com/@polkadot/types-support/-/types-support-10.11.2.tgz#3ab2252688ea50dbb35055789d0b775b0f5a7b2f" - integrity sha512-X11hoykFYv/3efg4coZy2hUOUc97JhjQMJLzDhHniFwGLlYU8MeLnPdCVGkXx0xDDjTo4/ptS1XpZ5HYcg+gRw== - dependencies: - "@polkadot/util" "^12.6.2" - tslib "^2.6.2" - "@polkadot/types-support@10.9.1": version "10.9.1" resolved "https://registry.yarnpkg.com/@polkadot/types-support/-/types-support-10.9.1.tgz#17a861aab8e5a225a4e20cefa2d16076ddd51baf" @@ -2046,6 +3158,14 @@ "@polkadot/util" "^12.3.1" tslib "^2.5.3" +"@polkadot/types-support@11.2.1": + version "11.2.1" + resolved "https://registry.yarnpkg.com/@polkadot/types-support/-/types-support-11.2.1.tgz#7a704708cdeab437345eb3c5f340db2346b61746" + integrity sha512-VGSUDUEQjt8K3Bv8gHYAE/nD98qPPuZ2DcikM9z9isw04qj2amxZaS26+iknJ9KSCzWgrNBHjcr5Q0o76//2yA== + dependencies: + "@polkadot/util" "^12.6.2" + tslib "^2.6.2" + "@polkadot/types-support@9.3.3", "@polkadot/types-support@latest": version "9.3.3" resolved "https://registry.yarnpkg.com/@polkadot/types-support/-/types-support-9.3.3.tgz#f5439b02ed86c1545891286bd6b5818161654a56" @@ -2054,20 +3174,6 @@ "@babel/runtime" "^7.18.9" "@polkadot/util" "^10.1.7" -"@polkadot/types@10.11.2", "@polkadot/types@^10.11.2": - version "10.11.2" - resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-10.11.2.tgz#3317b6fcee53bbfba7bf654413f93ccd742c478e" - integrity sha512-d52j3xXni+C8GdYZVTSfu8ROAnzXFMlyRvXtor0PudUc8UQHOaC4+mYAkTBGA2gKdmL8MHSfRSbhcxHhsikY6Q== - dependencies: - "@polkadot/keyring" "^12.6.2" - "@polkadot/types-augment" "10.11.2" - "@polkadot/types-codec" "10.11.2" - "@polkadot/types-create" "10.11.2" - "@polkadot/util" "^12.6.2" - "@polkadot/util-crypto" "^12.6.2" - rxjs "^7.8.1" - tslib "^2.6.2" - "@polkadot/types@10.9.1", "@polkadot/types@^10.7.3": version "10.9.1" resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-10.9.1.tgz#f111d00f7278ad3be95deba3d701fafefe080cb2" @@ -2082,19 +3188,19 @@ rxjs "^7.8.1" tslib "^2.5.3" -"@polkadot/types@8.14.1": - version "8.14.1" - resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-8.14.1.tgz#a0149680d06b02bc23b842865b84840a5bc8b870" - integrity sha512-Xza16ejKrSd4XhTOlbfISyxZ2sRmbMAZk5pX7VEMHVZHqV98o+bJ2f9Kk7F8YJijkHHGosCLDestP9R5nLoOoA== +"@polkadot/types@11.2.1", "@polkadot/types@^11": + version "11.2.1" + resolved "https://registry.yarnpkg.com/@polkadot/types/-/types-11.2.1.tgz#e159f0aae70d59e8ce0a819d539aadd97187e352" + integrity sha512-NVPhO/eFPkL8arWk4xVbsJzRdGfue3gJK+A2iYzOfCr9rDHEj99B+E2Z0Or6zDN6n+thgQYwsr19rKgXvAc18Q== dependencies: - "@babel/runtime" "^7.18.9" - "@polkadot/keyring" "^10.1.1" - "@polkadot/types-augment" "8.14.1" - "@polkadot/types-codec" "8.14.1" - "@polkadot/types-create" "8.14.1" - "@polkadot/util" "^10.1.1" - "@polkadot/util-crypto" "^10.1.1" - rxjs "^7.5.6" + "@polkadot/keyring" "^12.6.2" + "@polkadot/types-augment" "11.2.1" + "@polkadot/types-codec" "11.2.1" + "@polkadot/types-create" "11.2.1" + "@polkadot/util" "^12.6.2" + "@polkadot/util-crypto" "^12.6.2" + rxjs "^7.8.1" + tslib "^2.6.2" "@polkadot/types@9.3.3", "@polkadot/types@latest": version "9.3.3" @@ -2110,7 +3216,7 @@ "@polkadot/util-crypto" "^10.1.7" rxjs "^7.5.6" -"@polkadot/util-crypto@10.1.7", "@polkadot/util-crypto@^10.1.1", "@polkadot/util-crypto@^10.1.7": +"@polkadot/util-crypto@10.1.7", "@polkadot/util-crypto@^10.1.7": version "10.1.7" resolved "https://registry.yarnpkg.com/@polkadot/util-crypto/-/util-crypto-10.1.7.tgz#fe5ea006bf23ae19319f3ac9236905a984a65e2f" integrity sha512-zGmSU7a0wdWfpDtfc+Q7fUuW+extu9o1Uh4JpkuwwZ/dxmyW5xlfqVsIScM1pdPyjJsyamX8KwsKiVsW4slasg== @@ -2159,22 +3265,6 @@ "@scure/base" "^1.1.5" tslib "^2.6.2" -"@polkadot/util-crypto@^12.2.1": - version "12.3.2" - resolved "https://registry.yarnpkg.com/@polkadot/util-crypto/-/util-crypto-12.3.2.tgz#42d810886904e06fa6e5db254c15f6ef80f4ab72" - integrity sha512-pTpx+YxolY0BDT4RcGmgeKbHHD/dI6Ll9xRsqmVdIjpcVVY20uDNTyXs81ZNtfKgyod1y9JQkfNv2Dz9iEpTkQ== - dependencies: - "@noble/curves" "1.1.0" - "@noble/hashes" "1.3.1" - "@polkadot/networks" "12.3.2" - "@polkadot/util" "12.3.2" - "@polkadot/wasm-crypto" "^7.2.1" - "@polkadot/wasm-util" "^7.2.1" - "@polkadot/x-bigint" "12.3.2" - "@polkadot/x-randomvalues" "12.3.2" - "@scure/base" "1.1.1" - tslib "^2.5.3" - "@polkadot/util-crypto@^8.4.1": version "8.7.1" resolved "https://registry.yarnpkg.com/@polkadot/util-crypto/-/util-crypto-8.7.1.tgz#f9fcca2895b5f160ce1c2faa0aa3054cc7aa4655" @@ -2192,7 +3282,7 @@ ed2curve "^0.3.0" tweetnacl "^1.0.3" -"@polkadot/util@10.1.7", "@polkadot/util@^10.1.1", "@polkadot/util@^10.1.7": +"@polkadot/util@10.1.7", "@polkadot/util@^10.1.7": version "10.1.7" resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-10.1.7.tgz#c54ca2a5b29cb834b40d8a876baefa3a0efb93af" integrity sha512-s7gDLdNb4HUpoe3faXwoO6HwiUp8pi66voYKiUYRh1kEtW1o9vGBgyZPHPGC/FBgILzTJKii/9XxnSex60zBTA== @@ -2205,19 +3295,6 @@ "@types/bn.js" "^5.1.1" bn.js "^5.2.1" -"@polkadot/util@12.3.2", "@polkadot/util@^12.2.1": - version "12.3.2" - resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-12.3.2.tgz#f46e147b0e6a426da5ba59df4ce65de1a3effe4a" - integrity sha512-y/JShcGyOamCUiSIg++XZuLHt1ktSKBaSH2K5Nw5NXlgP0+7am+GZzqPB8fQ4qhYLruEOv+YRiz0GC1Zr9S+wg== - dependencies: - "@polkadot/x-bigint" "12.3.2" - "@polkadot/x-global" "12.3.2" - "@polkadot/x-textdecoder" "12.3.2" - "@polkadot/x-textencoder" "12.3.2" - "@types/bn.js" "^5.1.1" - bn.js "^5.2.1" - tslib "^2.5.3" - "@polkadot/util@12.4.1", "@polkadot/util@^12.3.1": version "12.4.1" resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-12.4.1.tgz#36604ebb410c3f063fbb20151e804006ddeeddf5" @@ -2244,7 +3321,7 @@ bn.js "^5.2.1" tslib "^2.6.2" -"@polkadot/util@8.7.1", "@polkadot/util@^8": +"@polkadot/util@8.7.1": version "8.7.1" resolved "https://registry.yarnpkg.com/@polkadot/util/-/util-8.7.1.tgz#27fe93bf7b8345276f10cfe9c0380510cd4584f6" integrity sha512-XjY1bTo7V6OvOCe4yn8H2vifeuBciCy0gq0k5P1tlGUQLI/Yt0hvDmxcA0FEPtqg8CL+rYRG7WXGPVNjkrNvyQ== @@ -2265,14 +3342,6 @@ dependencies: "@babel/runtime" "^7.18.9" -"@polkadot/wasm-bridge@7.2.1": - version "7.2.1" - resolved "https://registry.yarnpkg.com/@polkadot/wasm-bridge/-/wasm-bridge-7.2.1.tgz#8464a96552207d2b49c6f32137b24132534b91ee" - integrity sha512-uV/LHREDBGBbHrrv7HTki+Klw0PYZzFomagFWII4lp6Toj/VCvRh5WMzooVC+g/XsBGosAwrvBhoModabyHx+A== - dependencies: - "@polkadot/wasm-util" "7.2.1" - tslib "^2.5.0" - "@polkadot/wasm-bridge@7.2.2": version "7.2.2" resolved "https://registry.yarnpkg.com/@polkadot/wasm-bridge/-/wasm-bridge-7.2.2.tgz#957b82b17927fe080729e8930b5b5c554f77b8df" @@ -2296,13 +3365,6 @@ dependencies: "@babel/runtime" "^7.18.9" -"@polkadot/wasm-crypto-asmjs@7.2.1": - version "7.2.1" - resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-asmjs/-/wasm-crypto-asmjs-7.2.1.tgz#3e7a91e2905ab7354bc37b82f3e151a62bb024db" - integrity sha512-z/d21bmxyVfkzGsKef/FWswKX02x5lK97f4NPBZ9XBeiFkmzlXhdSnu58/+b1sKsRAGdW/Rn/rTNRDhW0GqCAg== - dependencies: - tslib "^2.5.0" - "@polkadot/wasm-crypto-asmjs@7.2.2": version "7.2.2" resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-asmjs/-/wasm-crypto-asmjs-7.2.2.tgz#25243a4d5d8d997761141b616623cacff4329f13" @@ -2334,17 +3396,6 @@ "@polkadot/wasm-crypto-asmjs" "6.3.1" "@polkadot/wasm-crypto-wasm" "6.3.1" -"@polkadot/wasm-crypto-init@7.2.1": - version "7.2.1" - resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-init/-/wasm-crypto-init-7.2.1.tgz#9dbba41ed7d382575240f1483cf5a139ff2787bd" - integrity sha512-GcEXtwN9LcSf32V9zSaYjHImFw16hCyo2Xzg4GLLDPPeaAAfbFr2oQMgwyDbvBrBjLKHVHjsPZyGhXae831amw== - dependencies: - "@polkadot/wasm-bridge" "7.2.1" - "@polkadot/wasm-crypto-asmjs" "7.2.1" - "@polkadot/wasm-crypto-wasm" "7.2.1" - "@polkadot/wasm-util" "7.2.1" - tslib "^2.5.0" - "@polkadot/wasm-crypto-init@7.2.2": version "7.2.2" resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-init/-/wasm-crypto-init-7.2.2.tgz#ffd105b87fc1b679c06c85c0848183c27bc539e3" @@ -2375,14 +3426,6 @@ "@babel/runtime" "^7.18.9" "@polkadot/wasm-util" "6.3.1" -"@polkadot/wasm-crypto-wasm@7.2.1": - version "7.2.1" - resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-wasm/-/wasm-crypto-wasm-7.2.1.tgz#d2486322c725f6e5d2cc2d6abcb77ecbbaedc738" - integrity sha512-DqyXE4rSD0CVlLIw88B58+HHNyrvm+JAnYyuEDYZwCvzUWOCNos/DDg9wi/K39VAIsCCKDmwKqkkfIofuOj/lA== - dependencies: - "@polkadot/wasm-util" "7.2.1" - tslib "^2.5.0" - "@polkadot/wasm-crypto-wasm@7.2.2": version "7.2.2" resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto-wasm/-/wasm-crypto-wasm-7.2.2.tgz#9e49a1565bda2bc830708693b491b37ad8a2144d" @@ -2427,18 +3470,6 @@ "@polkadot/wasm-crypto-wasm" "6.3.1" "@polkadot/wasm-util" "6.3.1" -"@polkadot/wasm-crypto@^7.2.1": - version "7.2.1" - resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto/-/wasm-crypto-7.2.1.tgz#db671dcb73f1646dc13478b5ffc3be18c64babe1" - integrity sha512-SA2+33S9TAwGhniKgztVN6pxUKpGfN4Tre/eUZGUfpgRkT92wIUT2GpGWQE+fCCqGQgADrNiBcwt6XwdPqMQ4Q== - dependencies: - "@polkadot/wasm-bridge" "7.2.1" - "@polkadot/wasm-crypto-asmjs" "7.2.1" - "@polkadot/wasm-crypto-init" "7.2.1" - "@polkadot/wasm-crypto-wasm" "7.2.1" - "@polkadot/wasm-util" "7.2.1" - tslib "^2.5.0" - "@polkadot/wasm-crypto@^7.2.2": version "7.2.2" resolved "https://registry.yarnpkg.com/@polkadot/wasm-crypto/-/wasm-crypto-7.2.2.tgz#3c4b300c0997f4f7e2ddcdf8101d97fa1f5d1a7f" @@ -2470,13 +3501,6 @@ dependencies: "@babel/runtime" "^7.18.9" -"@polkadot/wasm-util@7.2.1", "@polkadot/wasm-util@^7.2.1": - version "7.2.1" - resolved "https://registry.yarnpkg.com/@polkadot/wasm-util/-/wasm-util-7.2.1.tgz#fda233120ec02f77f0d14e4d3c7ad9ce06535fb8" - integrity sha512-FBSn/3aYJzhN0sYAYhHB8y9JL8mVgxLy4M1kUXYbyo+8GLRQEN5rns8Vcb8TAlIzBWgVTOOptYBvxo0oj0h7Og== - dependencies: - tslib "^2.5.0" - "@polkadot/wasm-util@7.2.2", "@polkadot/wasm-util@^7.2.2": version "7.2.2" resolved "https://registry.yarnpkg.com/@polkadot/wasm-util/-/wasm-util-7.2.2.tgz#f8aa62eba9a35466aa23f3c5634f3e8dbd398bbf" @@ -2491,7 +3515,7 @@ dependencies: tslib "^2.6.2" -"@polkadot/x-bigint@10.1.7", "@polkadot/x-bigint@^10.1.1", "@polkadot/x-bigint@^10.1.7": +"@polkadot/x-bigint@10.1.7", "@polkadot/x-bigint@^10.1.7": version "10.1.7" resolved "https://registry.yarnpkg.com/@polkadot/x-bigint/-/x-bigint-10.1.7.tgz#1338689476ffdbb9f9cb243df1954ae8186134b9" integrity sha512-uaClHpI6cnDumIfejUKvNTkB43JleEb0V6OIufDKJ/e1aCLE3f/Ws9ggwL8ea05lQP5k5xqOzbPdizi/UvrgKQ== @@ -2499,14 +3523,6 @@ "@babel/runtime" "^7.18.9" "@polkadot/x-global" "10.1.7" -"@polkadot/x-bigint@12.3.2": - version "12.3.2" - resolved "https://registry.yarnpkg.com/@polkadot/x-bigint/-/x-bigint-12.3.2.tgz#0e99489cc7938bed40762aaaed58ded6850ab54b" - integrity sha512-JLqLgfGXe/x+hZJETd5ZqfpVsbwyMsH5Nn1Q20ineMMjXN/ig+kVR8Mc15LXBMuw4g7LldFW6UUrotWnuMI8Yw== - dependencies: - "@polkadot/x-global" "12.3.2" - tslib "^2.5.3" - "@polkadot/x-bigint@12.4.1", "@polkadot/x-bigint@^12.3.1": version "12.4.1" resolved "https://registry.yarnpkg.com/@polkadot/x-bigint/-/x-bigint-12.4.1.tgz#0568fb5b025f1668a58e8b1d46bc0806443bbe6b" @@ -2566,13 +3582,6 @@ dependencies: "@babel/runtime" "^7.18.9" -"@polkadot/x-global@12.3.2": - version "12.3.2" - resolved "https://registry.yarnpkg.com/@polkadot/x-global/-/x-global-12.3.2.tgz#04ac0b0e559a35107f0b95ff7889fcade3796aa3" - integrity sha512-yVZq6oIegjlyh5rUZiTklgu+fL+W/DG1ypEa02683tUCB3avV5cA3PAHKptMSlb6FpweHu37lKKrqfAWrraDxg== - dependencies: - tslib "^2.5.3" - "@polkadot/x-global@12.4.1", "@polkadot/x-global@^12.3.1": version "12.4.1" resolved "https://registry.yarnpkg.com/@polkadot/x-global/-/x-global-12.4.1.tgz#029fe7b61e039521ce4852775f630a7afea5bd0b" @@ -2602,14 +3611,6 @@ "@babel/runtime" "^7.18.9" "@polkadot/x-global" "10.1.7" -"@polkadot/x-randomvalues@12.3.2": - version "12.3.2" - resolved "https://registry.yarnpkg.com/@polkadot/x-randomvalues/-/x-randomvalues-12.3.2.tgz#43ac489a998098bdd40b3f82f28adb5b542db2a5" - integrity sha512-ywjIs8CWpvOGmq+3cGCNPOHxAjPHdBUiXyDccftx5BRVdmtbt36gK/V84bKr6Xs73FGu0jprUAOSRRsLZX/3dg== - dependencies: - "@polkadot/x-global" "12.3.2" - tslib "^2.5.3" - "@polkadot/x-randomvalues@12.4.1": version "12.4.1" resolved "https://registry.yarnpkg.com/@polkadot/x-randomvalues/-/x-randomvalues-12.4.1.tgz#2ec9e5427243e0f9ff83f85670da994262090dae" @@ -2642,14 +3643,6 @@ "@babel/runtime" "^7.18.9" "@polkadot/x-global" "10.1.7" -"@polkadot/x-textdecoder@12.3.2": - version "12.3.2" - resolved "https://registry.yarnpkg.com/@polkadot/x-textdecoder/-/x-textdecoder-12.3.2.tgz#bbd5682744f3552ce5d4d792ff48a3ca525eafcf" - integrity sha512-lY5bfA5xArJRWEJlYOlQQMJeTjWD8s0yMhchirVgf5xj8Id9vPGeUoneH+VFDEwgXxrqBvDFJ4smN4T/r6a/fg== - dependencies: - "@polkadot/x-global" "12.3.2" - tslib "^2.5.3" - "@polkadot/x-textdecoder@12.4.1": version "12.4.1" resolved "https://registry.yarnpkg.com/@polkadot/x-textdecoder/-/x-textdecoder-12.4.1.tgz#0973331818ac58a4d595b4cd4b296139d4a92bb4" @@ -2682,14 +3675,6 @@ "@babel/runtime" "^7.18.9" "@polkadot/x-global" "10.1.7" -"@polkadot/x-textencoder@12.3.2": - version "12.3.2" - resolved "https://registry.yarnpkg.com/@polkadot/x-textencoder/-/x-textencoder-12.3.2.tgz#223e6f6dd78e2d81c6dcc6f244c76ceae7b08e32" - integrity sha512-iP3qEBiHzBckQ9zeY7ZHRWuu7mCEg5SMpOugs6UODRk8sx6KHzGQYlghBbWLit0uppPDVE0ifEwZ2n73djJHWQ== - dependencies: - "@polkadot/x-global" "12.3.2" - tslib "^2.5.3" - "@polkadot/x-textencoder@12.4.1": version "12.4.1" resolved "https://registry.yarnpkg.com/@polkadot/x-textencoder/-/x-textencoder-12.4.1.tgz#876ae8412cbd8f134f618612ba35b47354ef7a2c" @@ -2747,6 +3732,26 @@ resolved "https://registry.yarnpkg.com/@polymeshassociation/polymesh-types/-/polymesh-types-5.4.1.tgz#a65f80feb36bf2f5f7a6a0ea2c020d666fe4574a" integrity sha512-M+bVH7TXPTj1gh9jZX5HV/lB306ABg7J0uEL6lXZoO0+u2GHprv/AfQRDpaKoy2PEcy3QrsXAg3NXwD2jhZP3w== +"@protobuf-ts/grpc-transport@^2.8.2": + version "2.9.4" + resolved "https://registry.yarnpkg.com/@protobuf-ts/grpc-transport/-/grpc-transport-2.9.4.tgz#44286bbee3d52c0e0c37262f5af501a9c9160fd3" + integrity sha512-CgjTR3utmkMkkThpfgtOz9tNR9ZARbNoQYL7TCKqFU2sgAX0LgzAkwOx+sfgtUsZn9J08+yvn307nNJdYocLRA== + dependencies: + "@protobuf-ts/runtime" "^2.9.4" + "@protobuf-ts/runtime-rpc" "^2.9.4" + +"@protobuf-ts/runtime-rpc@^2.8.2", "@protobuf-ts/runtime-rpc@^2.9.4": + version "2.9.4" + resolved "https://registry.yarnpkg.com/@protobuf-ts/runtime-rpc/-/runtime-rpc-2.9.4.tgz#d6ab2316c0ba67ce5a08863bb23203a837ff2a3b" + integrity sha512-y9L9JgnZxXFqH5vD4d7j9duWvIJ7AShyBRoNKJGhu9Q27qIbchfzli66H9RvrQNIFk5ER7z1Twe059WZGqERcA== + dependencies: + "@protobuf-ts/runtime" "^2.9.4" + +"@protobuf-ts/runtime@^2.9.4": + version "2.9.4" + resolved "https://registry.yarnpkg.com/@protobuf-ts/runtime/-/runtime-2.9.4.tgz#db8a78b1c409e26d258ca39464f4757d804add8f" + integrity sha512-vHRFWtJJB/SiogWDF0ypoKfRIZ41Kq+G9cEFj6Qm1eQaAhJ1LDFvgZ7Ja4tb3iLOQhz0PaoPnnOijF1qmEqTxg== + "@protobufjs/aspromise@^1.1.1", "@protobufjs/aspromise@^1.1.2": version "1.1.2" resolved "https://registry.yarnpkg.com/@protobufjs/aspromise/-/aspromise-1.1.2.tgz#9b8b0cc663d669a7d8f6f5d0893a14d348f30fbf" @@ -2800,6 +3805,107 @@ resolved "https://registry.yarnpkg.com/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570" integrity sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw== +"@protobufs/amino@^0.0.11": + version "0.0.11" + resolved "https://registry.yarnpkg.com/@protobufs/amino/-/amino-0.0.11.tgz#5eb6b8193da8ea818484818dff2800a981cb7a61" + integrity sha512-JRIkW6/YGIUfbdDuASt3wsuxzC0Xj3U2sV0Arqa9iNwCvv4HtOpbqdWVVVgvQBnR0/ZkwQeXnt+GH7yT/DvsYQ== + dependencies: + "@protobufs/google" "^0.0.10" + +"@protobufs/confio@^0.0.6": + version "0.0.6" + resolved "https://registry.yarnpkg.com/@protobufs/confio/-/confio-0.0.6.tgz#a6ddf44eca2cbe535384228312ae7ef5dff29644" + integrity sha512-abZ0ntTJBuB8q2aMBvOerAFk8CSzafB09YdttKFEqwxokZsLFZ3+o7YaH3RIk863oeM//8sonwTaxRV8r4rmSA== + +"@protobufs/cosmos@^0.1.0": + version "0.1.0" + resolved "https://registry.yarnpkg.com/@protobufs/cosmos/-/cosmos-0.1.0.tgz#492251de16be3e0a89820f48637cd3f42114f24c" + integrity sha512-L3NZ+z0kI6GMTiD2HASNe3WbopPhQlaQaKZNRue+8LiGEv/vbbxD1lox8cwOqes3AN5dHiT0i3+gvzIbKBb7gw== + dependencies: + "@protobufs/amino" "^0.0.11" + "@protobufs/cosmos_proto" "^0.0.10" + "@protobufs/gogoproto" "^0.0.10" + "@protobufs/google" "^0.0.10" + "@protobufs/tendermint" "^0.0.10" + +"@protobufs/cosmos_proto@^0.0.10": + version "0.0.10" + resolved "https://registry.yarnpkg.com/@protobufs/cosmos_proto/-/cosmos_proto-0.0.10.tgz#622726ee227f220f608df180f938e5d8ebb1534a" + integrity sha512-4nMopXxN23udy1HEe+vS49zD9dxrA7i0E3n15QUz1x0tbrowYLHzJKeyCUNlsh5PKpEIXGxHXpPZWXs7vVCwUw== + dependencies: + "@protobufs/google" "^0.0.10" + +"@protobufs/cosmwasm@^0.1.1": + version "0.1.1" + resolved "https://registry.yarnpkg.com/@protobufs/cosmwasm/-/cosmwasm-0.1.1.tgz#313466d02ae7c010f64e6dd6edc06cdc1e676084" + integrity sha512-7rRkQVo7zWjTX+WKdtgM72KEnioGumA7ivYG+3ZGs/uuf8rwN8PmdWFYhLbMkSbPbyJf1bFSyjpP/+kxpH71ew== + dependencies: + "@protobufs/cosmos" "^0.1.0" + "@protobufs/cosmos_proto" "^0.0.10" + "@protobufs/gogoproto" "^0.0.10" + "@protobufs/google" "^0.0.10" + +"@protobufs/gogoproto@^0.0.10": + version "0.0.10" + resolved "https://registry.yarnpkg.com/@protobufs/gogoproto/-/gogoproto-0.0.10.tgz#0181e17142c800b60c7ca5f92c76a614d86c5c54" + integrity sha512-u3eK1aSO3KOuX4RVFpqKPTaT/WLV50GFLuIC3slVGfD7Z1CfZ5ivHbFYUib96gihu1Mq2OZpNVj3dNws9YsVoQ== + dependencies: + "@protobufs/google" "^0.0.10" + +"@protobufs/google@^0.0.10": + version "0.0.10" + resolved "https://registry.yarnpkg.com/@protobufs/google/-/google-0.0.10.tgz#820f741b0c53f688550c74c7ddb25a5ee131a6bf" + integrity sha512-3yo+liabFM1519smwwfzh1C535CntXVsS7zT98xmo21tZUX7vxeFpQDMx38EzMGYSy/Reo8wEMWJUHqZzYsCUw== + +"@protobufs/ibc@^0.1.0": + version "0.1.0" + resolved "https://registry.yarnpkg.com/@protobufs/ibc/-/ibc-0.1.0.tgz#36aeadc9f09d185d683f66a650dad9dc40437875" + integrity sha512-GmGkX81yyd55Tm34SCOmcOiB0QRwFBHGmZpDRAsks33TBx4efAtT9rKAdtn/oPujx9sha1TqU2s3trnMPVvKyg== + dependencies: + "@protobufs/amino" "^0.0.11" + "@protobufs/confio" "^0.0.6" + "@protobufs/cosmos" "^0.1.0" + "@protobufs/gogoproto" "^0.0.10" + "@protobufs/google" "^0.0.10" + "@protobufs/tendermint" "^0.0.10" + +"@protobufs/tendermint@^0.0.10": + version "0.0.10" + resolved "https://registry.yarnpkg.com/@protobufs/tendermint/-/tendermint-0.0.10.tgz#816b27410afcecd8b6d403df149f3c2b9b80655e" + integrity sha512-hAAMLFhKdAovslKeWnLTp2gGn5bxSTDVcQLKs4C4cC91R/KfHOh+Klt4PqSGUv/APINAmREzsX2LDUbIQ2dCpg== + dependencies: + "@protobufs/gogoproto" "^0.0.10" + "@protobufs/google" "^0.0.10" + +"@pyramation/json-schema-ref-parser@9.0.6": + version "9.0.6" + resolved "https://registry.yarnpkg.com/@pyramation/json-schema-ref-parser/-/json-schema-ref-parser-9.0.6.tgz#556e416ce7dcc15a3c1afd04d6a059e03ed09aeb" + integrity sha512-L5kToHAEc1Q87R8ZwWFaNa4tPHr8Hnm+U+DRdUVq3tUtk+EX4pCqSd34Z6EMxNi/bjTzt1syAG9J2Oo1YFlqSg== + dependencies: + "@jsdevtools/ono" "^7.1.3" + call-me-maybe "^1.0.1" + js-yaml "^3.13.1" + +"@pyramation/json-schema-to-typescript@ 11.0.4": + version "11.0.4" + resolved "https://registry.yarnpkg.com/@pyramation/json-schema-to-typescript/-/json-schema-to-typescript-11.0.4.tgz#959bdb631dad336e1fdbf608a9b5908ab0da1d6b" + integrity sha512-+aSzXDLhMHOEdV2cJ7Tjg/9YenjHU5BCmClVygzwxJZ1R16NOfEn7lTAwVzb/2jivOSnhjHzMJbnSf8b6rd1zg== + dependencies: + "@pyramation/json-schema-ref-parser" "9.0.6" + "@types/json-schema" "^7.0.11" + "@types/lodash" "^4.14.182" + "@types/prettier" "^2.6.1" + cli-color "^2.0.2" + get-stdin "^8.0.0" + glob "^7.1.6" + glob-promise "^4.2.2" + is-glob "^4.0.3" + lodash "^4.17.21" + minimist "^1.2.6" + mkdirp "^1.0.4" + mz "^2.7.0" + prettier "^2.6.2" + "@scure/base@1.0.0": version "1.0.0" resolved "https://registry.yarnpkg.com/@scure/base/-/base-1.0.0.tgz#109fb595021de285f05a7db6806f2f48296fcee7" @@ -2810,16 +3916,39 @@ resolved "https://registry.yarnpkg.com/@scure/base/-/base-1.1.1.tgz#ebb651ee52ff84f420097055f4bf46cfba403938" integrity sha512-ZxOhsSyxYwLJj3pLZCefNitxsj093tb2vq90mp2txoYeBqbcjDjqFhyM8eUjq/uFm6zJ+mUuqxlS2FkuSY1MTA== +"@scure/base@^1.1.1", "@scure/base@~1.1.6": + version "1.1.7" + resolved "https://registry.yarnpkg.com/@scure/base/-/base-1.1.7.tgz#fe973311a5c6267846aa131bc72e96c5d40d2b30" + integrity sha512-PPNYBslrLNNUQ/Yad37MHYsNQtK67EhWb6WtSvNLLPo7SdVZgkUjD6Dg+5On7zNwmskf8OX7I7Nx5oN+MIWE0g== + "@scure/base@^1.1.5": version "1.1.5" resolved "https://registry.yarnpkg.com/@scure/base/-/base-1.1.5.tgz#1d85d17269fe97694b9c592552dd9e5e33552157" integrity sha512-Brj9FiG2W1MRQSTB212YVPRrcbjkv48FoZi/u4l/zds/ieRrqsh7aUf6CLwkAq61oKXr/ZlTzlY66gLIj3TFTQ== +"@scure/bip39@^1.1.0": + version "1.3.0" + resolved "https://registry.yarnpkg.com/@scure/bip39/-/bip39-1.3.0.tgz#0f258c16823ddd00739461ac31398b4e7d6a18c3" + integrity sha512-disdg7gHuTDZtY+ZdkmLpPCk7fxZSu3gBiEGuoC1XYxv9cGx3Z6cpTggCgW6odSOOIXCiDjuGejW+aJKCY/pIQ== + dependencies: + "@noble/hashes" "~1.4.0" + "@scure/base" "~1.1.6" + +"@sinclair/typebox@^0.24.1": + version "0.24.51" + resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.24.51.tgz#645f33fe4e02defe26f2f5c0410e1c094eac7f5f" + integrity sha512-1P1OROm/rdubP5aFDSZQILU0vrLCJ4fvHt6EoqHEM+2D/G5MK3bIaymUKLit8Js9gbns5UyJnkP/TZROLw4tUA== + "@sinclair/typebox@^0.27.8": version "0.27.8" resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.27.8.tgz#6667fac16c436b5434a387a34dedb013198f6e6e" integrity sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA== +"@sindresorhus/is@^0.14.0": + version "0.14.0" + resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-0.14.0.tgz#9fb3a3cf3132328151f353de4632e01e52102bea" + integrity sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ== + "@sindresorhus/slugify@^1.1.0": version "1.1.2" resolved "https://registry.yarnpkg.com/@sindresorhus/slugify/-/slugify-1.1.2.tgz#c2c0129298b8caace2d9156176fe244d0e83156c" @@ -2850,265 +3979,279 @@ dependencies: "@sinonjs/commons" "^3.0.0" -"@subql/cli@^3.3.3": - version "3.3.3" - resolved "https://registry.yarnpkg.com/@subql/cli/-/cli-3.3.3.tgz#6f68928fa3396cb894ff64e784b029a81b57090e" - integrity sha512-ARim8cxnEXMPxDueyv3L1+aXa7+MvJSNAW3xsqd92RY63rGWJtMVEif6CUO5AhD4bF35lICk1cH5ywece3JK6A== - dependencies: - "@oclif/command" "^1.8.16" - "@oclif/config" "^1.18.3" - "@oclif/core" "^1.3.3" - "@oclif/plugin-help" "^3.2.3" - "@subql/common" "2.4.1-0" - "@subql/common-algorand" latest - "@subql/common-cosmos" latest - "@subql/common-ethereum" latest - "@subql/common-flare" latest - "@subql/common-near" latest - "@subql/common-soroban" "^2.2.1-0" - "@subql/common-substrate" "2.2.1" - "@subql/utils" "2.4.3" - "@subql/validator" "2.1.2-0" - "@typechain/ethers-v5" "10.2.0" - "@types/ejs" "^3.1.0" - "@types/inquirer" "^8.2.0" +"@stellar/js-xdr@^3.1.1": + version "3.1.1" + resolved "https://registry.yarnpkg.com/@stellar/js-xdr/-/js-xdr-3.1.1.tgz#be0ff90c8a861d6e1101bca130fa20e74d5599bb" + integrity sha512-3gnPjAz78htgqsNEDkEsKHKosV2BF2iZkoHCNxpmZwUxiPsw+2VaXMed8RRMe0rGk3d5GZe7RrSba8zV80J3Ag== + +"@stellar/stellar-base@^11.0.1": + version "11.1.0" + resolved "https://registry.yarnpkg.com/@stellar/stellar-base/-/stellar-base-11.1.0.tgz#4b561776cb102a87828379cd1ac5d3ce96db4fb3" + integrity sha512-nMg7QSpFqCZFq3Je/lG12+DY18y01QHRNyCxvjM8i4myS9tPRMDq7zqGcd215BGbCJxenckiOW45YJjQjzdcMQ== + dependencies: + "@stellar/js-xdr" "^3.1.1" + base32.js "^0.1.0" + bignumber.js "^9.1.2" + buffer "^6.0.3" + sha.js "^2.3.6" + tweetnacl "^1.0.3" + optionalDependencies: + sodium-native "^4.1.1" + +"@subql/cli@latest": + version "4.13.1" + resolved "https://registry.yarnpkg.com/@subql/cli/-/cli-4.13.1.tgz#72368b70d316ae8783f876c90a02cb90eafa8797" + integrity sha512-danUaV1Beo4Zqk8MTVYh9mTZkmL4Jl+M05NH2o0yiOZ6mSgPfubhK/MDBj6ibWpVRKUN9bYFfYXxIDliOHxxcA== + dependencies: + "@oclif/core" "^2.15.0" + "@subql/common" "3.7.0" + "@subql/common-algorand" "^3.4.0" + "@subql/common-concordium" "^3.6.0" + "@subql/common-cosmos" "^4.3.0" + "@subql/common-ethereum" "^3.8.3" + "@subql/common-flare" "^3.6.0" + "@subql/common-near" "^3.5.0" + "@subql/common-stellar" "^3.5.0" + "@subql/common-substrate" "3.8.0" + "@subql/utils" "2.11.0" algosdk "^1.19.0" + boxen "5.1.2" cli-ux "^6.0.9" - ejs "^3.1.6" + ejs "^3.1.10" + ethers "^5.7.0" fuzzy "^0.1.3" inquirer "^8.2.0" inquirer-autocomplete-prompt "^1.4.0" + json5 "^2.2.3" node-fetch "2.6.7" - oclif "^2.4.4" rimraf "^3.0.2" + semver "^7.5.4" simple-git "^3.16.0" terser-webpack-plugin "^5.3.7" ts-loader "^9.2.6" + ts-node "^10.9.1" tslib "^2.3.1" - typechain "8.1.1" + typescript ">=5.2.2" + update-notifier "5.1.0" webpack "^5.76.0" webpack-merge "^5.8.0" websocket "^1.0.34" yaml "^2.2.2" yaml-loader "^0.6.0" -"@subql/common-algorand@latest": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@subql/common-algorand/-/common-algorand-1.0.1.tgz#42530af3dbdbcd03ba2c741d26b4c7c3bbb5f69b" - integrity sha512-paZbT1rI9IfHYyGpdRi5qSIKu7eMRKv1DvRvl0PD6veKcf+7MqpQ7BWFTNJMPj2yxdLSByFGWCguVg4KMGQSUQ== +"@subql/common-algorand@^3.4.0": + version "3.4.0" + resolved "https://registry.yarnpkg.com/@subql/common-algorand/-/common-algorand-3.4.0.tgz#459f2d226ea57e880cfc21eb4efedcb2abc9c33f" + integrity sha512-hoF68GbU1Crm4y8w9K+C/fPo1Jp7CtPM5GOZ584mDqL/GR+HmD4ipsghn7SBpa25+ruf/yM22FBz+nHlSZxY6w== dependencies: - "@subql/common" latest - "@subql/types-algorand" "1.2.1" - class-transformer "0.4.0" + "@subql/common" "^3.5.1" + "@subql/types-algorand" "3.3.0" + class-transformer "^0.5.1" class-validator "^0.13.2" + fs-extra "^10.1.0" + ipfs-http-client "^52.0.3" js-yaml "^4.1.0" reflect-metadata "^0.1.13" - semver "^7.3.7" + semver "^7.5.4" -"@subql/common-cosmos@latest": - version "0.0.7" - resolved "https://registry.yarnpkg.com/@subql/common-cosmos/-/common-cosmos-0.0.7.tgz#9e336282895014837d116c93e8962be27787dd10" - integrity sha512-8Yi+eiwJT//LcvUp4csVfH/fFjW3EasvL1IKCd/P4sFfzJsjeiaQDPTKjm4x+KqHmzgPq/Pf70HjMIu7NobyKg== +"@subql/common-concordium@^3.6.0": + version "3.6.0" + resolved "https://registry.yarnpkg.com/@subql/common-concordium/-/common-concordium-3.6.0.tgz#c57293bf44c09d06343c5cf531ae44c86fafd344" + integrity sha512-Qe5WaF2H2lt8QHK4WBMrvnWroVgoOx+cHR9PCBhgIZIVNjZYdOXIP0PE+5YEhcd0kSUy3GBvlXzVOuWa0GQvDg== dependencies: - "@subql/common" latest - "@subql/types-cosmos" "0.1.2-3" - class-transformer "0.4.0" - class-validator "^0.13.2" - js-yaml "^4.1.0" - reflect-metadata "^0.1.13" - -"@subql/common-ethereum@latest": - version "0.2.0" - resolved "https://registry.yarnpkg.com/@subql/common-ethereum/-/common-ethereum-0.2.0.tgz#b214b5f51c275eafa6f511be111184e820bf9ef5" - integrity sha512-y3zAcbTbFMcJX+b5bOYbbAOhgTjX6NkGYPppmL7P8DkNO/WpJIeXbFnXV19Y8IW+eNqO4roMYvNfVBwvYC5Ylw== - dependencies: - "@polkadot/util" "^8" - "@subql/common" latest - "@subql/types-ethereum" "0.2.0" - bn.js "4.11.6" - class-transformer "0.4.0" - class-validator "^0.13.2" - flatted "^3.2.2" - graphql "^15.7.2" - graphql-tag "^2.12.5" + "@concordium/node-sdk" "9.4.0" + "@subql/common" "^3.5.1" + "@subql/types-concordium" "3.6.0" js-yaml "^4.1.0" pino "^6.13.3" reflect-metadata "^0.1.13" - sequelize "^6.6.2" - vm2 "^3.9.9" -"@subql/common-flare@latest": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@subql/common-flare/-/common-flare-1.0.0.tgz#0b893231c42e79db56b3e8c3156bff5e1df6ea0f" - integrity sha512-d+ugoqUATnJbBPTsywzti3PX6tPSlaKiVAFHHUkogirzjWyluthl/7r1nGoIM/YGsqSlzt29M8RDMrpGMJn7ww== - dependencies: - "@polkadot/util" "^8" - "@subql/common" "1.8.1" - "@subql/types-flare" "1.0.0" - bn.js "4.11.6" - class-transformer "0.4.0" - class-validator "^0.13.2" - flatted "^3.2.2" - graphql "^15.7.2" - graphql-tag "^2.12.5" +"@subql/common-cosmos@^4.3.0": + version "4.3.0" + resolved "https://registry.yarnpkg.com/@subql/common-cosmos/-/common-cosmos-4.3.0.tgz#54afc725d14387c70c90b150a0b309e0c4ea8ce2" + integrity sha512-SL7fHHRsepTn8NpAyCexKRI9SsSHiEOXOhiDxXDH/+hEYDuOn5wAa+oajUhYRGM2KnRG5qtHSHBfPriw8L7G9g== + dependencies: + "@cosmwasm/ts-codegen" "^0.35.7" + "@protobufs/cosmos" "^0.1.0" + "@protobufs/cosmos_proto" "^0.0.10" + "@protobufs/cosmwasm" "^0.1.1" + "@protobufs/gogoproto" "^0.0.10" + "@protobufs/google" "^0.0.10" + "@protobufs/ibc" "^0.1.0" + "@protobufs/tendermint" "^0.0.10" + "@subql/common" "^3.5.1" + "@subql/types-cosmos" "3.4.0" + "@subql/x-cosmology-telescope" "^1.4.14" + fs-extra "^11.1.1" js-yaml "^4.1.0" - pino "^6.13.3" reflect-metadata "^0.1.13" - sequelize "6.28.0" - vm2 "^3.9.9" -"@subql/common-near@latest": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@subql/common-near/-/common-near-1.1.0.tgz#dc14484928cb302fe4b2a1af884679e1978e7906" - integrity sha512-YaS5JxqoGx0HyKNKjnwFuPu4rQer3twZyd6qZnvpqZMunm5p2Cl7dNJnvean3I1vbuVkSVI+X3tpz1g1vkZ/Pg== +"@subql/common-ethereum@^3.8.3": + version "3.9.0" + resolved "https://registry.yarnpkg.com/@subql/common-ethereum/-/common-ethereum-3.9.0.tgz#de5e1789aa95b1c98d522b0499eec636a2e49aa1" + integrity sha512-/GfQ2rSbWQ16sb+/CLcac59AcNlZcgDOvp5Avfn8INvOZDgXIz5W6dmClqkSKT0HQi7AW9WYgfzPX4hmstf7CQ== dependencies: - "@subql/common" latest - "@subql/types-near" "1.1.0" - class-transformer "0.4.0" - class-validator "^0.13.2" + "@subql/common" "^3.5.1" + "@subql/types-ethereum" "3.7.0" + "@typechain/ethers-v5" "^11.1.1" + "@zilliqa-js/crypto" "^3.5.0" js-yaml "^4.1.0" + pino "^6.13.3" reflect-metadata "^0.1.13" + typechain "^8.3.1" -"@subql/common-soroban@^2.2.1-0": - version "2.2.1-0" - resolved "https://registry.yarnpkg.com/@subql/common-soroban/-/common-soroban-2.2.1-0.tgz#cfcddc2b08acb4c33054f7704559cb6095236505" - integrity sha512-onwFB6KAmP/zjFCelzSA+80fyvH7cFtt5xxh+Ua5wdE2Rb8FOynlKsOJmblSN/XCLfyLxtWpfuHUAXRz+ziUCg== +"@subql/common-flare@^3.6.0": + version "3.8.3" + resolved "https://registry.yarnpkg.com/@subql/common-flare/-/common-flare-3.8.3.tgz#a6e24d8a689befcc540cdf85c57e8a19124cdc04" + integrity sha512-j69Cq5VdH+IPDz7NJrGpDXA0gTO8IEFFeVgP2RWcVYomnTY1ur0bR6R2mmj7Xo8V8meOkJwWwhAjlMc3gzVAlQ== dependencies: - "@subql/common" "^2.3.1-1" - "@subql/types-soroban" "2.2.3-2" + "@subql/common" "^3.5.1" + "@subql/types-flare" "3.6.1" + "@typechain/ethers-v5" "^11.1.1" + "@zilliqa-js/crypto" "^3.5.0" js-yaml "^4.1.0" pino "^6.13.3" reflect-metadata "^0.1.13" + typechain "^8.3.1" -"@subql/common-substrate@2.2.1": - version "2.2.1" - resolved "https://registry.yarnpkg.com/@subql/common-substrate/-/common-substrate-2.2.1.tgz#57e47264a41984e8cdc5ff033c263ce4983bb451" - integrity sha512-+485rXIad2/59YCV9NsU0mXBc705fo6r5/7m4sCgOmYRQ4qkdpvhwl2H/V/cGxne5NvNikRVum6VdlqnG6WmYQ== +"@subql/common-near@^3.5.0": + version "3.5.0" + resolved "https://registry.yarnpkg.com/@subql/common-near/-/common-near-3.5.0.tgz#7683094a92b4306c8c5924b4eabb9d72441d3b0e" + integrity sha512-wERKF3sLXexBcFskACd2lbnlIcGPpSsTYHheHPgGHqeWk+fSKslU1I/ZGbGzfD5Aud7/oR+kz2ILYs7XgSguQw== dependencies: - "@subql/common" "2.4.0" - "@subql/types" "2.1.3" + "@subql/common" "^3.5.1" + "@subql/types-near" "3.3.0" js-yaml "^4.1.0" reflect-metadata "^0.1.13" -"@subql/common@1.8.1": - version "1.8.1" - resolved "https://registry.yarnpkg.com/@subql/common/-/common-1.8.1.tgz#495e960ad9be149d6ee27cb555c8e4cf5f9f49ea" - integrity sha512-6z2YN8qdt93v7jpKmcDDVbtH5va6IO0tEgZ3e/VPICoJd5fNl6RMA2tW5rpApKkc8b1UFqhKAd6ZlhCEhoh7gg== +"@subql/common-stellar@^3.5.0": + version "3.5.0" + resolved "https://registry.yarnpkg.com/@subql/common-stellar/-/common-stellar-3.5.0.tgz#c7f621344ca71b7bb01c35b043aa37877259b340" + integrity sha512-INx/vDqcPoWJkDCkap0N5yqsP/bp5twUS6hF74M0XkyjM0OAjAY32W0cCzeN+bBnVKbBMQjw0kByyK8fIbCOVw== dependencies: - axios "^0.27.2" - class-transformer "0.5.1" - class-validator "^0.13.2" - fs-extra "^10.1.0" - ipfs-http-client "^52.0.3" + "@subql/common" "^3.5.1" + "@subql/types-stellar" "3.4.0" js-yaml "^4.1.0" + pino "^6.13.3" reflect-metadata "^0.1.13" - semver "^7.3.5" + stellar-sdk "^11.2.0" -"@subql/common@2.4.0", "@subql/common@^2.3.1-1": - version "2.4.0" - resolved "https://registry.yarnpkg.com/@subql/common/-/common-2.4.0.tgz#02fd973015803a76f2adc1e7b801e1966a0c52d2" - integrity sha512-MgpypO/hvXW80A7dXI6dt0Ki1PNfP3h+QGJxsSK+uVHIUTADDz0eHgtvcE+aD3YwqjxooeMj3IlnGZ1kJQKvQQ== +"@subql/common-substrate@3.8.0": + version "3.8.0" + resolved "https://registry.yarnpkg.com/@subql/common-substrate/-/common-substrate-3.8.0.tgz#8c796b3315c21e214d38dc8948b02e214bee02a1" + integrity sha512-8XcqNu5/BFnqt4MOJ7nXHMjad/NF0hDJPnBk7y8Thj6E9SxVJLoSC7oR9kyPW/ksGuxeFJqSPhcP6i5Cte0+Nw== dependencies: - axios "^0.27.2" - class-transformer "^0.5.1" - class-validator "^0.14.0" - fs-extra "^10.1.0" - ipfs-http-client "^52.0.3" + "@subql/common" "3.7.0" + "@subql/types" "3.6.0" js-yaml "^4.1.0" reflect-metadata "^0.1.13" - semver "^7.5.2" -"@subql/common@2.4.1-0": - version "2.4.1-0" - resolved "https://registry.yarnpkg.com/@subql/common/-/common-2.4.1-0.tgz#c2f541f56078bb5573828cc9da35c98fafe8c809" - integrity sha512-1DF+H6eC0/ebUSuFBUWfSiHGwkJtibwQwPAFfs23vUeTj9B3pVmGRVdES8hYkrF3BlCyEQko1FFw0NIt/UMxEg== +"@subql/common@3.7.0", "@subql/common@^3.5.1": + version "3.7.0" + resolved "https://registry.yarnpkg.com/@subql/common/-/common-3.7.0.tgz#f332b1cbd3b0ed29ffbe5ea1ff247e5ebf204908" + integrity sha512-ZdRttJrOrC86E1P7j1s+o//khbR6FsI1wj/UwBEgfi4Rbt+EyyRTOYk+ec9ETNPI3yci1Ju3joU/GEE0CFjdag== dependencies: - axios "^0.27.2" + "@subql/types-core" "0.7.0" + axios "^0.28.0" class-transformer "^0.5.1" class-validator "^0.14.0" fs-extra "^10.1.0" - ipfs-http-client "^52.0.3" + ipfs-http-client "56" js-yaml "^4.1.0" reflect-metadata "^0.1.13" semver "^7.5.2" + update-notifier "5.1.0" -"@subql/common@latest": - version "1.4.0" - resolved "https://registry.yarnpkg.com/@subql/common/-/common-1.4.0.tgz#bfe651c2c1146c5eb785952803ca76338a59735c" - integrity sha512-rHh8zSFlW9M5FYiFcXtyv9wHUo4L85qR1TMhuqEUCnuC5X5YhKIYXx1b4bLFtz8B+Toi0rJUIFxnD1IZy9xAvg== +"@subql/types-algorand@3.3.0": + version "3.3.0" + resolved "https://registry.yarnpkg.com/@subql/types-algorand/-/types-algorand-3.3.0.tgz#8f772e45b01e456051658db93fb4539b1c7c6665" + integrity sha512-INeJTT0GPRZ3mwPN0wcMYMkltfr8A6+Xbwg/FdBycu7wphPtH5blzdTUtE/+b7/gwDs3MqeE083yNjcXvWRxQQ== dependencies: - axios "^0.27.2" - class-transformer "0.5.1" - class-validator "^0.13.2" - fs-extra "^10.1.0" - ipfs-http-client "^52.0.3" - js-yaml "^4.1.0" - reflect-metadata "^0.1.13" - semver "^7.3.5" + "@subql/types-core" "^0.7.0" -"@subql/types-algorand@1.2.1": - version "1.2.1" - resolved "https://registry.yarnpkg.com/@subql/types-algorand/-/types-algorand-1.2.1.tgz#400aaefda2b37d501c28da108d49c18b364f0a03" - integrity sha512-fI6jJk99CI6PIzceUB+O5upOclsHpmp6sslBZCahC6yoSJlLQ/gCSCkZaAr80EdcdmJ8eFyWzbbavEp5RoVjZA== +"@subql/types-concordium@3.6.0": + version "3.6.0" + resolved "https://registry.yarnpkg.com/@subql/types-concordium/-/types-concordium-3.6.0.tgz#9b42eae7f3dd1c05467089e8c22f1e87ae7e3878" + integrity sha512-CVqGK7eFjjHuVDZupjKoR5lF20W3XfEBOsvAL6JNIrMxjdKgt+a8qvsPzy3m9sL/ZzqXruM0w6NvI8HurWG1Nw== + dependencies: + "@concordium/node-sdk" "9.4.0" + "@subql/types-core" "^0.7.0" + +"@subql/types-core@0.7.0", "@subql/types-core@^0.7.0": + version "0.7.0" + resolved "https://registry.yarnpkg.com/@subql/types-core/-/types-core-0.7.0.tgz#f32602d13e3b226c89391f125122d61f3beeb096" + integrity sha512-/Is7bqy9x769N3BnRLUQJPx1q4QQZqYt9VwqYJguOEKmPLMFjChlr988hIDwvRCxN6SmemzZvFFnKH0Vmj7gEw== + dependencies: + package-json-type "^1.0.3" -"@subql/types-cosmos@0.1.2-3": - version "0.1.2-3" - resolved "https://registry.yarnpkg.com/@subql/types-cosmos/-/types-cosmos-0.1.2-3.tgz#6d52db24ab401a22541a5e92f06448e16d4e6479" - integrity sha512-WNLW81yW4M/f2u4ncjhP8AqLBV+PMLrM97sgZM+YlKbrSbLl0FE1F6XMboPQxyqC2T6sdMkhrbn732jMPDFG6Q== +"@subql/types-cosmos@3.4.0": + version "3.4.0" + resolved "https://registry.yarnpkg.com/@subql/types-cosmos/-/types-cosmos-3.4.0.tgz#e728866551724d10e57c5760ef6d47ab0c5823f2" + integrity sha512-hLitUipz/CIU/82Gg0briqNeFjE6fHvOK3oHdO2g+3WBW2ehWvP3wks+4S4WE5Vjx1zHmnw9hc/nYQw0EVwWvg== dependencies: - "@cosmjs/cosmwasm-stargate" "^0.28.9" - "@cosmjs/proto-signing" "^0.28.9" - "@cosmjs/stargate" "^0.28.9" + "@cosmjs/cosmwasm-stargate" "^0.32.3" + "@cosmjs/proto-signing" "^0.32.3" + "@cosmjs/stargate" "^0.32.3" + "@subql/types-core" "^0.7.0" -"@subql/types-ethereum@0.2.0": - version "0.2.0" - resolved "https://registry.yarnpkg.com/@subql/types-ethereum/-/types-ethereum-0.2.0.tgz#ab640509cd4b79c7a6b1751ea139f6a4295111ea" - integrity sha512-Gk5ru0T8hcFDY12fIaTU51d4XlNIAbB48KdGEuIld1KHSQf52TizjOO42XKL/Q6XleLZvWCN6xFEpf6lIH8qHA== +"@subql/types-ethereum@3.7.0": + version "3.7.0" + resolved "https://registry.yarnpkg.com/@subql/types-ethereum/-/types-ethereum-3.7.0.tgz#b83c6e3062a9162e2a2b31b6df58d79ad912c02b" + integrity sha512-JceZwAAb6gsaDnlCN9JKbTy0Iom902vI2jk1RdwatNo3ilDkOQgpR5V9rL5HHrl83mEjjWWw8e1Rb16kqih4Kw== dependencies: "@ethersproject/abstract-provider" "^5.6.1" + "@ethersproject/providers" "^5.7.2" + "@subql/types-core" "^0.7.0" -"@subql/types-flare@1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@subql/types-flare/-/types-flare-1.0.0.tgz#8bda8b2c7912f7403dfd02f705261023686b3111" - integrity sha512-muELHwZit4UBIwzPXrNOYZBMnNg+dzFjgY3PbSFwkIYwq7nlT1KfWPNSl+o9+9dC6IEy+pgZh12CdIMQj3S+Lg== +"@subql/types-flare@3.6.1": + version "3.6.1" + resolved "https://registry.yarnpkg.com/@subql/types-flare/-/types-flare-3.6.1.tgz#2ce9256c6d7d04285186e36fd4688c9d39f6e829" + integrity sha512-ovCmQnylrFlk5X0ePCroQ23AypYBAGltU+6lYDlqayUbgQQO5QDBDCv1YvK7rljylE0vjP+mn9OR+TPb+n17ew== dependencies: "@ethersproject/abstract-provider" "^5.6.1" + "@ethersproject/providers" "^5.7.2" + "@subql/types-core" "^0.7.0" -"@subql/types-near@1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@subql/types-near/-/types-near-1.1.0.tgz#d0304d6902218f86129db56c7e9f4878a88f10fa" - integrity sha512-jvBEB7rsJVdYrFs0VXcKLggXowx07yagTbuc6qNW2OjZQ8r/Yeiyz7OxXBSkMIiPmWC9XrkYWg9cOPAkob1LpQ== +"@subql/types-near@3.3.0": + version "3.3.0" + resolved "https://registry.yarnpkg.com/@subql/types-near/-/types-near-3.3.0.tgz#c15c483f409e2c56f003264ce25851ad44ec3477" + integrity sha512-huOr0PS+5HUyI7lzBEyUiy/JXPEg++U2ybrastpgGCmLPti0QZ76MutPJlfMLt0eMFHfW0VaiZybBZx/G1/PZw== dependencies: + "@subql/types-core" "^0.7.0" bn.js "5.2.1" near-api-js "^1.1.0" -"@subql/types-soroban@2.2.3-2": - version "2.2.3-2" - resolved "https://registry.yarnpkg.com/@subql/types-soroban/-/types-soroban-2.2.3-2.tgz#00345627c1548bff802e328819048e40d9a97dbe" - integrity sha512-up9capG4yZDIswhTLQFbcitWoU2zqyGVoMDiPo8tRA+69bOxHiGZg8rwI9/lzZ/NGv8yaJsl1VdbANOHV65Ogw== +"@subql/types-stellar@3.4.0": + version "3.4.0" + resolved "https://registry.yarnpkg.com/@subql/types-stellar/-/types-stellar-3.4.0.tgz#7cd504d8ef91d6ad78ac2ec1fe9c8370a17f97ff" + integrity sha512-Ls869pkRZIx7eQ+58vYuhrJhG18kfe/EhNqe1KVNyd4Z7h8Lleul5pUhQOCumOBGZwfyICZOeBhIuwS8PkAyqA== dependencies: - soroban-client "0.9.2" + "@subql/types-core" "^0.7.0" + stellar-sdk "^11.2.2" -"@subql/types@2.1.3": - version "2.1.3" - resolved "https://registry.yarnpkg.com/@subql/types/-/types-2.1.3.tgz#10886d7bb9d2773e87a983e51efd05375eae1e5f" - integrity sha512-YNnH3npZwogTe3zM/ET6CXX4ouY1fTxR8uMl2x7fdGLIhWRbxNCbZwRvQ8pHupreYxRREghSZwQ4gQmImTKNlw== +"@subql/types@3.6.0": + version "3.6.0" + resolved "https://registry.yarnpkg.com/@subql/types/-/types-3.6.0.tgz#165180fd866ab5a2f94918ef61138b80ab703315" + integrity sha512-KIayGfnqMoN6VhIwVEiV62NdvN/d3tE7MdIsssA+r2kK18wEhi9Vvh2VgrUdVgv37HAKO1aoo/aiYJu2R04ezw== + dependencies: + "@subql/types-core" "0.7.0" -"@subql/types@^1.7.2": - version "1.7.2" - resolved "https://registry.yarnpkg.com/@subql/types/-/types-1.7.2.tgz#a93b340e1587c4305139114453b0fb39990a9956" - integrity sha512-M4n7c1vbEvJESwancIsJu5cigpyNXdUWLFIwxyFPdQwUdw0yNWZxqImrn6S4IYUoQ04Q2lM5r2wsjO3Pt6WTZQ== +"@subql/types@latest": + version "3.6.1" + resolved "https://registry.yarnpkg.com/@subql/types/-/types-3.6.1.tgz#86c95dc08237f3a565ce496b7a32d08a2bfc1d67" + integrity sha512-lmmA7C0eKQ2ffF/h3fKDblxFAD7sM7Ti/VJW5P6l5a+BqmZRfN5ChUbASWJQP+E3DQ/FbPpYAYSKosJdpLjgpQ== + dependencies: + "@subql/types-core" "0.7.0" -"@subql/utils@2.4.3": - version "2.4.3" - resolved "https://registry.yarnpkg.com/@subql/utils/-/utils-2.4.3.tgz#fb0d66570168cb28e8c18e26f3cb3faf5ea98e3b" - integrity sha512-zfqGQhRVNCfuqQ0HTIf8Tmw2mcA3yWxy8fe6Wp1lr5NPBpbb1Y5kXTBFDc35vQCgdDCwmtMuq6vlsWDXTsjIIw== +"@subql/utils@2.11.0": + version "2.11.0" + resolved "https://registry.yarnpkg.com/@subql/utils/-/utils-2.11.0.tgz#eaf6279c16523798ebccfb2b2fe7b3c947eac6cd" + integrity sha512-bTJvqyrLot7pGqZPDqaGv90fDL9SCFJZl0KSarZ6gQY+jmaV1DL8Dr2b4mA4juMAC8PtNObjDOzEpVZsrvQQ0A== dependencies: - "@polkadot/util" "^12.2.1" - "@polkadot/util-crypto" "^12.2.1" - "@subql/x-sequelize" "6.32.0-0.0.2" + "@polkadot/util" "^12.6.2" + "@polkadot/util-crypto" "^12.6.2" + "@subql/x-sequelize" "6.32.0-0.0.4" ansi-styles "^6.1.0" - axios "^0.27.1" chalk "^4.1.2" detect-port "^1.3.0" flatted "^3.2.5" @@ -3118,29 +4261,82 @@ pino "^6.13.3" rotating-file-stream "^3.0.2" semver "^7.5.2" - tar "^6.1.11" - -"@subql/validator@2.1.2-0": - version "2.1.2-0" - resolved "https://registry.yarnpkg.com/@subql/validator/-/validator-2.1.2-0.tgz#91964fac39c9adaf9d234d436104aaa8b2e5ea49" - integrity sha512-/PuqDkAgCLh3Bld6m8Tf9yIpntcR2VXc0Ug2YPsjZxR/tCpOA3sbW3AxpbC/kuiuU/TPzw1oESrqlZt8PpyYrg== - dependencies: - "@subql/common" "2.4.1-0" - "@subql/common-algorand" latest - "@subql/common-cosmos" latest - "@subql/common-ethereum" latest - "@subql/common-flare" latest - "@subql/common-near" latest - "@subql/common-soroban" "^2.2.1-0" - "@subql/common-substrate" "2.2.1" - axios "^0.24.0" - js-yaml "^4.1.0" - package-json-type "^1.0.3" + tar "^6.2.1" + +"@subql/x-cosmology-ast@^1.4.10": + version "1.4.10" + resolved "https://registry.yarnpkg.com/@subql/x-cosmology-ast/-/x-cosmology-ast-1.4.10.tgz#6a386622b85b455e07ae02f8d53fee5f507208ad" + integrity sha512-oXIDzneQJy9IzwjRwrLONDx6Q4tyJnX5ELUZqoHf8YXQExTdNO73ufcQah52Curq0Y465mxcdptil1urmEe4zg== + dependencies: + "@babel/parser" "^7.23.6" + "@babel/types" "7.23.6" + "@subql/x-cosmology-types" "^1.4.4" + "@subql/x-cosmology-utils" "^1.4.4" + case "1.6.3" + dotty "0.1.2" + +"@subql/x-cosmology-proto-parser@^1.4.6": + version "1.4.6" + resolved "https://registry.yarnpkg.com/@subql/x-cosmology-proto-parser/-/x-cosmology-proto-parser-1.4.6.tgz#8ed12cd0f41dd0e893f7ee7f11da8df682a2c943" + integrity sha512-8xYLuTvo1KlsSoprZGA0MHzG3eoLSUUWZT1gKL9TII9TlUHFO7HvXsaot8VutkxmqdfkrsenzyNFI9KLngZg6w== + dependencies: + "@cosmology/protobufjs" "6.11.6" + "@subql/x-cosmology-types" "^1.4.4" + "@subql/x-cosmology-utils" "^1.4.4" + dotty "0.1.2" + glob "8.0.3" + minimatch "5.1.0" + mkdirp "3.0.0" + +"@subql/x-cosmology-telescope@^1.4.14": + version "1.4.14" + resolved "https://registry.yarnpkg.com/@subql/x-cosmology-telescope/-/x-cosmology-telescope-1.4.14.tgz#c077581f99cdb111bebee56e0ee9364a377e4e56" + integrity sha512-vyt8Hs/HTCaEO4JAeU5XD8ZqUHx/aWBxKmBRHt+UX+X3FnhHSxsj9WjV2MPvP/dkvM1f5YH0Gds8SyasK2XymA== + dependencies: + "@babel/generator" "^7.23.6" + "@babel/parser" "^7.23.6" + "@babel/traverse" "7.23.6" + "@babel/types" "7.23.6" + "@cosmwasm/ts-codegen" "0.34.0" + "@subql/x-cosmology-ast" "^1.4.10" + "@subql/x-cosmology-proto-parser" "^1.4.6" + "@subql/x-cosmology-types" "^1.4.4" + "@subql/x-cosmology-utils" "^1.4.4" + "@types/parse-package-name" "0.1.0" + case "1.6.3" + dargs "7.0.0" + deepmerge "4.3.1" + dotty "0.1.2" + fuzzy "0.1.3" + glob "8.0.3" + inquirerer "0.1.3" + long "^5.2.1" + minimatch "5.1.0" + minimist "1.2.8" + mkdirp "3.0.0" + parse-package-name "1.0.0" + rimraf "5.0.0" + shelljs "0.8.5" + +"@subql/x-cosmology-types@^1.4.4": + version "1.4.4" + resolved "https://registry.yarnpkg.com/@subql/x-cosmology-types/-/x-cosmology-types-1.4.4.tgz#72f8e6223eb4ef418c6992302301a848cd9098e0" + integrity sha512-t/5hpflOrc1+Q13Ob5+xXesPM/6+V9qaRmUBkXbo4TlwVSWuKZT5kVAt6w9YUnbx3g9UECE+v7Mht2X4PmyL5A== + dependencies: + case "1.6.3" + +"@subql/x-cosmology-utils@^1.4.4": + version "1.4.4" + resolved "https://registry.yarnpkg.com/@subql/x-cosmology-utils/-/x-cosmology-utils-1.4.4.tgz#dc967293b35f460654273d2010995fdf7b9a9574" + integrity sha512-7nTz2L8UwbhjSm+KMVGV5bPVYj/uM2M5poxdnp671J6H8oxamcTO9lSqAQJzIRWC4eZ4fH9kqW8u8mCKOChoOw== + dependencies: + "@subql/x-cosmology-types" "^1.4.4" + dotty "0.1.2" -"@subql/x-sequelize@6.32.0-0.0.2": - version "6.32.0-0.0.2" - resolved "https://registry.yarnpkg.com/@subql/x-sequelize/-/x-sequelize-6.32.0-0.0.2.tgz#22525380c4d5455872de2ab5db7ee18f8ccf7b3f" - integrity sha512-r/ZMa97GEKyHNy4AHHxuym5N0y1ND/z7m5ZEB2wcqylsa0WSsdS2sMFLf2clm2derZ+SyPhODtNVUjW6djTO1w== +"@subql/x-sequelize@6.32.0-0.0.4": + version "6.32.0-0.0.4" + resolved "https://registry.yarnpkg.com/@subql/x-sequelize/-/x-sequelize-6.32.0-0.0.4.tgz#82123bd5e0077ad347b46358460605973842f2c3" + integrity sha512-J4ffdh2OwNSGBHzRHIudbmLrV/sJnh1eQ9heV3DVXb406KxmjUTVGfIAp//ObOImW3C3P3RY9/WyAE5AklaGBg== dependencies: "@types/debug" "^4.1.7" "@types/validator" "^13.7.1" @@ -3205,6 +4401,16 @@ resolved "https://registry.yarnpkg.com/@substrate/connect-extension-protocol/-/connect-extension-protocol-1.0.1.tgz#fa5738039586c648013caa6a0c95c43265dbe77d" integrity sha512-161JhCC1csjH3GE5mPLEd7HbWtwNSPJBg3p1Ksz9SFlTzj/bgEwudiRN2y5i0MoLGCIJRYKyKGMxVnd29PzNjg== +"@substrate/connect-extension-protocol@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@substrate/connect-extension-protocol/-/connect-extension-protocol-2.0.0.tgz#badaa6e6b5f7c7d56987d778f4944ddb83cd9ea7" + integrity sha512-nKu8pDrE3LNCEgJjZe1iGXzaD6OSIDD4Xzz/yo4KO9mQ6LBvf49BVrt4qxBFGL6++NneLiWUZGoh+VSd4PyVIg== + +"@substrate/connect-known-chains@^1.1.4": + version "1.1.5" + resolved "https://registry.yarnpkg.com/@substrate/connect-known-chains/-/connect-known-chains-1.1.5.tgz#4aed3c402458bfb31ddfc54eeb5cb4a4c74ca88e" + integrity sha512-GCdDMs5q9xDYyP/KEwrlWMdqv8OIPjuVMZvNowvUrvEFo5d+x+VqfRPzyl/RbV+snRQVWTTacRydE7GqyjCYPQ== + "@substrate/connect@0.7.11": version "0.7.11" resolved "https://registry.yarnpkg.com/@substrate/connect/-/connect-0.7.11.tgz#fa9d24991fe9edc7fb771fbdee21a9b7cf6d1322" @@ -3223,13 +4429,28 @@ eventemitter3 "^4.0.7" smoldot "1.0.4" -"@substrate/connect@0.7.35": - version "0.7.35" - resolved "https://registry.yarnpkg.com/@substrate/connect/-/connect-0.7.35.tgz#853d8ff50717a8c9ee8f219d11a86e61a54b88b8" - integrity sha512-Io8vkalbwaye+7yXfG1Nj52tOOoJln2bMlc7Q9Yy3vEWqZEVkgKmcPVzbwV0CWL3QD+KMPDA2Dnw/X7EdwgoLw== +"@substrate/connect@0.8.10": + version "0.8.10" + resolved "https://registry.yarnpkg.com/@substrate/connect/-/connect-0.8.10.tgz#810b6589f848828aa840c731a1f36b84fe0e5956" + integrity sha512-DIyQ13DDlXqVFnLV+S6/JDgiGowVRRrh18kahieJxhgvzcWicw5eLc6jpfQ0moVVLBYkO7rctB5Wreldwpva8w== dependencies: - "@substrate/connect-extension-protocol" "^1.0.1" - smoldot "2.0.7" + "@substrate/connect-extension-protocol" "^2.0.0" + "@substrate/connect-known-chains" "^1.1.4" + "@substrate/light-client-extension-helpers" "^0.0.6" + smoldot "2.0.22" + +"@substrate/light-client-extension-helpers@^0.0.6": + version "0.0.6" + resolved "https://registry.yarnpkg.com/@substrate/light-client-extension-helpers/-/light-client-extension-helpers-0.0.6.tgz#bec1c7997241226db50b44ad85a992b4348d21c3" + integrity sha512-girltEuxQ1BvkJWmc8JJlk4ZxnlGXc/wkLcNguhY+UoDEMBK0LsdtfzQKIfrIehi4QdeSBlFEFBoI4RqPmsZzA== + dependencies: + "@polkadot-api/json-rpc-provider" "0.0.1" + "@polkadot-api/json-rpc-provider-proxy" "0.0.1" + "@polkadot-api/observable-client" "0.1.0" + "@polkadot-api/substrate-client" "0.0.1" + "@substrate/connect-extension-protocol" "^2.0.0" + "@substrate/connect-known-chains" "^1.1.4" + rxjs "^7.8.1" "@substrate/smoldot-light@0.6.30": version "0.6.30" @@ -3244,11 +4465,6 @@ resolved "https://registry.yarnpkg.com/@substrate/ss58-registry/-/ss58-registry-1.29.0.tgz#0dea078271b5318c5eff7176e1df1f9b2c27e43f" integrity sha512-KTqwZgTjtWPhCAUJJx9qswP/p9cRKUU9GOHYUDKNdISFDiFafWmpI54JHfYLkgjvkSKEUgRZnvLpe0LMF1fXvw== -"@substrate/ss58-registry@^1.40.0": - version "1.41.0" - resolved "https://registry.yarnpkg.com/@substrate/ss58-registry/-/ss58-registry-1.41.0.tgz#dd18e132f44b73c3cd31cf0db489c10af70bef36" - integrity sha512-TLz5VkEaJRNFzf1Oiix9gqknKer3aKbLfjK9XHBFCIhdxlQpI+S6lZGu3wT4DHAGXPakYfXb8+9ZIOtWLcQ/2Q== - "@substrate/ss58-registry@^1.43.0": version "1.43.0" resolved "https://registry.yarnpkg.com/@substrate/ss58-registry/-/ss58-registry-1.43.0.tgz#93108e45cb7ef6d82560c153e3692c2aa1c711b3" @@ -3259,15 +4475,12 @@ resolved "https://registry.yarnpkg.com/@substrate/ss58-registry/-/ss58-registry-1.44.0.tgz#54f214e2a44f450b7bbc9252891c1879a54e0606" integrity sha512-7lQ/7mMCzVNSEfDS4BCqnRnKCFKpcOaPrxMeGTXHX1YQzM/m2BBHjbK2C3dJvjv7GYxMiaTq/HdWQj1xS6ss+A== -"@tootallnate/once@1": +"@szmarczak/http-timer@^1.1.2": version "1.1.2" - resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-1.1.2.tgz#ccb91445360179a04e7fe6aff78c00ffc1eeaf82" - integrity sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw== - -"@tootallnate/once@2": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-2.0.0.tgz#f544a148d3ab35801c1f633a7441fd87c2e484bf" - integrity sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A== + resolved "https://registry.yarnpkg.com/@szmarczak/http-timer/-/http-timer-1.1.2.tgz#b1665e2c461a2cd92f4c1bbf50d5454de0d4b421" + integrity sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA== + dependencies: + defer-to-connect "^1.0.1" "@tsconfig/node10@^1.0.7": version "1.0.9" @@ -3289,10 +4502,10 @@ resolved "https://registry.yarnpkg.com/@tsconfig/node16/-/node16-1.0.4.tgz#0b92dcc0cc1c81f6f306a381f28e31b1a56536e9" integrity sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA== -"@typechain/ethers-v5@10.2.0": - version "10.2.0" - resolved "https://registry.yarnpkg.com/@typechain/ethers-v5/-/ethers-v5-10.2.0.tgz#68f5963efb5214cb2d881477228e4b5b315473e1" - integrity sha512-ikaq0N/w9fABM+G01OFmU3U3dNnyRwEahkdvi9mqy1a3XwKiPZaF/lu54OcNaEWnpvEYyhhS0N7buCtLQqC92w== +"@typechain/ethers-v5@^11.1.1": + version "11.1.2" + resolved "https://registry.yarnpkg.com/@typechain/ethers-v5/-/ethers-v5-11.1.2.tgz#82510c1744f37a2f906b9e0532ac18c0b74ffe69" + integrity sha512-ID6pqWkao54EuUQa0P5RgjvfA3MYqxUQKpbGKERbsjBW5Ra7EIXvbMlPp2pcP5IAdUkyMCFYsP2SN5q7mPdLDQ== dependencies: lodash "^4.17.15" ts-essentials "^7.0.1" @@ -3344,6 +4557,13 @@ dependencies: "@types/node" "*" +"@types/cli-progress@^3.11.0": + version "3.11.5" + resolved "https://registry.yarnpkg.com/@types/cli-progress/-/cli-progress-3.11.5.tgz#9518c745e78557efda057e3f96a5990c717268c3" + integrity sha512-D4PbNRbviKyppS5ivBGyFO29POlySLmA2HyUFE4p5QGazAMM3CwkKWcvTl8gvElSuxRh6FPKL8XmidX873ou4g== + dependencies: + "@types/node" "*" + "@types/debug@^4.1.7": version "4.1.7" resolved "https://registry.yarnpkg.com/@types/debug/-/debug-4.1.7.tgz#7cc0ea761509124709b8b2d1090d8f6c17aadb82" @@ -3351,11 +4571,6 @@ dependencies: "@types/ms" "*" -"@types/ejs@^3.1.0": - version "3.1.1" - resolved "https://registry.yarnpkg.com/@types/ejs/-/ejs-3.1.1.tgz#29c539826376a65e7f7d672d51301f37ed718f6d" - integrity sha512-RQul5wEfY7BjWm0sYY86cmUN/pcXWGyVxWX93DFFJvcrxax5zKlieLwA3T77xJGwNcZW0YW6CYG70p1m8xPFmA== - "@types/eslint-scope@^3.7.3": version "3.7.4" resolved "https://registry.yarnpkg.com/@types/eslint-scope/-/eslint-scope-3.7.4.tgz#37fc1223f0786c39627068a12e94d6e6fc61de16" @@ -3382,12 +4597,7 @@ resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.1.tgz#aa22750962f3bf0e79d753d3cc067f010c95f194" integrity sha512-LG4opVs2ANWZ1TJoKc937iMmNstM/d0ae1vNbnBvBhqCSezgVUOzcLCqbI5elV8Vy6WKwKjaqR+zO9VKirBBCA== -"@types/expect@^1.20.4": - version "1.20.4" - resolved "https://registry.yarnpkg.com/@types/expect/-/expect-1.20.4.tgz#8288e51737bf7e3ab5d7c77bfa695883745264e5" - integrity sha512-Q5Vn3yjTDyCMV50TB6VRIbQNxSE4OmZR86VSbGaNpfUolm0iePBB4KdEEHmxoY5sT2+2DIvXW0rvMDP2nHZ4Mg== - -"@types/glob@^7.1.1": +"@types/glob@^7.1.3": version "7.2.0" resolved "https://registry.yarnpkg.com/@types/glob/-/glob-7.2.0.tgz#bc1b5bf3aa92f25bd5dd39f35c57361bdce5b2eb" integrity sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA== @@ -3402,13 +4612,6 @@ dependencies: "@types/node" "*" -"@types/inquirer@^8.2.0": - version "8.2.3" - resolved "https://registry.yarnpkg.com/@types/inquirer/-/inquirer-8.2.3.tgz#985515d04879a0d0c1f5f49ec375767410ba9dab" - integrity sha512-ZlBqD+8WIVNy3KIVkl+Qne6bGLW2erwN0GJXY9Ri/9EMbyupee3xw3H0Mmv5kJoLyNpfd/oHlwKxO0DUDH7yWA== - dependencies: - "@types/through" "*" - "@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0", "@types/istanbul-lib-coverage@^2.0.1": version "2.0.4" resolved "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.4.tgz#8467d4b3c087805d63580480890791277ce35c44" @@ -3441,6 +4644,16 @@ resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.11.tgz#d421b6c527a3037f7c84433fd2c4229e016863d3" integrity sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ== +"@types/json-schema@^7.0.11": + version "7.0.15" + resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.15.tgz#596a1747233694d50f6ad8a7869fcb6f56cf5841" + integrity sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA== + +"@types/lodash@^4.14.182": + version "4.17.5" + resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.17.5.tgz#e6c29b58e66995d57cd170ce3e2a61926d55ee04" + integrity sha512-MBIOHVZqVqgfro1euRDWX7OO0fBVUUMrN6Pwm8LQsz8cWhEpihlvR70ENj3f40j58TNxZaWv2ndSkInykNBBJw== + "@types/long@^4.0.1": version "4.0.2" resolved "https://registry.yarnpkg.com/@types/long/-/long-4.0.2.tgz#b74129719fc8d11c01868010082d483b7545591a" @@ -3458,7 +4671,7 @@ resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-5.1.2.tgz#07508b45797cb81ec3f273011b054cd0755eddca" integrity sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA== -"@types/minimatch@^3.0.3", "@types/minimatch@^3.0.4": +"@types/minimatch@^3.0.4": version "3.0.5" resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.5.tgz#1001cc5e6a3704b83c236027e77f2f58ea010f40" integrity sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ== @@ -3481,33 +4694,26 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-18.7.16.tgz#0eb3cce1e37c79619943d2fd903919fc30850601" integrity sha512-EQHhixfu+mkqHMZl1R2Ovuvn47PUw18azMJOTwSZr9/fhzHNGXAJ0ma0dayRVchprpCj0Kc1K1xKoWaATWF1qg== -"@types/node@^15.6.1": - version "15.14.9" - resolved "https://registry.yarnpkg.com/@types/node/-/node-15.14.9.tgz#bc43c990c3c9be7281868bbc7b8fdd6e2b57adfa" - integrity sha512-qjd88DrCxupx/kJD5yQgZdcYKZKSIGBVDIBE1/LTGcNm3d2Np/jxojkdePDdfnBHJc5W7vSMpbJ1aB7p/Py69A== - -"@types/normalize-package-data@^2.4.0": - version "2.4.1" - resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz#d3357479a0fdfdd5907fe67e17e0a85c906e1301" - integrity sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw== +"@types/parse-package-name@0.1.0": + version "0.1.0" + resolved "https://registry.yarnpkg.com/@types/parse-package-name/-/parse-package-name-0.1.0.tgz#a4e54e3eef677d8b9d931b54b94ed77e8ae52a4f" + integrity sha512-+vF4M3Cd3Ec22Uwb+OKhDrSAcXQ5I6evRx+1letx4KzfzycU+AOEDHnCifus8In11i8iYNFXPfzg9HWTcC1h+Q== "@types/prettier@^2.1.1": version "2.7.2" resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.7.2.tgz#6c2324641cc4ba050a8c710b2b251b377581fbf0" integrity sha512-KufADq8uQqo1pYKVIYzfKbJfBAc0sOeXqGbFaSpv8MRmC/zXgowNZmFcbngndGk922QDmOASEXUZCaY48gs4cg== +"@types/prettier@^2.6.1": + version "2.7.3" + resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.7.3.tgz#3e51a17e291d01d17d3fc61422015a933af7a08f" + integrity sha512-+68kP9yzs4LMp7VNh8gdzMSPZFL44MLGqiHWvttYJe+6qnuVr4Ek9wSBQoveqY/r+LwjCcU29kNVkidwim+kYA== + "@types/stack-utils@^2.0.0": version "2.0.1" resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.1.tgz#20f18294f797f2209b5f65c8e3b5c8e8261d127c" integrity sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw== -"@types/through@*": - version "0.0.30" - resolved "https://registry.yarnpkg.com/@types/through/-/through-0.0.30.tgz#e0e42ce77e897bd6aead6f6ea62aeb135b8a3895" - integrity sha512-FvnCJljyxhPM3gkRgWmxmDZyAQSiBQQWLI0A0VFL0K7W1oRUrPJSqNO0NvTnLkBcotdlp3lKvaT0JrnyRDkzOg== - dependencies: - "@types/node" "*" - "@types/unist@*", "@types/unist@^2.0.0", "@types/unist@^2.0.2": version "2.0.6" resolved "https://registry.yarnpkg.com/@types/unist/-/unist-2.0.6.tgz#250a7b16c3b91f672a24552ec64678eeb1d3a08d" @@ -3523,14 +4729,6 @@ resolved "https://registry.yarnpkg.com/@types/validator/-/validator-13.7.17.tgz#0a6d1510395065171e3378a4afc587a3aefa7cc1" integrity sha512-aqayTNmeWrZcvnG2MG9eGYI6b7S5fl+yKgPs6bAjOTwPS316R5SxBGKvtSExfyoJU7pIeHJfsHI0Ji41RVMkvQ== -"@types/vinyl@^2.0.4": - version "2.0.6" - resolved "https://registry.yarnpkg.com/@types/vinyl/-/vinyl-2.0.6.tgz#b2d134603557a7c3d2b5d3dc23863ea2b5eb29b0" - integrity sha512-ayJ0iOCDNHnKpKTgBG6Q6JOnHTj9zFta+3j2b8Ejza0e4cvRyMn0ZoLEmbPrTHe5YYRlDYPvPWVdV4cTaRyH7g== - dependencies: - "@types/expect" "^1.20.4" - "@types/node" "*" - "@types/websocket@^1.0.5": version "1.0.5" resolved "https://registry.yarnpkg.com/@types/websocket/-/websocket-1.0.5.tgz#3fb80ed8e07f88e51961211cd3682a3a4a81569c" @@ -3691,10 +4889,33 @@ resolved "https://registry.yarnpkg.com/@zeroio/type-definitions/-/type-definitions-0.0.14.tgz#9331e7bbbd96fa47cf62a4a0a3fa1caaaafcd7aa" integrity sha512-OkqtOLPkR7oqWLrsgRKhzyLZVFLnNLfEF3DMXH+Rpn1fMNMDq/fOY9pXt55B+flBc62saN73CfOTy3hMSVZFTA== -abbrev@1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" - integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q== +"@zilliqa-js/crypto@^3.5.0": + version "3.5.0" + resolved "https://registry.yarnpkg.com/@zilliqa-js/crypto/-/crypto-3.5.0.tgz#62288e660d737f8d256288f58d2d5cde39db29b7" + integrity sha512-KMTY4hREh706k0oqCJ7KTFCEgPvgWuckv7z1SkOc9UDjJnnfOD8KxGWrleaKMZOw+EjKJRybxgewPUvSZ+o7Mw== + dependencies: + "@zilliqa-js/util" "3.5.0" + aes-js "^3.1.1" + buffer "^6.0.3" + crypto-js "^4.2.0" + elliptic "^6.5.0" + hash.js "^1.1.5" + hmac-drbg "^1.0.1" + pbkdf2 "^3.0.16" + scrypt-js "^3.0.1" + scryptsy "^2.1.0" + tslib "2.3.1" + uuid "8.3.2" + +"@zilliqa-js/util@3.5.0": + version "3.5.0" + resolved "https://registry.yarnpkg.com/@zilliqa-js/util/-/util-3.5.0.tgz#ee76b7129dc4754ed754923b2c4e2f64b42630eb" + integrity sha512-YT8OhYAv2nCIrRTMMwXLDEqyV/O0jbtfc5Uvlb0qkIx56a4OeneebIJtBlTwf9ld7MZlU5LvvDOEJyljQErz6w== + dependencies: + bn.js "^4.11.8" + camelcase "^5.0.0" + long "^4.0.0" + tslib "2.3.1" abort-controller@^3.0.0: version "3.0.0" @@ -3708,7 +4929,7 @@ acorn-import-assertions@^1.9.0: resolved "https://registry.yarnpkg.com/acorn-import-assertions/-/acorn-import-assertions-1.9.0.tgz#507276249d684797c84e0734ef84860334cfb1ac" integrity sha512-cmMwop9x+8KFhxvKrKfPYmN6/pKTYYHBqLa0DfvVZcKMJWNyWLnaqND7dx/qn66R7ewM1UX5XMaDVP5wlVTaVA== -acorn-walk@^8.1.1, acorn-walk@^8.2.0: +acorn-walk@^8.1.1: version "8.2.0" resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.2.0.tgz#741210f2e2426454508853a2f44d0ab83b7f69c1" integrity sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA== @@ -3718,7 +4939,7 @@ acorn@^8.4.1: resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.10.0.tgz#8be5b3907a67221a81ab23c7889c4c5526b62ec5" integrity sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw== -acorn@^8.5.0, acorn@^8.7.0, acorn@^8.7.1: +acorn@^8.5.0, acorn@^8.7.1: version "8.8.0" resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.8.0.tgz#88c0187620435c7f6015803f5539dae05a9dbea8" integrity sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w== @@ -3728,29 +4949,15 @@ address@^1.0.1: resolved "https://registry.yarnpkg.com/address/-/address-1.2.0.tgz#d352a62c92fee90f89a693eccd2a8b2139ab02d9" integrity sha512-tNEZYz5G/zYunxFm7sfhAxkXEuLj3K6BKwv6ZURlsF6yiUQ65z0Q2wZW9L5cPUl9ocofGvXOdFYbFHp0+6MOig== -agent-base@6, agent-base@^6.0.2: - version "6.0.2" - resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-6.0.2.tgz#49fff58577cfee3f37176feab4c22e00f86d7f77" - integrity sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ== - dependencies: - debug "4" - -agentkeepalive@^4.1.3, agentkeepalive@^4.2.1: - version "4.2.1" - resolved "https://registry.yarnpkg.com/agentkeepalive/-/agentkeepalive-4.2.1.tgz#a7975cbb9f83b367f06c90cc51ff28fe7d499717" - integrity sha512-Zn4cw2NEqd+9fiSVWMscnjyQ1a8Yfoc5oBajLeo5w+YBHgDUcEBY2hS4YpTz6iN5f/2zQiktcuM6tS8x1p9dpA== - dependencies: - debug "^4.1.0" - depd "^1.1.2" - humanize-ms "^1.2.1" +aes-js@3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/aes-js/-/aes-js-3.0.0.tgz#e21df10ad6c2053295bcbb8dab40b09dbea87e4d" + integrity sha512-H7wUZRn8WpTq9jocdxQ2c8x2sKo9ZVmzfRE13GiNJXfp7NcKYEdvl3vspKjXox6RIG2VtaRe4JFvxG4rqp2Zuw== -aggregate-error@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/aggregate-error/-/aggregate-error-3.1.0.tgz#92670ff50f5359bdb7a3e0d40d0ec30c5737687a" - integrity sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA== - dependencies: - clean-stack "^2.0.0" - indent-string "^4.0.0" +aes-js@^3.1.1: + version "3.1.2" + resolved "https://registry.yarnpkg.com/aes-js/-/aes-js-3.1.2.tgz#db9aabde85d5caabbfc0d4f2a4446960f627146a" + integrity sha512-e5pEa2kBnBOgR4Y/p20pskXI74UEz7de8ZGVo58asOtvSVG5YAbJeELPZxOmt+Bnz3rX753YKhfIn4X4l1PPRQ== ajv-keywords@^3.5.2: version "3.5.2" @@ -3790,7 +4997,19 @@ algosdk@^1.19.0: optionalDependencies: fsevents "2.1.2" -ansi-escapes@^3.1.0: +ansi-align@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/ansi-align/-/ansi-align-3.0.1.tgz#0cdf12e111ace773a86e9a1fad1225c43cb19a59" + integrity sha512-IOfwwBF5iczOjp/WeY4YxyjqAFMQoZufdQWDd19SEExbVLNXqvpzSJ/M7Za4/sCPmQ0+GRquoA7bGcINcxew6w== + dependencies: + string-width "^4.1.0" + +ansi-escapes@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-2.0.0.tgz#5bae52be424878dd9783e8910e3fc2922e83c81b" + integrity sha512-tH/fSoQp4DrEodDK3QpdiWiZTSe7sBJ9eOqcQBZ0o9HTM+5M/viSEn+sPMoTuPjQQ8n++w3QJoPEjt8LVPcrCg== + +ansi-escapes@^3.1.0, ansi-escapes@^3.2.0: version "3.2.0" resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-3.2.0.tgz#8780b98ff9dbf5638152d1f1fe5c1d7b4442976b" integrity sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ== @@ -3802,6 +5021,11 @@ ansi-escapes@^4.2.1, ansi-escapes@^4.3.0, ansi-escapes@^4.3.1, ansi-escapes@^4.3 dependencies: type-fest "^0.21.3" +ansi-escapes@^6.2.0: + version "6.2.1" + resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-6.2.1.tgz#76c54ce9b081dad39acec4b5d53377913825fb0f" + integrity sha512-4nJ3yixlEthEJ9Rk4vPcdBRkZvQZlYyu8j4/Mqz5sgIkddmEnH2Yj2ZrnP9S3tQOvSNRUIgVNF/1yPpRAGNRig== + ansi-regex@^2.0.0: version "2.1.1" resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" @@ -3812,24 +5036,34 @@ ansi-regex@^3.0.0: resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-3.0.1.tgz#123d6479e92ad45ad897d4054e3c7ca7db4944e1" integrity sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw== +ansi-regex@^4.1.0: + version "4.1.1" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-4.1.1.tgz#164daac87ab2d6f6db3a29875e2d1766582dabed" + integrity sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g== + ansi-regex@^5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== +ansi-regex@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-6.0.1.tgz#3183e38fae9a65d7cb5e53945cd5897d0260a06a" + integrity sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA== + ansi-styles@^2.2.1: version "2.2.1" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" integrity sha512-kmCevFghRiWM7HB5zTPULl4r9bVFSWjz62MhqizDGUrq2NWuNMQyuv4tHHoKJHs69M/MF64lEcHdYIocrdWQYA== -ansi-styles@^3.0.0, ansi-styles@^3.2.1: +ansi-styles@^3.2.1: version "3.2.1" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== dependencies: color-convert "^1.9.0" -ansi-styles@^4.0.0, ansi-styles@^4.1.0, ansi-styles@^4.2.0, ansi-styles@^4.2.1, ansi-styles@^4.3.0: +ansi-styles@^4.0.0, ansi-styles@^4.1.0, ansi-styles@^4.2.0, ansi-styles@^4.3.0: version "4.3.0" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937" integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== @@ -3841,6 +5075,11 @@ ansi-styles@^5.0.0: resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-5.2.0.tgz#07449690ad45777d1924ac2abb2fc8895dba836b" integrity sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA== +ansi-styles@^6.0.0, ansi-styles@^6.2.1: + version "6.2.1" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-6.2.1.tgz#0e62320cf99c21afff3b3012192546aacbfb05c5" + integrity sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug== + ansi-styles@^6.1.0: version "6.1.1" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-6.1.1.tgz#63cd61c72283a71cb30bd881dbb60adada74bc70" @@ -3851,6 +5090,11 @@ ansicolors@~0.3.2: resolved "https://registry.yarnpkg.com/ansicolors/-/ansicolors-0.3.2.tgz#665597de86a9ffe3aa9bfbe6cae5c6ea426b4979" integrity sha512-QXu7BPrP29VllRxH8GwB7x5iX5qWKAAMLqKQGWTeLWVlNHNOpVMJ91dsxQAIWXpjuW5wqvxu3Jd/nRjrJ+0pqg== +any-promise@^1.0.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/any-promise/-/any-promise-1.3.0.tgz#abc6afeedcea52e809cdc0376aed3ce39635d17f" + integrity sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A== + any-signal@^2.1.0, any-signal@^2.1.2: version "2.1.2" resolved "https://registry.yarnpkg.com/any-signal/-/any-signal-2.1.2.tgz#8d48270de0605f8b218cf9abe8e9c6a0e7418102" @@ -3859,6 +5103,11 @@ any-signal@^2.1.0, any-signal@^2.1.2: abort-controller "^3.0.0" native-abort-controller "^1.0.3" +any-signal@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/any-signal/-/any-signal-3.0.1.tgz#49cae34368187a3472e31de28fb5cb1430caa9a6" + integrity sha512-xgZgJtKEa9YmDqXodIgl7Fl1C8yNXr8w6gXjqK3LW4GcEiYT+6AQfJSE/8SPsEpLLmcvbv8YU+qet94UewHxqg== + anymatch@^3.0.3: version "3.1.3" resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.3.tgz#790c58b19ba1720a84205b57c618d5ad8524973e" @@ -3867,27 +5116,6 @@ anymatch@^3.0.3: normalize-path "^3.0.0" picomatch "^2.0.4" -"aproba@^1.0.3 || ^2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/aproba/-/aproba-2.0.0.tgz#52520b8ae5b569215b354efc0caa3fe1e45a8adc" - integrity sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ== - -are-we-there-yet@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-2.0.0.tgz#372e0e7bd279d8e94c653aaa1f67200884bf3e1c" - integrity sha512-Ci/qENmwHnsYo9xKIcUJN5LeDKdJ6R1Z1j9V/J5wyq8nh/mYPEpIKJbBZXtZjG04HiK7zV/p6Vs9952MrMeUIw== - dependencies: - delegates "^1.0.0" - readable-stream "^3.6.0" - -are-we-there-yet@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz#679df222b278c64f2cdba1175cdc00b0d96164bd" - integrity sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg== - dependencies: - delegates "^1.0.0" - readable-stream "^3.6.0" - arg@^4.1.0: version "4.1.3" resolved "https://registry.yarnpkg.com/arg/-/arg-4.1.3.tgz#269fc7ad5b8e42cb63c896d5666017261c144089" @@ -3915,35 +5143,22 @@ array-back@^4.0.1, array-back@^4.0.2: resolved "https://registry.yarnpkg.com/array-back/-/array-back-4.0.2.tgz#8004e999a6274586beeb27342168652fdb89fa1e" integrity sha512-NbdMezxqf94cnNfWLL7V/im0Ub+Anbb0IoZhvzie8+4HJ4nMQuzHuy49FkGYCJK2yAloZ3meiB6AVMClbrI1vg== -array-differ@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/array-differ/-/array-differ-3.0.0.tgz#3cbb3d0f316810eafcc47624734237d6aee4ae6b" - integrity sha512-THtfYS6KtME/yIAhKjZ2ul7XI96lQGHRputJQHO80LAWQnuGP4iCIN8vdMRboGbIEYBwU33q8Tch1os2+X0kMg== - array-union@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/array-union/-/array-union-2.1.0.tgz#b798420adbeb1de828d84acd8a2e23d3efe85e8d" integrity sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw== -arrify@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/arrify/-/arrify-2.0.1.tgz#c9655e9331e0abcd588d2a7cad7e9956f66701fa" - integrity sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug== - -asap@^2.0.0: - version "2.0.6" - resolved "https://registry.yarnpkg.com/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46" - integrity sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA== - -asn1.js@^5.2.0: - version "5.4.1" - resolved "https://registry.yarnpkg.com/asn1.js/-/asn1.js-5.4.1.tgz#11a980b84ebb91781ce35b0fdc2ee294e3783f07" - integrity sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA== +ast-stringify@0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/ast-stringify/-/ast-stringify-0.1.0.tgz#5c6439fbfb4513dcc26c7d34464ccd084ed91cb7" + integrity sha512-J1PgFYV3RG6r37+M6ySZJH406hR82okwGvFM9hLXpOvdx4WC4GEW8/qiw6pi1hKTrqcRvoHP8a7mp87egYr6iA== dependencies: - bn.js "^4.0.0" - inherits "^2.0.1" - minimalistic-assert "^1.0.0" - safer-buffer "^2.1.0" + "@babel/runtime" "^7.11.2" + +astral-regex@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/astral-regex/-/astral-regex-2.0.0.tgz#483143c567aeed4785759c0865786dc77d7d2e31" + integrity sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ== async@^3.2.3: version "3.2.4" @@ -3965,55 +5180,21 @@ atomic-sleep@^1.0.0: resolved "https://registry.yarnpkg.com/atomic-sleep/-/atomic-sleep-1.0.0.tgz#eb85b77a601fc932cfe432c5acd364a9e2c9075b" integrity sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ== -available-typed-arrays@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz#92f95616501069d07d10edb2fc37d3e1c65123b7" - integrity sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw== - -aws-sdk@^2.1069.0: - version "2.1213.0" - resolved "https://registry.yarnpkg.com/aws-sdk/-/aws-sdk-2.1213.0.tgz#efdbe52c72e6879348650ff9a69ab55ef948b6f3" - integrity sha512-ZfrUfhlLjwvQ6QTbg8lR4+SRFHaivzZMmfpS+64YzafcKjwc7rklYqiyh4MPTSmdNZkErgaAykYpXPMuTiWBug== - dependencies: - buffer "4.9.2" - events "1.1.1" - ieee754 "1.1.13" - jmespath "0.16.0" - querystring "0.2.0" - sax "1.2.1" - url "0.10.3" - util "^0.12.4" - uuid "8.0.0" - xml2js "0.4.19" - -axios@^0.21.2: - version "0.21.4" - resolved "https://registry.yarnpkg.com/axios/-/axios-0.21.4.tgz#c67b90dc0568e5c1cf2b0b858c43ba28e2eda575" - integrity sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg== - dependencies: - follow-redirects "^1.14.0" - -axios@^0.24.0: - version "0.24.0" - resolved "https://registry.yarnpkg.com/axios/-/axios-0.24.0.tgz#804e6fa1e4b9c5288501dd9dff56a7a0940d20d6" - integrity sha512-Q6cWsys88HoPgAaFAVUb0WpPk0O8iTeisR9IMqy9G8AbO4NlpVknrnQS03zzF9PGAWgO3cgletO3VjV/P7VztA== - dependencies: - follow-redirects "^1.14.4" - -axios@^0.27.1, axios@^0.27.2: - version "0.27.2" - resolved "https://registry.yarnpkg.com/axios/-/axios-0.27.2.tgz#207658cc8621606e586c85db4b41a750e756d972" - integrity sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ== - dependencies: - follow-redirects "^1.14.9" +axios@^0.28.0: + version "0.28.1" + resolved "https://registry.yarnpkg.com/axios/-/axios-0.28.1.tgz#2a7bcd34a3837b71ee1a5ca3762214b86b703e70" + integrity sha512-iUcGA5a7p0mVb4Gm/sy+FSECNkPFT4y7wt6OM/CDpO/OnNCvSs3PoMG8ibrC9jRoGYU0gUK5pXVC4NPXq6lHRQ== + dependencies: + follow-redirects "^1.15.0" form-data "^4.0.0" + proxy-from-env "^1.1.0" -axios@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/axios/-/axios-1.4.0.tgz#38a7bf1224cd308de271146038b551d725f0be1f" - integrity sha512-S4XCWMEmzvo64T9GfvQDOXgYRDJ/wsSZc7Jvdgx5u1sd0JwsuPLqb3SYmusag+edF6ziyMensPVqLTSc1PiSEA== +axios@^1.6.0, axios@^1.6.8: + version "1.7.2" + resolved "https://registry.yarnpkg.com/axios/-/axios-1.7.2.tgz#b625db8a7051fbea61c35a3cbb3a1daa7b9c7621" + integrity sha512-2A8QhOMrbomlDuiLeK9XibIBzuHeRcqqNOHp0Cyp5EoJ1IFDh+XZH3A6BkXtv0K4gFGCI0Y4BM7B1wOEi0Rmgw== dependencies: - follow-redirects "^1.15.0" + follow-redirects "^1.15.6" form-data "^4.0.0" proxy-from-env "^1.1.0" @@ -4051,6 +5232,30 @@ babel-plugin-jest-hoist@^29.5.0: "@types/babel__core" "^7.1.14" "@types/babel__traverse" "^7.0.6" +babel-plugin-polyfill-corejs2@^0.3.2: + version "0.3.3" + resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.3.3.tgz#5d1bd3836d0a19e1b84bbf2d9640ccb6f951c122" + integrity sha512-8hOdmFYFSZhqg2C/JgLUQ+t52o5nirNwaWM2B9LWteozwIvM14VSwdsCAUET10qT+kmySAlseadmfeeSWFCy+Q== + dependencies: + "@babel/compat-data" "^7.17.7" + "@babel/helper-define-polyfill-provider" "^0.3.3" + semver "^6.1.1" + +babel-plugin-polyfill-corejs3@^0.5.3: + version "0.5.3" + resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.5.3.tgz#d7e09c9a899079d71a8b670c6181af56ec19c5c7" + integrity sha512-zKsXDh0XjnrUEW0mxIHLfjBfnXSMr5Q/goMe/fxpQnLm07mcOZiIZHBNWCMx60HmdvjxfXcalac0tfFg0wqxyw== + dependencies: + "@babel/helper-define-polyfill-provider" "^0.3.2" + core-js-compat "^3.21.0" + +babel-plugin-polyfill-regenerator@^0.4.0: + version "0.4.1" + resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.4.1.tgz#390f91c38d90473592ed43351e801a9d3e0fd747" + integrity sha512-NtQGmyQDXjQqQ+IzRkBVwEOz9lQ4zxAQZgoAYEtU9dJjnl1Oc98qnN7jcp+bE7O7aYzVpavXE3/VKXNzUbh7aw== + dependencies: + "@babel/helper-define-polyfill-provider" "^0.3.3" + babel-preset-current-node-syntax@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz#b4399239b89b2a011f9ddbe3e4f401fc40cff73b" @@ -4099,54 +5304,37 @@ base32.js@^0.1.0: resolved "https://registry.yarnpkg.com/base32.js/-/base32.js-0.1.0.tgz#b582dec693c2f11e893cf064ee6ac5b6131a2202" integrity sha512-n3TkB02ixgBOhTvANakDb4xaMXnYUVkNoRFJjQflcqMQhyEKxEHdj3E6N8t8sUQ0mjH/3/JxzlXuz3ul/J90pQ== -base64-js@^1.0.2, base64-js@^1.3.0, base64-js@^1.3.1: +base64-js@^1.3.0, base64-js@^1.3.1: version "1.5.1" resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== -bech32@^1.1.4: +bech32@1.1.4, bech32@^1.1.4: version "1.1.4" resolved "https://registry.yarnpkg.com/bech32/-/bech32-1.1.4.tgz#e38c9f37bf179b8eb16ae3a772b40c356d4832e9" integrity sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ== -before-after-hook@^2.2.0: - version "2.2.2" - resolved "https://registry.yarnpkg.com/before-after-hook/-/before-after-hook-2.2.2.tgz#a6e8ca41028d90ee2c24222f201c90956091613e" - integrity sha512-3pZEU3NT5BFUo/AD5ERPWOgQOCZITni6iavr5AUw5AUwQjMlI0kzu5btnyD39AF0gUEsDPwJT+oY1ORBJijPjQ== - big.js@^5.2.2: version "5.2.2" resolved "https://registry.yarnpkg.com/big.js/-/big.js-5.2.2.tgz#65f0af382f578bcdc742bd9c281e9cb2d7768328" integrity sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ== +big.js@^6.2.0: + version "6.2.1" + resolved "https://registry.yarnpkg.com/big.js/-/big.js-6.2.1.tgz#7205ce763efb17c2e41f26f121c420c6a7c2744f" + integrity sha512-bCtHMwL9LeDIozFn+oNhhFoq+yQ3BNdnsLSASUxLciOb1vgvpHsIO1dsENiGMgbb4SkP5TrzWzRiLddn8ahVOQ== + bignumber.js@^9.0.0, bignumber.js@^9.0.1: version "9.1.0" resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-9.1.0.tgz#8d340146107fe3a6cb8d40699643c302e8773b62" integrity sha512-4LwHK4nfDOraBCtst+wOWIHbu1vhvAPJK8g8nROd4iuc3PSEjWif/qwbkh8jwCJz6yDBvtU4KPynETgrfh7y3A== -bignumber.js@^9.1.1: - version "9.1.1" - resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-9.1.1.tgz#c4df7dc496bd849d4c9464344c1aa74228b4dac6" - integrity sha512-pHm4LsMJ6lzgNGVfZHjMoO8sdoRhOzOH4MLmY65Jg70bpxCKu5iOHNJyfF6OyvYw7t8Fpf35RuzUyqnQsj8Vig== +bignumber.js@^9.1.2: + version "9.1.2" + resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-9.1.2.tgz#b7c4242259c008903b13707983b5f4bbd31eda0c" + integrity sha512-2/mKyZH9K85bzOEfhXDBFZTGd1CTs+5IHpeFQo9luiBG7hghdC851Pj2WAhb6E3R6b9tZj/XKhbg4fum+Kepug== -bin-links@^3.0.0: - version "3.0.3" - resolved "https://registry.yarnpkg.com/bin-links/-/bin-links-3.0.3.tgz#3842711ef3db2cd9f16a5f404a996a12db355a6e" - integrity sha512-zKdnMPWEdh4F5INR07/eBrodC7QrF5JKvqskjz/ZZRXg5YSAZIbn8zGhbhUrElzHBZ2fvEQdOU59RHcTG3GiwA== - dependencies: - cmd-shim "^5.0.0" - mkdirp-infer-owner "^2.0.0" - npm-normalize-package-bin "^2.0.0" - read-cmd-shim "^3.0.0" - rimraf "^3.0.0" - write-file-atomic "^4.0.0" - -binaryextensions@^4.15.0, binaryextensions@^4.16.0: - version "4.18.0" - resolved "https://registry.yarnpkg.com/binaryextensions/-/binaryextensions-4.18.0.tgz#22aeada2d14de062c60e8ca59a504a5636a76ceb" - integrity sha512-PQu3Kyv9dM4FnwB7XGj1+HucW+ShvJzJqjuw1JkKVs1mWdwOKVcRjOi+pV9X52A0tNvrPCsPkbFFQb+wE1EAXw== - -bl@^4.0.3, bl@^4.1.0: +bl@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/bl/-/bl-4.1.0.tgz#451535264182bec2fbbc83a62ab98cf11d9f7b3a" integrity sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w== @@ -4162,17 +5350,12 @@ blob-to-it@^1.0.1: dependencies: browser-readablestream-to-it "^1.0.3" -bn.js@4.11.6: - version "4.11.6" - resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.6.tgz#53344adb14617a13f6e8dd2ce28905d1c0ba3215" - integrity sha512-XWwnNNFCuuSQ0m3r3C4LE3EiORltHd9M05pq6FOlVeiophzRbMo50Sbz1ehl8K3Z+jw9+vmgnXefY1hz8X+2wA== - -bn.js@5.2.1, bn.js@^5.0.0, bn.js@^5.1.1, bn.js@^5.2.0, bn.js@^5.2.1: +bn.js@5.2.1, bn.js@^5.1.1, bn.js@^5.2.0, bn.js@^5.2.1: version "5.2.1" resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.2.1.tgz#0bc527a6a0d18d0aa8d5b0538ce4a77dccfa7b70" integrity sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ== -bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.11.9: +bn.js@^4.11.8, bn.js@^4.11.9: version "4.12.0" resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88" integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA== @@ -4186,6 +5369,20 @@ borsh@^0.7.0: bs58 "^4.0.0" text-encoding-utf-8 "^1.0.2" +boxen@5.1.2, boxen@^5.0.0: + version "5.1.2" + resolved "https://registry.yarnpkg.com/boxen/-/boxen-5.1.2.tgz#788cb686fc83c1f486dfa8a40c68fc2b831d2b50" + integrity sha512-9gYgQKXx+1nP8mP7CzFyaUARhg7D3n1dF/FnErWmu9l6JvGpNUN278h0aSb+QjoiKSWG+iZ3uHrcqk0qrY9RQQ== + dependencies: + ansi-align "^3.0.0" + camelcase "^6.2.0" + chalk "^4.1.0" + cli-boxes "^2.2.1" + string-width "^4.2.2" + type-fest "^0.20.2" + widest-line "^3.1.0" + wrap-ansi "^7.0.0" + brace-expansion@^1.1.7: version "1.1.11" resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" @@ -4208,70 +5405,23 @@ braces@^3.0.2: dependencies: fill-range "^7.0.1" -brorand@^1.0.1, brorand@^1.1.0: +braces@^3.0.3: + version "3.0.3" + resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.3.tgz#490332f40919452272d55a8480adc0c441358789" + integrity sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA== + dependencies: + fill-range "^7.1.1" + +brorand@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" integrity sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w== -browser-readablestream-to-it@^1.0.1, browser-readablestream-to-it@^1.0.3: +browser-readablestream-to-it@^1.0.0, browser-readablestream-to-it@^1.0.1, browser-readablestream-to-it@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/browser-readablestream-to-it/-/browser-readablestream-to-it-1.0.3.tgz#ac3e406c7ee6cdf0a502dd55db33bab97f7fba76" integrity sha512-+12sHB+Br8HIh6VAMVEG5r3UXCyESIgDW7kzk3BjIXa43DVqVwL7GC5TW3jeh+72dtcH99pPVpw0X8i0jt+/kw== -browserify-aes@^1.0.0, browserify-aes@^1.0.4: - version "1.2.0" - resolved "https://registry.yarnpkg.com/browserify-aes/-/browserify-aes-1.2.0.tgz#326734642f403dabc3003209853bb70ad428ef48" - integrity sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA== - dependencies: - buffer-xor "^1.0.3" - cipher-base "^1.0.0" - create-hash "^1.1.0" - evp_bytestokey "^1.0.3" - inherits "^2.0.1" - safe-buffer "^5.0.1" - -browserify-cipher@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/browserify-cipher/-/browserify-cipher-1.0.1.tgz#8d6474c1b870bfdabcd3bcfcc1934a10e94f15f0" - integrity sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w== - dependencies: - browserify-aes "^1.0.4" - browserify-des "^1.0.0" - evp_bytestokey "^1.0.0" - -browserify-des@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/browserify-des/-/browserify-des-1.0.2.tgz#3af4f1f59839403572f1c66204375f7a7f703e9c" - integrity sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A== - dependencies: - cipher-base "^1.0.1" - des.js "^1.0.0" - inherits "^2.0.1" - safe-buffer "^5.1.2" - -browserify-rsa@^4.0.0, browserify-rsa@^4.0.1: - version "4.1.0" - resolved "https://registry.yarnpkg.com/browserify-rsa/-/browserify-rsa-4.1.0.tgz#b2fd06b5b75ae297f7ce2dc651f918f5be158c8d" - integrity sha512-AdEER0Hkspgno2aR97SAf6vi0y0k8NuOpGnVH3O99rcA5Q6sh8QxcngtHuJ6uXwnfAXNM4Gn1Gb7/MV1+Ymbog== - dependencies: - bn.js "^5.0.0" - randombytes "^2.0.1" - -browserify-sign@^4.0.0: - version "4.2.1" - resolved "https://registry.yarnpkg.com/browserify-sign/-/browserify-sign-4.2.1.tgz#eaf4add46dd54be3bb3b36c0cf15abbeba7956c3" - integrity sha512-/vrA5fguVAKKAVTNJjgSm1tRQDHUU6DbwO9IROu/0WAzC8PKhucDSh18J0RMvVeHAn5puMd+QHC2erPRNf8lmg== - dependencies: - bn.js "^5.1.1" - browserify-rsa "^4.0.1" - create-hash "^1.2.0" - create-hmac "^1.1.7" - elliptic "^6.5.3" - inherits "^2.0.4" - parse-asn1 "^5.1.5" - readable-stream "^3.6.0" - safe-buffer "^5.2.0" - browserslist@^4.14.5: version "4.21.3" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.21.3.tgz#5df277694eb3c48bc5c4b05af3e8b7e09c5a6d1a" @@ -4292,6 +5442,16 @@ browserslist@^4.21.9: node-releases "^2.0.13" update-browserslist-db "^1.0.11" +browserslist@^4.22.2, browserslist@^4.23.0: + version "4.23.1" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.23.1.tgz#ce4af0534b3d37db5c1a4ca98b9080f985041e96" + integrity sha512-TUfofFo/KsK/bWZ9TWQ5O26tsWW4Uhmt8IYklbnUa70udB6P2wA7w7o4PY4muaEPBQaAX+CEnmmIA41NVHtPVw== + dependencies: + caniuse-lite "^1.0.30001629" + electron-to-chromium "^1.4.796" + node-releases "^2.0.14" + update-browserslist-db "^1.0.16" + bs-logger@0.x: version "0.2.6" resolved "https://registry.yarnpkg.com/bs-logger/-/bs-logger-0.2.6.tgz#eb7d365307a72cf974cc6cda76b68354ad336bd8" @@ -4306,6 +5466,15 @@ bs58@^4.0.0: dependencies: base-x "^3.0.2" +bs58check@^2.1.2: + version "2.1.2" + resolved "https://registry.yarnpkg.com/bs58check/-/bs58check-2.1.2.tgz#53b018291228d82a5aa08e7d796fdafda54aebfc" + integrity sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA== + dependencies: + bs58 "^4.0.0" + create-hash "^1.1.0" + safe-buffer "^5.1.2" + bser@2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/bser/-/bser-2.1.1.tgz#e6787da20ece9d07998533cfd9de6f5c38f4bc05" @@ -4318,20 +5487,6 @@ buffer-from@^1.0.0: resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== -buffer-xor@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/buffer-xor/-/buffer-xor-1.0.3.tgz#26e61ed1422fb70dd42e6e36729ed51d855fe8d9" - integrity sha512-571s0T7nZWK6vB67HI5dyUF7wXiNcfaPPPTl6zYCNApANjIvYJTg7hlud/+cJpdAhS7dVzqMLmfhfHR3rAcOjQ== - -buffer@4.9.2: - version "4.9.2" - resolved "https://registry.yarnpkg.com/buffer/-/buffer-4.9.2.tgz#230ead344002988644841ab0244af8c44bbe3ef8" - integrity sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg== - dependencies: - base64-js "^1.0.2" - ieee754 "^1.1.4" - isarray "^1.0.0" - buffer@^5.5.0, buffer@^5.6.0: version "5.7.1" resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.7.1.tgz#ba62e7c13133053582197160851a8f648e99eed0" @@ -4355,60 +5510,20 @@ bufferutil@^4.0.1: dependencies: node-gyp-build "^4.3.0" -builtins@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/builtins/-/builtins-1.0.3.tgz#cb94faeb61c8696451db36534e1422f94f0aee88" - integrity sha512-uYBjakWipfaO/bXI7E8rq6kpwHRZK5cNYrUv2OzZSI/FvmdMyXJ2tG9dKcjEC5YHmHpUAwsargWIZNWdxb/bnQ== - -cacache@^15.0.3, cacache@^15.0.5, cacache@^15.2.0: - version "15.3.0" - resolved "https://registry.yarnpkg.com/cacache/-/cacache-15.3.0.tgz#dc85380fb2f556fe3dda4c719bfa0ec875a7f1eb" - integrity sha512-VVdYzXEn+cnbXpFgWs5hTT7OScegHVmLhJIR8Ufqk3iFD6A6j5iSX1KuBTfNEv4tdJWE2PzA6IVFtcLC7fN9wQ== - dependencies: - "@npmcli/fs" "^1.0.0" - "@npmcli/move-file" "^1.0.1" - chownr "^2.0.0" - fs-minipass "^2.0.0" - glob "^7.1.4" - infer-owner "^1.0.4" - lru-cache "^6.0.0" - minipass "^3.1.1" - minipass-collect "^1.0.2" - minipass-flush "^1.0.5" - minipass-pipeline "^1.2.2" - mkdirp "^1.0.3" - p-map "^4.0.0" - promise-inflight "^1.0.1" - rimraf "^3.0.2" - ssri "^8.0.1" - tar "^6.0.2" - unique-filename "^1.1.1" - -cacache@^16.1.0: - version "16.1.3" - resolved "https://registry.yarnpkg.com/cacache/-/cacache-16.1.3.tgz#a02b9f34ecfaf9a78c9f4bc16fceb94d5d67a38e" - integrity sha512-/+Emcj9DAXxX4cwlLmRI9c166RuL3w30zp4R7Joiv2cQTtTtA+jeuCAjH3ZlGnYS3tKENSrKhAzVVP9GVyzeYQ== +cacheable-request@^6.0.0: + version "6.1.0" + resolved "https://registry.yarnpkg.com/cacheable-request/-/cacheable-request-6.1.0.tgz#20ffb8bd162ba4be11e9567d823db651052ca912" + integrity sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg== dependencies: - "@npmcli/fs" "^2.1.0" - "@npmcli/move-file" "^2.0.0" - chownr "^2.0.0" - fs-minipass "^2.1.0" - glob "^8.0.1" - infer-owner "^1.0.4" - lru-cache "^7.7.1" - minipass "^3.1.6" - minipass-collect "^1.0.2" - minipass-flush "^1.0.5" - minipass-pipeline "^1.2.4" - mkdirp "^1.0.4" - p-map "^4.0.0" - promise-inflight "^1.0.1" - rimraf "^3.0.2" - ssri "^9.0.0" - tar "^6.1.11" - unique-filename "^2.0.0" + clone-response "^1.0.2" + get-stream "^5.1.0" + http-cache-semantics "^4.0.0" + keyv "^3.0.0" + lowercase-keys "^2.0.0" + normalize-url "^4.1.0" + responselike "^1.0.2" -call-bind@^1.0.0, call-bind@^1.0.2: +call-bind@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.2.tgz#b1d4e89e688119c3c9a903ad30abb2f6a919be3c" integrity sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA== @@ -4416,12 +5531,17 @@ call-bind@^1.0.0, call-bind@^1.0.2: function-bind "^1.1.1" get-intrinsic "^1.0.2" +call-me-maybe@^1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/call-me-maybe/-/call-me-maybe-1.0.2.tgz#03f964f19522ba643b1b0693acb9152fe2074baa" + integrity sha512-HpX65o1Hnr9HH25ojC1YGs7HCQLq0GCOibSaWER0eNpgJ/Z1MZv2mTc7+xh6WOPxbRVcmgbv4hGU+uSQ/2xFZQ== + callsites@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== -camelcase@^5.3.1: +camelcase@^5.0.0, camelcase@^5.3.1: version "5.3.1" resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== @@ -4441,6 +5561,11 @@ caniuse-lite@^1.0.30001517: resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001519.tgz#3e7b8b8a7077e78b0eb054d69e6edf5c7df35601" integrity sha512-0QHgqR+Jv4bxHMp8kZ1Kn8CH55OikjKJ6JmKkZYP1F3D7w+lnFXF70nG5eNfsZS89jadi5Ywy5UCSKLAglIRkg== +caniuse-lite@^1.0.30001629: + version "1.0.30001636" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001636.tgz#b15f52d2bdb95fad32c2f53c0b68032b85188a78" + integrity sha512-bMg2vmr8XBsbL6Lr0UHXy/21m84FTxDLWn2FSqMd5PrlbMxwJlQnC2YWYxVgp66PZE+BBNF2jYQUBKCo1FDeZg== + capability@^0.2.5: version "0.2.5" resolved "https://registry.yarnpkg.com/capability/-/capability-0.2.5.tgz#51ad87353f1936ffd77f2f21c74633a4dea88801" @@ -4454,17 +5579,27 @@ cardinal@^2.1.1: ansicolors "~0.3.2" redeyed "~2.1.0" +case@1.6.3: + version "1.6.3" + resolved "https://registry.yarnpkg.com/case/-/case-1.6.3.tgz#0a4386e3e9825351ca2e6216c60467ff5f1ea1c9" + integrity sha512-mzDSXIPaFwVDvZAHqZ9VlbyF4yyXRuX6IvB06WvPYkqJVO24kX1PPhv9bfpKNFZyxYFmmgo03HUiD8iklmJYRQ== + cborg@^1.5.4: version "1.9.5" resolved "https://registry.yarnpkg.com/cborg/-/cborg-1.9.5.tgz#1e3b8a8407b3665566001f8841c9d72d7a80b2d5" integrity sha512-fLBv8wmqtlXqy1Yu+pHzevAIkW6k2K0ZtMujNzWphLsA34vzzg9BHn+5GmZqOJkSA9V7EMKsWrf6K976c1QMjQ== +cborg@^1.6.0: + version "1.10.2" + resolved "https://registry.yarnpkg.com/cborg/-/cborg-1.10.2.tgz#83cd581b55b3574c816f82696307c7512db759a1" + integrity sha512-b3tFPA9pUr2zCUiCfRd2+wok2/LBSNUMKOuRRok+WlvvAgEt/PlbgPTsZUcwCOs53IJvLgTp0eotwtosE6njug== + ccount@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/ccount/-/ccount-1.1.0.tgz#246687debb6014735131be8abab2d93898f8d043" integrity sha512-vlNK021QdI7PNeiUh/lKkC/mNHHfV0m/Ad5JoI0TYtlBnJAslM/JIkm/tGC88bkLIwO6OQ5uV6ztS6kVAtCDlg== -chalk@^1.0.0: +chalk@^1.0.0, chalk@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" integrity sha512-U3lRVLMSlsCfjqYPbLyVv11M9CPW4I728d6TCKMAOJueEeB9/8o+eSsMnxPJD+Q+K909sdESg7C+tIkoH6on1A== @@ -4475,7 +5610,7 @@ chalk@^1.0.0: strip-ansi "^3.0.0" supports-color "^2.0.0" -chalk@^2.0.0, chalk@^2.4.1, chalk@^2.4.2: +chalk@^2.0.0, chalk@^2.4.2: version "2.4.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== @@ -4500,6 +5635,11 @@ chalk@^4.0.0, chalk@^4.0.2, chalk@^4.1.0, chalk@^4.1.1, chalk@^4.1.2: ansi-styles "^4.1.0" supports-color "^7.1.0" +chalk@~5.3.0: + version "5.3.0" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-5.3.0.tgz#67c20a7ebef70e7f3970a01f90fa210cb6860385" + integrity sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w== + char-regex@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/char-regex/-/char-regex-1.0.2.tgz#d744358226217f981ed58f479b1d6bcc29545dcf" @@ -4525,16 +5665,16 @@ character-reference-invalid@^1.0.0: resolved "https://registry.yarnpkg.com/character-reference-invalid/-/character-reference-invalid-1.1.4.tgz#083329cda0eae272ab3dbbf37e9a382c13af1560" integrity sha512-mKKUkUbhPpQlCOfIuZkvSEgktjPFIsZKRRbC6KWVEMvlzblj3i3asQv5ODsrwt0N3pHAEvjP8KTQPHkp0+6jOg== +chardet@^0.4.0: + version "0.4.2" + resolved "https://registry.yarnpkg.com/chardet/-/chardet-0.4.2.tgz#b5473b33dc97c424e5d98dc87d55d4d8a29c8bf2" + integrity sha512-j/Toj7f1z98Hh2cYo2BVr85EpIRWqUi7rtRSGxh/cqUjqrnJe9l9UE7IUGd2vQ2p+kSHLkSzObQPZPLUC6TQwg== + chardet@^0.7.0: version "0.7.0" resolved "https://registry.yarnpkg.com/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e" integrity sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA== -chownr@^1.1.1: - version "1.1.4" - resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.4.tgz#6fc9d7b42d32a583596337666e7d08084da2cc6b" - integrity sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg== - chownr@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/chownr/-/chownr-2.0.0.tgz#15bfbe53d2eab4cf70f18a8cd68ebe5b3cb1dece" @@ -4545,6 +5685,11 @@ chrome-trace-event@^1.0.2: resolved "https://registry.yarnpkg.com/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz#1015eced4741e15d06664a957dbbf50d041e26ac" integrity sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg== +ci-info@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46" + integrity sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ== + ci-info@^3.2.0: version "3.8.0" resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.8.0.tgz#81408265a5380c929f0bc665d62256628ce9ef91" @@ -4561,7 +5706,7 @@ cids@^0.7.1: multicodec "^1.0.0" multihashes "~0.4.15" -cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3: +cipher-base@^1.0.1, cipher-base@^1.0.3: version "1.0.4" resolved "https://registry.yarnpkg.com/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de" integrity sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q== @@ -4579,12 +5724,7 @@ class-is@^1.1.0: resolved "https://registry.yarnpkg.com/class-is/-/class-is-1.1.0.tgz#9d3c0fba0440d211d843cec3dedfa48055005825" integrity sha512-rhjH9AG1fvabIDoGRVH587413LPjTZgmDF9fOFCbFJQV4yuocX1mHxxvXI4g3cGwbVY9wAYIoKlg1N79frJKQw== -class-transformer@0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/class-transformer/-/class-transformer-0.4.0.tgz#b52144117b423c516afb44cc1c76dbad31c2165b" - integrity sha512-ETWD/H2TbWbKEi7m9N4Km5+cw1hNcqJSxlSYhsLsNjQzWWiZIYA1zafxpK9PwVfaZ6AqR5rrjPVUBGESm5tQUA== - -class-transformer@0.5.1, class-transformer@^0.5.1: +class-transformer@^0.5.1: version "0.5.1" resolved "https://registry.yarnpkg.com/class-transformer/-/class-transformer-0.5.1.tgz#24147d5dffd2a6cea930a3250a677addf96ab336" integrity sha512-SQa1Ws6hUbfC98vKGxZH3KFY0Y1lm5Zm0SY8XX9zbK7FJCyVEac3ATW0RIpwzW+oOfmHE5PMPufDG9hCfoEOMw== @@ -4606,11 +5746,6 @@ class-validator@^0.14.0: libphonenumber-js "^1.10.14" validator "^13.7.0" -clean-stack@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/clean-stack/-/clean-stack-2.2.0.tgz#ee8472dbb129e727b31e8a10a427dee9dfe4008b" - integrity sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A== - clean-stack@^3.0.0, clean-stack@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/clean-stack/-/clean-stack-3.0.1.tgz#155bf0b2221bf5f4fba89528d24c5953f17fe3a8" @@ -4618,10 +5753,28 @@ clean-stack@^3.0.0, clean-stack@^3.0.1: dependencies: escape-string-regexp "4.0.0" -cli-boxes@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/cli-boxes/-/cli-boxes-1.0.0.tgz#4fa917c3e59c94a004cd61f8ee509da651687143" - integrity sha512-3Fo5wu8Ytle8q9iCzS4D2MWVL2X7JVWRiS1BnXbTFDhS9c/REkM9vd1AmabsoZoY5/dGi5TT9iKL8Kb6DeBRQg== +cli-boxes@^2.2.1: + version "2.2.1" + resolved "https://registry.yarnpkg.com/cli-boxes/-/cli-boxes-2.2.1.tgz#ddd5035d25094fce220e9cab40a45840a440318f" + integrity sha512-y4coMcylgSCdVinjiDBuR8PCC2bLjyGTwEmPb9NHR/QaNU6EUOXcTY/s6VjGMD6ENSEaeQYHCY0GNGS5jfMwPw== + +cli-color@^2.0.2: + version "2.0.4" + resolved "https://registry.yarnpkg.com/cli-color/-/cli-color-2.0.4.tgz#d658080290968816b322248b7306fad2346fb2c8" + integrity sha512-zlnpg0jNcibNrO7GG9IeHH7maWFeCz+Ja1wx/7tZNU5ASSSSZ+/qZciM0/LHCYxSdqv5h2sdbQ/PXYdOuetXvA== + dependencies: + d "^1.0.1" + es5-ext "^0.10.64" + es6-iterator "^2.0.3" + memoizee "^0.4.15" + timers-ext "^0.1.7" + +cli-cursor@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-2.1.0.tgz#b35dac376479facc3e94747d41d0d0f5238ffcb5" + integrity sha512-8lgKz8LmCRYZZQDpRyT2m5rKJ08TnU4tR9FFFW2rxpxR1FzWi4PQ/NfyODchAatHaUgnSPVcx/R5w6NuTBzFiw== + dependencies: + restore-cursor "^2.0.0" cli-cursor@^3.1.0: version "3.1.0" @@ -4630,6 +5783,13 @@ cli-cursor@^3.1.0: dependencies: restore-cursor "^3.1.0" +cli-cursor@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-4.0.0.tgz#3cecfe3734bf4fe02a8361cbdc0f6fe28c6a57ea" + integrity sha512-VGtlMu3x/4DOtIUwEkRezxUZ2lBacNJCHash0N0WeZDBS+7Ux1dm3XWAgWYxLJFMMdOeXMHXorshEFhbMSGelg== + dependencies: + restore-cursor "^4.0.0" + cli-progress@^3.10.0: version "3.11.2" resolved "https://registry.yarnpkg.com/cli-progress/-/cli-progress-3.11.2.tgz#f8c89bd157e74f3f2c43bcfb3505670b4d48fc77" @@ -4637,17 +5797,25 @@ cli-progress@^3.10.0: dependencies: string-width "^4.2.3" +cli-progress@^3.12.0: + version "3.12.0" + resolved "https://registry.yarnpkg.com/cli-progress/-/cli-progress-3.12.0.tgz#807ee14b66bcc086258e444ad0f19e7d42577942" + integrity sha512-tRkV3HJ1ASwm19THiiLIXLO7Im7wlTuKnvkYaTkyoAPefqjNg7W7DHKUlGRxy9vxDvbyCYQkQozvptuMkGCg8A== + dependencies: + string-width "^4.2.3" + cli-spinners@^2.5.0: version "2.7.0" resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-2.7.0.tgz#f815fd30b5f9eaac02db604c7a231ed7cb2f797a" integrity sha512-qu3pN8Y3qHNgE2AFweciB1IfMnmZ/fsNTEE+NOFjmGB2F/7rLhnhzppvpCnN4FovtP26k8lHyy9ptEbNwWFLzw== -cli-table@^0.3.1: - version "0.3.11" - resolved "https://registry.yarnpkg.com/cli-table/-/cli-table-0.3.11.tgz#ac69cdecbe81dccdba4889b9a18b7da312a9d3ee" - integrity sha512-IqLQi4lO0nIB4tcdTpN4LCB9FI3uqrJZK7RC515EnhZ6qBaglkIgICb1wjeAqpdoOabm1+SuQtkXIPdYC93jhQ== +cli-truncate@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/cli-truncate/-/cli-truncate-4.0.0.tgz#6cc28a2924fee9e25ce91e973db56c7066e6172a" + integrity sha512-nPdaFdQ0h/GEigbPClz11D0v/ZJEwxmeVZGeMo3Z5StPtUTkA9o1lD6QwoirYiSDzbcwn2XcjwmCp68W1IS4TA== dependencies: - colors "1.0.3" + slice-ansi "^5.0.0" + string-width "^7.0.0" cli-ux@^6.0.9: version "6.0.9" @@ -4680,6 +5848,11 @@ cli-ux@^6.0.9: supports-hyperlinks "^2.1.0" tslib "^2.0.0" +cli-width@^2.0.0: + version "2.2.1" + resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.2.1.tgz#b0433d0b4e9c847ef18868a4ef16fd5fc8271c48" + integrity sha512-GRMWDxpOB6Dgk2E5Uo+3eEBvtOOlimMmpbFiKuLFnQzYDavtLFY3K5ona41jgN/WdRZtG7utuVSVTL4HbZHGkw== + cli-width@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-3.0.0.tgz#a2f48437a2caa9a22436e794bf071ec9e61cedf6" @@ -4694,10 +5867,14 @@ cliui@^7.0.2: strip-ansi "^6.0.0" wrap-ansi "^7.0.0" -clone-buffer@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/clone-buffer/-/clone-buffer-1.0.0.tgz#e3e25b207ac4e701af721e2cb5a16792cac3dc58" - integrity sha512-KLLTJWrvwIP+OPfMn0x2PheDEP20RPUcGXj/ERegTgdmPEZylALQldygiqrPPu8P45uNuPs7ckmReLY6v/iA5g== +cliui@^8.0.1: + version "8.0.1" + resolved "https://registry.yarnpkg.com/cliui/-/cliui-8.0.1.tgz#0c04b075db02cbfe60dc8e6cf2f5486b1a3608aa" + integrity sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ== + dependencies: + string-width "^4.2.0" + strip-ansi "^6.0.1" + wrap-ansi "^7.0.0" clone-deep@^4.0.1: version "4.0.1" @@ -4708,47 +5885,23 @@ clone-deep@^4.0.1: kind-of "^6.0.2" shallow-clone "^3.0.0" -clone-stats@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/clone-stats/-/clone-stats-1.0.0.tgz#b3782dff8bb5474e18b9b6bf0fdfe782f8777680" - integrity sha512-au6ydSpg6nsrigcZ4m8Bc9hxjeW+GJ8xh5G3BJCMt4WXe1H10UNaVOamqQTmrx1kjVuxAHIQSNU6hY4Nsn9/ag== +clone-response@^1.0.2: + version "1.0.3" + resolved "https://registry.yarnpkg.com/clone-response/-/clone-response-1.0.3.tgz#af2032aa47816399cf5f0a1d0db902f517abb8c3" + integrity sha512-ROoL94jJH2dUVML2Y/5PEDNaSHgeOdSDicUyS7izcF63G6sTc/FTjLub4b8Il9S8S0beOfYt0TaA5qvFK+w0wA== + dependencies: + mimic-response "^1.0.0" clone@^1.0.2: version "1.0.4" resolved "https://registry.yarnpkg.com/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e" integrity sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg== -clone@^2.1.1: - version "2.1.2" - resolved "https://registry.yarnpkg.com/clone/-/clone-2.1.2.tgz#1b7f4b9f591f1e8f83670401600345a02887435f" - integrity sha512-3Pe/CF1Nn94hyhIYpjtiLhdCoEoz0DqQ+988E9gmeEdQZlojxnOb74wctFyuwWQHzqyf9X7C7MG8juUpqBJT8w== - -cloneable-readable@^1.0.0: - version "1.1.3" - resolved "https://registry.yarnpkg.com/cloneable-readable/-/cloneable-readable-1.1.3.tgz#120a00cb053bfb63a222e709f9683ea2e11d8cec" - integrity sha512-2EF8zTQOxYq70Y4XKtorQupqF0m49MBz2/yf5Bj+MHjvpG3Hy7sImifnqD6UA+TKYxeSV+u6qqQPawN5UvnpKQ== - dependencies: - inherits "^2.0.1" - process-nextick-args "^2.0.0" - readable-stream "^2.3.5" - -cmd-shim@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/cmd-shim/-/cmd-shim-5.0.0.tgz#8d0aaa1a6b0708630694c4dbde070ed94c707724" - integrity sha512-qkCtZ59BidfEwHltnJwkyVZn+XQojdAySM1D1gSeh11Z4pW1Kpolkyo53L5noc0nrxmIvyFwTmJRo4xs7FFLPw== - dependencies: - mkdirp-infer-owner "^2.0.0" - co@^4.6.0: version "4.6.0" resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" integrity sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ== -code-point-at@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" - integrity sha512-RpAVKQA5T63xEj6/giIbUEtZwJ4UFIc3ZtvEkiaUERylqe8xb5IvqcgOurZLahv93CLKfxcw5YI+DZcUBRyLXA== - collect-v8-coverage@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/collect-v8-coverage/-/collect-v8-coverage-1.0.2.tgz#c0b29bcd33bcd0779a1344c2136051e6afd3d9e9" @@ -4778,15 +5931,15 @@ color-name@~1.1.4: resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== -color-support@^1.1.2, color-support@^1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/color-support/-/color-support-1.1.3.tgz#93834379a1cc9a0c61f82f52f0d04322251bd5a2" - integrity sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg== +colorette@^2.0.20: + version "2.0.20" + resolved "https://registry.yarnpkg.com/colorette/-/colorette-2.0.20.tgz#9eb793e6833067f7235902fcd3b09917a000a95a" + integrity sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w== -colors@1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/colors/-/colors-1.0.3.tgz#0433f44d809680fdeb60ed260f1b0c262e82a40b" - integrity sha512-pFGrxThWcWQ2MsAz6RtgeWe4NK2kUE1WfsrvvlctdII745EW9I0yflqhe7++M5LEc7bV2c/9/5zc8sFcpL0Drw== +colors@^1.1.2: + version "1.4.0" + resolved "https://registry.yarnpkg.com/colors/-/colors-1.4.0.tgz#c50491479d4c1bdaed2c9ced32cf7c7dc2360f78" + integrity sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA== combined-stream@^1.0.8: version "1.0.8" @@ -4820,25 +5973,15 @@ command-line-usage@^6.1.0: table-layout "^1.0.2" typical "^5.2.0" -commander@7.1.0: - version "7.1.0" - resolved "https://registry.yarnpkg.com/commander/-/commander-7.1.0.tgz#f2eaecf131f10e36e07d894698226e36ae0eb5ff" - integrity sha512-pRxBna3MJe6HKnBGsDyMv8ETbptw3axEdYHoqNh7gu5oDcew8fs0xnivZGm06Ogk8zGAJ9VX+OPEr2GXEQK4dg== - commander@^2.20.0: version "2.20.3" resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== -common-ancestor-path@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/common-ancestor-path/-/common-ancestor-path-1.0.1.tgz#4f7d2d1394d91b7abdf51871c62f71eadb0182a7" - integrity sha512-L3sHRo1pXXEqX8VU28kfgUY+YGsk09hPqZiZmLacNib6XNTCM8ubYeT7ryXQw8asB1sKgcU5lkB7ONug08aB8w== - -commondir@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b" - integrity sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg== +commander@~12.1.0: + version "12.1.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-12.1.0.tgz#01423b36f501259fdaac4d0e4d60c96c991585d3" + integrity sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA== component-emitter@^1.3.0: version "1.3.0" @@ -4850,32 +5993,19 @@ concat-map@0.0.1: resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== -concurrently@^7.0.0: - version "7.4.0" - resolved "https://registry.yarnpkg.com/concurrently/-/concurrently-7.4.0.tgz#bb0e344964bc172673577c420db21e963f2f7368" - integrity sha512-M6AfrueDt/GEna/Vg9BqQ+93yuvzkSKmoTixnwEJkH0LlcGrRC2eCmjeG1tLLHIYfpYJABokqSGyMcXjm96AFA== +configstore@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/configstore/-/configstore-5.0.1.tgz#d365021b5df4b98cdd187d6a3b0e3f6a7cc5ed96" + integrity sha512-aMKprgk5YhBNyH25hj8wGt2+D52Sw1DRRIzqBwLp2Ya9mFmY8KPvvtvmna8SxVR9JMZ4kzMD68N22vlaRpkeFA== dependencies: - chalk "^4.1.0" - date-fns "^2.29.1" - lodash "^4.17.21" - rxjs "^7.0.0" - shell-quote "^1.7.3" - spawn-command "^0.0.2-1" - supports-color "^8.1.0" - tree-kill "^1.2.2" - yargs "^17.3.1" - -console-control-strings@^1.0.0, console-control-strings@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" - integrity sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ== - -content-type@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b" - integrity sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA== + dot-prop "^5.2.0" + graceful-fs "^4.1.2" + make-dir "^3.0.0" + unique-string "^2.0.0" + write-file-atomic "^3.0.0" + xdg-basedir "^4.0.0" -convert-source-map@^1.6.0, convert-source-map@^1.7.0: +convert-source-map@^1.4.0, convert-source-map@^1.6.0, convert-source-map@^1.7.0: version "1.9.0" resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.9.0.tgz#7faae62353fb4213366d0ca98358d22e8368b05f" integrity sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A== @@ -4890,33 +6020,19 @@ cookiejar@^2.1.2: resolved "https://registry.yarnpkg.com/cookiejar/-/cookiejar-2.1.3.tgz#fc7a6216e408e74414b90230050842dacda75acc" integrity sha512-JxbCBUdrfr6AQjOXrxoTvAMJO4HBTUIlBzslcJPAz+/KT8yk53fXun51u+RenNYvad/+Vc2DIz5o9UxlCDymFQ== -core-util-is@~1.0.0: - version "1.0.3" - resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.3.tgz#a6042d3634c2b27e9328f837b965fac83808db85" - integrity sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ== - -cosmjs-types@^0.4.0: - version "0.4.1" - resolved "https://registry.yarnpkg.com/cosmjs-types/-/cosmjs-types-0.4.1.tgz#3b2a53ba60d33159dd075596ce8267cfa7027063" - integrity sha512-I7E/cHkIgoJzMNQdFF0YVqPlaTqrqKHrskuSTIqlEyxfB5Lf3WKCajSXVK2yHOfOFfSux/RxEdpMzw/eO4DIog== +core-js-compat@^3.21.0, core-js-compat@^3.22.1: + version "3.37.1" + resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.37.1.tgz#c844310c7852f4bdf49b8d339730b97e17ff09ee" + integrity sha512-9TNiImhKvQqSUkOvk/mMRZzOANTiEVC7WaBNhHcKM7x+/5E1l5NvsysR19zuDQScE8k+kfQXWRN3AtS/eOSHpg== dependencies: - long "^4.0.0" - protobufjs "~6.11.2" - -crc@^4.3.2: - version "4.3.2" - resolved "https://registry.yarnpkg.com/crc/-/crc-4.3.2.tgz#49b7821cbf2cf61dfd079ed93863bbebd5469b9a" - integrity sha512-uGDHf4KLLh2zsHa8D8hIQ1H/HtFQhyHrc0uhHBcoKGol/Xnb+MPYfUMw7cvON6ze/GUESTudKayDcJC5HnJv1A== + browserslist "^4.23.0" -create-ecdh@^4.0.0: - version "4.0.4" - resolved "https://registry.yarnpkg.com/create-ecdh/-/create-ecdh-4.0.4.tgz#d6e7f4bffa66736085a0762fd3a632684dabcc4e" - integrity sha512-mf+TCx8wWc9VpuxfP2ht0iSISLZnt0JgWlrOKZiNqyUZWnjIaCIVNQArMHnCZKfEYRg6IM7A+NeJoN8gf/Ws0A== - dependencies: - bn.js "^4.1.0" - elliptic "^6.5.3" +cosmjs-types@^0.9.0: + version "0.9.0" + resolved "https://registry.yarnpkg.com/cosmjs-types/-/cosmjs-types-0.9.0.tgz#c3bc482d28c7dfa25d1445093fdb2d9da1f6cfcc" + integrity sha512-MN/yUe6mkJwHnCFfsNPeCfXVhyxHYW6c/xDUzrSbBycYzw++XvWDMJArXp2pLdgD6FQ8DW79vkPjeNKVrXaHeQ== -create-hash@^1.1.0, create-hash@^1.1.2, create-hash@^1.2.0: +create-hash@^1.1.0, create-hash@^1.1.2: version "1.2.0" resolved "https://registry.yarnpkg.com/create-hash/-/create-hash-1.2.0.tgz#889078af11a63756bcfb59bd221996be3a9ef196" integrity sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg== @@ -4927,7 +6043,7 @@ create-hash@^1.1.0, create-hash@^1.1.2, create-hash@^1.2.0: ripemd160 "^2.0.1" sha.js "^2.4.0" -create-hmac@^1.1.0, create-hmac@^1.1.4, create-hmac@^1.1.7: +create-hmac@^1.1.4: version "1.1.7" resolved "https://registry.yarnpkg.com/create-hmac/-/create-hmac-1.1.7.tgz#69170c78b3ab957147b2b8b04572e47ead2243ff" integrity sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg== @@ -4944,7 +6060,14 @@ create-require@^1.1.0: resolved "https://registry.yarnpkg.com/create-require/-/create-require-1.1.1.tgz#c1d7e8f1e5f6cfc9ff65f9cd352d37348756c333" integrity sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ== -cross-spawn@^6.0.0, cross-spawn@^6.0.5: +cross-fetch@3.1.5: + version "3.1.5" + resolved "https://registry.yarnpkg.com/cross-fetch/-/cross-fetch-3.1.5.tgz#e1389f44d9e7ba767907f7af8454787952ab534f" + integrity sha512-lvb1SBsI0Z7GDwmuid+mU3kWVBwTVUbe7S0H52yaaAdQOXq2YktTCZdlAcNKFzE6QtRz0snpw9bNiPeOIkkQvw== + dependencies: + node-fetch "2.6.7" + +cross-spawn@^6.0.5: version "6.0.5" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" integrity sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ== @@ -4955,7 +6078,7 @@ cross-spawn@^6.0.0, cross-spawn@^6.0.5: shebang-command "^1.2.0" which "^1.2.9" -cross-spawn@^7.0.3: +cross-spawn@^7.0.0, cross-spawn@^7.0.3: version "7.0.3" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== @@ -4964,22 +6087,15 @@ cross-spawn@^7.0.3: shebang-command "^2.0.0" which "^2.0.1" -crypto-browserify@^3.12.0: - version "3.12.0" - resolved "https://registry.yarnpkg.com/crypto-browserify/-/crypto-browserify-3.12.0.tgz#396cf9f3137f03e4b8e532c58f698254e00f80ec" - integrity sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg== - dependencies: - browserify-cipher "^1.0.0" - browserify-sign "^4.0.0" - create-ecdh "^4.0.0" - create-hash "^1.1.0" - create-hmac "^1.1.0" - diffie-hellman "^5.0.0" - inherits "^2.0.1" - pbkdf2 "^3.0.3" - public-encrypt "^4.0.0" - randombytes "^2.0.0" - randomfill "^1.0.3" +crypto-js@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/crypto-js/-/crypto-js-4.2.0.tgz#4d931639ecdfd12ff80e8186dba6af2c2e856631" + integrity sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q== + +crypto-random-string@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/crypto-random-string/-/crypto-random-string-2.0.0.tgz#ef2a7a966ec11083388369baa02ebead229b30d5" + integrity sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA== d@1, d@^1.0.1: version "1.0.1" @@ -4989,7 +6105,23 @@ d@1, d@^1.0.1: es5-ext "^0.10.50" type "^1.0.1" -dargs@^7.0.0: +d@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/d/-/d-1.0.2.tgz#2aefd554b81981e7dccf72d6842ae725cb17e5de" + integrity sha512-MOqHvMWF9/9MX6nza0KgvFH4HpMU0EF5uUDXqX/BtxtU8NfB0QzRtJ8Oe/6SuS4kbhyzVJwjd97EA4PKrzJ8bw== + dependencies: + es5-ext "^0.10.64" + type "^2.7.2" + +dag-jose@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/dag-jose/-/dag-jose-1.0.0.tgz#52e42d70cb5bee31ae4e8e3ab860615568d7ad73" + integrity sha512-U0b/YsIPBp6YZNTFrVjwLZAlY3qGRxZTIEcM/CcQmrVrCWq9MWQq9pheXVSPLIhF4SNwzp2SikPva4/BIrJY+g== + dependencies: + "@ipld/dag-cbor" "^6.0.3" + multiformats "^9.0.2" + +dargs@7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/dargs/-/dargs-7.0.0.tgz#04015c41de0bcb69ec84050f3d9be0caf8d6d5cc" integrity sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg== @@ -4999,39 +6131,38 @@ data-uri-to-buffer@^4.0.0: resolved "https://registry.yarnpkg.com/data-uri-to-buffer/-/data-uri-to-buffer-4.0.0.tgz#b5db46aea50f6176428ac05b73be39a57701a64b" integrity sha512-Vr3mLBA8qWmcuschSLAOogKgQ/Jwxulv3RNE4FXnYWRGujzrRWQI4m12fQqRkwX06C0KanhLr4hK+GydchZsaA== -date-fns@^2.29.1: - version "2.29.2" - resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.29.2.tgz#0d4b3d0f3dff0f920820a070920f0d9662c51931" - integrity sha512-0VNbwmWJDS/G3ySwFSJA3ayhbURMTJLtwM2DTxf9CWondCnh6DTNlO9JgRSq6ibf4eD0lfMJNBxUdEAHHix+bA== - -dateformat@^4.5.0: - version "4.6.3" - resolved "https://registry.yarnpkg.com/dateformat/-/dateformat-4.6.3.tgz#556fa6497e5217fedb78821424f8a1c22fa3f4b5" - integrity sha512-2P0p0pFGzHS5EMnhdxQi7aJN+iMheud0UhG4dlE1DLAlvL8JHjJJTX/CSm4JXwV0Ka5nGk3zC5mcb5bUQUxxMA== - dayjs@^1.10.7: version "1.11.5" resolved "https://registry.yarnpkg.com/dayjs/-/dayjs-1.11.5.tgz#00e8cc627f231f9499c19b38af49f56dc0ac5e93" integrity sha512-CAdX5Q3YW3Gclyo5Vpqkgpj8fSdLQcRuzfX6mC6Phy0nfJ0eGYOeS7m4mt2plDWLAtA4TqTakvbboHvUxfe4iA== -debug@4, debug@^4.0.0, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2, debug@^4.3.3, debug@^4.3.4: +debug@^2.2.0, debug@^2.6.0: + version "2.6.9" + resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" + integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== + dependencies: + ms "2.0.0" + +debug@^4.0.0, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.3, debug@^4.3.4: version "4.3.4" resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== dependencies: ms "2.1.2" -debug@^2.2.0, debug@^2.6.0: - version "2.6.9" - resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" - integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== +debug@~4.3.4: + version "4.3.5" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.5.tgz#e83444eceb9fedd4a1da56d671ae2446a01a6e1e" + integrity sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg== dependencies: - ms "2.0.0" + ms "2.1.2" -debuglog@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/debuglog/-/debuglog-1.0.1.tgz#aa24ffb9ac3df9a2351837cfb2d279360cd78492" - integrity sha512-syBZ+rnAK3EgMsH2aYEOLUW7mZSY9Gb+0wUMCFsZvcmiz+HigA0LOcq/HoQqVuGG+EKykunc7QG2bzrponfaSw== +decompress-response@^3.3.0: + version "3.3.0" + resolved "https://registry.yarnpkg.com/decompress-response/-/decompress-response-3.3.0.tgz#80a4dd323748384bfa248083622aedec982adff3" + integrity sha512-BzRPQuY1ip+qDonAOz42gRm/pg9F768C+npV/4JOsxRC2sq+Rlk+Q4ZCAsOhnIaMrgarILY+RMUIvMmmX1qAEA== + dependencies: + mimic-response "^1.0.0" dedent@^1.0.0: version "1.5.1" @@ -5043,7 +6174,12 @@ deep-extend@^0.6.0, deep-extend@~0.6.0: resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac" integrity sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA== -deepmerge@^4.2.2: +deepmerge@4.2.2: + version "4.2.2" + resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.2.2.tgz#44d2ea3679b8f4d4ffba33f03d865fc1e7bf4955" + integrity sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg== + +deepmerge@4.3.1, deepmerge@^4.2.2: version "4.3.1" resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.3.1.tgz#44b5f2147cd3b00d4b56137685966f26fd25dd4a" integrity sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A== @@ -5055,7 +6191,12 @@ defaults@^1.0.3: dependencies: clone "^1.0.2" -define-properties@^1.1.3, define-properties@^1.1.4: +defer-to-connect@^1.0.1: + version "1.1.3" + resolved "https://registry.yarnpkg.com/defer-to-connect/-/defer-to-connect-1.1.3.tgz#331ae050c08dcf789f8c83a7b81f0ed94f4ac591" + integrity sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ== + +define-properties@^1.1.3: version "1.1.4" resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.4.tgz#0b14d7bd7fbeb2f3572c3a7eda80ea5d57fb05b1" integrity sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA== @@ -5068,49 +6209,21 @@ delayed-stream@~1.0.0: resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ== -delegates@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" - integrity sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ== - -depd@^1.1.2, depd@~1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9" - integrity sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ== - depd@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/depd/-/depd-2.0.0.tgz#b696163cc757560d09cf22cc8fad1571b79e76df" integrity sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw== -deprecation@^2.0.0, deprecation@^2.3.1: - version "2.3.1" - resolved "https://registry.yarnpkg.com/deprecation/-/deprecation-2.3.1.tgz#6368cbdb40abf3373b525ac87e4a260c3a700919" - integrity sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ== - -des.js@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/des.js/-/des.js-1.1.0.tgz#1d37f5766f3bbff4ee9638e871a8768c173b81da" - integrity sha512-r17GxjhUCjSRy8aiJpr8/UadFIzMzJGexI3Nmz4ADi9LYSFx4gTBp80+NaX/YsXWWLhpZ7v/v/ubEc/bCNfKwg== - dependencies: - inherits "^2.0.1" - minimalistic-assert "^1.0.0" - -detect-indent@^6.0.0: - version "6.1.0" - resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-6.1.0.tgz#592485ebbbf6b3b1ab2be175c8393d04ca0d57e6" - integrity sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA== +depd@~1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9" + integrity sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ== detect-newline@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/detect-newline/-/detect-newline-3.1.0.tgz#576f5dfc63ae1a192ff192d8ad3af6308991b651" integrity sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA== -detect-node@^2.0.4: - version "2.1.0" - resolved "https://registry.yarnpkg.com/detect-node/-/detect-node-2.1.0.tgz#c9c70775a49c3d03bc2c06d9a73be550f978f8b1" - integrity sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g== - detect-port@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/detect-port/-/detect-port-1.3.0.tgz#d9c40e9accadd4df5cac6a782aefd014d573d1f1" @@ -5119,14 +6232,6 @@ detect-port@^1.3.0: address "^1.0.1" debug "^2.6.0" -dezalgo@^1.0.0: - version "1.0.4" - resolved "https://registry.yarnpkg.com/dezalgo/-/dezalgo-1.0.4.tgz#751235260469084c132157dfa857f386d4c33d81" - integrity sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig== - dependencies: - asap "^2.0.0" - wrappy "1" - diff-sequences@^29.4.3: version "29.4.3" resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-29.4.3.tgz#9314bc1fabe09267ffeca9cbafc457d8499a13f2" @@ -5137,20 +6242,6 @@ diff@^4.0.1: resolved "https://registry.yarnpkg.com/diff/-/diff-4.0.2.tgz#60f3aecb89d5fae520c11aa19efc2bb982aade7d" integrity sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A== -diff@^5.0.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/diff/-/diff-5.1.0.tgz#bc52d298c5ea8df9194800224445ed43ffc87e40" - integrity sha512-D+mk+qE8VC/PAUrlAU34N+VfXev0ghe5ywmpqrawphmVZc1bEfn56uo9qpyGp1p4xpzOHkSW4ztBd6L7Xx4ACw== - -diffie-hellman@^5.0.0: - version "5.0.3" - resolved "https://registry.yarnpkg.com/diffie-hellman/-/diffie-hellman-5.0.3.tgz#40e8ee98f55a2149607146921c63e1ae5f3d2875" - integrity sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg== - dependencies: - bn.js "^4.1.0" - miller-rabin "^4.0.0" - randombytes "^2.0.0" - dir-glob@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-3.0.1.tgz#56dbf73d992a4a93ba1584f4534063fd2e41717f" @@ -5167,11 +6258,33 @@ dns-over-http-resolver@^1.2.3: native-fetch "^3.0.0" receptacle "^1.3.2" +dot-prop@^5.2.0: + version "5.3.0" + resolved "https://registry.yarnpkg.com/dot-prop/-/dot-prop-5.3.0.tgz#90ccce708cd9cd82cc4dc8c3ddd9abdd55b20e88" + integrity sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q== + dependencies: + is-obj "^2.0.0" + dottie@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/dottie/-/dottie-2.0.2.tgz#cc91c0726ce3a054ebf11c55fbc92a7f266dd154" integrity sha512-fmrwR04lsniq/uSr8yikThDTrM7epXHBAAjH9TbeH3rEA8tdCO7mRzB9hdmdGyJCxF8KERo9CITcm3kGuoyMhg== +dotty@0.1.2: + version "0.1.2" + resolved "https://registry.yarnpkg.com/dotty/-/dotty-0.1.2.tgz#512d44cc4111a724931226259297f235e8484f6f" + integrity sha512-V0EWmKeH3DEhMwAZ+8ZB2Ao4OK6p++Z0hsDtZq3N0+0ZMVqkzrcEGROvOnZpLnvBg5PTNG23JEDLAm64gPaotQ== + +duplexer3@^0.1.4: + version "0.1.5" + resolved "https://registry.yarnpkg.com/duplexer3/-/duplexer3-0.1.5.tgz#0b5e4d7bad5de8901ea4440624c8e1d20099217e" + integrity sha512-1A8za6ws41LQgv9HrE/66jyC5yuSjQ3L/KOpFtoBilsAK2iA2wuS5rTt1OCzIvtS2V7nVmedsUU+DGRcjBmOYA== + +eastasianwidth@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/eastasianwidth/-/eastasianwidth-0.2.0.tgz#696ce2ec0aa0e6ea93a397ffcf24aa7840c827cb" + integrity sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA== + ed2curve@^0.3.0: version "0.3.0" resolved "https://registry.yarnpkg.com/ed2curve/-/ed2curve-0.3.0.tgz#322b575152a45305429d546b071823a93129a05d" @@ -5179,6 +6292,13 @@ ed2curve@^0.3.0: dependencies: tweetnacl "1.x.x" +ejs@^3.1.10: + version "3.1.10" + resolved "https://registry.yarnpkg.com/ejs/-/ejs-3.1.10.tgz#69ab8358b14e896f80cc39e62087b88500c3ac3b" + integrity sha512-UeJmFfOrAQS8OJWPZ4qtgHyWExa088/MtK5UEyoJGFH67cDEXkZSviOiKRCZ4Xij0zxI3JECgYs3oKx+AizQBA== + dependencies: + jake "^10.8.5" + ejs@^3.1.6, ejs@^3.1.8: version "3.1.8" resolved "https://registry.yarnpkg.com/ejs/-/ejs-3.1.8.tgz#758d32910c78047585c7ef1f92f9ee041c1c190b" @@ -5203,7 +6323,12 @@ electron-to-chromium@^1.4.477: resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.482.tgz#77c5ed37b93d4dda860e27538e0e2a01d6a19e02" integrity sha512-h+UqpfmEr1Qkk0zp7ej/jid7CXoq4m4QzW6wNTb0ELJ/BZCpA4wgUylBIMGCe621tnr4l5VmoHjdoSx2lbnNJA== -elliptic@6.5.4, elliptic@^6.5.3: +electron-to-chromium@^1.4.796: + version "1.4.803" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.803.tgz#cf55808a5ee12e2a2778bbe8cdc941ef87c2093b" + integrity sha512-61H9mLzGOCLLVsnLiRzCbc63uldP0AniRYPV3hbGVtONA1pI7qSGILdbofR7A8TMbOypDocEAjH/e+9k1QIe3g== + +elliptic@6.5.4: version "6.5.4" resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb" integrity sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ== @@ -5216,29 +6341,52 @@ elliptic@6.5.4, elliptic@^6.5.3: minimalistic-assert "^1.0.1" minimalistic-crypto-utils "^1.0.1" +elliptic@^6.5.0, elliptic@^6.5.4: + version "6.5.5" + resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.5.tgz#c715e09f78b6923977610d4c2346d6ce22e6dded" + integrity sha512-7EjbcmUm17NQFu4Pmgmq2olYMj8nwMnpcddByChSUjArp8F5DQWcIcpriwO4ZToLNAJig0yiyjswfyGNje/ixw== + dependencies: + bn.js "^4.11.9" + brorand "^1.1.0" + hash.js "^1.0.0" + hmac-drbg "^1.0.1" + inherits "^2.0.4" + minimalistic-assert "^1.0.1" + minimalistic-crypto-utils "^1.0.1" + emittery@^0.13.1: version "0.13.1" resolved "https://registry.yarnpkg.com/emittery/-/emittery-0.13.1.tgz#c04b8c3457490e0847ae51fced3af52d338e3dad" integrity sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ== +emoji-regex@^10.3.0: + version "10.3.0" + resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-10.3.0.tgz#76998b9268409eb3dae3de989254d456e70cfe23" + integrity sha512-QpLs9D9v9kArv4lfDEgg1X/gN5XLnf/A6l9cs8SPZLRZR3ZkY9+kwIQTxm+fsSej5UMYGE8fdoaZVIBlqG0XTw== + emoji-regex@^8.0.0: version "8.0.0" resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== +emoji-regex@^9.2.2: + version "9.2.2" + resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-9.2.2.tgz#840c8803b0d8047f4ff0cf963176b32d4ef3ed72" + integrity sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg== + emojis-list@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/emojis-list/-/emojis-list-3.0.0.tgz#5570662046ad29e2e916e71aae260abdff4f6a78" integrity sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q== -encoding@^0.1.12, encoding@^0.1.13: +encoding@^0.1.13: version "0.1.13" resolved "https://registry.yarnpkg.com/encoding/-/encoding-0.1.13.tgz#56574afdd791f54a8e9b2785c0582a2d26210fa9" integrity sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A== dependencies: iconv-lite "^0.6.2" -end-of-stream@^1.1.0, end-of-stream@^1.4.1: +end-of-stream@^1.1.0: version "1.4.4" resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0" integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q== @@ -5261,16 +6409,6 @@ enhanced-resolve@^5.15.0: graceful-fs "^4.2.4" tapable "^2.2.0" -env-paths@^2.2.0: - version "2.2.1" - resolved "https://registry.yarnpkg.com/env-paths/-/env-paths-2.2.1.tgz#420399d416ce1fbe9bc0a07c62fa68d67fd0f8f2" - integrity sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A== - -err-code@^2.0.2: - version "2.0.3" - resolved "https://registry.yarnpkg.com/err-code/-/err-code-2.0.3.tgz#23c2f3b756ffdfc608d30e27c9a941024807e7f9" - integrity sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA== - err-code@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/err-code/-/err-code-3.0.1.tgz#a444c7b992705f2b120ee320b09972eef331c920" @@ -5292,54 +6430,11 @@ error-polyfill@^0.1.3: o3 "^1.0.3" u3 "^0.1.1" -error@^10.4.0: - version "10.4.0" - resolved "https://registry.yarnpkg.com/error/-/error-10.4.0.tgz#6fcf0fd64bceb1e750f8ed9a3dd880f00e46a487" - integrity sha512-YxIFEJuhgcICugOUvRx5th0UM+ActZ9sjY0QJmeVwsQdvosZ7kYzc9QqS0Da3R5iUmgU5meGIxh0xBeZpMVeLw== - -es-abstract@^1.19.0, es-abstract@^1.19.5, es-abstract@^1.20.0: - version "1.20.2" - resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.20.2.tgz#8495a07bc56d342a3b8ea3ab01bd986700c2ccb3" - integrity sha512-XxXQuVNrySBNlEkTYJoDNFe5+s2yIOpzq80sUHEdPdQr0S5nTLz4ZPPPswNIpKseDDUS5yghX1gfLIHQZ1iNuQ== - dependencies: - call-bind "^1.0.2" - es-to-primitive "^1.2.1" - function-bind "^1.1.1" - function.prototype.name "^1.1.5" - get-intrinsic "^1.1.2" - get-symbol-description "^1.0.0" - has "^1.0.3" - has-property-descriptors "^1.0.0" - has-symbols "^1.0.3" - internal-slot "^1.0.3" - is-callable "^1.2.4" - is-negative-zero "^2.0.2" - is-regex "^1.1.4" - is-shared-array-buffer "^1.0.2" - is-string "^1.0.7" - is-weakref "^1.0.2" - object-inspect "^1.12.2" - object-keys "^1.1.1" - object.assign "^4.1.4" - regexp.prototype.flags "^1.4.3" - string.prototype.trimend "^1.0.5" - string.prototype.trimstart "^1.0.5" - unbox-primitive "^1.0.2" - es-module-lexer@^1.2.1: version "1.3.0" resolved "https://registry.yarnpkg.com/es-module-lexer/-/es-module-lexer-1.3.0.tgz#6be9c9e0b4543a60cd166ff6f8b4e9dae0b0c16f" integrity sha512-vZK7T0N2CBmBOixhmjdqx2gWVbFZ4DXZ/NyRMZVlJXPa7CyFS+/a4QQsDGDQy9ZfEzxFuNEsMLeQJnKP2p5/JA== -es-to-primitive@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.2.1.tgz#e55cd4c9cdc188bcefb03b366c736323fc5c898a" - integrity sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA== - dependencies: - is-callable "^1.1.4" - is-date-object "^1.0.1" - is-symbol "^1.0.2" - es5-ext@^0.10.35, es5-ext@^0.10.50: version "0.10.62" resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.62.tgz#5e6adc19a6da524bf3d1e02bbc8960e5eb49a9a5" @@ -5349,6 +6444,16 @@ es5-ext@^0.10.35, es5-ext@^0.10.50: es6-symbol "^3.1.3" next-tick "^1.1.0" +es5-ext@^0.10.46, es5-ext@^0.10.62, es5-ext@^0.10.64, es5-ext@~0.10.14, es5-ext@~0.10.2: + version "0.10.64" + resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.64.tgz#12e4ffb48f1ba2ea777f1fcdd1918ef73ea21714" + integrity sha512-p2snDhiLaXe6dahss1LddxqEm+SkuDvV8dnIQG0MWjyHpcMNfXKPE+/Cc0y+PhxJX3A4xGNeFCj5oc0BUh6deg== + dependencies: + es6-iterator "^2.0.3" + es6-symbol "^3.1.3" + esniff "^2.0.1" + next-tick "^1.1.0" + es6-iterator@^2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/es6-iterator/-/es6-iterator-2.0.3.tgz#a7de889141a05a94b0854403b2d0a0fbfa98f3b7" @@ -5358,11 +6463,6 @@ es6-iterator@^2.0.3: es5-ext "^0.10.35" es6-symbol "^3.1.1" -es6-promise@^4.2.4: - version "4.2.8" - resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-4.2.8.tgz#4eb21594c972bc40553d276e510539143db53e0a" - integrity sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w== - es6-symbol@^3.1.1, es6-symbol@^3.1.3: version "3.1.3" resolved "https://registry.yarnpkg.com/es6-symbol/-/es6-symbol-3.1.3.tgz#bad5d3c1bcdac28269f4cb331e431c78ac705d18" @@ -5371,11 +6471,31 @@ es6-symbol@^3.1.1, es6-symbol@^3.1.3: d "^1.0.1" ext "^1.1.2" +es6-weak-map@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/es6-weak-map/-/es6-weak-map-2.0.3.tgz#b6da1f16cc2cc0d9be43e6bdbfc5e7dfcdf31d53" + integrity sha512-p5um32HOTO1kP+w7PRnB+5lQ43Z6muuMuIMffvDN8ZB4GcnjLBV6zGStpbASIMk4DCAvEaamhe2zhyCb/QXXsA== + dependencies: + d "1" + es5-ext "^0.10.46" + es6-iterator "^2.0.3" + es6-symbol "^3.1.1" + escalade@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== +escalade@^3.1.2: + version "3.1.2" + resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.2.tgz#54076e9ab29ea5bf3d8f1ed62acffbb88272df27" + integrity sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA== + +escape-goat@^2.0.0: + version "2.1.1" + resolved "https://registry.yarnpkg.com/escape-goat/-/escape-goat-2.1.1.tgz#1b2dc77003676c457ec760b2dc68edb648188675" + integrity sha512-8/uIhbG12Csjy2JEW7D9pHbreaVaS/OpN3ycnyvElTdwM5n6GY6W6e2IPemfvGZeUMqZ9A/3GqIZMgKnBhAw/Q== + escape-string-regexp@4.0.0, escape-string-regexp@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" @@ -5399,6 +6519,16 @@ eslint-scope@5.1.1: esrecurse "^4.3.0" estraverse "^4.1.1" +esniff@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/esniff/-/esniff-2.0.1.tgz#a4d4b43a5c71c7ec51c51098c1d8a29081f9b308" + integrity sha512-kTUIGKQ/mDPFoJ0oVfcmyJn4iBDRptjNVIzwIFR7tqWXdVI9xfA2RMwY/gbSpJG3lkdWNEjLap/NqVHZiJsdfg== + dependencies: + d "^1.0.1" + es5-ext "^0.10.62" + event-emitter "^0.3.5" + type "^2.7.2" + esprima@^4.0.0, esprima@~4.0.0: version "4.0.1" resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" @@ -5421,12 +6551,61 @@ estraverse@^5.2.0: resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123" integrity sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA== +esutils@^2.0.2: + version "2.0.3" + resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" + integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== + +ethers@^5.7.0: + version "5.7.2" + resolved "https://registry.yarnpkg.com/ethers/-/ethers-5.7.2.tgz#3a7deeabbb8c030d4126b24f84e525466145872e" + integrity sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg== + dependencies: + "@ethersproject/abi" "5.7.0" + "@ethersproject/abstract-provider" "5.7.0" + "@ethersproject/abstract-signer" "5.7.0" + "@ethersproject/address" "5.7.0" + "@ethersproject/base64" "5.7.0" + "@ethersproject/basex" "5.7.0" + "@ethersproject/bignumber" "5.7.0" + "@ethersproject/bytes" "5.7.0" + "@ethersproject/constants" "5.7.0" + "@ethersproject/contracts" "5.7.0" + "@ethersproject/hash" "5.7.0" + "@ethersproject/hdnode" "5.7.0" + "@ethersproject/json-wallets" "5.7.0" + "@ethersproject/keccak256" "5.7.0" + "@ethersproject/logger" "5.7.0" + "@ethersproject/networks" "5.7.1" + "@ethersproject/pbkdf2" "5.7.0" + "@ethersproject/properties" "5.7.0" + "@ethersproject/providers" "5.7.2" + "@ethersproject/random" "5.7.0" + "@ethersproject/rlp" "5.7.0" + "@ethersproject/sha2" "5.7.0" + "@ethersproject/signing-key" "5.7.0" + "@ethersproject/solidity" "5.7.0" + "@ethersproject/strings" "5.7.0" + "@ethersproject/transactions" "5.7.0" + "@ethersproject/units" "5.7.0" + "@ethersproject/wallet" "5.7.0" + "@ethersproject/web" "5.7.1" + "@ethersproject/wordlists" "5.7.0" + +event-emitter@^0.3.5: + version "0.3.5" + resolved "https://registry.yarnpkg.com/event-emitter/-/event-emitter-0.3.5.tgz#df8c69eef1647923c7157b9ce83840610b02cc39" + integrity sha512-D9rRn9y7kLPnJ+hMq7S/nhvoKwwvVJahBi2BPmx3bvbsEdK3W9ii8cBSGjP+72/LnM4n6fo3+dkCX5FeTQruXA== + dependencies: + d "1" + es5-ext "~0.10.14" + event-target-shim@^5.0.0: version "5.0.1" resolved "https://registry.yarnpkg.com/event-target-shim/-/event-target-shim-5.0.1.tgz#5d4d3ebdf9583d63a5333ce2deb7480ab2b05789" integrity sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ== -eventemitter3@^4.0.4, eventemitter3@^4.0.7: +eventemitter3@^4.0.7: version "4.0.7" resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw== @@ -5436,11 +6615,6 @@ eventemitter3@^5.0.1: resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-5.0.1.tgz#53f5ffd0a492ac800721bb42c66b841de96423c4" integrity sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA== -events@1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/events/-/events-1.1.1.tgz#9ebdb7635ad099c70dcc4c2a1f5004288e8bd924" - integrity sha512-kEcvvCBByWXGnZy6JUlgAp2gBIUjfCAV6P6TgT1/aaQKcmuAEC4OZTV1I4EWQLz2gxZw76atuVyvHhTxvi0Flw== - events@^3.2.0: version "3.3.0" resolved "https://registry.yarnpkg.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" @@ -5451,28 +6625,7 @@ eventsource@^2.0.2: resolved "https://registry.yarnpkg.com/eventsource/-/eventsource-2.0.2.tgz#76dfcc02930fb2ff339520b6d290da573a9e8508" integrity sha512-IzUmBGPR3+oUG9dUeXynyNmf91/3zUSJg1lCktzKw47OXuhco54U3r9B7O4XX+Rb1Itm9OZ2b0RkTs10bICOxA== -evp_bytestokey@^1.0.0, evp_bytestokey@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz#7fcbdb198dc71959432efe13842684e0525acb02" - integrity sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA== - dependencies: - md5.js "^1.3.4" - safe-buffer "^5.1.1" - -execa@^0.10.0: - version "0.10.0" - resolved "https://registry.yarnpkg.com/execa/-/execa-0.10.0.tgz#ff456a8f53f90f8eccc71a96d11bdfc7f082cb50" - integrity sha512-7XOMnz8Ynx1gGo/3hyV9loYNPWM94jG3+3T3Y8tsfSstFmETmENCMU/A/zj8Lyaj1lkgEepKepvd6240tBRvlw== - dependencies: - cross-spawn "^6.0.0" - get-stream "^3.0.0" - is-stream "^1.1.0" - npm-run-path "^2.0.0" - p-finally "^1.0.0" - signal-exit "^3.0.0" - strip-eof "^1.0.0" - -execa@^5.0.0, execa@^5.1.1: +execa@^5.0.0: version "5.1.1" resolved "https://registry.yarnpkg.com/execa/-/execa-5.1.1.tgz#f80ad9cbf4298f7bd1d4c9555c21e93741c411dd" integrity sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg== @@ -5487,6 +6640,21 @@ execa@^5.0.0, execa@^5.1.1: signal-exit "^3.0.3" strip-final-newline "^2.0.0" +execa@~8.0.1: + version "8.0.1" + resolved "https://registry.yarnpkg.com/execa/-/execa-8.0.1.tgz#51f6a5943b580f963c3ca9c6321796db8cc39b8c" + integrity sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg== + dependencies: + cross-spawn "^7.0.3" + get-stream "^8.0.1" + human-signals "^5.0.0" + is-stream "^3.0.0" + merge-stream "^2.0.0" + npm-run-path "^5.1.0" + onetime "^6.0.0" + signal-exit "^4.1.0" + strip-final-newline "^3.0.0" + exit@^0.1.2: version "0.1.2" resolved "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c" @@ -5516,6 +6684,15 @@ extend@^3.0.0: resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa" integrity sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g== +external-editor@^2.0.4: + version "2.2.0" + resolved "https://registry.yarnpkg.com/external-editor/-/external-editor-2.2.0.tgz#045511cfd8d133f3846673d1047c154e214ad3d5" + integrity sha512-bSn6gvGxKt+b7+6TKEv1ZycHleA7aHhRHyAqJyp5pbUFuYYNIzpZnQDk7AsYckyWdEnTeAnay0aCy2aV6iTk9A== + dependencies: + chardet "^0.4.0" + iconv-lite "^0.4.17" + tmp "^0.0.33" + external-editor@^3.0.3: version "3.1.0" resolved "https://registry.yarnpkg.com/external-editor/-/external-editor-3.1.0.tgz#cb03f740befae03ea4d283caed2741a83f335495" @@ -5540,7 +6717,7 @@ fast-fifo@^1.0.0: resolved "https://registry.yarnpkg.com/fast-fifo/-/fast-fifo-1.1.0.tgz#17d1a3646880b9891dfa0c54e69c5fef33cad779" integrity sha512-Kl29QoNbNvn4nhDsLYjyIAaIqaJB6rBx5p3sL9VjaefJ+eMFBWVZiaoguaoZfzEKr5RhAti0UgM8703akGPJ6g== -fast-glob@^3.0.3, fast-glob@^3.2.9: +fast-glob@^3.2.9: version "3.2.12" resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.12.tgz#7f39ec99c2e6ab030337142da9e0c18f37afae80" integrity sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w== @@ -5556,13 +6733,6 @@ fast-json-stable-stringify@2.x, fast-json-stable-stringify@^2.0.0, fast-json-sta resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== -fast-levenshtein@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-3.0.0.tgz#37b899ae47e1090e40e3fd2318e4d5f0142ca912" - integrity sha512-hKKNajm46uNmTlhHSyZkmToAc56uZJwYq7yrciZjqOxnlfQwERDQJmHPUp7m1m9wx8vgOe8IaCKZ5Kv2k1DdCQ== - dependencies: - fastest-levenshtein "^1.0.7" - fast-redact@^3.0.0: version "3.1.2" resolved "https://registry.yarnpkg.com/fast-redact/-/fast-redact-3.1.2.tgz#d58e69e9084ce9fa4c1a6fa98a3e1ecf5d7839aa" @@ -5573,11 +6743,6 @@ fast-safe-stringify@^2.0.7, fast-safe-stringify@^2.0.8: resolved "https://registry.yarnpkg.com/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz#c406a83b6e70d9e35ce3b30a81141df30aeba884" integrity sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA== -fastest-levenshtein@^1.0.7: - version "1.0.16" - resolved "https://registry.yarnpkg.com/fastest-levenshtein/-/fastest-levenshtein-1.0.16.tgz#210e61b6ff181de91ea9b3d1b84fdedd47e034e5" - integrity sha512-eRnCtTTtGZFpQCwhJiUOuxPQWRXVKYDn0b2PeHfXL6/Zi53SLAzAHfVhVWK2AryC/WH05kGfxhFIPvTF0SXQzg== - fastq@^1.6.0: version "1.13.0" resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.13.0.tgz#616760f88a7526bdfc596b7cab8c18938c36b98c" @@ -5600,6 +6765,13 @@ fetch-blob@^3.1.2, fetch-blob@^3.1.4: node-domexception "^1.0.0" web-streams-polyfill "^3.0.3" +figures@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/figures/-/figures-2.0.0.tgz#3ab1a2d2a62c8bfb431a0c94cb797a2fce27c962" + integrity sha512-Oa2M9atig69ZkfwiApY8F2Yy+tzMbazyvqv21R0NsSC8floSOC09BbT1ITWAdoMGQvJ/aZnR1KMwdx9tvHnTNA== + dependencies: + escape-string-regexp "^1.0.5" + figures@^3.0.0, figures@^3.2.0: version "3.2.0" resolved "https://registry.yarnpkg.com/figures/-/figures-3.2.0.tgz#625c18bd293c604dc4a8ddb2febf0c88341746af" @@ -5621,6 +6793,13 @@ fill-range@^7.0.1: dependencies: to-regex-range "^5.0.1" +fill-range@^7.1.1: + version "7.1.1" + resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.1.1.tgz#44265d3cac07e3ea7dc247516380643754a05292" + integrity sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg== + dependencies: + to-regex-range "^5.0.1" + find-replace@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/find-replace/-/find-replace-3.0.0.tgz#3e7e23d3b05167a76f770c9fbd5258b0def68c38" @@ -5633,65 +6812,36 @@ find-up@^4.0.0, find-up@^4.1.0: resolved "https://registry.yarnpkg.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19" integrity sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw== dependencies: - locate-path "^5.0.0" - path-exists "^4.0.0" - -find-up@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/find-up/-/find-up-5.0.0.tgz#4c92819ecb7083561e4f4a240a86be5198f536fc" - integrity sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng== - dependencies: - locate-path "^6.0.0" - path-exists "^4.0.0" - -find-yarn-workspace-root2@1.2.16: - version "1.2.16" - resolved "https://registry.yarnpkg.com/find-yarn-workspace-root2/-/find-yarn-workspace-root2-1.2.16.tgz#60287009dd2f324f59646bdb4b7610a6b301c2a9" - integrity sha512-hr6hb1w8ePMpPVUK39S4RlwJzi+xPLuVuG8XlwXU3KD5Yn3qgBWVfy3AzNlDhWvE1EORCE65/Qm26rFQt3VLVA== - dependencies: - micromatch "^4.0.2" - pkg-dir "^4.2.0" - -find-yarn-workspace-root@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/find-yarn-workspace-root/-/find-yarn-workspace-root-2.0.0.tgz#f47fb8d239c900eb78179aa81b66673eac88f7bd" - integrity sha512-1IMnbjt4KzsQfnhnzNd8wUEgXZ44IzZaZmnLYx7D5FZlaHt2gW20Cri8Q+E/t5tIj4+epTBub+2Zxu/vNILzqQ== - dependencies: - micromatch "^4.0.2" - -first-chunk-stream@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/first-chunk-stream/-/first-chunk-stream-2.0.0.tgz#1bdecdb8e083c0664b91945581577a43a9f31d70" - integrity sha512-X8Z+b/0L4lToKYq+lwnKqi9X/Zek0NibLpsJgVsSxpoYq7JtiCtRb5HqKVEjEw/qAb/4AKKRLOwwKHlWNpm2Eg== - dependencies: - readable-stream "^2.0.2" + locate-path "^5.0.0" + path-exists "^4.0.0" flatstr@^1.0.12: version "1.0.12" resolved "https://registry.yarnpkg.com/flatstr/-/flatstr-1.0.12.tgz#c2ba6a08173edbb6c9640e3055b95e287ceb5931" integrity sha512-4zPxDyhCyiN2wIAtSLI6gc82/EjqZc1onI4Mz/l0pWrAlsSfYH/2ZIcU+e3oA2wDwbzIWNKwa23F8rh6+DRWkw== -flatted@^3.2.2, flatted@^3.2.5: +flatted@^3.2.5: version "3.2.7" resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.7.tgz#609f39207cb614b89d0765b477cb2d437fbf9787" integrity sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ== -follow-redirects@^1.14.0, follow-redirects@^1.14.4, follow-redirects@^1.14.9: - version "1.15.1" - resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.1.tgz#0ca6a452306c9b276e4d3127483e29575e207ad5" - integrity sha512-yLAMQs+k0b2m7cVxpS1VKJVvoz7SS9Td1zss3XRwXj+ZDH00RJgnuLx7E44wx02kQLrdM3aOOy+FpzS7+8OizA== - follow-redirects@^1.15.0: version "1.15.2" resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13" integrity sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA== -for-each@^0.3.3: - version "0.3.3" - resolved "https://registry.yarnpkg.com/for-each/-/for-each-0.3.3.tgz#69b447e88a0a5d32c3e7084f3f1710034b21376e" - integrity sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw== +follow-redirects@^1.15.6: + version "1.15.6" + resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.6.tgz#7f815c0cda4249c74ff09e95ef97c23b5fd0399b" + integrity sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA== + +foreground-child@^3.1.0: + version "3.2.1" + resolved "https://registry.yarnpkg.com/foreground-child/-/foreground-child-3.2.1.tgz#767004ccf3a5b30df39bed90718bab43fe0a59f7" + integrity sha512-PXUUyLqrR2XCWICfv6ukppP96sdFwWbNEnfEMt7jNsISjMsvaLNinAHNDYyvkyU+SZG2BTSbT5NjG+vZslfGTA== dependencies: - is-callable "^1.1.3" + cross-spawn "^7.0.0" + signal-exit "^4.0.1" form-data@^3.0.0: version "3.0.1" @@ -5723,11 +6873,6 @@ formidable@^1.2.2: resolved "https://registry.yarnpkg.com/formidable/-/formidable-1.2.6.tgz#d2a51d60162bbc9b4a055d8457a7c75315d1a168" integrity sha512-KcpbcpuLNOwrEjnbpMC0gS+X8ciDoZE1kkqzat4a8vrprf+s9pKNQ/QIwWfbfs4ltgmFl3MD177SNTkve3BwGQ== -fs-constants@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/fs-constants/-/fs-constants-1.0.0.tgz#6be0de9be998ce16af8afc24497b9ee9b7ccd9ad" - integrity sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow== - fs-extra@^10.1.0: version "10.1.0" resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-10.1.0.tgz#02873cfbc4084dde127eaa5f9905eef2325d1abf" @@ -5737,14 +6882,14 @@ fs-extra@^10.1.0: jsonfile "^6.0.1" universalify "^2.0.0" -fs-extra@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-6.0.1.tgz#8abc128f7946e310135ddc93b98bddb410e7a34b" - integrity sha512-GnyIkKhhzXZUWFCaJzvyDLEEgDkPfb4/TPvJCJVuS8MWZgoSsErf++QpiAlDnKFcqhRlm+tIOcencCjyJE6ZCA== +fs-extra@^11.1.1: + version "11.2.0" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-11.2.0.tgz#e70e17dfad64232287d01929399e0ea7c86b0e5b" + integrity sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw== dependencies: - graceful-fs "^4.1.2" - jsonfile "^4.0.0" - universalify "^0.1.0" + graceful-fs "^4.2.0" + jsonfile "^6.0.1" + universalify "^2.0.0" fs-extra@^7.0.0: version "7.0.1" @@ -5764,7 +6909,7 @@ fs-extra@^8.1: jsonfile "^4.0.0" universalify "^0.1.0" -fs-extra@^9.0.1, fs-extra@^9.1.0: +fs-extra@^9.1.0: version "9.1.0" resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-9.1.0.tgz#5954460c764a8da2094ba3554bf839e6b9a7c86d" integrity sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ== @@ -5774,7 +6919,7 @@ fs-extra@^9.0.1, fs-extra@^9.1.0: jsonfile "^6.0.1" universalify "^2.0.0" -fs-minipass@^2.0.0, fs-minipass@^2.1.0: +fs-minipass@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-2.1.0.tgz#7f5036fdbf12c63c169190cbe4199c852271f9fb" integrity sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg== @@ -5801,55 +6946,16 @@ function-bind@^1.1.1: resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== -function.prototype.name@^1.1.5: - version "1.1.5" - resolved "https://registry.yarnpkg.com/function.prototype.name/-/function.prototype.name-1.1.5.tgz#cce0505fe1ffb80503e6f9e46cc64e46a12a9621" - integrity sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - es-abstract "^1.19.0" - functions-have-names "^1.2.2" - -functions-have-names@^1.2.2: - version "1.2.3" - resolved "https://registry.yarnpkg.com/functions-have-names/-/functions-have-names-1.2.3.tgz#0404fe4ee2ba2f607f0e0ec3c80bae994133b834" - integrity sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ== +function-bind@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.2.tgz#2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c" + integrity sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA== -fuzzy@^0.1.3: +fuzzy@0.1.3, fuzzy@^0.1.3: version "0.1.3" resolved "https://registry.yarnpkg.com/fuzzy/-/fuzzy-0.1.3.tgz#4c76ec2ff0ac1a36a9dccf9a00df8623078d4ed8" integrity sha512-/gZffu4ykarLrCiP3Ygsa86UAo1E5vEVlvTrpkKywXSbP9Xhln3oSp9QSV57gEq3JFFpGJ4GZ+5zdEp3FcUh4w== -gauge@^3.0.0: - version "3.0.2" - resolved "https://registry.yarnpkg.com/gauge/-/gauge-3.0.2.tgz#03bf4441c044383908bcfa0656ad91803259b395" - integrity sha512-+5J6MS/5XksCuXq++uFRsnUd7Ovu1XenbeuIuNRJxYWjgQbPuFhT14lAvsWfqfAmnwluf1OwMjz39HjfLPci0Q== - dependencies: - aproba "^1.0.3 || ^2.0.0" - color-support "^1.1.2" - console-control-strings "^1.0.0" - has-unicode "^2.0.1" - object-assign "^4.1.1" - signal-exit "^3.0.0" - string-width "^4.2.3" - strip-ansi "^6.0.1" - wide-align "^1.1.2" - -gauge@^4.0.3: - version "4.0.4" - resolved "https://registry.yarnpkg.com/gauge/-/gauge-4.0.4.tgz#52ff0652f2bbf607a989793d53b751bef2328dce" - integrity sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg== - dependencies: - aproba "^1.0.3 || ^2.0.0" - color-support "^1.1.3" - console-control-strings "^1.1.0" - has-unicode "^2.0.1" - signal-exit "^3.0.7" - string-width "^4.2.3" - strip-ansi "^6.0.1" - wide-align "^1.1.5" - gensync@^1.0.0-beta.2: version "1.0.0-beta.2" resolved "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.2.tgz#32a6ee76c3d7f52d46b2b1ae5d93fea8580a25e0" @@ -5860,7 +6966,12 @@ get-caller-file@^2.0.5: resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== -get-intrinsic@^1.0.2, get-intrinsic@^1.1.0, get-intrinsic@^1.1.1, get-intrinsic@^1.1.2: +get-east-asian-width@^1.0.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/get-east-asian-width/-/get-east-asian-width-1.2.0.tgz#5e6ebd9baee6fb8b7b6bd505221065f0cd91f64e" + integrity sha512-2nk+7SIVb14QrgXFHcm84tD4bKQz0RxPuMT8Ag5KPOq7J5fEmAg0UbXdTOSHqNuHSU28k55qnceesxXRZGzKWA== + +get-intrinsic@^1.0.2, get-intrinsic@^1.1.1: version "1.1.2" resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.1.2.tgz#336975123e05ad0b7ba41f152ee4aadbea6cf598" integrity sha512-Jfm3OyCxHh9DJyc28qGk+JmfkpO41A4XkneDSujN9MDXrm4oDKdHvndhZ2dN94+ERNfkYJWDclW6k2L/ZGHjXA== @@ -5879,15 +6990,17 @@ get-package-type@^0.1.0: resolved "https://registry.yarnpkg.com/get-package-type/-/get-package-type-0.1.0.tgz#8de2d803cff44df3bc6c456e6668b36c3926e11a" integrity sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q== -get-stdin@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-4.0.1.tgz#b968c6b0a04384324902e8bf1a5df32579a450fe" - integrity sha512-F5aQMywwJ2n85s4hJPTT9RPxGmubonuB10MNYo17/xph174n2MIR33HRguhzVag10O/npM7SPk73LMZNP+FaWw== +get-stdin@^8.0.0: + version "8.0.0" + resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-8.0.0.tgz#cbad6a73feb75f6eeb22ba9e01f89aa28aa97a53" + integrity sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg== -get-stream@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-3.0.0.tgz#8e943d1358dc37555054ecbe2edb05aa174ede14" - integrity sha512-GlhdIUuVakc8SJ6kK0zAFbiGzRFzNnY4jUuEbV9UROo4Y+0Ny4fjvcZFVTeDA4odpFyOQzaw6hXukJSq/f28sQ== +get-stream@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-4.1.0.tgz#c1b255575f3dc21d59bfc79cd3d2b46b1c3a54b5" + integrity sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w== + dependencies: + pump "^3.0.0" get-stream@^5.1.0: version "5.2.0" @@ -5901,25 +7014,10 @@ get-stream@^6.0.0: resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7" integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg== -get-symbol-description@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/get-symbol-description/-/get-symbol-description-1.0.0.tgz#7fdb81c900101fbd564dd5f1a30af5aadc1e58d6" - integrity sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw== - dependencies: - call-bind "^1.0.2" - get-intrinsic "^1.1.1" - -github-slugger@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/github-slugger/-/github-slugger-1.4.0.tgz#206eb96cdb22ee56fdc53a28d5a302338463444e" - integrity sha512-w0dzqw/nt51xMVmlaV1+JRzN+oCa1KfcgGEWhxUG16wbdA+Xnt/yoFO8Z8x/V82ZcZ0wy6ln9QDup5avbhiDhQ== - -github-username@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/github-username/-/github-username-6.0.0.tgz#d543eced7295102996cd8e4e19050ebdcbe60658" - integrity sha512-7TTrRjxblSI5l6adk9zd+cV5d6i1OrJSo3Vr9xdGqFLBQo0mz5P9eIfKCDJ7eekVGGFLbce0qbPSnktXV2BjDQ== - dependencies: - "@octokit/rest" "^18.0.6" +get-stream@^8.0.1: + version "8.0.1" + resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-8.0.1.tgz#def9dfd71742cd7754a7761ed43749a27d02eca2" + integrity sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA== glob-parent@^5.1.2: version "5.1.2" @@ -5928,6 +7026,13 @@ glob-parent@^5.1.2: dependencies: is-glob "^4.0.1" +glob-promise@^4.2.2: + version "4.2.2" + resolved "https://registry.yarnpkg.com/glob-promise/-/glob-promise-4.2.2.tgz#15f44bcba0e14219cd93af36da6bb905ff007877" + integrity sha512-xcUzJ8NWN5bktoTIX7eOclO1Npxd/dyVqUJxlLIDasT4C7KZyqlPIwkdJ0Ypiy3p2ZKahTjK4M9uC3sNSfNMzw== + dependencies: + "@types/glob" "^7.1.3" + glob-to-regexp@^0.4.1: version "0.4.1" resolved "https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz#c75297087c851b9a578bd217dd59a92f59fe546e" @@ -5945,7 +7050,29 @@ glob@7.1.7: once "^1.3.0" path-is-absolute "^1.0.0" -glob@^7.0.0, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6: +glob@8.0.3: + version "8.0.3" + resolved "https://registry.yarnpkg.com/glob/-/glob-8.0.3.tgz#415c6eb2deed9e502c68fa44a272e6da6eeca42e" + integrity sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^5.0.1" + once "^1.3.0" + +glob@^10.0.0: + version "10.4.1" + resolved "https://registry.yarnpkg.com/glob/-/glob-10.4.1.tgz#0cfb01ab6a6b438177bfe6a58e2576f6efe909c2" + integrity sha512-2jelhlq3E4ho74ZyVLN03oKdAZVUa6UDZzFLVH1H7dnoax+y9qyaq8zBkfDIggjniU19z0wU18y16jMB2eyVIw== + dependencies: + foreground-child "^3.1.0" + jackspeak "^3.1.2" + minimatch "^9.0.4" + minipass "^7.1.2" + path-scurry "^1.11.1" + +glob@^7.0.0, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6: version "7.2.3" resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== @@ -5957,16 +7084,12 @@ glob@^7.0.0, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6: once "^1.3.0" path-is-absolute "^1.0.0" -glob@^8.0.1: - version "8.0.3" - resolved "https://registry.yarnpkg.com/glob/-/glob-8.0.3.tgz#415c6eb2deed9e502c68fa44a272e6da6eeca42e" - integrity sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ== +global-dirs@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/global-dirs/-/global-dirs-3.0.1.tgz#0c488971f066baceda21447aecb1a8b911d22485" + integrity sha512-NBcGGFbBA9s1VzD41QXDG+3++t9Mn5t1FpLdhESY6oKY4gYTFpX4wO3sqGUa0Srjtbfj3szX0RnemmrVRUdULA== dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^5.0.1" - once "^1.3.0" + ini "2.0.0" globals@^11.1.0: version "11.12.0" @@ -5980,21 +7103,7 @@ globalthis@^1.0.1: dependencies: define-properties "^1.1.3" -globby@^10.0.1: - version "10.0.2" - resolved "https://registry.yarnpkg.com/globby/-/globby-10.0.2.tgz#277593e745acaa4646c3ab411289ec47a0392543" - integrity sha512-7dUi7RvCoT/xast/o/dLN53oqND4yk0nsHkhRgn9w65C4PofCLOoJ39iSOg+qVDdWQPIEj+eszMHQ+aLVwwQSg== - dependencies: - "@types/glob" "^7.1.1" - array-union "^2.1.0" - dir-glob "^3.0.1" - fast-glob "^3.0.3" - glob "^7.1.3" - ignore "^5.1.1" - merge2 "^1.2.3" - slash "^3.0.0" - -globby@^11.0.1, globby@^11.1.0: +globby@^11.1.0: version "11.1.0" resolved "https://registry.yarnpkg.com/globby/-/globby-11.1.0.tgz#bd4be98bb042f83d796f7e3811991fbe82a0d34b" integrity sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g== @@ -6006,28 +7115,45 @@ globby@^11.0.1, globby@^11.1.0: merge2 "^1.4.1" slash "^3.0.0" -graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.5, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.4, graceful-fs@^4.2.6, graceful-fs@^4.2.9: +google-protobuf@^3.20.1: + version "3.21.2" + resolved "https://registry.yarnpkg.com/google-protobuf/-/google-protobuf-3.21.2.tgz#4580a2bea8bbb291ee579d1fefb14d6fa3070ea4" + integrity sha512-3MSOYFO5U9mPGikIYCzK0SaThypfGgS6bHqrUGXG3DPHCrb+txNqeEcns1W0lkGfk0rCyNXm7xB9rMxnCiZOoA== + +got@^9.6.0: + version "9.6.0" + resolved "https://registry.yarnpkg.com/got/-/got-9.6.0.tgz#edf45e7d67f99545705de1f7bbeeeb121765ed85" + integrity sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q== + dependencies: + "@sindresorhus/is" "^0.14.0" + "@szmarczak/http-timer" "^1.1.2" + cacheable-request "^6.0.0" + decompress-response "^3.3.0" + duplexer3 "^0.1.4" + get-stream "^4.1.0" + lowercase-keys "^1.0.1" + mimic-response "^1.0.1" + p-cancelable "^1.0.0" + to-readable-stream "^1.0.0" + url-parse-lax "^3.0.0" + +graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.4, graceful-fs@^4.2.9: version "4.2.10" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.10.tgz#147d3a006da4ca3ce14728c7aefc287c367d7a6c" integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA== -graphql-tag@^2.12.5, graphql-tag@^2.12.6: +graphql-tag@^2.12.6: version "2.12.6" resolved "https://registry.yarnpkg.com/graphql-tag/-/graphql-tag-2.12.6.tgz#d441a569c1d2537ef10ca3d1633b48725329b5f1" integrity sha512-FdSNcu2QQcWnM2VNvSCCDCVS5PpPqpzgFT8+GXzqJuoDd0CBncxCY278u4mhRO7tMgo2JjgJA5aZ+nWSQ/Z+xg== dependencies: tslib "^2.1.0" -graphql@^15.7.2, graphql@^15.8.0: +graphql@^15.8.0: version "15.8.0" resolved "https://registry.yarnpkg.com/graphql/-/graphql-15.8.0.tgz#33410e96b012fa3bdb1091cc99a94769db212b38" integrity sha512-5gghUc24tP9HRznNpV2+FIoq3xKkj5dTQqf4v0CpdPbFVwFkWoxOM+o+2OC9ZSvjEMTjfmG9QT+gcvggTwW1zw== -grouped-queue@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/grouped-queue/-/grouped-queue-2.0.0.tgz#a2c6713f2171e45db2c300a3a9d7c119d694dac8" - integrity sha512-/PiFUa7WIsl48dUeCvhIHnwNmAAzlI/eHoJl0vu3nsFA366JleY7Ff8EVTplZu5kO0MIdZjKTTnzItL61ahbnw== - has-ansi@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91" @@ -6035,11 +7161,6 @@ has-ansi@^2.0.0: dependencies: ansi-regex "^2.0.0" -has-bigints@^1.0.1, has-bigints@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/has-bigints/-/has-bigints-1.0.2.tgz#0871bd3e3d51626f6ca0966668ba35d5602d6eaa" - integrity sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ== - has-flag@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" @@ -6057,22 +7178,15 @@ has-property-descriptors@^1.0.0: dependencies: get-intrinsic "^1.1.1" -has-symbols@^1.0.2, has-symbols@^1.0.3: +has-symbols@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.3.tgz#bb7b2c4349251dce87b125f7bdf874aa7c8b39f8" integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A== -has-tostringtag@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/has-tostringtag/-/has-tostringtag-1.0.0.tgz#7e133818a7d394734f941e73c3d3f9291e658b25" - integrity sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ== - dependencies: - has-symbols "^1.0.2" - -has-unicode@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" - integrity sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ== +has-yarn@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/has-yarn/-/has-yarn-2.1.0.tgz#137e11354a7b5bf11aa5cb649cf0c6f3ff2b2e77" + integrity sha512-UqBRqi4ju7T+TqGNdqAO0PaSVGsDGJUBQvk9eUWNGRY1CFGDzYhLWoM7JQEemnlvVcv/YEmc2wNW8BC24EnUsw== has@^1.0.3: version "1.0.3" @@ -6090,7 +7204,7 @@ hash-base@^3.0.0: readable-stream "^3.6.0" safe-buffer "^5.2.0" -hash.js@1.1.7, hash.js@^1.0.0, hash.js@^1.0.3: +hash.js@1.1.7, hash.js@^1.0.0, hash.js@^1.0.3, hash.js@^1.1.5, hash.js@^1.1.7: version "1.1.7" resolved "https://registry.yarnpkg.com/hash.js/-/hash.js-1.1.7.tgz#0babca538e8d4ee4a0f8988d68866537a003cf42" integrity sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA== @@ -6098,6 +7212,13 @@ hash.js@1.1.7, hash.js@^1.0.0, hash.js@^1.0.3: inherits "^2.0.3" minimalistic-assert "^1.0.1" +hasown@^2.0.0: + version "2.0.2" + resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.2.tgz#003eaf91be7adc372e84ec59dc37252cedb80003" + integrity sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ== + dependencies: + function-bind "^1.1.2" + hast-util-is-element@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/hast-util-is-element/-/hast-util-is-element-1.1.0.tgz#3b3ed5159a2707c6137b48637fbfe068e175a425" @@ -6145,18 +7266,6 @@ hmac-drbg@^1.0.1: minimalistic-assert "^1.0.0" minimalistic-crypto-utils "^1.0.1" -hosted-git-info@^2.1.4: - version "2.8.9" - resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.9.tgz#dffc0bf9a21c02209090f2aa69429e1414daf3f9" - integrity sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw== - -hosted-git-info@^4.0.1: - version "4.1.0" - resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-4.1.0.tgz#827b82867e9ff1c8d0c4d9d53880397d2c86d224" - integrity sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA== - dependencies: - lru-cache "^6.0.0" - html-escaper@^2.0.0: version "2.0.2" resolved "https://registry.yarnpkg.com/html-escaper/-/html-escaper-2.0.2.tgz#dfd60027da36a36dfcbe236262c00a5822681453" @@ -6167,22 +7276,10 @@ html-void-elements@^1.0.0: resolved "https://registry.yarnpkg.com/html-void-elements/-/html-void-elements-1.0.5.tgz#ce9159494e86d95e45795b166c2021c2cfca4483" integrity sha512-uE/TxKuyNIcx44cIWnjr/rfIATDH7ZaOMmstu0CwhFG1Dunhlp4OC6/NMbhiwoq5BpW0ubi303qnEk/PZj614w== -http-cache-semantics@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz#49e91c5cbf36c9b94bcfcd71c23d5249ec74e390" - integrity sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ== - -http-call@^5.1.2, http-call@^5.2.2: - version "5.3.0" - resolved "https://registry.yarnpkg.com/http-call/-/http-call-5.3.0.tgz#4ded815b13f423de176eb0942d69c43b25b148db" - integrity sha512-ahwimsC23ICE4kPl9xTBjKB4inbRaeLyZeRunC/1Jy/Z6X8tv22MEAjK+KBOMSVLaqXPTTmd8638waVIKLGx2w== - dependencies: - content-type "^1.0.4" - debug "^4.1.1" - is-retry-allowed "^1.1.0" - is-stream "^2.0.0" - parse-json "^4.0.0" - tunnel-agent "^0.6.0" +http-cache-semantics@^4.0.0: + version "4.1.1" + resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz#abe02fcb2985460bf0323be664436ec3476a6d5a" + integrity sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ== http-errors@^1.7.2: version "1.8.1" @@ -6195,50 +7292,27 @@ http-errors@^1.7.2: statuses ">= 1.5.0 < 2" toidentifier "1.0.1" -http-proxy-agent@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz#8a8c8ef7f5932ccf953c296ca8291b95aa74aa3a" - integrity sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg== - dependencies: - "@tootallnate/once" "1" - agent-base "6" - debug "4" - -http-proxy-agent@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz#5129800203520d434f142bc78ff3c170800f2b43" - integrity sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w== - dependencies: - "@tootallnate/once" "2" - agent-base "6" - debug "4" - -https-proxy-agent@^5.0.0: - version "5.0.1" - resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz#c59ef224a04fe8b754f3db0063a25ea30d0005d6" - integrity sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA== - dependencies: - agent-base "6" - debug "4" - human-signals@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0" integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== -humanize-ms@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/humanize-ms/-/humanize-ms-1.2.1.tgz#c46e3159a293f6b896da29316d8b6fe8bb79bbed" - integrity sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ== - dependencies: - ms "^2.0.0" +human-signals@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-5.0.0.tgz#42665a284f9ae0dade3ba41ebc37eb4b852f3a28" + integrity sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ== + +husky@^8.0.3: + version "8.0.3" + resolved "https://registry.yarnpkg.com/husky/-/husky-8.0.3.tgz#4936d7212e46d1dea28fef29bb3a108872cd9184" + integrity sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg== hyperlinker@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/hyperlinker/-/hyperlinker-1.0.0.tgz#23dc9e38a206b208ee49bc2d6c8ef47027df0c0e" integrity sha512-Ty8UblRWFEcfSuIaajM34LdPXIhbs1ajEX/BBPv24J+enSVaEVY63xQ6lTO9VRYS5LAoghIG0IDJ+p+IPzKUQQ== -iconv-lite@^0.4.24: +iconv-lite@^0.4.17, iconv-lite@^0.4.24: version "0.4.24" resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA== @@ -6252,28 +7326,21 @@ iconv-lite@^0.6.2: dependencies: safer-buffer ">= 2.1.2 < 3.0.0" -ieee754@1.1.13: - version "1.1.13" - resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.1.13.tgz#ec168558e95aa181fd87d37f55c32bbcb6708b84" - integrity sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg== - -ieee754@^1.1.13, ieee754@^1.1.4, ieee754@^1.2.1: +ieee754@^1.1.13, ieee754@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== -ignore-walk@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/ignore-walk/-/ignore-walk-4.0.1.tgz#fc840e8346cf88a3a9380c5b17933cd8f4d39fa3" - integrity sha512-rzDQLaW4jQbh2YrOFlJdCtX8qgJTehFRYiUB2r1osqTeDzV/3+Jh8fz1oAPzUThf3iku8Ds4IDqawI5d8mUiQw== - dependencies: - minimatch "^3.0.4" - -ignore@^5.1.1, ignore@^5.2.0: +ignore@^5.2.0: version "5.2.0" resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.0.tgz#6d3bac8fa7fe0d45d9f9be7bac2fc279577e345a" integrity sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ== +import-lazy@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/import-lazy/-/import-lazy-2.1.0.tgz#05698e3d45c88e8d7e9d92cb0584e77f096f3e43" + integrity sha512-m7ZEHgtw69qOGw+jwxXkHlrlIPdTGkyh66zXZ1ajZbxkDBNjSY/LGbmjc7h0s2ELsUDTAhFr55TrPSSqJGPG0A== + import-local@^3.0.2: version "3.1.0" resolved "https://registry.yarnpkg.com/import-local/-/import-local-3.1.0.tgz#b4479df8a5fd44f6cdce24070675676063c95cb4" @@ -6292,11 +7359,6 @@ indent-string@^4.0.0: resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-4.0.0.tgz#624f8f4497d619b2d9768531d58f4122854d7251" integrity sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg== -infer-owner@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/infer-owner/-/infer-owner-1.0.4.tgz#c4cefcaa8e51051c2a40ba2ce8a3d27295af9467" - integrity sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A== - inflection@^1.13.2: version "1.13.2" resolved "https://registry.yarnpkg.com/inflection/-/inflection-1.13.2.tgz#15e8c797c6c3dadf31aa658f8df8a4ea024798b0" @@ -6310,11 +7372,39 @@ inflight@^1.0.4: once "^1.3.0" wrappy "1" -inherits@2, inherits@2.0.4, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.3: +inherits@2, inherits@2.0.4, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4: version "2.0.4" resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== +inherits@2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" + integrity sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw== + +ini@2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/ini/-/ini-2.0.0.tgz#e5fd556ecdd5726be978fa1001862eacb0a94bc5" + integrity sha512-7PnF4oN3CvZF23ADhA5wRaYEQpJ8qygSkbtTXWBeXWXmEVRXK+1ITciHWwHhsjv1TmW0MgacIv6hEi5pX5NQdA== + +ini@~1.3.0: + version "1.3.8" + resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.8.tgz#a29da425b48806f34767a4efce397269af28432c" + integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew== + +inquirer-autocomplete-prompt@^0.11.1: + version "0.11.1" + resolved "https://registry.yarnpkg.com/inquirer-autocomplete-prompt/-/inquirer-autocomplete-prompt-0.11.1.tgz#f90ca9510a4c489882e9be294934bd8c2e575e09" + integrity sha512-VM4eNiyRD4CeUc2cyKni+F8qgHwL9WC4LdOr+mEC85qP/QNsDV+ysVqUrJYhw1TmDQu1QVhc8hbaL7wfk8SJxw== + dependencies: + ansi-escapes "^2.0.0" + chalk "^1.1.3" + figures "^2.0.0" + inquirer "3.1.1" + lodash "^4.17.4" + run-async "^2.3.0" + util "^0.10.3" + inquirer-autocomplete-prompt@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/inquirer-autocomplete-prompt/-/inquirer-autocomplete-prompt-1.4.0.tgz#e767592f747e3d5bb6336fe71fb4094352e4c317" @@ -6326,7 +7416,46 @@ inquirer-autocomplete-prompt@^1.4.0: run-async "^2.4.0" rxjs "^6.6.2" -inquirer@^8.0.0, inquirer@^8.2.0: +inquirer@3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-3.1.1.tgz#87621c4fba4072f48a8dd71c9f9df6f100b2d534" + integrity sha512-H50sHQwgvvaTBd3HpKMVtL/u6LoHDvYym51gd7bGQe/+9HkCE+J0/3N5FJLfd6O6oz44hHewC2Pc2LodzWVafQ== + dependencies: + ansi-escapes "^2.0.0" + chalk "^1.0.0" + cli-cursor "^2.1.0" + cli-width "^2.0.0" + external-editor "^2.0.4" + figures "^2.0.0" + lodash "^4.3.0" + mute-stream "0.0.7" + run-async "^2.2.0" + rx-lite "^4.0.8" + rx-lite-aggregates "^4.0.8" + string-width "^2.0.0" + strip-ansi "^3.0.0" + through "^2.3.6" + +inquirer@^6.0.0: + version "6.5.2" + resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-6.5.2.tgz#ad50942375d036d327ff528c08bd5fab089928ca" + integrity sha512-cntlB5ghuB0iuO65Ovoi8ogLHiWGs/5yNrtUcKjFhSSiVeAIVpD7koaSU9RM8mpXw5YDi9RdYXGQMaOURB7ycQ== + dependencies: + ansi-escapes "^3.2.0" + chalk "^2.4.2" + cli-cursor "^2.1.0" + cli-width "^2.0.0" + external-editor "^3.0.3" + figures "^2.0.0" + lodash "^4.17.12" + mute-stream "0.0.7" + run-async "^2.2.0" + rxjs "^6.4.0" + string-width "^2.1.0" + strip-ansi "^5.1.0" + through "^2.3.6" + +inquirer@^8.2.0: version "8.2.4" resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-8.2.4.tgz#ddbfe86ca2f67649a67daa6f1051c128f684f0b4" integrity sha512-nn4F01dxU8VeKfq192IjLsxu0/OmMZ4Lg3xKAns148rCaXP6ntAoEkVYZThWjwON8AlzdZZi6oqnhNbxUG9hVg== @@ -6347,6 +7476,15 @@ inquirer@^8.0.0, inquirer@^8.2.0: through "^2.3.6" wrap-ansi "^7.0.0" +inquirerer@0.1.3: + version "0.1.3" + resolved "https://registry.yarnpkg.com/inquirerer/-/inquirerer-0.1.3.tgz#ecf91dc672b3bf45211d7f64bf5e8d5e171fd2ad" + integrity sha512-yGgLUOqPxTsINBjZNZeLi3cv2zgxXtw9feaAOSJf2j6AqIT5Uxs5ZOqOrfAf+xP65Sicla1FD3iDxa3D6TsCAQ== + dependencies: + colors "^1.1.2" + inquirer "^6.0.0" + inquirer-autocomplete-prompt "^0.11.1" + interface-datastore@^5.2.0: version "5.2.0" resolved "https://registry.yarnpkg.com/interface-datastore/-/interface-datastore-5.2.0.tgz#9341b13a8babbfb23961ca7c732c0263f85e5007" @@ -6362,19 +7500,24 @@ interface-datastore@^5.2.0: nanoid "^3.0.2" uint8arrays "^3.0.0" +interface-datastore@^6.0.2: + version "6.1.1" + resolved "https://registry.yarnpkg.com/interface-datastore/-/interface-datastore-6.1.1.tgz#5150a00de2e7513eaadba58bcafd059cb50004c1" + integrity sha512-AmCS+9CT34pp2u0QQVXjKztkuq3y5T+BIciuiHDDtDZucZD8VudosnSdUyXJV6IsRkN5jc4RFDhCk1O6Q3Gxjg== + dependencies: + interface-store "^2.0.2" + nanoid "^3.0.2" + uint8arrays "^3.0.0" + interface-store@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/interface-store/-/interface-store-1.0.2.tgz#1ebd6cbbae387039a3a2de0cae665da52474800f" integrity sha512-rUBLYsgoWwxuUpnQoSUr+DR/3dH3reVeIu5aOHFZK31lAexmb++kR6ZECNRgrx6WvoaM3Akdo0A7TDrqgCzZaQ== -internal-slot@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/internal-slot/-/internal-slot-1.0.3.tgz#7347e307deeea2faac2ac6205d4bc7d34967f59c" - integrity sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA== - dependencies: - get-intrinsic "^1.1.0" - has "^1.0.3" - side-channel "^1.0.4" +interface-store@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/interface-store/-/interface-store-2.0.2.tgz#83175fd2b0c501585ed96db54bb8ba9d55fce34c" + integrity sha512-rScRlhDcz6k199EkHqT8NpM87ebN89ICOzILoBHgaG36/WX50N32BnU/kpZgCGPLhARRAWUUX5/cyaIjt7Kipg== interpret@^1.0.0: version "1.4.0" @@ -6386,10 +7529,16 @@ ip-regex@^4.0.0, ip-regex@^4.3.0: resolved "https://registry.yarnpkg.com/ip-regex/-/ip-regex-4.3.0.tgz#687275ab0f57fa76978ff8f4dddc8a23d5990db5" integrity sha512-B9ZWJxHHOHUhUjCPrMpLD4xEq35bUTClHM1S6CBU5ixQnkZmwipwgc96vAd7AAGM9TGHvJR+Uss+/Ak6UphK+Q== -ip@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/ip/-/ip-2.0.0.tgz#4cf4ab182fee2314c75ede1276f8c80b479936da" - integrity sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ== +ipfs-core-types@^0.10.3: + version "0.10.3" + resolved "https://registry.yarnpkg.com/ipfs-core-types/-/ipfs-core-types-0.10.3.tgz#89ebe98199d4d829f2b20104bfa3299f808c80fe" + integrity sha512-GNid2lRBjR5qgScCglgk7w9Hk3TZAwPHQXxOLQx72wgyc0jF2U5NXRoKW0GRvX8NPbHmsrFszForIqxd23I1Gw== + dependencies: + "@ipld/dag-pb" "^2.1.3" + interface-datastore "^6.0.2" + ipfs-unixfs "^6.0.3" + multiaddr "^10.0.0" + multiformats "^9.5.1" ipfs-core-types@^0.7.3: version "0.7.3" @@ -6422,6 +7571,56 @@ ipfs-core-utils@^0.10.5: timeout-abort-controller "^1.1.1" uint8arrays "^3.0.0" +ipfs-core-utils@^0.14.3: + version "0.14.3" + resolved "https://registry.yarnpkg.com/ipfs-core-utils/-/ipfs-core-utils-0.14.3.tgz#d04c631c472507bdefc58d4e8d1d9109efbb411c" + integrity sha512-aBkewVhgAj3NWXPwu6imj0wADGiGVZmJzqKzODOJsibDjkx6FGdMv8kvvqtLnK8LS/dvSk9yk32IDtuDyYoV7Q== + dependencies: + any-signal "^3.0.0" + blob-to-it "^1.0.1" + browser-readablestream-to-it "^1.0.1" + debug "^4.1.1" + err-code "^3.0.1" + ipfs-core-types "^0.10.3" + ipfs-unixfs "^6.0.3" + ipfs-utils "^9.0.6" + it-all "^1.0.4" + it-map "^1.0.4" + it-peekable "^1.0.2" + it-to-stream "^1.0.0" + merge-options "^3.0.4" + multiaddr "^10.0.0" + multiaddr-to-uri "^8.0.0" + multiformats "^9.5.1" + nanoid "^3.1.23" + parse-duration "^1.0.0" + timeout-abort-controller "^3.0.0" + uint8arrays "^3.0.0" + +ipfs-http-client@56: + version "56.0.3" + resolved "https://registry.yarnpkg.com/ipfs-http-client/-/ipfs-http-client-56.0.3.tgz#45bbea55347ef13524769d5919cbed84d9d022d6" + integrity sha512-E3L5ylVl6BjyRUsNehvfuRBYp1hj8vQ8in4zskVPMNzXs6JiCFUbif5a6BtcAlSK4xPQyJCeLNNAWLUeFQTLNA== + dependencies: + "@ipld/dag-cbor" "^7.0.0" + "@ipld/dag-json" "^8.0.1" + "@ipld/dag-pb" "^2.1.3" + any-signal "^3.0.0" + dag-jose "^1.0.0" + debug "^4.1.1" + err-code "^3.0.1" + ipfs-core-types "^0.10.3" + ipfs-core-utils "^0.14.3" + ipfs-utils "^9.0.6" + it-first "^1.0.6" + it-last "^1.0.4" + merge-options "^3.0.4" + multiaddr "^10.0.0" + multiformats "^9.5.1" + parse-duration "^1.0.0" + stream-to-it "^0.2.2" + uint8arrays "^3.0.0" + ipfs-http-client@^52.0.3: version "52.0.5" resolved "https://registry.yarnpkg.com/ipfs-http-client/-/ipfs-http-client-52.0.5.tgz#df11e3ddcf21f681d5bc664154b823605d4c2800" @@ -6479,6 +7678,28 @@ ipfs-utils@^8.1.2, ipfs-utils@^8.1.4: react-native-fetch-api "^2.0.0" stream-to-it "^0.2.2" +ipfs-utils@^9.0.6: + version "9.0.14" + resolved "https://registry.yarnpkg.com/ipfs-utils/-/ipfs-utils-9.0.14.tgz#24f5fda1f4567685eb32bca2543d518f95fd8704" + integrity sha512-zIaiEGX18QATxgaS0/EOQNoo33W0islREABAcxXE8n7y2MGAlB+hdsxXn4J0hGZge8IqVQhW8sWIb+oJz2yEvg== + dependencies: + any-signal "^3.0.0" + browser-readablestream-to-it "^1.0.0" + buffer "^6.0.1" + electron-fetch "^1.7.2" + err-code "^3.0.1" + is-electron "^2.2.0" + iso-url "^1.1.5" + it-all "^1.0.4" + it-glob "^1.0.1" + it-to-stream "^1.0.0" + merge-options "^3.0.4" + nanoid "^3.1.20" + native-fetch "^3.0.0" + node-fetch "^2.6.8" + react-native-fetch-api "^3.0.0" + stream-to-it "^0.2.2" + is-alphabetical@^1.0.0: version "1.0.4" resolved "https://registry.yarnpkg.com/is-alphabetical/-/is-alphabetical-1.0.4.tgz#9e7d6b94916be22153745d184c298cbf986a686d" @@ -6492,43 +7713,22 @@ is-alphanumerical@^1.0.0: is-alphabetical "^1.0.0" is-decimal "^1.0.0" -is-arguments@^1.0.4: - version "1.1.1" - resolved "https://registry.yarnpkg.com/is-arguments/-/is-arguments-1.1.1.tgz#15b3f88fda01f2a97fec84ca761a560f123efa9b" - integrity sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA== - dependencies: - call-bind "^1.0.2" - has-tostringtag "^1.0.0" - is-arrayish@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" integrity sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg== -is-bigint@^1.0.1: - version "1.0.4" - resolved "https://registry.yarnpkg.com/is-bigint/-/is-bigint-1.0.4.tgz#08147a1875bc2b32005d41ccd8291dffc6691df3" - integrity sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg== - dependencies: - has-bigints "^1.0.1" - -is-boolean-object@^1.1.0: - version "1.1.2" - resolved "https://registry.yarnpkg.com/is-boolean-object/-/is-boolean-object-1.1.2.tgz#5c6dc200246dd9321ae4b885a114bb1f75f63719" - integrity sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA== - dependencies: - call-bind "^1.0.2" - has-tostringtag "^1.0.0" - is-buffer@^2.0.0: version "2.0.5" resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-2.0.5.tgz#ebc252e400d22ff8d77fa09888821a24a658c191" integrity sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ== -is-callable@^1.1.3, is-callable@^1.1.4, is-callable@^1.2.4: - version "1.2.5" - resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.5.tgz#6123e0b1fef5d7591514b371bb018204892f1a2b" - integrity sha512-ZIWRujF6MvYGkEuHMYtFRkL2wAtFw89EHfKlXrkPkjQZZRWeh9L1q3SV13NIfHnqxugjLvAOkEHx9mb1zcMnEw== +is-ci@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-2.0.0.tgz#6bc6334181810e04b5c22b3d589fdca55026404c" + integrity sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w== + dependencies: + ci-info "^2.0.0" is-core-module@^2.11.0: version "2.12.1" @@ -6537,20 +7737,20 @@ is-core-module@^2.11.0: dependencies: has "^1.0.3" -is-core-module@^2.5.0, is-core-module@^2.9.0: +is-core-module@^2.13.0: + version "2.13.1" + resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.13.1.tgz#ad0d7532c6fea9da1ebdc82742d74525c6273384" + integrity sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw== + dependencies: + hasown "^2.0.0" + +is-core-module@^2.9.0: version "2.10.0" resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.10.0.tgz#9012ede0a91c69587e647514e1d5277019e728ed" integrity sha512-Erxj2n/LDAZ7H8WNJXd9tw38GYM3dv8rk8Zcs+jJuxYTW7sozH+SS8NtrSjVL1/vpLvWi1hxy96IzjJ3EHTJJg== dependencies: has "^1.0.3" -is-date-object@^1.0.1: - version "1.0.5" - resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.5.tgz#0841d5536e724c25597bf6ea62e1bd38298df31f" - integrity sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ== - dependencies: - has-tostringtag "^1.0.0" - is-decimal@^1.0.0: version "1.0.4" resolved "https://registry.yarnpkg.com/is-decimal/-/is-decimal-1.0.4.tgz#65a3a5958a1c5b63a706e1b333d7cd9f630d3fa5" @@ -6571,13 +7771,6 @@ is-extglob@^2.1.1: resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ== -is-fullwidth-code-point@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz#ef9e31386f031a7f0d643af82fde50c457ef00cb" - integrity sha512-1pqUqRjkhPJ9miNq9SwMfdvi6lBJcd6eFxvfaivQhaH3SgisfiuudvFntdKOmxuee/77l+FPjKrQjWvmPjWrRw== - dependencies: - number-is-nan "^1.0.0" - is-fullwidth-code-point@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f" @@ -6588,19 +7781,24 @@ is-fullwidth-code-point@^3.0.0: resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== +is-fullwidth-code-point@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-4.0.0.tgz#fae3167c729e7463f8461ce512b080a49268aa88" + integrity sha512-O4L094N2/dZ7xqVdrXhh9r1KODPJpFms8B5sGdJLPy664AgvXsreZUyCQQNItZRDlYug4xStLjNp/sz3HvBowQ== + +is-fullwidth-code-point@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-5.0.0.tgz#9609efced7c2f97da7b60145ef481c787c7ba704" + integrity sha512-OVa3u9kkBbw7b8Xw5F9P+D/T9X+Z4+JruYVNapTjPYZYUznQ5YfWeFkOj606XYYW8yugTfC8Pj0hYqvi4ryAhA== + dependencies: + get-east-asian-width "^1.0.0" + is-generator-fn@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/is-generator-fn/-/is-generator-fn-2.1.0.tgz#7d140adc389aaf3011a8f2a2a4cfa6faadffb118" integrity sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ== -is-generator-function@^1.0.7: - version "1.0.10" - resolved "https://registry.yarnpkg.com/is-generator-function/-/is-generator-function-1.0.10.tgz#f1558baf1ac17e0deea7c0415c438351ff2b3c72" - integrity sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A== - dependencies: - has-tostringtag "^1.0.0" - -is-glob@^4.0.1: +is-glob@^4.0.1, is-glob@^4.0.3: version "4.0.3" resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084" integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== @@ -6612,6 +7810,14 @@ is-hexadecimal@^1.0.0: resolved "https://registry.yarnpkg.com/is-hexadecimal/-/is-hexadecimal-1.0.4.tgz#cc35c97588da4bd49a8eedd6bc4082d44dcb23a7" integrity sha512-gyPJuv83bHMpocVYoqof5VDiZveEoGoFL8m3BXNb2VW8Xs+rz9kqO8LOQ5DH6EsuvilT1ApazU0pyl+ytbPtlw== +is-installed-globally@^0.4.0: + version "0.4.0" + resolved "https://registry.yarnpkg.com/is-installed-globally/-/is-installed-globally-0.4.0.tgz#9a0fd407949c30f86eb6959ef1b7994ed0b7b520" + integrity sha512-iwGqO3J21aaSkC7jWnHP/difazwS7SFeIqxv6wEtLU8Y5KlzFTjyqcSIT0d8s4+dDhKytsk9PJZ2BkS5eZwQRQ== + dependencies: + global-dirs "^3.0.0" + is-path-inside "^3.0.2" + is-interactive@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/is-interactive/-/is-interactive-1.0.0.tgz#cea6e6ae5c870a7b0a0004070b7b587e0252912e" @@ -6624,106 +7830,52 @@ is-ip@^3.1.0: dependencies: ip-regex "^4.0.0" -is-lambda@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-lambda/-/is-lambda-1.0.1.tgz#3d9877899e6a53efc0160504cde15f82e6f061d5" - integrity sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ== - -is-negative-zero@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/is-negative-zero/-/is-negative-zero-2.0.2.tgz#7bf6f03a28003b8b3965de3ac26f664d765f3150" - integrity sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA== - -is-number-object@^1.0.4: - version "1.0.7" - resolved "https://registry.yarnpkg.com/is-number-object/-/is-number-object-1.0.7.tgz#59d50ada4c45251784e9904f5246c742f07a42fc" - integrity sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ== - dependencies: - has-tostringtag "^1.0.0" +is-npm@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/is-npm/-/is-npm-5.0.0.tgz#43e8d65cc56e1b67f8d47262cf667099193f45a8" + integrity sha512-WW/rQLOazUq+ST/bCAVBp/2oMERWLsR7OrKyt052dNDk4DHcDE0/7QSXITlmi+VBcV13DfIbysG3tZJm5RfdBA== is-number@^7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== -is-plain-obj@^2.0.0, is-plain-obj@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-2.1.0.tgz#45e42e37fccf1f40da8e5f76ee21515840c09287" - integrity sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA== - -is-plain-object@^2.0.4: - version "2.0.4" - resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-2.0.4.tgz#2c163b3fafb1b606d9d17928f05c2a1c38e07677" - integrity sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og== - dependencies: - isobject "^3.0.1" - -is-plain-object@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-5.0.0.tgz#4427f50ab3429e9025ea7d52e9043a9ef4159344" - integrity sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q== - -is-regex@^1.1.4: - version "1.1.4" - resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.1.4.tgz#eef5663cd59fa4c0ae339505323df6854bb15958" - integrity sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg== - dependencies: - call-bind "^1.0.2" - has-tostringtag "^1.0.0" +is-obj@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/is-obj/-/is-obj-2.0.0.tgz#473fb05d973705e3fd9620545018ca8e22ef4982" + integrity sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w== -is-retry-allowed@^1.1.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/is-retry-allowed/-/is-retry-allowed-1.2.0.tgz#d778488bd0a4666a3be8a1482b9f2baafedea8b4" - integrity sha512-RUbUeKwvm3XG2VYamhJL1xFktgjvPzL0Hq8C+6yrWIswDy3BIXGqCxhxkc30N9jqK311gVU137K8Ei55/zVJRg== +is-path-inside@^3.0.2: + version "3.0.3" + resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-3.0.3.tgz#d231362e53a07ff2b0e0ea7fed049161ffd16283" + integrity sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ== -is-scoped@^2.1.0: +is-plain-obj@^2.0.0, is-plain-obj@^2.1.0: version "2.1.0" - resolved "https://registry.yarnpkg.com/is-scoped/-/is-scoped-2.1.0.tgz#fef0713772658bdf5bee418608267ddae6d3566d" - integrity sha512-Cv4OpPTHAK9kHYzkzCrof3VJh7H/PrG2MBUMvvJebaaUMbqhm0YAtXnvh0I3Hnj2tMZWwrRROWLSgfJrKqWmlQ== - dependencies: - scoped-regex "^2.0.0" + resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-2.1.0.tgz#45e42e37fccf1f40da8e5f76ee21515840c09287" + integrity sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA== -is-shared-array-buffer@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz#8f259c573b60b6a32d4058a1a07430c0a7344c79" - integrity sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA== +is-plain-object@^2.0.4: + version "2.0.4" + resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-2.0.4.tgz#2c163b3fafb1b606d9d17928f05c2a1c38e07677" + integrity sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og== dependencies: - call-bind "^1.0.2" + isobject "^3.0.1" -is-stream@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" - integrity sha512-uQPm8kcs47jx38atAcWTVxyltQYoPT68y9aWYdV6yWXSyW8mzSat0TL6CiWdZeCdF3KrAvpVtnHbTv4RN+rqdQ== +is-promise@^2.2.2: + version "2.2.2" + resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-2.2.2.tgz#39ab959ccbf9a774cf079f7b40c7a26f763135f1" + integrity sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ== is-stream@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-2.0.1.tgz#fac1e3d53b97ad5a9d0ae9cef2389f5810a5c077" integrity sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg== -is-string@^1.0.5, is-string@^1.0.7: - version "1.0.7" - resolved "https://registry.yarnpkg.com/is-string/-/is-string-1.0.7.tgz#0dd12bf2006f255bb58f695110eff7491eebc0fd" - integrity sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg== - dependencies: - has-tostringtag "^1.0.0" - -is-symbol@^1.0.2, is-symbol@^1.0.3: - version "1.0.4" - resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.4.tgz#a6dac93b635b063ca6872236de88910a57af139c" - integrity sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg== - dependencies: - has-symbols "^1.0.2" - -is-typed-array@^1.1.3, is-typed-array@^1.1.9: - version "1.1.9" - resolved "https://registry.yarnpkg.com/is-typed-array/-/is-typed-array-1.1.9.tgz#246d77d2871e7d9f5aeb1d54b9f52c71329ece67" - integrity sha512-kfrlnTTn8pZkfpJMUgYD7YZ3qzeJgWUn8XfVYBARc4wnmNOmLbmuuaAs3q5fvB0UJOn6yHAKaGTPM7d6ezoD/A== - dependencies: - available-typed-arrays "^1.0.5" - call-bind "^1.0.2" - es-abstract "^1.20.0" - for-each "^0.3.3" - has-tostringtag "^1.0.0" +is-stream@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-3.0.0.tgz#e6bfd7aa6bef69f4f472ce9bb681e3e57b4319ac" + integrity sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA== is-typedarray@^1.0.0: version "1.0.0" @@ -6735,40 +7887,28 @@ is-unicode-supported@^0.1.0: resolved "https://registry.yarnpkg.com/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz#3f26c76a809593b52bfa2ecb5710ed2779b522a7" integrity sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw== -is-utf8@^0.2.0, is-utf8@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/is-utf8/-/is-utf8-0.2.1.tgz#4b0da1442104d1b336340e80797e865cf39f7d72" - integrity sha512-rMYPYvCzsXywIsldgLaSoPlw5PfoB/ssr7hY4pLfcodrA5M/eArza1a9VmTiNIBNMjOGr1Ow9mTyU2o69U6U9Q== - -is-weakref@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-weakref/-/is-weakref-1.0.2.tgz#9529f383a9338205e89765e0392efc2f100f06f2" - integrity sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ== - dependencies: - call-bind "^1.0.2" - -is-wsl@^2.1.1, is-wsl@^2.2.0: +is-wsl@^2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-2.2.0.tgz#74a4c76e77ca9fd3f932f290c17ea326cd157271" integrity sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww== dependencies: is-docker "^2.0.0" -isarray@^1.0.0, isarray@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" - integrity sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ== - -isbinaryfile@^4.0.10, isbinaryfile@^4.0.8: - version "4.0.10" - resolved "https://registry.yarnpkg.com/isbinaryfile/-/isbinaryfile-4.0.10.tgz#0c5b5e30c2557a2f06febd37b7322946aaee42b3" - integrity sha512-iHrqe5shvBUcFbmZq9zOQHBoeOhZJu6RQGrDpBgenUm/Am+F3JM2MgQj+rK3Z601fzrL5gLZWtAPH2OBaSVcyw== +is-yarn-global@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/is-yarn-global/-/is-yarn-global-0.3.0.tgz#d502d3382590ea3004893746754c89139973e232" + integrity sha512-VjSeb/lHmkoyd8ryPVIKvOCn4D1koMqY+vqyjjUfc3xyKtP4dYOxM44sZrnqQSzSds3xyOrUTLTC9LVCVgLngw== isexe@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw== +iso-3166-1@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/iso-3166-1/-/iso-3166-1-2.1.1.tgz#79b80d2aebc3c9528d792bdbb8316c912fe37c68" + integrity sha512-RZxXf8cw5Y8LyHZIwIRvKw8sWTIHh2/txBT+ehO0QroesVfnz3JNFFX4i/OC/Yuv2bDIVYrHna5PMvjtpefq5w== + iso-url@^1.1.5: version "1.2.1" resolved "https://registry.yarnpkg.com/iso-url/-/iso-url-1.2.1.tgz#db96a49d8d9a64a1c889fc07cc525d093afb1811" @@ -6846,6 +7986,14 @@ it-first@^1.0.6: resolved "https://registry.yarnpkg.com/it-first/-/it-first-1.0.7.tgz#a4bef40da8be21667f7d23e44dae652f5ccd7ab1" integrity sha512-nvJKZoBpZD/6Rtde6FXqwDqDZGF1sCADmr2Zoc0hZsIvnE449gRFnGctxDf09Bzc/FWnHXAdaHVIetY6lrE0/g== +it-glob@^1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/it-glob/-/it-glob-1.0.2.tgz#bab9b04d6aaac42884502f3a0bfee84c7a29e15e" + integrity sha512-Ch2Dzhw4URfB9L/0ZHyY+uqOnKvBNeS/SMcRiPmJfpHiM0TsUZn+GkpcZxAoF3dJVdPm/PuIk3A4wlV7SUo23Q== + dependencies: + "@types/minimatch" "^3.0.4" + minimatch "^3.0.4" + it-glob@~0.0.11: version "0.0.14" resolved "https://registry.yarnpkg.com/it-glob/-/it-glob-0.0.14.tgz#24f5e7fa48f9698ce7dd410355f327470c91eb90" @@ -6886,6 +8034,15 @@ it-to-stream@^1.0.0: p-fifo "^1.0.0" readable-stream "^3.6.0" +jackspeak@^3.1.2: + version "3.4.0" + resolved "https://registry.yarnpkg.com/jackspeak/-/jackspeak-3.4.0.tgz#a75763ff36ad778ede6a156d8ee8b124de445b4a" + integrity sha512-JVYhQnN59LVPFCEcVa2C3CrEKYacvjRfqIQl+h8oi91aLYQVWRYbxjPcv1bUiUy/kLmQaANrYfNMCO3kuEDHfw== + dependencies: + "@isaacs/cliui" "^8.0.2" + optionalDependencies: + "@pkgjs/parseargs" "^0.11.0" + jake@^10.8.5: version "10.8.5" resolved "https://registry.yarnpkg.com/jake/-/jake-10.8.5.tgz#f2183d2c59382cb274226034543b9c03b8164c46" @@ -7021,6 +8178,25 @@ jest-get-type@^29.4.3: resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-29.4.3.tgz#1ab7a5207c995161100b5187159ca82dd48b3dd5" integrity sha512-J5Xez4nRRMjk8emnTpWrlkyb9pfRQQanDrvWHhsR1+VUfbwxi30eVcZFlcdGInRibU4G5LwHXpI7IRHU0CY+gg== +jest-haste-map@^28.1.3: + version "28.1.3" + resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-28.1.3.tgz#abd5451129a38d9841049644f34b034308944e2b" + integrity sha512-3S+RQWDXccXDKSWnkHa/dPwt+2qwA8CJzR61w3FoYCvoo3Pn8tvGcysmMF0Bj0EX5RYvAI2EIvC57OmotfdtKA== + dependencies: + "@jest/types" "^28.1.3" + "@types/graceful-fs" "^4.1.3" + "@types/node" "*" + anymatch "^3.0.3" + fb-watchman "^2.0.0" + graceful-fs "^4.2.9" + jest-regex-util "^28.0.2" + jest-util "^28.1.3" + jest-worker "^28.1.3" + micromatch "^4.0.4" + walker "^1.0.8" + optionalDependencies: + fsevents "^2.3.2" + jest-haste-map@^29.6.2: version "29.6.2" resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-29.6.2.tgz#298c25ea5255cfad8b723179d4295cf3a50a70d1" @@ -7087,6 +8263,11 @@ jest-pnp-resolver@^1.2.2: resolved "https://registry.yarnpkg.com/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz#930b1546164d4ad5937d5540e711d4d38d4cad2e" integrity sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w== +jest-regex-util@^28.0.2: + version "28.0.2" + resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-28.0.2.tgz#afdc377a3b25fb6e80825adcf76c854e5bf47ead" + integrity sha512-4s0IgyNIy0y9FK+cjoVYoxamT7Zeo7MhzqRGx7YDYmaQn1wucY9rotiGkBzzcMXTtjrCAP/f7f+E0F7+fxPNdw== + jest-regex-util@^29.4.3: version "29.4.3" resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-29.4.3.tgz#a42616141e0cae052cfa32c169945d00c0aa0bb8" @@ -7196,6 +8377,18 @@ jest-snapshot@^29.6.2: pretty-format "^29.6.2" semver "^7.5.3" +jest-util@^28.1.3: + version "28.1.3" + resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-28.1.3.tgz#f4f932aa0074f0679943220ff9cbba7e497028b0" + integrity sha512-XdqfpHwpcSRko/C35uLYFM2emRAltIIKZiJ9eAmhjsj0CqZMa0p1ib0R5fWIqGhn1a103DebTbpqIaP1qCQ6tQ== + dependencies: + "@jest/types" "^28.1.3" + "@types/node" "*" + chalk "^4.0.0" + ci-info "^3.2.0" + graceful-fs "^4.2.9" + picomatch "^2.2.3" + jest-util@^29.0.0, jest-util@^29.6.2: version "29.6.2" resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-29.6.2.tgz#8a052df8fff2eebe446769fd88814521a517664d" @@ -7243,6 +8436,15 @@ jest-worker@^27.4.5: merge-stream "^2.0.0" supports-color "^8.0.0" +jest-worker@^28.1.3: + version "28.1.3" + resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-28.1.3.tgz#7e3c4ce3fa23d1bb6accb169e7f396f98ed4bb98" + integrity sha512-CqRA220YV/6jCo8VWvAt1KKx6eek1VIHMPeLEbpcfSfkEeWyBNppynM/o6q+Wmw+sOhos2ml34wZbSX3G13//g== + dependencies: + "@types/node" "*" + merge-stream "^2.0.0" + supports-color "^8.0.0" + jest-worker@^29.6.2: version "29.6.2" resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-29.6.2.tgz#682fbc4b6856ad0aa122a5403c6d048b83f3fb44" @@ -7263,11 +8465,6 @@ jest@^29.5.0: import-local "^3.0.2" jest-cli "^29.6.2" -jmespath@0.16.0: - version "0.16.0" - resolved "https://registry.yarnpkg.com/jmespath/-/jmespath-0.16.0.tgz#b15b0a85dfd4d930d43e69ed605943c802785076" - integrity sha512-9FzQjJ7MATs1tSpnco1K6ayiYE3figslrXA72G2HQ/n76RzvYlofyi5QM+iX4YRs/pu3yzxlVQSST23+dMDknw== - js-sha256@^0.9.0: version "0.9.0" resolved "https://registry.yarnpkg.com/js-sha256/-/js-sha256-0.9.0.tgz#0b89ac166583e91ef9123644bd3c5334ce9d0966" @@ -7288,12 +8485,7 @@ js-tokens@^4.0.0: resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== -js-xdr@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/js-xdr/-/js-xdr-3.0.0.tgz#fb74275de0ed3cec61269721140a576edf6fca7e" - integrity sha512-tSt6UKJ2L7t+yaQURGkHo9kop9qnVbChTlCu62zNiDbDZQoZb/YjUj2iFJ3lgelhfg9p5bhO2o/QX+g36TPsSQ== - -js-yaml@^3.13.0, js-yaml@^3.13.1, js-yaml@^3.14.1: +js-yaml@^3.13.1, js-yaml@^3.14.1: version "3.14.1" resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.14.1.tgz#dae812fdb3825fa306609a8717383c50c36a0537" integrity sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g== @@ -7313,6 +8505,11 @@ jsesc@^2.5.1: resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4" integrity sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA== +jsesc@~0.5.0: + version "0.5.0" + resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-0.5.0.tgz#e7dee66e35d6fc16f710fe91d5cf69f70f08911d" + integrity sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA== + json-bigint@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/json-bigint/-/json-bigint-1.0.0.tgz#ae547823ac0cad8398667f8cd9ef4730f5b01ff1" @@ -7320,10 +8517,10 @@ json-bigint@^1.0.0: dependencies: bignumber.js "^9.0.0" -json-parse-better-errors@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9" - integrity sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw== +json-buffer@3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/json-buffer/-/json-buffer-3.0.0.tgz#5b1f397afc75d677bde8bcfc0e47e1f9a3d9a898" + integrity sha512-CuUqjv0FUZIdXkHPI8MezCnFCdaTAacej1TZYulLoAg1h/PhwkdXFN4V/gzY4g+fMBCOV2xF+rp7t2XD2ns/NQ== json-parse-even-better-errors@^2.3.0, json-parse-even-better-errors@^2.3.1: version "2.3.1" @@ -7335,11 +8532,6 @@ json-schema-traverse@^0.4.1: resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg== -json-stringify-nice@^1.1.4: - version "1.1.4" - resolved "https://registry.yarnpkg.com/json-stringify-nice/-/json-stringify-nice-1.1.4.tgz#2c937962b80181d3f317dd39aa323e14f5a60a67" - integrity sha512-5Z5RFW63yxReJ7vANgW6eZFGWaQvnPE3WNmZoOJrSkGju2etKA2L5rrOa1sm877TVTFt57A80BH1bArcmlLfPw== - json-stringify-safe@^5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" @@ -7352,7 +8544,7 @@ json5@^1.0.1: dependencies: minimist "^1.2.0" -json5@^2.2.2, json5@^2.2.3: +json5@^2.2.1, json5@^2.2.2, json5@^2.2.3: version "2.2.3" resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== @@ -7373,20 +8565,12 @@ jsonfile@^6.0.1: optionalDependencies: graceful-fs "^4.1.6" -jsonparse@^1.3.1: - version "1.3.1" - resolved "https://registry.yarnpkg.com/jsonparse/-/jsonparse-1.3.1.tgz#3f4dae4a91fac315f71062f8521cc239f1366280" - integrity sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg== - -just-diff-apply@^5.2.0: - version "5.4.1" - resolved "https://registry.yarnpkg.com/just-diff-apply/-/just-diff-apply-5.4.1.tgz#1debed059ad009863b4db0e8d8f333d743cdd83b" - integrity sha512-AAV5Jw7tsniWwih8Ly3fXxEZ06y+6p5TwQMsw0dzZ/wPKilzyDgdAnL0Ug4NNIquPUOh1vfFWEHbmXUqM5+o8g== - -just-diff@^5.0.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/just-diff/-/just-diff-5.1.1.tgz#8da6414342a5ed6d02ccd64f5586cbbed3146202" - integrity sha512-u8HXJ3HlNrTzY7zrYYKjNEfBlyjqhdBkoyTVdjtn7p02RJD5NvR8rIClzeGA7t+UYP1/7eAkWNLU0+P3QrEqKQ== +keyv@^3.0.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/keyv/-/keyv-3.1.0.tgz#ecc228486f69991e49e9476485a5be1e8fc5c4d9" + integrity sha512-9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA== + dependencies: + json-buffer "3.0.0" kind-of@^6.0.2: version "6.0.3" @@ -7398,6 +8582,13 @@ kleur@^3.0.3: resolved "https://registry.yarnpkg.com/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e" integrity sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w== +latest-version@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/latest-version/-/latest-version-5.1.0.tgz#119dfe908fe38d15dfa43ecd13fa12ec8832face" + integrity sha512-weT+r0kTkRQdCdYCNtkMwWXQTMEswKrFBkm4ckQOMVhhqhIMI1UT2hMj+1iigIhgSZm5gTmrRXBNoGUgaTY1xA== + dependencies: + package-json "^6.3.0" + leven@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/leven/-/leven-3.1.0.tgz#77891de834064cccba82ae7842bb6b14a13ed7f2" @@ -7413,42 +8604,55 @@ libphonenumber-js@^1.9.43: resolved "https://registry.yarnpkg.com/libphonenumber-js/-/libphonenumber-js-1.10.13.tgz#0b5833c7fdbf671140530d83531c6753f7e0ea3c" integrity sha512-b74iyWmwb4GprAUPjPkJ11GTC7KX4Pd3onpJfKxYyY8y9Rbb4ERY47LvCMEDM09WD3thiLDMXtkfDK/AX+zT7Q== -libsodium-wrappers@^0.7.6: - version "0.7.10" - resolved "https://registry.yarnpkg.com/libsodium-wrappers/-/libsodium-wrappers-0.7.10.tgz#13ced44cacb0fc44d6ac9ce67d725956089ce733" - integrity sha512-pO3F1Q9NPLB/MWIhehim42b/Fwb30JNScCNh8TcQ/kIc+qGLQch8ag8wb0keK3EP5kbGakk1H8Wwo7v+36rNQg== +libsodium-sumo@^0.7.13: + version "0.7.13" + resolved "https://registry.yarnpkg.com/libsodium-sumo/-/libsodium-sumo-0.7.13.tgz#533b97d2be44b1277e59c1f9f60805978ac5542d" + integrity sha512-zTGdLu4b9zSNLfovImpBCbdAA4xkpkZbMnSQjP8HShyOutnGjRHmSOKlsylh1okao6QhLiz7nG98EGn+04cZjQ== + +libsodium-wrappers-sumo@^0.7.11: + version "0.7.13" + resolved "https://registry.yarnpkg.com/libsodium-wrappers-sumo/-/libsodium-wrappers-sumo-0.7.13.tgz#a33aea845a0bb56db067548f04feba28c730ab8e" + integrity sha512-lz4YdplzDRh6AhnLGF2Dj2IUj94xRN6Bh8T0HLNwzYGwPehQJX6c7iYVrFUPZ3QqxE0bqC+K0IIqqZJYWumwSQ== dependencies: - libsodium "^0.7.0" + libsodium-sumo "^0.7.13" -libsodium@^0.7.0: - version "0.7.10" - resolved "https://registry.yarnpkg.com/libsodium/-/libsodium-0.7.10.tgz#c2429a7e4c0836f879d701fec2c8a208af024159" - integrity sha512-eY+z7hDrDKxkAK+QKZVNv92A5KYkxfvIshtBJkmg5TSiCnYqZP3i9OO9whE79Pwgm4jGaoHgkM4ao/b9Cyu4zQ== +lilconfig@~3.1.1: + version "3.1.2" + resolved "https://registry.yarnpkg.com/lilconfig/-/lilconfig-3.1.2.tgz#e4a7c3cb549e3a606c8dcc32e5ae1005e62c05cb" + integrity sha512-eop+wDAvpItUys0FWkHIKeC9ybYrTGbU41U5K7+bttZZeohvnY7M9dZ5kB21GNWiFT2q1OoPTvncPCgSOVO5ow== lines-and-columns@^1.1.6: version "1.2.4" resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== -load-json-file@^6.2.0: - version "6.2.0" - resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-6.2.0.tgz#5c7770b42cafa97074ca2848707c61662f4251a1" - integrity sha512-gUD/epcRms75Cw8RT1pUdHugZYM5ce64ucs2GEISABwkRsOQr0q2wm/MV2TKThycIe5e0ytRweW2RZxclogCdQ== - dependencies: - graceful-fs "^4.1.15" - parse-json "^5.0.0" - strip-bom "^4.0.0" - type-fest "^0.6.0" - -load-yaml-file@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/load-yaml-file/-/load-yaml-file-0.2.0.tgz#af854edaf2bea89346c07549122753c07372f64d" - integrity sha512-OfCBkGEw4nN6JLtgRidPX6QxjBQGQf72q3si2uvqyFEMbycSFFHwAZeXx6cJgFM9wmLrf9zBwCP3Ivqa+LLZPw== - dependencies: - graceful-fs "^4.1.5" - js-yaml "^3.13.0" - pify "^4.0.1" - strip-bom "^3.0.0" +lint-staged@^15.1.0: + version "15.2.7" + resolved "https://registry.yarnpkg.com/lint-staged/-/lint-staged-15.2.7.tgz#97867e29ed632820c0fb90be06cd9ed384025649" + integrity sha512-+FdVbbCZ+yoh7E/RosSdqKJyUM2OEjTciH0TFNkawKgvFp1zbGlEC39RADg+xKBG1R4mhoH2j85myBQZ5wR+lw== + dependencies: + chalk "~5.3.0" + commander "~12.1.0" + debug "~4.3.4" + execa "~8.0.1" + lilconfig "~3.1.1" + listr2 "~8.2.1" + micromatch "~4.0.7" + pidtree "~0.6.0" + string-argv "~0.3.2" + yaml "~2.4.2" + +listr2@~8.2.1: + version "8.2.1" + resolved "https://registry.yarnpkg.com/listr2/-/listr2-8.2.1.tgz#06a1a6efe85f23c5324180d7c1ddbd96b5eefd6d" + integrity sha512-irTfvpib/rNiD637xeevjO2l3Z5loZmuaRi0L0YE5LfijwVY96oyVn0DFD3o/teAok7nfobMG1THvvcHh/BP6g== + dependencies: + cli-truncate "^4.0.0" + colorette "^2.0.20" + eventemitter3 "^5.0.1" + log-update "^6.0.0" + rfdc "^1.3.1" + wrap-ansi "^9.0.0" loader-runner@^4.2.0: version "4.3.0" @@ -7471,18 +8675,16 @@ locate-path@^5.0.0: dependencies: p-locate "^4.1.0" -locate-path@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-6.0.0.tgz#55321eb309febbc59c4801d931a72452a681d286" - integrity sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw== - dependencies: - p-locate "^5.0.0" - lodash.camelcase@^4.3.0: version "4.3.0" resolved "https://registry.yarnpkg.com/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz#b28aa6288a2b9fc651035c7711f65ab6190331a6" integrity sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA== +lodash.debounce@^4.0.8: + version "4.0.8" + resolved "https://registry.yarnpkg.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af" + integrity sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow== + lodash.deburr@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/lodash.deburr/-/lodash.deburr-4.1.0.tgz#ddb1bbb3ef07458c0177ba07de14422cb033ff9b" @@ -7508,12 +8710,12 @@ lodash.truncate@^4.4.2: resolved "https://registry.yarnpkg.com/lodash.truncate/-/lodash.truncate-4.4.2.tgz#5a350da0b1113b837ecfffd5812cbe58d6eae193" integrity sha512-jttmRe7bRse52OsWIMDLaXxWqRAmtIUccAQ3garviCqJjafXOfNMO0yMfNpdD6zbGaTU0P5Nz7e7gAT6cKmJRw== -lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.15, lodash@^4.17.16, lodash@^4.17.21: +lodash@^4.17.12, lodash@^4.17.15, lodash@^4.17.16, lodash@^4.17.21, lodash@^4.17.4, lodash@^4.3.0: version "4.17.21" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== -log-symbols@^4.0.0, log-symbols@^4.1.0: +log-symbols@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-4.1.0.tgz#3fbdbb95b4683ac9fc785111e792e558d4abd503" integrity sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg== @@ -7521,6 +8723,17 @@ log-symbols@^4.0.0, log-symbols@^4.1.0: chalk "^4.1.0" is-unicode-supported "^0.1.0" +log-update@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/log-update/-/log-update-6.0.0.tgz#0ddeb7ac6ad658c944c1de902993fce7c33f5e59" + integrity sha512-niTvB4gqvtof056rRIrTZvjNYE4rCUzO6X/X+kYjd7WFxXeJ0NwEFnRxX6ehkvv3jTwrXnNdtAak5XYZuIyPFw== + dependencies: + ansi-escapes "^6.2.0" + cli-cursor "^4.0.0" + slice-ansi "^7.0.0" + strip-ansi "^7.1.0" + wrap-ansi "^9.0.0" + loglevel-plugin-prefix@^0.8.4: version "0.8.4" resolved "https://registry.yarnpkg.com/loglevel-plugin-prefix/-/loglevel-plugin-prefix-0.8.4.tgz#2fe0e05f1a820317d98d8c123e634c1bd84ff644" @@ -7536,11 +8749,31 @@ long@^4.0.0: resolved "https://registry.yarnpkg.com/long/-/long-4.0.0.tgz#9a7b71cfb7d361a194ea555241c92f7468d5bf28" integrity sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA== +long@^5.0.0, long@^5.2.0, long@^5.2.1: + version "5.2.3" + resolved "https://registry.yarnpkg.com/long/-/long-5.2.3.tgz#a3ba97f3877cf1d778eccbcb048525ebb77499e1" + integrity sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q== + longest-streak@^2.0.0: version "2.0.4" resolved "https://registry.yarnpkg.com/longest-streak/-/longest-streak-2.0.4.tgz#b8599957da5b5dab64dee3fe316fa774597d90e4" integrity sha512-vM6rUVCVUJJt33bnmHiZEvr7wPT78ztX7rojL+LW51bHtLh6HTjx84LA5W4+oa6aKEJA7jJu5LR6vQRBpA5DVg== +lowercase-keys@^1.0.0, lowercase-keys@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-1.0.1.tgz#6f9e30b47084d971a7c820ff15a6c5167b74c26f" + integrity sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA== + +lowercase-keys@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-2.0.0.tgz#2603e78b7b4b0006cbca2fbcc8a3202558ac9479" + integrity sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA== + +lru-cache@^10.2.0: + version "10.2.2" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.2.2.tgz#48206bc114c1252940c41b25b41af5b545aca878" + integrity sha512-9hp3Vp2/hFQUiIwKo8XCeFVnrg8Pk3TYNPIR7tJADKi5YfcF7vEaK7avFHTlSy3kOKYaJQaalfEo6YuXdceBOQ== + lru-cache@^5.1.1: version "5.1.1" resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920" @@ -7555,10 +8788,12 @@ lru-cache@^6.0.0: dependencies: yallist "^4.0.0" -lru-cache@^7.7.1: - version "7.14.0" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-7.14.0.tgz#21be64954a4680e303a09e9468f880b98a0b3c7f" - integrity sha512-EIRtP1GrSJny0dqb50QXRUNBxHJhcpxHC++M5tD7RYbvLLn5KVWKsbyswSSqDuU15UFi3bgTQIY8nhDMeF6aDQ== +lru-queue@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/lru-queue/-/lru-queue-0.1.0.tgz#2738bd9f0d3cf4f84490c5736c48699ac632cda3" + integrity sha512-BpdYkt9EvGl8OfWHDQPISVpcl5xZthb+XPsbELj5AQXxIC8IriDZIQYjBJPEm5rS420sjZ0TLEzRcq5KdBhYrQ== + dependencies: + es5-ext "~0.10.2" make-dir@^3.0.0: version "3.1.0" @@ -7579,50 +8814,6 @@ make-error@1.x, make-error@^1.1.1: resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.6.tgz#2eb2e37ea9b67c4891f684a1394799af484cf7a2" integrity sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw== -make-fetch-happen@^10.0.1: - version "10.2.1" - resolved "https://registry.yarnpkg.com/make-fetch-happen/-/make-fetch-happen-10.2.1.tgz#f5e3835c5e9817b617f2770870d9492d28678164" - integrity sha512-NgOPbRiaQM10DYXvN3/hhGVI2M5MtITFryzBGxHM5p4wnFxsVCbxkrBrDsk+EZ5OB4jEOT7AjDxtdF+KVEFT7w== - dependencies: - agentkeepalive "^4.2.1" - cacache "^16.1.0" - http-cache-semantics "^4.1.0" - http-proxy-agent "^5.0.0" - https-proxy-agent "^5.0.0" - is-lambda "^1.0.1" - lru-cache "^7.7.1" - minipass "^3.1.6" - minipass-collect "^1.0.2" - minipass-fetch "^2.0.3" - minipass-flush "^1.0.5" - minipass-pipeline "^1.2.4" - negotiator "^0.6.3" - promise-retry "^2.0.1" - socks-proxy-agent "^7.0.0" - ssri "^9.0.0" - -make-fetch-happen@^9.1.0: - version "9.1.0" - resolved "https://registry.yarnpkg.com/make-fetch-happen/-/make-fetch-happen-9.1.0.tgz#53085a09e7971433e6765f7971bf63f4e05cb968" - integrity sha512-+zopwDy7DNknmwPQplem5lAZX/eCOzSvSNNcSKm5eVwTkOBzoktEfXsa9L23J/GIRhxRsaxzkPEhrJEpE2F4Gg== - dependencies: - agentkeepalive "^4.1.3" - cacache "^15.2.0" - http-cache-semantics "^4.1.0" - http-proxy-agent "^4.0.1" - https-proxy-agent "^5.0.0" - is-lambda "^1.0.1" - lru-cache "^6.0.0" - minipass "^3.1.3" - minipass-collect "^1.0.2" - minipass-fetch "^1.3.2" - minipass-flush "^1.0.5" - minipass-pipeline "^1.2.4" - negotiator "^0.6.2" - promise-retry "^2.0.1" - socks-proxy-agent "^6.0.0" - ssri "^8.0.0" - makeerror@1.0.12: version "1.0.12" resolved "https://registry.yarnpkg.com/makeerror/-/makeerror-1.0.12.tgz#3e5dd2079a82e812e983cc6610c4a2cb0eaa801a" @@ -7751,31 +8942,19 @@ mdurl@^1.0.0: resolved "https://registry.yarnpkg.com/mdurl/-/mdurl-1.0.1.tgz#fe85b2ec75a59037f2adfec100fd6c601761152e" integrity sha512-/sKlQJCBYVY9Ers9hqzKou4H6V5UWc/M59TH2dvkt+84itfnq7uFOMLpOiOS4ujvHP4etln18fmIxA5R5fll0g== -"mem-fs-editor@^8.1.2 || ^9.0.0": - version "9.5.0" - resolved "https://registry.yarnpkg.com/mem-fs-editor/-/mem-fs-editor-9.5.0.tgz#9368724bd37f76eebfcf24d71fc6624b01588969" - integrity sha512-7p+bBDqsSisO20YIZf2ntYvST27fFJINn7CKE21XdPUQDcLV62b/yB5sTOooQeEoiZ3rldZQ+4RfONgL/gbRoA== - dependencies: - binaryextensions "^4.16.0" - commondir "^1.0.1" - deep-extend "^0.6.0" - ejs "^3.1.8" - globby "^11.1.0" - isbinaryfile "^4.0.8" - minimatch "^3.1.2" - multimatch "^5.0.0" - normalize-path "^3.0.0" - textextensions "^5.13.0" - -"mem-fs@^1.2.0 || ^2.0.0": - version "2.2.1" - resolved "https://registry.yarnpkg.com/mem-fs/-/mem-fs-2.2.1.tgz#c87bc8a53fb17971b129d4bcd59a9149fb78c5b1" - integrity sha512-yiAivd4xFOH/WXlUi6v/nKopBh1QLzwjFi36NK88cGt/PRXI8WeBASqY+YSjIVWvQTx3hR8zHKDBMV6hWmglNA== - dependencies: - "@types/node" "^15.6.1" - "@types/vinyl" "^2.0.4" - vinyl "^2.0.1" - vinyl-file "^3.0.0" +memoizee@^0.4.15: + version "0.4.17" + resolved "https://registry.yarnpkg.com/memoizee/-/memoizee-0.4.17.tgz#942a5f8acee281fa6fb9c620bddc57e3b7382949" + integrity sha512-DGqD7Hjpi/1or4F/aYAspXKNm5Yili0QDAFAY4QYvpqpgiY6+1jOfqpmByzjxbWd/T9mChbCArXAbDAsTm5oXA== + dependencies: + d "^1.0.2" + es5-ext "^0.10.64" + es6-weak-map "^2.0.3" + event-emitter "^0.3.5" + is-promise "^2.2.2" + lru-queue "^0.1.0" + next-tick "^1.1.0" + timers-ext "^0.1.7" merge-options@^3.0.4: version "3.0.4" @@ -7789,7 +8968,7 @@ merge-stream@^2.0.0: resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60" integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w== -merge2@^1.2.3, merge2@^1.3.0, merge2@^1.4.1: +merge2@^1.3.0, merge2@^1.4.1: version "1.4.1" resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae" integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== @@ -7852,7 +9031,7 @@ micromark@^2.11.3, micromark@~2.11.0, micromark@~2.11.3: debug "^4.0.0" parse-entities "^2.0.0" -micromatch@^4.0.0, micromatch@^4.0.2, micromatch@^4.0.4: +micromatch@^4.0.0, micromatch@^4.0.4: version "4.0.5" resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.5.tgz#bc8999a7cbbf77cdc89f132f6e467051b49090c6" integrity sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA== @@ -7860,13 +9039,13 @@ micromatch@^4.0.0, micromatch@^4.0.2, micromatch@^4.0.4: braces "^3.0.2" picomatch "^2.3.1" -miller-rabin@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/miller-rabin/-/miller-rabin-4.0.1.tgz#f080351c865b0dc562a8462966daa53543c78a4d" - integrity sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA== +micromatch@~4.0.7: + version "4.0.7" + resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.7.tgz#33e8190d9fe474a9895525f5618eee136d46c2e5" + integrity sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q== dependencies: - bn.js "^4.0.0" - brorand "^1.0.1" + braces "^3.0.3" + picomatch "^2.3.1" mime-db@1.52.0: version "1.52.0" @@ -7885,11 +9064,26 @@ mime@^2.4.6: resolved "https://registry.yarnpkg.com/mime/-/mime-2.6.0.tgz#a2a682a95cd4d0cb1d6257e28f83da7e35800367" integrity sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg== +mimic-fn@^1.0.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.2.0.tgz#820c86a39334640e99516928bd03fca88057d022" + integrity sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ== + mimic-fn@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== +mimic-fn@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-4.0.0.tgz#60a90550d5cb0b239cca65d893b1a53b29871ecc" + integrity sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw== + +mimic-response@^1.0.0, mimic-response@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-1.0.1.tgz#4923538878eef42063cb8a3e3b0798781487ab1b" + integrity sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ== + minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" @@ -7900,91 +9094,55 @@ minimalistic-crypto-utils@^1.0.1: resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" integrity sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg== -minimatch@^3.0.4, minimatch@^3.1.1, minimatch@^3.1.2: +minimatch@5.1.0, minimatch@^5.0.1: + version "5.1.0" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-5.1.0.tgz#1717b464f4971b144f6aabe8f2d0b8e4511e09c7" + integrity sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg== + dependencies: + brace-expansion "^2.0.1" + +minimatch@^3.0.4, minimatch@^3.1.1: version "3.1.2" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== dependencies: brace-expansion "^1.1.7" -minimatch@^5.0.1: - version "5.1.0" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-5.1.0.tgz#1717b464f4971b144f6aabe8f2d0b8e4511e09c7" - integrity sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg== +minimatch@^9.0.4: + version "9.0.4" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.4.tgz#8e49c731d1749cbec05050ee5145147b32496a51" + integrity sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw== dependencies: brace-expansion "^2.0.1" -minimist@^1.1.0, minimist@^1.2.0, minimist@^1.2.5: +minimist@1.2.6, minimist@^1.2.0: version "1.2.6" resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.6.tgz#8637a5b759ea0d6e98702cfb3a9283323c93af44" integrity sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q== -minipass-collect@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/minipass-collect/-/minipass-collect-1.0.2.tgz#22b813bf745dc6edba2576b940022ad6edc8c617" - integrity sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA== - dependencies: - minipass "^3.0.0" - -minipass-fetch@^1.3.2, minipass-fetch@^1.4.1: - version "1.4.1" - resolved "https://registry.yarnpkg.com/minipass-fetch/-/minipass-fetch-1.4.1.tgz#d75e0091daac1b0ffd7e9d41629faff7d0c1f1b6" - integrity sha512-CGH1eblLq26Y15+Azk7ey4xh0J/XfJfrCox5LDJiKqI2Q2iwOLOKrlmIaODiSQS8d18jalF6y2K2ePUm0CmShw== - dependencies: - minipass "^3.1.0" - minipass-sized "^1.0.3" - minizlib "^2.0.0" - optionalDependencies: - encoding "^0.1.12" - -minipass-fetch@^2.0.3: - version "2.1.2" - resolved "https://registry.yarnpkg.com/minipass-fetch/-/minipass-fetch-2.1.2.tgz#95560b50c472d81a3bc76f20ede80eaed76d8add" - integrity sha512-LT49Zi2/WMROHYoqGgdlQIZh8mLPZmOrN2NdJjMXxYe4nkN6FUyuPuOAOedNJDrx0IRGg9+4guZewtp8hE6TxA== - dependencies: - minipass "^3.1.6" - minipass-sized "^1.0.3" - minizlib "^2.1.2" - optionalDependencies: - encoding "^0.1.13" - -minipass-flush@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/minipass-flush/-/minipass-flush-1.0.5.tgz#82e7135d7e89a50ffe64610a787953c4c4cbb373" - integrity sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw== - dependencies: - minipass "^3.0.0" - -minipass-json-stream@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/minipass-json-stream/-/minipass-json-stream-1.0.1.tgz#7edbb92588fbfc2ff1db2fc10397acb7b6b44aa7" - integrity sha512-ODqY18UZt/I8k+b7rl2AENgbWE8IDYam+undIJONvigAz8KR5GWblsFTEfQs0WODsjbSXWlm+JHEv8Gr6Tfdbg== - dependencies: - jsonparse "^1.3.1" - minipass "^3.0.0" - -minipass-pipeline@^1.2.2, minipass-pipeline@^1.2.4: - version "1.2.4" - resolved "https://registry.yarnpkg.com/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz#68472f79711c084657c067c5c6ad93cddea8214c" - integrity sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A== - dependencies: - minipass "^3.0.0" - -minipass-sized@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/minipass-sized/-/minipass-sized-1.0.3.tgz#70ee5a7c5052070afacfbc22977ea79def353b70" - integrity sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g== - dependencies: - minipass "^3.0.0" +minimist@1.2.8, minimist@^1.2.6: + version "1.2.8" + resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" + integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA== -minipass@^3.0.0, minipass@^3.1.0, minipass@^3.1.1, minipass@^3.1.3, minipass@^3.1.6: +minipass@^3.0.0: version "3.3.4" resolved "https://registry.yarnpkg.com/minipass/-/minipass-3.3.4.tgz#ca99f95dd77c43c7a76bf51e6d200025eee0ffae" integrity sha512-I9WPbWHCGu8W+6k1ZiGpPu0GkoKBeorkfKNuAFBNS1HNFJvke82sxvI5bzcCNpWPorkOO5QQ+zomzzwRxejXiw== dependencies: yallist "^4.0.0" -minizlib@^2.0.0, minizlib@^2.1.1, minizlib@^2.1.2: +minipass@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/minipass/-/minipass-5.0.0.tgz#3e9788ffb90b694a5d0ec94479a45b5d8738133d" + integrity sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ== + +"minipass@^5.0.0 || ^6.0.2 || ^7.0.0", minipass@^7.1.2: + version "7.1.2" + resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.1.2.tgz#93a9626ce5e5e66bd4db86849e7515e92340a707" + integrity sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw== + +minizlib@^2.1.1: version "2.1.2" resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-2.1.2.tgz#e90d3466ba209b932451508a11ce3d3632145931" integrity sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg== @@ -7992,25 +9150,16 @@ minizlib@^2.0.0, minizlib@^2.1.1, minizlib@^2.1.2: minipass "^3.0.0" yallist "^4.0.0" -mkdirp-classic@^0.5.2: - version "0.5.3" - resolved "https://registry.yarnpkg.com/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz#fa10c9115cc6d8865be221ba47ee9bed78601113" - integrity sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A== - -mkdirp-infer-owner@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/mkdirp-infer-owner/-/mkdirp-infer-owner-2.0.0.tgz#55d3b368e7d89065c38f32fd38e638f0ab61d316" - integrity sha512-sdqtiFt3lkOaYvTXSRIUjkIdPTcxgv5+fgqYE/5qgwdw12cOrAuzzgzvVExIkH/ul1oeHN3bCLOWSG3XOqbKKw== - dependencies: - chownr "^2.0.0" - infer-owner "^1.0.4" - mkdirp "^1.0.3" - -mkdirp@^1.0.3, mkdirp@^1.0.4: +mkdirp@1.0.4, mkdirp@^1.0.3, mkdirp@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== +mkdirp@3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-3.0.0.tgz#758101231418bda24435c0888a91d9bd91f1372d" + integrity sha512-7+JDnNsyCvZXoUJdkMR0oUE2AmAdsNXGTmRbiOjYIwQ6q+bL6NwrozGQdPcmYaNcrhH37F50HHBUzoaBV6FITQ== + mock-socket@^9.1.5: version "9.1.5" resolved "https://registry.yarnpkg.com/mock-socket/-/mock-socket-9.1.5.tgz#2c4e44922ad556843b6dfe09d14ed8041fa2cdeb" @@ -8026,13 +9175,6 @@ mock-socket@^9.3.1: resolved "https://registry.yarnpkg.com/mock-socket/-/mock-socket-9.3.1.tgz#24fb00c2f573c84812aa4a24181bb025de80cc8e" integrity sha512-qxBgB7Qa2sEQgHFjj0dSigq7fX4k6Saisd5Nelwp2q8mlbAFh5dHV9JTTlF8viYJLSSWgMCZFUom8PJcMNBoJw== -moment-timezone@^0.5.34: - version "0.5.37" - resolved "https://registry.yarnpkg.com/moment-timezone/-/moment-timezone-0.5.37.tgz#adf97f719c4e458fdb12e2b4e87b8bec9f4eef1e" - integrity sha512-uEDzDNFhfaywRl+vwXxffjjq1q0Vzr+fcQpQ1bU0kbzorfS7zVtZnCnGc8mhWmF39d4g4YriF6kwA75mJKE/Zg== - dependencies: - moment ">= 2.9.0" - moment-timezone@^0.5.35: version "0.5.43" resolved "https://registry.yarnpkg.com/moment-timezone/-/moment-timezone-0.5.43.tgz#3dd7f3d0c67f78c23cd1906b9b2137a09b3c4790" @@ -8040,7 +9182,7 @@ moment-timezone@^0.5.35: dependencies: moment "^2.29.4" -"moment@>= 2.9.0", moment@^2.29.1, moment@^2.29.4: +moment@^2.29.1, moment@^2.29.4: version "2.29.4" resolved "https://registry.yarnpkg.com/moment/-/moment-2.29.4.tgz#3dbe052889fe7c1b2ed966fcb3a77328964ef108" integrity sha512-5LC9SOxjSc2HF6vO2CyuTDNivEdoz2IvyJJGj6X8DJ0eFyfszE0QiEd+iXmBvUP3WHxSjFH/vIsA0EN00cgr8w== @@ -8063,7 +9205,7 @@ ms@2.1.2: resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== -ms@^2.0.0, ms@^2.1.1: +ms@^2.1.1: version "2.1.3" resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== @@ -8111,6 +9253,11 @@ multicodec@^1.0.0: buffer "^5.6.0" varint "^5.0.0" +multiformats@^9.0.2, multiformats@^9.5.1: + version "9.9.0" + resolved "https://registry.yarnpkg.com/multiformats/-/multiformats-9.9.0.tgz#c68354e7d21037a8f1f8833c8ccd68618e8f1d37" + integrity sha512-HoMUjhH9T8DDBNT+6xzkrd9ga/XiBI4xLr58LJACwK6G3HTOPeMz4nB4KJs33L2BelrIJa7P0VuNaVF3hMYfjg== + multiformats@^9.4.1, multiformats@^9.4.2, multiformats@^9.4.5, multiformats@^9.5.4: version "9.8.1" resolved "https://registry.yarnpkg.com/multiformats/-/multiformats-9.8.1.tgz#0e5f2910cf0c34f55adf0602f920775f9622552a" @@ -8125,32 +9272,40 @@ multihashes@~0.4.15: multibase "^0.7.0" varint "^5.0.0" -multimatch@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/multimatch/-/multimatch-5.0.0.tgz#932b800963cea7a31a033328fa1e0c3a1874dbe6" - integrity sha512-ypMKuglUrZUD99Tk2bUQ+xNQj43lPEfAeX2o9cTteAmShXy2VHDJpuwu1o0xqoKCt9jLVAvwyFKdLTPXKAfJyA== - dependencies: - "@types/minimatch" "^3.0.3" - array-differ "^3.0.0" - array-union "^2.1.0" - arrify "^2.0.1" - minimatch "^3.0.4" - mustache@^4.0.0: version "4.2.0" resolved "https://registry.yarnpkg.com/mustache/-/mustache-4.2.0.tgz#e5892324d60a12ec9c2a73359edca52972bf6f64" integrity sha512-71ippSywq5Yb7/tVYyGbkBggbU8H3u5Rz56fH60jGFgr8uHwxs+aSKeqmluIVzM0m0kB7xQjKS6qPfd0b2ZoqQ== +mute-stream@0.0.7: + version "0.0.7" + resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab" + integrity sha512-r65nCZhrbXXb6dXOACihYApHw2Q6pV0M3V0PSxd74N0+D8nzAdEAITq2oAjA1jVnKI+tGvEBUpqiMh0+rW6zDQ== + mute-stream@0.0.8: version "0.0.8" resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d" integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA== +mz@^2.7.0: + version "2.7.0" + resolved "https://registry.yarnpkg.com/mz/-/mz-2.7.0.tgz#95008057a56cafadc2bc63dde7f9ff6955948e32" + integrity sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q== + dependencies: + any-promise "^1.0.0" + object-assign "^4.0.1" + thenify-all "^1.0.0" + nanoid@^3.0.2, nanoid@^3.1.12, nanoid@^3.1.20: version "3.3.4" resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.4.tgz#730b67e3cd09e2deacf03c027c81c9d9dbc5e8ab" integrity sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw== +nanoid@^3.1.23: + version "3.3.7" + resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.7.tgz#d0c301a691bc8d54efa0a2226ccf3fe2fd656bd8" + integrity sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g== + native-abort-controller@^1.0.3: version "1.0.4" resolved "https://registry.yarnpkg.com/native-abort-controller/-/native-abort-controller-1.0.4.tgz#39920155cc0c18209ff93af5bc90be856143f251" @@ -8188,11 +9343,6 @@ near-api-js@^1.1.0: text-encoding-utf-8 "^1.0.2" tweetnacl "^1.0.1" -negotiator@^0.6.2, negotiator@^0.6.3: - version "0.6.3" - resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.3.tgz#58e323a72fedc0d6f9cd4d31fe49f51479590ccd" - integrity sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg== - neo-async@^2.6.2: version "2.6.2" resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f" @@ -8228,10 +9378,10 @@ nock@^13.3.1: lodash "^4.17.21" propagate "^2.0.0" -nock@^13.4.0: - version "13.4.0" - resolved "https://registry.yarnpkg.com/nock/-/nock-13.4.0.tgz#60aa3f7a4afa9c12052e74d8fb7550f682ef0115" - integrity sha512-W8NVHjO/LCTNA64yxAPHV/K47LpGYcVzgKd3Q0n6owhwvD0Dgoterc25R4rnZbckJEb6Loxz1f5QMuJpJnbSyQ== +nock@^13.5.0: + version "13.5.4" + resolved "https://registry.yarnpkg.com/nock/-/nock-13.5.4.tgz#8918f0addc70a63736170fef7106a9721e0dc479" + integrity sha512-yAyTfdeNJGGBFxWdzSKCBYxs5FxLbCg5X5Q4ets974hcQzG1+qCxvIyOo4j2Ry6MUlhWVMX4OoYDefAIIwupjw== dependencies: debug "^4.1.0" json-stringify-safe "^5.0.1" @@ -8242,7 +9392,7 @@ node-domexception@^1.0.0: resolved "https://registry.yarnpkg.com/node-domexception/-/node-domexception-1.0.0.tgz#6888db46a1f71c0b76b3f7555016b63fe64766e5" integrity sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ== -node-fetch@2.6.7, node-fetch@^2.6.7: +node-fetch@2.6.7: version "2.6.7" resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.7.tgz#24de9fba827e3b4ae44dc8b20256a379160052ad" integrity sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ== @@ -8256,6 +9406,13 @@ node-fetch@^2.6.1: dependencies: whatwg-url "^5.0.0" +node-fetch@^2.6.8: + version "2.7.0" + resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.7.0.tgz#d0f0fa6e3e2dc1d27efcd8ad99d550bda94d187d" + integrity sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A== + dependencies: + whatwg-url "^5.0.0" + node-fetch@^3.2.10: version "3.2.10" resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-3.2.10.tgz#e8347f94b54ae18b57c9c049ef641cef398a85c8" @@ -8283,26 +9440,10 @@ node-gyp-build@^4.3.0: resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.5.0.tgz#7a64eefa0b21112f89f58379da128ac177f20e40" integrity sha512-2iGbaQBV+ITgCz76ZEjmhUKAKVf7xfY1sRl4UiKQspfZMH2h06SyhNsnSVy50cwkFQDGLyif6m/6uFXHkOZ6rg== -node-gyp-build@^4.6.0: - version "4.6.0" - resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.6.0.tgz#0c52e4cbf54bbd28b709820ef7b6a3c2d6209055" - integrity sha512-NTZVKn9IylLwUzaKjkas1e4u2DLNcV4rdYagA4PWdPwW87Bi7z+BznyKSRwS/761tV/lzCGXplWsiaMjLqP2zQ== - -node-gyp@^8.2.0: - version "8.4.1" - resolved "https://registry.yarnpkg.com/node-gyp/-/node-gyp-8.4.1.tgz#3d49308fc31f768180957d6b5746845fbd429937" - integrity sha512-olTJRgUtAb/hOXG0E93wZDs5YiJlgbXxTwQAFHyNlRsXQnYzUaF2aGgujZbw+hR8aF4ZG/rST57bWMWD16jr9w== - dependencies: - env-paths "^2.2.0" - glob "^7.1.4" - graceful-fs "^4.2.6" - make-fetch-happen "^9.1.0" - nopt "^5.0.0" - npmlog "^6.0.0" - rimraf "^3.0.2" - semver "^7.3.5" - tar "^6.1.2" - which "^2.0.2" +node-gyp-build@^4.8.0: + version "4.8.1" + resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.8.1.tgz#976d3ad905e71b76086f4f0b0d3637fe79b6cda5" + integrity sha512-OSs33Z9yWr148JZcbZd5WiAXhh/n9z8TxQcdMhIOlpN9AhWpLfvVFO73+m77bBABQMaY9XSvIa+qk0jlI7Gcaw== node-int64@^0.4.0: version "0.4.0" @@ -8314,114 +9455,25 @@ node-releases@^2.0.13: resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.13.tgz#d5ed1627c23e3461e819b02e57b75e4899b1c81d" integrity sha512-uYr7J37ae/ORWdZeQ1xxMJe3NtdmqMC/JZK+geofDrkLUApKRHPd18/TxtBOJ4A0/+uUIliorNrfYV6s1b02eQ== +node-releases@^2.0.14: + version "2.0.14" + resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.14.tgz#2ffb053bceb8b2be8495ece1ab6ce600c4461b0b" + integrity sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw== + node-releases@^2.0.6: version "2.0.6" resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.6.tgz#8a7088c63a55e493845683ebf3c828d8c51c5503" integrity sha512-PiVXnNuFm5+iYkLBNeq5211hvO38y63T0i2KKh2KnUs3RpzJ+JtODFjkD8yjLwnDkTYF1eKXheUwdssR+NRZdg== -nopt@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/nopt/-/nopt-5.0.0.tgz#530942bb58a512fccafe53fe210f13a25355dc88" - integrity sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ== - dependencies: - abbrev "1" - -normalize-package-data@^2.5.0: - version "2.5.0" - resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.5.0.tgz#e66db1838b200c1dfc233225d12cb36520e234a8" - integrity sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA== - dependencies: - hosted-git-info "^2.1.4" - resolve "^1.10.0" - semver "2 || 3 || 4 || 5" - validate-npm-package-license "^3.0.1" - -normalize-package-data@^3.0.3: - version "3.0.3" - resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-3.0.3.tgz#dbcc3e2da59509a0983422884cd172eefdfa525e" - integrity sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA== - dependencies: - hosted-git-info "^4.0.1" - is-core-module "^2.5.0" - semver "^7.3.4" - validate-npm-package-license "^3.0.1" - normalize-path@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== -npm-bundled@^1.1.1: - version "1.1.2" - resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-1.1.2.tgz#944c78789bd739035b70baa2ca5cc32b8d860bc1" - integrity sha512-x5DHup0SuyQcmL3s7Rx/YQ8sbw/Hzg0rj48eN0dV7hf5cmQq5PXIeioroH3raV1QC1yh3uTYuMThvEQF3iKgGQ== - dependencies: - npm-normalize-package-bin "^1.0.1" - -npm-install-checks@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/npm-install-checks/-/npm-install-checks-4.0.0.tgz#a37facc763a2fde0497ef2c6d0ac7c3fbe00d7b4" - integrity sha512-09OmyDkNLYwqKPOnbI8exiOZU2GVVmQp7tgez2BPi5OZC8M82elDAps7sxC4l//uSUtotWqoEIDwjRvWH4qz8w== - dependencies: - semver "^7.1.1" - -npm-normalize-package-bin@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz#6e79a41f23fd235c0623218228da7d9c23b8f6e2" - integrity sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA== - -npm-normalize-package-bin@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/npm-normalize-package-bin/-/npm-normalize-package-bin-2.0.0.tgz#9447a1adaaf89d8ad0abe24c6c84ad614a675fff" - integrity sha512-awzfKUO7v0FscrSpRoogyNm0sajikhBWpU0QMrW09AMi9n1PoKU6WaIqUzuJSQnpciZZmJ/jMZ2Egfmb/9LiWQ== - -npm-package-arg@^8.0.1, npm-package-arg@^8.1.2, npm-package-arg@^8.1.5: - version "8.1.5" - resolved "https://registry.yarnpkg.com/npm-package-arg/-/npm-package-arg-8.1.5.tgz#3369b2d5fe8fdc674baa7f1786514ddc15466e44" - integrity sha512-LhgZrg0n0VgvzVdSm1oiZworPbTxYHUJCgtsJW8mGvlDpxTM1vSJc3m5QZeUkhAHIzbz3VCHd/R4osi1L1Tg/Q== - dependencies: - hosted-git-info "^4.0.1" - semver "^7.3.4" - validate-npm-package-name "^3.0.0" - -npm-packlist@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-3.0.0.tgz#0370df5cfc2fcc8f79b8f42b37798dd9ee32c2a9" - integrity sha512-L/cbzmutAwII5glUcf2DBRNY/d0TFd4e/FnaZigJV6JD85RHZXJFGwCndjMWiiViiWSsWt3tiOLpI3ByTnIdFQ== - dependencies: - glob "^7.1.6" - ignore-walk "^4.0.1" - npm-bundled "^1.1.1" - npm-normalize-package-bin "^1.0.1" - -npm-pick-manifest@^6.0.0, npm-pick-manifest@^6.1.0, npm-pick-manifest@^6.1.1: - version "6.1.1" - resolved "https://registry.yarnpkg.com/npm-pick-manifest/-/npm-pick-manifest-6.1.1.tgz#7b5484ca2c908565f43b7f27644f36bb816f5148" - integrity sha512-dBsdBtORT84S8V8UTad1WlUyKIY9iMsAmqxHbLdeEeBNMLQDlDWWra3wYUx9EBEIiG/YwAy0XyNHDd2goAsfuA== - dependencies: - npm-install-checks "^4.0.0" - npm-normalize-package-bin "^1.0.1" - npm-package-arg "^8.1.2" - semver "^7.3.4" - -npm-registry-fetch@^12.0.0, npm-registry-fetch@^12.0.1: - version "12.0.2" - resolved "https://registry.yarnpkg.com/npm-registry-fetch/-/npm-registry-fetch-12.0.2.tgz#ae583bb3c902a60dae43675b5e33b5b1f6159f1e" - integrity sha512-Df5QT3RaJnXYuOwtXBXS9BWs+tHH2olvkCLh6jcR/b/u3DvPMlp3J0TvvYwplPKxHMOwfg287PYih9QqaVFoKA== - dependencies: - make-fetch-happen "^10.0.1" - minipass "^3.1.6" - minipass-fetch "^1.4.1" - minipass-json-stream "^1.0.1" - minizlib "^2.1.2" - npm-package-arg "^8.1.5" - -npm-run-path@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-2.0.2.tgz#35a9232dfa35d7067b4cb2ddf2357b1871536c5f" - integrity sha512-lJxZYlT4DW/bRUtFh1MQIWqmLwQfAxnqWG4HhEdjMlkrJYnJn0Jrr2u3mgxqaWsdiBc76TYkTG/mhrnYTuzfHw== - dependencies: - path-key "^2.0.0" +normalize-url@^4.1.0: + version "4.5.1" + resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-4.5.1.tgz#0dd90cf1288ee1d1313b87081c9a5932ee48518a" + integrity sha512-9UZCFRHQdNrfTpGg8+1INIg93B6zE0aXMVFkw1WFwvO4SlZywU6aLg5Of0Ap/PgcbSw4LNxvMWXMeugwMCX0AA== npm-run-path@^4.0.1: version "4.0.1" @@ -8430,30 +9482,12 @@ npm-run-path@^4.0.1: dependencies: path-key "^3.0.0" -npmlog@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-5.0.1.tgz#f06678e80e29419ad67ab964e0fa69959c1eb8b0" - integrity sha512-AqZtDUWOMKs1G/8lwylVjrdYgqA4d9nu8hc+0gzRxlDb1I10+FHBGMXs6aiQHFdCUUlqH99MUMuLfzWDNDtfxw== - dependencies: - are-we-there-yet "^2.0.0" - console-control-strings "^1.1.0" - gauge "^3.0.0" - set-blocking "^2.0.0" - -npmlog@^6.0.0: - version "6.0.2" - resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-6.0.2.tgz#c8166017a42f2dea92d6453168dd865186a70830" - integrity sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg== +npm-run-path@^5.1.0: + version "5.3.0" + resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-5.3.0.tgz#e23353d0ebb9317f174e93417e4a4d82d0249e9f" + integrity sha512-ppwTtiJZq0O/ai0z7yfudtBpWIoxM8yE6nHi1X47eFR2EWORqfbu6CnPlNsjeN683eT0qG6H/Pyf9fCcvjnnnQ== dependencies: - are-we-there-yet "^3.0.0" - console-control-strings "^1.1.0" - gauge "^4.0.3" - set-blocking "^2.0.0" - -number-is-nan@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" - integrity sha512-4jbtZXNAsfZbAHiiqjLPBiCl16dES1zI4Hpzzxw61Tk+loF+sBDBKx1ICKKKwIqQ7M0mFn1TmkN7euSncWgHiQ== + path-key "^4.0.0" o3@^1.0.3: version "1.0.3" @@ -8462,12 +9496,12 @@ o3@^1.0.3: dependencies: capability "^0.2.5" -object-assign@^4.1.1: +object-assign@^4.0.1: version "4.1.1" resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg== -object-inspect@^1.12.2, object-inspect@^1.9.0: +object-inspect@^1.9.0: version "1.12.2" resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.12.2.tgz#c0641f26394532f28ab8d796ab954e43c009a8ea" integrity sha512-z+cPxW0QGUp0mcqcsgQyLVRDoXFQbXOwBaqyF7VIgI4TWNQsDHrBpUQslRmIfAoYWdYzs6UlKJtB2XJpTaNSpQ== @@ -8477,44 +9511,10 @@ object-keys@^1.1.1: resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA== -object-treeify@^1.1.33, object-treeify@^1.1.4: - version "1.1.33" - resolved "https://registry.yarnpkg.com/object-treeify/-/object-treeify-1.1.33.tgz#f06fece986830a3cba78ddd32d4c11d1f76cdf40" - integrity sha512-EFVjAYfzWqWsBMRHPMAXLCDIJnpMhdWAqR7xG6M6a2cs6PMFpl/+Z20w9zDW4vkxOFfddegBKq9Rehd0bxWE7A== - -object.assign@^4.1.4: - version "4.1.4" - resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.1.4.tgz#9673c7c7c351ab8c4d0b516f4343ebf4dfb7799f" - integrity sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ== - dependencies: - call-bind "^1.0.2" - define-properties "^1.1.4" - has-symbols "^1.0.3" - object-keys "^1.1.1" - -oclif@^2.4.4: - version "2.7.0" - resolved "https://registry.yarnpkg.com/oclif/-/oclif-2.7.0.tgz#590d866b02f20cff2a21ddfc56e22509c55865f5" - integrity sha512-nmgk/emtEth/0RYTMeovj22zpiT4P7KvIDc3OOT8VeAEDvdbnZfg3tV3YRnHK0zrSKETKqpHWFyNx2PLMl0eKQ== - dependencies: - "@oclif/core" "^1.6.4" - "@oclif/plugin-help" "^5.1.11" - "@oclif/plugin-not-found" "^2.3.1" - "@oclif/plugin-warn-if-update-available" "^2.0.4" - aws-sdk "^2.1069.0" - concurrently "^7.0.0" - debug "^4.3.3" - find-yarn-workspace-root "^2.0.0" - fs-extra "^8.1" - github-slugger "^1.4.0" - lodash "^4.17.21" - normalize-package-data "^3.0.3" - qqjs "^0.3.11" - semver "^7.3.5" - tslib "^2.3.1" - yeoman-environment "^3.9.1" - yeoman-generator "^5.6.1" - yosay "^2.0.2" +object-treeify@^1.1.33, object-treeify@^1.1.4: + version "1.1.33" + resolved "https://registry.yarnpkg.com/object-treeify/-/object-treeify-1.1.33.tgz#f06fece986830a3cba78ddd32d4c11d1f76cdf40" + integrity sha512-EFVjAYfzWqWsBMRHPMAXLCDIJnpMhdWAqR7xG6M6a2cs6PMFpl/+Z20w9zDW4vkxOFfddegBKq9Rehd0bxWE7A== once@^1.3.0, once@^1.3.1, once@^1.4.0: version "1.4.0" @@ -8523,6 +9523,13 @@ once@^1.3.0, once@^1.3.1, once@^1.4.0: dependencies: wrappy "1" +onetime@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/onetime/-/onetime-2.0.1.tgz#067428230fd67443b2794b22bba528b6867962d4" + integrity sha512-oyyPpiMaKARvvcgip+JV+7zci5L8D1W9RZIz2l1o08AM3pfspitVWnPt3mzHcBPp12oYMTy0pqrFs/C+m3EwsQ== + dependencies: + mimic-fn "^1.0.0" + onetime@^5.1.0, onetime@^5.1.2: version "5.1.2" resolved "https://registry.yarnpkg.com/onetime/-/onetime-5.1.2.tgz#d0e96ebb56b07476df1dd9c4806e5237985ca45e" @@ -8530,6 +9537,13 @@ onetime@^5.1.0, onetime@^5.1.2: dependencies: mimic-fn "^2.1.0" +onetime@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/onetime/-/onetime-6.0.0.tgz#7c24c18ed1fd2e9bca4bd26806a33613c77d34b4" + integrity sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ== + dependencies: + mimic-fn "^4.0.0" + ora@^5.4.1: version "5.4.1" resolved "https://registry.yarnpkg.com/ora/-/ora-5.4.1.tgz#1b2678426af4ac4a509008e5e4ac9e9959db9e18" @@ -8550,6 +9564,11 @@ os-tmpdir@~1.0.2: resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" integrity sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g== +p-cancelable@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/p-cancelable/-/p-cancelable-1.1.0.tgz#d078d15a3af409220c886f1d9a0ca2e441ab26cc" + integrity sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw== + p-defer@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/p-defer/-/p-defer-3.0.0.tgz#d1dceb4ee9b2b604b1d94ffec83760175d4e6f83" @@ -8563,11 +9582,6 @@ p-fifo@^1.0.0: fast-fifo "^1.0.0" p-defer "^3.0.0" -p-finally@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" - integrity sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow== - p-limit@^2.2.0: version "2.3.0" resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.3.0.tgz#3dd33c647a214fdfffd835933eb086da0dc21db1" @@ -8575,7 +9589,7 @@ p-limit@^2.2.0: dependencies: p-try "^2.0.0" -p-limit@^3.0.2, p-limit@^3.1.0: +p-limit@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-3.1.0.tgz#e1daccbe78d0d1388ca18c64fea38e3e57e3706b" integrity sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ== @@ -8589,43 +9603,6 @@ p-locate@^4.1.0: dependencies: p-limit "^2.2.0" -p-locate@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-5.0.0.tgz#83c8315c6785005e3bd021839411c9e110e6d834" - integrity sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw== - dependencies: - p-limit "^3.0.2" - -p-map@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/p-map/-/p-map-4.0.0.tgz#bb2f95a5eda2ec168ec9274e06a747c3e2904d2b" - integrity sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ== - dependencies: - aggregate-error "^3.0.0" - -p-queue@^6.6.2: - version "6.6.2" - resolved "https://registry.yarnpkg.com/p-queue/-/p-queue-6.6.2.tgz#2068a9dcf8e67dd0ec3e7a2bcb76810faa85e426" - integrity sha512-RwFpb72c/BhQLEXIZ5K2e+AhgNVmIejGlTgiB9MzZ0e93GRvqZ7uSi0dvRF7/XIXDeNkra2fNHBxTyPDGySpjQ== - dependencies: - eventemitter3 "^4.0.4" - p-timeout "^3.2.0" - -p-timeout@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/p-timeout/-/p-timeout-3.2.0.tgz#c7e17abc971d2a7962ef83626b35d635acf23dfe" - integrity sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg== - dependencies: - p-finally "^1.0.0" - -p-transform@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/p-transform/-/p-transform-1.3.0.tgz#2da960ba92c6a56efbe75cbd1edf3ea7b3191049" - integrity sha512-UJKdSzgd3KOnXXAtqN5+/eeHcvTn1hBkesEmElVgvO/NAYcxAvmjzIGmnNd3Tb/gRAvMBdNRFD4qAWdHxY6QXg== - dependencies: - debug "^4.3.2" - p-queue "^6.6.2" - p-try@^2.0.0: version "2.2.0" resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" @@ -8636,61 +9613,21 @@ package-json-type@^1.0.3: resolved "https://registry.yarnpkg.com/package-json-type/-/package-json-type-1.0.3.tgz#f869b8abb094ae0e5bdd7a01355eeddcdf3fb597" integrity sha512-Bey4gdRuOwDbS8Fj1qA3/pTq5r8pqiI5E3tjSqCdhaLSsyGG364VFzXLTIexN5AaNGe/vgdBzLfoKdr7EVg2KQ== -pacote@^12.0.0, pacote@^12.0.2: - version "12.0.3" - resolved "https://registry.yarnpkg.com/pacote/-/pacote-12.0.3.tgz#b6f25868deb810e7e0ddf001be88da2bcaca57c7" - integrity sha512-CdYEl03JDrRO3x18uHjBYA9TyoW8gy+ThVcypcDkxPtKlw76e4ejhYB6i9lJ+/cebbjpqPW/CijjqxwDTts8Ow== +package-json@^6.3.0: + version "6.5.0" + resolved "https://registry.yarnpkg.com/package-json/-/package-json-6.5.0.tgz#6feedaca35e75725876d0b0e64974697fed145b0" + integrity sha512-k3bdm2n25tkyxcjSKzB5x8kfVxlMdgsbPr0GkZcwHsLpba6cBjqCt1KlcChKEvxHIcTB1FVMuwoijZ26xex5MQ== dependencies: - "@npmcli/git" "^2.1.0" - "@npmcli/installed-package-contents" "^1.0.6" - "@npmcli/promise-spawn" "^1.2.0" - "@npmcli/run-script" "^2.0.0" - cacache "^15.0.5" - chownr "^2.0.0" - fs-minipass "^2.1.0" - infer-owner "^1.0.4" - minipass "^3.1.3" - mkdirp "^1.0.3" - npm-package-arg "^8.0.1" - npm-packlist "^3.0.0" - npm-pick-manifest "^6.0.0" - npm-registry-fetch "^12.0.0" - promise-retry "^2.0.1" - read-package-json-fast "^2.0.1" - rimraf "^3.0.2" - ssri "^8.0.1" - tar "^6.1.0" - -pad-component@0.0.1: - version "0.0.1" - resolved "https://registry.yarnpkg.com/pad-component/-/pad-component-0.0.1.tgz#ad1f22ce1bf0fdc0d6ddd908af17f351a404b8ac" - integrity sha512-8EKVBxCRSvLnsX1p2LlSFSH3c2/wuhY9/BXXWu8boL78FbVKqn2L5SpURt1x5iw6Gq8PTqJ7MdPoe5nCtX3I+g== + got "^9.6.0" + registry-auth-token "^4.0.0" + registry-url "^5.0.0" + semver "^6.2.0" pako@^2.0.2, pako@^2.0.4: version "2.0.4" resolved "https://registry.yarnpkg.com/pako/-/pako-2.0.4.tgz#6cebc4bbb0b6c73b0d5b8d7e8476e2b2fbea576d" integrity sha512-v8tweI900AUkZN6heMU/4Uy4cXRc2AYNRggVmTR+dEncawDJgCdLMximOVA2p4qO57WMynangsfGRb5WD6L1Bg== -parse-asn1@^5.0.0, parse-asn1@^5.1.5: - version "5.1.6" - resolved "https://registry.yarnpkg.com/parse-asn1/-/parse-asn1-5.1.6.tgz#385080a3ec13cb62a62d39409cb3e88844cdaed4" - integrity sha512-RnZRo1EPU6JBnra2vGHj0yhp6ebyjBZpmUCLHWiFhxlzvBCCpAuZ7elsBp1PVAbQN0/04VD/19rfzlBSwLstMw== - dependencies: - asn1.js "^5.2.0" - browserify-aes "^1.0.0" - evp_bytestokey "^1.0.0" - pbkdf2 "^3.0.3" - safe-buffer "^5.1.1" - -parse-conflict-json@^2.0.1: - version "2.0.2" - resolved "https://registry.yarnpkg.com/parse-conflict-json/-/parse-conflict-json-2.0.2.tgz#3d05bc8ffe07d39600dc6436c6aefe382033d323" - integrity sha512-jDbRGb00TAPFsKWCpZZOT93SxVP9nONOSgES3AevqRq/CHvavEBvKAjxX9p5Y5F0RZLxH9Ufd9+RwtCsa+lFDA== - dependencies: - json-parse-even-better-errors "^2.3.1" - just-diff "^5.0.1" - just-diff-apply "^5.2.0" - parse-duration@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/parse-duration/-/parse-duration-1.0.2.tgz#b9aa7d3a1363cc7e8845bea8fd3baf8a11df5805" @@ -8708,15 +9645,7 @@ parse-entities@^2.0.0: is-decimal "^1.0.0" is-hexadecimal "^1.0.0" -parse-json@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-4.0.0.tgz#be35f5425be1f7f6c747184f98a788cb99477ee0" - integrity sha512-aOIos8bujGN93/8Ox/jPLh7RwVnPEysynVFE+fQZyg6jKELEHwzgKdLRFHUgXJL6kylijVSBC4BvN9OmsB48Rw== - dependencies: - error-ex "^1.3.1" - json-parse-better-errors "^1.0.1" - -parse-json@^5.0.0, parse-json@^5.2.0: +parse-json@^5.2.0: version "5.2.0" resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-5.2.0.tgz#c76fc66dee54231c962b22bcc8a72cf2f99753cd" integrity sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg== @@ -8726,6 +9655,11 @@ parse-json@^5.0.0, parse-json@^5.2.0: json-parse-even-better-errors "^2.3.0" lines-and-columns "^1.1.6" +parse-package-name@1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/parse-package-name/-/parse-package-name-1.0.0.tgz#1a108757e4ffc6889d5e78bcc4932a97c097a5a7" + integrity sha512-kBeTUtcj+SkyfaW4+KBe0HtsloBJ/mKTPoxpVdA57GZiPerREsUWJOhVj9anXweFiJkm5y8FG1sxFZkZ0SN6wg== + password-prompt@^1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/password-prompt/-/password-prompt-1.1.2.tgz#85b2f93896c5bd9e9f2d6ff0627fa5af3dc00923" @@ -8744,7 +9678,7 @@ path-is-absolute@^1.0.0: resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg== -path-key@^2.0.0, path-key@^2.0.1: +path-key@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" integrity sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw== @@ -8754,17 +9688,30 @@ path-key@^3.0.0, path-key@^3.1.0: resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== +path-key@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/path-key/-/path-key-4.0.0.tgz#295588dc3aee64154f877adb9d780b81c554bf18" + integrity sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ== + path-parse@^1.0.7: version "1.0.7" resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== +path-scurry@^1.11.1: + version "1.11.1" + resolved "https://registry.yarnpkg.com/path-scurry/-/path-scurry-1.11.1.tgz#7960a668888594a0720b12a911d1a742ab9f11d2" + integrity sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA== + dependencies: + lru-cache "^10.2.0" + minipass "^5.0.0 || ^6.0.2 || ^7.0.0" + path-type@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== -pbkdf2@^3.0.3: +pbkdf2@^3.0.16: version "3.1.2" resolved "https://registry.yarnpkg.com/pbkdf2/-/pbkdf2-3.1.2.tgz#dd822aa0887580e52f1a039dc3eda108efae3075" integrity sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA== @@ -8785,20 +9732,20 @@ picocolors@^1.0.0: resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c" integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== +picocolors@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-1.0.1.tgz#a8ad579b571952f0e5d25892de5445bcfe25aaa1" + integrity sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew== + picomatch@^2.0.4, picomatch@^2.2.3, picomatch@^2.3.1: version "2.3.1" resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== -pify@^2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" - integrity sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog== - -pify@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/pify/-/pify-4.0.1.tgz#4b2cd25c50d598735c50292224fd8c6df41e3231" - integrity sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g== +pidtree@~0.6.0: + version "0.6.0" + resolved "https://registry.yarnpkg.com/pidtree/-/pidtree-0.6.0.tgz#90ad7b6d42d5841e69e0a2419ef38f8883aa057c" + integrity sha512-eG2dWTVw5bzqGRztnHExczNxt5VGsE6OwTeCG3fdUf9KBsZzO3R5OIIIzWR+iZA0NtZ+RDVdaoE2dK1cn6jH4g== pino-std-serializers@^3.1.0: version "3.2.0" @@ -8830,26 +9777,21 @@ pkg-dir@^4.2.0: dependencies: find-up "^4.0.0" -preferred-pm@^3.0.3: - version "3.0.3" - resolved "https://registry.yarnpkg.com/preferred-pm/-/preferred-pm-3.0.3.tgz#1b6338000371e3edbce52ef2e4f65eb2e73586d6" - integrity sha512-+wZgbxNES/KlJs9q40F/1sfOd/j7f1O9JaHcW5Dsn3aUUOZg3L2bjpVUcKV2jvtElYfoTuQiNeMfQJ4kwUAhCQ== - dependencies: - find-up "^5.0.0" - find-yarn-workspace-root2 "1.2.16" - path-exists "^4.0.0" - which-pm "2.0.0" +prepend-http@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-2.0.0.tgz#e92434bfa5ea8c19f41cdfd401d741a3c819d897" + integrity sha512-ravE6m9Atw9Z/jjttRUZ+clIXogdghyZAuWJ3qEzjT+jI/dL1ifAqhZeC5VHzQp1MSt1+jxKkFNemj/iO7tVUA== + +prettier@3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.1.0.tgz#c6d16474a5f764ea1a4a373c593b779697744d5e" + integrity sha512-TQLvXjq5IAibjh8EpBIkNKxO749UEWABoiIZehEPiY4GNpVdhaFKqSTu+QrlU6D2dPAfubRmtJTi4K4YkQ5eXw== -prettier@^2.3.1: +prettier@^2.3.1, prettier@^2.6.2: version "2.8.8" resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da" integrity sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q== -pretty-bytes@^5.3.0: - version "5.6.0" - resolved "https://registry.yarnpkg.com/pretty-bytes/-/pretty-bytes-5.6.0.tgz#356256f643804773c82f64723fe78c92c62beaeb" - integrity sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg== - pretty-format@^29.0.0, pretty-format@^29.6.2: version "29.6.2" resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-29.6.2.tgz#3d5829261a8a4d89d8b9769064b29c50ed486a47" @@ -8859,44 +9801,11 @@ pretty-format@^29.0.0, pretty-format@^29.6.2: ansi-styles "^5.0.0" react-is "^18.0.0" -proc-log@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/proc-log/-/proc-log-1.0.0.tgz#0d927307401f69ed79341e83a0b2c9a13395eb77" - integrity sha512-aCk8AO51s+4JyuYGg3Q/a6gnrlDO09NpVWePtjp7xwphcoQ04x5WAfCyugcsbLooWcMJ87CLkD4+604IckEdhg== - -process-nextick-args@^2.0.0, process-nextick-args@~2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2" - integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag== - process-warning@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/process-warning/-/process-warning-1.0.0.tgz#980a0b25dc38cd6034181be4b7726d89066b4616" integrity sha512-du4wfLyj4yCZq1VupnVSZmRsPJsNuxoDQFdCFHLaYiEbFBD7QE0a+I4D7hOxrVnh78QE/YipFAj9lXHiXocV+Q== -promise-all-reject-late@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/promise-all-reject-late/-/promise-all-reject-late-1.0.1.tgz#f8ebf13483e5ca91ad809ccc2fcf25f26f8643c2" - integrity sha512-vuf0Lf0lOxyQREH7GDIOUMLS7kz+gs8i6B+Yi8dC68a2sychGrHTJYghMBD6k7eUcH0H5P73EckCA48xijWqXw== - -promise-call-limit@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/promise-call-limit/-/promise-call-limit-1.0.1.tgz#4bdee03aeb85674385ca934da7114e9bcd3c6e24" - integrity sha512-3+hgaa19jzCGLuSCbieeRsu5C2joKfYn8pY6JAuXFRVfF4IO+L7UPpFWNTeWT9pM7uhskvbPPd/oEOktCn317Q== - -promise-inflight@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/promise-inflight/-/promise-inflight-1.0.1.tgz#98472870bf228132fcbdd868129bad12c3c029e3" - integrity sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g== - -promise-retry@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/promise-retry/-/promise-retry-2.0.1.tgz#ff747a13620ab57ba688f5fc67855410c370da22" - integrity sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g== - dependencies: - err-code "^2.0.2" - retry "^0.12.0" - prompts@^2.0.1: version "2.4.2" resolved "https://registry.yarnpkg.com/prompts/-/prompts-2.4.2.tgz#7b57e73b3a48029ad10ebd44f74b01722a4cb069" @@ -8917,7 +9826,7 @@ property-information@^5.0.0: dependencies: xtend "^4.0.0" -protobufjs@^6.10.2, protobufjs@^6.8.8, protobufjs@~6.11.2, protobufjs@~6.11.3: +protobufjs@^6.10.2, protobufjs@^6.8.8: version "6.11.3" resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-6.11.3.tgz#637a527205a35caa4f3e2a9a4a13ddffe0e7af74" integrity sha512-xL96WDdCZYdU7Slin569tFX712BxsxslWwAfAhCYjQKGTq7dAU91Lomy6nLLhh/dyGhk/YH4TwTSRxTzhuHyZg== @@ -8936,23 +9845,29 @@ protobufjs@^6.10.2, protobufjs@^6.8.8, protobufjs@~6.11.2, protobufjs@~6.11.3: "@types/node" ">=13.7.0" long "^4.0.0" +protobufjs@^7.2.5: + version "7.3.2" + resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-7.3.2.tgz#60f3b7624968868f6f739430cfbc8c9370e26df4" + integrity sha512-RXyHaACeqXeqAKGLDl68rQKbmObRsTIn4TYVUUug1KfS47YWCo5MacGITEryugIgZqORCvJWEk4l449POg5Txg== + dependencies: + "@protobufjs/aspromise" "^1.1.2" + "@protobufjs/base64" "^1.1.2" + "@protobufjs/codegen" "^2.0.4" + "@protobufjs/eventemitter" "^1.1.0" + "@protobufjs/fetch" "^1.1.0" + "@protobufjs/float" "^1.0.2" + "@protobufjs/inquire" "^1.1.0" + "@protobufjs/path" "^1.1.2" + "@protobufjs/pool" "^1.1.0" + "@protobufjs/utf8" "^1.1.0" + "@types/node" ">=13.7.0" + long "^5.0.0" + proxy-from-env@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2" integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg== -public-encrypt@^4.0.0: - version "4.0.3" - resolved "https://registry.yarnpkg.com/public-encrypt/-/public-encrypt-4.0.3.tgz#4fcc9d77a07e48ba7527e7cbe0de33d0701331e0" - integrity sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q== - dependencies: - bn.js "^4.1.0" - browserify-rsa "^4.0.0" - create-hash "^1.1.0" - parse-asn1 "^5.0.0" - randombytes "^2.0.1" - safe-buffer "^5.1.2" - pump@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.0.tgz#b4a2116815bde2f4e1ea602354e8c75565107a64" @@ -8961,40 +9876,23 @@ pump@^3.0.0: end-of-stream "^1.1.0" once "^1.3.1" -punycode@1.3.2: - version "1.3.2" - resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.3.2.tgz#9653a036fb7c1ee42342f2325cceefea3926c48d" - integrity sha512-RofWgt/7fL5wP1Y7fxE7/EmTLzQVnB0ycyibJ0OOHIlJqTNzglYFxVwETOcIoJqJmpDXJ9xImDv+Fq34F/d4Dw== - punycode@^2.1.0: version "2.1.1" resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== +pupa@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/pupa/-/pupa-2.1.1.tgz#f5e8fd4afc2c5d97828faa523549ed8744a20d62" + integrity sha512-l1jNAspIBSFqbT+y+5FosojNpVpF94nlI+wDUpqP9enwOTfHx9f0gh5nB96vl+6yTpsJsypeNrwfzPrKuHB41A== + dependencies: + escape-goat "^2.0.0" + pure-rand@^6.0.0: version "6.0.2" resolved "https://registry.yarnpkg.com/pure-rand/-/pure-rand-6.0.2.tgz#a9c2ddcae9b68d736a8163036f088a2781c8b306" integrity sha512-6Yg0ekpKICSjPswYOuC5sku/TSWaRYlA0qsXqJgM/d/4pLPHPuTxK7Nbf7jFKzAeedUhR8C7K9Uv63FBsSo8xQ== -qqjs@^0.3.11: - version "0.3.11" - resolved "https://registry.yarnpkg.com/qqjs/-/qqjs-0.3.11.tgz#795b9f7d00807d75c391b1241b5be3077143d9ea" - integrity sha512-pB2X5AduTl78J+xRSxQiEmga1jQV0j43jOPs/MTgTLApGFEOn6NgdE2dEjp7nvDtjkIOZbvFIojAiYUx6ep3zg== - dependencies: - chalk "^2.4.1" - debug "^4.1.1" - execa "^0.10.0" - fs-extra "^6.0.1" - get-stream "^5.1.0" - glob "^7.1.2" - globby "^10.0.1" - http-call "^5.1.2" - load-json-file "^6.2.0" - pkg-dir "^4.2.0" - tar-fs "^2.0.0" - tmp "^0.1.0" - write-json-file "^4.1.1" - qs@^6.9.4: version "6.11.0" resolved "https://registry.yarnpkg.com/qs/-/qs-6.11.0.tgz#fd0d963446f7a65e1367e01abd85429453f0c37a" @@ -9002,11 +9900,6 @@ qs@^6.9.4: dependencies: side-channel "^1.0.4" -querystring@0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/querystring/-/querystring-0.2.0.tgz#b209849203bb25df820da756e747005878521620" - integrity sha512-X/xY82scca2tau62i9mDyU9K+I+djTMUsvwf7xnUX5GLvVzgJybOJf4Y6o9Zx3oJK/LSXg5tTZBjwzqVPaPO2g== - queue-microtask@^1.2.2: version "1.2.3" resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243" @@ -9017,20 +9910,22 @@ quick-format-unescaped@^4.0.3: resolved "https://registry.yarnpkg.com/quick-format-unescaped/-/quick-format-unescaped-4.0.4.tgz#93ef6dd8d3453cbc7970dd614fad4c5954d6b5a7" integrity sha512-tYC1Q1hgyRuHgloV/YXs2w15unPVh8qfu/qCTfhTYamaw7fyhumKa2yGpdSo87vY32rIclj+4fWYQXUMs9EHvg== -randombytes@^2.0.0, randombytes@^2.0.1, randombytes@^2.0.5, randombytes@^2.1.0: +randombytes@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ== dependencies: safe-buffer "^5.1.0" -randomfill@^1.0.3: - version "1.0.4" - resolved "https://registry.yarnpkg.com/randomfill/-/randomfill-1.0.4.tgz#c92196fc86ab42be983f1bf31778224931d61458" - integrity sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw== +rc@1.2.8, rc@^1.2.8: + version "1.2.8" + resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed" + integrity sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw== dependencies: - randombytes "^2.0.5" - safe-buffer "^5.1.0" + deep-extend "^0.6.0" + ini "~1.3.0" + minimist "^1.2.0" + strip-json-comments "~2.0.1" react-is@^18.0.0: version "18.2.0" @@ -9044,52 +9939,14 @@ react-native-fetch-api@^2.0.0: dependencies: p-defer "^3.0.0" -read-cmd-shim@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/read-cmd-shim/-/read-cmd-shim-3.0.1.tgz#868c235ec59d1de2db69e11aec885bc095aea087" - integrity sha512-kEmDUoYf/CDy8yZbLTmhB1X9kkjf9Q80PCNsDMb7ufrGd6zZSQA1+UyjrO+pZm5K/S4OXCWJeiIt1JA8kAsa6g== - -read-package-json-fast@^2.0.1, read-package-json-fast@^2.0.2, read-package-json-fast@^2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/read-package-json-fast/-/read-package-json-fast-2.0.3.tgz#323ca529630da82cb34b36cc0b996693c98c2b83" - integrity sha512-W/BKtbL+dUjTuRL2vziuYhp76s5HZ9qQhd/dKfWIZveD0O40453QNyZhC0e63lqZrAQ4jiOapVoeJ7JrszenQQ== - dependencies: - json-parse-even-better-errors "^2.3.0" - npm-normalize-package-bin "^1.0.1" - -read-pkg-up@^7.0.1: - version "7.0.1" - resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-7.0.1.tgz#f3a6135758459733ae2b95638056e1854e7ef507" - integrity sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg== +react-native-fetch-api@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/react-native-fetch-api/-/react-native-fetch-api-3.0.0.tgz#81e1bb6562c292521bc4eca52fe1097f4c1ebab5" + integrity sha512-g2rtqPjdroaboDKTsJCTlcmtw54E25OjyaunUP0anOZn4Fuo2IKs8BVfe02zVggA/UysbmfSnRJIqtNkAgggNA== dependencies: - find-up "^4.1.0" - read-pkg "^5.2.0" - type-fest "^0.8.1" + p-defer "^3.0.0" -read-pkg@^5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-5.2.0.tgz#7bf295438ca5a33e56cd30e053b34ee7250c93cc" - integrity sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg== - dependencies: - "@types/normalize-package-data" "^2.4.0" - normalize-package-data "^2.5.0" - parse-json "^5.0.0" - type-fest "^0.6.0" - -readable-stream@^2.0.2, readable-stream@^2.3.5: - version "2.3.7" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.7.tgz#1eca1cf711aef814c04f62252a36a62f6cb23b57" - integrity sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw== - dependencies: - core-util-is "~1.0.0" - inherits "~2.0.3" - isarray "~1.0.0" - process-nextick-args "~2.0.0" - safe-buffer "~5.1.1" - string_decoder "~1.1.1" - util-deprecate "~1.0.1" - -readable-stream@^3.1.1, readable-stream@^3.4.0, readable-stream@^3.6.0: +readable-stream@^3.4.0, readable-stream@^3.6.0: version "3.6.0" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198" integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA== @@ -9098,16 +9955,6 @@ readable-stream@^3.1.1, readable-stream@^3.4.0, readable-stream@^3.6.0: string_decoder "^1.1.1" util-deprecate "^1.0.1" -readdir-scoped-modules@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/readdir-scoped-modules/-/readdir-scoped-modules-1.1.0.tgz#8d45407b4f870a0dcaebc0e28670d18e74514309" - integrity sha512-asaikDeqAQg7JifRsZn1NJZXo9E+VwlyCfbkZhwyISinqk5zNS6266HS5kah6P0SaQKGF6SkNnZVHUzHFYxYDw== - dependencies: - debuglog "^1.0.1" - dezalgo "^1.0.0" - graceful-fs "^4.1.2" - once "^1.3.0" - readonly-date@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/readonly-date/-/readonly-date-1.0.0.tgz#5af785464d8c7d7c40b9d738cbde8c646f97dcd9" @@ -9144,19 +9991,67 @@ reflect-metadata@^0.1.13: resolved "https://registry.yarnpkg.com/reflect-metadata/-/reflect-metadata-0.1.13.tgz#67ae3ca57c972a2aa1642b10fe363fe32d49dc08" integrity sha512-Ts1Y/anZELhSsjMcU605fU9RE4Oi3p5ORujwbIKXfWa+0Zxs510Qrmrce5/Jowq3cHSZSJqBjypxmHarc+vEWg== +regenerate-unicode-properties@^10.1.0: + version "10.1.1" + resolved "https://registry.yarnpkg.com/regenerate-unicode-properties/-/regenerate-unicode-properties-10.1.1.tgz#6b0e05489d9076b04c436f318d9b067bba459480" + integrity sha512-X007RyZLsCJVVrjgEFVpLUTZwyOZk3oiL75ZcuYjlIWd6rNJtOjkBwQc5AsRrpbKVkxN6sklw/k/9m2jJYOf8Q== + dependencies: + regenerate "^1.4.2" + +regenerate@^1.4.2: + version "1.4.2" + resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.4.2.tgz#b9346d8827e8f5a32f7ba29637d398b69014848a" + integrity sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A== + regenerator-runtime@^0.13.4: version "0.13.9" resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz#8925742a98ffd90814988d7566ad30ca3b263b52" integrity sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA== -regexp.prototype.flags@^1.4.3: - version "1.4.3" - resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.4.3.tgz#87cab30f80f66660181a3bb7bf5981a872b367ac" - integrity sha512-fjggEOO3slI6Wvgjwflkc4NFRCTZAu5CnNfBd5qOMYhWdn67nJBBu34/TkD++eeFmd8C9r9jfXJ27+nSiRkSUA== +regenerator-runtime@^0.14.0: + version "0.14.1" + resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz#356ade10263f685dda125100cd862c1db895327f" + integrity sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw== + +regenerator-transform@^0.15.2: + version "0.15.2" + resolved "https://registry.yarnpkg.com/regenerator-transform/-/regenerator-transform-0.15.2.tgz#5bbae58b522098ebdf09bca2f83838929001c7a4" + integrity sha512-hfMp2BoF0qOk3uc5V20ALGDS2ddjQaLrdl7xrGXvAIow7qeWRM2VA2HuCHkUKk9slq3VwEwLNK3DFBqDfPGYtg== dependencies: - call-bind "^1.0.2" - define-properties "^1.1.3" - functions-have-names "^1.2.2" + "@babel/runtime" "^7.8.4" + +regexpu-core@^5.3.1: + version "5.3.2" + resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-5.3.2.tgz#11a2b06884f3527aec3e93dbbf4a3b958a95546b" + integrity sha512-RAM5FlZz+Lhmo7db9L298p2vHP5ZywrVXmVXpmAD9GuL5MPH6t9ROw1iA/wfHkQ76Qe7AaPF0nGuim96/IrQMQ== + dependencies: + "@babel/regjsgen" "^0.8.0" + regenerate "^1.4.2" + regenerate-unicode-properties "^10.1.0" + regjsparser "^0.9.1" + unicode-match-property-ecmascript "^2.0.0" + unicode-match-property-value-ecmascript "^2.1.0" + +registry-auth-token@^4.0.0: + version "4.2.2" + resolved "https://registry.yarnpkg.com/registry-auth-token/-/registry-auth-token-4.2.2.tgz#f02d49c3668884612ca031419491a13539e21fac" + integrity sha512-PC5ZysNb42zpFME6D/XlIgtNGdTl8bBOCw90xQLVMpzuuubJKYDWFAEuUNc+Cn8Z8724tg2SDhDRrkVEsqfDMg== + dependencies: + rc "1.2.8" + +registry-url@^5.0.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/registry-url/-/registry-url-5.1.0.tgz#e98334b50d5434b81136b44ec638d9c2009c5009" + integrity sha512-8acYXXTI0AkQv6RAOjE3vOaIXZkT9wo4LOFbBKYQEEnnMNBpKqdUrI6S4NT0KPIo/WVvJ5tE/X5LF/TQUf0ekw== + dependencies: + rc "^1.2.8" + +regjsparser@^0.9.1: + version "0.9.1" + resolved "https://registry.yarnpkg.com/regjsparser/-/regjsparser-0.9.1.tgz#272d05aa10c7c1f67095b1ff0addae8442fc5709" + integrity sha512-dQUtn90WanSNl+7mQKcXAgZxvUe7Z0SqXlgzv0za4LwiUhyzBC58yQO3liFoUgu8GiJVInAhJjkj1N0EtQ5nkQ== + dependencies: + jsesc "~0.5.0" remark-gfm@^1.0.0: version "1.0.0" @@ -9198,21 +10093,11 @@ remark@^13.0.0: remark-stringify "^9.0.0" unified "^9.1.0" -remove-trailing-separator@^1.0.1: - version "1.1.0" - resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz#c24bce2a283adad5bc3f58e0d48249b92379d8ef" - integrity sha512-/hS+Y0u3aOfIETiaiirUFwDBDzmXPvO+jAfKTitUngIPzdKc6Z0LoFjM/CK5PL4C+eKwHohlHAb6H0VFfmmUsw== - repeat-string@^1.0.0: version "1.6.1" resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637" integrity sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w== -replace-ext@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/replace-ext/-/replace-ext-1.0.1.tgz#2d6d996d04a15855d967443631dd5f77825b016a" - integrity sha512-yD5BHCe7quCgBph4rMQ+0KkIRKwWCrHDOX1p1Gp6HwjPM5kVoCdKGNhN7ydqqsX6lJEnQDKZ/tFMiEdQ1dvPEw== - require-directory@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" @@ -9235,7 +10120,7 @@ resolve.exports@^2.0.0: resolved "https://registry.yarnpkg.com/resolve.exports/-/resolve.exports-2.0.2.tgz#f8c934b8e6a13f539e38b7098e2e36134f01e800" integrity sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg== -resolve@^1.1.6, resolve@^1.10.0: +resolve@^1.1.6: version "1.22.1" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.1.tgz#27cb2ebb53f91abb49470a928bba7558066ac177" integrity sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw== @@ -9244,6 +10129,15 @@ resolve@^1.1.6, resolve@^1.10.0: path-parse "^1.0.7" supports-preserve-symlinks-flag "^1.0.0" +resolve@^1.14.2: + version "1.22.8" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.8.tgz#b6c87a9f2aa06dfab52e3d70ac8cde321fa5a48d" + integrity sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw== + dependencies: + is-core-module "^2.13.0" + path-parse "^1.0.7" + supports-preserve-symlinks-flag "^1.0.0" + resolve@^1.20.0: version "1.22.2" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.2.tgz#0ed0943d4e301867955766c9f3e1ae6d01c6845f" @@ -9253,6 +10147,21 @@ resolve@^1.20.0: path-parse "^1.0.7" supports-preserve-symlinks-flag "^1.0.0" +responselike@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/responselike/-/responselike-1.0.2.tgz#918720ef3b631c5642be068f15ade5a46f4ba1e7" + integrity sha512-/Fpe5guzJk1gPqdJLJR5u7eG/gNY4nImjbRDaVWVMRhne55TCmj2i9Q+54PBRfatRC8v/rIiv9BN0pMd9OV5EQ== + dependencies: + lowercase-keys "^1.0.0" + +restore-cursor@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-2.0.0.tgz#9f7ee287f82fd326d4fd162923d62129eee0dfaf" + integrity sha512-6IzJLuGi4+R14vwagDHX+JrXmPVtPpn4mffDJ1UdR7/Edm87fl6yi8mMBIVvFtJaNTUvjughmW4hwLhRG7gC1Q== + dependencies: + onetime "^2.0.0" + signal-exit "^3.0.2" + restore-cursor@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-3.1.0.tgz#39f67c54b3a7a58cea5236d95cf0034239631f7e" @@ -9261,45 +10170,53 @@ restore-cursor@^3.1.0: onetime "^5.1.0" signal-exit "^3.0.2" +restore-cursor@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-4.0.0.tgz#519560a4318975096def6e609d44100edaa4ccb9" + integrity sha512-I9fPXU9geO9bHOt9pHHOhOkYerIMsmVaWB0rA2AI9ERh/+x/i7MV5HKBNrg+ljO5eoPVgCcnFuRjJ9uH6I/3eg== + dependencies: + onetime "^5.1.0" + signal-exit "^3.0.2" + retimer@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/retimer/-/retimer-2.0.0.tgz#e8bd68c5e5a8ec2f49ccb5c636db84c04063bbca" integrity sha512-KLXY85WkEq2V2bKex/LOO1ViXVn2KGYe4PYysAdYdjmraYIUsVkXu8O4am+8+5UbaaGl1qho4aqAAPHNQ4GSbg== -retry-as-promised@^6.1.0: - version "6.1.0" - resolved "https://registry.yarnpkg.com/retry-as-promised/-/retry-as-promised-6.1.0.tgz#11eca9a0f97804d552ec8e74bc4eb839bd226dc4" - integrity sha512-Hj/jY+wFC+SB9SDlIIFWiGOHnNG0swYbGYsOj2BJ8u2HKUaobNKab0OIC0zOLYzDy0mb7A4xA5BMo4LMz5YtEA== +retimer@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/retimer/-/retimer-3.0.0.tgz#98b751b1feaf1af13eb0228f8ea68b8f9da530df" + integrity sha512-WKE0j11Pa0ZJI5YIk0nflGI7SQsfl2ljihVy7ogh7DeQSeYAUi0ubZ/yEueGtDfUPk6GH5LRw1hBdLq4IwUBWA== retry-as-promised@^7.0.3: version "7.0.4" resolved "https://registry.yarnpkg.com/retry-as-promised/-/retry-as-promised-7.0.4.tgz#9df73adaeea08cb2948b9d34990549dc13d800a2" integrity sha512-XgmCoxKWkDofwH8WddD0w85ZfqYz+ZHlr5yo+3YUCfycWawU56T5ckWXsScsj5B8tqUcIG67DxXByo3VUgiAdA== -retry@^0.12.0: - version "0.12.0" - resolved "https://registry.yarnpkg.com/retry/-/retry-0.12.0.tgz#1b42a6266a21f07421d1b0b54b7dc167b01c013b" - integrity sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow== - reusify@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76" integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== -rimraf@^2.6.3: - version "2.7.1" - resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec" - integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w== - dependencies: - glob "^7.1.3" +rfdc@^1.3.1: + version "1.4.1" + resolved "https://registry.yarnpkg.com/rfdc/-/rfdc-1.4.1.tgz#778f76c4fb731d93414e8f925fbecf64cce7f6ca" + integrity sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA== -rimraf@^3.0.0, rimraf@^3.0.2: +rimraf@3.0.2, rimraf@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== dependencies: glob "^7.1.3" +rimraf@5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-5.0.0.tgz#5bda14e410d7e4dd522154891395802ce032c2cb" + integrity sha512-Jf9llaP+RvaEVS5nPShYFhtXIrb3LRKP281ib3So0KkeZKo2wIKyq0Re7TOSwanasA423PSr6CCIL4bP6T040g== + dependencies: + glob "^10.0.0" + ripemd160@^2.0.0, ripemd160@^2.0.1: version "2.0.2" resolved "https://registry.yarnpkg.com/ripemd160/-/ripemd160-2.0.2.tgz#a1c1a6f624751577ba5d07914cbc92850585890c" @@ -9313,7 +10230,7 @@ rotating-file-stream@^3.0.2: resolved "https://registry.yarnpkg.com/rotating-file-stream/-/rotating-file-stream-3.0.4.tgz#158e21aa229020b1443607e771c634f00bd7bbf1" integrity sha512-Zd+IA5soqBUKtCa7KfMRnF7GKEaRav/dJFU7UHc+r1FMd8VvMLUFE0q1HX5s6XJO1cZ6jAqtTa/ZFnjc7IqlJA== -run-async@^2.0.0, run-async@^2.4.0: +run-async@^2.2.0, run-async@^2.3.0, run-async@^2.4.0: version "2.4.1" resolved "https://registry.yarnpkg.com/run-async/-/run-async-2.4.1.tgz#8440eccf99ea3e70bd409d49aab88e10c189a455" integrity sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ== @@ -9325,14 +10242,26 @@ run-parallel@^1.1.9: dependencies: queue-microtask "^1.2.2" -rxjs@^6.6.2: +rx-lite-aggregates@^4.0.8: + version "4.0.8" + resolved "https://registry.yarnpkg.com/rx-lite-aggregates/-/rx-lite-aggregates-4.0.8.tgz#753b87a89a11c95467c4ac1626c4efc4e05c67be" + integrity sha512-3xPNZGW93oCjiO7PtKxRK6iOVYBWBvtf9QHDfU23Oc+dLIQmAV//UnyXV/yihv81VS/UqoQPk4NegS8EFi55Hg== + dependencies: + rx-lite "*" + +rx-lite@*, rx-lite@^4.0.8: + version "4.0.8" + resolved "https://registry.yarnpkg.com/rx-lite/-/rx-lite-4.0.8.tgz#0b1e11af8bc44836f04a6407e92da42467b79444" + integrity sha512-Cun9QucwK6MIrp3mry/Y7hqD1oFqTYLQ4pGxaHTjIdaFDWRGGLikqp6u8LcWJnzpoALg9hap+JGk8sFIUuEGNA== + +rxjs@^6.4.0, rxjs@^6.6.2: version "6.6.7" resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.6.7.tgz#90ac018acabf491bf65044235d5863c4dab804c9" integrity sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ== dependencies: tslib "^1.9.0" -rxjs@^7.0.0, rxjs@^7.5.5, rxjs@^7.5.6: +rxjs@^7.5.5, rxjs@^7.5.6: version "7.5.6" resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.5.6.tgz#0446577557862afd6903517ce7cae79ecb9662bc" integrity sha512-dnyv2/YsXhnm461G+R/Pe5bWP41Nm6LBXEYWI6eiFP4fiwx6WRI/CD0zbdVAudd9xwLEF2IDcKXLHit0FYjUzw== @@ -9346,30 +10275,20 @@ rxjs@^7.8.1: dependencies: tslib "^2.1.0" -safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@~5.2.0: +safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@~5.2.0: version "5.2.1" resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== -safe-buffer@~5.1.0, safe-buffer@~5.1.1: - version "5.1.2" - resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" - integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== - -"safer-buffer@>= 2.1.2 < 3", "safer-buffer@>= 2.1.2 < 3.0.0", safer-buffer@^2.1.0: +"safer-buffer@>= 2.1.2 < 3", "safer-buffer@>= 2.1.2 < 3.0.0": version "2.1.2" resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== -sax@1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.1.tgz#7b8e656190b228e81a66aea748480d828cd2d37a" - integrity sha512-8I2a3LovHTOpm7NV5yOyO8IHqgVsfK4+UuySrXU8YXkSRX7k6hCV9b3HrkKCr3nMpgj+0bmocaJJWpvp1oc7ZA== - -sax@>=0.6.0: - version "1.2.4" - resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9" - integrity sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw== +scale-ts@^1.6.0: + version "1.6.0" + resolved "https://registry.yarnpkg.com/scale-ts/-/scale-ts-1.6.0.tgz#e9641093c5a9e50f964ddb1607139034e3e932e9" + integrity sha512-Ja5VCjNZR8TGKhUumy9clVVxcDpM+YFjAnkMuwQy68Hixio3VRRvWdE3g8T/yC+HXA0ZDQl2TGyUmtmbcVl40Q== schema-utils@^3.1.1: version "3.1.1" @@ -9389,12 +10308,24 @@ schema-utils@^3.2.0: ajv "^6.12.5" ajv-keywords "^3.5.2" -scoped-regex@^2.0.0: +scrypt-js@3.0.1, scrypt-js@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/scrypt-js/-/scrypt-js-3.0.1.tgz#d314a57c2aef69d1ad98a138a21fe9eafa9ee312" + integrity sha512-cdwTTnqPu0Hyvf5in5asVdZocVDTNRmR7XEcJuIzMjJeSHybHl7vpB66AzwTaIg6CLSbtjcxc8fqcySfnTkccA== + +scryptsy@^2.1.0: version "2.1.0" - resolved "https://registry.yarnpkg.com/scoped-regex/-/scoped-regex-2.1.0.tgz#7b9be845d81fd9d21d1ec97c61a0b7cf86d2015f" - integrity sha512-g3WxHrqSWCZHGHlSrF51VXFdjImhwvH8ZO/pryFH56Qi0cDsZfylQa/t0jCzVQFNbNvM00HfHjkDPEuarKDSWQ== + resolved "https://registry.yarnpkg.com/scryptsy/-/scryptsy-2.1.0.tgz#8d1e8d0c025b58fdd25b6fa9a0dc905ee8faa790" + integrity sha512-1CdSqHQowJBnMAFyPEBRfqag/YP9OF394FV+4YREIJX4ljD7OxvQRDayyoyyCk+senRjSkP6VnUNQmVQqB6g7w== + +semver-diff@^3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/semver-diff/-/semver-diff-3.1.1.tgz#05f77ce59f325e00e2706afd67bb506ddb1ca32b" + integrity sha512-GX0Ix/CJcHyB8c4ykpHGIAvLyOwOobtM/8d+TQkAd81/bEjgPHrfba41Vpesr7jX/t8Uh+R3EX9eAS5be+jQYg== + dependencies: + semver "^6.3.0" -"semver@2 || 3 || 4 || 5", semver@^5.5.0: +semver@^5.5.0: version "5.7.1" resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== @@ -9404,12 +10335,12 @@ semver@^6.0.0: resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== -semver@^6.3.0, semver@^6.3.1: +semver@^6.1.1, semver@^6.1.2, semver@^6.2.0, semver@^6.3.0, semver@^6.3.1: version "6.3.1" resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4" integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== -semver@^7.1.1, semver@^7.1.3, semver@^7.2.1, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7: +semver@^7.3.2, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7: version "7.3.7" resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.7.tgz#12c5b649afdbf9049707796e22a4028814ce523f" integrity sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g== @@ -9423,55 +10354,16 @@ semver@^7.5.2, semver@^7.5.3: dependencies: lru-cache "^6.0.0" +semver@^7.5.4: + version "7.6.2" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.2.tgz#1e3b34759f896e8f14d6134732ce798aeb0c6e13" + integrity sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w== + sequelize-pool@^7.1.0: version "7.1.0" resolved "https://registry.yarnpkg.com/sequelize-pool/-/sequelize-pool-7.1.0.tgz#210b391af4002762f823188fd6ecfc7413020768" integrity sha512-G9c0qlIWQSK29pR/5U2JF5dDQeqqHRragoyahj/Nx4KOOQ3CPPfzxnfqFPCSB7x5UgjOgnZ61nSxz+fjDpRlJg== -sequelize@6.28.0: - version "6.28.0" - resolved "https://registry.yarnpkg.com/sequelize/-/sequelize-6.28.0.tgz#d6bc4e36647e8501635467c0777c45a33f5d5ba8" - integrity sha512-+WHqvUQgTp19GLkt+gyQ+F6qg+FIEO2O5F9C0TOYV/PjZ2a/XwWvVkL1NCkS4VSIjVVvAUutiW6Wv9ofveGaVw== - dependencies: - "@types/debug" "^4.1.7" - "@types/validator" "^13.7.1" - debug "^4.3.3" - dottie "^2.0.2" - inflection "^1.13.2" - lodash "^4.17.21" - moment "^2.29.1" - moment-timezone "^0.5.34" - pg-connection-string "^2.5.0" - retry-as-promised "^7.0.3" - semver "^7.3.5" - sequelize-pool "^7.1.0" - toposort-class "^1.0.1" - uuid "^8.3.2" - validator "^13.7.0" - wkx "^0.5.0" - -sequelize@^6.6.2: - version "6.21.6" - resolved "https://registry.yarnpkg.com/sequelize/-/sequelize-6.21.6.tgz#4e94b65fec9db212655130cc13dd8780e45aac33" - integrity sha512-dM3VqyhdCznAv2HY0zIdeFLTEt+Jnv54o6UaBm0pFGB+Ke9ax5AxBeF4BD9vwiON0gBk+ZJ8WZHQSnIq/POuvA== - dependencies: - "@types/debug" "^4.1.7" - "@types/validator" "^13.7.1" - debug "^4.3.3" - dottie "^2.0.2" - inflection "^1.13.2" - lodash "^4.17.21" - moment "^2.29.1" - moment-timezone "^0.5.34" - pg-connection-string "^2.5.0" - retry-as-promised "^6.1.0" - semver "^7.3.5" - sequelize-pool "^7.1.0" - toposort-class "^1.0.1" - uuid "^8.3.2" - validator "^13.7.0" - wkx "^0.5.0" - serialize-javascript@^6.0.1: version "6.0.1" resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-6.0.1.tgz#b206efb27c3da0b0ab6b52f48d170b7996458e5c" @@ -9479,11 +10371,6 @@ serialize-javascript@^6.0.1: dependencies: randombytes "^2.1.0" -set-blocking@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" - integrity sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw== - setprototypeof@1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.2.0.tgz#66c9a24a73f9fc28cbe66b09fed3d33dcaf1b424" @@ -9528,12 +10415,7 @@ shebang-regex@^3.0.0: resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== -shell-quote@^1.7.3: - version "1.7.3" - resolved "https://registry.yarnpkg.com/shell-quote/-/shell-quote-1.7.3.tgz#aa40edac170445b9a431e17bb62c0b881b9c4123" - integrity sha512-Vpfqwm4EnqGdlsBFNmHhxhElJYrdfcxPThu+ryKS5J8L/fhAwLazFZtq+S+TWZ9ANj2piSQLGj6NQg+lKPmxrw== - -shelljs@^0.8.5: +shelljs@0.8.5: version "0.8.5" resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.8.5.tgz#de055408d8361bed66c669d2f000538ced8ee20c" integrity sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow== @@ -9551,11 +10433,16 @@ side-channel@^1.0.4: get-intrinsic "^1.0.2" object-inspect "^1.9.0" -signal-exit@^3.0.0, signal-exit@^3.0.2, signal-exit@^3.0.3, signal-exit@^3.0.7: +signal-exit@^3.0.2, signal-exit@^3.0.3, signal-exit@^3.0.7: version "3.0.7" resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== +signal-exit@^4.0.1, signal-exit@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-4.1.0.tgz#952188c1cbd546070e2dd20d0f41c0ae0530cb04" + integrity sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw== + simple-git@^3.16.0: version "3.19.1" resolved "https://registry.yarnpkg.com/simple-git/-/simple-git-3.19.1.tgz#ff9c021961a3d876a1b115b1893bed9a28855d30" @@ -9575,10 +10462,30 @@ slash@^3.0.0: resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634" integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== -smart-buffer@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/smart-buffer/-/smart-buffer-4.2.0.tgz#6e1d71fa4f18c05f7d0ff216dd16a481d0e8d9ae" - integrity sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg== +slice-ansi@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-4.0.0.tgz#500e8dd0fd55b05815086255b3195adf2a45fe6b" + integrity sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ== + dependencies: + ansi-styles "^4.0.0" + astral-regex "^2.0.0" + is-fullwidth-code-point "^3.0.0" + +slice-ansi@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-5.0.0.tgz#b73063c57aa96f9cd881654b15294d95d285c42a" + integrity sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ== + dependencies: + ansi-styles "^6.0.0" + is-fullwidth-code-point "^4.0.0" + +slice-ansi@^7.0.0: + version "7.1.0" + resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-7.1.0.tgz#cd6b4655e298a8d1bdeb04250a433094b347b9a9" + integrity sha512-bSiSngZ/jWeX93BqeIAbImyTbEihizcwNjFoRUIY/T1wWQsfsm2Vw1agPKylXvQTU7iASGdHhyqRlqQzfz+Htg== + dependencies: + ansi-styles "^6.2.1" + is-fullwidth-code-point "^5.0.0" smoldot@1.0.4: version "1.0.4" @@ -9588,45 +10495,19 @@ smoldot@1.0.4: pako "^2.0.4" ws "^8.8.1" -smoldot@2.0.7: - version "2.0.7" - resolved "https://registry.yarnpkg.com/smoldot/-/smoldot-2.0.7.tgz#407efd6bbb82a074612db4d056d631d8d615f442" - integrity sha512-VAOBqEen6vises36/zgrmAT1GWk2qE3X8AGnO7lmQFdskbKx8EovnwS22rtPAG+Y1Rk23/S22kDJUdPANyPkBA== +smoldot@2.0.22: + version "2.0.22" + resolved "https://registry.yarnpkg.com/smoldot/-/smoldot-2.0.22.tgz#1e924d2011a31c57416e79a2b97a460f462a31c7" + integrity sha512-B50vRgTY6v3baYH6uCgL15tfaag5tcS2o/P5q1OiXcKGv1axZDfz2dzzMuIkVpyMR2ug11F6EAtQlmYBQd292g== dependencies: ws "^8.8.1" -socks-proxy-agent@^6.0.0: - version "6.2.1" - resolved "https://registry.yarnpkg.com/socks-proxy-agent/-/socks-proxy-agent-6.2.1.tgz#2687a31f9d7185e38d530bef1944fe1f1496d6ce" - integrity sha512-a6KW9G+6B3nWZ1yB8G7pJwL3ggLy1uTzKAgCb7ttblwqdz9fMGJUuTy3uFzEP48FAs9FLILlmzDlE2JJhVQaXQ== - dependencies: - agent-base "^6.0.2" - debug "^4.3.3" - socks "^2.6.2" - -socks-proxy-agent@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/socks-proxy-agent/-/socks-proxy-agent-7.0.0.tgz#dc069ecf34436621acb41e3efa66ca1b5fed15b6" - integrity sha512-Fgl0YPZ902wEsAyiQ+idGd1A7rSFx/ayC1CQVMw5P+EQx2V0SgpGtf6OKFhVjPflPUl9YMmEOnmfjCdMUsygww== - dependencies: - agent-base "^6.0.2" - debug "^4.3.3" - socks "^2.6.2" - -socks@^2.6.2: - version "2.7.0" - resolved "https://registry.yarnpkg.com/socks/-/socks-2.7.0.tgz#f9225acdb841e874dca25f870e9130990f3913d0" - integrity sha512-scnOe9y4VuiNUULJN72GrM26BNOjVsfPXI+j+98PkyEfsIXroa5ofyjT+FzGvn/xHs73U2JtoBYAVx9Hl4quSA== - dependencies: - ip "^2.0.0" - smart-buffer "^4.2.0" - -sodium-native@^4.0.1: - version "4.0.4" - resolved "https://registry.yarnpkg.com/sodium-native/-/sodium-native-4.0.4.tgz#561b7c39c97789f8202d6fd224845fe2e8cd6879" - integrity sha512-faqOKw4WQKK7r/ybn6Lqo1F9+L5T6NlBJJYvpxbZPetpWylUVqz449mvlwIBKBqxEHbWakWuOlUt8J3Qpc4sWw== +sodium-native@^4.1.1: + version "4.1.1" + resolved "https://registry.yarnpkg.com/sodium-native/-/sodium-native-4.1.1.tgz#109bc924dd55c13db87c6dd30da047487595723c" + integrity sha512-LXkAfRd4FHtkQS4X6g+nRcVaN7mWVNepV06phIsC6+IZFvGh1voW5TNQiQp2twVaMf05gZqQjuS+uWLM6gHhNQ== dependencies: - node-gyp-build "^4.6.0" + node-gyp-build "^4.8.0" sonic-boom@^1.0.2: version "1.4.1" @@ -9636,30 +10517,6 @@ sonic-boom@^1.0.2: atomic-sleep "^1.0.0" flatstr "^1.0.12" -soroban-client@0.9.2: - version "0.9.2" - resolved "https://registry.yarnpkg.com/soroban-client/-/soroban-client-0.9.2.tgz#5abe4ab69abc7af9a152038bef550f7e2a72ec6e" - integrity sha512-PPQLvAQTF/y56ev9V9wdMze/K49u1Cj6F9rkiUlRy++wCpSAVjiRYG+duolYvjkzUFPon56xlgAc7tuP4EolWA== - dependencies: - axios "^1.4.0" - bignumber.js "^9.1.1" - buffer "^6.0.3" - detect-node "^2.0.4" - es6-promise "^4.2.4" - eventsource "^2.0.2" - lodash "^4.17.21" - randombytes "^2.1.0" - stellar-base "10.0.0-soroban.4" - toml "^3.0.0" - urijs "^1.19.1" - -sort-keys@^4.0.0, sort-keys@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/sort-keys/-/sort-keys-4.2.0.tgz#6b7638cee42c506fff8c1cecde7376d21315be18" - integrity sha512-aUYIEU/UviqPgc8mHR6IW1EGxkAXpeRETYcrzg8cLAvUPZcpAlleSXHV2mY7G12GphSH6Gzv+4MMVSSkbdteHg== - dependencies: - is-plain-obj "^2.0.0" - source-map-support@0.5.13: version "0.5.13" resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.13.tgz#31b24a9c2e73c2de85066c0feb7d44767ed52932" @@ -9686,56 +10543,11 @@ space-separated-tokens@^1.0.0: resolved "https://registry.yarnpkg.com/space-separated-tokens/-/space-separated-tokens-1.1.5.tgz#85f32c3d10d9682007e917414ddc5c26d1aa6899" integrity sha512-q/JSVd1Lptzhf5bkYm4ob4iWPjx0KiRe3sRFBNrVqbJkFaBm5vbbowy1mymoPNLRa52+oadOhJ+K49wsSeSjTA== -spawn-command@^0.0.2-1: - version "0.0.2-1" - resolved "https://registry.yarnpkg.com/spawn-command/-/spawn-command-0.0.2-1.tgz#62f5e9466981c1b796dc5929937e11c9c6921bd0" - integrity sha512-n98l9E2RMSJ9ON1AKisHzz7V42VDiBQGY6PB1BwRglz99wpVsSuGzQ+jOi6lFXBGVTCrRpltvjm+/XA+tpeJrg== - -spdx-correct@^3.0.0: - version "3.1.1" - resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-3.1.1.tgz#dece81ac9c1e6713e5f7d1b6f17d468fa53d89a9" - integrity sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w== - dependencies: - spdx-expression-parse "^3.0.0" - spdx-license-ids "^3.0.0" - -spdx-exceptions@^2.1.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz#3f28ce1a77a00372683eade4a433183527a2163d" - integrity sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A== - -spdx-expression-parse@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz#cf70f50482eefdc98e3ce0a6833e4a53ceeba679" - integrity sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q== - dependencies: - spdx-exceptions "^2.1.0" - spdx-license-ids "^3.0.0" - -spdx-license-ids@^3.0.0: - version "3.0.12" - resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.12.tgz#69077835abe2710b65f03969898b6637b505a779" - integrity sha512-rr+VVSXtRhO4OHbXUiAF7xW3Bo9DuuF6C5jH+q/x15j2jniycgKbxU09Hr0WqlSLUs4i4ltHGXqTe7VHclYWyA== - sprintf-js@~1.0.2: version "1.0.3" resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" integrity sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g== -ssri@^8.0.0, ssri@^8.0.1: - version "8.0.1" - resolved "https://registry.yarnpkg.com/ssri/-/ssri-8.0.1.tgz#638e4e439e2ffbd2cd289776d5ca457c4f51a2af" - integrity sha512-97qShzy1AiyxvPNIkLWoGua7xoQzzPjQ0HAH4B0rWKo7SZ6USuPcrUiAFrws0UH8RrbWmgq3LMTObhPIHbbBeQ== - dependencies: - minipass "^3.1.1" - -ssri@^9.0.0: - version "9.0.1" - resolved "https://registry.yarnpkg.com/ssri/-/ssri-9.0.1.tgz#544d4c357a8d7b71a19700074b6883fcb4eae057" - integrity sha512-o57Wcn66jMQvfHG1FlYbWeZWW/dHZhJXjpIcTfXldXEk5nz5lStPo3mK0OJQfGR3RbZUlbISexbljkJzuEj/8Q== - dependencies: - minipass "^3.1.1" - stack-utils@^2.0.3: version "2.0.6" resolved "https://registry.yarnpkg.com/stack-utils/-/stack-utils-2.0.6.tgz#aaf0748169c02fc33c8232abccf933f54a1cc34f" @@ -9748,21 +10560,18 @@ stack-utils@^2.0.3: resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c" integrity sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA== -stellar-base@10.0.0-soroban.4: - version "10.0.0-soroban.4" - resolved "https://registry.yarnpkg.com/stellar-base/-/stellar-base-10.0.0-soroban.4.tgz#9baeaec1f750473cb0dc00c6fa0f3ec23cf7177d" - integrity sha512-Afl2Mlh+aXokIHhy2x67Df5ofbss83oAOHV7pHLI0fsPlxAgs7YtbClzkNxvpnXyxQI77PMIWFJbT17Y3dR/+A== +stellar-sdk@^11.2.0, stellar-sdk@^11.2.2: + version "11.3.0" + resolved "https://registry.yarnpkg.com/stellar-sdk/-/stellar-sdk-11.3.0.tgz#385105eac694bb469ec3924e79e796d5766ba7cd" + integrity sha512-xOp2zpQm5TIbgJi7wJhAmJh+Uy0ew5GbGtj1kZv6HEWHgSvW95xYMxGaw6MWM9r2YPUSQySboE6JwDc9jdx53A== dependencies: - base32.js "^0.1.0" - bignumber.js "^9.1.1" - buffer "^6.0.3" - crc "^4.3.2" - crypto-browserify "^3.12.0" - js-xdr "^3.0.0" - sha.js "^2.3.6" - tweetnacl "^1.0.3" - optionalDependencies: - sodium-native "^4.0.1" + "@stellar/stellar-base" "^11.0.1" + axios "^1.6.8" + bignumber.js "^9.1.2" + eventsource "^2.0.2" + randombytes "^2.1.0" + toml "^3.0.0" + urijs "^1.19.1" stream-to-it@^0.2.2: version "0.2.4" @@ -9771,6 +10580,11 @@ stream-to-it@^0.2.2: dependencies: get-iterator "^1.0.2" +string-argv@~0.3.2: + version "0.3.2" + resolved "https://registry.yarnpkg.com/string-argv/-/string-argv-0.3.2.tgz#2b6d0ef24b656274d957d54e0a4bbf6153dc02b6" + integrity sha512-aqD2Q0144Z+/RqG52NeHEkZauTAUWJO8c6yTftGJKO3Tja5tUgIfmIl6kExvhtxSDP7fXB6DvzkfMpCd/F3G+Q== + string-format@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/string-format/-/string-format-2.0.0.tgz#f2df2e7097440d3b65de31b6d40d54c96eaffb9b" @@ -9784,16 +10598,7 @@ string-length@^4.0.1: char-regex "^1.0.2" strip-ansi "^6.0.0" -string-width@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" - integrity sha512-0XsVpQLnVCXHJfyEs8tC0zpTVIr5PKKsQtkT29IwupnPTjtPmQ3xT/4yCREF9hYkV/3M3kzcUTSAZT6a6h81tw== - dependencies: - code-point-at "^1.0.0" - is-fullwidth-code-point "^1.0.0" - strip-ansi "^3.0.0" - -"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: +"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.0.0, string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.2, string-width@^4.2.3: version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -9802,7 +10607,7 @@ string-width@^1.0.1: is-fullwidth-code-point "^3.0.0" strip-ansi "^6.0.1" -string-width@^2.0.0: +string-width@^2.0.0, string-width@^2.1.0: version "2.1.1" resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" integrity sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw== @@ -9810,23 +10615,23 @@ string-width@^2.0.0: is-fullwidth-code-point "^2.0.0" strip-ansi "^4.0.0" -string.prototype.trimend@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/string.prototype.trimend/-/string.prototype.trimend-1.0.5.tgz#914a65baaab25fbdd4ee291ca7dde57e869cb8d0" - integrity sha512-I7RGvmjV4pJ7O3kdf+LXFpVfdNOxtCW/2C8f6jNiW4+PQchwxkCDzlk1/7p+Wl4bqFIZeF47qAHXLuHHWKAxog== +string-width@^5.0.1, string-width@^5.1.2: + version "5.1.2" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-5.1.2.tgz#14f8daec6d81e7221d2a357e668cab73bdbca794" + integrity sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA== dependencies: - call-bind "^1.0.2" - define-properties "^1.1.4" - es-abstract "^1.19.5" + eastasianwidth "^0.2.0" + emoji-regex "^9.2.2" + strip-ansi "^7.0.1" -string.prototype.trimstart@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/string.prototype.trimstart/-/string.prototype.trimstart-1.0.5.tgz#5466d93ba58cfa2134839f81d7f42437e8c01fef" - integrity sha512-THx16TJCGlsN0o6dl2o6ncWUsdgnLRSA23rRE5pyGBw/mLr3Ej/R2LaqCtgP8VNMGZsvMWnf9ooZPyY2bHvUFg== +string-width@^7.0.0: + version "7.1.0" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-7.1.0.tgz#d994252935224729ea3719c49f7206dc9c46550a" + integrity sha512-SEIJCWiX7Kg4c129n48aDRwLbFb2LJmXXFrWBG4NGaRtMQ3myKPKbwrD1BKqQn74oCoNMBVrfDEr5M9YxCsrkw== dependencies: - call-bind "^1.0.2" - define-properties "^1.1.4" - es-abstract "^1.19.5" + emoji-regex "^10.3.0" + get-east-asian-width "^1.0.0" + strip-ansi "^7.1.0" string_decoder@^1.1.1: version "1.3.0" @@ -9835,13 +10640,6 @@ string_decoder@^1.1.1: dependencies: safe-buffer "~5.2.0" -string_decoder@~1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8" - integrity sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg== - dependencies: - safe-buffer "~5.1.0" - stringify-entities@^3.0.1: version "3.1.0" resolved "https://registry.yarnpkg.com/stringify-entities/-/stringify-entities-3.1.0.tgz#b8d3feac256d9ffcc9fa1fefdcf3ca70576ee903" @@ -9851,7 +10649,14 @@ stringify-entities@^3.0.1: character-entities-legacy "^1.0.0" xtend "^4.0.0" -strip-ansi@^3.0.0, strip-ansi@^3.0.1: +"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + +strip-ansi@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" integrity sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg== @@ -9865,60 +10670,45 @@ strip-ansi@^4.0.0: dependencies: ansi-regex "^3.0.0" -strip-ansi@^6.0.0, strip-ansi@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" - integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== - dependencies: - ansi-regex "^5.0.1" - -strip-bom-buf@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/strip-bom-buf/-/strip-bom-buf-1.0.0.tgz#1cb45aaf57530f4caf86c7f75179d2c9a51dd572" - integrity sha512-1sUIL1jck0T1mhOLP2c696BIznzT525Lkub+n4jjMHjhjhoAQA6Ye659DxdlZBr0aLDMQoTxKIpnlqxgtwjsuQ== - dependencies: - is-utf8 "^0.2.1" - -strip-bom-stream@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/strip-bom-stream/-/strip-bom-stream-2.0.0.tgz#f87db5ef2613f6968aa545abfe1ec728b6a829ca" - integrity sha512-yH0+mD8oahBZWnY43vxs4pSinn8SMKAdml/EOGBewoe1Y0Eitd0h2Mg3ZRiXruUW6L4P+lvZiEgbh0NgUGia1w== +strip-ansi@^5.1.0: + version "5.2.0" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae" + integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA== dependencies: - first-chunk-stream "^2.0.0" - strip-bom "^2.0.0" + ansi-regex "^4.1.0" -strip-bom@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-2.0.0.tgz#6219a85616520491f35788bdbf1447a99c7e6b0e" - integrity sha512-kwrX1y7czp1E69n2ajbG65mIo9dqvJ+8aBQXOGVxqwvNbsXdFM6Lq37dLAY3mknUwru8CfcCbfOLL/gMo+fi3g== +strip-ansi@^7.0.1, strip-ansi@^7.1.0: + version "7.1.0" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45" + integrity sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ== dependencies: - is-utf8 "^0.2.0" - -strip-bom@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3" - integrity sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA== + ansi-regex "^6.0.1" strip-bom@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-4.0.0.tgz#9c3505c1db45bcedca3d9cf7a16f5c5aa3901878" integrity sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w== -strip-eof@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/strip-eof/-/strip-eof-1.0.0.tgz#bb43ff5598a6eb05d89b59fcd129c983313606bf" - integrity sha512-7FCwGGmx8mD5xQd3RPUvnSpUXHM3BWuzjtpD4TXsfcZ9EL4azvVVUscFYwD9nx8Kh+uCBC00XBtAykoMHwTh8Q== - strip-final-newline@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-2.0.0.tgz#89b852fb2fcbe936f6f4b3187afb0a12c1ab58ad" integrity sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA== +strip-final-newline@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-3.0.0.tgz#52894c313fbff318835280aed60ff71ebf12b8fd" + integrity sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw== + strip-json-comments@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== +strip-json-comments@~2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" + integrity sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ== + strip-markdown@^4.0.0: version "4.2.0" resolved "https://registry.yarnpkg.com/strip-markdown/-/strip-markdown-4.2.0.tgz#2a26eadf6cd358ac18faa7f53f60ccae10cbf120" @@ -9995,48 +10785,19 @@ table-layout@^1.0.2: typical "^5.2.0" wordwrapjs "^4.0.0" -taketalk@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/taketalk/-/taketalk-1.0.0.tgz#b4d4f0deed206ae7df775b129ea2ca6de52f26dd" - integrity sha512-kS7E53It6HA8S1FVFBWP7HDwgTiJtkmYk7TsowGlizzVrivR1Mf9mgjXHY1k7rOfozRVMZSfwjB3bevO4QEqpg== - dependencies: - get-stdin "^4.0.1" - minimist "^1.1.0" - tapable@^2.1.1, tapable@^2.2.0: version "2.2.1" resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.2.1.tgz#1967a73ef4060a82f12ab96af86d52fdb76eeca0" integrity sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ== -tar-fs@^2.0.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/tar-fs/-/tar-fs-2.1.1.tgz#489a15ab85f1f0befabb370b7de4f9eb5cbe8784" - integrity sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng== - dependencies: - chownr "^1.1.1" - mkdirp-classic "^0.5.2" - pump "^3.0.0" - tar-stream "^2.1.4" - -tar-stream@^2.1.4: - version "2.2.0" - resolved "https://registry.yarnpkg.com/tar-stream/-/tar-stream-2.2.0.tgz#acad84c284136b060dc3faa64474aa9aebd77287" - integrity sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ== - dependencies: - bl "^4.0.3" - end-of-stream "^1.4.1" - fs-constants "^1.0.0" - inherits "^2.0.3" - readable-stream "^3.1.1" - -tar@^6.0.2, tar@^6.1.0, tar@^6.1.11, tar@^6.1.2: - version "6.1.11" - resolved "https://registry.yarnpkg.com/tar/-/tar-6.1.11.tgz#6760a38f003afa1b2ffd0ffe9e9abbd0eab3d621" - integrity sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA== +tar@^6.2.1: + version "6.2.1" + resolved "https://registry.yarnpkg.com/tar/-/tar-6.2.1.tgz#717549c541bc3c2af15751bea94b1dd068d4b03a" + integrity sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A== dependencies: chownr "^2.0.0" fs-minipass "^2.0.0" - minipass "^3.0.0" + minipass "^5.0.0" minizlib "^2.1.1" mkdirp "^1.0.3" yallist "^4.0.0" @@ -10076,15 +10837,19 @@ text-encoding-utf-8@^1.0.2: resolved "https://registry.yarnpkg.com/text-encoding-utf-8/-/text-encoding-utf-8-1.0.2.tgz#585b62197b0ae437e3c7b5d0af27ac1021e10d13" integrity sha512-8bw4MY9WjdsD2aMtO0OzOCY3pXGYNx2d2FfHRVUKkiCPDWjKuOlhLVASS+pD7VkLTVjW268LYJHwsnPFlBpbAg== -text-table@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" - integrity sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw== +thenify-all@^1.0.0: + version "1.6.0" + resolved "https://registry.yarnpkg.com/thenify-all/-/thenify-all-1.6.0.tgz#1a1918d402d8fc3f98fbf234db0bcc8cc10e9726" + integrity sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA== + dependencies: + thenify ">= 3.1.0 < 4" -textextensions@^5.12.0, textextensions@^5.13.0: - version "5.15.0" - resolved "https://registry.yarnpkg.com/textextensions/-/textextensions-5.15.0.tgz#4bb3296ad6fc111cf4b39c589dd028d8aaaf7060" - integrity sha512-MeqZRHLuaGamUXGuVn2ivtU3LA3mLCCIO5kUGoohTCoGmCBg/+8yPhWVX9WSl9telvVd8erftjFk9Fwb2dD6rw== +"thenify@>= 3.1.0 < 4": + version "3.3.1" + resolved "https://registry.yarnpkg.com/thenify/-/thenify-3.3.1.tgz#8932e686a4066038a016dd9e2ca46add9838a95f" + integrity sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw== + dependencies: + any-promise "^1.0.0" through@^2.3.6: version "2.3.8" @@ -10099,6 +10864,21 @@ timeout-abort-controller@^1.1.1: abort-controller "^3.0.0" retimer "^2.0.0" +timeout-abort-controller@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/timeout-abort-controller/-/timeout-abort-controller-3.0.0.tgz#dd57ffca041652c03769904f8d95afd93fb95595" + integrity sha512-O3e+2B8BKrQxU2YRyEjC/2yFdb33slI22WRdUaDx6rvysfi9anloNZyR2q0l6LnePo5qH7gSM7uZtvvwZbc2yA== + dependencies: + retimer "^3.0.0" + +timers-ext@^0.1.7: + version "0.1.8" + resolved "https://registry.yarnpkg.com/timers-ext/-/timers-ext-0.1.8.tgz#b4e442f10b7624a29dd2aa42c295e257150cf16c" + integrity sha512-wFH7+SEAcKfJpfLPkrgMPvvwnEtj8W4IurvEyrKsDleXnKLCDw71w8jltvfLa8Rm4qQxxT4jmDBYbJG/z7qoww== + dependencies: + es5-ext "^0.10.64" + next-tick "^1.1.0" + tmp@^0.0.33: version "0.0.33" resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9" @@ -10106,13 +10886,6 @@ tmp@^0.0.33: dependencies: os-tmpdir "~1.0.2" -tmp@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.1.0.tgz#ee434a4e22543082e294ba6201dcc6eafefa2877" - integrity sha512-J7Z2K08jbGcdA1kkQpJSqLF6T0tdQqpR2pnSUXsIchbPdTI9v3e85cLW0d6WDhwuAleOV71j2xWs8qMPfK7nKw== - dependencies: - rimraf "^2.6.3" - tmpl@1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.5.tgz#8683e0b902bb9c20c4f726e3c0b69f36518c07cc" @@ -10123,6 +10896,11 @@ to-fast-properties@^2.0.0: resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" integrity sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog== +to-readable-stream@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/to-readable-stream/-/to-readable-stream-1.0.0.tgz#ce0aa0c2f3df6adf852efb404a783e77c0475771" + integrity sha512-Iq25XBt6zD5npPhlLVXGFN3/gyR2/qODcKNNyTMd4vbm39HUaOiAM4PMq0eMVC/Tkxz+Zjdsc55g9yyz+Yq00Q== + to-regex-range@^5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4" @@ -10150,16 +10928,6 @@ tr46@~0.0.3: resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw== -tree-kill@^1.2.2: - version "1.2.2" - resolved "https://registry.yarnpkg.com/tree-kill/-/tree-kill-1.2.2.tgz#4ca09a9092c88b73a7cdc5e8a01b507b0790a0cc" - integrity sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A== - -treeverse@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/treeverse/-/treeverse-1.0.4.tgz#a6b0ebf98a1bca6846ddc7ecbc900df08cb9cd5f" - integrity sha512-whw60l7r+8ZU8Tu/Uc2yxtc4ZTZbR/PF3u1IPNKGQ6p8EICLb3Z2lAgoqw9bqYd8IkgnsaOcLzYHFckjqNsf0g== - trough@^1.0.0: version "1.0.5" resolved "https://registry.yarnpkg.com/trough/-/trough-1.0.5.tgz#b8b639cefad7d0bb2abd37d433ff8293efa5f406" @@ -10224,12 +10992,17 @@ ts-node@^10.9.1: v8-compile-cache-lib "^3.0.1" yn "3.1.1" +tslib@2.3.1: + version "2.3.1" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.3.1.tgz#e8a335add5ceae51aa261d32a490158ef042ef01" + integrity sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw== + tslib@^1.9.0: version "1.14.1" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== -tslib@^2, tslib@^2.0.0, tslib@^2.1.0, tslib@^2.3.1: +tslib@^2.0.0, tslib@^2.1.0, tslib@^2.3.1: version "2.4.0" resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.4.0.tgz#7cecaa7f073ce680a05847aa77be941098f36dc3" integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ== @@ -10249,13 +11022,6 @@ tslib@^2.6.1, tslib@^2.6.2: resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae" integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q== -tunnel-agent@^0.6.0: - version "0.6.0" - resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" - integrity sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w== - dependencies: - safe-buffer "^5.0.1" - tweetnacl@1.x.x, tweetnacl@^1.0.1, tweetnacl@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-1.0.3.tgz#ac0af71680458d8a6378d0d0d050ab1407d35596" @@ -10266,21 +11032,16 @@ type-detect@4.0.8: resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c" integrity sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g== +type-fest@^0.20.2: + version "0.20.2" + resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.20.2.tgz#1bf207f4b28f91583666cb5fbd327887301cd5f4" + integrity sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ== + type-fest@^0.21.3: version "0.21.3" resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.21.3.tgz#d260a24b0198436e133fa26a524a6d65fa3b2e37" integrity sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w== -type-fest@^0.6.0: - version "0.6.0" - resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.6.0.tgz#8d2a2370d3df886eb5c90ada1c5bf6188acf838b" - integrity sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg== - -type-fest@^0.8.1: - version "0.8.1" - resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.8.1.tgz#09e249ebde851d3b1e48d27c105444667f17b83d" - integrity sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA== - type@^1.0.1: version "1.2.0" resolved "https://registry.yarnpkg.com/type/-/type-1.2.0.tgz#848dd7698dafa3e54a6c479e759c4bc3f18847a0" @@ -10291,10 +11052,10 @@ type@^2.7.2: resolved "https://registry.yarnpkg.com/type/-/type-2.7.2.tgz#2376a15a3a28b1efa0f5350dcf72d24df6ef98d0" integrity sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw== -typechain@8.1.1: - version "8.1.1" - resolved "https://registry.yarnpkg.com/typechain/-/typechain-8.1.1.tgz#9c2e8012c2c4c586536fc18402dcd7034c4ff0bd" - integrity sha512-uF/sUvnXTOVF2FHKhQYnxHk4su4JjZR8vr4mA2mBaRwHTbwh0jIlqARz9XJr1tA0l7afJGvEa1dTSi4zt039LQ== +typechain@^8.3.1: + version "8.3.2" + resolved "https://registry.yarnpkg.com/typechain/-/typechain-8.3.2.tgz#1090dd8d9c57b6ef2aed3640a516bdbf01b00d73" + integrity sha512-x/sQYr5w9K7yv3es7jo4KTX05CLxOf7TRWwoHlrjRh8H82G64g+k7VuWPJlgMo6qrjfCulOdfBjiaDtmhFYD/Q== dependencies: "@types/prettier" "^2.1.1" debug "^4.3.1" @@ -10314,7 +11075,12 @@ typedarray-to-buffer@^3.1.5: dependencies: is-typedarray "^1.0.0" -typescript@^4.1.3, typescript@^4.7.4: +typescript@>=5.2.2, typescript@^5.2.2: + version "5.4.5" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.4.5.tgz#42ccef2c571fdbd0f6718b1d1f5e6e5ef006f611" + integrity sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ== + +typescript@^4.7.4: version "4.8.3" resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.8.3.tgz#d59344522c4bc464a65a730ac695007fdb66dd88" integrity sha512-goMHfm00nWPa8UvR/CPSvykqf6dVV8x/dp0c5mFTMTIu0u0FlGWRioyy7Nn0PGAdHxpJZnuO/ut+PpQ8UiHAig== @@ -10341,15 +11107,28 @@ uint8arrays@^3.0.0: dependencies: multiformats "^9.4.2" -unbox-primitive@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/unbox-primitive/-/unbox-primitive-1.0.2.tgz#29032021057d5e6cdbd08c5129c226dff8ed6f9e" - integrity sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw== +unicode-canonical-property-names-ecmascript@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz#301acdc525631670d39f6146e0e77ff6bbdebddc" + integrity sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ== + +unicode-match-property-ecmascript@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz#54fd16e0ecb167cf04cf1f756bdcc92eba7976c3" + integrity sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q== dependencies: - call-bind "^1.0.2" - has-bigints "^1.0.2" - has-symbols "^1.0.3" - which-boxed-primitive "^1.0.2" + unicode-canonical-property-names-ecmascript "^2.0.0" + unicode-property-aliases-ecmascript "^2.0.0" + +unicode-match-property-value-ecmascript@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.1.0.tgz#cb5fffdcd16a05124f5a4b0bf7c3770208acbbe0" + integrity sha512-qxkjQt6qjg/mYscYMC0XKRn3Rh0wFPlfxB0xkt9CfyTvpX1Ra0+rAmdX2QyAobptSEvuy4RtpPRui6XkV+8wjA== + +unicode-property-aliases-ecmascript@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.1.0.tgz#43d41e3be698bd493ef911077c9b131f827e8ccd" + integrity sha512-6t3foTQI9qne+OZoVQB/8x8rk2k1eVy1gRXhV3oFQ5T6R1dqQ1xtin3XqSlx3+ATBkliTaR/hHyJBm+LVPNM8w== unified@^9.1.0: version "9.2.2" @@ -10363,33 +11142,12 @@ unified@^9.1.0: trough "^1.0.0" vfile "^4.0.0" -unique-filename@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/unique-filename/-/unique-filename-1.1.1.tgz#1d69769369ada0583103a1e6ae87681b56573230" - integrity sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ== - dependencies: - unique-slug "^2.0.0" - -unique-filename@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/unique-filename/-/unique-filename-2.0.1.tgz#e785f8675a9a7589e0ac77e0b5c34d2eaeac6da2" - integrity sha512-ODWHtkkdx3IAR+veKxFV+VBkUMcN+FaqzUUd7IZzt+0zhDZFPFxhlqwPF3YQvMHx1TD0tdgYl+kuPnJ8E6ql7A== - dependencies: - unique-slug "^3.0.0" - -unique-slug@^2.0.0: - version "2.0.2" - resolved "https://registry.yarnpkg.com/unique-slug/-/unique-slug-2.0.2.tgz#baabce91083fc64e945b0f3ad613e264f7cd4e6c" - integrity sha512-zoWr9ObaxALD3DOPfjPSqxt4fnZiWblxHIgeWqW8x7UqDzEtHEQLzji2cuJYQFCU6KmoJikOYAZlrTHHebjx2w== - dependencies: - imurmurhash "^0.1.4" - -unique-slug@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/unique-slug/-/unique-slug-3.0.0.tgz#6d347cf57c8a7a7a6044aabd0e2d74e4d76dc7c9" - integrity sha512-8EyMynh679x/0gqE9fT9oilG+qEt+ibFyqjuVTsZn1+CMxH+XLlpvr2UZx4nVcCwTpx81nICr2JQFkM+HPLq4w== +unique-string@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/unique-string/-/unique-string-2.0.0.tgz#39c6451f81afb2749de2b233e3f7c5e8843bd89d" + integrity sha512-uNaeirEPvpZWSgzwsPGtU2zVSTrn/8L5q/IexZmH0eH6SA73CmAA5U4GwORTxQAZs95TAXLNqeLoPPNO5gZfWg== dependencies: - imurmurhash "^0.1.4" + crypto-random-string "^2.0.0" unist-builder@^2.0.0: version "2.0.3" @@ -10435,11 +11193,6 @@ unist-util-visit@^2.0.0: unist-util-is "^4.0.0" unist-util-visit-parents "^3.0.0" -universal-user-agent@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/universal-user-agent/-/universal-user-agent-6.0.0.tgz#3381f8503b251c0d9cd21bc1de939ec9df5480ee" - integrity sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w== - universalify@^0.1.0: version "0.1.2" resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66" @@ -10450,11 +11203,6 @@ universalify@^2.0.0: resolved "https://registry.yarnpkg.com/universalify/-/universalify-2.0.0.tgz#75a4984efedc4b08975c5aeb73f530d02df25717" integrity sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ== -untildify@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/untildify/-/untildify-4.0.0.tgz#2bc947b953652487e4600949fb091e3ae8cd919b" - integrity sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw== - update-browserslist-db@^1.0.11: version "1.0.11" resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.11.tgz#9a2a641ad2907ae7b3616506f4b977851db5b940" @@ -10463,6 +11211,14 @@ update-browserslist-db@^1.0.11: escalade "^3.1.1" picocolors "^1.0.0" +update-browserslist-db@^1.0.16: + version "1.0.16" + resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.16.tgz#f6d489ed90fb2f07d67784eb3f53d7891f736356" + integrity sha512-KVbTxlBYlckhF5wgfyZXTWnMn7MMZjMu9XG8bPlliUOP9ThaF4QnhP8qrjrH7DRzHfSk0oQv1wToW+iA5GajEQ== + dependencies: + escalade "^3.1.2" + picocolors "^1.0.1" + update-browserslist-db@^1.0.5: version "1.0.7" resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.7.tgz#16279639cff1d0f800b14792de43d97df2d11b7d" @@ -10471,6 +11227,26 @@ update-browserslist-db@^1.0.5: escalade "^3.1.1" picocolors "^1.0.0" +update-notifier@5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/update-notifier/-/update-notifier-5.1.0.tgz#4ab0d7c7f36a231dd7316cf7729313f0214d9ad9" + integrity sha512-ItnICHbeMh9GqUy31hFPrD1kcuZ3rpxDZbf4KUDavXwS0bW5m7SLbDQpGX3UYr072cbrF5hFUs3r5tUsPwjfHw== + dependencies: + boxen "^5.0.0" + chalk "^4.1.0" + configstore "^5.0.1" + has-yarn "^2.1.0" + import-lazy "^2.1.0" + is-ci "^2.0.0" + is-installed-globally "^0.4.0" + is-npm "^5.0.0" + is-yarn-global "^0.3.0" + latest-version "^5.1.0" + pupa "^2.1.1" + semver "^7.3.4" + semver-diff "^3.1.1" + xdg-basedir "^4.0.0" + uri-js@^4.2.2: version "4.4.1" resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e" @@ -10483,13 +11259,12 @@ urijs@^1.19.1: resolved "https://registry.yarnpkg.com/urijs/-/urijs-1.19.11.tgz#204b0d6b605ae80bea54bea39280cdb7c9f923cc" integrity sha512-HXgFDgDommxn5/bIv0cnQZsPhHDA90NPHD6+c/v21U5+Sx5hoP8+dP9IZXBU1gIfvdRfhG8cel9QNPeionfcCQ== -url@0.10.3: - version "0.10.3" - resolved "https://registry.yarnpkg.com/url/-/url-0.10.3.tgz#021e4d9c7705f21bbf37d03ceb58767402774c64" - integrity sha512-hzSUW2q06EqL1gKM/a+obYHLIO6ct2hwPuviqTTOcfFVc61UbfJ2Q32+uGL/HCPxKqrdGB5QUwIe7UqlDgwsOQ== +url-parse-lax@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/url-parse-lax/-/url-parse-lax-3.0.0.tgz#16b5cafc07dbe3676c1b1999177823d6503acb0c" + integrity sha512-NjFKA0DidqPa5ciFcSrXnAltTtzz84ogy+NebPvfEgAck0+TNg4UJ4IN+fB7zRZfbgUf0syOo9MDxFkDSMuFaQ== dependencies: - punycode "1.3.2" - querystring "0.2.0" + prepend-http "^2.0.0" utf-8-validate@^5.0.2: version "5.0.9" @@ -10498,38 +11273,28 @@ utf-8-validate@^5.0.2: dependencies: node-gyp-build "^4.3.0" -util-deprecate@^1.0.1, util-deprecate@~1.0.1: +util-deprecate@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== -util@^0.12.4: - version "0.12.4" - resolved "https://registry.yarnpkg.com/util/-/util-0.12.4.tgz#66121a31420df8f01ca0c464be15dfa1d1850253" - integrity sha512-bxZ9qtSlGUWSOy9Qa9Xgk11kSslpuZwaxCg4sNIDj6FLucDab2JxnHwyNTCpHMtK1MjoQiWQ6DiUMZYbSrO+Sw== +util@^0.10.3: + version "0.10.4" + resolved "https://registry.yarnpkg.com/util/-/util-0.10.4.tgz#3aa0125bfe668a4672de58857d3ace27ecb76901" + integrity sha512-0Pm9hTQ3se5ll1XihRic3FDIku70C+iHUdT/W926rSgHV5QgXsYbKZN8MSC3tJtSkhuROzvsQjAaFENRXr+19A== dependencies: - inherits "^2.0.3" - is-arguments "^1.0.4" - is-generator-function "^1.0.7" - is-typed-array "^1.1.3" - safe-buffer "^5.1.2" - which-typed-array "^1.1.2" + inherits "2.0.3" -uuid@8.0.0: - version "8.0.0" - resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.0.0.tgz#bc6ccf91b5ff0ac07bbcdbf1c7c4e150db4dbb6c" - integrity sha512-jOXGuXZAWdsTH7eZLtyXMqUb9EcWMGZNbL9YcGBJl4MH4nrxHmZJhEHvyLFrkxo+28uLb/NYRcStH48fnD0Vzw== +uuid@8.3.2, uuid@^8.3.2: + version "8.3.2" + resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2" + integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg== uuid@^7.0.3: version "7.0.3" resolved "https://registry.yarnpkg.com/uuid/-/uuid-7.0.3.tgz#c5c9f2c8cf25dc0a372c4df1441c41f5bd0c680b" integrity sha512-DPSke0pXhTZgoF/d+WSt2QaKMCFSfx7QegxEWT+JOuHF5aWrKEn0G+ztjuJg/gG8/ItK+rbPCD/yNv8yyih6Cg== -uuid@^8.3.2: - version "8.3.2" - resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2" - integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg== - v8-compile-cache-lib@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz#6336e8d71965cb3d35a1bbb7868445a7c05264bf" @@ -10544,21 +11309,6 @@ v8-to-istanbul@^9.0.1: "@types/istanbul-lib-coverage" "^2.0.1" convert-source-map "^1.6.0" -validate-npm-package-license@^3.0.1: - version "3.0.4" - resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz#fc91f6b9c7ba15c857f4cb2c5defeec39d4f410a" - integrity sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew== - dependencies: - spdx-correct "^3.0.0" - spdx-expression-parse "^3.0.0" - -validate-npm-package-name@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz#5fa912d81eb7d0c74afc140de7317f0ca7df437e" - integrity sha512-M6w37eVCMMouJ9V/sdPGnC5H4uDr73/+xdq0FBLO3TFFX1+7wiUY6Es328NN+y43tmY+doUdN9g9J21vqB7iLw== - dependencies: - builtins "^1.0.3" - validator@^13.7.0: version "13.7.0" resolved "https://registry.yarnpkg.com/validator/-/validator-13.7.0.tgz#4f9658ba13ba8f3d82ee881d3516489ea85c0857" @@ -10592,47 +11342,11 @@ vfile@^4.0.0: unist-util-stringify-position "^2.0.0" vfile-message "^2.0.0" -vinyl-file@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/vinyl-file/-/vinyl-file-3.0.0.tgz#b104d9e4409ffa325faadd520642d0a3b488b365" - integrity sha512-BoJDj+ca3D9xOuPEM6RWVtWQtvEPQiQYn82LvdxhLWplfQsBzBqtgK0yhCP0s1BNTi6dH9BO+dzybvyQIacifg== - dependencies: - graceful-fs "^4.1.2" - pify "^2.3.0" - strip-bom-buf "^1.0.0" - strip-bom-stream "^2.0.0" - vinyl "^2.0.1" - -vinyl@^2.0.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/vinyl/-/vinyl-2.2.1.tgz#23cfb8bbab5ece3803aa2c0a1eb28af7cbba1974" - integrity sha512-LII3bXRFBZLlezoG5FfZVcXflZgWP/4dCwKtxd5ky9+LOtM4CS3bIRQsmR1KMnMW07jpE8fqR2lcxPZ+8sJIcw== - dependencies: - clone "^2.1.1" - clone-buffer "^1.0.0" - clone-stats "^1.0.0" - cloneable-readable "^1.0.0" - remove-trailing-separator "^1.0.1" - replace-ext "^1.0.0" - vlq@^2.0.4: version "2.0.4" resolved "https://registry.yarnpkg.com/vlq/-/vlq-2.0.4.tgz#6057b85729245b9829e3cc7755f95b228d4fe041" integrity sha512-aodjPa2wPQFkra1G8CzJBTHXhgk3EVSwxSWXNPr1fgdFLUb8kvLV1iEb6rFgasIsjP82HWI6dsb5Io26DDnasA== -vm2@^3.9.9: - version "3.9.11" - resolved "https://registry.yarnpkg.com/vm2/-/vm2-3.9.11.tgz#a880f510a606481719ec3f9803b940c5805a06fe" - integrity sha512-PFG8iJRSjvvBdisowQ7iVF580DXb1uCIiGaXgm7tynMR1uTBlv7UJlB1zdv5KJ+Tmq1f0Upnj3fayoEOPpCBKg== - dependencies: - acorn "^8.7.0" - acorn-walk "^8.2.0" - -walk-up-path@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/walk-up-path/-/walk-up-path-1.0.0.tgz#d4745e893dd5fd0dbb58dd0a4c6a33d9c9fec53e" - integrity sha512-hwj/qMDUEjCU5h0xr90KGCf0tg0/LgJbmOWgrWKYlcJZM7XvquvUJZ0G/HMGr7F7OQMOUuPHWP9JpriinkAlkg== - walker@^1.0.8: version "1.0.8" resolved "https://registry.yarnpkg.com/walker/-/walker-1.0.8.tgz#bd498db477afe573dc04185f011d3ab8a8d7653f" @@ -10640,6 +11354,30 @@ walker@^1.0.8: dependencies: makeerror "1.0.12" +wasm-ast-types@^0.25.0: + version "0.25.0" + resolved "https://registry.yarnpkg.com/wasm-ast-types/-/wasm-ast-types-0.25.0.tgz#9f4056803c99fae6899c1f226e46cf730d9fe2db" + integrity sha512-ZTjXuBqRf3ntxXmskO1TyTTr8UbmAZGr72JGGctizzpdokMtuLsk5q8jHaFUv/qgQni1KuBxZnHIyaj1lnZegQ== + dependencies: + "@babel/runtime" "^7.18.9" + "@babel/types" "7.18.10" + "@jest/transform" "28.1.3" + ast-stringify "0.1.0" + case "1.6.3" + deepmerge "4.2.2" + +wasm-ast-types@^0.26.4: + version "0.26.4" + resolved "https://registry.yarnpkg.com/wasm-ast-types/-/wasm-ast-types-0.26.4.tgz#cade0616c7158a0d05df8d6b8cac5cc098385fd1" + integrity sha512-bMxkQzc/+e7s5W+EBfurl/Y7KnTm0YPeg/cXjyio3PHULKWQULMREgyuJXJWaIa+8sKI1+OI61YeFSJBilm9YQ== + dependencies: + "@babel/runtime" "^7.18.9" + "@babel/types" "7.18.10" + "@jest/transform" "28.1.3" + ast-stringify "0.1.0" + case "1.6.3" + deepmerge "4.2.2" + watchpack@^2.4.0: version "2.4.0" resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-2.4.0.tgz#fa33032374962c78113f93c7f2fb4c54c9862a5d" @@ -10728,37 +11466,6 @@ whatwg-url@^5.0.0: tr46 "~0.0.3" webidl-conversions "^3.0.0" -which-boxed-primitive@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz#13757bc89b209b049fe5d86430e21cf40a89a8e6" - integrity sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg== - dependencies: - is-bigint "^1.0.1" - is-boolean-object "^1.1.0" - is-number-object "^1.0.4" - is-string "^1.0.5" - is-symbol "^1.0.3" - -which-pm@2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/which-pm/-/which-pm-2.0.0.tgz#8245609ecfe64bf751d0eef2f376d83bf1ddb7ae" - integrity sha512-Lhs9Pmyph0p5n5Z3mVnN0yWcbQYUAD7rbQUiMsQxOJ3T57k7RFe35SUwWMf7dsbDZks1uOmw4AecB/JMDj3v/w== - dependencies: - load-yaml-file "^0.2.0" - path-exists "^4.0.0" - -which-typed-array@^1.1.2: - version "1.1.8" - resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.8.tgz#0cfd53401a6f334d90ed1125754a42ed663eb01f" - integrity sha512-Jn4e5PItbcAHyLoRDwvPj1ypu27DJbtdYXUa5zsinrUx77Uvfb0cXwwnGMTn7cjUfhhqgVQnVJCwF+7cgU7tpw== - dependencies: - available-typed-arrays "^1.0.5" - call-bind "^1.0.2" - es-abstract "^1.20.0" - for-each "^0.3.3" - has-tostringtag "^1.0.0" - is-typed-array "^1.1.9" - which@^1.2.9: version "1.3.1" resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" @@ -10766,20 +11473,13 @@ which@^1.2.9: dependencies: isexe "^2.0.0" -which@^2.0.1, which@^2.0.2: +which@^2.0.1: version "2.0.2" resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1" integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== dependencies: isexe "^2.0.0" -wide-align@^1.1.2, wide-align@^1.1.5: - version "1.1.5" - resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.5.tgz#df1d4c206854369ecf3c9a4898f1b23fbd9d15d3" - integrity sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg== - dependencies: - string-width "^1.0.2 || 2 || 3 || 4" - widest-line@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/widest-line/-/widest-line-3.1.0.tgz#8292333bbf66cb45ff0de1603b136b7ae1496eca" @@ -10799,6 +11499,11 @@ wkx@^0.5.0: dependencies: "@types/node" "*" +wordwrap@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" + integrity sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q== + wordwrapjs@^4.0.0: version "4.0.1" resolved "https://registry.yarnpkg.com/wordwrapjs/-/wordwrapjs-4.0.1.tgz#d9790bccfb110a0fc7836b5ebce0937b37a8b98f" @@ -10807,24 +11512,7 @@ wordwrapjs@^4.0.0: reduce-flatten "^2.0.0" typical "^5.2.0" -wrap-ansi@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-2.1.0.tgz#d8fc3d284dd05794fe84973caecdd1cf824fdd85" - integrity sha512-vAaEaDM946gbNpH5pLVNR+vX2ht6n0Bt3GXwVB1AuAqZosOvHNF3P7wDnh8KLkSqgUh0uh77le7Owgoz+Z9XBw== - dependencies: - string-width "^1.0.1" - strip-ansi "^3.0.1" - -wrap-ansi@^6.2.0: - version "6.2.0" - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-6.2.0.tgz#e9393ba07102e6c91a3b221478f0257cd2856e53" - integrity sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA== - dependencies: - ansi-styles "^4.0.0" - string-width "^4.1.0" - strip-ansi "^6.0.0" - -wrap-ansi@^7.0.0: +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== @@ -10833,6 +11521,24 @@ wrap-ansi@^7.0.0: string-width "^4.1.0" strip-ansi "^6.0.0" +wrap-ansi@^8.1.0: + version "8.1.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214" + integrity sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ== + dependencies: + ansi-styles "^6.1.0" + string-width "^5.0.1" + strip-ansi "^7.0.1" + +wrap-ansi@^9.0.0: + version "9.0.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-9.0.0.tgz#1a3dc8b70d85eeb8398ddfb1e4a02cd186e58b3e" + integrity sha512-G8ura3S+3Z2G+mkgNRq8dqaFZAuxfsxpBB8OCTGRTCtp+l/v9nbFNmCUP1BZMts3G1142MsZfn6eeUKrr4PD1Q== + dependencies: + ansi-styles "^6.2.1" + string-width "^7.0.0" + strip-ansi "^7.1.0" + wrappy@1: version "1.0.2" resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" @@ -10848,7 +11554,7 @@ write-file-atomic@^3.0.0: signal-exit "^3.0.2" typedarray-to-buffer "^3.1.5" -write-file-atomic@^4.0.0, write-file-atomic@^4.0.2: +write-file-atomic@^4.0.1, write-file-atomic@^4.0.2: version "4.0.2" resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-4.0.2.tgz#a9df01ae5b77858a027fd2e80768ee433555fcfd" integrity sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg== @@ -10856,17 +11562,10 @@ write-file-atomic@^4.0.0, write-file-atomic@^4.0.2: imurmurhash "^0.1.4" signal-exit "^3.0.7" -write-json-file@^4.1.1: - version "4.3.0" - resolved "https://registry.yarnpkg.com/write-json-file/-/write-json-file-4.3.0.tgz#908493d6fd23225344af324016e4ca8f702dd12d" - integrity sha512-PxiShnxf0IlnQuMYOPPhPkhExoCQuTUNPOa/2JWCYTmBquU9njyyDuwRKN26IZBlp4yn1nt+Agh2HOOBl+55HQ== - dependencies: - detect-indent "^6.0.0" - graceful-fs "^4.1.15" - is-plain-obj "^2.0.0" - make-dir "^3.0.0" - sort-keys "^4.0.0" - write-file-atomic "^3.0.0" +ws@7.4.6: + version "7.4.6" + resolved "https://registry.yarnpkg.com/ws/-/ws-7.4.6.tgz#5654ca8ecdeee47c33a9a4bf6d28e2be2980377c" + integrity sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A== ws@^7: version "7.5.9" @@ -10888,18 +11587,10 @@ ws@^8.8.1: resolved "https://registry.yarnpkg.com/ws/-/ws-8.8.1.tgz#5dbad0feb7ade8ecc99b830c1d77c913d4955ff0" integrity sha512-bGy2JzvzkPowEJV++hF07hAD6niYSr0JzBNo/J29WsB57A2r7Wlc1UFcTR9IzrPvuNVO4B8LGqF8qcpsVOhJCA== -xml2js@0.4.19: - version "0.4.19" - resolved "https://registry.yarnpkg.com/xml2js/-/xml2js-0.4.19.tgz#686c20f213209e94abf0d1bcf1efaa291c7827a7" - integrity sha512-esZnJZJOiJR9wWKMyuvSE1y6Dq5LCuJanqhxslH2bxM6duahNZ+HMpCLhBQGZkbX6xRf8x1Y2eJlgt2q3qo49Q== - dependencies: - sax ">=0.6.0" - xmlbuilder "~9.0.1" - -xmlbuilder@~9.0.1: - version "9.0.7" - resolved "https://registry.yarnpkg.com/xmlbuilder/-/xmlbuilder-9.0.7.tgz#132ee63d2ec5565c557e20f4c22df9aca686b10d" - integrity sha512-7YXTQc3P2l9+0rjaUbLwMKRhtmwg1M1eDf6nag7urC7pIPYLD9W/jmzQ4ptRSUbodw5S0jfoGTflLemQibSpeQ== +xdg-basedir@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/xdg-basedir/-/xdg-basedir-4.0.0.tgz#4bc8d9984403696225ef83a1573cbbcb4e79db13" + integrity sha512-PSNhEJDejZYV7h50BohL09Er9VaIefr2LMAf3OEmpCkjOi34eYyQYAXUTjEQtZJTKcF0E2UKTh+osDLsgNim9Q== xstream@^11.14.0: version "11.14.0" @@ -10952,7 +11643,12 @@ yaml@^2.2.2: resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.3.1.tgz#02fe0975d23cd441242aa7204e09fc28ac2ac33b" integrity sha512-2eHWfjaoXgTBC2jNM1LRef62VQa0umtvRiDSk6HSzW7RvS5YtkabJrwYLLEKWBc8a5U2PTSCs+dJjUTJdlHsWQ== -yargs-parser@^21.0.0, yargs-parser@^21.0.1: +yaml@~2.4.2: + version "2.4.5" + resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.4.5.tgz#60630b206dd6d84df97003d33fc1ddf6296cca5e" + integrity sha512-aBx2bnqDzVOyNKfsysjA2ms5ZlnjSAW2eG3/L5G/CSujfjLJTJsEw1bGw8kCf04KodQWk1pxlGnZ56CRxiawmg== + +yargs-parser@^21.0.0, yargs-parser@^21.0.1, yargs-parser@^21.1.1: version "21.1.1" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.1.1.tgz#9096bceebf990d21bb31fa9516e0ede294a77d35" integrity sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw== @@ -10970,66 +11666,18 @@ yargs@^17.3.1: y18n "^5.0.5" yargs-parser "^21.0.0" -yeoman-environment@^3.9.1: - version "3.10.0" - resolved "https://registry.yarnpkg.com/yeoman-environment/-/yeoman-environment-3.10.0.tgz#d8c56571b68d16b4af8abfb950f83acc503eed77" - integrity sha512-sYtSxBK9daq21QjoskJTHKLQ1xEsRPURkmFV/aM8HS8ZlQVzwx57Rz1zCs8EGPhK4vqsmTE8H92Gp1jg1fT3EA== - dependencies: - "@npmcli/arborist" "^4.0.4" - are-we-there-yet "^2.0.0" - arrify "^2.0.1" - binaryextensions "^4.15.0" - chalk "^4.1.0" - cli-table "^0.3.1" - commander "7.1.0" - dateformat "^4.5.0" - debug "^4.1.1" - diff "^5.0.0" - error "^10.4.0" - escape-string-regexp "^4.0.0" - execa "^5.0.0" - find-up "^5.0.0" - globby "^11.0.1" - grouped-queue "^2.0.0" - inquirer "^8.0.0" - is-scoped "^2.1.0" - isbinaryfile "^4.0.10" - lodash "^4.17.10" - log-symbols "^4.0.0" - mem-fs "^1.2.0 || ^2.0.0" - mem-fs-editor "^8.1.2 || ^9.0.0" - minimatch "^3.0.4" - npmlog "^5.0.1" - p-queue "^6.6.2" - p-transform "^1.3.0" - pacote "^12.0.2" - preferred-pm "^3.0.3" - pretty-bytes "^5.3.0" - semver "^7.1.3" - slash "^3.0.0" - strip-ansi "^6.0.0" - text-table "^0.2.0" - textextensions "^5.12.0" - untildify "^4.0.0" - -yeoman-generator@^5.6.1: - version "5.7.0" - resolved "https://registry.yarnpkg.com/yeoman-generator/-/yeoman-generator-5.7.0.tgz#5cf24b9fca331646263749121d4f8d477698a83a" - integrity sha512-z9ZwgKoDOd+llPDCwn8Ax2l4In5FMhlslxdeByW4AMxhT+HbTExXKEAahsClHSbwZz1i5OzRwLwRIUdOJBr5Bw== +yargs@^17.7.2: + version "17.7.2" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.7.2.tgz#991df39aca675a192b816e1e0363f9d75d2aa269" + integrity sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w== dependencies: - chalk "^4.1.0" - dargs "^7.0.0" - debug "^4.1.1" - execa "^5.1.1" - github-username "^6.0.0" - lodash "^4.17.11" - minimist "^1.2.5" - read-pkg-up "^7.0.1" - run-async "^2.0.0" - semver "^7.2.1" - shelljs "^0.8.5" - sort-keys "^4.2.0" - text-table "^0.2.0" + cliui "^8.0.1" + escalade "^3.1.1" + get-caller-file "^2.0.5" + require-directory "^2.1.1" + string-width "^4.2.3" + y18n "^5.0.5" + yargs-parser "^21.1.1" yn@3.1.1: version "3.1.1" @@ -11041,21 +11689,6 @@ yocto-queue@^0.1.0: resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b" integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== -yosay@^2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/yosay/-/yosay-2.0.2.tgz#a7017e764cd88d64a1ae64812201de5b157adf6d" - integrity sha512-avX6nz2esp7IMXGag4gu6OyQBsMh/SEn+ZybGu3yKPlOTE6z9qJrzG/0X5vCq/e0rPFy0CUYCze0G5hL310ibA== - dependencies: - ansi-regex "^2.0.0" - ansi-styles "^3.0.0" - chalk "^1.0.0" - cli-boxes "^1.0.0" - pad-component "0.0.1" - string-width "^2.0.0" - strip-ansi "^3.0.0" - taketalk "^1.0.0" - wrap-ansi "^2.0.0" - zwitch@^1.0.0: version "1.0.5" resolved "https://registry.yarnpkg.com/zwitch/-/zwitch-1.0.5.tgz#d11d7381ffed16b742f6af7b3f223d5cd9fe9920" diff --git a/zeitgeist.yaml b/zeitgeist.yaml index a1fae068..ddd597ea 100644 --- a/zeitgeist.yaml +++ b/zeitgeist.yaml @@ -3,17 +3,19 @@ name: subquery-nova-zeitgeist version: 1.0.0 runner: node: - name: '@subql/node' - version: '*' + name: "@subql/node" + version: ">=4.6.6" + options: + historical: true query: - name: '@subql/query' - version: v1.5.0 + name: "@subql/query" + version: "*" description: Nova SubQuery project repository: https://github.com/nova-wallet/subquery-nova schema: file: ./schema.graphql network: - chainId: '0x1bf2a2ecb4a868de66ea8610f2ce7c8c43706561b6476031315f6640fe38e060' + chainId: "0x1bf2a2ecb4a868de66ea8610f2ce7c8c43706561b6476031315f6640fe38e060" endpoint: >- wss://zeitgeist.api.onfinality.io/public-ws chaintypes: