diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 1ccfdde27c..e36427e4ae 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,12 +5,12 @@ updates: schedule: interval: weekly ignore: - # these need to be updated together, so dependabot PRs + # these need to be updated together, so dependabot PRs # are just noise. So, ignore them: - dependency-name: sp-core - dependency-name: sp-keyring - dependency-name: sp-runtime - - dependency-name: sp-core-hashing + - dependency-name: sp-crypto-hashing - dependency-name: sp-version - package-ecosystem: github-actions directory: '/' diff --git a/.github/workflows/actions/use-nodes/README.md b/.github/workflows/actions/use-nodes/README.md new file mode 100644 index 0000000000..d78115a46f --- /dev/null +++ b/.github/workflows/actions/use-nodes/README.md @@ -0,0 +1,3 @@ +# use-nodes + +This action downloads the substrate and polkadot binaries produced from the `build-nodes` workflow and puts them into the `$PATH`. \ No newline at end of file diff --git a/.github/workflows/actions/use-nodes/action.yml b/.github/workflows/actions/use-nodes/action.yml new file mode 100644 index 0000000000..bb2b9723d4 --- /dev/null +++ b/.github/workflows/actions/use-nodes/action.yml @@ -0,0 +1,40 @@ +name: Use substrate and polkadot binaries +description: Downloads and configures the substrate and polkadot binaries built with `build-nodes` +runs: + using: composite + steps: + - name: Download substrate-node binary + id: download-substrate-binary + uses: dawidd6/action-download-artifact@268677152d06ba59fcec7a7f0b5d961b6ccd7e1e # v2.28.0 + with: + workflow: build-nodes.yml + name: nightly-substrate-binary + + - name: Download polkadot binary + id: download-polkadot-binary + uses: dawidd6/action-download-artifact@268677152d06ba59fcec7a7f0b5d961b6ccd7e1e # v2.28.0 + with: + workflow: build-nodes.yml + name: nightly-polkadot-binary + + - name: decompress polkadot binary + shell: bash + run: | + tar -xzvf ./polkadot.tar.gz + cp ./target/release/polkadot ./polkadot + + - name: Prepare binaries + shell: bash + run: | + chmod u+x ./substrate-node + chmod u+x ./polkadot + chmod u+x ./polkadot-execute-worker + chmod u+x ./polkadot-prepare-worker + ./substrate-node --version + ./polkadot --version + mkdir -p ~/.local/bin + mv ./substrate-node ~/.local/bin + mv ./polkadot ~/.local/bin + mv ./polkadot-execute-worker ~/.local/bin + mv ./polkadot-prepare-worker ~/.local/bin + rm ./polkadot.tar.gz diff --git a/.github/workflows/actions/use-substrate/README.md b/.github/workflows/actions/use-substrate/README.md deleted file mode 100644 index 71f0a55fbf..0000000000 --- a/.github/workflows/actions/use-substrate/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# use-substrate - -This action downloads the substrate binary produced from the `build-substrate` workflow and puts it into the `$PATH`. \ No newline at end of file diff --git a/.github/workflows/actions/use-substrate/action.yml b/.github/workflows/actions/use-substrate/action.yml deleted file mode 100644 index b3bffcd314..0000000000 --- a/.github/workflows/actions/use-substrate/action.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: Use substrate binary -description: Downloads and configures the substrate binary built with build-substrate -runs: - using: composite - steps: - - name: Download substrate-node binary - id: download-artifact - uses: dawidd6/action-download-artifact@268677152d06ba59fcec7a7f0b5d961b6ccd7e1e # v2.28.0 - with: - workflow: build-substrate.yml - name: nightly-substrate-binary - - - name: Prepare substrate-node binary - shell: bash - run: | - chmod u+x ./substrate-node - ./substrate-node --version - mkdir -p ~/.local/bin - cp ./substrate-node ~/.local/bin diff --git a/.github/workflows/build-substrate.yml b/.github/workflows/build-nodes.yml similarity index 54% rename from .github/workflows/build-substrate.yml rename to .github/workflows/build-nodes.yml index 4cadcc7200..9abd2a05fd 100644 --- a/.github/workflows/build-substrate.yml +++ b/.github/workflows/build-nodes.yml @@ -1,4 +1,4 @@ -name: Build Substrate Binary +name: Build Substrate and Polkadot Binaries on: # Allow it to be manually ran to rebuild binary when needed: @@ -9,7 +9,7 @@ on: jobs: tests: - name: Build Substrate + name: Build Substrate and Polkadot Binaries runs-on: ubuntu-latest-16-cores steps: - name: checkout polkadot-sdk @@ -35,6 +35,17 @@ jobs: command: build args: --release --manifest-path substrate/bin/node/cli/Cargo.toml + - name: build polkadot binary + uses: actions-rs/cargo@v1 + with: + command: build + args: --release --manifest-path polkadot/Cargo.toml + + - name: Strip binaries + run: | + cargo install cargo-strip + cargo strip + - name: upload substrate binary uses: actions/upload-artifact@v3 with: @@ -42,3 +53,19 @@ jobs: path: target/release/substrate-node retention-days: 2 if-no-files-found: error + + # Note: Uncompressed polkadot binary is ~124MB -> too large for git (max 100MB) without git lfs. Compressed it is only ~45MB + - name: compress polkadot binary + run: | + tar -zcvf target/release/polkadot.tar.gz target/release/polkadot + + - name: upload polkadot binary + uses: actions/upload-artifact@v3 + with: + name: nightly-polkadot-binary + path: | + target/release/polkadot.tar.gz + target/release/polkadot-execute-worker + target/release/polkadot-prepare-worker + retention-days: 2 + if-no-files-found: error diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 2add781112..889737598e 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -16,8 +16,8 @@ jobs: - name: Checkout sources uses: actions/checkout@v4 - - name: Use substrate-node binary - uses: ./.github/workflows/actions/use-substrate + - name: Use substrate and polkadot node binaries + uses: ./.github/workflows/actions/use-nodes - name: Install Rust stable toolchain uses: actions-rs/toolchain@v1 @@ -37,7 +37,7 @@ jobs: # If any previous step fails, create a new Github issue to notify us about it. - if: ${{ failure() }} - uses: JasonEtco/create-an-issue@e27dddc79c92bc6e4562f268fffa5ed752639abd # v2.9.1 + uses: JasonEtco/create-an-issue@1b14a70e4d8dc185e5cc76d3bec9eab20257b2c5 # v2.9.2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 20c5479d4e..0f1843ca69 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -46,16 +46,50 @@ jobs: command: fmt args: --all -- --check - clippy: - name: Cargo clippy + - if: "failure()" + uses: "andymckay/cancel-action@271cfbfa11ca9222f7be99a47e8f929574549e0a" # v0.4 + + machete: + name: "Check unused dependencies" runs-on: ubuntu-latest - needs: fmt steps: - name: Checkout sources uses: actions/checkout@v4 - - name: Use substrate-node binary - uses: ./.github/workflows/actions/use-substrate + - name: Use substrate and polkadot node binaries + uses: ./.github/workflows/actions/use-nodes + + - name: Install Rust stable toolchain + uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + override: true + + - name: Rust Cache + uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2.7.3 + + - name: Install cargo-machete + run: cargo install cargo-machete + + - name: Check unused dependencies + uses: actions-rs/cargo@v1.0.3 + with: + command: machete + + - if: "failure()" + uses: "andymckay/cancel-action@271cfbfa11ca9222f7be99a47e8f929574549e0a" # v0.4 + + clippy: + name: Cargo clippy + runs-on: ubuntu-latest + needs: [fmt, machete] + steps: + - name: Checkout sources + uses: actions/checkout@v4 + + - name: Use substrate and polkadot node binaries + uses: ./.github/workflows/actions/use-nodes - name: Install Rust stable toolchain uses: actions-rs/toolchain@v1 @@ -69,21 +103,56 @@ jobs: uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2.7.3 - name: Run clippy - uses: actions-rs/cargo@v1 - with: - command: clippy - args: --all-targets -- -D warnings + run: | + cargo clippy --all-targets --features unstable-light-client -- -D warnings + cargo clippy -p subxt-lightclient --no-default-features --features web -- -D warnings + cargo clippy -p subxt --no-default-features --features web -- -D warnings + cargo clippy -p subxt --no-default-features --features web,unstable-light-client -- -D warnings - check: - name: Cargo check + - if: "failure()" + uses: "andymckay/cancel-action@271cfbfa11ca9222f7be99a47e8f929574549e0a" # v0.4 + + wasm_clippy: + name: Cargo clippy (WASM) runs-on: ubuntu-latest - needs: [fmt, clippy] + needs: [fmt, machete] steps: - name: Checkout sources uses: actions/checkout@v4 - - name: Use substrate-node binary - uses: ./.github/workflows/actions/use-substrate + - name: Use substrate and polkadot node binaries + uses: ./.github/workflows/actions/use-nodes + + - name: Install Rust stable toolchain + uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + target: wasm32-unknown-unknown + override: true + + - name: Rust Cache + uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2.7.3 + + - name: Run clippy + uses: actions-rs/cargo@v1 + with: + command: clippy + args: -p subxt --no-default-features --features web,unstable-light-client,jsonrpsee --target wasm32-unknown-unknown -- -D warnings + + - if: "failure()" + uses: "andymckay/cancel-action@271cfbfa11ca9222f7be99a47e8f929574549e0a" # v0.4 + + check: + name: Cargo check + runs-on: ubuntu-latest + needs: [fmt, machete] + steps: + - name: Checkout sources + uses: actions/checkout@v4 + + - name: Use substrate and polkadot node binaries + uses: ./.github/workflows/actions/use-nodes - name: Install Rust stable toolchain uses: actions-rs/toolchain@v1 @@ -96,7 +165,7 @@ jobs: uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2.7.3 - name: Install cargo-hack - uses: baptiste0928/cargo-install@v2 + uses: baptiste0928/cargo-install@v3 with: crate: cargo-hack version: 0.5 @@ -118,8 +187,8 @@ jobs: - name: Cargo check subxt-signer run: | cargo check -p subxt-signer - cargo check -p subxt-signer --no-default-features --features sr25519,native - cargo check -p subxt-signer --no-default-features --features ecdsa,native + cargo check -p subxt-signer --no-default-features --features sr25519 + cargo check -p subxt-signer --no-default-features --features ecdsa # We can't enable web features here, so no cargo hack. - name: Cargo check subxt-lightclient @@ -133,10 +202,13 @@ jobs: - name: Cargo check parachain-example run: cargo check --manifest-path examples/parachain-example/Cargo.toml + - if: "failure()" + uses: "andymckay/cancel-action@271cfbfa11ca9222f7be99a47e8f929574549e0a" # v0.4 + wasm_check: name: Cargo check (WASM) runs-on: ubuntu-latest - needs: [fmt, clippy] + needs: [fmt, machete] steps: - name: Checkout sources uses: actions/checkout@v4 @@ -157,45 +229,19 @@ jobs: run: | cargo check --manifest-path examples/wasm-example/Cargo.toml --target wasm32-unknown-unknown - machete: - name: "Check unused dependencies" - runs-on: ubuntu-latest - needs: [check, wasm_check] - steps: - - name: Checkout sources - uses: actions/checkout@v4 - - - name: Use substrate-node binary - uses: ./.github/workflows/actions/use-substrate - - - name: Install Rust stable toolchain - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - override: true - - - name: Rust Cache - uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2.7.3 - - - name: Install cargo-machete - run: cargo install cargo-machete - - - name: Check unused dependencies - uses: actions-rs/cargo@v1.0.3 - with: - command: machete + - if: "failure()" + uses: "andymckay/cancel-action@271cfbfa11ca9222f7be99a47e8f929574549e0a" # v0.4 docs: name: Check documentation and run doc tests runs-on: ubuntu-latest - needs: [check, wasm_check] + needs: [fmt, machete] steps: - name: Checkout sources uses: actions/checkout@v4 - - name: Use substrate-node binary - uses: ./.github/workflows/actions/use-substrate + - name: Use substrate and polkadot node binaries + uses: ./.github/workflows/actions/use-nodes - name: Install Rust stable toolchain uses: actions-rs/toolchain@v1 @@ -216,17 +262,20 @@ jobs: command: test args: --doc + - if: "failure()" + uses: "andymckay/cancel-action@271cfbfa11ca9222f7be99a47e8f929574549e0a" # v0.4 + tests: name: "Test (Native)" runs-on: ubuntu-latest-16-cores - needs: [machete, docs] + needs: [clippy, wasm_clippy, check, wasm_check, docs] timeout-minutes: 30 steps: - name: Checkout sources uses: actions/checkout@v4 - - name: Use substrate-node binary - uses: ./.github/workflows/actions/use-substrate + - name: Use substrate and polkadot node binaries + uses: ./.github/workflows/actions/use-nodes - name: Install Rust stable toolchain uses: actions-rs/toolchain@v1 @@ -247,17 +296,20 @@ jobs: command: nextest args: run --workspace + - if: "failure()" + uses: "andymckay/cancel-action@271cfbfa11ca9222f7be99a47e8f929574549e0a" # v0.4 + unstable_backend_tests: name: "Test (Unstable Backend)" runs-on: ubuntu-latest-16-cores - needs: [machete, docs] + needs: [clippy, wasm_clippy, check, wasm_check, docs] timeout-minutes: 30 steps: - name: Checkout sources uses: actions/checkout@v4 - - name: Use substrate-node binary - uses: ./.github/workflows/actions/use-substrate + - name: Use substrate and polkadot node binaries + uses: ./.github/workflows/actions/use-nodes - name: Install Rust stable toolchain uses: actions-rs/toolchain@v1 @@ -278,17 +330,20 @@ jobs: command: nextest args: run --workspace --features unstable-backend-client + - if: "failure()" + uses: "andymckay/cancel-action@271cfbfa11ca9222f7be99a47e8f929574549e0a" # v0.4 + light_client_tests: name: "Test (Light Client)" runs-on: ubuntu-latest - needs: [machete, docs] + needs: [clippy, wasm_clippy, check, wasm_check, docs] timeout-minutes: 15 steps: - name: Checkout sources uses: actions/checkout@v4 - - name: Use substrate-node binary - uses: ./.github/workflows/actions/use-substrate + - name: Use substrate and polkadot node binaries + uses: ./.github/workflows/actions/use-nodes - name: Install Rust stable toolchain uses: actions-rs/toolchain@v1 @@ -306,10 +361,13 @@ jobs: command: test args: --release --package integration-tests --features unstable-light-client + - if: "failure()" + uses: "andymckay/cancel-action@271cfbfa11ca9222f7be99a47e8f929574549e0a" # v0.4 + wasm_tests: name: Test (WASM) runs-on: ubuntu-latest - needs: [machete, docs] + needs: [clippy, wasm_clippy, check, wasm_check, docs] timeout-minutes: 30 env: # Set timeout for wasm tests to be much bigger than the default 20 secs. @@ -330,8 +388,8 @@ jobs: - name: Rust Cache uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2.7.3 - - name: Use substrate-node binary - uses: ./.github/workflows/actions/use-substrate + - name: Use substrate and polkadot node binaries + uses: ./.github/workflows/actions/use-nodes - name: Run subxt WASM tests run: | @@ -358,3 +416,40 @@ jobs: wasm-pack test --headless --firefox wasm-pack test --headless --chrome working-directory: signer/wasm-tests + + - if: "failure()" + uses: "andymckay/cancel-action@271cfbfa11ca9222f7be99a47e8f929574549e0a" # v0.4 + + no-std-tests: + name: "Test (no_std)" + runs-on: ubuntu-latest + needs: [machete, docs] + timeout-minutes: 30 + steps: + - name: Checkout sources + uses: actions/checkout@v4 + + # Note: needs nighly toolchain because otherwise we cannot define custom lang-items. + - name: Install Rust nightly toolchain + uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: nightly + override: true + target: thumbv7em-none-eabi + + - name: Install the gcc-arm-none-eabi linker + run: sudo apt install gcc-arm-none-eabi + + - name: Rust Cache + uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2.7.3 + + # Note: We currently do not have a way to run real tests in a `no_std` environment. + # We can only make sure that they compile to ARM thumb ISA. + # Running the binary and inspecting the output would require an actual machine with matching ISA or some sort of emulator. + - name: Compile `no-std-tests` crate to `thumbv7em-none-eabi` target. + run: cargo build --target thumbv7em-none-eabi + working-directory: testing/no-std-tests + + - if: "failure()" + uses: "andymckay/cancel-action@271cfbfa11ca9222f7be99a47e8f929574549e0a" # v0.4 diff --git a/.github/workflows/update-artifacts.yml b/.github/workflows/update-artifacts.yml index fc60c801f6..491f8d4099 100644 --- a/.github/workflows/update-artifacts.yml +++ b/.github/workflows/update-artifacts.yml @@ -19,10 +19,9 @@ jobs: steps: - name: Checkout sources uses: actions/checkout@v4 - # We run this (up-to-date) node locally to fetch metadata from it for the artifacts - - name: Use substrate-node binary - uses: ./.github/workflows/actions/use-substrate + - name: Use substrate and polkadot node binaries + uses: ./.github/workflows/actions/use-nodes - name: Install Rust stable toolchain uses: actions-rs/toolchain@v1 @@ -42,12 +41,16 @@ jobs: - name: Fetch Artifacts run: cargo run --bin artifacts - - name: Delete substrate node binary - run: rm ./substrate-node + - uses: actions/create-github-app-token@v1 + id: app-token + with: + app-id: ${{ secrets.SUBXT_PR_MAKER_APP_ID }} + private-key: ${{ secrets.SUBXT_PR_MAKER_APP_KEY }} - name: Create Pull Request - uses: peter-evans/create-pull-request@v5 + uses: peter-evans/create-pull-request@v6 with: + token: ${{ steps.app-token.outputs.token }} base: master branch: update-artifacts commit-message: Update Artifacts (auto-generated) diff --git a/CHANGELOG.md b/CHANGELOG.md index 448ee6af7d..7ece38f02b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,8 +4,115 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.35.0] - 2024-03-21 + +This release contains several fixes, adds `no_std` support to a couple of crates (`subxt-signer` and `subxt-metadata`) and introduces a few quality of life improvements, which I'll quickly cover: + +### Reworked light client ([#1475](https://github.com/paritytech/subxt/pull/1475)) + +This PR reworks the light client interface. The "basic" usage of connecting to a parachain now looks like this: + +```rust +#[subxt::subxt(runtime_metadata_path = "../artifacts/polkadot_metadata_small.scale")] +pub mod polkadot {} + +use subxt::lightclient::LightClient; + +// Instantiate a light client with the Polkadot relay chain given its chain spec. +let (lightclient, polkadot_rpc) = LightClient::relay_chain(POLKADOT_SPEC)?; +// Connect the light client to some parachain by giving a chain spec for it. +let asset_hub_rpc = lightclient.parachain(ASSET_HUB_SPEC)?; + +// Now, we can create Subxt clients from these Smoldot backed RPC clients: +let polkadot_api = OnlineClient::::from_rpc_client(polkadot_rpc).await?; +let asset_hub_api = OnlineClient::::from_rpc_client(asset_hub_rpc).await?; +``` + +This interface mirrors the requirement that we must connect to a relay chain before we can connect to a parachain. It also moves the light client specific logic into an `RpcClientT` implementation, rather than exposing it as a `subxt::client::LightClient`. + +### Typed Storage Keys ([#1419](https://github.com/paritytech/subxt/pull/1419)) + +This PR changes the storage interface so that, where possible, we now also decode the storage keys as well as the values when iterating over storage entries: + +```rust +#[subxt::subxt(runtime_metadata_path = "../artifacts/polkadot_metadata_small.scale")] +pub mod polkadot {} + +// Create a new API client, configured to talk to Polkadot nodes. +let api = OnlineClient::::new().await?; + +// Build a storage query to iterate over account information. +let storage_query = polkadot::storage().system().account_iter(); + +// Get back an iterator of results (here, we are fetching 10 items at +// a time from the node, but we always iterate over one at a time). +let mut results = api.storage().at_latest().await?.iter(storage_query).await?; + +while let Some(Ok(kv)) = results.next().await { + // We used to get a tuple of key bytes + value. Now we get back a + // `kv` struct containing the bytes and value as well as the actual + // decoded keys: + println!("Decoded key(s): {:?}", kv.keys); + println!("Key bytes: 0x{}", hex::encode(&kv.key_bytes)); + println!("Value: {:?}", kv.value); +} +``` + +When using the static interface, keys come back as a tuple of values corresponding to the different hashers used in constructing the key. When using a dynamic interface, keys will be encoded/decoded from the type given so long as it implements `subxt::storage::StorageKey`, eg `Vec`. + +### Extrinsic Params Refinement ([#1439](https://github.com/paritytech/subxt/pull/1439)) + +Prior to this PR, one could configure extrinsic signed extensions by providing some params like so: + +```rust +// Configure the transaction parameters; we give a small tip and set the +// transaction to live for 32 blocks from the `latest_block` above: +let tx_params = Params::new() + .tip(1_000) + .mortal(latest_block.header(), 32) + .build(); + +let hash = api.tx().sign_and_submit(&tx, &from, tx_params).await?; +``` + +If you want to customize the account nonce, you'd use a different call like `create_signed_with_nonce` instead. + +One of the downsides of the above approach is that, if you don't provide any explicit params, transactions will be immortal by default (because the signed extensions didn't have the information to do any better). + +Now, with the help of a `RefineParams` trait, transactions will default to being mortal and living for 32 blocks unless an explicit mortality is provided as above. + +One notable change is that the offline-only `create_signed_with_nonce` and `create_partial_signed_with_nonce` functions have lost the `_with_nonce` suffix. Since we can't discover nonce/mortality settings offline, you should now provide `Params` and set an explicit nonce (and mortality, if you like) when using these calls, otherwise the nonce will be set to 0 and the mortality to `Immortal`. + +For a full list of changes, please see the following: + +### Added + +- Reworked light client ([#1475](https://github.com/paritytech/subxt/pull/1475)) +- `no_std` compatibility for `subxt-signer` ([#1477](https://github.com/paritytech/subxt/pull/1477)) +- Typed Storage Keys ([#1419](https://github.com/paritytech/subxt/pull/1419)) +- Extrinsic Params Refinement ([#1439](https://github.com/paritytech/subxt/pull/1439)) +- Make storage_page_size for the LegacyBackend configurable ([#1458](https://github.com/paritytech/subxt/pull/1458)) +- `no_std` compatibility for `subxt-metadata` ([#1401](https://github.com/paritytech/subxt/pull/1401)) +- Experimental `reconnecting-rpc-client` ([#1396](https://github.com/paritytech/subxt/pull/1396)) + +### Changed + +- `scale-type-resolver` integration ([#1460](https://github.com/paritytech/subxt/pull/1460)) +- subxt: Derive `std::cmp` traits for subxt payloads and addresses ([#1429](https://github.com/paritytech/subxt/pull/1429)) +- CLI: Return error on wrongly specified type paths ([#1397](https://github.com/paritytech/subxt/pull/1397)) +- rpc v2: chainhead support multiple finalized block hashes in `FollowEvent::Initialized` ([#1476](https://github.com/paritytech/subxt/pull/1476)) +- rpc v2: rename transaction to transactionWatch ([#1399](https://github.com/paritytech/subxt/pull/1399)) + +### Fixed + +- Avoid a panic in case we try decoding naff bytes ([#1444](https://github.com/paritytech/subxt/pull/1444)) +- Fix error mapping to wrong transaction status ([#1445](https://github.com/paritytech/subxt/pull/1445)) +- Update DispatchError to match latest in polkadot-sdk ([#1442](https://github.com/paritytech/subxt/pull/1442)) +- Handle errors when fetching storage keys from Unstablebackend ([#1440](https://github.com/paritytech/subxt/pull/1440)) +- Swap type aliases around to be semantically correct ([#1441](https://github.com/paritytech/subxt/pull/1441)) + ## [0.34.0] - 2024-01-23 - + This release introduces a bunch of features that make subxt easier to use. Let's look at a few of them. ### Codegen - Integrating [`scale-typegen`](https://github.com/paritytech/scale-typegen) and adding type aliases ([#1249](https://github.com/paritytech/subxt/pull/1249)) @@ -23,7 +130,7 @@ If you provide an invalid type path, the macro will tell you so. It also suggest ```rust #[subxt::subxt( - runtime_metadata_path = "metadata.scale", + runtime_metadata_path = "metadata.scale", derive_for_type(path = "Junctions", derive = "Clone") )] pub mod polkadot {} @@ -34,7 +141,7 @@ This gives you a compile-time error like this: ```md Type `Junctions` does not exist at path `Junctions` -A type with the same name is present at: +A type with the same name is present at: xcm::v3::junctions::Junctions xcm::v2::multilocation::Junctions ``` @@ -78,7 +185,7 @@ Our CLI tool now allows you to explore runtime APIs and events ([#1290](https:// # Show details about a runtime API call: subxt explore --url wss://westend-rpc.polkadot.io api StakingAPI nominations_quota # Execute a runtime API call from the CLI: -subxt explore --url wss://westend-rpc.polkadot.io api core version -e +subxt explore --url wss://westend-rpc.polkadot.io api core version -e # Discover what events a pallet can emit: subxt explore --url wss://westend-rpc.polkadot.io pallet Balances events ``` diff --git a/Cargo.lock b/Cargo.lock index ef2f805719..ee34c84c0c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -43,14 +43,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d122413f284cf2d62fb1b7db97e02edb8cda96d769b16e443a4f6195e35662b0" dependencies = [ "crypto-common", - "generic-array 0.14.7", + "generic-array", ] [[package]] name = "ahash" -version = "0.7.7" +version = "0.7.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a824f2aa7e75a0c98c5a504fceb80649e9c35265d44525b5f94de4771a395cd" +checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9" dependencies = [ "getrandom", "once_cell", @@ -59,9 +59,9 @@ dependencies = [ [[package]] name = "ahash" -version = "0.8.7" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77c3a9648d43b9cd48db467b3f87fdd6e146bcc88ab0180006cef2179fe11d01" +checksum = "42cd52102d3df161c77a887b608d7a4897d7cc112886a9537b738a887a03aaff" dependencies = [ "cfg-if", "getrandom", @@ -131,9 +131,9 @@ dependencies = [ [[package]] name = "anstyle" -version = "1.0.4" +version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7079075b41f533b8c61d2a4d073c4676e1f8b249ff94a393b0595db304e0dd87" +checksum = "8901269c6307e8d93993578286ac0edf7f195079ffff5ebdeea6a59ffb7e36bc" [[package]] name = "anstyle-parse" @@ -319,12 +319,6 @@ dependencies = [ "nodrop", ] -[[package]] -name = "arrayvec" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23b62fc65de8e4e7f52534fb52b0f3ed04746ae267519eef2a83941e8085068b" - [[package]] name = "arrayvec" version = "0.7.4" @@ -333,7 +327,7 @@ checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711" [[package]] name = "artifacts" -version = "0.34.0" +version = "0.35.0" dependencies = [ "substrate-runner", ] @@ -346,13 +340,13 @@ checksum = "9b34d609dfbaf33d6889b2b7106d3ca345eacad44200913df5ba02bfd31d2ba9" [[package]] name = "async-channel" -version = "2.1.1" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ca33f4bc4ed1babef42cad36cc1f51fa88be00420404e5b1e80ab1b18f7678c" +checksum = "f28243a43d821d11341ab73c80bed182dc015c514b951616cf79bd4af39af0c3" dependencies = [ "concurrent-queue", - "event-listener 4.0.3", - "event-listener-strategy", + "event-listener 5.0.0", + "event-listener-strategy 0.5.0", "futures-core", "pin-project-lite", ] @@ -373,9 +367,9 @@ dependencies = [ [[package]] name = "async-fs" -version = "2.1.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd1f344136bad34df1f83a47f3fd7f2ab85d75cb8a940af4ccf6d482a84ea01b" +checksum = "bc19683171f287921f2405677dd2ed2549c3b3bda697a563ebc3a121ace2aba1" dependencies = [ "async-lock 3.3.0", "blocking", @@ -384,9 +378,9 @@ dependencies = [ [[package]] name = "async-io" -version = "2.3.0" +version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb41eb19024a91746eba0773aa5e16036045bbf45733766661099e182ea6a744" +checksum = "8f97ab0c5b00a7cdbe5a371b9a782ee7be1316095885c8a4ea1daf490eb0ef65" dependencies = [ "async-lock 3.3.0", "cfg-if", @@ -395,7 +389,7 @@ dependencies = [ "futures-lite", "parking", "polling", - "rustix 0.38.30", + "rustix 0.38.31", "slab", "tracing", "windows-sys 0.52.0", @@ -417,7 +411,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d034b430882f8381900d3fe6f0aaa3ad94f2cb4ac519b429692a1bc2dda4ae7b" dependencies = [ "event-listener 4.0.3", - "event-listener-strategy", + "event-listener-strategy 0.4.0", "pin-project-lite", ] @@ -446,7 +440,7 @@ dependencies = [ "cfg-if", "event-listener 4.0.3", "futures-lite", - "rustix 0.38.30", + "rustix 0.38.31", "windows-sys 0.52.0", ] @@ -462,7 +456,7 @@ dependencies = [ "cfg-if", "futures-core", "futures-io", - "rustix 0.38.30", + "rustix 0.38.31", "signal-hook-registry", "slab", "windows-sys 0.48.0", @@ -476,13 +470,13 @@ checksum = "fbb36e985947064623dbd357f727af08ffd077f93d696782f3c56365fa2e2799" [[package]] name = "async-trait" -version = "0.1.77" +version = "0.1.79" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c980ee35e870bd1a4d2c8294d4c04d0499e67bca1e4b5cefcc693c2fa00caea9" +checksum = "a507401cad91ec6a857ed5513a2073c82a9b9048762b885bb98655b306964681" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.53", ] [[package]] @@ -529,6 +523,12 @@ dependencies = [ "rustc-demangle", ] +[[package]] +name = "base16ct" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf" + [[package]] name = "base58" version = "0.2.0" @@ -553,15 +553,6 @@ version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" -[[package]] -name = "basic-toml" -version = "0.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2db21524cad41c5591204d22d75e1970a2d1f71060214ca931dc7d5afe2c14e5" -dependencies = [ - "serde", -] - [[package]] name = "beef" version = "0.5.2" @@ -586,19 +577,33 @@ version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "93f2635620bf0b9d4576eb7bb9a38a55df78bd1205d26fa994b25911a69f212f" dependencies = [ - "bitcoin_hashes", - "rand", - "rand_core 0.6.4", + "bitcoin_hashes 0.11.0", "serde", "unicode-normalization", ] +[[package]] +name = "bitcoin-internals" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9425c3bf7089c983facbae04de54513cce73b41c7f9ff8c845b54e7bc64ebbfb" + [[package]] name = "bitcoin_hashes" version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "90064b8dee6815a6470d60bad07bbbaee885c0e12d04177138fa3291a01b7bc4" +[[package]] +name = "bitcoin_hashes" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1930a4dabfebb8d7d9992db18ebe3ae2876f0a305fab206fd168df931ede293b" +dependencies = [ + "bitcoin-internals", + "hex-conservative", +] + [[package]] name = "bitflags" version = "1.3.2" @@ -653,25 +658,13 @@ dependencies = [ "constant_time_eq 0.3.0", ] -[[package]] -name = "block-buffer" -version = "0.7.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0940dc441f31689269e10ac70eb1002a3a1d3ad1390e030043662eb7fe4688b" -dependencies = [ - "block-padding", - "byte-tools", - "byteorder", - "generic-array 0.12.4", -] - [[package]] name = "block-buffer" version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4" dependencies = [ - "generic-array 0.14.7", + "generic-array", ] [[package]] @@ -680,16 +673,7 @@ version = "0.10.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" dependencies = [ - "generic-array 0.14.7", -] - -[[package]] -name = "block-padding" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa79dedbb091f449f1f39e53edf88d5dbe95f895dae6135a8d7b881fb5af73f5" -dependencies = [ - "byte-tools", + "generic-array", ] [[package]] @@ -710,9 +694,9 @@ dependencies = [ [[package]] name = "bounded-collections" -version = "0.1.9" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca548b6163b872067dc5eb82fd130c56881435e30367d2073594a3d9744120dd" +checksum = "d32385ecb91a31bddaf908e8dcf4a15aef1bcd3913cc03ebfad02ff6d568abc1" dependencies = [ "log", "parity-scale-codec", @@ -741,12 +725,6 @@ version = "1.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c3ac9f8b63eca6fd385229b3675f6cc0dc5c8a5c8a54a59d4f52ffd670d87b0c" -[[package]] -name = "byte-tools" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" - [[package]] name = "byteorder" version = "1.5.0" @@ -793,9 +771,9 @@ dependencies = [ [[package]] name = "chrono" -version = "0.4.32" +version = "0.4.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41daef31d7a747c5c847246f36de49ced6f7403b4cdabc807a97b5cc184cda7a" +checksum = "5bc015644b92d5890fab7489e49d21f879d5c990186827d42ec511919404f38b" dependencies = [ "android-tzdata", "iana-time-zone", @@ -805,9 +783,9 @@ dependencies = [ [[package]] name = "ciborium" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "effd91f6c78e5a4ace8a5d3c0b6bfaec9e2baaef55f3efc00e45fb2e477ee926" +checksum = "42e69ffd6f0917f5c029256a24d0161db17cea3997d185db0d35926308770f0e" dependencies = [ "ciborium-io", "ciborium-ll", @@ -816,15 +794,15 @@ dependencies = [ [[package]] name = "ciborium-io" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cdf919175532b369853f5d5e20b26b43112613fd6fe7aee757e35f7a44642656" +checksum = "05afea1e0a06c9be33d539b876f1ce3692f4afea2cb41f740e7743225ed1c757" [[package]] name = "ciborium-ll" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "defaa24ecc093c77630e6c15e17c51f5e187bf35ee514f4e2d67baaa96dae22b" +checksum = "57663b653d948a338bfb3eeba9bb2fd5fcfaecb9e199e87e1eda4d9e8b240fd9" dependencies = [ "ciborium-io", "half", @@ -854,9 +832,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.4.18" +version = "4.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e578d6ec4194633722ccf9544794b71b1385c3c027efe0c55db226fc880865c" +checksum = "949626d00e063efc93b6dca932419ceb5432f99769911c0b995f7e884c778813" dependencies = [ "clap_builder", "clap_derive", @@ -864,26 +842,26 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.4.18" +version = "4.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4df4df40ec50c46000231c914968278b1eb05098cf8f1b3a518a95030e71d1c7" +checksum = "ae129e2e766ae0ec03484e609954119f123cc1fe650337e155d03b022f24f7b4" dependencies = [ "anstream", "anstyle", - "clap_lex 0.6.0", - "strsim", + "clap_lex 0.7.0", + "strsim 0.11.0", ] [[package]] name = "clap_derive" -version = "4.4.7" +version = "4.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf9804afaaf59a91e75b022a30fb7229a7901f60c755489cc61c9b423b836442" +checksum = "90239a040c80f5e14809ca132ddc4176ab33d5e17e49691793296e3fcb34d72f" dependencies = [ - "heck", + "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.53", ] [[package]] @@ -897,9 +875,9 @@ dependencies = [ [[package]] name = "clap_lex" -version = "0.6.0" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "702fc72eb24e5a1e48ce58027a675bc24edd52096d5397d4aea7c6dd9eca0bd1" +checksum = "98cc8fbded0c607b7ba9dd60cd98df59af97e84d24e49c8557331cfc26d301ce" [[package]] name = "cmake" @@ -912,9 +890,9 @@ dependencies = [ [[package]] name = "color-eyre" -version = "0.6.2" +version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a667583cca8c4f8436db8de46ea8233c42a7d9ae424a82d338f2e4675229204" +checksum = "55146f5e46f237f7423d74111267d4597b59b0dad0ffaf7303bce9945d843ad5" dependencies = [ "backtrace", "color-spantrace", @@ -1033,9 +1011,9 @@ dependencies = [ [[package]] name = "crc32fast" -version = "1.3.2" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d" +checksum = "b3855a8a784b474f333699ef2bbca9db2c4a1f6d9088a90a2d25b1eb53111eaa" dependencies = [ "cfg-if", ] @@ -1116,13 +1094,25 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" +[[package]] +name = "crypto-bigint" +version = "0.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76" +dependencies = [ + "generic-array", + "rand_core 0.6.4", + "subtle", + "zeroize", +] + [[package]] name = "crypto-common" version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" dependencies = [ - "generic-array 0.14.7", + "generic-array", "rand_core 0.6.4", "typenum", ] @@ -1133,33 +1123,10 @@ version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b584a330336237c1eecd3e94266efb216c56ed91225d634cb2991c5f3fd1aeab" dependencies = [ - "generic-array 0.14.7", + "generic-array", "subtle", ] -[[package]] -name = "crypto-mac" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25fab6889090c8133f3deb8f73ba3c65a7f456f66436fc012a1b1e272b1e103e" -dependencies = [ - "generic-array 0.14.7", - "subtle", -] - -[[package]] -name = "curve25519-dalek" -version = "2.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a9b85542f99a2dfa2a1b8e192662741c9859a846b296bef1c92ef9b58b5a216" -dependencies = [ - "byteorder", - "digest 0.8.1", - "rand_core 0.5.1", - "subtle", - "zeroize", -] - [[package]] name = "curve25519-dalek" version = "3.2.0" @@ -1175,9 +1142,9 @@ dependencies = [ [[package]] name = "curve25519-dalek" -version = "4.1.1" +version = "4.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e89b8c6a2e4b1f45971ad09761aafb85514a84744b67a95e32c3cc1352d1f65c" +checksum = "0a677b8922c94e01bdbb12126b0bc852f00447528dee1782229af9c720c3f348" dependencies = [ "cfg-if", "cpufeatures", @@ -1198,7 +1165,7 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.53", ] [[package]] @@ -1213,12 +1180,12 @@ dependencies = [ [[package]] name = "darling" -version = "0.20.3" +version = "0.20.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0209d94da627ab5605dcccf08bb18afa5009cfbef48d8a8b7d7bdbc79be25c5e" +checksum = "54e36fcd13ed84ffdfda6f5be89b31287cbb80c439841fe69e04841435464391" dependencies = [ - "darling_core 0.20.3", - "darling_macro 0.20.3", + "darling_core 0.20.8", + "darling_macro 0.20.8", ] [[package]] @@ -1231,22 +1198,22 @@ dependencies = [ "ident_case", "proc-macro2", "quote", - "strsim", + "strsim 0.10.0", "syn 1.0.109", ] [[package]] name = "darling_core" -version = "0.20.3" +version = "0.20.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "177e3443818124b357d8e76f53be906d60937f0d3a90773a664fa63fa253e621" +checksum = "9c2cf1c23a687a1feeb728783b993c4e1ad83d99f351801977dd809b48d0a70f" dependencies = [ "fnv", "ident_case", "proc-macro2", "quote", - "strsim", - "syn 2.0.48", + "strsim 0.10.0", + "syn 2.0.53", ] [[package]] @@ -1262,13 +1229,13 @@ dependencies = [ [[package]] name = "darling_macro" -version = "0.20.3" +version = "0.20.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "836a9bbc7ad63342d6d6e7b815ccab164bc77a2d95d84bc3117a8c0d5c98e2d5" +checksum = "a668eda54683121533a393014d8692171709ff57a7d61f187b6e782719f8933f" dependencies = [ - "darling_core 0.20.3", + "darling_core 0.20.8", "quote", - "syn 2.0.48", + "syn 2.0.53", ] [[package]] @@ -1303,6 +1270,17 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "derive-where" +version = "1.2.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "62d671cc41a825ebabc75757b62d3d168c577f9149b2d49ece1dad1f72119d25" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.53", +] + [[package]] name = "derive_more" version = "0.99.17" @@ -1322,22 +1300,13 @@ version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8" -[[package]] -name = "digest" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3d0c8c8752312f9713efd397ff63acb9f85585afbf179282e720e7704954dd5" -dependencies = [ - "generic-array 0.12.4", -] - [[package]] name = "digest" version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066" dependencies = [ - "generic-array 0.14.7", + "generic-array", ] [[package]] @@ -1347,6 +1316,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" dependencies = [ "block-buffer 0.10.4", + "const-oid", "crypto-common", "subtle", ] @@ -1372,7 +1342,7 @@ dependencies = [ "proc-macro2", "quote", "regex", - "syn 2.0.48", + "syn 2.0.53", "termcolor", "toml", "walkdir", @@ -1411,6 +1381,21 @@ version = "1.0.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "545b22097d44f8a9581187cdf93de7a71e4722bf51200cfaba810865b49a495d" +[[package]] +name = "ecdsa" +version = "0.16.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee27f32b5c5292967d2d4a9d7f1e0b0aed2c15daded5a60300e4abb9d8020bca" +dependencies = [ + "der", + "digest 0.10.7", + "elliptic-curve", + "rfc6979", + "serdect", + "signature", + "spki", +] + [[package]] name = "ed25519" version = "2.2.3" @@ -1423,11 +1408,11 @@ dependencies = [ [[package]] name = "ed25519-dalek" -version = "2.1.0" +version = "2.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f628eaec48bfd21b865dc2950cfa014450c01d2fa2b69a86c2fd5844ec523c0" +checksum = "4a3daa8e81a3963a60642bcc1f90a670680bd4a77535faa384e9d1c79d620871" dependencies = [ - "curve25519-dalek 4.1.1", + "curve25519-dalek 4.1.2", "ed25519", "serde", "sha2 0.10.8", @@ -1455,7 +1440,7 @@ version = "4.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7d9ce6874da5d4415896cd45ffbc4d1cfc0c4f9c079427bd870742c30f2f65a9" dependencies = [ - "curve25519-dalek 4.1.1", + "curve25519-dalek 4.1.2", "ed25519", "hashbrown 0.14.3", "hex", @@ -1466,9 +1451,29 @@ dependencies = [ [[package]] name = "either" -version = "1.9.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" +checksum = "11157ac094ffbdde99aa67b23417ebdd801842852b500e395a45a9c0aac03e4a" + +[[package]] +name = "elliptic-curve" +version = "0.13.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47" +dependencies = [ + "base16ct", + "crypto-bigint", + "digest 0.10.7", + "ff", + "generic-array", + "group", + "pkcs8", + "rand_core 0.6.4", + "sec1", + "serdect", + "subtle", + "zeroize", +] [[package]] name = "environmental" @@ -1509,6 +1514,17 @@ dependencies = [ "pin-project-lite", ] +[[package]] +name = "event-listener" +version = "5.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b72557800024fabbaa2449dd4bf24e37b93702d457a4d4f2b0dd1f0f039f20c1" +dependencies = [ + "concurrent-queue", + "parking", + "pin-project-lite", +] + [[package]] name = "event-listener-strategy" version = "0.4.0" @@ -1519,6 +1535,16 @@ dependencies = [ "pin-project-lite", ] +[[package]] +name = "event-listener-strategy" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "feedafcaa9b749175d5ac357452a9d41ea2911da598fde46ce1fe02c37751291" +dependencies = [ + "event-listener 5.0.0", + "pin-project-lite", +] + [[package]] name = "expander" version = "2.0.0" @@ -1529,25 +1555,19 @@ dependencies = [ "fs-err", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.53", ] [[package]] name = "eyre" -version = "0.6.11" +version = "0.6.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6267a1fa6f59179ea4afc8e50fd8612a3cc60bc858f786ff877a4a8cb042799" +checksum = "7cd915d99f24784cdc19fd37ef22b97e3ff0ae756c7e492e9fbfe897d61e2aec" dependencies = [ "indenter", "once_cell", ] -[[package]] -name = "fake-simd" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed" - [[package]] name = "fallible-iterator" version = "0.2.0" @@ -1561,10 +1581,20 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5" [[package]] -name = "fiat-crypto" -version = "0.2.5" +name = "ff" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "27573eac26f4dd11e2b1916c3fe1baa56407c83c71a773a8ba17ec0bca03b6b7" +checksum = "ded41244b729663b1e574f1b4fb731469f69f79c17667b5d776b16cda0479449" +dependencies = [ + "rand_core 0.6.4", + "subtle", +] + +[[package]] +name = "fiat-crypto" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1676f435fc1dadde4d03e43f5d62b259e1ce5f40bd4ffb21db2b42ebe59c1382" [[package]] name = "fixed-hash" @@ -1701,7 +1731,7 @@ checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.53", ] [[package]] @@ -1718,9 +1748,9 @@ checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004" [[package]] name = "futures-timer" -version = "3.0.2" +version = "3.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e64b03909df88034c26dc1547e8970b91f98bdb65165d6a4e9110d94263dbb2c" +checksum = "f288b0a4f20f9a56b5d1da57e2227c661b7b16168e2f72365f57b63326e29b24" dependencies = [ "gloo-timers", "send_wrapper 0.4.0", @@ -1746,22 +1776,13 @@ dependencies = [ [[package]] name = "generate-custom-metadata" -version = "0.34.0" +version = "0.35.0" dependencies = [ "frame-metadata 16.0.0", "parity-scale-codec", "scale-info", ] -[[package]] -name = "generic-array" -version = "0.12.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffdf9f34f1447443d37393cc6c2b8313aebddcd96906caf34e54c68d8e57d7bd" -dependencies = [ - "typenum", -] - [[package]] name = "generic-array" version = "0.14.7" @@ -1770,6 +1791,7 @@ checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" dependencies = [ "typenum", "version_check", + "zeroize", ] [[package]] @@ -1870,6 +1892,17 @@ dependencies = [ "web-sys", ] +[[package]] +name = "group" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0f9ef7462f7c099f518d754361858f86d8a07af53ba9af0fe635bbccb151a63" +dependencies = [ + "ff", + "rand_core 0.6.4", + "subtle", +] + [[package]] name = "h2" version = "0.3.24" @@ -1882,7 +1915,7 @@ dependencies = [ "futures-sink", "futures-util", "http", - "indexmap 2.1.0", + "indexmap 2.2.3", "slab", "tokio", "tokio-util", @@ -1891,9 +1924,13 @@ dependencies = [ [[package]] name = "half" -version = "1.8.2" +version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eabb4a44450da02c90444cf74558da904edde8fb4e9035a9a6a4e15445af0bd7" +checksum = "bc52e53916c08643f1b56ec082790d1e86a32e58dc5268f897f313fbae7b4872" +dependencies = [ + "cfg-if", + "crunchy", +] [[package]] name = "hash-db" @@ -1916,7 +1953,7 @@ version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" dependencies = [ - "ahash 0.7.7", + "ahash 0.7.8", ] [[package]] @@ -1925,7 +1962,7 @@ version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" dependencies = [ - "ahash 0.8.7", + "ahash 0.8.8", ] [[package]] @@ -1934,7 +1971,7 @@ version = "0.14.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" dependencies = [ - "ahash 0.8.7", + "ahash 0.8.8", "allocator-api2", "serde", ] @@ -1945,6 +1982,12 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" +[[package]] +name = "heck" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" + [[package]] name = "hermit-abi" version = "0.1.19" @@ -1956,9 +1999,9 @@ dependencies = [ [[package]] name = "hermit-abi" -version = "0.3.4" +version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d3d0e0f38255e7fa3cf31335b3a56f05febd18025f4db5ef7a0cfb4f8da651f" +checksum = "bd5256b483761cd23699d0da46cc6fd2ee3be420bbe6d020ae4a091e70b7e9fd" [[package]] name = "hex" @@ -1966,23 +2009,19 @@ version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" +[[package]] +name = "hex-conservative" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "30ed443af458ccb6d81c1e7e661545f94d3176752fb1df2f543b902a1e0f51e2" + [[package]] name = "hmac" version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "126888268dcc288495a26bf004b38c5fdbb31682f992c84ceb046a1f0fe38840" dependencies = [ - "crypto-mac 0.8.0", - "digest 0.9.0", -] - -[[package]] -name = "hmac" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a2a2320eb7ec0ebe8da8f744d7812d9fc4cb4d09344ac01898dbcb6a20ae69b" -dependencies = [ - "crypto-mac 0.11.0", + "crypto-mac", "digest 0.9.0", ] @@ -2002,7 +2041,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "17ea0a1394df5b6574da6e0c1ade9e78868c9fb0a4e5ef4428e32da4676b85b1" dependencies = [ "digest 0.9.0", - "generic-array 0.14.7", + "generic-array", "hmac 0.8.1", ] @@ -2091,9 +2130,9 @@ dependencies = [ [[package]] name = "iana-time-zone" -version = "0.1.59" +version = "0.1.60" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6a67363e2aa4443928ce15e57ebae94fd8949958fd1223c4cfc0cd473ad7539" +checksum = "e7ffbb5a1b541ea2561f8c41c087286cc091e21e556a4f09a8f6cbf17b69b141" dependencies = [ "android_system_properties", "core-foundation-sys", @@ -2176,9 +2215,9 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.1.0" +version = "2.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d530e1a18b1cb4c484e6e34556a0d948706958449fca0cab753d649f2bce3d1f" +checksum = "233cf39063f058ea2caae4091bf4a3ef70a653afbc026f5c4a4135d114e3c177" dependencies = [ "equivalent", "hashbrown 0.14.3", @@ -2202,7 +2241,7 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a0c10553d664a4d0bcff9f4215d0aac67a639cc68ef660840afe309b807bc9f5" dependencies = [ - "generic-array 0.14.7", + "generic-array", ] [[package]] @@ -2228,7 +2267,7 @@ dependencies = [ [[package]] name = "integration-tests" -version = "0.34.0" +version = "0.35.0" dependencies = [ "assert_matches", "frame-metadata 16.0.0", @@ -2244,7 +2283,7 @@ dependencies = [ "subxt-codegen", "subxt-metadata", "subxt-signer", - "syn 2.0.48", + "syn 2.0.53", "test-runtime", "tokio", "tracing", @@ -2258,7 +2297,7 @@ version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" dependencies = [ - "hermit-abi 0.3.4", + "hermit-abi 0.3.6", "libc", "windows-sys 0.48.0", ] @@ -2274,9 +2313,9 @@ dependencies = [ [[package]] name = "itertools" -version = "0.12.0" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25db6b064527c5d482d0423354fcd07a89a2dfe07b67892e62411946db7f07b0" +checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569" dependencies = [ "either", ] @@ -2289,30 +2328,31 @@ checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c" [[package]] name = "js-sys" -version = "0.3.67" +version = "0.3.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a1d36f1235bc969acba30b7f5990b864423a6068a10f7c90ae8f0112e3a59d1" +checksum = "29c15563dc2726973df627357ce0c9ddddbea194836909d655df6a75d2cf296d" dependencies = [ "wasm-bindgen", ] [[package]] name = "jsonrpsee" -version = "0.21.0" +version = "0.22.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9579d0ca9fb30da026bac2f0f7d9576ec93489aeb7cd4971dd5b4617d82c79b2" +checksum = "3cdbb7cb6f3ba28f5b212dd250ab4483105efc3e381f5c8bb90340f14f0a2cc3" dependencies = [ "jsonrpsee-client-transport", "jsonrpsee-core", "jsonrpsee-http-client", "jsonrpsee-types", + "jsonrpsee-ws-client", ] [[package]] name = "jsonrpsee-client-transport" -version = "0.21.0" +version = "0.22.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f9f9ed46590a8d5681975f126e22531698211b926129a40a2db47cbca429220" +checksum = "9ab2e14e727d2faf388c99d9ca5210566ed3b044f07d92c29c3611718d178380" dependencies = [ "futures-channel", "futures-util", @@ -2333,9 +2373,9 @@ dependencies = [ [[package]] name = "jsonrpsee-core" -version = "0.21.0" +version = "0.22.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "776d009e2f591b78c038e0d053a796f94575d66ca4e77dd84bfc5e81419e436c" +checksum = "71962a1c49af43adf81d337e4ebc93f3c915faf6eccaa14d74e255107dfd7723" dependencies = [ "anyhow", "async-lock 3.3.0", @@ -2358,9 +2398,9 @@ dependencies = [ [[package]] name = "jsonrpsee-http-client" -version = "0.21.0" +version = "0.22.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78b7de9f3219d95985eb77fd03194d7c1b56c19bce1abfcc9d07462574b15572" +checksum = "8c13987da51270bda2c1c9b40c19be0fe9b225c7a0553963d8f17e683a50ce84" dependencies = [ "async-trait", "hyper", @@ -2378,9 +2418,9 @@ dependencies = [ [[package]] name = "jsonrpsee-types" -version = "0.21.0" +version = "0.22.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3266dfb045c9174b24c77c2dfe0084914bb23a6b2597d70c9dc6018392e1cd1b" +checksum = "1e53c72de6cd2ad6ac1aa6e848206ef8b736f92ed02354959130373dfa5b3cbd" dependencies = [ "anyhow", "beef", @@ -2389,6 +2429,33 @@ dependencies = [ "thiserror", ] +[[package]] +name = "jsonrpsee-ws-client" +version = "0.22.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8a07ab8da9a283b906f6735ddd17d3680158bb72259e853441d1dd0167079ec" +dependencies = [ + "http", + "jsonrpsee-client-transport", + "jsonrpsee-core", + "jsonrpsee-types", + "url", +] + +[[package]] +name = "k256" +version = "0.13.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "956ff9b67e26e1a6a866cb758f12c6f8746208489e3e4a4b5580802f2f0a587b" +dependencies = [ + "cfg-if", + "ecdsa", + "elliptic-curve", + "once_cell", + "serdect", + "sha2 0.10.8", +] + [[package]] name = "keccak" version = "0.1.5" @@ -2406,9 +2473,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "libc" -version = "0.2.152" +version = "0.2.153" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13e3bf6590cbc649f4d1a3eefc9d5d6eb746f5200ffb04e5e142700b8faa56e7" +checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" [[package]] name = "libm" @@ -2494,9 +2561,9 @@ checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" [[package]] name = "lru" -version = "0.12.1" +version = "0.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2994eeba8ed550fd9b47a0b38f0242bc3344e496483c6180b69139cc2fa5d1d7" +checksum = "db2c024b41519440580066ba82aab04092b333e09066a5eb86c7c4890df31f22" dependencies = [ "hashbrown 0.14.3", ] @@ -2531,7 +2598,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b2cffa4ad52c6f791f4f8b15f0c05f9824b2ced1160e88cc393d64fff9a8ac64" dependencies = [ - "rustix 0.38.30", + "rustix 0.38.31", ] [[package]] @@ -2552,18 +2619,6 @@ dependencies = [ "hash-db", ] -[[package]] -name = "merlin" -version = "2.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e261cf0f8b3c42ded9f7d2bb59dea03aa52bc8a1cbc7482f9fc3fd1229d3b42" -dependencies = [ - "byteorder", - "keccak", - "rand_core 0.5.1", - "zeroize", -] - [[package]] name = "merlin" version = "3.0.0" @@ -2584,18 +2639,18 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" [[package]] name = "miniz_oxide" -version = "0.7.1" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7" +checksum = "9d811f3e15f28568be3407c8e7fdb6514c1cda3cb30683f15b6a1a1dc4ea14a7" dependencies = [ "adler", ] [[package]] name = "mio" -version = "0.8.10" +version = "0.8.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f3d0b296e374a4e6f3c7b0a1f5a51d748a0d34c85e7dc48fc3fa9a87657fe09" +checksum = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c" dependencies = [ "libc", "wasi", @@ -2665,7 +2720,7 @@ checksum = "cfb77679af88f8b125209d354a202862602672222e7f2313fdd6dc349bad4712" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.53", ] [[package]] @@ -2680,11 +2735,10 @@ dependencies = [ [[package]] name = "num-integer" -version = "0.1.45" +version = "0.1.46" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" +checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f" dependencies = [ - "autocfg", "num-traits", ] @@ -2702,9 +2756,9 @@ dependencies = [ [[package]] name = "num-traits" -version = "0.2.17" +version = "0.2.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39e3200413f237f41ab11ad6d161bc7239c84dcb631773ccd7de3dfe4b5c267c" +checksum = "da0df0e5185db44f69b44f26786fe401b6c293d1907744beaa7fa62b2e5a517a" dependencies = [ "autocfg", ] @@ -2715,7 +2769,7 @@ version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" dependencies = [ - "hermit-abi 0.3.4", + "hermit-abi 0.3.6", "libc", ] @@ -2752,12 +2806,6 @@ version = "11.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0ab1bc2a289d34bd04a330323ac98a1b4bc82c9d9fcb1e66b63caa84da26b575" -[[package]] -name = "opaque-debug" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2839e79665f131bdb5782e51f2c6c9599c133c6098982a54c794358bf432529c" - [[package]] name = "opaque-debug" version = "0.3.0" @@ -2788,6 +2836,19 @@ version = "3.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c1b04fb49957986fdce4d6ee7a65027d55d4b6d2265e5848bbb507b58ccfdb6f" +[[package]] +name = "parity-bip39" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4e69bf016dc406eff7d53a7d3f7cf1c2e72c82b9088aac1118591e36dd2cd3e9" +dependencies = [ + "bitcoin_hashes 0.13.0", + "rand", + "rand_core 0.6.4", + "serde", + "unicode-normalization", +] + [[package]] name = "parity-scale-codec" version = "3.6.9" @@ -2844,21 +2905,23 @@ dependencies = [ "windows-targets 0.48.5", ] +[[package]] +name = "password-hash" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "346f04948ba92c43e8469c1ee6736c7563d71012b17d40745260fe106aac2166" +dependencies = [ + "base64ct", + "rand_core 0.6.4", + "subtle", +] + [[package]] name = "paste" version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c" -[[package]] -name = "pbkdf2" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d95f5254224e617595d2cc3cc73ff0a5eaf2637519e25f03388154e9378b6ffa" -dependencies = [ - "crypto-mac 0.11.0", -] - [[package]] name = "pbkdf2" version = "0.12.2" @@ -2866,6 +2929,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2" dependencies = [ "digest 0.10.7", + "password-hash", ] [[package]] @@ -2882,22 +2946,22 @@ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" [[package]] name = "pin-project" -version = "1.1.4" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0302c4a0442c456bd56f841aee5c3bfd17967563f6fadc9ceb9f9c23cf3807e0" +checksum = "b6bf43b791c5b9e34c3d182969b4abb522f9343702850a2e57f460d00d09b4b3" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "1.1.4" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "266c042b60c9c76b8d53061e52b2e0d1116abc57cefc8c5cd671619a56ac3690" +checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.53", ] [[package]] @@ -2968,15 +3032,89 @@ dependencies = [ ] [[package]] -name = "polling" -version = "3.3.2" +name = "polkavm-common" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "545c980a3880efd47b2e262f6a4bb6daad6555cf3367aa9c4e52895f69537a41" +checksum = "92c99f7eee94e7be43ba37eef65ad0ee8cbaf89b7c00001c3f6d2be985cb1817" + +[[package]] +name = "polkavm-common" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d9428a5cfcc85c5d7b9fc4b6a18c4b802d0173d768182a51cc7751640f08b92" + +[[package]] +name = "polkavm-derive" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "79fa916f7962348bd1bb1a65a83401675e6fc86c51a0fdbcf92a3108e58e6125" +dependencies = [ + "polkavm-derive-impl-macro 0.8.0", +] + +[[package]] +name = "polkavm-derive" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae8c4bea6f3e11cd89bb18bcdddac10bd9a24015399bd1c485ad68a985a19606" +dependencies = [ + "polkavm-derive-impl-macro 0.9.0", +] + +[[package]] +name = "polkavm-derive-impl" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c10b2654a8a10a83c260bfb93e97b262cf0017494ab94a65d389e0eda6de6c9c" +dependencies = [ + "polkavm-common 0.8.0", + "proc-macro2", + "quote", + "syn 2.0.53", +] + +[[package]] +name = "polkavm-derive-impl" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c4fdfc49717fb9a196e74a5d28e0bc764eb394a2c803eb11133a31ac996c60c" +dependencies = [ + "polkavm-common 0.9.0", + "proc-macro2", + "quote", + "syn 2.0.53", +] + +[[package]] +name = "polkavm-derive-impl-macro" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "15e85319a0d5129dc9f021c62607e0804f5fb777a05cdda44d750ac0732def66" +dependencies = [ + "polkavm-derive-impl 0.8.0", + "syn 2.0.53", +] + +[[package]] +name = "polkavm-derive-impl-macro" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ba81f7b5faac81e528eb6158a6f3c9e0bb1008e0ffa19653bc8dea925ecb429" +dependencies = [ + "polkavm-derive-impl 0.9.0", + "syn 2.0.53", +] + +[[package]] +name = "polling" +version = "3.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "30054e72317ab98eddd8561db0f6524df3367636884b7b21b703e4b280a84a14" dependencies = [ "cfg-if", "concurrent-queue", "pin-project-lite", - "rustix 0.38.30", + "rustix 0.38.31", "tracing", "windows-sys 0.52.0", ] @@ -2988,7 +3126,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8159bd90725d2df49889a078b54f4f79e87f1f8a8444194cdca81d38f5393abf" dependencies = [ "cpufeatures", - "opaque-debug 0.3.0", + "opaque-debug", "universal-hash", ] @@ -3046,7 +3184,7 @@ version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6d37c51ca738a55da99dc0c4a34860fd675453b8b36209178c2249bb13651284" dependencies = [ - "toml_edit 0.21.0", + "toml_edit 0.21.1", ] [[package]] @@ -3075,9 +3213,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.78" +version = "1.0.79" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae" +checksum = "e835ff2298f5721608eb1a980ecaee1aef2c132bf95ecc026a11b7bf3c01c02e" dependencies = [ "unicode-ident", ] @@ -3162,6 +3300,22 @@ dependencies = [ "crossbeam-utils", ] +[[package]] +name = "reconnecting-jsonrpsee-ws-client" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0ea5cf7b021db88f1af45a9b2ecdbe5bc1c5cbebc146632269d572cdd435f5cf" +dependencies = [ + "futures", + "jsonrpsee", + "serde_json", + "thiserror", + "tokio", + "tokio-retry", + "tokio-stream", + "tracing", +] + [[package]] name = "redox_syscall" version = "0.4.1" @@ -3188,7 +3342,7 @@ checksum = "5fddb4f8d99b0a2ebafc65a87a69a7b9875e4b1ae1f00db265d300ef7f28bccc" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.53", ] [[package]] @@ -3199,7 +3353,7 @@ checksum = "b62dbe01f0b06f9d8dc7d49e05a0785f153b00b2c227856282f671e0318c9b15" dependencies = [ "aho-corasick", "memchr", - "regex-automata 0.4.4", + "regex-automata 0.4.5", "regex-syntax 0.8.2", ] @@ -3214,9 +3368,9 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.4.4" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3b7fa1134405e2ec9353fd416b17f8dacd46c473d7d3fd1cf202706a14eb792a" +checksum = "5bb987efffd3c6d0d8f5f89510bb458559eab11e4f869acb20bf845e016259cd" dependencies = [ "aho-corasick", "memchr", @@ -3235,6 +3389,16 @@ version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" +[[package]] +name = "rfc6979" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2" +dependencies = [ + "hmac 0.12.1", + "subtle", +] + [[package]] name = "ring" version = "0.17.7" @@ -3292,9 +3456,9 @@ dependencies = [ [[package]] name = "rustix" -version = "0.38.30" +version = "0.38.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "322394588aaf33c24007e8bb3238ee3e4c5c09c084ab32bc73890b99ff326bca" +checksum = "6ea3e1a662af26cd7a3ba09c0297a31af215563ecf42817c98df621387f4e949" dependencies = [ "bitflags 2.4.2", "errno", @@ -3324,7 +3488,7 @@ dependencies = [ "log", "ring", "rustls-pki-types", - "rustls-webpki 0.102.1", + "rustls-webpki 0.102.2", "subtle", "zeroize", ] @@ -3375,9 +3539,9 @@ dependencies = [ [[package]] name = "rustls-pki-types" -version = "1.1.0" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e9d979b3ce68192e42760c7810125eb6cf2ea10efae545a156063e61f314e2a" +checksum = "048a63e5b3ac996d78d402940b5fa47973d2d080c6c6fffa1d0f19c4445310b7" [[package]] name = "rustls-webpki" @@ -3391,9 +3555,9 @@ dependencies = [ [[package]] name = "rustls-webpki" -version = "0.102.1" +version = "0.102.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef4ca26037c909dedb327b48c3327d0ba91d3dd3c4e05dad328f210ffb68e95b" +checksum = "faaa0a62740bedb9b2ef5afa303da42764c012f743917351dc9a237ea1663610" dependencies = [ "ring", "rustls-pki-types", @@ -3434,38 +3598,38 @@ dependencies = [ [[package]] name = "scale-bits" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "036575c29af9b6e4866ffb7fa055dbf623fe7a9cc159b33786de6013a6969d89" +checksum = "662d10dcd57b1c2a3c41c9cf68f71fb09747ada1ea932ad961aca7e2ca28315f" dependencies = [ "parity-scale-codec", "scale-info", + "scale-type-resolver", "serde", ] [[package]] name = "scale-decode" -version = "0.10.0" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7caaf753f8ed1ab4752c6afb20174f03598c664724e0e32628e161c21000ff76" +checksum = "afc79ba56a1c742f5aeeed1f1801f3edf51f7e818f0a54582cac6f131364ea7b" dependencies = [ "derive_more", "parity-scale-codec", "primitive-types", "scale-bits", "scale-decode-derive", - "scale-info", + "scale-type-resolver", "smallvec", ] [[package]] name = "scale-decode-derive" -version = "0.10.0" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3475108a1b62c7efd1b5c65974f30109a598b2f45f23c9ae030acb9686966db" +checksum = "5398fdb3c7bea3cb419bac4983aadacae93fe1a7b5f693f4ebd98c3821aad7a5" dependencies = [ "darling 0.14.4", - "proc-macro-crate 1.3.1", "proc-macro2", "quote", "syn 1.0.109", @@ -3473,24 +3637,24 @@ dependencies = [ [[package]] name = "scale-encode" -version = "0.5.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d70cb4b29360105483fac1ed567ff95d65224a14dd275b6303ed0a654c78de5" +checksum = "628800925a33794fb5387781b883b5e14d130fece9af5a63613867b8de07c5c7" dependencies = [ "derive_more", "parity-scale-codec", "primitive-types", "scale-bits", "scale-encode-derive", - "scale-info", + "scale-type-resolver", "smallvec", ] [[package]] name = "scale-encode-derive" -version = "0.5.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "995491f110efdc6bea96d6a746140e32bfceb4ea47510750a5467295a4707a25" +checksum = "7a304e1af7cdfbe7a24e08b012721456cc8cecdedadc14b3d10513eada63233c" dependencies = [ "darling 0.14.4", "proc-macro-crate 1.3.1", @@ -3501,9 +3665,9 @@ dependencies = [ [[package]] name = "scale-info" -version = "2.10.0" +version = "2.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f7d66a1128282b7ef025a8ead62a4a9fcf017382ec53b8ffbf4d7bf77bd3c60" +checksum = "788745a868b0e751750388f4e6546eb921ef714a4317fa6954f7cde114eb2eb7" dependencies = [ "bitvec", "cfg-if", @@ -3515,9 +3679,9 @@ dependencies = [ [[package]] name = "scale-info-derive" -version = "2.10.0" +version = "2.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "abf2c68b89cafb3b8d918dd07b42be0da66ff202cf1155c5739a4e0c1ea0dc19" +checksum = "7dc2f4e8bc344b9fc3d5f74f72c2e55bfc38d28dc2ebc69c194a3df424e4d9ac" dependencies = [ "proc-macro-crate 1.3.1", "proc-macro2", @@ -3526,23 +3690,34 @@ dependencies = [ ] [[package]] -name = "scale-typegen" +name = "scale-type-resolver" version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00860983481ac590ac87972062909bef0d6a658013b592ccc0f2feb272feab11" +checksum = "10b800069bfd43374e0f96f653e0d46882a2cb16d6d961ac43bea80f26c76843" +dependencies = [ + "scale-info", + "smallvec", +] + +[[package]] +name = "scale-typegen" +version = "0.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0906a872e5733f2633457001962007b644d2e17e08e74340f79820e4951b653f" dependencies = [ "proc-macro2", "quote", "scale-info", - "syn 2.0.48", + "smallvec", + "syn 2.0.53", "thiserror", ] [[package]] name = "scale-typegen-description" -version = "0.1.0" +version = "0.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae69c1dfd81e9859a5fb42c1b560369e6ed82d2c5b5cb4cac3bba1962a73f017" +checksum = "1601f61a2ec4f278cc6102204860893b90abd938ec7e9d02799748a97169b3c9" dependencies = [ "anyhow", "peekmore", @@ -3558,9 +3733,9 @@ dependencies = [ [[package]] name = "scale-value" -version = "0.13.0" +version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58223c7691bf0bd46b43c9aea6f0472d1067f378d574180232358d7c6e0a8089" +checksum = "c07ccfee963104335c971aaf8b7b0e749be8569116322df23f1f75c4ca9e4a28" dependencies = [ "base58", "blake2", @@ -3572,6 +3747,7 @@ dependencies = [ "scale-decode", "scale-encode", "scale-info", + "scale-type-resolver", "serde", "yap", ] @@ -3591,27 +3767,11 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "772575a524feeb803e5b0fcbc6dd9f367e579488197c94c6e4023aad2305774d" dependencies = [ - "ahash 0.8.7", + "ahash 0.8.8", "cfg-if", "hashbrown 0.13.2", ] -[[package]] -name = "schnorrkel" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "021b403afe70d81eea68f6ea12f6b3c9588e5d536a94c3bf80f15e7faa267862" -dependencies = [ - "arrayref", - "arrayvec 0.5.2", - "curve25519-dalek 2.1.3", - "merlin 2.0.1", - "rand_core 0.5.1", - "sha2 0.8.2", - "subtle", - "zeroize", -] - [[package]] name = "schnorrkel" version = "0.11.4" @@ -3621,9 +3781,9 @@ dependencies = [ "aead", "arrayref", "arrayvec 0.7.4", - "curve25519-dalek 4.1.1", + "curve25519-dalek 4.1.2", "getrandom_or_panic", - "merlin 3.0.0", + "merlin", "rand_core 0.6.4", "serde_bytes", "sha2 0.10.8", @@ -3648,10 +3808,25 @@ dependencies = [ ] [[package]] -name = "secp256k1" -version = "0.28.1" +name = "sec1" +version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f622567e3b4b38154fb8190bcf6b160d7a4301d70595a49195b48c116007a27" +checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc" +dependencies = [ + "base16ct", + "der", + "generic-array", + "pkcs8", + "serdect", + "subtle", + "zeroize", +] + +[[package]] +name = "secp256k1" +version = "0.28.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d24b59d129cdadea20aea4fb2352fa053712e5d713eee47d700cd4b2bc002f10" dependencies = [ "secp256k1-sys", ] @@ -3717,9 +3892,9 @@ checksum = "cd0b0ec5f1c1ca621c432a25813d8d60c88abe6d3e08a3eb9cf37d97a0fe3d73" [[package]] name = "serde" -version = "1.0.196" +version = "1.0.197" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "870026e60fa08c69f064aa766c10f10b1d62db9ccd4d0abb206472bee0ce3b32" +checksum = "3fb1c873e1b9b056a4dc4c0c198b24c3ffa059243875552b2bd0933b1aee4ce2" dependencies = [ "serde_derive", ] @@ -3735,20 +3910,20 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.196" +version = "1.0.197" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "33c85360c95e7d137454dc81d9a4ed2b8efd8fbe19cee57357b32b9771fccb67" +checksum = "7eb0b34b42edc17f6b7cac84a52a1c5f0e1bb2227e997ca9011ea3dd34e8610b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.53", ] [[package]] name = "serde_json" -version = "1.0.113" +version = "1.0.114" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69801b70b1c3dac963ecb03a364ba0ceda9cf60c71cfe475e99864759c8b8a79" +checksum = "c5f09b1bd632ef549eaa9f60a1f8de742bdbc698e6cee2095fc84dde5f549ae0" dependencies = [ "itoa", "ryu", @@ -3764,6 +3939,16 @@ dependencies = [ "serde", ] +[[package]] +name = "serdect" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a84f14a19e9a014bb9f4512488d9829a68e04ecabffb0f9904cd1ace94598177" +dependencies = [ + "base16ct", + "serde", +] + [[package]] name = "sha-1" version = "0.9.8" @@ -3774,19 +3959,7 @@ dependencies = [ "cfg-if", "cpufeatures", "digest 0.9.0", - "opaque-debug 0.3.0", -] - -[[package]] -name = "sha2" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a256f46ea78a0c0d9ff00077504903ac881a1dafdc20da66545699e7776b3e69" -dependencies = [ - "block-buffer 0.7.3", - "digest 0.8.1", - "fake-simd", - "opaque-debug 0.2.3", + "opaque-debug", ] [[package]] @@ -3799,7 +3972,7 @@ dependencies = [ "cfg-if", "cpufeatures", "digest 0.9.0", - "opaque-debug 0.3.0", + "opaque-debug", ] [[package]] @@ -3847,6 +4020,7 @@ version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" dependencies = [ + "digest 0.10.7", "rand_core 0.6.4", ] @@ -3919,22 +4093,22 @@ dependencies = [ "hashbrown 0.14.3", "hex", "hmac 0.12.1", - "itertools 0.12.0", + "itertools 0.12.1", "libm", "libsecp256k1", - "merlin 3.0.0", + "merlin", "no-std-net", "nom", "num-bigint", "num-rational", "num-traits", - "pbkdf2 0.12.2", + "pbkdf2", "pin-project", "poly1305", "rand", "rand_chacha", "ruzstd", - "schnorrkel 0.11.4", + "schnorrkel", "serde", "serde_json", "sha2 0.10.8", @@ -3968,7 +4142,7 @@ dependencies = [ "futures-util", "hashbrown 0.14.3", "hex", - "itertools 0.12.0", + "itertools 0.12.1", "log", "lru", "no-std-net", @@ -4012,9 +4186,9 @@ dependencies = [ [[package]] name = "sp-application-crypto" -version = "30.0.0" +version = "33.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e4fe7a9b7fa9da76272b201e2fb3c7900d97d32a46b66af9a04dad457f73c71" +checksum = "13ca6121c22c8bd3d1dce1f05c479101fd0d7b159bef2a3e8c834138d839c75c" dependencies = [ "parity-scale-codec", "scale-info", @@ -4026,9 +4200,9 @@ dependencies = [ [[package]] name = "sp-arithmetic" -version = "23.0.0" +version = "25.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f42721f072b421f292a072e8f52a3b3c0fbc27428f0c9fe24067bc47046bad63" +checksum = "910c07fa263b20bf7271fdd4adcb5d3217dfdac14270592e0780223542e7e114" dependencies = [ "integer-sqrt", "num-traits", @@ -4041,12 +4215,11 @@ dependencies = [ [[package]] name = "sp-core" -version = "28.0.0" +version = "31.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f230cb12575455070da0fc174815958423a0b9a641d5e304a9457113c7cb4007" +checksum = "26d7a0fd8f16dcc3761198fc83be12872f823b37b749bc72a3a6a1f702509366" dependencies = [ "array-bytes", - "bip39", "bitflags 1.3.2", "blake2", "bounded-collections", @@ -4058,20 +4231,22 @@ dependencies = [ "hash256-std-hasher", "impl-serde", "itertools 0.10.5", + "k256", "libsecp256k1", "log", - "merlin 3.0.0", + "merlin", + "parity-bip39", "parity-scale-codec", "parking_lot", "paste", "primitive-types", "rand", "scale-info", - "schnorrkel 0.11.4", + "schnorrkel", "secp256k1", "secrecy", "serde", - "sp-core-hashing", + "sp-crypto-hashing", "sp-debug-derive", "sp-externalities", "sp-runtime-interface", @@ -4086,10 +4261,10 @@ dependencies = [ ] [[package]] -name = "sp-core-hashing" -version = "15.0.0" +name = "sp-crypto-hashing" +version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e0f4990add7b2cefdeca883c0efa99bb4d912cb2196120e1500c0cc099553b0" +checksum = "bc9927a7f81334ed5b8a98a4a978c81324d12bd9713ec76b5c68fd410174c5eb" dependencies = [ "blake2b_simd", "byteorder", @@ -4107,14 +4282,14 @@ checksum = "48d09fa0a5f7299fb81ee25ae3853d26200f7a348148aed6de76be905c007dbe" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.53", ] [[package]] name = "sp-externalities" -version = "0.25.0" +version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63867ec85950ced90d4ab1bba902a47db1b1efdf2829f653945669b2bb470a9c" +checksum = "a1d6a4572eadd4a63cff92509a210bf425501a0c5e76574b30a366ac77653787" dependencies = [ "environmental", "parity-scale-codec", @@ -4124,18 +4299,20 @@ dependencies = [ [[package]] name = "sp-io" -version = "30.0.0" +version = "33.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c55f26d89feedaf0faf81688b6e1e1e81329cd8b4c6a4fd6c5b97ed9dd068b8a" +checksum = "3e09bba780b55bd9e67979cd8f654a31e4a6cf45426ff371394a65953d2177f2" dependencies = [ "bytes", "ed25519-dalek", "libsecp256k1", "log", "parity-scale-codec", + "polkavm-derive 0.9.1", "rustversion", "secp256k1", "sp-core", + "sp-crypto-hashing", "sp-externalities", "sp-keystore", "sp-runtime-interface", @@ -4149,9 +4326,9 @@ dependencies = [ [[package]] name = "sp-keyring" -version = "31.0.0" +version = "34.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98165ce7c625a8cdb88d39c6bbd56fe8b32ada64ed0894032beba99795f557da" +checksum = "a07a31da596d705b3a3458d784a897af7fd2f8090de436dc386a112e8ea7f34f" dependencies = [ "sp-core", "sp-runtime", @@ -4160,15 +4337,14 @@ dependencies = [ [[package]] name = "sp-keystore" -version = "0.34.0" +version = "0.37.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96806a28a62ed9ddecd0b28857b1344d029390f7c5c42a2ff9199cbf5638635c" +checksum = "bdbab8b61bd61d5f8625a0c75753b5d5a23be55d3445419acd42caf59cf6236b" dependencies = [ "parity-scale-codec", "parking_lot", "sp-core", "sp-externalities", - "thiserror", ] [[package]] @@ -4184,9 +4360,9 @@ dependencies = [ [[package]] name = "sp-runtime" -version = "31.0.1" +version = "34.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3bb49a4475d390198dfd3d41bef4564ab569fbaf1b5e38ae69b35fc01199d91" +checksum = "ec3cb126971e7db2f0fcf8053dce740684c438c7180cfca1959598230f342c58" dependencies = [ "docify", "either", @@ -4209,13 +4385,14 @@ dependencies = [ [[package]] name = "sp-runtime-interface" -version = "24.0.0" +version = "26.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f66b66d8cec3d785fa6289336c1d9cbd4305d5d84f7134378c4d79ed7983e6fb" +checksum = "e48a675ea4858333d4d755899ed5ed780174aa34fec15953428d516af5452295" dependencies = [ "bytes", "impl-trait-for-tuples", "parity-scale-codec", + "polkavm-derive 0.8.0", "primitive-types", "sp-externalities", "sp-runtime-interface-proc-macro", @@ -4228,23 +4405,23 @@ dependencies = [ [[package]] name = "sp-runtime-interface-proc-macro" -version = "17.0.0" +version = "18.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cfaf6e85b2ec12a4b99cd6d8d57d083e30c94b7f1b0d8f93547121495aae6f0c" +checksum = "0195f32c628fee3ce1dfbbf2e7e52a30ea85f3589da9fe62a8b816d70fc06294" dependencies = [ "Inflector", "expander", "proc-macro-crate 3.1.0", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.53", ] [[package]] name = "sp-state-machine" -version = "0.35.0" +version = "0.38.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "718c779ad1d6fcc0be64c7ce030b33fa44b5c8914b3a1319ef63bb5f27fb98df" +checksum = "1eae0eac8034ba14437e772366336f579398a46d101de13dbb781ab1e35e67c5" dependencies = [ "hash-db", "log", @@ -4270,9 +4447,9 @@ checksum = "12f8ee986414b0a9ad741776762f4083cd3a5128449b982a3919c4df36874834" [[package]] name = "sp-storage" -version = "19.0.0" +version = "20.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fb92d7b24033a8a856d6e20dd980b653cbd7af7ec471cc988b1b7c1d2e3a32b" +checksum = "8dba5791cb3978e95daf99dad919ecb3ec35565604e88cd38d805d9d4981e8bd" dependencies = [ "impl-serde", "parity-scale-codec", @@ -4297,11 +4474,11 @@ dependencies = [ [[package]] name = "sp-trie" -version = "29.0.0" +version = "32.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e4d24d84a0beb44a71dcac1b41980e1edf7fb722c7f3046710136a283cd479b" +checksum = "f1aa91ad26c62b93d73e65f9ce7ebd04459c4bad086599348846a81988d6faa4" dependencies = [ - "ahash 0.8.7", + "ahash 0.8.8", "hash-db", "lazy_static", "memory-db", @@ -4336,9 +4513,9 @@ dependencies = [ [[package]] name = "sp-weights" -version = "27.0.0" +version = "30.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e874bdf9dd3fd3242f5b7867a4eaedd545b02f29041a46d222a9d9d5caaaa5c" +checksum = "9af6c661fe3066b29f9e1d258000f402ff5cc2529a9191972d214e5871d0ba87" dependencies = [ "bounded-collections", "parity-scale-codec", @@ -4408,6 +4585,12 @@ version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" +[[package]] +name = "strsim" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ee073c9e4cd00e28217186dbe12796d692868f432bf2e97ee73bed0c56dfa01" + [[package]] name = "strum" version = "0.24.1" @@ -4423,7 +4606,7 @@ version = "0.24.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1e385be0d24f186b4ce2f9982191e7101bb737312ad61c1f2f984f34bcf85d59" dependencies = [ - "heck", + "heck 0.4.1", "proc-macro2", "quote", "rustversion", @@ -4432,20 +4615,20 @@ dependencies = [ [[package]] name = "substrate-bip39" -version = "0.4.5" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e620c7098893ba667438b47169c00aacdd9e7c10e042250ce2b60b087ec97328" +checksum = "a2b564c293e6194e8b222e52436bcb99f60de72043c7f845cf6c4406db4df121" dependencies = [ - "hmac 0.11.0", - "pbkdf2 0.8.0", - "schnorrkel 0.9.1", - "sha2 0.9.9", + "hmac 0.12.1", + "pbkdf2", + "schnorrkel", + "sha2 0.10.8", "zeroize", ] [[package]] name = "substrate-runner" -version = "0.34.0" +version = "0.35.0" [[package]] name = "subtle" @@ -4455,14 +4638,12 @@ checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc" [[package]] name = "subxt" -version = "0.34.0" +version = "0.35.0" dependencies = [ "assert_matches", "async-trait", - "base58", "bitvec", - "blake2", - "derivative", + "derive-where", "either", "frame-metadata 16.0.0", "futures", @@ -4473,6 +4654,7 @@ dependencies = [ "jsonrpsee", "parity-scale-codec", "primitive-types", + "reconnecting-jsonrpsee-ws-client", "scale-bits", "scale-decode", "scale-encode", @@ -4481,16 +4663,16 @@ dependencies = [ "serde", "serde_json", "sp-core", - "sp-core-hashing", + "sp-crypto-hashing", "sp-keyring", "sp-runtime", + "subxt-core", "subxt-lightclient", "subxt-macro", "subxt-metadata", "subxt-signer", "thiserror", "tokio", - "tokio-stream", "tokio-util", "tracing", "tracing-subscriber 0.3.18", @@ -4499,12 +4681,12 @@ dependencies = [ [[package]] name = "subxt-cli" -version = "0.34.0" +version = "0.35.0" dependencies = [ - "clap 4.4.18", + "clap 4.5.3", "color-eyre", "frame-metadata 16.0.0", - "heck", + "heck 0.4.1", "hex", "indoc", "jsonrpsee", @@ -4521,18 +4703,18 @@ dependencies = [ "subxt", "subxt-codegen", "subxt-metadata", - "syn 2.0.48", + "syn 2.0.53", "thiserror", "tokio", ] [[package]] name = "subxt-codegen" -version = "0.34.0" +version = "0.35.0" dependencies = [ "frame-metadata 16.0.0", "getrandom", - "heck", + "heck 0.4.1", "hex", "jsonrpsee", "parity-scale-codec", @@ -4541,16 +4723,45 @@ dependencies = [ "scale-info", "scale-typegen", "subxt-metadata", - "syn 2.0.48", + "syn 2.0.53", "thiserror", "tokio", ] [[package]] -name = "subxt-lightclient" -version = "0.34.0" +name = "subxt-core" +version = "0.35.0" +dependencies = [ + "base58", + "bitvec", + "blake2", + "derive-where", + "derive_more", + "frame-metadata 16.0.0", + "hashbrown 0.14.3", + "hex", + "impl-serde", + "parity-scale-codec", + "primitive-types", + "scale-bits", + "scale-decode", + "scale-encode", + "scale-info", + "scale-value", + "serde", + "serde_json", + "sp-core", + "sp-crypto-hashing", + "sp-keyring", + "sp-runtime", + "subxt-metadata", + "tracing", +] + +[[package]] +name = "subxt-lightclient" +version = "0.35.0" dependencies = [ - "either", "futures", "futures-timer", "futures-util", @@ -4574,51 +4785,53 @@ dependencies = [ [[package]] name = "subxt-macro" -version = "0.34.0" +version = "0.35.0" dependencies = [ - "darling 0.20.3", + "darling 0.20.8", "parity-scale-codec", "proc-macro-error", "quote", "scale-typegen", "subxt-codegen", - "syn 2.0.48", + "syn 2.0.53", ] [[package]] name = "subxt-metadata" -version = "0.34.0" +version = "0.35.0" dependencies = [ "assert_matches", "bitvec", "criterion", + "derive_more", "frame-metadata 16.0.0", + "hashbrown 0.14.3", "parity-scale-codec", "scale-info", - "sp-core-hashing", - "thiserror", + "sp-crypto-hashing", ] [[package]] name = "subxt-signer" -version = "0.34.0" +version = "0.35.0" dependencies = [ "bip39", + "cfg-if", + "derive_more", "getrandom", "hex", "hmac 0.12.1", "parity-scale-codec", - "pbkdf2 0.12.2", + "pbkdf2", "regex", - "schnorrkel 0.11.4", + "schnorrkel", "secp256k1", "secrecy", "sha2 0.10.8", "sp-core", - "sp-core-hashing", + "sp-crypto-hashing", "sp-keyring", - "subxt", - "thiserror", + "subxt-core", "zeroize", ] @@ -4635,9 +4848,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.48" +version = "2.0.53" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f3531638e407dfc0814761abb7c00a5b54992b849452a0646b7f65c9f770f3f" +checksum = "7383cd0e49fff4b6b90ca5670bfd3e9d6a733b3f90c686605aa7eec8c4996032" dependencies = [ "proc-macro2", "quote", @@ -4667,7 +4880,7 @@ dependencies = [ [[package]] name = "test-runtime" -version = "0.34.0" +version = "0.35.0" dependencies = [ "hex", "impl-serde", @@ -4689,22 +4902,22 @@ checksum = "222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d" [[package]] name = "thiserror" -version = "1.0.56" +version = "1.0.58" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d54378c645627613241d077a3a79db965db602882668f9136ac42af9ecb730ad" +checksum = "03468839009160513471e86a034bb2c5c0e4baae3b43f79ffc55c4a5427b3297" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.56" +version = "1.0.58" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa0faa943b50f3db30a20aa7e265dbc66076993efed8463e8de414e5d06d3471" +checksum = "c61f3ba182994efc43764a46c018c347bc492c79f024e705f46567b418f6d4f7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.53", ] [[package]] @@ -4744,9 +4957,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.35.1" +version = "1.36.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c89b4efa943be685f629b149f53829423f8f5531ea21249408e8e2f8671ec104" +checksum = "61285f6515fa018fb2d1e46eb21223fff441ee8db5d0f1435e8ab4f5cdb80931" dependencies = [ "backtrace", "bytes", @@ -4767,7 +4980,18 @@ checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.53", +] + +[[package]] +name = "tokio-retry" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f57eb36ecbe0fc510036adff84824dd3c24bb781e21bfa67b69d556aa85214f" +dependencies = [ + "pin-project", + "rand", + "tokio", ] [[package]] @@ -4819,14 +5043,14 @@ dependencies = [ [[package]] name = "toml" -version = "0.8.8" +version = "0.8.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1a195ec8c9da26928f773888e0742ca3ca1040c6cd859c919c9f59c1954ab35" +checksum = "9a9aad4a3066010876e8dcf5a8a06e70a558751117a145c6ce2b82c2e2054290" dependencies = [ "serde", "serde_spanned", "toml_datetime", - "toml_edit 0.21.0", + "toml_edit 0.22.5", ] [[package]] @@ -4844,9 +5068,9 @@ version = "0.19.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" dependencies = [ - "indexmap 2.1.0", + "indexmap 2.2.3", "toml_datetime", - "winnow", + "winnow 0.5.40", ] [[package]] @@ -4855,22 +5079,33 @@ version = "0.20.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "70f427fce4d84c72b5b732388bf4a9f4531b53f74e2887e3ecb2481f68f66d81" dependencies = [ - "indexmap 2.1.0", + "indexmap 2.2.3", "toml_datetime", - "winnow", + "winnow 0.5.40", ] [[package]] name = "toml_edit" -version = "0.21.0" +version = "0.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d34d383cd00a163b4a5b85053df514d45bc330f6de7737edfe0a93311d1eaa03" +checksum = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1" dependencies = [ - "indexmap 2.1.0", + "indexmap 2.2.3", + "toml_datetime", + "winnow 0.5.40", +] + +[[package]] +name = "toml_edit" +version = "0.22.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "99e68c159e8f5ba8a28c4eb7b0c0c190d77bb479047ca713270048145a9ad28a" +dependencies = [ + "indexmap 2.2.3", "serde", "serde_spanned", "toml_datetime", - "winnow", + "winnow 0.6.1", ] [[package]] @@ -4920,7 +5155,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.53", ] [[package]] @@ -5041,17 +5276,17 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "trybuild" -version = "1.0.89" +version = "1.0.90" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a9d3ba662913483d6722303f619e75ea10b7855b0f8e0d72799cf8621bb488f" +checksum = "2aa6f84ec205ebf87fb7a0abdbcd1467fa5af0e86878eb6d888b78ecbb10b6d5" dependencies = [ - "basic-toml", "glob 0.3.1", "once_cell", "serde", "serde_derive", "serde_json", "termcolor", + "toml", ] [[package]] @@ -5074,7 +5309,7 @@ checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" [[package]] name = "ui-tests" -version = "0.34.0" +version = "0.35.0" dependencies = [ "frame-metadata 16.0.0", "generate-custom-metadata", @@ -5264,9 +5499,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasm-bindgen" -version = "0.2.90" +version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1223296a201415c7fad14792dbefaace9bd52b62d33453ade1c5b5f07555406" +checksum = "4be2531df63900aeb2bca0daaaddec08491ee64ceecbee5076636a3b026795a8" dependencies = [ "cfg-if", "wasm-bindgen-macro", @@ -5274,24 +5509,24 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.90" +version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcdc935b63408d58a32f8cc9738a0bffd8f05cc7c002086c6ef20b7312ad9dcd" +checksum = "614d787b966d3989fa7bb98a654e369c762374fd3213d212cfc0251257e747da" dependencies = [ "bumpalo", "log", "once_cell", "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.53", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-futures" -version = "0.4.40" +version = "0.4.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bde2032aeb86bdfaecc8b261eef3cba735cc426c1f3a3416d1e0791be95fc461" +checksum = "76bc14366121efc8dbb487ab05bcc9d346b3b5ec0eaa76e46594cabbe51762c0" dependencies = [ "cfg-if", "js-sys", @@ -5301,9 +5536,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.90" +version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e4c238561b2d428924c49815533a8b9121c664599558a5d9ec51f8a1740a999" +checksum = "a1f8823de937b71b9460c0c34e25f3da88250760bec0ebac694b49997550d726" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -5311,22 +5546,22 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.90" +version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bae1abb6806dc1ad9e560ed242107c0f6c84335f1749dd4e8ddb012ebd5e25a7" +checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.53", "wasm-bindgen-backend", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.90" +version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d91413b1c31d7539ba5ef2451af3f0b833a005eb27a631cec32bc0635a8602b" +checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96" [[package]] name = "wasmi" @@ -5346,9 +5581,9 @@ dependencies = [ [[package]] name = "wasmi_arena" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "401c1f35e413fac1846d4843745589d9ec678977ab35a384db8ae7830525d468" +checksum = "104a7f73be44570cac297b3035d76b169d6599637631cf37a1703326a0727073" [[package]] name = "wasmi_core" @@ -5515,9 +5750,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.67" +version = "0.3.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58cd2333b6e0be7a39605f0e255892fd7418a682d8da8fe042fe25128794d2ed" +checksum = "77afa9a11836342370f4817622a2f0f418b134426d91a82dfb48f532d2ec13ef" dependencies = [ "js-sys", "wasm-bindgen", @@ -5532,7 +5767,7 @@ dependencies = [ "either", "home", "once_cell", - "rustix 0.38.30", + "rustix 0.38.31", "windows-sys 0.48.0", ] @@ -5776,9 +6011,18 @@ checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04" [[package]] name = "winnow" -version = "0.5.34" +version = "0.5.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7cf47b659b318dccbd69cc4797a39ae128f533dce7902a1096044d1967b9c16" +checksum = "f593a95398737aeed53e489c785df13f3618e41dbcd6718c6addbf1395aa6876" +dependencies = [ + "memchr", +] + +[[package]] +name = "winnow" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d90f4e0f530c4c69f62b80d839e9ef3855edc9cba471a160c4d692deed62b401" dependencies = [ "memchr", ] @@ -5794,11 +6038,11 @@ dependencies = [ [[package]] name = "x25519-dalek" -version = "2.0.0" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb66477291e7e8d2b0ff1bcb900bf29489a9692816d79874bea351e7a8b6de96" +checksum = "c7e468321c81fb07fa7f4c636c3972b9100f0346e5b6a9f2bd0603a52f7ed277" dependencies = [ - "curve25519-dalek 4.1.1", + "curve25519-dalek 4.1.2", "rand_core 0.6.4", "serde", "zeroize", @@ -5833,7 +6077,7 @@ checksum = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.53", ] [[package]] @@ -5853,5 +6097,5 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.48", + "syn 2.0.53", ] diff --git a/Cargo.toml b/Cargo.toml index a462c2cedc..001732e41e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,6 +2,7 @@ members = [ "cli", "codegen", + "core", "lightclient", "testing/substrate-runner", "testing/test-runtime", @@ -18,13 +19,20 @@ members = [ # We exclude any crates that would depend on non mutually # exclusive feature flags and thus can't compile with the # workspace: -exclude = ["testing/wasm-rpc-tests", "testing/wasm-lightclient-tests", "signer/wasm-tests", "examples/wasm-example", "examples/parachain-example"] +exclude = [ + "testing/no-std-tests", + "testing/wasm-rpc-tests", + "testing/wasm-lightclient-tests", + "signer/wasm-tests", + "examples/wasm-example", + "examples/parachain-example" +] resolver = "2" [workspace.package] authors = ["Parity Technologies "] edition = "2021" -version = "0.34.0" +version = "0.35.0" rust-version = "1.74.0" license = "Apache-2.0 OR GPL-3.0" repository = "https://github.com/paritytech/subxt" @@ -51,53 +59,56 @@ type_complexity = "allow" all = "deny" [workspace.dependencies] -async-trait = "0.1.74" +async-trait = "0.1.79" assert_matches = "1.5.0" base58 = { version = "0.2.0" } bitvec = { version = "1", default-features = false } blake2 = { version = "0.10.6", default-features = false } -clap = { version = "4.4.18", features = ["derive", "cargo"] } +clap = { version = "4.5.3", features = ["derive", "cargo"] } +cfg-if = "1.0.0" criterion = "0.4" -codec = { package = "parity-scale-codec", version = "3.4.0", default-features = false } -color-eyre = "0.6.1" +codec = { package = "parity-scale-codec", version = "3.6.9", default-features = false } +color-eyre = "0.6.3" console_error_panic_hook = "0.1.7" -darling = "0.20.3" -derivative = "2.2.0" -either = "1.9.0" -frame-metadata = { version = "16.0.0", default-features = false, features = ["current", "std"] } +darling = "0.20.8" +derive-where = "1.2.7" +derive_more = "0.99.17" +either = { version = "1.10.0", default-features = false } +frame-metadata = { version = "16.0.0", default-features = false } futures = { version = "0.3.30", default-features = false, features = ["std"] } getrandom = { version = "0.2", default-features = false } -hex = "0.4.3" +hashbrown = "0.14.3" +hex = { version = "0.4.3", default-features = false } heck = "0.4.1" -impl-serde = { version = "0.4.0" } +impl-serde = { version = "0.4.0", default-features = false } indoc = "2" -jsonrpsee = { version = "0.21" } +jsonrpsee = { version = "0.22" } pretty_assertions = "1.4.0" -primitive-types = { version = "0.12.2", default-features = false, features = ["codec", "scale-info", "serde"] } +primitive-types = { version = "0.12.2", default-features = false } proc-macro-error = "1.0.4" -proc-macro2 = "1.0.78" +proc-macro2 = "1.0.79" quote = "1.0.35" -regex = "1.10.3" -scale-info = "2.10.0" -scale-value = "0.13.0" -scale-bits = "0.4.0" -scale-decode = "0.10.0" -scale-encode = "0.5.0" -serde = { version = "1.0.196" } -serde_json = { version = "1.0.113" } +regex = { version = "1.10.3", default-features = false } +scale-info = { version = "2.11.0", default-features = false } +scale-value = { version = "0.14.1", default-features = false } +scale-bits = { version = "0.5.0", default-features = false } +scale-decode = { version = "0.11.1", default-features = false } +scale-encode = { version = "0.6.0", default-features = false } +scale-typegen = "0.4.2" +scale-typegen-description = "0.4.2" +serde = { version = "1.0.197", default-features = false, features = ["derive"] } +serde_json = { version = "1.0.114", default-features = false } syn = { version = "2.0.15", features = ["full", "extra-traits"] } -thiserror = "1.0.53" -tokio = { version = "1.35", default-features = false } -tracing = "0.1.40" +thiserror = "1.0.58" +tokio = { version = "1.36", default-features = false } +tracing = { version = "0.1.40", default-features = false } tracing-wasm = "0.2.1" tracing-subscriber = "0.3.18" -trybuild = "1.0.89" +trybuild = "1.0.90" url = "2.5.0" wabt = "0.10.0" wasm-bindgen-test = "0.3.24" which = "5.0.0" -scale-typegen-description = "0.1.0" -scale-typegen = "0.1.1" strip-ansi-escapes = "0.2.0" # Light client support: @@ -106,42 +117,43 @@ smoldot-light = { version = "0.15.0", default-features = false } tokio-stream = "0.1.14" futures-util = "0.3.30" rand = "0.8.5" -pin-project = "1.1.4" +pin-project = "1.1.5" # Light client wasm: -web-sys = { version = "0.3.67", features = ["BinaryType", "CloseEvent", "MessageEvent", "WebSocket"] } -wasm-bindgen = "0.2.90" +web-sys = { version = "0.3.69", features = ["BinaryType", "CloseEvent", "MessageEvent", "WebSocket"] } +wasm-bindgen = "0.2.92" send_wrapper = "0.6.0" -js-sys = "0.3.67" -wasm-bindgen-futures = "0.4.38" +js-sys = "0.3.69" +wasm-bindgen-futures = "0.4.42" futures-timer = "3" instant = { version = "0.1.12", default-features = false } tokio-util = "0.7.10" # Substrate crates: -sp-core = { version = "28.0.0", default-features = false } -sp-core-hashing = { version = "15.0.0", default-features = false } -sp-runtime = "31.0.0" -sp-keyring = "31.0.0" +sp-core = { version = "31.0.0", default-features = false } +sp-crypto-hashing = { version = "0.1.0", default-features = false } +sp-runtime = "34.0.0" +sp-keyring = "34.0.0" # Subxt workspace crates: -subxt = { version = "0.34.0", path = "subxt", default-features = false } -subxt-macro = { version = "0.34.0", path = "macro" } -subxt-metadata = { version = "0.34.0", path = "metadata" } -subxt-codegen = { version = "0.34.0", path = "codegen" } -subxt-signer = { version = "0.34.0", path = "signer" } -subxt-lightclient = { version = "0.34.0", path = "lightclient", default-features = false } +subxt = { version = "0.35.0", path = "subxt", default-features = false } +subxt-core = { version = "0.35.0", path = "core", default-features = false } +subxt-macro = { version = "0.35.0", path = "macro" } +subxt-metadata = { version = "0.35.0", path = "metadata", default-features = false } +subxt-codegen = { version = "0.35.0", path = "codegen" } +subxt-signer = { version = "0.35.0", path = "signer", default-features = false } +subxt-lightclient = { version = "0.35.0", path = "lightclient", default-features = false } test-runtime = { path = "testing/test-runtime" } substrate-runner = { path = "testing/substrate-runner" } # subxt-signer deps that I expect aren't useful anywhere else: -bip39 = "2.0.0" -hmac = "0.12.1" +bip39 = { version = "2.0.0", default-features = false } +hmac = { version = "0.12.1", default-features = false } pbkdf2 = { version = "0.12.2", default-features = false } -schnorrkel = "0.11.4" -secp256k1 = "0.28.1" +schnorrkel = { version = "0.11.4", default-features = false } +secp256k1 = { version = "0.28.2", default-features = false } secrecy = "0.8.0" -sha2 = "0.10.8" +sha2 = { version = "0.10.8", default-features = false } zeroize = { version = "1", default-features = false } [profile.dev.package.smoldot-light] diff --git a/artifacts/demo_chain_specs/polkadot.json b/artifacts/demo_chain_specs/polkadot.json index 984506f6bc..e3ebd6b34a 100644 --- a/artifacts/demo_chain_specs/polkadot.json +++ b/artifacts/demo_chain_specs/polkadot.json @@ -15,8 +15,8 @@ "/dns/boot-node.helikon.io/tcp/7072/wss/p2p/12D3KooWS9ZcvRxyzrSf6p63QfTCWs12nLoNKhGux865crgxVA4H", "/dns/polkadot.bootnode.amforc.com/tcp/30333/p2p/12D3KooWAsuCEVCzUVUrtib8W82Yne3jgVGhQZN3hizko5FTnDg3", "/dns/polkadot.bootnode.amforc.com/tcp/30334/wss/p2p/12D3KooWAsuCEVCzUVUrtib8W82Yne3jgVGhQZN3hizko5FTnDg3", - "/dns/polkadot-bootnode.polkadotters.com/tcp/30333/p2p/12D3KooWPAVUgBaBk6n8SztLrMk8ESByncbAfRKUdxY1nygb9zG3", - "/dns/polkadot-bootnode.polkadotters.com/tcp/30334/wss/p2p/12D3KooWPAVUgBaBk6n8SztLrMk8ESByncbAfRKUdxY1nygb9zG3", + "/dns/polkadot.bootnodes.polkadotters.com/tcp/30314/p2p/12D3KooWPAVUgBaBk6n8SztLrMk8ESByncbAfRKUdxY1nygb9zG3", + "/dns/polkadot.bootnodes.polkadotters.com/tcp/30316/wss/p2p/12D3KooWPAVUgBaBk6n8SztLrMk8ESByncbAfRKUdxY1nygb9zG3", "/dns/boot-cr.gatotech.network/tcp/33100/p2p/12D3KooWK4E16jKk9nRhvC4RfrDVgcZzExg8Q3Q2G7ABUUitks1w", "/dns/boot-cr.gatotech.network/tcp/35100/wss/p2p/12D3KooWK4E16jKk9nRhvC4RfrDVgcZzExg8Q3Q2G7ABUUitks1w", "/dns/boot-polkadot.metaspan.io/tcp/13012/p2p/12D3KooWRjHFApinuqSBjoaDjQHvxwubQSpEVy5hrgC9Smvh92WF", @@ -32,7 +32,9 @@ "/dns/dot-bootnode.stakeworld.io/tcp/30311/ws/p2p/12D3KooWAb5MyC1UJiEQJk4Hg4B2Vi3AJdqSUhTGYUqSnEqCFMFg", "/dns/dot-bootnode.stakeworld.io/tcp/30312/wss/p2p/12D3KooWAb5MyC1UJiEQJk4Hg4B2Vi3AJdqSUhTGYUqSnEqCFMFg", "/dns/dot14.rotko.net/tcp/35214/wss/p2p/12D3KooWPyEvPEXghnMC67Gff6PuZiSvfx3fmziKiPZcGStZ5xff", - "/dns/dot14.rotko.net/tcp/33214/p2p/12D3KooWPyEvPEXghnMC67Gff6PuZiSvfx3fmziKiPZcGStZ5xff" + "/dns/dot14.rotko.net/tcp/33214/p2p/12D3KooWPyEvPEXghnMC67Gff6PuZiSvfx3fmziKiPZcGStZ5xff", + "/dns/ibp-boot-polkadot.luckyfriday.io/tcp/30333/p2p/12D3KooWEjk6QXrZJ26fLpaajisJGHiz6WiQsR8k7mkM9GmWKnRZ", + "/dns/ibp-boot-polkadot.luckyfriday.io/tcp/30334/wss/p2p/12D3KooWEjk6QXrZJ26fLpaajisJGHiz6WiQsR8k7mkM9GmWKnRZ" ], "chainType": "Live", "forkBlocks": null, @@ -41,10 +43,10 @@ }, "id": "polkadot", "lightSyncState": { - "babeEpochChanges": "0x044736295f5ace57cb8f84fd667e8ed439db12f470d45736d046f67f54bccaada2b69c16010153bae41000000000b3c3e41000000000046646627e2646c3b728990fc968ec647c2170e66b55fbe48365e54557ae43756916a6160101b3c3e4100000000013cde41000000000086441c5d73eef491062ed18d31770e3f8a95eba0a9e78b407d28c706c6f06332775af16010113cde4100000000073d6e41000000000007494065a1f61226b66736add1b00a214e14611c3f78e1ab4d3e0d9c69ae732f875af16010113cde4100000000073d6e410000000000000104736295f5ace57cb8f84fd667e8ed439db12f470d45736d046f67f54bccaada2b69c160101da1d00000000000053bae410000000006009000000000000a50474a0fc84f72a4a9b8493379b7dfc59ca58a261a2e94997600d14b6b444c1475901000000000000009c40155989f6072e82caba245d7db7e40a60f866b403257976b89aba6be2b55b010000000000000014b0a3a620f70ada506d6ef1b7ab099219f2f05689523af7eebc81f9ba258e6001000000000000007067d4c5b492b11e2052a2bb0b4f729a52b3667afbca7dfefa863011254b5272010000000000000072ab87b654d80294c876cbefb534b3344c2f64159b015b89221331ec2145417501000000000000008008c1b7061a2402634fc15d3849e2913863beb9f55024bc8cc7fa7d6e397817010000000000000024a51a9bdb67213626d1b52bd8dbc0e9b94ea88ea417aa17b56212d1cea3e1780100000000000000488d520146f681678e9d229f5e29354edf65e521246b28a4175c0502e060b92001000000000000003ae9dfa8b24faaf16407328ff38a89b25fc7c673c44f9de3de0c011233d4226d01000000000000009e47382505cd1a803bdbe7803d36a61413e58697bd9396ce1607c89a48d1e051010000000000000020352ba0565811731625a8001d26f5d899e5856dedd0f9c6bc3bec2995704e5b01000000000000009cb389c209afbebda2b12113e0266b3d30f46e2a91aaf4451c193d640288357101000000000000004c9886e2e62ee92a6778d6a7928052732044b64fa61969cd8e37f3f7e3406f7201000000000000000c78c9dfc0033ff87657c56b7ab8cec4d1249be2de18729f743f385343af0f160100000000000000002e496e564f088a075525d2f9155aadd1a7eb017fa36f9e16096e9db7e169330100000000000000ae40860237c8f606dfb6974046eaa6b6b96f8d0aef56fbe3ce4865f66646bd260100000000000000f6dddaaaa53b57763610037753656b591d90fa81efbadcabbeddf7378c23602701000000000000003e69835397599a4bf081775f9f42f0f4ee686d67c9af8eacc4a733fdcdb0290b0100000000000000c48c594bb4e173544a0379055b65d995af53256f653d04f2cf4fdf8f3548943901000000000000003a80d898638dccd4aaa472e7948e7394969cc443335c494159948915c097c036010000000000000000b84e6e296de1009aeca95ee09bc5173aec6e91b1145b247d69e477588789720100000000000000466c0e97d043a4b0f4c3ac4849e11f901e9b31b28f8b3e40b7cdb0ba7f77480801000000000000002049288b4dbfb741109778c602f9308daf2e31b3b66e9aa550065e73c6787d7c0100000000000000e67c524e443cda4cd27dfcce70488a5d23a93c8c46a5e83ef5a69eff3a02fa5a010000000000000024a57db63b380456d56d561d8a9da6db13d298045c9672bc4086a2e0a567d55c01000000000000006c50859d9dde209012eb3868c1a3a6e80ae8fa528ace9df68e92dbbae6036820010000000000000078c88041bbca9b2bebd62fde7c46f4dc5e55d8877a113d063a6b525dfd6f7f2a01000000000000002e85d3d2c07aaf1c0a5f63f544c34b87cfa90a98c4f6167e86cee0b74a20cb120100000000000000723f3865d97a772459da8942cbb4757164f1fe7485cbcefb4b206e157ee5ed0201000000000000007c5f58a83f8101943c089dba3ab906c07811e853444aa58dbcc986c4095fbe7c01000000000000005494142902284943201b7cf610306e8665eeeec87c014d607175c3f50f76103b01000000000000001822493200c35242a149070784dca5e7012a8a52b61cd218ec7d65e469e8cc56010000000000000072ed7192625403acef94aa9189f9f179deb89e60478816ca96c79b742f757e750100000000000000d8f30bc2ee88e69f60d0278998414c80f4a130b8e1738e873bcd14ef31e58d36010000000000000042e377034ce6b2a582bfd66c465252ab10ce790e4f0d3bbe99a42ff86b29965c01000000000000000e164f314984e9a172a3a1526d853ff70bd11f3c596f17accbbebe2f7820833c01000000000000007e91ca522b14cbb71b45348c699b7d65c3198516ee771079b672ee3d7cfc577501000000000000004e2753547f6ec0a896bcbc55b9eeab875e8019acdeb10b979210af63f24c4b74010000000000000098faca5e78664fd082bf47f0079de33a5021415c8f5f912941e651a0b7071d1f0100000000000000ca6e63cec4c0801ecd740073da08be68b9cf4c7ff76b740fb6a522a63e838b5a010000000000000042e7851b82d8b7722b9eeb5eead57b21bf533fd25acb10542a52889376fc3920010000000000000028ce9c093ac772f56acb8dfe8b33a3966d4b8699bd41814117352d397195bd5f010000000000000042ad4ba7e8a60af1abcee04fdd82ad02b24f1e2535bdb1abcdde886efbf0fc4301000000000000006ec27dfa7ac9d35eb002c55d3e4d56b4df928dd5c44323ac228305741c9e09360100000000000000b89cbc83a386d6f5d4fed93289ee50fdf69d77369ca0c9a8b962554e3fc0d37e0100000000000000e61da4eefdd14434952c58dd1943f7f63185d03321ccc8835e4216badd16fc19010000000000000012a64d79e44f1adb33c85c4f2bdfcd8d8b38a34d984604f39289c9a7624a442d0100000000000000a20797f3a8669a909adb22a3aee2844dba82d231cc33f5d9be0e2c533cb82a670100000000000000e297620b731b4958e3c6aa06611c6aa5a45f7e116362d64954a0a330d2a98f330100000000000000dc1274e0689c7a3eac31b41ce352719529e65c01f26999f74ce17c9905fce87401000000000000000e5e5f8e89cd8d58ef83abddd3d1c2079691dec4f6965af70436e84411c31f3901000000000000007c21799f6143fa837a8c18bebe3368d60f4e009b114f61490b54e6344034040d0100000000000000e2f4efaa91da8465ac7d109cd80be5c02b9ba7a0603ff372cd77824de17f6c4201000000000000000ef6f09a9e310abb5c57dd7050a94d56d766772b80789b997cbb40f3b40f625d0100000000000000a88864a0dc9e292aa7cc8eddaa8dd8b6be2a4bc7e8f290023c6604e5c4ad1a7a0100000000000000dc68569b46a09aebabe8fc4452e293fac635e4a2889739809b32e4e2303e3f71010000000000000034ffee048e511f4187a6f40339650ec60a3d99ac5a1158ae162c5729b59d51740100000000000000be7c58318c49ff328d53a6d67830a8a046a41f5124824d3ce2e72cc9965ef57e0100000000000000b06e3ee1ea6420fb73ebd502988420f51b977a83074e1aa5daf0121f4a8b6b1e01000000000000003843abe933fa3ce63f3a5e422e13ec05dc9c0e8f150b93a0fa97f1b193cfba2d01000000000000009cdd57a06bd22d104d539527a19033620becff73dd267f0c2f9f13bc37b0d32c0100000000000000e020b5e946e4c6b0603ceac71b44c330fa7d9cb3e79791ebe1e16bedbb9c71000100000000000000a86c7bdf11794e554439b09f9f294c8e0abaebf447c7bc54419434b8b95f864901000000000000009e9f565a8cb6e8f2154a9833735930a04003505856c3743a0f71afe64c7acf7101000000000000005a63824687de4f60534ee18a430396b95263f75a077655c751bc2045ca2ec84d010000000000000042e4c41a899dfb238649e5b17dc232c2699353635d60e6a3bdcd71f9b82cda300100000000000000f23d1b22d1b03c9fb6eb203c85761fe429a60c38d6591d215e873d62f5d2e4010100000000000000283a77cab50b96f99a8e8287c1488ebbcf31fc3daa953ffa99ac16db982f1e1201000000000000007c3526dc5579f1ef841101b573c655c20f4346fa4a6b0b6ed773d147c3ad6d7f0100000000000000ee579514d7f544fc9fb8d6383ed7d109ee98a411bb4b0b45b9354b0f73fed9720100000000000000e8308668e9f16683cc739791a6dd530b819f45e4ade2113ee2f27eed1c51d120010000000000000026d421de2e7251020ac2f8b8c7e348aa904dcaf0b6d5d73fa0113b476f7dd9030100000000000000bc56c07cea21bcbbe058aedd2ced9fb4757caead55f96bda9bed1c9669c32b640100000000000000ec56243ac035f65b377444e20bc8fa7e3e75242a59b5ffa5f44270f451315f2b01000000000000006ccf2ce8e149999a7bb996faa65194e60aeb7bcd1937c787f886fe979fb49e660100000000000000c0e36251f9ce24d6fe429ecf14bc9599285e3e27c0a541d5ac0ad1902d7ad614010000000000000082b820c5bee8ee77e35203dab387f3434b8502e5f1c35dfb2ad15b5c89d47b3c01000000000000005620922a6765fd47abc96615ef5b8b8575f18aaf8507f6afb86129bc1080994f0100000000000000b4b145ce385b4a3d83f2daac46a61874f80e58c468dd624acc09a558be02c27d0100000000000000b288a9832e07bef83c5a8ca72c5a5583b321672ba7c6cdd44a971f855d32d95c0100000000000000d04077347325618eb5cef03729a157b910fac54ec7e344e65b6945fb9fbbeb3b0100000000000000fe3b55d17e25c44a3568885d9d37276df81fa5225d9d73ee67321c7826581b5a010000000000000072183c2429e4966be5cb14c9cb84d6e4092b4e55d8ebe2534cbfa179b6f85325010000000000000040a2527ffa7d30d788eca127d435c8b5aa48972cda538b9a1627a57e85c8fa190100000000000000844b691aa95ff9a15b50f5e5f4f0e582db6621326cf18d7533f55bc27549497a01000000000000009c1863aefa0b4d5f3d48275769ad0ed04e1428db9694d83b9bb8b5d833f1b41101000000000000007c4b93d862704aad434ab3dc2cbef824df738c5dbe1ba7b34daa38b2aabf7c360100000000000000ae272f5ae4e197a1fc8e670d3aa7bcab325a39d1653b5440bb7593788d0526280100000000000000261ac3229b4bb7a376c37f17e287b2eb596d3b478370b722b6b41443d87081320100000000000000421f3fea780f04810915479b2b72ba55591d1db37a425cae170548a50127f83001000000000000001a36d936f4692ac8387ac0ca1f051970ae480271e39fc134436b86b8ec83b25d010000000000000026d7422872cbf4d4918046f240a13a37219a272f4326b3f3bd1249829bbcd12b0100000000000000be6106f9217a1847af66de9510fdfb40514409556506ddc1c1a897818434125b0100000000000000e03dd3bbb140ffa44e0cc0e1846967b03aecccac78f6e2e0a1fd3ac0d34f554a0100000000000000d08dade453078ef481107714d602bafaa5f1247ec053c3fb62fa8ce53c1df4700100000000000000c02283aab385e82cd28d831cd1ba21381597e0ed3b193f6aa22d7588434c24160100000000000000ae2e94f092fbcfe263519f950b5ade09c474258a4e0d5e62570d02b3f71d85480100000000000000b47377c358164a12a68a76035ac0479022018f5e9a3fd8fc915b265f92b74d4a010000000000000088b8e0da91c48fd9bf94ca5ed7fb74797a037e626c98ac18cd76360ccd6ac11c0100000000000000c01b5bef9653fd67a8b11907f4c2a9b12cb24237768ad9188330794e9242a723010000000000000086c1922e4ed392d72e0fbc0ee28e7ec0a8ba2b33470330a606cec9a159a79626010000000000000036465f4be77147914969ea78f8e39610310679011dfbb6137dab12e18a687a520100000000000000783134a08ea27221e873043cd0ee52a9f79c2eb14d5cd25afed24d7c82cb2246010000000000000004ba7eb24012b133b20a8021b603a1483c4a5b9ad3415a4d7ca2b1ad625719550100000000000000202e3405e49bb882f1d49efc4a4adc5b62dcc96ec18346a48aad5a510c189b5001000000000000005c39533cbb607f1f52d82356d267a56399045e0d7b7e95887cfd8ec13173db2e0100000000000000343d27f7f66355f47054ee18bfe7df92bdd8b1aaf9391ba3b8b022905f95f94e0100000000000000ea6acde5149e930af7bc3b17b7f0bdcf12dfd3dc3437f774f823bbeef420a97201000000000000006e7a78e9fdfe275f3e000382ba30452729970578258839db6c0fc568e20b351501000000000000004e1b48e67c1e62e46add39fa523b956946228ea0f08bd9d20ced798cfc9a0f5b0100000000000000faa6ae896c2d1040e495acbdcd8d90a02ccb17ba6e507efa2f7deacb3b28466e0100000000000000402a67126cd160c84edcb39374164f3a39aec59ae72cb66dd9fbd1e9891aa27c010000000000000014e2f25dd3376eb7978d413c14322704a2ff3d9c0c2971acdcdf9720c2c13d6b010000000000000014cf97e739cfd033c2828f25ad3f15e8f6ef62ba97dd74164e77e61eb85454260100000000000000a07f151db53097c2da9dac4b2e0f194931a677a3ba99df0f3976e34409fd64760100000000000000c63dfd97609d6fbdd6300bb957b3feba86755bbd5a36d6b4ca40bea6a1b2517001000000000000004cc9ff5edb36e361b088b0eff52fc6e6559c1169ff87ccdb62503bceab7c74450100000000000000fcd5f4c4fe11f20ad99dc8345b7dc5600caba5d5b7d3f499c3253c095152d4540100000000000000941f291e924d50ffa173fb0a86b37e11915b06910a54d418b0a20998d0303a6901000000000000005eac8ac37c95fc11921839550a30ef071bbc80fb10ea1482cc67818e184d544a0100000000000000ea2b17bd1b69a7b442dd000db0f12f0bd4bf7a87a540427986bd32f3d3bd555801000000000000001e825121b8beecb30e9962a555ce06b9e2c65fcf3b0023178556330d565bcb4c01000000000000001682c3264fc0b2a36eff3a5864cdacfe726bf5972ca8f4c5cad6f18bd450d23e0100000000000000dcbaae9e44c778fd2914d5940c24033575b5b0ef13d0157a667e4a52d9e719070100000000000000d412fb5e47b946e69918a6391ac30283949ba6d99c491d78fc5014aaa2144b590100000000000000ce323186d64f267b11e6dd0bef533ae85d282b40f90e38eef37f191a7927663f0100000000000000b48cf50a4f94e83450a791d6de965c3e8127c1c915208f2b85df4c3a84b2042f0100000000000000c60a9f5f89ea3a56499bcd39bac7e038c25f5b7720d873fdc12b68d2531eb650010000000000000040b77fd8fcabe868dc7f2a08bf14c67e4d433886c3cd3738d1b0b9c649bafc230100000000000000b013a8307c3572f939c1a9759a832f35babc847cc022588903572c8def43267d0100000000000000cef0feb2602582b96fec882181d34bd5504645c544c983b1a962188239eed90a0100000000000000b633c47d126eceb0e36d788370ebaa179b0c7a3a21cf5f1421bfac40c895ed3c0100000000000000dc5dac973975ef5f4edef722e9727d0c05a73e4e45f7e524a8d216d2a691a6710100000000000000a0887bd2c2058519096e8dcebf495f2ef274490994e969063f72a41b3fab80720100000000000000d2838a30fd86f5f19aa80481630ecd0ee0fe5aa565ea15786f37a22a87cc1b7d01000000000000009acfd215519f40156749868afc8d56e015759f71cf183fe68382e8c02c75b25101000000000000005ce79c3ad8a0e1806e863f0858c28a81408d19870a62ac0316b3e6345cbb5f7601000000000000001cbfaf2b91ee79c6288ad01dd5787070b34d5e1b8253a1765904eaa7d0b93f020100000000000000b672ee2f0f9183585ac4875368a0defda6d3c81927fbfc34bbacc7481058cb4b010000000000000036a547b4aca95274437f3876bec0447f775eacd01b09d95869390d326a596d450100000000000000c09be470dab56a2b45b94ba6dac8ed9d515f1d3785cb4eacab40d0a80aa42b1c01000000000000007878535e43226cf81c42183db4bbef4b1eed2a460f6cd423c03af9e86674647a0100000000000000526e1fca7613776cab9c7b4ef9b4577b35adbac416c48529b6058a5f9d133210010000000000000052c9327ca5c1ca830f8ff712d813a8cdc2a8be122f16bf0d1d9e77b7a9789372010000000000000026f2af62a2f0d847e3d2cccc93ec7f98c80a7b6d1bcca4cf1c4a6fc7f81775010100000000000000407e78f505ae833a2eaea113245bf6a5ef6abd0db66141f770cd6cd7a7e75d7101000000000000009c576fccaf2ffb4885a0ac8ed7ba0b80ee5fd060856fb9f80bdd3219e5d7800d010000000000000078c91c4ee02089ea86612f66d6022a0cbd54afe470a162a72036611623924f6d01000000000000000481a58bfdafecabbc96bd170a0ec04cc35100f1f928cca3ecc63b3639e476790100000000000000607fc085eaca16b6a51e44ac9f61a689e869efe15b4da37be15b78c17b193b0301000000000000008ec5856a5fd17617c0af76efea16a87d0c5e769eaad39e91c40dac93fb067d5d0100000000000000e4be18b8f5905bc41fe3cba2e5350d405e76036328042ae7edfbb6b6a9b43d5a0100000000000000824792c3ed55b88805009230d67bd8059eb9958dc23900e4b1a6efe61dc0e96b01000000000000008c73f71ea9e64834a5e048824978864a96c5c600f42f8a7350dd10ac088ecd2101000000000000004ed5f55ec45727a57e2d8d6914f6d2acffb17b9515d347ba045067502a0b14020100000000000000507e2aa1a2409b289b89c80f7ccb129e91a32e8d44c98723f8a97307f54a2d0601000000000000002a0fda136ae348db338b87bed349145a94ce091227774b0542e533a83d1ba455010000000000000078d986932e680d7bebce126a5aedae3e11ba0f4e28c03d63a491e8bcbd05ad2201000000000000007c552599ae2d251c1fb693009a0f904e41e59183027af5adfb8bba4133fc13620100000000000000502c19c77976b8cb0c47b08cd465a75bd7d25734fac0048342c697501533ee2101000000000000006a5607bc375d7ac0908e7643ea2e89dbe42f4f805c2fb6e2a22d0385c1232b310100000000000000f4ccdf83d734edcc568462572abaf32d22ac7faf8000195e02273d1c9665430801000000000000007eb2b0b6adbe5a5bad38f46db207f94c896d419661f4ab8f21e302a543df9b11010000000000000048ce0aba6f1554e139568b4d2358d6cca9bc291d3600787cc3e732291002ca22010000000000000092239fbae2557ff2ea3952c962e478e6ac2a5b3e3cfffb0eb40e8d41860ab0470100000000000000524c4d2a0ab6f9687123f9c8a9ab4fe2c70f9fc3b1863b4fde16f4dfaddc7d570100000000000000469d81e8b43725a64da6b1ce10eb53eebe1aaebb9703f75ed452e12f45d26273010000000000000000e2ef06613c993996e6eddf381c0f035659593515d10d664fb6bc1002bb921a0100000000000000c4c5fe47a568c2fe4876eafd5e0093dcc31b450eb87bfe58397dfae2a590d465010000000000000044c47763e8f2f1675b480c01304c4da58c8d276b5ecee722e45d17afdc3d391d01000000000000001cc40fa83cd0a4431aa63315b55c669370a4037756089f3402a9021e2d8066640100000000000000742c0a1ea78a09c7454b48897bfde87bf4959b89c898623c8eeace7af714147d01000000000000007873ecedbae63dfbe5594da935e52c14dbd0e131b12879d573b9c002c6e5c4400100000000000000fc53d15453457faadc5540c5853f54324eec395d3647fbf99d5e6e97ef3876760100000000000000fca464b97dee2e318ad8d4516fd606a5401f5d15467110112a3326ef96ce007601000000000000001049c5c0f0493537f48c6b122d697f28cf8ea36ab772591ae875da8aae1198520100000000000000bc3bf978ea283cf493b43928b605309be31def9d4a1daf47788017ac61c7c81b0100000000000000864cbd281011a154d93d0320865ad67ae442bf0985f0ec220e2c7db4b09599310100000000000000cebdabff22e607a75aa8db1bf875511a563200cce3f089972aca719649b6e1760100000000000000382fb32d7c8868ce3765e9ccfb462c04071a3d70cab3382c796a9115ab0c310301000000000000008a6dbf87f769167b4eb982f63b946f96a1f223b6a6f2789183fec09581b8e906010000000000000056927fdc8bff2063e108fe1b05bbde2f6219bda7d8663fafcf3d2976c72153590100000000000000b027ae418b6c79d9f3a2b05df499d3aaecfb327e6b9d7995a022dc5265ed76180100000000000000eed7e8e8a64dfa89c548a31c1b9fec7af5aef4dbbdb26997b2ddca72d4f8790c0100000000000000fa49d3457520dd98ca1489b78354d7d30a9bdf2181140072ebda1c3dc3371e450100000000000000a811cc491bb3487d5e604dcf6dca3bf529437162f3b8cfb8514ffab16809ff600100000000000000fe2848018ac215f72f551e58dd2d065d99b788b5a7aa59b9f9fe47a5bdbc046d0100000000000000b6ed5b0c17ca7560c71f1778694741009d3da979309617f0bb992084019e25290100000000000000d2fb72b7c3d020239ba45289122d0ae3fb560d01d0cb3caec01efa0c8701d45e0100000000000000f853a1534a3af56217661420536dd7bea0db6f6db843d8fead77c308ed7dcc7c010000000000000052a0f4ee4ffddedc5b9fd2154ca213cf3f49df94f4b5c36c2d8f877f5a7010220100000000000000c2041cb909e2a314df816d3234a893c1d387f4d4f9a4379d11400963b134a753010000000000000028702457fd7ea52bb88284bfcd721493ceae3ea984492a1b82c55efa1b62fa390100000000000000484b6b8012254027636d95e66c5ea7ee68dbdf9ef6ad3c2fc00cfe5c39fdaf7c010000000000000002e12aee8fa547e191b4395503c28d4b14650c1dc03c698d73f4cd30f03de90201000000000000004050f1025e1481eedf4d787eb4232123b271e5196dcd8670d754836297d0da720100000000000000e816e2e76f7ccbdefdfd484aa8b5f904d293ae8694e21a92990da54f17e244090100000000000000c664c419396f160467b184251d893f1a1d468e0d230691dd0123d60d446c5b6201000000000000006ef86d4533f47ffd133c63b9575c17234309ab6e16f487ae7cd8914169183c660100000000000000ce60d2c987bbeeaceff8463484b717ce80cbcf3d8f8b2102e95effc88000d95d010000000000000056606b6532cdbf27358fd067d61c2a65e4b3e8934c266a857320ff18e5c7654c0100000000000000060edf92540ed4cbb944b399cabc91a7b9641bfd553bae0479b442f9d5bc7c2101000000000000002abc6a5d748978a4023c3597c49178db2349ea6af5a9b61783095af8e427027c010000000000000094d89cb8df2b03c76d41a6521e5803d6f98e204e1839b9ea747dc7e253d35b7f010000000000000050f5f5863f99e896975813fda8768c72ff25fb54e25385a4263d1ff9a19152500100000000000000ecf0297bddebd3d766ea7def2bac79ad6eb650fabdcd029b99cb1649ff7dc8150100000000000000121f9d8ba85d89e3c6f9a0fedcdfc9b05cc40a6d3324eff6e8a58aec5f5259050100000000000000540926fefa2d0424fd451bfca39a01c0e1a3fc811406e127d1dbfdc6cf9e9770010000000000000038c9a0897d9caff03a308d2120bbe892974ae8cb05f1cfe8b97259f0ac2e85290100000000000000e20f692ef4d1cdecf74a65aed29a64a001ca7a83f01f8440c5725ccaa8fb8e2f01000000000000003491cc113ef8fe1165bb10e65cbb461955f92f8f0d82f2dcfe6664430dab853601000000000000009a53749c83cc06460148d884f1ea5b71897466b237cf16baa45395d78ce48c1a010000000000000064615e1323ea003b7c5a63ba2c8bed2023103458eeee7cf45244580d3ca59b6a01000000000000000c68512e2e5dca7783df908fa702dce48d67a439655fe52de6d29cb07890445a010000000000000088fa8bb07ebce99964718c65d0d6f1b091ef2f4d4cdf7b94a22c42c007ecd706010000000000000048afb25f7981cc67a66853ec05675d83a2d99e6318a6a7a135ed2916cb70a26e01000000000000008a0e2d0af87ffb812f6e6ec229d02056e812cc4f5f5743cc638a7d3f279f0153010000000000000002a4b2935b657f9ec563642ab0f34e223ef594cc70c856b9bd70fbe083721560010000000000000092e5bb9d0906f768dbdde0696b78e493cc78dc1f68789575b24f0b962799b51e01000000000000001ab9d2c814ed7a719ef2aa94dcf4db8aaa0315a59d4b5699e86656a6ee9ac5610100000000000000b63f9ab3a147d76614bfb688751f79fb9a120d40af7ba3bb123c1957b91a411d010000000000000078fb9f8411552c70290a09cdc6a0e235c74364d37204ec06ab62a4d45201233e010000000000000010e37a12fc6ed768d1a2d33c8abc6db675381dfe69c832abb77d9ba2341b3c4a01000000000000004a547dfc28e6730b12b365a1cb7dbca5199e04d75aeb07c7b5da4b0245daff5d0100000000000000bc62cca37518b73aa22efed6a88147f84af5db7b82ef7671d9bbf03c76d22b490100000000000000163a52c9bc0e859d814e742b7b5c8ad8e9c603d3d1f2b896256df27320290f050100000000000000fa1b0afc9ce9e9742c4825890f6d93bb87bd199e55e86ce66ba7c34ce43e273e0100000000000000e063e31ccdf34c3372902f92ec915f213538370658d9272f9ba6d8d6943ccd130100000000000000f6d56c6aaa5121b6a63f13af233d5233b608d53eb7f789a3db3749a4cea2f34f010000000000000042c56bdb09d52942b0fedb07045113a641e2fd64a428b1fa608b5adff9ff4d6401000000000000008e0b3a52dae8c17703f7093d386f5fd8fb1c35a585e7830ca06fa84ba489f2610100000000000000b4e86264fd55571f5016e82a1eeba2476b1d0349fdd175d2443ea30bee0b5207010000000000000086ccdecaccbf1a58049c55793916611cb8749edf93085bb764e77636357ec1720100000000000000bec182c65eec6dbc4d89c474a6f6fc6cb6853946eacfc93762cc3616ecd3c47f0100000000000000f29cb4064a1cc3a79da2c9a9f336053cc69d50bcc737257ca2f071c37030510a01000000000000003e07b075219fc7ace8dc3bf3a06f5dc12aa9c7e45fe30244d2284bcfb1e6ee1901000000000000002271d61469f9f1e5a0832af7de453015b89979fd740526080116295f4a4a516d0100000000000000645077cf303943059891df150649d1d828052ea4249bf50ca3b6d29c6ef1984c010000000000000022376791bf19fefac611324d27bc6acb4b7f7eec713c186adbeda5a1e1b88f340100000000000000bc8f93a45201992fa9d04355095d03adeb5ff1aea206425eae4f902ffd47fe20010000000000000034caa67978c1a5280b5f58196edcdb5c864b02d0fd40af9c6e6b9716f3fb12680100000000000000fecb15325d9baf603112dd397d2e83d3694414f529d75c4b639c7e775b979b14010000000000000028052d0b965ed862b7861aa7f3f91fe52ff8b0f795ff476c7e0a7aa42e7993300100000000000000ea03f9dc29ae9b7a053c12b6079664592d2cf46a30b43edbb2d2d980223deb11010000000000000092cca18f264bdcfc19e5c01515ea9d61a0bf0b4e46b2bcae372a428b9dc35e390100000000000000e0b770b1bcf7deb030ee75d5bad6ec1ebfe06ded0fc406a8520a9650fe83233001000000000000003c8330f5d7f34fbec333663bab066cbac4403f892df7659b1c118c185c4f16220100000000000000b20050395fc81aa60508e362f02c75faebe3e4909c7a23721182ce791bb701130100000000000000aa92f32eab7cb844bfce67787d5921e9eb63368577d9c46e9c276dbd2288064c0100000000000000526fdfd1d78345a1b2843d392122962cf89a4f157af2a3d0c99607f506175115010000000000000008e80cc5ada5e557a1cea3658402bc83f9892b5c4e112b6e157e6e7d3663c47b0100000000000000a6730d04d45ee4e7e25d3f7b80b4e2ac12a6644a4128127fbe97e97a1d690d69010000000000000068147c36d367eb1a203b303c65ab3d32fe777cabbca8d39e08ffcfd624b3614d0100000000000000b6ad9df8c32a78e9481e75f484fd0b740554276c026736f0dbac0987db0885670100000000000000ea82745d9978e47fc6bb25fc01383aad42aeee65662b6af304474f0e4101b06f01000000000000000a6a0f8136fafe5c2e096704e37d12b47a1e46151489a23eb1713b37769fdf780100000000000000f25d3265659fca9d24ca877823644f1223714b0167d0a676cf3c9c447173d12f0100000000000000c4687b6d8e527d1ad3be71f2b242bed92eac25b159d9e142e6922ace2dfe5f2101000000000000009ab493c4c8007f49a3e7d1e9f1aef39b39cd66a496e90486e62664725c6ba06f01000000000000009ea2cb3e6c59685087e59d6d45fdccdd5e6fd4f77fd90b4749f65113e23f086f01000000000000000a43fe86fb05c4f76c85474f9867e987d7f894b0f7fdba0b85c323c3103d3b4a0100000000000000cc60431feaf7f1bf42d805f0c12a1978ca9b3ec0a21397a71ecfc2bb7d52d20a01000000000000004a7791775365fadbb61f37a0d2f6d298c0c7c3a4c9402821ec909972fd5f8a4c01000000000000001827754b7465edb9bf4ce981bdd3a33057f9450fc895e39654dbd51c3ab9835a0100000000000000126a7f10393da0379401ed5fc6945ed0cc3a795c2a192b0bbc3708d24ada404401000000000000005ee252f56786ec8e512d233a09c3bbda21d0bd3a6ed7e8e8c0fe035dfe7989330100000000000000e0d28dc9623e77eeff6b0aee79793b3a00cf8b1c46fb79c8e6ff8cfeecc4af120100000000000000d0106f6fb9b008052da3223c389525681d9b6e4fdb73a4078f7f1949bfaa350201000000000000001e1f47deab3e4083f7d353b746b719a9f5aaee3ae2cf6b37a4d710f95d489a6101000000000000006638aad1c437c5f2f2ab4c46b786db51bb8c7e6af2ee745934811712f8d83e0601000000000000009e3b3214afe654cf851be9e564e72f834168ff65ce346ac54024cdcd932571210100000000000000aa8727e4b0a95c761b5f2506159a25195d3efca5dafa334f871c3cf262fcc56e01000000000000005e7f927ca4edf203d65f682fae546d8d43913b253dad434800df66be1f0768520100000000000000c88d83d7927e1c1dff61de6b8321ee64746d983173bfb3a03c3d4789ae3f202701000000000000001a8de0dd57069c2986c48b25cd40c13d2acb62fad487a82f4f13738e34418c1f01000000000000008ca0a873b2685dde8c4792832cabe50ea5a1f8a9a661a336689859319b66ba620100000000000000102ed4107066f497e13d3c484a9fa60e506587e19541069dd4555a91d63f27040100000000000000d27da69172c428ddb80272e6fc6ec90985ee281b45f933e5bad65184bc3b5d0201000000000000003afb6b0dac3a05453f125943b8a26269202d297b991e054ca851fa68bb4c0853010000000000000048970bde717a65371534a2b878995c8bc6c230d556035fa003da1c523092332a01000000000000000c3292b5065b7b78a2de5f4fe397fff21df37c0ff7eef94c5fc4397f760e6e4601000000000000002234e01370aa10159040ac893ffebe3eb28540b8eebe03f5ca658b20866de36e0100000000000000bc3bebcbf6142977fdbe8492bd2c5947a16d38925d56f09db1ef164b608b912601000000000000004616ac86f0d45899eed3f1246dc5744858a694a92b0abd9f10e52dfc9c28674601000000000000009265e7be28a8f56a974027b630bc37703b7ef21b1b1e4253c54d605f4d10da1e010000000000000046b14e55053a02087c957664d32fdcae6ba1c96051239191c63df564d784e1720100000000000000aac332418d8cd5cc9a903a06cbc8f639d32b32163713dd60d065b949abf83679010000000000000058efa50da673a8c3b5799e278ae7d32f9eee340947f793f44348ba17e25a885f0100000000000000e6a08fa6af54d2308215f4a62d554dd5b82deaec8ba22a2e6ebade7202ab9e2101000000000000009c4d874baeccbb19733cf93f6ffb2f44d9b9f5191ead84f3550c7b767a75061f0100000000000000b41546275611fa185c88c7016e909222b3a757b476316766a72729d074d8e92b0100000000000000662f5ccb0a265c7438d4166b72c2d0106b74f928e995dcd24004c67ad715217e0100000000000000723f8c9d81d0874cd4130cb58587c90ef454174e9d6d9dec11279a553caf00430100000000000000a49dbb103be9a66d67ad5c0d11032866488f39d0a106de579d913dc7099a09260100000000000000309ab613bea03c4431f7602c937f5a4d17e2102db6fc7f77e32f7a245041b90c0100000000000000547c6a159db6eb46da71179d0d15dad5691617fc7f3c6a672864655997035c2d010000000000000040884e6b9876fe866d109aae2a5a6f1a18bfe3655ec9c1fee848ca92734468720100000000000000f7cff79458978cd2bff24aae8998623a56cd921ea318c40201b4fe2cd3fb781601000000000000000400000000000000026441c5d73eef491062ed18d31770e3f8a95eba0a9e78b407d28c706c6f06332775af160101dc1d00000000000013cde410000000006009000000000000a50474a0fc84f72a4a9b8493379b7dfc59ca58a261a2e94997600d14b6b444c1475901000000000000009c40155989f6072e82caba245d7db7e40a60f866b403257976b89aba6be2b55b010000000000000014b0a3a620f70ada506d6ef1b7ab099219f2f05689523af7eebc81f9ba258e6001000000000000007067d4c5b492b11e2052a2bb0b4f729a52b3667afbca7dfefa863011254b5272010000000000000072ab87b654d80294c876cbefb534b3344c2f64159b015b89221331ec2145417501000000000000008008c1b7061a2402634fc15d3849e2913863beb9f55024bc8cc7fa7d6e397817010000000000000024a51a9bdb67213626d1b52bd8dbc0e9b94ea88ea417aa17b56212d1cea3e1780100000000000000488d520146f681678e9d229f5e29354edf65e521246b28a4175c0502e060b92001000000000000003ae9dfa8b24faaf16407328ff38a89b25fc7c673c44f9de3de0c011233d4226d0100000000000000e84529a1a5d90df032f8a38981b1e973b2551ffd11eba49d54e278499708473201000000000000009e47382505cd1a803bdbe7803d36a61413e58697bd9396ce1607c89a48d1e0510100000000000000e07446ce5f2219527928039f41b43de71567e0d247a53064b32a1732a9bab306010000000000000020352ba0565811731625a8001d26f5d899e5856dedd0f9c6bc3bec2995704e5b01000000000000009cb389c209afbebda2b12113e0266b3d30f46e2a91aaf4451c193d640288357101000000000000004c9886e2e62ee92a6778d6a7928052732044b64fa61969cd8e37f3f7e3406f7201000000000000000c78c9dfc0033ff87657c56b7ab8cec4d1249be2de18729f743f385343af0f160100000000000000002e496e564f088a075525d2f9155aadd1a7eb017fa36f9e16096e9db7e169330100000000000000ae40860237c8f606dfb6974046eaa6b6b96f8d0aef56fbe3ce4865f66646bd260100000000000000f6dddaaaa53b57763610037753656b591d90fa81efbadcabbeddf7378c23602701000000000000003e69835397599a4bf081775f9f42f0f4ee686d67c9af8eacc4a733fdcdb0290b0100000000000000c48c594bb4e173544a0379055b65d995af53256f653d04f2cf4fdf8f3548943901000000000000003a80d898638dccd4aaa472e7948e7394969cc443335c494159948915c097c036010000000000000000b84e6e296de1009aeca95ee09bc5173aec6e91b1145b247d69e477588789720100000000000000466c0e97d043a4b0f4c3ac4849e11f901e9b31b28f8b3e40b7cdb0ba7f77480801000000000000002049288b4dbfb741109778c602f9308daf2e31b3b66e9aa550065e73c6787d7c0100000000000000e67c524e443cda4cd27dfcce70488a5d23a93c8c46a5e83ef5a69eff3a02fa5a010000000000000024a57db63b380456d56d561d8a9da6db13d298045c9672bc4086a2e0a567d55c01000000000000006c50859d9dde209012eb3868c1a3a6e80ae8fa528ace9df68e92dbbae6036820010000000000000078c88041bbca9b2bebd62fde7c46f4dc5e55d8877a113d063a6b525dfd6f7f2a01000000000000002e85d3d2c07aaf1c0a5f63f544c34b87cfa90a98c4f6167e86cee0b74a20cb120100000000000000723f3865d97a772459da8942cbb4757164f1fe7485cbcefb4b206e157ee5ed0201000000000000007c5f58a83f8101943c089dba3ab906c07811e853444aa58dbcc986c4095fbe7c01000000000000005494142902284943201b7cf610306e8665eeeec87c014d607175c3f50f76103b01000000000000001822493200c35242a149070784dca5e7012a8a52b61cd218ec7d65e469e8cc56010000000000000072ed7192625403acef94aa9189f9f179deb89e60478816ca96c79b742f757e750100000000000000d8f30bc2ee88e69f60d0278998414c80f4a130b8e1738e873bcd14ef31e58d36010000000000000042e377034ce6b2a582bfd66c465252ab10ce790e4f0d3bbe99a42ff86b29965c01000000000000000e164f314984e9a172a3a1526d853ff70bd11f3c596f17accbbebe2f7820833c01000000000000007e91ca522b14cbb71b45348c699b7d65c3198516ee771079b672ee3d7cfc577501000000000000004e2753547f6ec0a896bcbc55b9eeab875e8019acdeb10b979210af63f24c4b74010000000000000098faca5e78664fd082bf47f0079de33a5021415c8f5f912941e651a0b7071d1f0100000000000000ca6e63cec4c0801ecd740073da08be68b9cf4c7ff76b740fb6a522a63e838b5a010000000000000042e7851b82d8b7722b9eeb5eead57b21bf533fd25acb10542a52889376fc3920010000000000000028ce9c093ac772f56acb8dfe8b33a3966d4b8699bd41814117352d397195bd5f010000000000000042ad4ba7e8a60af1abcee04fdd82ad02b24f1e2535bdb1abcdde886efbf0fc4301000000000000006ec27dfa7ac9d35eb002c55d3e4d56b4df928dd5c44323ac228305741c9e09360100000000000000b89cbc83a386d6f5d4fed93289ee50fdf69d77369ca0c9a8b962554e3fc0d37e0100000000000000e61da4eefdd14434952c58dd1943f7f63185d03321ccc8835e4216badd16fc19010000000000000012a64d79e44f1adb33c85c4f2bdfcd8d8b38a34d984604f39289c9a7624a442d0100000000000000a20797f3a8669a909adb22a3aee2844dba82d231cc33f5d9be0e2c533cb82a670100000000000000e297620b731b4958e3c6aa06611c6aa5a45f7e116362d64954a0a330d2a98f330100000000000000dc1274e0689c7a3eac31b41ce352719529e65c01f26999f74ce17c9905fce87401000000000000000e5e5f8e89cd8d58ef83abddd3d1c2079691dec4f6965af70436e84411c31f3901000000000000007c21799f6143fa837a8c18bebe3368d60f4e009b114f61490b54e6344034040d0100000000000000e2f4efaa91da8465ac7d109cd80be5c02b9ba7a0603ff372cd77824de17f6c4201000000000000000ef6f09a9e310abb5c57dd7050a94d56d766772b80789b997cbb40f3b40f625d0100000000000000a88864a0dc9e292aa7cc8eddaa8dd8b6be2a4bc7e8f290023c6604e5c4ad1a7a010000000000000034ffee048e511f4187a6f40339650ec60a3d99ac5a1158ae162c5729b59d51740100000000000000be7c58318c49ff328d53a6d67830a8a046a41f5124824d3ce2e72cc9965ef57e0100000000000000b06e3ee1ea6420fb73ebd502988420f51b977a83074e1aa5daf0121f4a8b6b1e01000000000000003843abe933fa3ce63f3a5e422e13ec05dc9c0e8f150b93a0fa97f1b193cfba2d01000000000000009cdd57a06bd22d104d539527a19033620becff73dd267f0c2f9f13bc37b0d32c0100000000000000e020b5e946e4c6b0603ceac71b44c330fa7d9cb3e79791ebe1e16bedbb9c71000100000000000000a86c7bdf11794e554439b09f9f294c8e0abaebf447c7bc54419434b8b95f864901000000000000009e9f565a8cb6e8f2154a9833735930a04003505856c3743a0f71afe64c7acf7101000000000000005a63824687de4f60534ee18a430396b95263f75a077655c751bc2045ca2ec84d010000000000000042e4c41a899dfb238649e5b17dc232c2699353635d60e6a3bdcd71f9b82cda300100000000000000f23d1b22d1b03c9fb6eb203c85761fe429a60c38d6591d215e873d62f5d2e4010100000000000000283a77cab50b96f99a8e8287c1488ebbcf31fc3daa953ffa99ac16db982f1e1201000000000000007c3526dc5579f1ef841101b573c655c20f4346fa4a6b0b6ed773d147c3ad6d7f0100000000000000ee579514d7f544fc9fb8d6383ed7d109ee98a411bb4b0b45b9354b0f73fed9720100000000000000e8308668e9f16683cc739791a6dd530b819f45e4ade2113ee2f27eed1c51d12001000000000000004052e492aef88954afd9666ecb54ef5303a87394cb0690610841955f3dab1175010000000000000026d421de2e7251020ac2f8b8c7e348aa904dcaf0b6d5d73fa0113b476f7dd9030100000000000000bc56c07cea21bcbbe058aedd2ced9fb4757caead55f96bda9bed1c9669c32b640100000000000000ec56243ac035f65b377444e20bc8fa7e3e75242a59b5ffa5f44270f451315f2b01000000000000006ccf2ce8e149999a7bb996faa65194e60aeb7bcd1937c787f886fe979fb49e660100000000000000c0e36251f9ce24d6fe429ecf14bc9599285e3e27c0a541d5ac0ad1902d7ad614010000000000000082b820c5bee8ee77e35203dab387f3434b8502e5f1c35dfb2ad15b5c89d47b3c01000000000000005620922a6765fd47abc96615ef5b8b8575f18aaf8507f6afb86129bc1080994f0100000000000000b4b145ce385b4a3d83f2daac46a61874f80e58c468dd624acc09a558be02c27d0100000000000000b288a9832e07bef83c5a8ca72c5a5583b321672ba7c6cdd44a971f855d32d95c0100000000000000d04077347325618eb5cef03729a157b910fac54ec7e344e65b6945fb9fbbeb3b0100000000000000fe3b55d17e25c44a3568885d9d37276df81fa5225d9d73ee67321c7826581b5a010000000000000072183c2429e4966be5cb14c9cb84d6e4092b4e55d8ebe2534cbfa179b6f85325010000000000000062d976890a75034b16ddf5c2cfe9e50620782336e19159bb0a11b585b5920f71010000000000000040a2527ffa7d30d788eca127d435c8b5aa48972cda538b9a1627a57e85c8fa190100000000000000844b691aa95ff9a15b50f5e5f4f0e582db6621326cf18d7533f55bc27549497a01000000000000009c1863aefa0b4d5f3d48275769ad0ed04e1428db9694d83b9bb8b5d833f1b41101000000000000007c4b93d862704aad434ab3dc2cbef824df738c5dbe1ba7b34daa38b2aabf7c360100000000000000ae272f5ae4e197a1fc8e670d3aa7bcab325a39d1653b5440bb7593788d0526280100000000000000261ac3229b4bb7a376c37f17e287b2eb596d3b478370b722b6b41443d87081320100000000000000421f3fea780f04810915479b2b72ba55591d1db37a425cae170548a50127f83001000000000000001a36d936f4692ac8387ac0ca1f051970ae480271e39fc134436b86b8ec83b25d010000000000000026d7422872cbf4d4918046f240a13a37219a272f4326b3f3bd1249829bbcd12b0100000000000000be6106f9217a1847af66de9510fdfb40514409556506ddc1c1a897818434125b0100000000000000e03dd3bbb140ffa44e0cc0e1846967b03aecccac78f6e2e0a1fd3ac0d34f554a0100000000000000c02283aab385e82cd28d831cd1ba21381597e0ed3b193f6aa22d7588434c24160100000000000000ae2e94f092fbcfe263519f950b5ade09c474258a4e0d5e62570d02b3f71d85480100000000000000b47377c358164a12a68a76035ac0479022018f5e9a3fd8fc915b265f92b74d4a010000000000000088b8e0da91c48fd9bf94ca5ed7fb74797a037e626c98ac18cd76360ccd6ac11c0100000000000000c01b5bef9653fd67a8b11907f4c2a9b12cb24237768ad9188330794e9242a723010000000000000086c1922e4ed392d72e0fbc0ee28e7ec0a8ba2b33470330a606cec9a159a79626010000000000000036465f4be77147914969ea78f8e39610310679011dfbb6137dab12e18a687a52010000000000000004ba7eb24012b133b20a8021b603a1483c4a5b9ad3415a4d7ca2b1ad625719550100000000000000202e3405e49bb882f1d49efc4a4adc5b62dcc96ec18346a48aad5a510c189b5001000000000000005c39533cbb607f1f52d82356d267a56399045e0d7b7e95887cfd8ec13173db2e0100000000000000343d27f7f66355f47054ee18bfe7df92bdd8b1aaf9391ba3b8b022905f95f94e0100000000000000ea6acde5149e930af7bc3b17b7f0bdcf12dfd3dc3437f774f823bbeef420a97201000000000000006e7a78e9fdfe275f3e000382ba30452729970578258839db6c0fc568e20b351501000000000000004e1b48e67c1e62e46add39fa523b956946228ea0f08bd9d20ced798cfc9a0f5b0100000000000000faa6ae896c2d1040e495acbdcd8d90a02ccb17ba6e507efa2f7deacb3b28466e0100000000000000402a67126cd160c84edcb39374164f3a39aec59ae72cb66dd9fbd1e9891aa27c010000000000000014e2f25dd3376eb7978d413c14322704a2ff3d9c0c2971acdcdf9720c2c13d6b010000000000000014cf97e739cfd033c2828f25ad3f15e8f6ef62ba97dd74164e77e61eb85454260100000000000000ea7a085eb85651e30b4420daeb2935d87931349e62728f7329b46755d424c2320100000000000000a07f151db53097c2da9dac4b2e0f194931a677a3ba99df0f3976e34409fd64760100000000000000c63dfd97609d6fbdd6300bb957b3feba86755bbd5a36d6b4ca40bea6a1b2517001000000000000004cc9ff5edb36e361b088b0eff52fc6e6559c1169ff87ccdb62503bceab7c74450100000000000000fcd5f4c4fe11f20ad99dc8345b7dc5600caba5d5b7d3f499c3253c095152d4540100000000000000941f291e924d50ffa173fb0a86b37e11915b06910a54d418b0a20998d0303a6901000000000000005eac8ac37c95fc11921839550a30ef071bbc80fb10ea1482cc67818e184d544a0100000000000000ea2b17bd1b69a7b442dd000db0f12f0bd4bf7a87a540427986bd32f3d3bd555801000000000000001e825121b8beecb30e9962a555ce06b9e2c65fcf3b0023178556330d565bcb4c01000000000000001682c3264fc0b2a36eff3a5864cdacfe726bf5972ca8f4c5cad6f18bd450d23e0100000000000000d412fb5e47b946e69918a6391ac30283949ba6d99c491d78fc5014aaa2144b590100000000000000ce323186d64f267b11e6dd0bef533ae85d282b40f90e38eef37f191a7927663f0100000000000000b48cf50a4f94e83450a791d6de965c3e8127c1c915208f2b85df4c3a84b2042f0100000000000000c60a9f5f89ea3a56499bcd39bac7e038c25f5b7720d873fdc12b68d2531eb650010000000000000040b77fd8fcabe868dc7f2a08bf14c67e4d433886c3cd3738d1b0b9c649bafc230100000000000000b013a8307c3572f939c1a9759a832f35babc847cc022588903572c8def43267d0100000000000000cef0feb2602582b96fec882181d34bd5504645c544c983b1a962188239eed90a0100000000000000b633c47d126eceb0e36d788370ebaa179b0c7a3a21cf5f1421bfac40c895ed3c0100000000000000a0887bd2c2058519096e8dcebf495f2ef274490994e969063f72a41b3fab80720100000000000000d2838a30fd86f5f19aa80481630ecd0ee0fe5aa565ea15786f37a22a87cc1b7d01000000000000009acfd215519f40156749868afc8d56e015759f71cf183fe68382e8c02c75b2510100000000000000de5f9f5ad3209502cf429630c2038b8818b6f8ce5685c2730077349802c5792501000000000000005ce79c3ad8a0e1806e863f0858c28a81408d19870a62ac0316b3e6345cbb5f7601000000000000001cbfaf2b91ee79c6288ad01dd5787070b34d5e1b8253a1765904eaa7d0b93f020100000000000000b672ee2f0f9183585ac4875368a0defda6d3c81927fbfc34bbacc7481058cb4b010000000000000036a547b4aca95274437f3876bec0447f775eacd01b09d95869390d326a596d450100000000000000c09be470dab56a2b45b94ba6dac8ed9d515f1d3785cb4eacab40d0a80aa42b1c01000000000000007878535e43226cf81c42183db4bbef4b1eed2a460f6cd423c03af9e86674647a0100000000000000526e1fca7613776cab9c7b4ef9b4577b35adbac416c48529b6058a5f9d133210010000000000000052c9327ca5c1ca830f8ff712d813a8cdc2a8be122f16bf0d1d9e77b7a9789372010000000000000026f2af62a2f0d847e3d2cccc93ec7f98c80a7b6d1bcca4cf1c4a6fc7f81775010100000000000000407e78f505ae833a2eaea113245bf6a5ef6abd0db66141f770cd6cd7a7e75d71010000000000000078c91c4ee02089ea86612f66d6022a0cbd54afe470a162a72036611623924f6d01000000000000000481a58bfdafecabbc96bd170a0ec04cc35100f1f928cca3ecc63b3639e476790100000000000000607fc085eaca16b6a51e44ac9f61a689e869efe15b4da37be15b78c17b193b0301000000000000008ec5856a5fd17617c0af76efea16a87d0c5e769eaad39e91c40dac93fb067d5d0100000000000000e4be18b8f5905bc41fe3cba2e5350d405e76036328042ae7edfbb6b6a9b43d5a0100000000000000824792c3ed55b88805009230d67bd8059eb9958dc23900e4b1a6efe61dc0e96b01000000000000008c73f71ea9e64834a5e048824978864a96c5c600f42f8a7350dd10ac088ecd2101000000000000004ed5f55ec45727a57e2d8d6914f6d2acffb17b9515d347ba045067502a0b14020100000000000000507e2aa1a2409b289b89c80f7ccb129e91a32e8d44c98723f8a97307f54a2d0601000000000000008c6d9a2bb472764af439b9dd83d68dd0a0c1a77fbf1025a0e6bbfa3e9c8e857401000000000000002a0fda136ae348db338b87bed349145a94ce091227774b0542e533a83d1ba455010000000000000078d986932e680d7bebce126a5aedae3e11ba0f4e28c03d63a491e8bcbd05ad2201000000000000007c552599ae2d251c1fb693009a0f904e41e59183027af5adfb8bba4133fc136201000000000000006a5607bc375d7ac0908e7643ea2e89dbe42f4f805c2fb6e2a22d0385c1232b310100000000000000f4ccdf83d734edcc568462572abaf32d22ac7faf8000195e02273d1c9665430801000000000000007eb2b0b6adbe5a5bad38f46db207f94c896d419661f4ab8f21e302a543df9b11010000000000000048ce0aba6f1554e139568b4d2358d6cca9bc291d3600787cc3e732291002ca22010000000000000092239fbae2557ff2ea3952c962e478e6ac2a5b3e3cfffb0eb40e8d41860ab0470100000000000000524c4d2a0ab6f9687123f9c8a9ab4fe2c70f9fc3b1863b4fde16f4dfaddc7d570100000000000000469d81e8b43725a64da6b1ce10eb53eebe1aaebb9703f75ed452e12f45d26273010000000000000000e2ef06613c993996e6eddf381c0f035659593515d10d664fb6bc1002bb921a0100000000000000c4c5fe47a568c2fe4876eafd5e0093dcc31b450eb87bfe58397dfae2a590d465010000000000000044c47763e8f2f1675b480c01304c4da58c8d276b5ecee722e45d17afdc3d391d01000000000000001cc40fa83cd0a4431aa63315b55c669370a4037756089f3402a9021e2d8066640100000000000000742c0a1ea78a09c7454b48897bfde87bf4959b89c898623c8eeace7af714147d01000000000000007873ecedbae63dfbe5594da935e52c14dbd0e131b12879d573b9c002c6e5c4400100000000000000fc53d15453457faadc5540c5853f54324eec395d3647fbf99d5e6e97ef3876760100000000000000fca464b97dee2e318ad8d4516fd606a5401f5d15467110112a3326ef96ce00760100000000000000bc3bf978ea283cf493b43928b605309be31def9d4a1daf47788017ac61c7c81b0100000000000000864cbd281011a154d93d0320865ad67ae442bf0985f0ec220e2c7db4b09599310100000000000000cebdabff22e607a75aa8db1bf875511a563200cce3f089972aca719649b6e1760100000000000000382fb32d7c8868ce3765e9ccfb462c04071a3d70cab3382c796a9115ab0c310301000000000000008a6dbf87f769167b4eb982f63b946f96a1f223b6a6f2789183fec09581b8e906010000000000000056927fdc8bff2063e108fe1b05bbde2f6219bda7d8663fafcf3d2976c72153590100000000000000b027ae418b6c79d9f3a2b05df499d3aaecfb327e6b9d7995a022dc5265ed76180100000000000000eed7e8e8a64dfa89c548a31c1b9fec7af5aef4dbbdb26997b2ddca72d4f8790c0100000000000000fa49d3457520dd98ca1489b78354d7d30a9bdf2181140072ebda1c3dc3371e450100000000000000a811cc491bb3487d5e604dcf6dca3bf529437162f3b8cfb8514ffab16809ff600100000000000000fe2848018ac215f72f551e58dd2d065d99b788b5a7aa59b9f9fe47a5bdbc046d0100000000000000b6ed5b0c17ca7560c71f1778694741009d3da979309617f0bb992084019e25290100000000000000d2fb72b7c3d020239ba45289122d0ae3fb560d01d0cb3caec01efa0c8701d45e0100000000000000f853a1534a3af56217661420536dd7bea0db6f6db843d8fead77c308ed7dcc7c010000000000000052a0f4ee4ffddedc5b9fd2154ca213cf3f49df94f4b5c36c2d8f877f5a7010220100000000000000c2041cb909e2a314df816d3234a893c1d387f4d4f9a4379d11400963b134a753010000000000000028702457fd7ea52bb88284bfcd721493ceae3ea984492a1b82c55efa1b62fa390100000000000000484b6b8012254027636d95e66c5ea7ee68dbdf9ef6ad3c2fc00cfe5c39fdaf7c010000000000000002e12aee8fa547e191b4395503c28d4b14650c1dc03c698d73f4cd30f03de90201000000000000004050f1025e1481eedf4d787eb4232123b271e5196dcd8670d754836297d0da720100000000000000e816e2e76f7ccbdefdfd484aa8b5f904d293ae8694e21a92990da54f17e244090100000000000000c664c419396f160467b184251d893f1a1d468e0d230691dd0123d60d446c5b6201000000000000006ef86d4533f47ffd133c63b9575c17234309ab6e16f487ae7cd8914169183c660100000000000000ce60d2c987bbeeaceff8463484b717ce80cbcf3d8f8b2102e95effc88000d95d010000000000000056606b6532cdbf27358fd067d61c2a65e4b3e8934c266a857320ff18e5c7654c0100000000000000060edf92540ed4cbb944b399cabc91a7b9641bfd553bae0479b442f9d5bc7c2101000000000000002abc6a5d748978a4023c3597c49178db2349ea6af5a9b61783095af8e427027c010000000000000094d89cb8df2b03c76d41a6521e5803d6f98e204e1839b9ea747dc7e253d35b7f010000000000000050f5f5863f99e896975813fda8768c72ff25fb54e25385a4263d1ff9a19152500100000000000000ecf0297bddebd3d766ea7def2bac79ad6eb650fabdcd029b99cb1649ff7dc8150100000000000000540926fefa2d0424fd451bfca39a01c0e1a3fc811406e127d1dbfdc6cf9e9770010000000000000038c9a0897d9caff03a308d2120bbe892974ae8cb05f1cfe8b97259f0ac2e85290100000000000000e20f692ef4d1cdecf74a65aed29a64a001ca7a83f01f8440c5725ccaa8fb8e2f01000000000000003491cc113ef8fe1165bb10e65cbb461955f92f8f0d82f2dcfe6664430dab853601000000000000009a53749c83cc06460148d884f1ea5b71897466b237cf16baa45395d78ce48c1a010000000000000064615e1323ea003b7c5a63ba2c8bed2023103458eeee7cf45244580d3ca59b6a010000000000000088fa8bb07ebce99964718c65d0d6f1b091ef2f4d4cdf7b94a22c42c007ecd706010000000000000048afb25f7981cc67a66853ec05675d83a2d99e6318a6a7a135ed2916cb70a26e01000000000000008a0e2d0af87ffb812f6e6ec229d02056e812cc4f5f5743cc638a7d3f279f0153010000000000000002a4b2935b657f9ec563642ab0f34e223ef594cc70c856b9bd70fbe083721560010000000000000092e5bb9d0906f768dbdde0696b78e493cc78dc1f68789575b24f0b962799b51e01000000000000001ab9d2c814ed7a719ef2aa94dcf4db8aaa0315a59d4b5699e86656a6ee9ac5610100000000000000b63f9ab3a147d76614bfb688751f79fb9a120d40af7ba3bb123c1957b91a411d010000000000000010e37a12fc6ed768d1a2d33c8abc6db675381dfe69c832abb77d9ba2341b3c4a01000000000000004a547dfc28e6730b12b365a1cb7dbca5199e04d75aeb07c7b5da4b0245daff5d0100000000000000bc62cca37518b73aa22efed6a88147f84af5db7b82ef7671d9bbf03c76d22b490100000000000000fa1b0afc9ce9e9742c4825890f6d93bb87bd199e55e86ce66ba7c34ce43e273e0100000000000000e063e31ccdf34c3372902f92ec915f213538370658d9272f9ba6d8d6943ccd13010000000000000042c56bdb09d52942b0fedb07045113a641e2fd64a428b1fa608b5adff9ff4d6401000000000000008e0b3a52dae8c17703f7093d386f5fd8fb1c35a585e7830ca06fa84ba489f2610100000000000000b4e86264fd55571f5016e82a1eeba2476b1d0349fdd175d2443ea30bee0b5207010000000000000086ccdecaccbf1a58049c55793916611cb8749edf93085bb764e77636357ec17201000000000000006ac767a27a7c0d66cc9493e93dc9d37a114b8a05ef7ee4b22db346661446e6280100000000000000bec182c65eec6dbc4d89c474a6f6fc6cb6853946eacfc93762cc3616ecd3c47f0100000000000000f29cb4064a1cc3a79da2c9a9f336053cc69d50bcc737257ca2f071c37030510a01000000000000003e07b075219fc7ace8dc3bf3a06f5dc12aa9c7e45fe30244d2284bcfb1e6ee1901000000000000002271d61469f9f1e5a0832af7de453015b89979fd740526080116295f4a4a516d0100000000000000645077cf303943059891df150649d1d828052ea4249bf50ca3b6d29c6ef1984c01000000000000006cb06d06d7955ca5e61897e7f2c4576469e09185f010d96e9bcc84533d1a036b010000000000000022376791bf19fefac611324d27bc6acb4b7f7eec713c186adbeda5a1e1b88f340100000000000000bc8f93a45201992fa9d04355095d03adeb5ff1aea206425eae4f902ffd47fe20010000000000000034caa67978c1a5280b5f58196edcdb5c864b02d0fd40af9c6e6b9716f3fb12680100000000000000fecb15325d9baf603112dd397d2e83d3694414f529d75c4b639c7e775b979b14010000000000000028052d0b965ed862b7861aa7f3f91fe52ff8b0f795ff476c7e0a7aa42e7993300100000000000000ea03f9dc29ae9b7a053c12b6079664592d2cf46a30b43edbb2d2d980223deb11010000000000000092cca18f264bdcfc19e5c01515ea9d61a0bf0b4e46b2bcae372a428b9dc35e390100000000000000e0b770b1bcf7deb030ee75d5bad6ec1ebfe06ded0fc406a8520a9650fe83233001000000000000003c8330f5d7f34fbec333663bab066cbac4403f892df7659b1c118c185c4f16220100000000000000b20050395fc81aa60508e362f02c75faebe3e4909c7a23721182ce791bb701130100000000000000aa92f32eab7cb844bfce67787d5921e9eb63368577d9c46e9c276dbd2288064c0100000000000000526fdfd1d78345a1b2843d392122962cf89a4f157af2a3d0c99607f506175115010000000000000008e80cc5ada5e557a1cea3658402bc83f9892b5c4e112b6e157e6e7d3663c47b0100000000000000a6730d04d45ee4e7e25d3f7b80b4e2ac12a6644a4128127fbe97e97a1d690d69010000000000000068147c36d367eb1a203b303c65ab3d32fe777cabbca8d39e08ffcfd624b3614d0100000000000000b6ad9df8c32a78e9481e75f484fd0b740554276c026736f0dbac0987db0885670100000000000000ea82745d9978e47fc6bb25fc01383aad42aeee65662b6af304474f0e4101b06f01000000000000000a6a0f8136fafe5c2e096704e37d12b47a1e46151489a23eb1713b37769fdf780100000000000000f25d3265659fca9d24ca877823644f1223714b0167d0a676cf3c9c447173d12f0100000000000000c4687b6d8e527d1ad3be71f2b242bed92eac25b159d9e142e6922ace2dfe5f2101000000000000009ab493c4c8007f49a3e7d1e9f1aef39b39cd66a496e90486e62664725c6ba06f0100000000000000d80eba00fd45442e9305434d637564baed7a12136c89734e4ca850db419f0c3a01000000000000009ea2cb3e6c59685087e59d6d45fdccdd5e6fd4f77fd90b4749f65113e23f086f01000000000000000a43fe86fb05c4f76c85474f9867e987d7f894b0f7fdba0b85c323c3103d3b4a0100000000000000cc60431feaf7f1bf42d805f0c12a1978ca9b3ec0a21397a71ecfc2bb7d52d20a01000000000000004a7791775365fadbb61f37a0d2f6d298c0c7c3a4c9402821ec909972fd5f8a4c01000000000000001827754b7465edb9bf4ce981bdd3a33057f9450fc895e39654dbd51c3ab9835a01000000000000005ee252f56786ec8e512d233a09c3bbda21d0bd3a6ed7e8e8c0fe035dfe7989330100000000000000e0d28dc9623e77eeff6b0aee79793b3a00cf8b1c46fb79c8e6ff8cfeecc4af120100000000000000d0106f6fb9b008052da3223c389525681d9b6e4fdb73a4078f7f1949bfaa350201000000000000001e1f47deab3e4083f7d353b746b719a9f5aaee3ae2cf6b37a4d710f95d489a6101000000000000006638aad1c437c5f2f2ab4c46b786db51bb8c7e6af2ee745934811712f8d83e0601000000000000009e3b3214afe654cf851be9e564e72f834168ff65ce346ac54024cdcd932571210100000000000000aa8727e4b0a95c761b5f2506159a25195d3efca5dafa334f871c3cf262fcc56e01000000000000005e7f927ca4edf203d65f682fae546d8d43913b253dad434800df66be1f0768520100000000000000c88d83d7927e1c1dff61de6b8321ee64746d983173bfb3a03c3d4789ae3f202701000000000000001a8de0dd57069c2986c48b25cd40c13d2acb62fad487a82f4f13738e34418c1f01000000000000008ca0a873b2685dde8c4792832cabe50ea5a1f8a9a661a336689859319b66ba620100000000000000102ed4107066f497e13d3c484a9fa60e506587e19541069dd4555a91d63f27040100000000000000d27da69172c428ddb80272e6fc6ec90985ee281b45f933e5bad65184bc3b5d0201000000000000003afb6b0dac3a05453f125943b8a26269202d297b991e054ca851fa68bb4c0853010000000000000048970bde717a65371534a2b878995c8bc6c230d556035fa003da1c523092332a01000000000000000c3292b5065b7b78a2de5f4fe397fff21df37c0ff7eef94c5fc4397f760e6e4601000000000000006edcddd44823f4f48b53a4172c3bbe239842ac1e663eeb0222fd715d050d7a5101000000000000002234e01370aa10159040ac893ffebe3eb28540b8eebe03f5ca658b20866de36e0100000000000000bc3bebcbf6142977fdbe8492bd2c5947a16d38925d56f09db1ef164b608b912601000000000000004616ac86f0d45899eed3f1246dc5744858a694a92b0abd9f10e52dfc9c28674601000000000000009265e7be28a8f56a974027b630bc37703b7ef21b1b1e4253c54d605f4d10da1e010000000000000046b14e55053a02087c957664d32fdcae6ba1c96051239191c63df564d784e1720100000000000000aac332418d8cd5cc9a903a06cbc8f639d32b32163713dd60d065b949abf8367901000000000000007011cf9db6405d2a4b0ffe11b6a6f9de0c8919d0f70e980d6c6e221e98590e0a010000000000000058efa50da673a8c3b5799e278ae7d32f9eee340947f793f44348ba17e25a885f0100000000000000e6a08fa6af54d2308215f4a62d554dd5b82deaec8ba22a2e6ebade7202ab9e21010000000000000038ab6c4b18e1c86176cf53301ea990f1cdddcdc3f2c3e0f8dde126fa59f60b2f01000000000000009c4d874baeccbb19733cf93f6ffb2f44d9b9f5191ead84f3550c7b767a75061f0100000000000000dc9fce160b2cd9c97257b75c861d32348337de685c69042659eec13a0055b4500100000000000000b41546275611fa185c88c7016e909222b3a757b476316766a72729d074d8e92b0100000000000000662f5ccb0a265c7438d4166b72c2d0106b74f928e995dcd24004c67ad715217e0100000000000000723f8c9d81d0874cd4130cb58587c90ef454174e9d6d9dec11279a553caf00430100000000000000a49dbb103be9a66d67ad5c0d11032866488f39d0a106de579d913dc7099a09260100000000000000309ab613bea03c4431f7602c937f5a4d17e2102db6fc7f77e32f7a245041b90c0100000000000000547c6a159db6eb46da71179d0d15dad5691617fc7f3c6a672864655997035c2d010000000000000040884e6b9876fe866d109aae2a5a6f1a18bfe3655ec9c1fee848ca9273446872010000000000000049e7432ee40ede3d43ba6ed37822ac124d32bd6605844c728e889df99472bc1501000000000000000400000000000000026646627e2646c3b728990fc968ec647c2170e66b55fbe48365e54557ae43756916a6160101db1d000000000000b3c3e410000000006009000000000000a50474a0fc84f72a4a9b8493379b7dfc59ca58a261a2e94997600d14b6b444c1475901000000000000009c40155989f6072e82caba245d7db7e40a60f866b403257976b89aba6be2b55b010000000000000014b0a3a620f70ada506d6ef1b7ab099219f2f05689523af7eebc81f9ba258e6001000000000000007067d4c5b492b11e2052a2bb0b4f729a52b3667afbca7dfefa863011254b5272010000000000000072ab87b654d80294c876cbefb534b3344c2f64159b015b89221331ec2145417501000000000000008008c1b7061a2402634fc15d3849e2913863beb9f55024bc8cc7fa7d6e397817010000000000000024a51a9bdb67213626d1b52bd8dbc0e9b94ea88ea417aa17b56212d1cea3e1780100000000000000488d520146f681678e9d229f5e29354edf65e521246b28a4175c0502e060b92001000000000000003ae9dfa8b24faaf16407328ff38a89b25fc7c673c44f9de3de0c011233d4226d01000000000000009e47382505cd1a803bdbe7803d36a61413e58697bd9396ce1607c89a48d1e051010000000000000020352ba0565811731625a8001d26f5d899e5856dedd0f9c6bc3bec2995704e5b01000000000000009cb389c209afbebda2b12113e0266b3d30f46e2a91aaf4451c193d640288357101000000000000004c9886e2e62ee92a6778d6a7928052732044b64fa61969cd8e37f3f7e3406f7201000000000000000c78c9dfc0033ff87657c56b7ab8cec4d1249be2de18729f743f385343af0f160100000000000000002e496e564f088a075525d2f9155aadd1a7eb017fa36f9e16096e9db7e169330100000000000000ae40860237c8f606dfb6974046eaa6b6b96f8d0aef56fbe3ce4865f66646bd260100000000000000f6dddaaaa53b57763610037753656b591d90fa81efbadcabbeddf7378c23602701000000000000003e69835397599a4bf081775f9f42f0f4ee686d67c9af8eacc4a733fdcdb0290b0100000000000000c48c594bb4e173544a0379055b65d995af53256f653d04f2cf4fdf8f3548943901000000000000003a80d898638dccd4aaa472e7948e7394969cc443335c494159948915c097c036010000000000000000b84e6e296de1009aeca95ee09bc5173aec6e91b1145b247d69e477588789720100000000000000466c0e97d043a4b0f4c3ac4849e11f901e9b31b28f8b3e40b7cdb0ba7f77480801000000000000002049288b4dbfb741109778c602f9308daf2e31b3b66e9aa550065e73c6787d7c0100000000000000e67c524e443cda4cd27dfcce70488a5d23a93c8c46a5e83ef5a69eff3a02fa5a010000000000000024a57db63b380456d56d561d8a9da6db13d298045c9672bc4086a2e0a567d55c01000000000000006c50859d9dde209012eb3868c1a3a6e80ae8fa528ace9df68e92dbbae6036820010000000000000078c88041bbca9b2bebd62fde7c46f4dc5e55d8877a113d063a6b525dfd6f7f2a01000000000000002e85d3d2c07aaf1c0a5f63f544c34b87cfa90a98c4f6167e86cee0b74a20cb120100000000000000723f3865d97a772459da8942cbb4757164f1fe7485cbcefb4b206e157ee5ed0201000000000000007c5f58a83f8101943c089dba3ab906c07811e853444aa58dbcc986c4095fbe7c01000000000000005494142902284943201b7cf610306e8665eeeec87c014d607175c3f50f76103b01000000000000001822493200c35242a149070784dca5e7012a8a52b61cd218ec7d65e469e8cc56010000000000000072ed7192625403acef94aa9189f9f179deb89e60478816ca96c79b742f757e750100000000000000d8f30bc2ee88e69f60d0278998414c80f4a130b8e1738e873bcd14ef31e58d36010000000000000042e377034ce6b2a582bfd66c465252ab10ce790e4f0d3bbe99a42ff86b29965c01000000000000000e164f314984e9a172a3a1526d853ff70bd11f3c596f17accbbebe2f7820833c01000000000000007e91ca522b14cbb71b45348c699b7d65c3198516ee771079b672ee3d7cfc577501000000000000004e2753547f6ec0a896bcbc55b9eeab875e8019acdeb10b979210af63f24c4b74010000000000000098faca5e78664fd082bf47f0079de33a5021415c8f5f912941e651a0b7071d1f0100000000000000ca6e63cec4c0801ecd740073da08be68b9cf4c7ff76b740fb6a522a63e838b5a010000000000000042e7851b82d8b7722b9eeb5eead57b21bf533fd25acb10542a52889376fc3920010000000000000028ce9c093ac772f56acb8dfe8b33a3966d4b8699bd41814117352d397195bd5f010000000000000042ad4ba7e8a60af1abcee04fdd82ad02b24f1e2535bdb1abcdde886efbf0fc4301000000000000006ec27dfa7ac9d35eb002c55d3e4d56b4df928dd5c44323ac228305741c9e09360100000000000000b89cbc83a386d6f5d4fed93289ee50fdf69d77369ca0c9a8b962554e3fc0d37e0100000000000000e61da4eefdd14434952c58dd1943f7f63185d03321ccc8835e4216badd16fc19010000000000000012a64d79e44f1adb33c85c4f2bdfcd8d8b38a34d984604f39289c9a7624a442d0100000000000000a20797f3a8669a909adb22a3aee2844dba82d231cc33f5d9be0e2c533cb82a670100000000000000e297620b731b4958e3c6aa06611c6aa5a45f7e116362d64954a0a330d2a98f330100000000000000dc1274e0689c7a3eac31b41ce352719529e65c01f26999f74ce17c9905fce87401000000000000000e5e5f8e89cd8d58ef83abddd3d1c2079691dec4f6965af70436e84411c31f3901000000000000007c21799f6143fa837a8c18bebe3368d60f4e009b114f61490b54e6344034040d0100000000000000e2f4efaa91da8465ac7d109cd80be5c02b9ba7a0603ff372cd77824de17f6c4201000000000000000ef6f09a9e310abb5c57dd7050a94d56d766772b80789b997cbb40f3b40f625d0100000000000000a88864a0dc9e292aa7cc8eddaa8dd8b6be2a4bc7e8f290023c6604e5c4ad1a7a0100000000000000dc68569b46a09aebabe8fc4452e293fac635e4a2889739809b32e4e2303e3f71010000000000000034ffee048e511f4187a6f40339650ec60a3d99ac5a1158ae162c5729b59d51740100000000000000be7c58318c49ff328d53a6d67830a8a046a41f5124824d3ce2e72cc9965ef57e0100000000000000b06e3ee1ea6420fb73ebd502988420f51b977a83074e1aa5daf0121f4a8b6b1e01000000000000003843abe933fa3ce63f3a5e422e13ec05dc9c0e8f150b93a0fa97f1b193cfba2d01000000000000009cdd57a06bd22d104d539527a19033620becff73dd267f0c2f9f13bc37b0d32c0100000000000000e020b5e946e4c6b0603ceac71b44c330fa7d9cb3e79791ebe1e16bedbb9c71000100000000000000a86c7bdf11794e554439b09f9f294c8e0abaebf447c7bc54419434b8b95f864901000000000000009e9f565a8cb6e8f2154a9833735930a04003505856c3743a0f71afe64c7acf7101000000000000005a63824687de4f60534ee18a430396b95263f75a077655c751bc2045ca2ec84d010000000000000042e4c41a899dfb238649e5b17dc232c2699353635d60e6a3bdcd71f9b82cda300100000000000000f23d1b22d1b03c9fb6eb203c85761fe429a60c38d6591d215e873d62f5d2e4010100000000000000283a77cab50b96f99a8e8287c1488ebbcf31fc3daa953ffa99ac16db982f1e1201000000000000007c3526dc5579f1ef841101b573c655c20f4346fa4a6b0b6ed773d147c3ad6d7f0100000000000000ee579514d7f544fc9fb8d6383ed7d109ee98a411bb4b0b45b9354b0f73fed9720100000000000000e8308668e9f16683cc739791a6dd530b819f45e4ade2113ee2f27eed1c51d120010000000000000026d421de2e7251020ac2f8b8c7e348aa904dcaf0b6d5d73fa0113b476f7dd9030100000000000000bc56c07cea21bcbbe058aedd2ced9fb4757caead55f96bda9bed1c9669c32b640100000000000000ec56243ac035f65b377444e20bc8fa7e3e75242a59b5ffa5f44270f451315f2b01000000000000006ccf2ce8e149999a7bb996faa65194e60aeb7bcd1937c787f886fe979fb49e660100000000000000c0e36251f9ce24d6fe429ecf14bc9599285e3e27c0a541d5ac0ad1902d7ad614010000000000000082b820c5bee8ee77e35203dab387f3434b8502e5f1c35dfb2ad15b5c89d47b3c01000000000000005620922a6765fd47abc96615ef5b8b8575f18aaf8507f6afb86129bc1080994f0100000000000000b4b145ce385b4a3d83f2daac46a61874f80e58c468dd624acc09a558be02c27d0100000000000000b288a9832e07bef83c5a8ca72c5a5583b321672ba7c6cdd44a971f855d32d95c0100000000000000d04077347325618eb5cef03729a157b910fac54ec7e344e65b6945fb9fbbeb3b0100000000000000fe3b55d17e25c44a3568885d9d37276df81fa5225d9d73ee67321c7826581b5a010000000000000072183c2429e4966be5cb14c9cb84d6e4092b4e55d8ebe2534cbfa179b6f85325010000000000000040a2527ffa7d30d788eca127d435c8b5aa48972cda538b9a1627a57e85c8fa190100000000000000844b691aa95ff9a15b50f5e5f4f0e582db6621326cf18d7533f55bc27549497a01000000000000009c1863aefa0b4d5f3d48275769ad0ed04e1428db9694d83b9bb8b5d833f1b41101000000000000007c4b93d862704aad434ab3dc2cbef824df738c5dbe1ba7b34daa38b2aabf7c360100000000000000ae272f5ae4e197a1fc8e670d3aa7bcab325a39d1653b5440bb7593788d0526280100000000000000261ac3229b4bb7a376c37f17e287b2eb596d3b478370b722b6b41443d87081320100000000000000421f3fea780f04810915479b2b72ba55591d1db37a425cae170548a50127f83001000000000000001a36d936f4692ac8387ac0ca1f051970ae480271e39fc134436b86b8ec83b25d010000000000000026d7422872cbf4d4918046f240a13a37219a272f4326b3f3bd1249829bbcd12b0100000000000000be6106f9217a1847af66de9510fdfb40514409556506ddc1c1a897818434125b0100000000000000e03dd3bbb140ffa44e0cc0e1846967b03aecccac78f6e2e0a1fd3ac0d34f554a0100000000000000d08dade453078ef481107714d602bafaa5f1247ec053c3fb62fa8ce53c1df4700100000000000000c02283aab385e82cd28d831cd1ba21381597e0ed3b193f6aa22d7588434c24160100000000000000ae2e94f092fbcfe263519f950b5ade09c474258a4e0d5e62570d02b3f71d85480100000000000000b47377c358164a12a68a76035ac0479022018f5e9a3fd8fc915b265f92b74d4a010000000000000088b8e0da91c48fd9bf94ca5ed7fb74797a037e626c98ac18cd76360ccd6ac11c0100000000000000c01b5bef9653fd67a8b11907f4c2a9b12cb24237768ad9188330794e9242a723010000000000000086c1922e4ed392d72e0fbc0ee28e7ec0a8ba2b33470330a606cec9a159a79626010000000000000036465f4be77147914969ea78f8e39610310679011dfbb6137dab12e18a687a520100000000000000783134a08ea27221e873043cd0ee52a9f79c2eb14d5cd25afed24d7c82cb2246010000000000000004ba7eb24012b133b20a8021b603a1483c4a5b9ad3415a4d7ca2b1ad625719550100000000000000202e3405e49bb882f1d49efc4a4adc5b62dcc96ec18346a48aad5a510c189b5001000000000000005c39533cbb607f1f52d82356d267a56399045e0d7b7e95887cfd8ec13173db2e0100000000000000343d27f7f66355f47054ee18bfe7df92bdd8b1aaf9391ba3b8b022905f95f94e0100000000000000ea6acde5149e930af7bc3b17b7f0bdcf12dfd3dc3437f774f823bbeef420a97201000000000000006e7a78e9fdfe275f3e000382ba30452729970578258839db6c0fc568e20b351501000000000000004e1b48e67c1e62e46add39fa523b956946228ea0f08bd9d20ced798cfc9a0f5b0100000000000000faa6ae896c2d1040e495acbdcd8d90a02ccb17ba6e507efa2f7deacb3b28466e0100000000000000402a67126cd160c84edcb39374164f3a39aec59ae72cb66dd9fbd1e9891aa27c010000000000000014e2f25dd3376eb7978d413c14322704a2ff3d9c0c2971acdcdf9720c2c13d6b010000000000000014cf97e739cfd033c2828f25ad3f15e8f6ef62ba97dd74164e77e61eb85454260100000000000000a07f151db53097c2da9dac4b2e0f194931a677a3ba99df0f3976e34409fd64760100000000000000c63dfd97609d6fbdd6300bb957b3feba86755bbd5a36d6b4ca40bea6a1b2517001000000000000004cc9ff5edb36e361b088b0eff52fc6e6559c1169ff87ccdb62503bceab7c74450100000000000000fcd5f4c4fe11f20ad99dc8345b7dc5600caba5d5b7d3f499c3253c095152d4540100000000000000941f291e924d50ffa173fb0a86b37e11915b06910a54d418b0a20998d0303a6901000000000000005eac8ac37c95fc11921839550a30ef071bbc80fb10ea1482cc67818e184d544a0100000000000000ea2b17bd1b69a7b442dd000db0f12f0bd4bf7a87a540427986bd32f3d3bd555801000000000000001e825121b8beecb30e9962a555ce06b9e2c65fcf3b0023178556330d565bcb4c01000000000000001682c3264fc0b2a36eff3a5864cdacfe726bf5972ca8f4c5cad6f18bd450d23e0100000000000000dcbaae9e44c778fd2914d5940c24033575b5b0ef13d0157a667e4a52d9e719070100000000000000d412fb5e47b946e69918a6391ac30283949ba6d99c491d78fc5014aaa2144b590100000000000000ce323186d64f267b11e6dd0bef533ae85d282b40f90e38eef37f191a7927663f0100000000000000b48cf50a4f94e83450a791d6de965c3e8127c1c915208f2b85df4c3a84b2042f0100000000000000c60a9f5f89ea3a56499bcd39bac7e038c25f5b7720d873fdc12b68d2531eb650010000000000000040b77fd8fcabe868dc7f2a08bf14c67e4d433886c3cd3738d1b0b9c649bafc230100000000000000b013a8307c3572f939c1a9759a832f35babc847cc022588903572c8def43267d0100000000000000cef0feb2602582b96fec882181d34bd5504645c544c983b1a962188239eed90a0100000000000000b633c47d126eceb0e36d788370ebaa179b0c7a3a21cf5f1421bfac40c895ed3c0100000000000000dc5dac973975ef5f4edef722e9727d0c05a73e4e45f7e524a8d216d2a691a6710100000000000000a0887bd2c2058519096e8dcebf495f2ef274490994e969063f72a41b3fab80720100000000000000d2838a30fd86f5f19aa80481630ecd0ee0fe5aa565ea15786f37a22a87cc1b7d01000000000000009acfd215519f40156749868afc8d56e015759f71cf183fe68382e8c02c75b25101000000000000005ce79c3ad8a0e1806e863f0858c28a81408d19870a62ac0316b3e6345cbb5f7601000000000000001cbfaf2b91ee79c6288ad01dd5787070b34d5e1b8253a1765904eaa7d0b93f020100000000000000b672ee2f0f9183585ac4875368a0defda6d3c81927fbfc34bbacc7481058cb4b010000000000000036a547b4aca95274437f3876bec0447f775eacd01b09d95869390d326a596d450100000000000000c09be470dab56a2b45b94ba6dac8ed9d515f1d3785cb4eacab40d0a80aa42b1c01000000000000007878535e43226cf81c42183db4bbef4b1eed2a460f6cd423c03af9e86674647a0100000000000000526e1fca7613776cab9c7b4ef9b4577b35adbac416c48529b6058a5f9d133210010000000000000052c9327ca5c1ca830f8ff712d813a8cdc2a8be122f16bf0d1d9e77b7a9789372010000000000000026f2af62a2f0d847e3d2cccc93ec7f98c80a7b6d1bcca4cf1c4a6fc7f81775010100000000000000407e78f505ae833a2eaea113245bf6a5ef6abd0db66141f770cd6cd7a7e75d7101000000000000009c576fccaf2ffb4885a0ac8ed7ba0b80ee5fd060856fb9f80bdd3219e5d7800d010000000000000078c91c4ee02089ea86612f66d6022a0cbd54afe470a162a72036611623924f6d01000000000000000481a58bfdafecabbc96bd170a0ec04cc35100f1f928cca3ecc63b3639e476790100000000000000607fc085eaca16b6a51e44ac9f61a689e869efe15b4da37be15b78c17b193b0301000000000000008ec5856a5fd17617c0af76efea16a87d0c5e769eaad39e91c40dac93fb067d5d0100000000000000e4be18b8f5905bc41fe3cba2e5350d405e76036328042ae7edfbb6b6a9b43d5a0100000000000000824792c3ed55b88805009230d67bd8059eb9958dc23900e4b1a6efe61dc0e96b01000000000000008c73f71ea9e64834a5e048824978864a96c5c600f42f8a7350dd10ac088ecd2101000000000000004ed5f55ec45727a57e2d8d6914f6d2acffb17b9515d347ba045067502a0b14020100000000000000507e2aa1a2409b289b89c80f7ccb129e91a32e8d44c98723f8a97307f54a2d0601000000000000002a0fda136ae348db338b87bed349145a94ce091227774b0542e533a83d1ba455010000000000000078d986932e680d7bebce126a5aedae3e11ba0f4e28c03d63a491e8bcbd05ad2201000000000000007c552599ae2d251c1fb693009a0f904e41e59183027af5adfb8bba4133fc13620100000000000000502c19c77976b8cb0c47b08cd465a75bd7d25734fac0048342c697501533ee2101000000000000006a5607bc375d7ac0908e7643ea2e89dbe42f4f805c2fb6e2a22d0385c1232b310100000000000000f4ccdf83d734edcc568462572abaf32d22ac7faf8000195e02273d1c9665430801000000000000007eb2b0b6adbe5a5bad38f46db207f94c896d419661f4ab8f21e302a543df9b11010000000000000048ce0aba6f1554e139568b4d2358d6cca9bc291d3600787cc3e732291002ca22010000000000000092239fbae2557ff2ea3952c962e478e6ac2a5b3e3cfffb0eb40e8d41860ab0470100000000000000524c4d2a0ab6f9687123f9c8a9ab4fe2c70f9fc3b1863b4fde16f4dfaddc7d570100000000000000469d81e8b43725a64da6b1ce10eb53eebe1aaebb9703f75ed452e12f45d26273010000000000000000e2ef06613c993996e6eddf381c0f035659593515d10d664fb6bc1002bb921a0100000000000000c4c5fe47a568c2fe4876eafd5e0093dcc31b450eb87bfe58397dfae2a590d465010000000000000044c47763e8f2f1675b480c01304c4da58c8d276b5ecee722e45d17afdc3d391d01000000000000001cc40fa83cd0a4431aa63315b55c669370a4037756089f3402a9021e2d8066640100000000000000742c0a1ea78a09c7454b48897bfde87bf4959b89c898623c8eeace7af714147d01000000000000007873ecedbae63dfbe5594da935e52c14dbd0e131b12879d573b9c002c6e5c4400100000000000000fc53d15453457faadc5540c5853f54324eec395d3647fbf99d5e6e97ef3876760100000000000000fca464b97dee2e318ad8d4516fd606a5401f5d15467110112a3326ef96ce007601000000000000001049c5c0f0493537f48c6b122d697f28cf8ea36ab772591ae875da8aae1198520100000000000000bc3bf978ea283cf493b43928b605309be31def9d4a1daf47788017ac61c7c81b0100000000000000864cbd281011a154d93d0320865ad67ae442bf0985f0ec220e2c7db4b09599310100000000000000cebdabff22e607a75aa8db1bf875511a563200cce3f089972aca719649b6e1760100000000000000382fb32d7c8868ce3765e9ccfb462c04071a3d70cab3382c796a9115ab0c310301000000000000008a6dbf87f769167b4eb982f63b946f96a1f223b6a6f2789183fec09581b8e906010000000000000056927fdc8bff2063e108fe1b05bbde2f6219bda7d8663fafcf3d2976c72153590100000000000000b027ae418b6c79d9f3a2b05df499d3aaecfb327e6b9d7995a022dc5265ed76180100000000000000eed7e8e8a64dfa89c548a31c1b9fec7af5aef4dbbdb26997b2ddca72d4f8790c0100000000000000fa49d3457520dd98ca1489b78354d7d30a9bdf2181140072ebda1c3dc3371e450100000000000000a811cc491bb3487d5e604dcf6dca3bf529437162f3b8cfb8514ffab16809ff600100000000000000fe2848018ac215f72f551e58dd2d065d99b788b5a7aa59b9f9fe47a5bdbc046d0100000000000000b6ed5b0c17ca7560c71f1778694741009d3da979309617f0bb992084019e25290100000000000000d2fb72b7c3d020239ba45289122d0ae3fb560d01d0cb3caec01efa0c8701d45e0100000000000000f853a1534a3af56217661420536dd7bea0db6f6db843d8fead77c308ed7dcc7c010000000000000052a0f4ee4ffddedc5b9fd2154ca213cf3f49df94f4b5c36c2d8f877f5a7010220100000000000000c2041cb909e2a314df816d3234a893c1d387f4d4f9a4379d11400963b134a753010000000000000028702457fd7ea52bb88284bfcd721493ceae3ea984492a1b82c55efa1b62fa390100000000000000484b6b8012254027636d95e66c5ea7ee68dbdf9ef6ad3c2fc00cfe5c39fdaf7c010000000000000002e12aee8fa547e191b4395503c28d4b14650c1dc03c698d73f4cd30f03de90201000000000000004050f1025e1481eedf4d787eb4232123b271e5196dcd8670d754836297d0da720100000000000000e816e2e76f7ccbdefdfd484aa8b5f904d293ae8694e21a92990da54f17e244090100000000000000c664c419396f160467b184251d893f1a1d468e0d230691dd0123d60d446c5b6201000000000000006ef86d4533f47ffd133c63b9575c17234309ab6e16f487ae7cd8914169183c660100000000000000ce60d2c987bbeeaceff8463484b717ce80cbcf3d8f8b2102e95effc88000d95d010000000000000056606b6532cdbf27358fd067d61c2a65e4b3e8934c266a857320ff18e5c7654c0100000000000000060edf92540ed4cbb944b399cabc91a7b9641bfd553bae0479b442f9d5bc7c2101000000000000002abc6a5d748978a4023c3597c49178db2349ea6af5a9b61783095af8e427027c010000000000000094d89cb8df2b03c76d41a6521e5803d6f98e204e1839b9ea747dc7e253d35b7f010000000000000050f5f5863f99e896975813fda8768c72ff25fb54e25385a4263d1ff9a19152500100000000000000ecf0297bddebd3d766ea7def2bac79ad6eb650fabdcd029b99cb1649ff7dc8150100000000000000121f9d8ba85d89e3c6f9a0fedcdfc9b05cc40a6d3324eff6e8a58aec5f5259050100000000000000540926fefa2d0424fd451bfca39a01c0e1a3fc811406e127d1dbfdc6cf9e9770010000000000000038c9a0897d9caff03a308d2120bbe892974ae8cb05f1cfe8b97259f0ac2e85290100000000000000e20f692ef4d1cdecf74a65aed29a64a001ca7a83f01f8440c5725ccaa8fb8e2f01000000000000003491cc113ef8fe1165bb10e65cbb461955f92f8f0d82f2dcfe6664430dab853601000000000000009a53749c83cc06460148d884f1ea5b71897466b237cf16baa45395d78ce48c1a010000000000000064615e1323ea003b7c5a63ba2c8bed2023103458eeee7cf45244580d3ca59b6a01000000000000000c68512e2e5dca7783df908fa702dce48d67a439655fe52de6d29cb07890445a010000000000000088fa8bb07ebce99964718c65d0d6f1b091ef2f4d4cdf7b94a22c42c007ecd706010000000000000048afb25f7981cc67a66853ec05675d83a2d99e6318a6a7a135ed2916cb70a26e01000000000000008a0e2d0af87ffb812f6e6ec229d02056e812cc4f5f5743cc638a7d3f279f0153010000000000000002a4b2935b657f9ec563642ab0f34e223ef594cc70c856b9bd70fbe083721560010000000000000092e5bb9d0906f768dbdde0696b78e493cc78dc1f68789575b24f0b962799b51e01000000000000001ab9d2c814ed7a719ef2aa94dcf4db8aaa0315a59d4b5699e86656a6ee9ac5610100000000000000b63f9ab3a147d76614bfb688751f79fb9a120d40af7ba3bb123c1957b91a411d010000000000000078fb9f8411552c70290a09cdc6a0e235c74364d37204ec06ab62a4d45201233e010000000000000010e37a12fc6ed768d1a2d33c8abc6db675381dfe69c832abb77d9ba2341b3c4a01000000000000004a547dfc28e6730b12b365a1cb7dbca5199e04d75aeb07c7b5da4b0245daff5d0100000000000000bc62cca37518b73aa22efed6a88147f84af5db7b82ef7671d9bbf03c76d22b490100000000000000163a52c9bc0e859d814e742b7b5c8ad8e9c603d3d1f2b896256df27320290f050100000000000000fa1b0afc9ce9e9742c4825890f6d93bb87bd199e55e86ce66ba7c34ce43e273e0100000000000000e063e31ccdf34c3372902f92ec915f213538370658d9272f9ba6d8d6943ccd130100000000000000f6d56c6aaa5121b6a63f13af233d5233b608d53eb7f789a3db3749a4cea2f34f010000000000000042c56bdb09d52942b0fedb07045113a641e2fd64a428b1fa608b5adff9ff4d6401000000000000008e0b3a52dae8c17703f7093d386f5fd8fb1c35a585e7830ca06fa84ba489f2610100000000000000b4e86264fd55571f5016e82a1eeba2476b1d0349fdd175d2443ea30bee0b5207010000000000000086ccdecaccbf1a58049c55793916611cb8749edf93085bb764e77636357ec1720100000000000000bec182c65eec6dbc4d89c474a6f6fc6cb6853946eacfc93762cc3616ecd3c47f0100000000000000f29cb4064a1cc3a79da2c9a9f336053cc69d50bcc737257ca2f071c37030510a01000000000000003e07b075219fc7ace8dc3bf3a06f5dc12aa9c7e45fe30244d2284bcfb1e6ee1901000000000000002271d61469f9f1e5a0832af7de453015b89979fd740526080116295f4a4a516d0100000000000000645077cf303943059891df150649d1d828052ea4249bf50ca3b6d29c6ef1984c010000000000000022376791bf19fefac611324d27bc6acb4b7f7eec713c186adbeda5a1e1b88f340100000000000000bc8f93a45201992fa9d04355095d03adeb5ff1aea206425eae4f902ffd47fe20010000000000000034caa67978c1a5280b5f58196edcdb5c864b02d0fd40af9c6e6b9716f3fb12680100000000000000fecb15325d9baf603112dd397d2e83d3694414f529d75c4b639c7e775b979b14010000000000000028052d0b965ed862b7861aa7f3f91fe52ff8b0f795ff476c7e0a7aa42e7993300100000000000000ea03f9dc29ae9b7a053c12b6079664592d2cf46a30b43edbb2d2d980223deb11010000000000000092cca18f264bdcfc19e5c01515ea9d61a0bf0b4e46b2bcae372a428b9dc35e390100000000000000e0b770b1bcf7deb030ee75d5bad6ec1ebfe06ded0fc406a8520a9650fe83233001000000000000003c8330f5d7f34fbec333663bab066cbac4403f892df7659b1c118c185c4f16220100000000000000b20050395fc81aa60508e362f02c75faebe3e4909c7a23721182ce791bb701130100000000000000aa92f32eab7cb844bfce67787d5921e9eb63368577d9c46e9c276dbd2288064c0100000000000000526fdfd1d78345a1b2843d392122962cf89a4f157af2a3d0c99607f506175115010000000000000008e80cc5ada5e557a1cea3658402bc83f9892b5c4e112b6e157e6e7d3663c47b0100000000000000a6730d04d45ee4e7e25d3f7b80b4e2ac12a6644a4128127fbe97e97a1d690d69010000000000000068147c36d367eb1a203b303c65ab3d32fe777cabbca8d39e08ffcfd624b3614d0100000000000000b6ad9df8c32a78e9481e75f484fd0b740554276c026736f0dbac0987db0885670100000000000000ea82745d9978e47fc6bb25fc01383aad42aeee65662b6af304474f0e4101b06f01000000000000000a6a0f8136fafe5c2e096704e37d12b47a1e46151489a23eb1713b37769fdf780100000000000000f25d3265659fca9d24ca877823644f1223714b0167d0a676cf3c9c447173d12f0100000000000000c4687b6d8e527d1ad3be71f2b242bed92eac25b159d9e142e6922ace2dfe5f2101000000000000009ab493c4c8007f49a3e7d1e9f1aef39b39cd66a496e90486e62664725c6ba06f01000000000000009ea2cb3e6c59685087e59d6d45fdccdd5e6fd4f77fd90b4749f65113e23f086f01000000000000000a43fe86fb05c4f76c85474f9867e987d7f894b0f7fdba0b85c323c3103d3b4a0100000000000000cc60431feaf7f1bf42d805f0c12a1978ca9b3ec0a21397a71ecfc2bb7d52d20a01000000000000004a7791775365fadbb61f37a0d2f6d298c0c7c3a4c9402821ec909972fd5f8a4c01000000000000001827754b7465edb9bf4ce981bdd3a33057f9450fc895e39654dbd51c3ab9835a0100000000000000126a7f10393da0379401ed5fc6945ed0cc3a795c2a192b0bbc3708d24ada404401000000000000005ee252f56786ec8e512d233a09c3bbda21d0bd3a6ed7e8e8c0fe035dfe7989330100000000000000e0d28dc9623e77eeff6b0aee79793b3a00cf8b1c46fb79c8e6ff8cfeecc4af120100000000000000d0106f6fb9b008052da3223c389525681d9b6e4fdb73a4078f7f1949bfaa350201000000000000001e1f47deab3e4083f7d353b746b719a9f5aaee3ae2cf6b37a4d710f95d489a6101000000000000006638aad1c437c5f2f2ab4c46b786db51bb8c7e6af2ee745934811712f8d83e0601000000000000009e3b3214afe654cf851be9e564e72f834168ff65ce346ac54024cdcd932571210100000000000000aa8727e4b0a95c761b5f2506159a25195d3efca5dafa334f871c3cf262fcc56e01000000000000005e7f927ca4edf203d65f682fae546d8d43913b253dad434800df66be1f0768520100000000000000c88d83d7927e1c1dff61de6b8321ee64746d983173bfb3a03c3d4789ae3f202701000000000000001a8de0dd57069c2986c48b25cd40c13d2acb62fad487a82f4f13738e34418c1f01000000000000008ca0a873b2685dde8c4792832cabe50ea5a1f8a9a661a336689859319b66ba620100000000000000102ed4107066f497e13d3c484a9fa60e506587e19541069dd4555a91d63f27040100000000000000d27da69172c428ddb80272e6fc6ec90985ee281b45f933e5bad65184bc3b5d0201000000000000003afb6b0dac3a05453f125943b8a26269202d297b991e054ca851fa68bb4c0853010000000000000048970bde717a65371534a2b878995c8bc6c230d556035fa003da1c523092332a01000000000000000c3292b5065b7b78a2de5f4fe397fff21df37c0ff7eef94c5fc4397f760e6e4601000000000000002234e01370aa10159040ac893ffebe3eb28540b8eebe03f5ca658b20866de36e0100000000000000bc3bebcbf6142977fdbe8492bd2c5947a16d38925d56f09db1ef164b608b912601000000000000004616ac86f0d45899eed3f1246dc5744858a694a92b0abd9f10e52dfc9c28674601000000000000009265e7be28a8f56a974027b630bc37703b7ef21b1b1e4253c54d605f4d10da1e010000000000000046b14e55053a02087c957664d32fdcae6ba1c96051239191c63df564d784e1720100000000000000aac332418d8cd5cc9a903a06cbc8f639d32b32163713dd60d065b949abf83679010000000000000058efa50da673a8c3b5799e278ae7d32f9eee340947f793f44348ba17e25a885f0100000000000000e6a08fa6af54d2308215f4a62d554dd5b82deaec8ba22a2e6ebade7202ab9e2101000000000000009c4d874baeccbb19733cf93f6ffb2f44d9b9f5191ead84f3550c7b767a75061f0100000000000000b41546275611fa185c88c7016e909222b3a757b476316766a72729d074d8e92b0100000000000000662f5ccb0a265c7438d4166b72c2d0106b74f928e995dcd24004c67ad715217e0100000000000000723f8c9d81d0874cd4130cb58587c90ef454174e9d6d9dec11279a553caf00430100000000000000a49dbb103be9a66d67ad5c0d11032866488f39d0a106de579d913dc7099a09260100000000000000309ab613bea03c4431f7602c937f5a4d17e2102db6fc7f77e32f7a245041b90c0100000000000000547c6a159db6eb46da71179d0d15dad5691617fc7f3c6a672864655997035c2d010000000000000040884e6b9876fe866d109aae2a5a6f1a18bfe3655ec9c1fee848ca92734468720100000000000000f4751bb25e58daf18770161b19fc3c544f5b5d3986275612bfaeba70d882887101000000000000000400000000000000027494065a1f61226b66736add1b00a214e14611c3f78e1ab4d3e0d9c69ae732f875af160101dc1d00000000000013cde410000000006009000000000000a50474a0fc84f72a4a9b8493379b7dfc59ca58a261a2e94997600d14b6b444c1475901000000000000009c40155989f6072e82caba245d7db7e40a60f866b403257976b89aba6be2b55b010000000000000014b0a3a620f70ada506d6ef1b7ab099219f2f05689523af7eebc81f9ba258e6001000000000000007067d4c5b492b11e2052a2bb0b4f729a52b3667afbca7dfefa863011254b5272010000000000000072ab87b654d80294c876cbefb534b3344c2f64159b015b89221331ec2145417501000000000000008008c1b7061a2402634fc15d3849e2913863beb9f55024bc8cc7fa7d6e397817010000000000000024a51a9bdb67213626d1b52bd8dbc0e9b94ea88ea417aa17b56212d1cea3e1780100000000000000488d520146f681678e9d229f5e29354edf65e521246b28a4175c0502e060b92001000000000000003ae9dfa8b24faaf16407328ff38a89b25fc7c673c44f9de3de0c011233d4226d0100000000000000e84529a1a5d90df032f8a38981b1e973b2551ffd11eba49d54e278499708473201000000000000009e47382505cd1a803bdbe7803d36a61413e58697bd9396ce1607c89a48d1e0510100000000000000e07446ce5f2219527928039f41b43de71567e0d247a53064b32a1732a9bab306010000000000000020352ba0565811731625a8001d26f5d899e5856dedd0f9c6bc3bec2995704e5b01000000000000009cb389c209afbebda2b12113e0266b3d30f46e2a91aaf4451c193d640288357101000000000000004c9886e2e62ee92a6778d6a7928052732044b64fa61969cd8e37f3f7e3406f7201000000000000000c78c9dfc0033ff87657c56b7ab8cec4d1249be2de18729f743f385343af0f160100000000000000002e496e564f088a075525d2f9155aadd1a7eb017fa36f9e16096e9db7e169330100000000000000ae40860237c8f606dfb6974046eaa6b6b96f8d0aef56fbe3ce4865f66646bd260100000000000000f6dddaaaa53b57763610037753656b591d90fa81efbadcabbeddf7378c23602701000000000000003e69835397599a4bf081775f9f42f0f4ee686d67c9af8eacc4a733fdcdb0290b0100000000000000c48c594bb4e173544a0379055b65d995af53256f653d04f2cf4fdf8f3548943901000000000000003a80d898638dccd4aaa472e7948e7394969cc443335c494159948915c097c036010000000000000000b84e6e296de1009aeca95ee09bc5173aec6e91b1145b247d69e477588789720100000000000000466c0e97d043a4b0f4c3ac4849e11f901e9b31b28f8b3e40b7cdb0ba7f77480801000000000000002049288b4dbfb741109778c602f9308daf2e31b3b66e9aa550065e73c6787d7c0100000000000000e67c524e443cda4cd27dfcce70488a5d23a93c8c46a5e83ef5a69eff3a02fa5a010000000000000024a57db63b380456d56d561d8a9da6db13d298045c9672bc4086a2e0a567d55c01000000000000006c50859d9dde209012eb3868c1a3a6e80ae8fa528ace9df68e92dbbae6036820010000000000000078c88041bbca9b2bebd62fde7c46f4dc5e55d8877a113d063a6b525dfd6f7f2a01000000000000002e85d3d2c07aaf1c0a5f63f544c34b87cfa90a98c4f6167e86cee0b74a20cb120100000000000000723f3865d97a772459da8942cbb4757164f1fe7485cbcefb4b206e157ee5ed0201000000000000007c5f58a83f8101943c089dba3ab906c07811e853444aa58dbcc986c4095fbe7c01000000000000005494142902284943201b7cf610306e8665eeeec87c014d607175c3f50f76103b01000000000000001822493200c35242a149070784dca5e7012a8a52b61cd218ec7d65e469e8cc56010000000000000072ed7192625403acef94aa9189f9f179deb89e60478816ca96c79b742f757e750100000000000000d8f30bc2ee88e69f60d0278998414c80f4a130b8e1738e873bcd14ef31e58d36010000000000000042e377034ce6b2a582bfd66c465252ab10ce790e4f0d3bbe99a42ff86b29965c01000000000000000e164f314984e9a172a3a1526d853ff70bd11f3c596f17accbbebe2f7820833c01000000000000007e91ca522b14cbb71b45348c699b7d65c3198516ee771079b672ee3d7cfc577501000000000000004e2753547f6ec0a896bcbc55b9eeab875e8019acdeb10b979210af63f24c4b74010000000000000098faca5e78664fd082bf47f0079de33a5021415c8f5f912941e651a0b7071d1f0100000000000000ca6e63cec4c0801ecd740073da08be68b9cf4c7ff76b740fb6a522a63e838b5a010000000000000042e7851b82d8b7722b9eeb5eead57b21bf533fd25acb10542a52889376fc3920010000000000000028ce9c093ac772f56acb8dfe8b33a3966d4b8699bd41814117352d397195bd5f010000000000000042ad4ba7e8a60af1abcee04fdd82ad02b24f1e2535bdb1abcdde886efbf0fc4301000000000000006ec27dfa7ac9d35eb002c55d3e4d56b4df928dd5c44323ac228305741c9e09360100000000000000b89cbc83a386d6f5d4fed93289ee50fdf69d77369ca0c9a8b962554e3fc0d37e0100000000000000e61da4eefdd14434952c58dd1943f7f63185d03321ccc8835e4216badd16fc19010000000000000012a64d79e44f1adb33c85c4f2bdfcd8d8b38a34d984604f39289c9a7624a442d0100000000000000a20797f3a8669a909adb22a3aee2844dba82d231cc33f5d9be0e2c533cb82a670100000000000000e297620b731b4958e3c6aa06611c6aa5a45f7e116362d64954a0a330d2a98f330100000000000000dc1274e0689c7a3eac31b41ce352719529e65c01f26999f74ce17c9905fce87401000000000000000e5e5f8e89cd8d58ef83abddd3d1c2079691dec4f6965af70436e84411c31f3901000000000000007c21799f6143fa837a8c18bebe3368d60f4e009b114f61490b54e6344034040d0100000000000000e2f4efaa91da8465ac7d109cd80be5c02b9ba7a0603ff372cd77824de17f6c4201000000000000000ef6f09a9e310abb5c57dd7050a94d56d766772b80789b997cbb40f3b40f625d0100000000000000a88864a0dc9e292aa7cc8eddaa8dd8b6be2a4bc7e8f290023c6604e5c4ad1a7a010000000000000034ffee048e511f4187a6f40339650ec60a3d99ac5a1158ae162c5729b59d51740100000000000000be7c58318c49ff328d53a6d67830a8a046a41f5124824d3ce2e72cc9965ef57e0100000000000000b06e3ee1ea6420fb73ebd502988420f51b977a83074e1aa5daf0121f4a8b6b1e01000000000000003843abe933fa3ce63f3a5e422e13ec05dc9c0e8f150b93a0fa97f1b193cfba2d01000000000000009cdd57a06bd22d104d539527a19033620becff73dd267f0c2f9f13bc37b0d32c0100000000000000e020b5e946e4c6b0603ceac71b44c330fa7d9cb3e79791ebe1e16bedbb9c71000100000000000000a86c7bdf11794e554439b09f9f294c8e0abaebf447c7bc54419434b8b95f864901000000000000009e9f565a8cb6e8f2154a9833735930a04003505856c3743a0f71afe64c7acf7101000000000000005a63824687de4f60534ee18a430396b95263f75a077655c751bc2045ca2ec84d010000000000000042e4c41a899dfb238649e5b17dc232c2699353635d60e6a3bdcd71f9b82cda300100000000000000f23d1b22d1b03c9fb6eb203c85761fe429a60c38d6591d215e873d62f5d2e4010100000000000000283a77cab50b96f99a8e8287c1488ebbcf31fc3daa953ffa99ac16db982f1e1201000000000000007c3526dc5579f1ef841101b573c655c20f4346fa4a6b0b6ed773d147c3ad6d7f0100000000000000ee579514d7f544fc9fb8d6383ed7d109ee98a411bb4b0b45b9354b0f73fed9720100000000000000e8308668e9f16683cc739791a6dd530b819f45e4ade2113ee2f27eed1c51d12001000000000000004052e492aef88954afd9666ecb54ef5303a87394cb0690610841955f3dab1175010000000000000026d421de2e7251020ac2f8b8c7e348aa904dcaf0b6d5d73fa0113b476f7dd9030100000000000000bc56c07cea21bcbbe058aedd2ced9fb4757caead55f96bda9bed1c9669c32b640100000000000000ec56243ac035f65b377444e20bc8fa7e3e75242a59b5ffa5f44270f451315f2b01000000000000006ccf2ce8e149999a7bb996faa65194e60aeb7bcd1937c787f886fe979fb49e660100000000000000c0e36251f9ce24d6fe429ecf14bc9599285e3e27c0a541d5ac0ad1902d7ad614010000000000000082b820c5bee8ee77e35203dab387f3434b8502e5f1c35dfb2ad15b5c89d47b3c01000000000000005620922a6765fd47abc96615ef5b8b8575f18aaf8507f6afb86129bc1080994f0100000000000000b4b145ce385b4a3d83f2daac46a61874f80e58c468dd624acc09a558be02c27d0100000000000000b288a9832e07bef83c5a8ca72c5a5583b321672ba7c6cdd44a971f855d32d95c0100000000000000d04077347325618eb5cef03729a157b910fac54ec7e344e65b6945fb9fbbeb3b0100000000000000fe3b55d17e25c44a3568885d9d37276df81fa5225d9d73ee67321c7826581b5a010000000000000072183c2429e4966be5cb14c9cb84d6e4092b4e55d8ebe2534cbfa179b6f85325010000000000000062d976890a75034b16ddf5c2cfe9e50620782336e19159bb0a11b585b5920f71010000000000000040a2527ffa7d30d788eca127d435c8b5aa48972cda538b9a1627a57e85c8fa190100000000000000844b691aa95ff9a15b50f5e5f4f0e582db6621326cf18d7533f55bc27549497a01000000000000009c1863aefa0b4d5f3d48275769ad0ed04e1428db9694d83b9bb8b5d833f1b41101000000000000007c4b93d862704aad434ab3dc2cbef824df738c5dbe1ba7b34daa38b2aabf7c360100000000000000ae272f5ae4e197a1fc8e670d3aa7bcab325a39d1653b5440bb7593788d0526280100000000000000261ac3229b4bb7a376c37f17e287b2eb596d3b478370b722b6b41443d87081320100000000000000421f3fea780f04810915479b2b72ba55591d1db37a425cae170548a50127f83001000000000000001a36d936f4692ac8387ac0ca1f051970ae480271e39fc134436b86b8ec83b25d010000000000000026d7422872cbf4d4918046f240a13a37219a272f4326b3f3bd1249829bbcd12b0100000000000000be6106f9217a1847af66de9510fdfb40514409556506ddc1c1a897818434125b0100000000000000e03dd3bbb140ffa44e0cc0e1846967b03aecccac78f6e2e0a1fd3ac0d34f554a0100000000000000c02283aab385e82cd28d831cd1ba21381597e0ed3b193f6aa22d7588434c24160100000000000000ae2e94f092fbcfe263519f950b5ade09c474258a4e0d5e62570d02b3f71d85480100000000000000b47377c358164a12a68a76035ac0479022018f5e9a3fd8fc915b265f92b74d4a010000000000000088b8e0da91c48fd9bf94ca5ed7fb74797a037e626c98ac18cd76360ccd6ac11c0100000000000000c01b5bef9653fd67a8b11907f4c2a9b12cb24237768ad9188330794e9242a723010000000000000086c1922e4ed392d72e0fbc0ee28e7ec0a8ba2b33470330a606cec9a159a79626010000000000000036465f4be77147914969ea78f8e39610310679011dfbb6137dab12e18a687a52010000000000000004ba7eb24012b133b20a8021b603a1483c4a5b9ad3415a4d7ca2b1ad625719550100000000000000202e3405e49bb882f1d49efc4a4adc5b62dcc96ec18346a48aad5a510c189b5001000000000000005c39533cbb607f1f52d82356d267a56399045e0d7b7e95887cfd8ec13173db2e0100000000000000343d27f7f66355f47054ee18bfe7df92bdd8b1aaf9391ba3b8b022905f95f94e0100000000000000ea6acde5149e930af7bc3b17b7f0bdcf12dfd3dc3437f774f823bbeef420a97201000000000000006e7a78e9fdfe275f3e000382ba30452729970578258839db6c0fc568e20b351501000000000000004e1b48e67c1e62e46add39fa523b956946228ea0f08bd9d20ced798cfc9a0f5b0100000000000000faa6ae896c2d1040e495acbdcd8d90a02ccb17ba6e507efa2f7deacb3b28466e0100000000000000402a67126cd160c84edcb39374164f3a39aec59ae72cb66dd9fbd1e9891aa27c010000000000000014e2f25dd3376eb7978d413c14322704a2ff3d9c0c2971acdcdf9720c2c13d6b010000000000000014cf97e739cfd033c2828f25ad3f15e8f6ef62ba97dd74164e77e61eb85454260100000000000000ea7a085eb85651e30b4420daeb2935d87931349e62728f7329b46755d424c2320100000000000000a07f151db53097c2da9dac4b2e0f194931a677a3ba99df0f3976e34409fd64760100000000000000c63dfd97609d6fbdd6300bb957b3feba86755bbd5a36d6b4ca40bea6a1b2517001000000000000004cc9ff5edb36e361b088b0eff52fc6e6559c1169ff87ccdb62503bceab7c74450100000000000000fcd5f4c4fe11f20ad99dc8345b7dc5600caba5d5b7d3f499c3253c095152d4540100000000000000941f291e924d50ffa173fb0a86b37e11915b06910a54d418b0a20998d0303a6901000000000000005eac8ac37c95fc11921839550a30ef071bbc80fb10ea1482cc67818e184d544a0100000000000000ea2b17bd1b69a7b442dd000db0f12f0bd4bf7a87a540427986bd32f3d3bd555801000000000000001e825121b8beecb30e9962a555ce06b9e2c65fcf3b0023178556330d565bcb4c01000000000000001682c3264fc0b2a36eff3a5864cdacfe726bf5972ca8f4c5cad6f18bd450d23e0100000000000000d412fb5e47b946e69918a6391ac30283949ba6d99c491d78fc5014aaa2144b590100000000000000ce323186d64f267b11e6dd0bef533ae85d282b40f90e38eef37f191a7927663f0100000000000000b48cf50a4f94e83450a791d6de965c3e8127c1c915208f2b85df4c3a84b2042f0100000000000000c60a9f5f89ea3a56499bcd39bac7e038c25f5b7720d873fdc12b68d2531eb650010000000000000040b77fd8fcabe868dc7f2a08bf14c67e4d433886c3cd3738d1b0b9c649bafc230100000000000000b013a8307c3572f939c1a9759a832f35babc847cc022588903572c8def43267d0100000000000000cef0feb2602582b96fec882181d34bd5504645c544c983b1a962188239eed90a0100000000000000b633c47d126eceb0e36d788370ebaa179b0c7a3a21cf5f1421bfac40c895ed3c0100000000000000a0887bd2c2058519096e8dcebf495f2ef274490994e969063f72a41b3fab80720100000000000000d2838a30fd86f5f19aa80481630ecd0ee0fe5aa565ea15786f37a22a87cc1b7d01000000000000009acfd215519f40156749868afc8d56e015759f71cf183fe68382e8c02c75b2510100000000000000de5f9f5ad3209502cf429630c2038b8818b6f8ce5685c2730077349802c5792501000000000000005ce79c3ad8a0e1806e863f0858c28a81408d19870a62ac0316b3e6345cbb5f7601000000000000001cbfaf2b91ee79c6288ad01dd5787070b34d5e1b8253a1765904eaa7d0b93f020100000000000000b672ee2f0f9183585ac4875368a0defda6d3c81927fbfc34bbacc7481058cb4b010000000000000036a547b4aca95274437f3876bec0447f775eacd01b09d95869390d326a596d450100000000000000c09be470dab56a2b45b94ba6dac8ed9d515f1d3785cb4eacab40d0a80aa42b1c01000000000000007878535e43226cf81c42183db4bbef4b1eed2a460f6cd423c03af9e86674647a0100000000000000526e1fca7613776cab9c7b4ef9b4577b35adbac416c48529b6058a5f9d133210010000000000000052c9327ca5c1ca830f8ff712d813a8cdc2a8be122f16bf0d1d9e77b7a9789372010000000000000026f2af62a2f0d847e3d2cccc93ec7f98c80a7b6d1bcca4cf1c4a6fc7f81775010100000000000000407e78f505ae833a2eaea113245bf6a5ef6abd0db66141f770cd6cd7a7e75d71010000000000000078c91c4ee02089ea86612f66d6022a0cbd54afe470a162a72036611623924f6d01000000000000000481a58bfdafecabbc96bd170a0ec04cc35100f1f928cca3ecc63b3639e476790100000000000000607fc085eaca16b6a51e44ac9f61a689e869efe15b4da37be15b78c17b193b0301000000000000008ec5856a5fd17617c0af76efea16a87d0c5e769eaad39e91c40dac93fb067d5d0100000000000000e4be18b8f5905bc41fe3cba2e5350d405e76036328042ae7edfbb6b6a9b43d5a0100000000000000824792c3ed55b88805009230d67bd8059eb9958dc23900e4b1a6efe61dc0e96b01000000000000008c73f71ea9e64834a5e048824978864a96c5c600f42f8a7350dd10ac088ecd2101000000000000004ed5f55ec45727a57e2d8d6914f6d2acffb17b9515d347ba045067502a0b14020100000000000000507e2aa1a2409b289b89c80f7ccb129e91a32e8d44c98723f8a97307f54a2d0601000000000000008c6d9a2bb472764af439b9dd83d68dd0a0c1a77fbf1025a0e6bbfa3e9c8e857401000000000000002a0fda136ae348db338b87bed349145a94ce091227774b0542e533a83d1ba455010000000000000078d986932e680d7bebce126a5aedae3e11ba0f4e28c03d63a491e8bcbd05ad2201000000000000007c552599ae2d251c1fb693009a0f904e41e59183027af5adfb8bba4133fc136201000000000000006a5607bc375d7ac0908e7643ea2e89dbe42f4f805c2fb6e2a22d0385c1232b310100000000000000f4ccdf83d734edcc568462572abaf32d22ac7faf8000195e02273d1c9665430801000000000000007eb2b0b6adbe5a5bad38f46db207f94c896d419661f4ab8f21e302a543df9b11010000000000000048ce0aba6f1554e139568b4d2358d6cca9bc291d3600787cc3e732291002ca22010000000000000092239fbae2557ff2ea3952c962e478e6ac2a5b3e3cfffb0eb40e8d41860ab0470100000000000000524c4d2a0ab6f9687123f9c8a9ab4fe2c70f9fc3b1863b4fde16f4dfaddc7d570100000000000000469d81e8b43725a64da6b1ce10eb53eebe1aaebb9703f75ed452e12f45d26273010000000000000000e2ef06613c993996e6eddf381c0f035659593515d10d664fb6bc1002bb921a0100000000000000c4c5fe47a568c2fe4876eafd5e0093dcc31b450eb87bfe58397dfae2a590d465010000000000000044c47763e8f2f1675b480c01304c4da58c8d276b5ecee722e45d17afdc3d391d01000000000000001cc40fa83cd0a4431aa63315b55c669370a4037756089f3402a9021e2d8066640100000000000000742c0a1ea78a09c7454b48897bfde87bf4959b89c898623c8eeace7af714147d01000000000000007873ecedbae63dfbe5594da935e52c14dbd0e131b12879d573b9c002c6e5c4400100000000000000fc53d15453457faadc5540c5853f54324eec395d3647fbf99d5e6e97ef3876760100000000000000fca464b97dee2e318ad8d4516fd606a5401f5d15467110112a3326ef96ce00760100000000000000bc3bf978ea283cf493b43928b605309be31def9d4a1daf47788017ac61c7c81b0100000000000000864cbd281011a154d93d0320865ad67ae442bf0985f0ec220e2c7db4b09599310100000000000000cebdabff22e607a75aa8db1bf875511a563200cce3f089972aca719649b6e1760100000000000000382fb32d7c8868ce3765e9ccfb462c04071a3d70cab3382c796a9115ab0c310301000000000000008a6dbf87f769167b4eb982f63b946f96a1f223b6a6f2789183fec09581b8e906010000000000000056927fdc8bff2063e108fe1b05bbde2f6219bda7d8663fafcf3d2976c72153590100000000000000b027ae418b6c79d9f3a2b05df499d3aaecfb327e6b9d7995a022dc5265ed76180100000000000000eed7e8e8a64dfa89c548a31c1b9fec7af5aef4dbbdb26997b2ddca72d4f8790c0100000000000000fa49d3457520dd98ca1489b78354d7d30a9bdf2181140072ebda1c3dc3371e450100000000000000a811cc491bb3487d5e604dcf6dca3bf529437162f3b8cfb8514ffab16809ff600100000000000000fe2848018ac215f72f551e58dd2d065d99b788b5a7aa59b9f9fe47a5bdbc046d0100000000000000b6ed5b0c17ca7560c71f1778694741009d3da979309617f0bb992084019e25290100000000000000d2fb72b7c3d020239ba45289122d0ae3fb560d01d0cb3caec01efa0c8701d45e0100000000000000f853a1534a3af56217661420536dd7bea0db6f6db843d8fead77c308ed7dcc7c010000000000000052a0f4ee4ffddedc5b9fd2154ca213cf3f49df94f4b5c36c2d8f877f5a7010220100000000000000c2041cb909e2a314df816d3234a893c1d387f4d4f9a4379d11400963b134a753010000000000000028702457fd7ea52bb88284bfcd721493ceae3ea984492a1b82c55efa1b62fa390100000000000000484b6b8012254027636d95e66c5ea7ee68dbdf9ef6ad3c2fc00cfe5c39fdaf7c010000000000000002e12aee8fa547e191b4395503c28d4b14650c1dc03c698d73f4cd30f03de90201000000000000004050f1025e1481eedf4d787eb4232123b271e5196dcd8670d754836297d0da720100000000000000e816e2e76f7ccbdefdfd484aa8b5f904d293ae8694e21a92990da54f17e244090100000000000000c664c419396f160467b184251d893f1a1d468e0d230691dd0123d60d446c5b6201000000000000006ef86d4533f47ffd133c63b9575c17234309ab6e16f487ae7cd8914169183c660100000000000000ce60d2c987bbeeaceff8463484b717ce80cbcf3d8f8b2102e95effc88000d95d010000000000000056606b6532cdbf27358fd067d61c2a65e4b3e8934c266a857320ff18e5c7654c0100000000000000060edf92540ed4cbb944b399cabc91a7b9641bfd553bae0479b442f9d5bc7c2101000000000000002abc6a5d748978a4023c3597c49178db2349ea6af5a9b61783095af8e427027c010000000000000094d89cb8df2b03c76d41a6521e5803d6f98e204e1839b9ea747dc7e253d35b7f010000000000000050f5f5863f99e896975813fda8768c72ff25fb54e25385a4263d1ff9a19152500100000000000000ecf0297bddebd3d766ea7def2bac79ad6eb650fabdcd029b99cb1649ff7dc8150100000000000000540926fefa2d0424fd451bfca39a01c0e1a3fc811406e127d1dbfdc6cf9e9770010000000000000038c9a0897d9caff03a308d2120bbe892974ae8cb05f1cfe8b97259f0ac2e85290100000000000000e20f692ef4d1cdecf74a65aed29a64a001ca7a83f01f8440c5725ccaa8fb8e2f01000000000000003491cc113ef8fe1165bb10e65cbb461955f92f8f0d82f2dcfe6664430dab853601000000000000009a53749c83cc06460148d884f1ea5b71897466b237cf16baa45395d78ce48c1a010000000000000064615e1323ea003b7c5a63ba2c8bed2023103458eeee7cf45244580d3ca59b6a010000000000000088fa8bb07ebce99964718c65d0d6f1b091ef2f4d4cdf7b94a22c42c007ecd706010000000000000048afb25f7981cc67a66853ec05675d83a2d99e6318a6a7a135ed2916cb70a26e01000000000000008a0e2d0af87ffb812f6e6ec229d02056e812cc4f5f5743cc638a7d3f279f0153010000000000000002a4b2935b657f9ec563642ab0f34e223ef594cc70c856b9bd70fbe083721560010000000000000092e5bb9d0906f768dbdde0696b78e493cc78dc1f68789575b24f0b962799b51e01000000000000001ab9d2c814ed7a719ef2aa94dcf4db8aaa0315a59d4b5699e86656a6ee9ac5610100000000000000b63f9ab3a147d76614bfb688751f79fb9a120d40af7ba3bb123c1957b91a411d010000000000000010e37a12fc6ed768d1a2d33c8abc6db675381dfe69c832abb77d9ba2341b3c4a01000000000000004a547dfc28e6730b12b365a1cb7dbca5199e04d75aeb07c7b5da4b0245daff5d0100000000000000bc62cca37518b73aa22efed6a88147f84af5db7b82ef7671d9bbf03c76d22b490100000000000000fa1b0afc9ce9e9742c4825890f6d93bb87bd199e55e86ce66ba7c34ce43e273e0100000000000000e063e31ccdf34c3372902f92ec915f213538370658d9272f9ba6d8d6943ccd13010000000000000042c56bdb09d52942b0fedb07045113a641e2fd64a428b1fa608b5adff9ff4d6401000000000000008e0b3a52dae8c17703f7093d386f5fd8fb1c35a585e7830ca06fa84ba489f2610100000000000000b4e86264fd55571f5016e82a1eeba2476b1d0349fdd175d2443ea30bee0b5207010000000000000086ccdecaccbf1a58049c55793916611cb8749edf93085bb764e77636357ec17201000000000000006ac767a27a7c0d66cc9493e93dc9d37a114b8a05ef7ee4b22db346661446e6280100000000000000bec182c65eec6dbc4d89c474a6f6fc6cb6853946eacfc93762cc3616ecd3c47f0100000000000000f29cb4064a1cc3a79da2c9a9f336053cc69d50bcc737257ca2f071c37030510a01000000000000003e07b075219fc7ace8dc3bf3a06f5dc12aa9c7e45fe30244d2284bcfb1e6ee1901000000000000002271d61469f9f1e5a0832af7de453015b89979fd740526080116295f4a4a516d0100000000000000645077cf303943059891df150649d1d828052ea4249bf50ca3b6d29c6ef1984c01000000000000006cb06d06d7955ca5e61897e7f2c4576469e09185f010d96e9bcc84533d1a036b010000000000000022376791bf19fefac611324d27bc6acb4b7f7eec713c186adbeda5a1e1b88f340100000000000000bc8f93a45201992fa9d04355095d03adeb5ff1aea206425eae4f902ffd47fe20010000000000000034caa67978c1a5280b5f58196edcdb5c864b02d0fd40af9c6e6b9716f3fb12680100000000000000fecb15325d9baf603112dd397d2e83d3694414f529d75c4b639c7e775b979b14010000000000000028052d0b965ed862b7861aa7f3f91fe52ff8b0f795ff476c7e0a7aa42e7993300100000000000000ea03f9dc29ae9b7a053c12b6079664592d2cf46a30b43edbb2d2d980223deb11010000000000000092cca18f264bdcfc19e5c01515ea9d61a0bf0b4e46b2bcae372a428b9dc35e390100000000000000e0b770b1bcf7deb030ee75d5bad6ec1ebfe06ded0fc406a8520a9650fe83233001000000000000003c8330f5d7f34fbec333663bab066cbac4403f892df7659b1c118c185c4f16220100000000000000b20050395fc81aa60508e362f02c75faebe3e4909c7a23721182ce791bb701130100000000000000aa92f32eab7cb844bfce67787d5921e9eb63368577d9c46e9c276dbd2288064c0100000000000000526fdfd1d78345a1b2843d392122962cf89a4f157af2a3d0c99607f506175115010000000000000008e80cc5ada5e557a1cea3658402bc83f9892b5c4e112b6e157e6e7d3663c47b0100000000000000a6730d04d45ee4e7e25d3f7b80b4e2ac12a6644a4128127fbe97e97a1d690d69010000000000000068147c36d367eb1a203b303c65ab3d32fe777cabbca8d39e08ffcfd624b3614d0100000000000000b6ad9df8c32a78e9481e75f484fd0b740554276c026736f0dbac0987db0885670100000000000000ea82745d9978e47fc6bb25fc01383aad42aeee65662b6af304474f0e4101b06f01000000000000000a6a0f8136fafe5c2e096704e37d12b47a1e46151489a23eb1713b37769fdf780100000000000000f25d3265659fca9d24ca877823644f1223714b0167d0a676cf3c9c447173d12f0100000000000000c4687b6d8e527d1ad3be71f2b242bed92eac25b159d9e142e6922ace2dfe5f2101000000000000009ab493c4c8007f49a3e7d1e9f1aef39b39cd66a496e90486e62664725c6ba06f0100000000000000d80eba00fd45442e9305434d637564baed7a12136c89734e4ca850db419f0c3a01000000000000009ea2cb3e6c59685087e59d6d45fdccdd5e6fd4f77fd90b4749f65113e23f086f01000000000000000a43fe86fb05c4f76c85474f9867e987d7f894b0f7fdba0b85c323c3103d3b4a0100000000000000cc60431feaf7f1bf42d805f0c12a1978ca9b3ec0a21397a71ecfc2bb7d52d20a01000000000000004a7791775365fadbb61f37a0d2f6d298c0c7c3a4c9402821ec909972fd5f8a4c01000000000000001827754b7465edb9bf4ce981bdd3a33057f9450fc895e39654dbd51c3ab9835a01000000000000005ee252f56786ec8e512d233a09c3bbda21d0bd3a6ed7e8e8c0fe035dfe7989330100000000000000e0d28dc9623e77eeff6b0aee79793b3a00cf8b1c46fb79c8e6ff8cfeecc4af120100000000000000d0106f6fb9b008052da3223c389525681d9b6e4fdb73a4078f7f1949bfaa350201000000000000001e1f47deab3e4083f7d353b746b719a9f5aaee3ae2cf6b37a4d710f95d489a6101000000000000006638aad1c437c5f2f2ab4c46b786db51bb8c7e6af2ee745934811712f8d83e0601000000000000009e3b3214afe654cf851be9e564e72f834168ff65ce346ac54024cdcd932571210100000000000000aa8727e4b0a95c761b5f2506159a25195d3efca5dafa334f871c3cf262fcc56e01000000000000005e7f927ca4edf203d65f682fae546d8d43913b253dad434800df66be1f0768520100000000000000c88d83d7927e1c1dff61de6b8321ee64746d983173bfb3a03c3d4789ae3f202701000000000000001a8de0dd57069c2986c48b25cd40c13d2acb62fad487a82f4f13738e34418c1f01000000000000008ca0a873b2685dde8c4792832cabe50ea5a1f8a9a661a336689859319b66ba620100000000000000102ed4107066f497e13d3c484a9fa60e506587e19541069dd4555a91d63f27040100000000000000d27da69172c428ddb80272e6fc6ec90985ee281b45f933e5bad65184bc3b5d0201000000000000003afb6b0dac3a05453f125943b8a26269202d297b991e054ca851fa68bb4c0853010000000000000048970bde717a65371534a2b878995c8bc6c230d556035fa003da1c523092332a01000000000000000c3292b5065b7b78a2de5f4fe397fff21df37c0ff7eef94c5fc4397f760e6e4601000000000000006edcddd44823f4f48b53a4172c3bbe239842ac1e663eeb0222fd715d050d7a5101000000000000002234e01370aa10159040ac893ffebe3eb28540b8eebe03f5ca658b20866de36e0100000000000000bc3bebcbf6142977fdbe8492bd2c5947a16d38925d56f09db1ef164b608b912601000000000000004616ac86f0d45899eed3f1246dc5744858a694a92b0abd9f10e52dfc9c28674601000000000000009265e7be28a8f56a974027b630bc37703b7ef21b1b1e4253c54d605f4d10da1e010000000000000046b14e55053a02087c957664d32fdcae6ba1c96051239191c63df564d784e1720100000000000000aac332418d8cd5cc9a903a06cbc8f639d32b32163713dd60d065b949abf8367901000000000000007011cf9db6405d2a4b0ffe11b6a6f9de0c8919d0f70e980d6c6e221e98590e0a010000000000000058efa50da673a8c3b5799e278ae7d32f9eee340947f793f44348ba17e25a885f0100000000000000e6a08fa6af54d2308215f4a62d554dd5b82deaec8ba22a2e6ebade7202ab9e21010000000000000038ab6c4b18e1c86176cf53301ea990f1cdddcdc3f2c3e0f8dde126fa59f60b2f01000000000000009c4d874baeccbb19733cf93f6ffb2f44d9b9f5191ead84f3550c7b767a75061f0100000000000000dc9fce160b2cd9c97257b75c861d32348337de685c69042659eec13a0055b4500100000000000000b41546275611fa185c88c7016e909222b3a757b476316766a72729d074d8e92b0100000000000000662f5ccb0a265c7438d4166b72c2d0106b74f928e995dcd24004c67ad715217e0100000000000000723f8c9d81d0874cd4130cb58587c90ef454174e9d6d9dec11279a553caf00430100000000000000a49dbb103be9a66d67ad5c0d11032866488f39d0a106de579d913dc7099a09260100000000000000309ab613bea03c4431f7602c937f5a4d17e2102db6fc7f77e32f7a245041b90c0100000000000000547c6a159db6eb46da71179d0d15dad5691617fc7f3c6a672864655997035c2d010000000000000040884e6b9876fe866d109aae2a5a6f1a18bfe3655ec9c1fee848ca9273446872010000000000000049e7432ee40ede3d43ba6ed37822ac124d32bd6605844c728e889df99472bc150100000000000000040000000000000002", - "babeFinalizedBlockWeight": 4559738, - "finalizedBlockHeader": "0xd77079fcf54a7a83fb2b75b24bc4c7b8a776c50c5a6ca04fcf5eba857e2a7f5052c05a04443844f2007aff2b5c8afe4731e735126f337ad52776ffd32f586da47451186fd49b29a11d724d4a7e0eba71b2c74ce1f9fe5958264219cf8ec4160346bc6b12080642414245b501036200000052c4e410000000009a76cf5448916664e377946b2cdf61f1afdc50feae99314db4a62b2ecd5fb24c501e3f442fc8eb763a2fe20657380d5e43c7b8223b90137aeafca12dfe65cd01a3c5a3977a9f1d929cd0855d15aa6f8a5d304ad7f1745bcc857e6e69d0a0e9020542414245010186408d036b3647c440fec22006c5386f1eef56c4fb9314e8bcea8bd26c681f04f8910b1bb3332e0bd2ce3b2cb16a3a9cbf53cb7b1c1152b0693ac90b268eca89", - "grandpaAuthoritySet": "0xa5042f8da08bb2421ef844015c3b2ea23464fc66a9dcb4a2215fe0241f892d19afc50100000000000000fff437ff18629bf1490e5c9b3ec6f1515d46bb9b2aeaa6e39e36611f2479b50d01000000000000000334021ff54e46fb7da4bd257cf113519a0c7ee4a2251b66fe48466fed5853520100000000000000d95f04dc8ea4ac05deea7077457f0406fdd152bd03a7480e7d0de0983b959d3c010000000000000047f940bc985355be7187c709ded2b689b66d69e61e293a507f1d4f90bdbeceee01000000000000004a3fc0fe1020c7f460c7bd23d0b657c03368552b2f0a12d80a1c406fd066e0db01000000000000009b992b5e9b99eb2cd3b2b648d6db81ed722a2feb4938d998b58dcb5d159fadfa0100000000000000aee9de3938173700b3e3f4fbf2b200ae296173a0854157f40de2598dd4cad8f10100000000000000e0b1aae640bfbed119730710c584be65ef59abb3e9ee5dc8a754751e1ba163960100000000000000495a0370e02aadf1beff005feceb521a1d9bb0d85e7fe58658b97ec988fb996c0100000000000000b61e9b13e849779be8f5378a670d61991875d8e091f359384d7be73d02d506930100000000000000426b2be4596a759a15028d84e08c5c56440e6cede68d088f47c671cc3387c3e6010000000000000070ba6e5985990ba1b1392713236f1b50df750f10f744cc6eb95fa7c5cfbc687601000000000000005b27660cd4c375f2654c6d923b29fd8abbab7e96ee040c79598be14f832f56ca010000000000000057ae0c85ebaf333a6ec3251f577cab910cce072f238d1e50046322b83bbc0dd5010000000000000072c09c9e2dc9ab20a65cf70e951352f554442514ba2ac7063966ea7bbe3e6cf001000000000000000139b946b46bee4c61be50c986f2a9ef2e76917644e2ecd842c59d61a94ee612010000000000000019a9d56ea35496122fc44fcb5c29d27fbb43520556d6f8d97753767aaa0f228e01000000000000007cd50f6921fade39653f847bddd48360668004225081a6a3ad7997f78debd34c010000000000000053a51c848834661c92e74b3c2492b8de2591f914ab75345d70e61c79be9699d70100000000000000a5b094ae7c156592baa68ce18dab6368d5b665e9a0f07dfc5f54f58309e086c1010000000000000053352e16d2a27fb3525d5d8750d6ad7f46b303a45e434a409ac727d5cb80432b01000000000000008c54298c6f8704498112ecb24f64f7a28ed2289ec573620b0d1e5a9a44f5fa78010000000000000041ef4a31eb7dc1e01f4630604e1908e644d7cdee3f66a60f98d6d59605326f8b010000000000000097743d6364cdb6c4790cd37c4c2ab5fbc6c65e8bb606625e70a6ee04ed1650d9010000000000000008cc1d6c743da905511a39a6f0a68809a6bc32f8ac25e53bb2d6aca4f493fc9b0100000000000000c9dc00c6a757495c50092362d5c70d2a971ae1da4eb67c9da9f4367c9d408c1d0100000000000000049cb09a86d544249f9e11cf6c348bc0561600343ebee89d1c90bbef3d13e517010000000000000086c42c0f6b8f7c06f9ce823eeecf7cf0371bb5b97f3c7af63872f8bbfb353abd0100000000000000d04d64a07f144638f20f081de122b88fed0cc8bda57e4810e7afb38036dd8bbf0100000000000000f26945a8a64032a1defa76e720a99649125b55751b6088205e7acab901de670b0100000000000000684768723f0efc2001562c3b2156b987601ae9431f8aaa6f4199649cba487aea01000000000000005cba2c6f569da1edc3778308da406f266aa53140381dbb3f14f22909ba6e30040100000000000000c9a741ab82126c4d4eaa6a758cfc1209bbd7b29330e89ccd97fb62ae567c8d4301000000000000009b94bc45bf79bb33f70430c82880456cd7bd5fb3ea131c1b26d493d01c5fe7100100000000000000ce8d085d4b0a9502a680280ecc162bd33533a5ebada62f3be19427542189cb5a0100000000000000a1a9debad5e4afb076cf293c2c797f0b5901ffdb8bd01611235e762411a0db3901000000000000006f4855725ebb9eced957bae43ffa7d30657ce7d06b251ce20e2218bcf929e40501000000000000007c10f10bd6eb9c1201b52c6025545fcbc310432781bbe02629b5cc9e5fdd229a0100000000000000b046cf7d24d49b720b28dd2476b36c157262208fb065c077b1b94db1e9ffa6050100000000000000749556da4a259bc1f0b8ea8e3726c2251656b92205c30b635ec9f42038f8defb01000000000000000ce4d93e25fa5302f4b059456f680047f87be428ae88579e0b862502b5ceed600100000000000000c1758f7cbffeb844419bc494a9dc65fb394259f01e9bf23789a75acc29d7d9620100000000000000c1c1ff5f66fefb5c0849e3b2333411d1f7e9dd4888600e334e7a33623f15fa360100000000000000fe240e80ff8a48a77947b394979cf361017cd906ddaab637d72cf72e729d79bf010000000000000006854c73f5703242d31d2576ac2297c93f0b5dc16ade0097c59d5dc0faa43c550100000000000000c650b1a6b34347bd80ed06b48aa4ae1a33adaa507e8ac23bf6c6b94223b63b9d01000000000000008aabd4f6d7ecec7a749c83fc7be33f3b4818cca6f93a4927b4964900df9454e50100000000000000b9186b95c90d2d00a31e7c68066bd37d73408271762604e3608e2f2c983f830901000000000000003948bfd09bbbc2fe6ac5dfe53146e32df50828eecf7b2b18cdcff8dc385cbd7501000000000000001ba602a293ccdb7a77042fb486c6e010d48b13dff2bef0a26c53637312aac7f70100000000000000ba8180cbc0dceb098ee6b22fe89978bf92ebf196a280470b1501bc2138ec02c70100000000000000f6373ec61f3d99dfcd0bcc6a2b5ddb7e9c8a7d8e5777aa58bc2ac949315dee250100000000000000dc1427d14e83926d22f6be25d1bd39cbc82a194f5e9373ecae644f156ae9c62e010000000000000003d105a30087d96b5f0684f6ded76f826b01dab61e4136e1d851a24f0088b5ed010000000000000020d4e595c50bb9558dad9be6a8784492bbbfc754b9c5fae17edf4f8a84e8b47101000000000000006ba031ff146af5199eeb335a4a9c2fd487685a489e1a154ba1d012e965fdd5ba0100000000000000608f61824d3ae16d443cd0fec15c18590c890d4105e9402cad8743fb423e52b401000000000000000ccee96768f9b1d29d5bd9e63afd2be78a90cc89d19653ff1910cb36000b48530100000000000000818a546c630b881c2161588866965649678cda0f4110cccc3533d0f20e5e41200100000000000000088f8736e1cf2ea3d102f0a96ccf51222b8aa1f93d8e42947892f4395cb5477c0100000000000000c3ff25a1743a9df92af4ccd9a7aed5cbc90f64fd538c3df0a9539128f596526701000000000000004e3fb8c16ad624c1852777456805e5352d0221269de66949c95da4076206b35a01000000000000007ad55381f9de00220678c95a19489640fc61331e2a40d927e3d833555575c6fc010000000000000069a6c84df1d25f855b91040e113a5557da8a89d80644ae7bf8d0ba416ab89b6d0100000000000000cb92ffeace78dbafe6fbf275741b4b38657fb81590712aa0bca7877931f6ad39010000000000000007727680e6caac998c03e3702c7f84e558b592dd76ab2a49cdd3dae16e7e853f0100000000000000e78c36a9d8b145c42c879754a79dde433fa2496c55d6d9f00ae577c6b1ff4dfe0100000000000000f8eb309ab851e8f98aa4bd68138a67dc4a435331598079969053a5325b874a51010000000000000059bba625d971d505a9c7d7c2f3ad69203e69e3e5e1fc1e4905fae7703fa19e030100000000000000ba95f5d0e987305bb794dfeae69d7dd6a7987aa66cd7c9d42aca15e9160ec6a1010000000000000016278af083f6d261762f8a97b6a09ff83e2f5927ce26c2e48f3c7e771dc7e6950100000000000000c49e3cd2c701bb845963c2870dcca12ed070c3f67ffc20144327a93aa6e896ec010000000000000082a1428bcd525a2e77b8f5fb89c73e5fe1261e96e93b383dd2d66767c855c8f001000000000000002dad5b2212ee688f2eeb9ca1fb6a90574f006dc1c6680ac3a8523363a248940b0100000000000000be0a28e5615d9ce3b866b5cf0babf6a7f0e6de06119463382e715b47c89853e40100000000000000b7c13f1239888cda5c8e6ac9ea10675df17633368906e66a487f91ddd3268ca601000000000000007509d9697cb54f627f47b25e80f46f5d1bf483a9cab5f52df69e1a8f612e486f0100000000000000f3b1c0e43606bd49bc84e403db685b577e898b5f7c5db9052bdc3dacf38dc7ad01000000000000008a2b50acd1a4955fc814bf6720c7427902a6ce709f3a2d7c17c55b67f6f1c06301000000000000003a511828c0cdc0fd257387843fdbf6f19d5ca1ef1c29ec7e971fc9f1195eb60c0100000000000000ee5605c1a9ed9484a70b8a591339830f24530eefc4599a7c6188a78896908e2c010000000000000039dbc464cdd3a095627527d2c7cdfa40444369c636578a7e1129c3109ead35260100000000000000d1c146d2429a5a827660008721c7a880e71f44feaa3dc75524c1a9281bac48cd0100000000000000e4b2cffd0b9cacfc500050b27ecae3c55b9b51bd9a416d62605118c8ad4fb09f0100000000000000b28ba3f09e3521f7d09f0098c6743bc218ee2970068adfa5d908d9d06e627ae50100000000000000f6d74de7b39455519a5d6480c8f12c93fc7a4cfc9af39154fc60857a39ad888b010000000000000099f58256a4a5d6cf5d99f0cdebbcbe1477db461457647631cd21ca7f3120da6001000000000000002bb7b11dfe79a12110b0370510ef20d40ba8a563f517310f8bf37cf7f0403de40100000000000000b71a15131dd5df7c4fdc0b13abdd27488d2becdeacb8a42a227dd90ce92057f2010000000000000040533a786cd0be9618126633512666b1b1b9ab3b436fa653c93e2f65da9c196b0100000000000000be95095d93298171c6fb8a1847adfa173d127e13f53482dcb694f891d68f0c58010000000000000085b714accac0654ba57fac59b626dd35802269d2c1d995cea7c335cb05a88f7f01000000000000006a5f902cdeda2c2161d16bd21d586720c08c0bbb7b463d9c59147338d26a8a960100000000000000bbad19c54e41fe818395f38b2771d4f83813441596016c9a01afd591c2bee87b0100000000000000f459c0d1b1e42bf6c6f976b70e15e2842d753200ce2f901a7cf1b8c9bfb10c0401000000000000009c11e35911f023df6e4d218e53412ab4e4a20c17961d63ba381c913b51f394c00100000000000000ac61d1b7ba7b5731e691f8293c6338ef8e909f97d7eb94c0e7874e17afb0ea5b0100000000000000ffcca343512faeffe1cb3a8a7ce62fa4ee0c7f6a5f3e5ac883482846e132813d0100000000000000fd4ae377dbe850ae5bdd50c71831ccf889ede1785d4011f20e3ca6edf0b93900010000000000000037483029302a84623f0a8db165fbed905b0a4fc25e7cfb56e975a0e98336a59b010000000000000053b5918f72e73f92f32b578d1b602f0cc554d98bee8c4e131ef0ac7a63399fb40100000000000000f9908ae5581496061d7e62b966463ac3fe3b52c4dffbffe4d565d4eb3b8b6dd00100000000000000c7d9cab0fb88dccd0cf4abbf5df9d7f36a3de439c5070c599d397e74133bdfed0100000000000000866fe4ae134938ccf4c5caf01358881c75cfde473b0bb8a2623cc231db2ea3b901000000000000005d202a011f023dfaa6713f16bfd4409dde8bfe594abd59e2be32484c73b979820100000000000000756dd17b3ef4077e4df06f9ce7eaa98fa7dd158f1cba596567f0b89cc12544270100000000000000fc555c014d927fe7838e840609916b9af5d93892ce6f394398858286802b8c6101000000000000006727561447ed474ff4e15645b952a37fa5008d4e694d4853bb55594fa34c4f340100000000000000ec295fb809e22c332aa36a57afe05f2c093b2d13e52b0971d8265c5514e4e9690100000000000000efb5f1e4c4ba37f8c159d452d897c607a58518b8355a8454620b3e3ccc3271230100000000000000f71fca8770328d06e9a45e650e5f58c15feb8ec77ca2dce397490bedfa37db4801000000000000008c3dbd5a1b928cb51e918452191e5328b0f6e8de0259517831a90b02dba3e6110100000000000000aa6fd06015b8309ea9103f4b0e29bfa7e21ab5bb1431c3a76433f591c739f8380100000000000000a892342c56149812a43e98c82b6a3dfee7eff384d9b6d832002ea63838f64900010000000000000005b78368482b0584326a9c0176949523c03ab1446a8aa021701aa9837ccf04fc010000000000000023f07bcb8dade90cefd08732183d5fe32b89ad8a4f84987b9e4e7e767c2587560100000000000000be6b59cb464fadec4e0b22a9f12857ba5cf7a14c4f9551439d36305d582dd7fb0100000000000000035c917f27530f3f99142c77541cbc6ac4f27fd49008c0371e54640ec3b49dfe0100000000000000f916634f9fd7e54374e30ac6b722ad1793c13cb2d5f2ad38769eaca2f79d414b01000000000000007ba967a2dae0d8839cf44710591db994d18e53b25ec6d0f861da0037c4a4366a0100000000000000acc5d703d7819d7993784e6ce107cd4c5625954d3baab0bcc07afe7d8c473a2201000000000000004d4a140145f83598fc5a3839260723176f643ae286ff7b2fc460b897fb050a4501000000000000007d3011d58467b4677391062477ccc42adf126de1587287ea7f1af3510817840c01000000000000007e15c89cc954f1ddd6a5f2e9f482c1143f5b7b4ba406ed1264fd25a999f223f20100000000000000442fc5263e255282e1dd5fc8e56c3e72c18648243da370fbad832275de9abc5c0100000000000000d0b4aada93fb3d0b358e8d59f8914f5987acbc6f5b4f3e12a1ed8d962eded82701000000000000004f950be5bf61958a0ae6e6a036b85b33ba838de8bd5508b558cbe2602d341168010000000000000082e6b6bf1f275c59fbde0dad91393ae690d5e644d11d23898a9ccfdda025920a01000000000000004659b8114500937a2db0c810e194610c582865305e141d04e52ee989b80edd87010000000000000074b60dfb12745236ba9dc8f925efa21482b50c870c567638ba3240a05fe363d90100000000000000d761043f405069ac01285f1ff258450aac675f08d906b1ae0a1ce54eabcb36d901000000000000005047f4a799401d6a39e92c7331147b38b421ea59f96d87426c294c660d1ba3d10100000000000000147e7434965c27c972446e97a5f2e8c92e3031858a7d576ce5187eed4e6434d70100000000000000423e84653aad03ac3c5a6eba17239343a6856a514bf898ed61822f67f2bdcfcd0100000000000000d3b3d9703a265a51a137b9de348587c645a168981ef3e01c9dc482856751b8ef0100000000000000cfb9f7f1fcf903a51af729ed1647aee928630e148990309f9dc9f3b14b114b760100000000000000a2ee8d9c22eba97998d63854409d99c87b21d079f5c888d863a81d41d6abf0110100000000000000d14a779884de1b2fbf079b8e47e8c0edb1c29e282996899a4eab5aaf1f4f41130100000000000000c2344c6fb787621295335b6b5acbab9531199901492d41e13a64dfb2927f83be0100000000000000da0ea9347962105f4b59f4fd04a85b0493736dd9afddb20829771816bdc3ca6301000000000000004c51b84496e533a7f1bb2b806f3733a7f0a48543976d0a4e5410e831f93e041701000000000000009c39dae41fdfa2e72ce57a6c899b01edf5d1aa421d429ba86d4d1741c58317590100000000000000615d64d17a182504db609d14dc6a45a109817cfaaad1608b4c48382bee48d3780100000000000000155763a153e0c02b2eef1d8a9cd8a50a9eaac9d3af7ad1e559b1e2320b521e1c01000000000000005208fe27477acbc6750d0caa831c0b26801c58eca046a6cf9d4143f85d877e8301000000000000004242378110faf2970e19fa227955307e8fe2d055824a2aa3ca2600b933ceb63a010000000000000025ebbb2a00126545bbedf00318a78b6e61a0b52c81e30231ff45bd32e311472f01000000000000003773b05d2e2660498c8d407a1d6223423c26aa08b9b3656af94d78b861fba22f0100000000000000be177f23c0065f9135b057181534bbf09c5f9daecce6c99aa2e9267202fc4f900100000000000000500a9e1ea37636c24ebf4e32668897dae936eef42b6da49027f606d4f24a7e96010000000000000039712f967c4e06d284d6da4735cf2823c1f770674b668f7bc896071c3fd41eda010000000000000046f540d46498b7e5c53d650c28a682f61a769919fe3a3554114cde720c05ebea01000000000000009a5df54f5051a3f41be540c0eb233df31dd82a3acb755a3b42eafb6ca47b06d201000000000000004df6e4d7da2c11ddb9153c714699f9ab625bbcd5e8e38f1cdeee567dc04abc610100000000000000d9b96ab14d54cf0093b00b5bb592a6ea6036f844bf7eaa3b5181d0764e1724b901000000000000009cfeed14dd2f96550a0e7edebd9c9a8c8b1d8f7efdd1abca01987654239f3c860100000000000000fd2fe2f117d597b29474a740ec767fe51cec93544d00e34269b78ddb31225f3b0100000000000000a74ff082093aff29e9a0d9adeb6e6df264b39c15ef1a82bf942e8ba76872bac40100000000000000a9413b5f6af8458b220e467cfa30ec635e0690a843bae76b0c25a387238e45c701000000000000008404cabeb0674765bb77af690fa838ba28fa2045d602994a89f07680f4851c83010000000000000006b9e740c0a0e1f8fd31717438d5918ed8680eaccb70fdc9511931ce0d164ae50100000000000000b8cf76a8082d518016ea5588be57b64e156ed23b0f72248975522c23d15ef16101000000000000002565e04c6e0b665fac87f8238bee74837f8f621ed63409f3838d263603400a980100000000000000c2e6a39d423f82b034e5370932f02653ee45254ced3ec2094640508e3d04d91b0100000000000000d0071dcdd61d5f4df542a2978fc2acd51996ab0abccddf4d64732fc7b83c073101000000000000002a38a4dcdffc571d547ee3e59121fdd378335df7c65877f983f0957cdc9824130100000000000000606f8c9ce630a1ce30fc7b7108fae524bc47bbbb2c838a985d9a651be4fa03450100000000000000620c78305072857b43dadced80ebc057dbfc82b58c14c7b63372ef02140867650100000000000000baf0112f613aa6fff341d67decad56d1c5744a3ebb8e3577e82febbf3535b3fe01000000000000004dc2e72680dbf0156818114fa34d3591f8e6948df25a128e191190c66f6ac35301000000000000001ebe41ca4cd399901ffe5f6f52642630820500e4a96cbef4c80c560cae38d2c601000000000000000442cfb3cd38604b2a5251638e9fa7ee6b05968c731f393b78a6604e0072b09f01000000000000007af0706d921a331b5c1f957a8d1decf15aa0e3377a80d72107693afd8614ef8f0100000000000000f5e2c973d4ccbdd36d8ed4e3dae75d3b50002cc1c74eb0a1fe29ef1ef8e3f0cc01000000000000003ded8aac5210831cbcc4d0cf1f96f2c711afc90a6f6f35a4ffb766be1dfbaee30100000000000000258f23d60623fcb1d699a35f79776a9e81e979150ba5098dcc8e3a69a407ff9a0100000000000000f56f5b3de4f46bcde88569888783fd60646806795807edb1e04ec3dff85ff3e10100000000000000b1f748c87b12edf7242b4719cfe68e6761acaa4329beee538d6ff740941d3cd301000000000000008b35aa0d212e4032ede352d5426696c260c9ecffa632a2e14e6a6629a6c9f637010000000000000072341ca1eb3a0fd4e790318b51ace114315573d5355c9d5336e39382ba0642560100000000000000a79cd2241bd68004641baac25c1900da3a9e6d83101aea3ef2a58d78c657272f0100000000000000b14911cb101f45b88c437a36bd82a5f8641b1c55052060ea46ea2baea570e8bf0100000000000000b66e24ea84d5e02a7b2b58e20bbf17a0f2a19c4654bf8b07669ba3b9fc4a468101000000000000003c1dcee818434058b7de26ee874ade21bd1149185d6dcba1f67048b931ec3dda01000000000000009d31c78ebe9664e2bd8ba41cddcd9c5b9fb0cc6f8be0a2e5b91f6bcf66a5c7530100000000000000290be52ae5259f3e8bd0cdf454004607867a97c1db86d0c9ff16c8c83625bc830100000000000000c91199db47b7591bf1a928534cdbd3e5979a0d09d6a464f2a9607ec444bd8a9701000000000000005e0fad9f1e6837994babd7d55b2d4079af785ec48568cd1c4efd60ea28162e8e01000000000000004c43a374e6b3e6f7d6c5a6b8518ae0d0d232a1c46d63af8fbc800045a14cbe93010000000000000029a6535bac723c2f711e590c67f0bd60843cf7888eebca46025ae57f5ca1d9290100000000000000b5f8f28250bc934f684d57ce969bc3171e5a92085ea3fc4f5cbd3616cb4c7c63010000000000000022edc626e6c76166af032395ade8b874ac872074c72e3e6a70c8f668993d19e80100000000000000ee73c2912d35fe8d3f5bd51303d89bbd8500cd12b3a17594ab3e9ac4cee922200100000000000000ccc84b255e5e73b971f2e71d1903b5ef9bd6d0965ff3ce29c517c875bd7ab65701000000000000001babed13d56d28fdb937b07bce846689584099575382c273f7e425f822c8159f01000000000000003e6d39376bea51b81c57d4a308938c6552bea5433d6bed9f1ac3896cacbdc70d01000000000000004ace071bafa32176b1e916d9454f099b9306a2ad9efd86418bd83cd048935fec0100000000000000ac0ef45b1c0f242a4aeb0ef03a9c0d9e3ae2a4bee8cb4c35f0293bac4331e76501000000000000006bed5c36442ab221e4d825e3ef41e30bddd8bb3847153706d69d851e186092c101000000000000001887f7937a8ca4ec67ceaedebfad3d307b10f416219de1ed4f8646409eab730a0100000000000000b3772cbf76b589acf34786c7882bde8fbe77fd6474543ee882fdce09e50892410100000000000000e1c1327187f940cd73d5afb676b4b28399109aa6a6c3868707df1dc3d62a83820100000000000000ee40b85aa515fdbe6e559f815edc7ec1e321e0d152dd54258382ba31b54e447a010000000000000090517dbf339bac4cd01fcad403dd0803cb67a9b15bf024ce038eea2c7f2423040100000000000000c2eb94269c5e5d2ab9a1a300387358679640763b053aca99ba5c1c9083ee717f0100000000000000316bafdefb60951da2738d6c9c2ef1866d139b34b5eab6944d6bae754dd3fb1101000000000000007a92827270cfa82f16145a44f9bdd9ff5038ef1b665dd520a2e61db9749094960100000000000000ebb1834a568ea7653bc66f394937a0aa4f2f617118d2161e2c11c0d7d2febb9d0100000000000000fd2d8b8e265ca440581956a7e36b57eba685631193bc4fe0a2b638887ca5cc0b0100000000000000b6d7ac98d6667fe8f4a186ef12a66b017df05a54e11b45d3f2967cb3d6b6827f0100000000000000e5f305cd6d930d41209036f066a86d3724aad2f388d354ac4979cc763c220a5601000000000000007ef02c62a02f0c18581cfb8ab7c2dcdff34e36a453a3700c568d61fdf9c8a7b4010000000000000045e03689170b9fc027db927a99842e2c13f9fcbd875a74e2b54a2663f3c23dfc010000000000000098a6defcfeb3dfca36ec46eb373734627a2c395cdd2d886046a11788ed6467af01000000000000007a03c321222b7f7b34946e44850798fee20b9112a64e3950398cce19064b8723010000000000000035db4f9ab121f213b695b982f50c47ac04a14c54214e831ed1bbef7b9542310c01000000000000009bbc024bfe4f072b94735afda064dc3c7da2b4bc0c50cfad44722543583a372e0100000000000000496826b538d97906e14d417b48598d7d591a483ab5f4c6786cd0b96239c2f4cf0100000000000000ef27d1d5573e6419ffcc7c4372668105118256b810ab2e2dbb5e7d8280ee94250100000000000000ed3f97f83ee7799c4aeba9f40bd18134c862c1a30875fc1e038cd27bae3a739a01000000000000001e8548bd6c863891e2d9dd01c56e5e28355dc309f568cacce63d6ea61010b8700100000000000000348e8bacc2d40191a6a00e137c745a422ff8fb03148d2ff9cad75efbb7a670140100000000000000bfcc366ce0bfebc76ac157ed0814e2516786e48eb1a3313b5fe37283e9cf2c5a0100000000000000cafe2356af019d8b5f39c949b3dee71dd5356eb2655d819f485d0244e55b9fcd0100000000000000352738b28d7612806e53cb994ae9d0c04c29e66e74142b374149e9362d98070c0100000000000000efb31c5039e45fda750af5d2ea31b3210a407b168adec8f98db1f3dbc4cd94380100000000000000e2d564796e2660ba1bf553a21581f82116f775002a0dc0f26439f54c660fd84d01000000000000003732b4c704a4568eeced68b4347500bf3e5be27d612ff5382aea88100995ce1d0100000000000000bff74b6ff5ccdce9a659408871d486511938422a6e550fe0669ccd739f8010810100000000000000c149ee2bb1be4395301442de3b032c8596afa5588e1125258a172f837e8f0aa0010000000000000070603976fe118b79a53a29d112718649d8061b2a326a2809897ec904687df7a401000000000000002ff9330a8c344ad3adf4d97db014a2d0891d4dd69f5c8369dad3e0b25566173e01000000000000002667b3cc3064ffdc71758c12f2966407cdb1ac70e2cf972d547c688fd59080880100000000000000e01d6eda8094e949bfbb05c819b509a12eb662a414b822f841d9555d58e1ce760100000000000000c3576342cbf99792896ee5329b04ff2eee2fc2bb6d53c5c03d52c8957ee793fb0100000000000000de186294778cc927cb2a24ade9ad165956f3586979f1ac5f3b4a16edd2674339010000000000000043a9a2915f377cd4943f602be38c3bd6ef39e91562c09f18fb672884b4bf8eab010000000000000059dadf17dc0f84c1c334e6a815a04bdfcd0988a3f3bcb713c66ae29e17276cc60100000000000000297dc7cf28b3d40a42c5e8faac876bf7227c670e6e031dd0e0537f4fb70e6fbe01000000000000000909c1eff97923f6bd47e6ec8b5dc163b32d5b675a3b13138d3599e5cc77ab9f0100000000000000a5f788e86ee2d311357b7aa4a128f063fa4ee36958baf10304c10bde7421aa2c0100000000000000290321d793b7dcb12ad148c2438bb60821bd938b7e9164a0c3d0fc82987f8b630100000000000000f7bdbb5c598784ba157940b08b5c5aa967d0f3faf60da28b915650eb39afe47c01000000000000003bb30832d06cdd3e081afef0cf2b7770bfe81dc58081d1886443e4e4547da8a101000000000000002832b59000d2027d2bf57fdb40da04bd8aac1498923397517181cc487a92815201000000000000006c3829859c7b27da7f0528e6281a406cf713971a03fa4dbb4ea973ee33f7f3170100000000000000677358fc648638cbd854d2a009dd39b8508dd3047d0c5f13bb403a64d053ad030100000000000000645b81dc1769e34a815cc5682abd3c3b3ea60afa9705a5ff2908ad354b0f9ca4010000000000000073dce1727ec50c50366378cd389246e19543d900d7e9dab8e323d04cf5b202a701000000000000002ada479e1fde7211de15900ed29035f6f07506cdbadc4c232aab96d62006b9de0100000000000000ee1a56541083b083f1a13b5f8aa4042a098de2cec4c43f3250baaba8f03a52ea0100000000000000e2cc4424464983ada824bbef5aaa8995e80ef1017c15ef3b13902599841637ba01000000000000005246164c02e9e6bfb7a2dbf7ba8a5440a189f8048373678f5b1085f217464c050100000000000000dea69c3badff9b8d7571cb6c538cd099544da7460a19e1b8651c5c530a6dd53c01000000000000001889f1b031fa7d64c4b480a17cd2941be2c02681bca397c93607091f37bf5ee1010000000000000005062bede97a45c6e1c6b593675ee07ce969fae45136cc2b2afc6e705a77f4700100000000000000fd734da3c98d7d56f8b9cc92f389350f3b6de2fb5917d338fee9fd961978e2a30100000000000000dc6e03f650e4304ca8d1598dde8d4faf45891987bfc49ef785ace47c4c0b5573010000000000000084845f99ad8fe89b7aa136c30b71b791015e8801b1d42cbf9841a0b90e723aad0100000000000000ee145c84de0c536f9d5a7472fe520b20c036ebb714d5b4d51ff913b7cd69caae01000000000000008c258b4ca16dfb8e5afde4cf40fecf115307798117b4860475511b3b5d5615840100000000000000ea8c8bec277832ff4f31396f76d6117026cf73407bce46de9ccfd17c686ca11701000000000000000e7bc96895730726225e47e31c742fd44d3936f31ecd32658c694fc11df25224010000000000000016de137c03756dfabe67ce17e70158cf3d0ad00622b4ad02ed5ff16631f1c97901000000000000008873eb6d260a77ad37a779b9d6c87eabde1fb0be17ddfbd8c8bef64200cdf0db01000000000000003f6aeb3ed0d67d71ee11a1c2e1ed66da77abd8cc8c0f4d995d64fe4ec873684701000000000000006375ae0c1bf2b0388e16971715fd68c31ed179f38947531c165f0da2c3fe7667010000000000000012aa455c35356255f9ba286193962f3bc23f7fff565c1995ac21015bd946fe6e0100000000000000447a00c24ddef95382f0fce94aec3aefb0e8f0cb1a635bfb05faa030d63c1130010000000000000047ede3eca5f6c8f0a51f2d36d7d1c236aab07a8b2aaa6ab08c8ccf8d87ce3dd1010000000000000054c3e0cec10a6cade078942e7f79b242fc4a2eb1988eeb0ee6d92c8653a29c960100000000000000a5d172126aadfe80d2b711776674d61df5a1cd1a0129761fb2d2de58ed9d48a001000000000000006b5487e03da258c7c92add43a1b5a99a0b40f8316e758585150877bb6fe88b320100000000000000af470f2d66661e59ad85302877ba095309d859cea3d5086c5c184030c8f5bdf301000000000000009a0ea02dca493accceb975732f31c9d249d4c90ff1ca0bd86cbe00f1728146b401000000000000004485615186ae8ad33aff337594a7f8325d3a50201ee04320fb1dd2eab9643d1601000000000000002b07c366c1ed899a2ac9722b76e092828714a8177368e51ca05ec05c565866b30100000000000000e81206b483fdcf1fe42145f27d1efb8178a57ee24b196285374037da2a53b32301000000000000001ac44a1e32a5aabcb2bd23d6586da06e7d97d49a36cd670acaee574df1b912210100000000000000ff568b8e0dbe74604c6d04b5de6f2df03b343bea074c4495c6a10e511ba473d9010000000000000056563474f25233f9c2297766972922fd80f4dba402594c9ce82af58a9d0f9d07010000000000000085cf5e7395cdb93f9c9ba72075847443f040f22f440f0e868fbb5de594642dee01000000000000003a4bfd825ccd308def4a61bac80c579db42b02ea5f1a0768656a326e83a0dd880100000000000000db106e27c5b78f1a0d19e0abb47b4666c54906c5539c8596b43d36dc885e927a0100000000000000b5e0d0ae74b0ac76c0195fecca9660a241920ba97cdc5a247c7e941ee1f5407c010000000000000040d167daa1c3ef5c6b1982223618d955926af5b7670f6c1e732f4493fcd349ed0100000000000000f33b53556f28f27d250585317cd57a18f37c5d5f2b3c1bd00a0c91ea54f1636f0100000000000000e056900cabddb471de9e1846d7efdddd8b5ad400b02fc54b4402ba725c78bf9a010000000000000080629b67e7b2d6f57e9da3cb29cc8463a65d125039628124784f944b94c29e88010000000000000079f73931b31ce353119fb4063412e844b16cb3eb92e592ebd822a8c2130355480100000000000000b7d7f71a55b0e39262ab8d33e88e308d0ff39a79eae810ac8ec9cb8e37151fde010000000000000030afa9ef79458f844a27a3881655b6eafb90b3912737f1bcddb95e78eb098c1d010000000000000095885aaa49faca9622ac9eab12f2efa509361511039934ffeff93eb948eb517d010000000000000031a46e639e57d1a11119b17f76617a35b3606d206fb5c3e87710f464f7a57de50100000000000000c222ba3fffec09b85f1992db2dcaeaa48205903219789369855e347fd188144b010000000000000012c277c98d0593ec3d0f9d01e8ce08f67813197b67fe96d2be7c5ba6481515df01000000000000009606000000000000000114b0160100591a00000000000000002904050001000000000000002a0d050002000000000000002f16050003000000000000008e1f05000400000000000000ee28050005000000000000004d32050006000000000000009d3b05000700000000000000fd44050008000000000000005c4e05000900000000000000b75705000a00000000000000176105000b00000000000000766a05000c00000000000000d67305000d00000000000000357d05000e00000000000000958605000f00000000000000f58f0500100000000000000055990500110000000000000095a205001200000000000000d8ab050013000000000000000db50500140000000000000024da05001500000000000000aaec05001600000000000000f4f5050017000000000000003bff050018000000000000008b0806001900000000000000992406001a00000000000000f92d06001b000000000000000d4a06001c00000000000000685306001d00000000000000b65c06001e00000000000000f76506001f00000000000000308b060020000000000000007b940600210000000000000025a70600220000000000000033c3060023000000000000007fcc06002400000000000000c3d50600250000000000000011df060026000000000000005ae806002700000000000000a0f106002800000000000000410407002900000000000000880d07002a000000000000001b3c07002b00000000000000764507002c00000000000000357407002d00000000000000239907002e000000000000006fa207002f00000000000000c3ab070030000000000000006abe07003100000000000000bdc7070032000000000000000fd107003300000000000000b2e3070034000000000000000aed07003500000000000000971b080036000000000000009d24080037000000000000009c4008003800000000000000255308003900000000000000735c08003a000000000000000c6f08003b00000000000000048b08003c00000000000000589408003d00000000000000d3c208003e00000000000000e4de08003f000000000000003fe808004000000000000000f7fa08004100000000000000aa0d09004200000000000000153309004300000000000000fc6a090044000000000000003e74090045000000000000009a7d0900460000000000000000a30900470000000000000014db0900480000000000000020130a004900000000000000791c0a004a00000000000000364b0a004b0000000000000043830a004c00000000000000e5950a004d0000000000000045bb0a004e0000000000000059f30a004f000000000000000e060b005000000000000000812b0b005100000000000000dc340b005200000000000000ef500b005300000000000000a3630b005400000000000000b69b0b005500000000000000c7d30b005600000000000000dd0b0c005700000000000000f3430c005800000000000000087c0c00590000000000000052b30c005a0000000000000060eb0c005b00000000000000baf40c005c0000000000000072230d005d00000000000000805b0d005e000000000000007e930d005f000000000000007ccb0d00600000000000000076030e006100000000000000793b0e00620000000000000088730e00630000000000000092ab0e00640000000000000083e30e006500000000000000731b0f00660000000000000079530f006700000000000000748b0f0068000000000000001fc30f006900000000000000d0fa0f006a00000000000000633210006b00000000000000826a10006c0000000000000028a210006d0000000000000005b310006e0000000000000055d810006f000000000000004810110070000000000000006548110071000000000000008e8011007200000000000000bfb811007300000000000000bbf011007400000000000000e828120075000000000000001561120076000000000000003b991200770000000000000058d112007800000000000000770913007900000000000000944113007a00000000000000c07913007b00000000000000e7b113007c000000000000000cea13007d0000000000000067f313007e00000000000000d31814007f000000000000002e22140080000000000000008c2b14008100000000000000545a14008200000000000000ad63140083000000000000000e89140084000000000000006892140085000000000000008dca14008600000000000000b00215008700000000000000d03a15008800000000000000f3721500890000000000000015ab15008a000000000000003be315008b000000000000005d1b16008c00000000000000855316008d00000000000000b18b16008e00000000000000d3c316008f00000000000000e9fb16009000000000000000073417009100000000000000bf4617009200000000000000286c1700930000000000000029a41700940000000000000041dc17009500000000000000591418009600000000000000bf3918009700000000000000704c18009800000000000000948418009900000000000000f28d18009a00000000000000bcbc18009b00000000000000e4f418009c000000000000000b2d19009d000000000000002c6519009e00000000000000896e19009f00000000000000519d1900a00000000000000075d51900a100000000000000920d1a00a200000000000000ec161a00a300000000000000b6451a00a400000000000000887d1a00a50000000000000077b51a00a600000000000000cdbe1a00a70000000000000070ed1a00a80000000000000083091b00a9000000000000004e251b00aa00000000000000fe371b00ab00000000000000065d1b00ac000000000000005f661b00ad00000000000000bd6f1b00ae00000000000000de941b00af00000000000000fecc1b00b0000000000000001f041c00b1000000000000000c321c00b2000000000000002f3b1c00b3000000000000002e721c00b4000000000000000ca01c00b50000000000000044a91c00b60000000000000022e11c00b70000000000000044191d00b8000000000000000c481d00b9000000000000006b511d00ba000000000000008b891d00bb00000000000000a5c11d00bc0000000000000053f91d00bd00000000000000ff301e00be00000000000000054d1e00bf0000000000000002691e00c000000000000000d1a01e00c100000000000000c5d81e00c200000000000000cf101f00c30000000000000083481f00c400000000000000af801f00c500000000000000d0b81f00c600000000000000f0f01f00c7000000000000001b292000c80000000000000039612000c90000000000000054992000ca000000000000004fd12000cb000000000000004c092100cc00000000000000031c2100cd000000000000006d412100ce00000000000000cc4a2100cf0000000000000098792100d000000000000000c4b12100d100000000000000eee92100d20000000000000011222200d300000000000000325a2200d40000000000000055922200d50000000000000075ca2200d6000000000000008f022300d700000000000000b13a2300d800000000000000cd722300d90000000000000078852300da00000000000000ce8e2300db00000000000000bdaa2300dc00000000000000abe22300dd0000000000000012112400de00000000000000501a2400df0000000000000045512400e000000000000000a1882400e1000000000000005fc02400e20000000000000013f82400e30000000000000007302500e40000000000000013682500e500000000000000c37a2500e600000000000000a8962500e700000000000000fb9f2500e80000000000000000d82500e90000000000000019102600ea000000000000002b482600eb0000000000000028802600ec000000000000002eb82600ed0000000000000044d42600ee0000000000000058f02600ef00000000000000b3f92600f00000000000000065282700f10000000000000057602700f20000000000000064982700f3000000000000008dd02700f400000000000000a7ec2700f500000000000000b9082800f600000000000000e0402800f700000000000000f6782800f80000000000000019b12800f90000000000000040e92800fa000000000000006c212900fb00000000000000a0592900fc00000000000000107f2900fd00000000000000bc912900fe00000000000000eac92900ff00000000000000fd012a000001000000000000ff1d2a0001010000000000000c3a2a0002010000000000002b722a00030100000000000005aa2a000401000000000000fce12a0005010000000000004ceb2a000601000000000000e0fd2a000701000000000000c3192b000801000000000000be512b0009010000000000000a772b000a01000000000000ae892b000b01000000000000b0a52b000c01000000000000abc12b000d010000000000009bf92b000e0100000000000093312c000f0100000000000087692c00100100000000000075a12c00110100000000000074d92c00120100000000000089112d00130100000000000099492d001401000000000000b0812d001501000000000000c3b92d001601000000000000d1f12d001701000000000000d6292e001801000000000000e9612e001901000000000000ea992e001a01000000000000efd12e001b01000000000000f8092f001c01000000000000f0412f001d01000000000000e9792f001e0100000000000036832f001f01000000000000b2b12f002001000000000000a9cd2f00210100000000000094e92f0022010000000000007121300023010000000000003b5930002401000000000000089130002501000000000000599a30002601000000000000f6c830002701000000000000e30031002801000000000000c03831002901000000000000a17031002a01000000000000f27931002b010000000000007fa831002c010000000000005de031002d01000000000000aae931002e01000000000000441832002f01000000000000295032003001000000000000fe8732003101000000000000aa9a3200320100000000000010c0320033010000000000003af8320034010000000000005f303300350100000000000059683300360100000000000078a0330037010000000000009bd833003801000000000000cb1034003901000000000000f44834003a010000000000001c8134003b0100000000000044b934003c0100000000000055f134003d010000000000009dfa34003e01000000000000302935003f01000000000000c6573500400100000000000023613500410100000000000053993500420100000000000080d135004301000000000000560036004401000000000000b10936004501000000000000ce4136004601000000000000037a3600470100000000000031b2360048010000000000005fea360049010000000000007b2237004a01000000000000995a37004b01000000000000f56337004c01000000000000c69237004d01000000000000feca37004e01000000000000340338004f01000000000000683b380050010000000000009e7338005101000000000000c9ab38005201000000000000dcc7380053010000000000003cd138005401000000000000f8e338005501000000000000b0f6380056010000000000001c1c390057010000000000007a2539005801000000000000da2e39005901000000000000525439005a01000000000000878c39005b01000000000000bbc439005c01000000000000f3fc39005d0100000000000028353a005e010000000000005f6d3a005f0100000000000098a53a006001000000000000cedd3a0061010000000000000c163b006201000000000000404e3b00630100000000000019853b006401000000000000608e3b006501000000000000b8973b0066010000000000000fa13b006701000000000000a7b33b006801000000000000fabc3b00690100000000000049c63b006a010000000000009ccf3b006b01000000000000eed83b006c01000000000000c1f43b006d0100000000000014fe3b006e0100000000000066073c006f01000000000000b7103c0070010000000000009e2c3c007101000000000000ee353c00720100000000000094483c007301000000000000e0513c0074010000000000007c643c0075010000000000001d773c0076010000000000004b9c3c00770100000000000010d43c007801000000000000d80b3d0079010000000000001a153d007a0100000000000053433d007b01000000000000ea553d007c01000000000000225f3d007d0100000000000072683d007e01000000000000b4713d007f01000000000000fb7a3d0080010000000000007a8d3d008101000000000000b8963d00820100000000000006a03d00830100000000000088b23d008401000000000000c8bb3d0085010000000000000bc53d0086010000000000001dea3d008701000000000000e9053e008801000000000000b5213e0089010000000000003b343e008a01000000000000843d3e008b010000000000005e593e008c010000000000001f913e008d0100000000000065c83e008e010000000000006bed3e008f01000000000000a9f63e009001000000000000f6ff3e009101000000000000c1373f0092010000000000005c4a3f0093010000000000003b663f009401000000000000856f3f009501000000000000cf783f0096010000000000003ea73f009701000000000000ccde3f0098010000000000008516400099010000000000001e2940009a010000000000006e4e40009b01000000000000c35740009c010000000000009b8640009d01000000000000cebe40009e0100000000000001f740009f01000000000000372f4100a00100000000000097384100a10100000000000070674100a201000000000000a99f4100a30100000000000065b24100a401000000000000ddd74100a50100000000000096ea4100a6010000000000000b104200a70100000000000044484200a8010000000000009c514200a9010000000000003b804200aa0100000000000051b84200ab010000000000006fd44200ac010000000000005ef04200ad01000000000000b9f94200ae010000000000006a284300af0100000000000078604300b00100000000000077984300b101000000000000abd04300b20100000000000064e34300b30100000000000072ff4300b401000000000000d2084400b50100000000000008414400b6010000000000002e794400b7010000000000005eb14400b8010000000000007de94400b9010000000000009e214500ba010000000000005d344500bb01000000000000d0594500bc0100000000000006924500bd010000000000001aca4500be010000000000004a024600bf01000000000000603a4600c00100000000000084724600c101000000000000abaa4600c20100000000000047bd4600c3010000000000009ec64600c401000000000000a0e24600c5010000000000005df54600c601000000000000bf1a4700c701000000000000d1524700c8010000000000007f814700c901000000000000dd8a4700ca0100000000000039944700cb01000000000000f2c24700cc0100000000000010fb4700cd01000000000000d5294800ce010000000000002c334800cf01000000000000f9614800d001000000000000596b4800d10100000000000078874800d2010000000000008da34800d301000000000000aadb4800d401000000000000c6134900d501000000000000eb4b4900d601000000000000e7834900d701000000000000f9bb4900d801000000000000b6ce4900d9010000000000001bf44900da010000000000004a2c4a00db0100000000000066644a00dc010000000000002f7d4a00dd0100000000000019994a00de01000000000000c0ab4a00df01000000000000aec74a00e001000000000000fed04a00e101000000000000bbff4a00e20100000000000019094b00e301000000000000902e4b00e40100000000000041414b00e50100000000000010704b00e6010000000000006e794b00e7010000000000002b8c4b00e80100000000000094b14b00e901000000000000a4e94b00ea01000000000000d4214c00eb01000000000000d7594c00ec01000000000000e8914c00ed0100000000000004ae4c00ee01000000000000ebc94c00ef0100000000000014024d00f001000000000000fe394d00f1010000000000000a724d00f201000000000000667b4d00f30100000000000013aa4d00f40100000000000031c64d00f50100000000000037e24d00f6010000000000004afe4d00f7010000000000002c1a4e00f801000000000000ea2c4e00f90100000000000049364e00fa010000000000004e524e00fb01000000000000628a4e00fc0100000000000079a64e00fd010000000000001ab94e00fe0100000000000079c24e00ff0100000000000094de4e000002000000000000aafa4e00010200000000000059324f00020200000000000004654f000302000000000000ff764f0004020000000000000d804f0005020000000000007e924f000602000000000000c29b4f000702000000000000f4d34f000802000000000000160c50000902000000000000504450000a02000000000000877c50000b02000000000000b6b450000c02000000000000e7ec50000d0200000000000046f650000e02000000000000b61b51000f020000000000001625510010020000000000004f5d510011020000000000000f7051001202000000000000889551001302000000000000b5cd5100140200000000000014d751001502000000000000e605520016020000000000001f3e5200170200000000000053765200180200000000000089ae52001902000000000000e8b752001a02000000000000b7e652001b0200000000000074f952001c02000000000000e81e53001d020000000000001a5753001e02000000000000558f53001f020000000000008ac753002002000000000000b9ff53002102000000000000f13754002202000000000000277054002302000000000000418c54002402000000000000d1a354002502000000000000d9c8540026020000000000007edb54002702000000000000b81355002802000000000000e34b55002902000000000000c58355002a02000000000000d6bb55002b0200000000000007f455002c02000000000000c30656002d020000000000002c2c56002e020000000000005d6456002f020000000000008f9c56003002000000000000c9d456003102000000000000070d570032020000000000004345570033020000000000007a7d570034020000000000007d99570035020000000000009ab557003602000000000000b4ed57003702000000000000f225580038020000000000002f5e580039020000000000006b9658003a02000000000000a6ce58003b02000000000000e30659003c02000000000000183f59003d02000000000000517759003e02000000000000ad8059003f020000000000008baf59004002000000000000e9b859004102000000000000c5e75900420200000000000002205a0043020000000000003f585a0044020000000000007c905a004502000000000000bcc85a004602000000000000f1005b004702000000000000111d5b00480200000000000030395b0049020000000000006f715b004a02000000000000aca95b004b02000000000000e9e15b004c02000000000000251a5c004d0200000000000060525c004e020000000000009f8a5c004f02000000000000dbc25c00500200000000000019fb5c00510200000000000058335d005202000000000000956b5d005302000000000000c7a35d005402000000000000f7db5d00550200000000000031145e0056020000000000006f4c5e005702000000000000a7845e005802000000000000e0bc5e0059020000000000003fc65e005a020000000000001cf55e005b02000000000000582d5f005c0200000000000093655f005d02000000000000cf9d5f005e0200000000000005d65f005f02000000000000440e600060020000000000008346600061020000000000006a7e6000620200000000000056b46000630200000000000000ec60006402000000000000a72361006502000000000000e25b61006602000000000000f293610067020000000000001bcc61006802000000000000dade61006902000000000000590462006a02000000000000963c62006b02000000000000cc7462006c020000000000008c8762006d02000000000000ffac62006e020000000000003ae562006f02000000000000731d63007002000000000000b05563007102000000000000e98d630072020000000000001dc6630073020000000000005dfe63007402000000000000993664007502000000000000d86e6400760200000000000017a76400770200000000000051df640078020000000000008a1765007902000000000000c34f65007a02000000000000018865007b020000000000003ec065007c020000000000007af865007d02000000000000b63066007e02000000000000f06866007f0200000000000004a16600800200000000000041d966008102000000000000711167008202000000000000ac4967008302000000000000de8167008402000000000000f8b967008502000000000000b8cc6700860200000000000035f2670087020000000000006e2a680088020000000000001c3d680089020000000000007f6268008a02000000000000ba9a68008b02000000000000f3d268008c02000000000000310b69008d02000000000000704369008e02000000000000ae7b69008f02000000000000eeb3690090020000000000002bec6900910200000000000065246a009202000000000000a45c6a009302000000000000e0946a0094020000000000001dcd6a009502000000000000dbdf6a00960200000000000059056b00970200000000000018186b009802000000000000923d6b009902000000000000b0756b009a02000000000000e6ad6b009b0200000000000021e66b009c020000000000005e1e6c009d0200000000000096566c009e02000000000000d28e6c009f020000000000000ac76c00a00200000000000047ff6c00a10200000000000077376d00a202000000000000876f6d00a3020000000000000fa76d00a40200000000000059dc6d00a50200000000000022146e00a602000000000000464c6e00a70200000000000071846e00a802000000000000eea96e00a902000000000000aabc6e00aa0200000000000085eb6e00ab02000000000000e4f46e00ac020000000000001c2d6f00ad02000000000000da3f6f00ae0200000000000053656f00af020000000000008c9d6f00b002000000000000c4d56f00b102000000000000d90d7000b202000000000000d7457000b302000000000000f67d7000b402000000000000deb57000b502000000000000b2ed7000b602000000000000a9257100b702000000000000975d7100b802000000000000338c7100b9020000000000007e957100ba0200000000000068b17100bb0200000000000050cd7100bc020000000000001c057200bd02000000000000610e7200be02000000000000c13c7200bf020000000000006b747200c0020000000000005aac7200c10200000000000032e47200c202000000000000dcf67200c302000000000000321c7300c4020000000000002b547300c5020000000000007d8b7300c60200000000000020c37300c702000000000000cefa7300c8020000000000003c327400c9020000000000009b697400ca02000000000000eda07400cb0200000000000056d87400cc0200000000000090107500cd02000000000000ad2c7500ce020000000000000b367500cf02000000000000c7487500d002000000000000fe807500d10200000000000039b97500d20200000000000073f17500d30200000000000030047600d4020000000000004b207600d502000000000000a9297600d60200000000000006337600d702000000000000d3617600d80200000000000090747600d902000000000000089a7600da020000000000002fd27600db020000000000001a0a7700dc0200000000000022427700dd02000000000000007a7700de02000000000000d2b17700df02000000000000f8e97700e0020000000000002b227800e102000000000000635a7800e202000000000000a0927800e302000000000000daca7800e40200000000000011037900e502000000000000483b7900e60200000000000085737900e702000000000000b1ab7900e802000000000000dae37900e902000000000000121c7a00ea0200000000000049547a00eb02000000000000878c7a00ec02000000000000bfc47a00ed02000000000000edfc7a00ee0200000000000026357b00ef02000000000000606d7b00f0020000000000009da57b00f102000000000000cddd7b00f20200000000000006167c00f3020000000000003f4e7c00f402000000000000fb607c00f50200000000000077867c00f602000000000000b4be7c00f70200000000000014c87c00f802000000000000e0f67c00f9020000000000001b2f7d00fa0200000000000058677d00fb02000000000000959f7d00fc02000000000000d2d77d00fd02000000000000ec0f7e00fe0200000000000025487e00ff020000000000005f807e0000030000000000009ab87e000103000000000000d3f07e000203000000000000ee0c7f0003030000000000000a297f000403000000000000c53b7f00050300000000000043617f0006030000000000007b997f000703000000000000b9d17f000803000000000000f20980000903000000000000284280000a030000000000005e7a80000b0300000000000099b280000c03000000000000d2ea80000d03000000000000082381000e030000000000003e5b81000f030000000000007b9381001003000000000000b8cb81001103000000000000f30382001203000000000000313c82001303000000000000697482001403000000000000a6ac82001503000000000000c4c882001603000000000000e0e482001703000000000000ff00830018030000000000001e1d83001903000000000000dd2f83001a030000000000005b5583001b03000000000000988d83001c03000000000000d5c583001d0300000000000010fe83001e030000000000004e3684001f03000000000000826e84002003000000000000bba684002103000000000000f5de840022030000000000006f0485002303000000000000cc0d850024030000000000002c1785002503000000000000ea2985002603000000000000634f850027030000000000007e6b850028030000000000009a878500290300000000000017ad85002a03000000000000d2bf85002b0300000000000031c985002c030000000000000ef885002d030000000000004a3086002e03000000000000866886002f03000000000000bea086003003000000000000f2d8860031030000000000002a1187003203000000000000871a870033030000000000006449870034030000000000001d5c87003503000000000000998187003603000000000000cfb987003703000000000000eed5870038030000000000000cf2870039030000000000004a2a88003a03000000000000a83388003b03000000000000826288003c03000000000000b69a88003d03000000000000efd288003e030000000000002d0b89003f030000000000004d27890040030000000000006c4389004103000000000000ab7b89004203000000000000eab38900430300000000000028ec8900440300000000000068248a004503000000000000a05c8a004603000000000000b4948a004703000000000000f4cc8a00480300000000000030058b0049030000000000006f3d8b004a030000000000008e598b004b03000000000000ae758b004c03000000000000ecad8b004d0300000000000028e68b004e03000000000000331e8c004f030000000000004f568c0050030000000000008e8e8c005103000000000000c7c68c00520300000000000005ff8c00530300000000000041378d005403000000000000746f8d005503000000000000a4a78d00560300000000000064ba8d005703000000000000e4df8d0058030000000000000a188e00590300000000000023508e005a0300000000000027888e005b03000000000000d89a8e005c0300000000000043c08e005d0300000000000082f88e005e03000000000000c0308f005f03000000000000ff688f0060030000000000001ba18f00610300000000000059d98f006203000000000000981190006303000000000000d64990006403000000000000f56590006503000000000000158290006603000000000000758b9000670300000000000053ba9000680300000000000092f290006903000000000000d22a91006a03000000000000106391006b03000000000000489b91006c03000000000000a2a491006d030000000000001bd391006e03000000000000530992006f03000000000000d32e9200700300000000000090419200710300000000000074799200720300000000000094b19200730300000000000072e092007403000000000000d2e992007503000000000000b21893007603000000000000122293007703000000000000445a93007803000000000000739293007903000000000000f3b793007a03000000000000abca93007b030000000000005ddd93007c03000000000000c40294007d03000000000000e13a94007e03000000000000217394007f0300000000000059ab9400800300000000000090e394008103000000000000c31b95008203000000000000ea53950083030000000000009866950084030000000000000b8c9500850300000000000046c49500860300000000000057fc950087030000000000008f3496008803000000000000cf6c960089030000000000000ba596008a0300000000000045dd96008b03000000000000a3e696008c03000000000000801597008d03000000000000bc4d97008e03000000000000f78597008f030000000000002ebe9700900300000000000030f6970091030000000000005a2e98009203000000000000956698009303000000000000d49e9800940300000000000014d7980095030000000000003b0f990096030000000000006c4799009703000000000000ac7f9900980300000000000078b79900990300000000000026ca99009a030000000000007cef99009b0300000000000085279a009c03000000000000be5f9a009d03000000000000fd979a009e03000000000000b9aa9a009f0300000000000022d09a00a0030000000000003dec9a00a10300000000000058089b00a20300000000000074249b00a3030000000000008b409b00a403000000000000e4499b00a50300000000000038789b00a60300000000000076819b00a703000000000000e4af9b00a803000000000000b7e79b00a903000000000000731f9c00aa03000000000000a6289c00ab030000000000002f3b9c00ac0300000000000012579c00ad030000000000005d609c00ae03000000000000cb8e9c00af0300000000000057a19c00b00300000000000086c69c00b1030000000000005afe9c00b20300000000000002369d00b303000000000000bc6d9d00b40300000000000099a59d00b5030000000000004edd9d00b603000000000000db149e00b703000000000000e0399e00b803000000000000724c9e00b9030000000000002a849e00ba03000000000000ee9f9e00bb03000000000000d1bb9e00bc030000000000007df39e00bd03000000000000f02a9f00be030000000000006a629f00bf03000000000000ff999f00c0030000000000002ed19f00c1030000000000004608a000c203000000000000893fa000c303000000000000a476a000c403000000000000dfada000c5030000000000001cb7a000c6030000000000003ce5a000c703000000000000921ca100c8030000000000008c53a100c903000000000000988aa100ca0300000000000010a6a100cb03000000000000a0c1a100cc03000000000000e5d3a100cd0300000000000072f8a100ce030000000000007c2fa200cf030000000000003766a200d003000000000000389da200d10300000000000056a6a200d203000000000000a9b8a200d303000000000000cac1a200d4030000000000001ad4a200d503000000000000200ba300d6030000000000002714a300d703000000000000bc41a300d8030000000000006778a300d9030000000000000aafa300da0300000000000046dca300db0300000000000065e5a300dc03000000000000a81ba400dd03000000000000d72da400de030000000000002352a400df030000000000006288a400e003000000000000c1bea400e103000000000000f8f4a400e203000000000000212ba500e3030000000000003f61a500e403000000000000656aa500e503000000000000e497a500e60300000000000040cea500e703000000000000b204a600e803000000000000fc3aa600e9030000000000009471a600ea0300000000000037a8a600eb030000000000001adfa600ec03000000000000ea0ca700ed030000000000000e16a700ee030000000000005228a700ef030000000000007d31a700f003000000000000034da700f1030000000000002084a700f2030000000000004a8da700f303000000000000a99fa700f403000000000000f6baa700f503000000000000c1f1a700f603000000000000be28a800f703000000000000a65fa800f8030000000000003e7ba800f903000000000000c296a800fa03000000000000c3cda800fb03000000000000d504a900fc03000000000000f83ba900fd030000000000005f73a900fe03000000000000ceaaa900ff030000000000000bb4a900000400000000000005e2a90001040000000000005e19aa000204000000000000c12baa0003040000000000008e50aa000404000000000000fd62aa0005040000000000008175aa000604000000000000fa87aa0007040000000000002f91aa0008040000000000005dbfaa000904000000000000a3c8aa000a04000000000000e5f6aa000b04000000000000e41bab000c040000000000005b2eab000d04000000000000e765ab000e040000000000004c9dab000f0400000000000085a6ab001004000000000000b8d4ab001104000000000000fdddab0012040000000000003b0cac001304000000000000d043ac001404000000000000827bac001504000000000000b8a0ac0016040000000000005bb3ac00170400000000000029ebac0018040000000000006af4ac0019040000000000000e07ad001a04000000000000f422ad001b04000000000000432cad001c040000000000009935ad001d04000000000000ee3ead001e04000000000000d55aad001f04000000000000bd76ad002004000000000000a592ad00210400000000000076caad002204000000000000f6dcad002304000000000000e001ae0024040000000000004f39ae0025040000000000001371ae0026040000000000005f7aae002704000000000000fc8cae002804000000000000cda8ae0029040000000000005ebbae002a0400000000000081e0ae002b040000000000004f18af002c040000000000001e50af002d04000000000000e687af002e04000000000000a0bfaf002f040000000000005ff7af003004000000000000042fb0003104000000000000da66b00032040000000000009a9eb000330400000000000063d6b0003404000000000000300eb1003504000000000000da45b10036040000000000009a7db100370400000000000050b5b100380400000000000029edb1003904000000000000971bb2003a04000000000000e024b2003b04000000000000995cb2003c040000000000006694b2003d0400000000000048b0b2003e040000000000002eccb2003f0400000000000075d5b200400400000000000008e8b2004104000000000000e703b3004204000000000000ce1fb3004304000000000000b63bb30044040000000000000d45b30045040000000000009f57b30046040000000000007573b3004704000000000000c67cb30048040000000000003aabb3004904000000000000e4e2b3004a04000000000000651ab4004b04000000000000f951b4004c040000000000009389b4004d0400000000000025c1b4004e04000000000000f6f8b4004f04000000000000241eb5005004000000000000b130b50051040000000000007068b500520400000000000040a0b5005304000000000000ecd7b50054040000000000000510b60055040000000000003e48b60056040000000000007a80b6005704000000000000b7b8b6005804000000000000f3f0b60059040000000000002f29b7005a04000000000000ae4eb7005b040000000000006861b7005c04000000000000a599b7005d04000000000000ded1b7005e040000000000005cf7b7005f04000000000000160ab80060040000000000005042b8006104000000000000964bb8006204000000000000687ab8006304000000000000a6b2b800640400000000000066c5b8006504000000000000e5eab80066040000000000000423b90067040000000000003f5bb90068040000000000005d77b90069040000000000007b93b9006a04000000000000b7cbb9006b04000000000000ef03ba006c04000000000000133cba006d040000000000003358ba006e040000000000005174ba006f0400000000000042acba0070040000000000006ce4ba007104000000000000a21cbb007204000000000000e054bb007304000000000000405ebb0074040000000000001b8dbb0075040000000000002ec5bb0076040000000000006dfdbb007704000000000000a435bc007804000000000000d06dbc0079040000000000000ca6bc007a040000000000004adebc007b040000000000008716bd007c04000000000000c34ebd007d04000000000000fc86bd007e040000000000003bbfbd007f040000000000007af7bd008004000000000000d500be008104000000000000b32fbe008204000000000000ea67be00830400000000000027a0be00840400000000000065d8be008504000000000000a410bf008604000000000000dd48bf0087040000000000003b52bf0088040000000000001881bf0089040000000000008fb8bf008a04000000000000cbc1bf008b04000000000000f8efbf008c040000000000007602c0008d040000000000008327c0008e04000000000000075fc0008f040000000000005d96c000900400000000000009cec00091040000000000003b06c10092040000000000002d3ec10093040000000000006476c10094040000000000007aaec1009504000000000000b9e6c1009604000000000000ef1ec20097040000000000002c57c2009804000000000000698fc20099040000000000008cc7c2009a040000000000009effc2009b04000000000000da37c3009c04000000000000ee6fc3009d0400000000000029a8c3009e0400000000000067e0c3009f04000000000000240fc400a0040000000000008218c400a104000000000000b150c400a204000000000000c088c400a304000000000000d2c0c400a404000000000000f6f8c400a5040000000000001231c500a604000000000000d143c500a7040000000000004d69c500a80400000000000089a1c500a904000000000000c4d9c500aa040000000000000112c600ab040000000000005c1bc600ac040000000000003a4ac600ad040000000000007482c600ae04000000000000abbac600af04000000000000e4f2c600b0040000000000001d2bc700b1040000000000002e47c700b2040000000000004863c700b304000000000000687fc700b404000000000000829bc700b5040000000000009bd3c700b604000000000000d80bc800b7040000000000001144c800b804000000000000704dc800b904000000000000d056c800ba040000000000004e7cc800bb0400000000000080b4c800bc04000000000000b1ecc800bd040000000000009808c900be040000000000008d24c900bf04000000000000c75cc900c004000000000000df94c900c104000000000000feb0c900c2040000000000001dcdc900c3040000000000004605ca00c4040000000000006e3dca00c5040000000000009e75ca00c604000000000000029bca00c704000000000000aeadca00c8040000000000008adcca00c904000000000000eae5ca00ca04000000000000251ecb00cb04000000000000fa55cb00cc04000000000000778ccb00cd04000000000000eec3cb00ce0400000000000005fccb00cf040000000000004134cc00d004000000000000716ccc00d10400000000000096a4cc00d204000000000000d3dccc00d30400000000000086efcc00d4040000000000000215cd00d504000000000000ac27cd00d604000000000000264dcd00d7040000000000008656cd00d8040000000000006385cd00d9040000000000003bb4cd00da0400000000000099bdcd00db04000000000000d8f5cd00dc04000000000000172ece00dd040000000000005366ce00de04000000000000909ece00df04000000000000b7d6ce00e00400000000000068e9ce00e104000000000000cc0ecf00e2040000000000000547cf00e304000000000000427fcf00e40400000000000079b7cf00e504000000000000b8efcf00e604000000000000f427d000e7040000000000000b60d000e8040000000000004698d000e90400000000000083d0d000ea04000000000000c008d100eb04000000000000fa40d100ec040000000000003679d100ed0400000000000073b1d100ee0400000000000087cdd100ef04000000000000a6e9d100f004000000000000e521d200f1040000000000001e5ad200f2040000000000005692d200f30400000000000092cad200f40400000000000052ddd200f504000000000000ce02d300f604000000000000e13ad300f7040000000000003444d300f804000000000000dc56d300f904000000000000ef72d300fa040000000000004d7cd300fb0400000000000024abd300fc04000000000000a1d0d300fd040000000000005be3d300fe04000000000000901bd400ff04000000000000ce53d40000050000000000000a8cd40001050000000000003ac4d40002050000000000004ae0d400030500000000000069fcd4000405000000000000a134d50005050000000000006047d5000605000000000000de6cd50007050000000000001ba5d500080500000000000058ddd50009050000000000009415d6000a05000000000000d24dd6000b05000000000000f085d6000c050000000000001ebed6000d05000000000000fbecd6000e050000000000005bf6d6000f050000000000008b2ed7001005000000000000c566d7001105000000000000029fd700120500000000000036d7d70013050000000000006f0fd80014050000000000009f47d8001505000000000000c97fd8001605000000000000e4b7d80017050000000000001ff0d80018050000000000005928d90019050000000000009560d9001a050000000000005473d9001b05000000000000718fd9001c05000000000000d198d9001d0500000000000031a2d9001e050000000000000fd1d9001f05000000000000cfe3d90020050000000000004f09da0021050000000000008941da002205000000000000b979da002305000000000000edb1da00240500000000000047bbda00250500000000000054d7da00260500000000000007eada00270500000000000067f3da0028050000000000003a22db0029050000000000005e5adb002a050000000000007892db002b05000000000000b0cadb002c05000000000000e702dc002d05000000000000183bdc002e050000000000007644dc002f050000000000002773dc003005000000000000dd85dc0031050000000000004dabdc00320500000000000086e3dc003305000000000000bb1bdd003405000000000000944add003505000000000000f453dd003605000000000000ad66dd003705000000000000298cdd00380500000000000060c4dd0039050000000000009cfcdd003a05000000000000fa05de003b05000000000000d734de003c05000000000000b56cde003d0500000000000045a4de003e05000000000000a1d2de003f05000000000000e4dbde0040050000000000002fe5de0041050000000000003c05df004205000000000000d81adf004305000000000000d636df0044050000000000002840df004505000000000000d252df004605000000000000cf6edf004705000000000000a9a6df004805000000000000eeafdf00490500000000000047b9df004a05000000000000b1dedf004b050000000000000de8df004c050000000000006e0de0004d05000000000000cb16e0004e05000000000000d84ee0004f050000000000007886e0005005000000000000b3bee0005105000000000000c3f6e0005205000000000000fe2ee10053050000000000002c67e1005405000000000000e679e1005505000000000000a68ce1005605000000000000629fe10057050000000000009bd7e10058050000000000005806e2005905000000000000b10fe2005a05000000000000e647e2005b050000000000001880e2005c050000000000007689e2005d050000000000004cb8e2005e050000000000007ef0e2005f05000000000000b228e3006005000000000000e760e30061050000000000002499e300620500000000000060d1e30063050000000000009c09e4006405000000000000d441e4006505000000000000334be40066050000000000000a7ae4006705000000000000e0a8e400680500000000000040b2e40069050000000000006feae4006a05000000000000a022e5006b05000000000000de5ae5006c050000000000001a93e5006d0500000000000055cbe5006e050000000000000bdee5006f050000000000008203e6007005000000000000db0ce6007105000000000000b53be6007205000000000000f073e60073050000000000004e7de60074050000000000002cace60075050000000000008cb5e60076050000000000006be4e6007705000000000000a51ce7007805000000000000dc54e7007905000000000000168de7007a050000000000004ac5e7007b0500000000000057fde7007c050000000000009335e8007d05000000000000d06de8007e050000000000002e77e8007f0500000000000004a6e80080050000000000003fdee80081050000000000007b16e9008205000000000000b74ee9008305000000000000e886e900840500000000000015bfe900850500000000000046f7e9008605000000000000602fea0087050000000000000442ea0088050000000000005a4bea0089050000000000006a67ea008a05000000000000889fea008b05000000000000daa8ea008c0500000000000079d7ea008d050000000000009f0feb008e050000000000005c22eb008f050000000000001c35eb009005000000000000d847eb0091050000000000000e80eb0092050000000000003eb8eb00930500000000000076f0eb009405000000000000ad28ec009505000000000000e660ec0096050000000000002399ec00970500000000000060d1ec0098050000000000009e09ed0099050000000000005e1ced009a05000000000000da41ed009b050000000000009654ed009c050000000000005567ed009d05000000000000127aed009e050000000000004ab2ed009f0500000000000082eaed00a005000000000000e1f3ed00a105000000000000bd22ee00a205000000000000fa5aee00a3050000000000003493ee00a405000000000000929cee00a50500000000000070cbee00a605000000000000ac03ef00a705000000000000eb3bef00a805000000000000fb73ef00a905000000000000feabef00aa05000000000000bebeef00ab0500000000000038e4ef00ac050000000000004e1cf000ad050000000000008854f000ae05000000000000958cf000af05000000000000c5c4f000b005000000000000fffcf000b1050000000000002e35f100b205000000000000de47f100b305000000000000466df100b4050000000000005da5f100b50500000000000094ddf100b605000000000000c115f200b705000000000000fa4df200b8050000000000002d86f200b90500000000000067bef200ba05000000000000a0f6f200bb05000000000000b52ef300bc050000000000003254f300bd05000000000000ef66f300be05000000000000239ff300bf0500000000000032d7f300c005000000000000dde9f300c1050000000000001e0ff400c2050000000000004f47f400c3050000000000008d7ff400c4050000000000006bb7f400c5050000000000009beff400c605000000000000c927f500c705000000000000ff5ff500c8050000000000003198f500c90500000000000063d0f500ca050000000000008908f600cb05000000000000c240f600cc050000000000001d66f600cd05000000000000ca78f600ce05000000000000fbb0f600cf0500000000000031e9f600d0050000000000006021f700d1050000000000009e59f700d205000000000000d891f700d3050000000000000acaf700d4050000000000004402f800d5050000000000007b3af800d605000000000000fa5ff800d705000000000000b672f800d805000000000000ebaaf800d90500000000000048b4f800da0500000000000024e3f800db05000000000000601bf900dc050000000000009753f900dd05000000000000ac8bf900de05000000000000e3c3f900df050000000000001cfcf900e0050000000000005934fa00e105000000000000936cfa00e205000000000000a7a4fa00e305000000000000dfdcfa00e4050000000000001a15fb00e5050000000000004d4dfb00e605000000000000a656fb00e7050000000000007b85fb00e805000000000000a2bdfb00e905000000000000dff5fb00ea050000000000005f1bfc00eb050000000000001e2efc00ec050000000000005266fc00ed050000000000000c79fc00ee05000000000000cc8bfc00ef050000000000002995fc00f005000000000000899efc00f105000000000000c1d6fc00f2050000000000007ee9fc00f3050000000000003dfcfc00f405000000000000f00efd00f5050000000000004c18fd00f6050000000000001a47fd00f7050000000000004a7ffd00f80500000000000086b7fd00f905000000000000beeffd00fa050000000000001ef9fd00fb05000000000000ee27fe00fc050000000000000944fe00fd050000000000002560fe00fe05000000000000307cfe00ff050000000000002798fe000006000000000000e2aafe00010600000000000042b4fe0002060000000000005dd0fe0003060000000000009a08ff000406000000000000ca40ff000506000000000000244aff000606000000000000f278ff0007060000000000002db1ff00080600000000000063e9ff000906000000000000712100010a06000000000000313400010b060000000000004c5000010c06000000000000ac5900010d06000000000000b49100010e06000000000000e3c900010f06000000000000f60101011006000000000000103a010111060000000000003056010112060000000000004c720101130600000000000084aa01011406000000000000c2e201011506000000000000fe1a02011606000000000000235302011706000000000000618b020118060000000000009dc3020119060000000000005ad602011a06000000000000badf02011b06000000000000d7fb02011c06000000000000370503011d06000000000000f71703011e06000000000000133403011f06000000000000516c03012006000000000000107f030121060000000000008da403012206000000000000cadc03012306000000000000f81404012406000000000000324d0401250600000000000070850401260600000000000080bd040127060000000000008bf504012806000000000000842d05012906000000000000d73605012a060000000000008b6505012b06000000000000c19d05012c06000000000000f9d505012d060000000000002e0e06012e06000000000000664606012f060000000000009d7e06013006000000000000d7b60601310600000000000011ef06013206000000000000442707013306000000000000725f07013406000000000000af9707013506000000000000e7cf070136060000000000001f0808013706000000000000372408013806000000000000544008013906000000000000917808013a06000000000000c8b008013b0600000000000001e908013c060000000000000f2109013d06000000000000085909013e06000000000000a99009013f06000000000000b5c809014006000000000000c5000a014106000000000000d2380a01420600000000000006710a014306000000000000f5a80a0144060000000000002be10a01450600000000000012190b01460600000000000048510b01470600000000000086890b014806000000000000e5920b014906000000000000c4c10b014a0600000000000000fa0b014b060000000000001d320c014c060000000000000b6a0c014d06000000000000c5980c014e060000000000001aa20c014f06000000000000d7d00c0150060000000000002dda0c01510600000000000069120d015206000000000000a44a0d015306000000000000df820d0154060000000000001dbb0d01550600000000000055f30d015606000000000000852b0e01570600000000000083630e015806000000000000c39b0e0159060000000000001ba50e015a060000000000007bae0e015b06000000000000f7d30e015c06000000000000afe60e015d06000000000000290c0f015e0600000000000065440f015f06000000000000db690f016006000000000000977c0f016106000000000000d2b40f016206000000000000ecec0f016306000000000000062510016406000000000000ea5c10016506000000000000f49410016606000000000000ffcc100167060000000000005ed610016806000000000000d6fb10016906000000000000340511016a06000000000000613d11016b060000000000008b7511016c06000000000000919111016d06000000000000abad11016e06000000000000e0e511016f060000000000001d1e120170060000000000005556120171060000000000006c8e120172060000000000008aaa12017306000000000000a3c612017406000000000000bdfe12017506000000000000f83613017606000000000000126f130177060000000000006c9413017806000000000000c99d1301790600000000000029a713017a060000000000005bdf13017b06000000000000b8e813017c0600000000000016f213017d060000000000008d1714017e06000000000000ec2014017f06000000000000a43314018006000000000000bc4f14018106000000000000d58714018206000000000000919a1401830600000000000005c0140184060000000000005fc914018506000000000000f8f714018606000000000000a10a15018706000000000000fa1315018806000000000000561d15018906000000000000fa2f15018a06000000000000513915018b06000000000000aa4215018c06000000000000106815018d060000000000002f8415018e060000000000004ba015018f060000000000002cbc15019006000000000000ccce1501910600000000000019d81501920600000000000076e11501930600000000000033101601940600000000000066481601950600000000000099801601" + "babeEpochChanges": "0x04123ae85881861156a074a07110a5f59142b0b762ac89422d0a601116ee1e8c49721f320101d369001100000000337300110000000004efc8cb869ae5714a4f4f590372f3a9a76d748e084658d023958a3a549d616486cb283201013373001100000000937c00110000000004100d6ae96c2f95f1bcfbedfa0dd48a4b97a6ffee38103c65d55cc8e7d609125f1a32320101937c001100000000f38500110000000000000c100d6ae96c2f95f1bcfbedfa0dd48a4b97a6ffee38103c65d55cc8e7d609125f1a32320101d020000000000000937c0011000000006009000000000000a50432904ec260963195582a1d339f9fbd2d5d76f551160105c922423cad0d94482f010000000000000076441c448aefcf40a72128edc9b44a4f7ef9c267c503e98f5f9c72d5e9e92f000100000000000000526e055ade4ac425e9b5f93ce4394601335d3599a5b742603126d78ce99a4a540100000000000000d0e8ddfdeacd8e163b01ca4da1a4e856312b0de412b492247070f2721f7d803801000000000000008008c1b7061a2402634fc15d3849e2913863beb9f55024bc8cc7fa7d6e397817010000000000000024a51a9bdb67213626d1b52bd8dbc0e9b94ea88ea417aa17b56212d1cea3e1780100000000000000488d520146f681678e9d229f5e29354edf65e521246b28a4175c0502e060b9200100000000000000da663fef002e63d5de9676a1a930abe7b0d8088657d67a3f24076bce08c661490100000000000000a86e2248480b1f6ad903a965344ecef69838aae812ba3c39d3d9eaae22963f2a01000000000000004ceef9b2b8e3b5cd971f7557c3a3ad02c9c7a7bbc7365c2db5622fa74853790d0100000000000000f03555628bc649cebf75046ab9663faa1a5421df323f99c82782b7a3d162ce080100000000000000aca7a86b6fcf25daa7f0767bfe36b284f3100dc1ee4dcc971fbb3244bb57221c0100000000000000ba395fcb33327501109ed40712c7a372d25bf3339edfabe2a1964fb7b5d4d82401000000000000009cb389c209afbebda2b12113e0266b3d30f46e2a91aaf4451c193d640288357101000000000000004c9886e2e62ee92a6778d6a7928052732044b64fa61969cd8e37f3f7e3406f7201000000000000005237e4509f24bc9e8bf9bfd78b594219d86853ae16601f692f10c9b16b88f83b01000000000000006869737a2873891c0e4ef80a69e331f64ffc3663c9f3cdf86b440bb41827a252010000000000000098192016f83ef2fe74dba1ecc6526efc61b79f3177c00dc7c053160391858f70010000000000000078c35105ea4cd9d6ea0ba91b2c19e78f60931bef5918c1bd2e14259229e7c330010000000000000006d2846642c835b0fb1ff1ef908449376aa8e7c0f3352e55da9a1e97e9528b230100000000000000f8a681118ea0bb9dfde2813ce5144eeb5cee881c27883de1c0c759255ec326540100000000000000ac8b2b59f77eb5f3725961767878166a3817747018f18cf48c933e284320b90e010000000000000064838c162c251bc34c0f5a2696183fb518527d4681821dbc3ad53b004a8da7220100000000000000e67c524e443cda4cd27dfcce70488a5d23a93c8c46a5e83ef5a69eff3a02fa5a0100000000000000a42289d68c963358f3c450a850242bb53121e73e17f0e2ea2b93327446bea33c01000000000000006c50859d9dde209012eb3868c1a3a6e80ae8fa528ace9df68e92dbbae60368200100000000000000a8e470f2339e3ed0da456780dd9207e9c6a02459238ec3057a6ade01fd6cd60a01000000000000005c7f05d77f853f3eb8d4989fce36d0808b6d2b881e26f13c01e939b5d489a57d01000000000000002addf696d5a42b0a3dada689731e00c991db936909df869ac6600662abc35310010000000000000072ed7192625403acef94aa9189f9f179deb89e60478816ca96c79b742f757e750100000000000000b4ffe3c5959ff37c11c6f19d91926cb97aa4bf0f604919e1753bb55664d061680100000000000000bc4c9b5425f9a2aa09e3239332c702dedbfffa2b9f4cc1b978b307fc1fa1337c0100000000000000e07d5b19d98a6f8ef5c964b507fcd88f500a2a0a9afd5cffe9d4e3f74d83b27f010000000000000024532b17fc5fb786660c52aeb03150799165dd05e88ce359189189a4b771f51e0100000000000000b0033313d23127061d7f052a965bfeead348e6fe54f9915474ed52b843382e790100000000000000be18787b5177e58664cd893fdaa20a3ca1bc9f1acbbb15036b046ae49c17c15b010000000000000072a85a9dcc0af833b5a21a51ecbc4a9855c2bef8848e080ed70ac48cd1efdd5f0100000000000000c49cfd152ce3ac1fa142b3b6e720cb173eb7f43c82f021418253a070036f870c01000000000000006ec27dfa7ac9d35eb002c55d3e4d56b4df928dd5c44323ac228305741c9e09360100000000000000125becf853d8dc03bc97114ca0c751f6045bd7ef5580e58d32e3b47d7ac5b60301000000000000009237113cf97fee5fafbeb82de593f6125e9c498bd59f0369625f46b326c7d9170100000000000000722d7d57085c250af633f2d461874d59aebc8021eb1112ec8805db5ddea53e5a0100000000000000acfd0e585d89c54d57bdbcfcbef574217ce0997c82fab720b2d4e12ce61bd3610100000000000000562fd7529c92f9370dd6d7ce60d06ea4a826cbefa238231993ecfc9e7725ca240100000000000000a20797f3a8669a909adb22a3aee2844dba82d231cc33f5d9be0e2c533cb82a6701000000000000006a1274b6748bf822ba80c9a9416abd3cf591b7aee6adabb8359b7dbed8ebb3770100000000000000dc1274e0689c7a3eac31b41ce352719529e65c01f26999f74ce17c9905fce87401000000000000009c9bc1074cf465c0dd39f74bfdf16a67f81339ba2ad117a0c7030b4f0678771701000000000000005c0494412a296a92296160ac510697d97288753829a5e9d02eafb5f101e60f510100000000000000d8b38c77823eb1912bf8b743cca6c655ea1844ee468fbd78b394bf222bf8bc2001000000000000007251d6c376064f07f27d2532b05c091bd0978067b078c9f8d9984fd4216bdd4b0100000000000000487c6aad1cc26893dc7e498916a4c23d303f098c04b0a8b0c8242fbb7e73a16e010000000000000088f9a16886165d00612032cb1b36669ad62b7325536f499191e711134c71b6070100000000000000d6152835cb59040a40a5a4ee3a4d481937b7ee9d4a5649abeac6c535d9e177080100000000000000bc4b95226de4e10f91e0254cfe4541232252deaa347f567df124aba81bac4d3f01000000000000001eb833e31087d6baffee4e7f1d9a8e3b7013ea392c81f74313a354ba82e92f6b01000000000000009c8c7c8c91df0ed53864f69017d530b5ebda3ab4bde3c67027e70893213d533a010000000000000018ec239eec5457ba11a41518e7c5f98266d1bdbd67602641d04706f95dba5c560100000000000000ee0c4369d7e5dca53a68ef223db7c858f2a97f47394c7bc678a8edf719a49e130100000000000000c65c0a74887e9fe5cc56696fac7e7f5f1cd4a68f9661c8384b300bcdfbe67a1801000000000000003690e6ef639f685849ed93a6386d1fccf026c3fb64520940aa46af97f929e112010000000000000028a027ca1c0bdeebfc8fce85ac4bac48cc072523d9c4a86b4f2594f9142e7e3b010000000000000042e4c41a899dfb238649e5b17dc232c2699353635d60e6a3bdcd71f9b82cda300100000000000000ce4bfd8c5611b1637066ef9e579c85efadfc9513b882184e00b75871ef7f5a2d01000000000000005c0419f37036f2bf999f3958b49f63ab19d6dc19847a393dfd26cf303fc8d911010000000000000028558e46037c51ece4d39a8a4d34688662e629413c221d6226afe454240e702101000000000000000e76ad5033ec80da424503f80ce2bff64d8cad0e807d7c6516a369b46ed0355f01000000000000004a2073ae31b3df10d285eae6a5befe069183c4c6a6ffa1b2bf432011d0d475200100000000000000f8cb6b856e416fc9e9eec947c6f76eefed65cfe5f1e117a7271396729e5cc8490100000000000000bad91c9aefe173441dae1f273e55090706d412b0723d39bd6c3af053feb183200100000000000000b05ad6cde0dfc019d740c3f50b8aac16550ff4c197da19cf23b9293f0c5c39070100000000000000bc56c07cea21bcbbe058aedd2ced9fb4757caead55f96bda9bed1c9669c32b64010000000000000078e1a4fecbaac940c04e0b591a01ea66a574b5098852ded2810e3a534971111f01000000000000006ccf2ce8e149999a7bb996faa65194e60aeb7bcd1937c787f886fe979fb49e6601000000000000000e5650026c7bee4fa43a2c7fcdc3452daa10b0530863ec686b1d5ee4d707600501000000000000001e866bed92016cd2dcabe2d87fcaf8c1d7248255cafb9e10638fc3a2b476221b0100000000000000946071eab9c0fa1de9be2ad3c18041f1326faab41d84d9daf9f89c0daf9c0f00010000000000000082b820c5bee8ee77e35203dab387f3434b8502e5f1c35dfb2ad15b5c89d47b3c01000000000000001cf3446b4b5116a1784d92cdc5101e55a5fb91ed3d93efccd06b304a94362d0a0100000000000000c6d5dc6e1ec83491397390449d8cddaa88631e8855efe50697788a93de00fb5501000000000000003a4b0919068523aa04ab29f1b49bdc03a176a4b93f9b5a7e6e0cdcc8318691030100000000000000b288a9832e07bef83c5a8ca72c5a5583b321672ba7c6cdd44a971f855d32d95c01000000000000007480edf84ab569e559dccc99b87ecb9ae9db670b45a259b7f6e618b063e43113010000000000000020bedd48a5965e2fc0e221bd164deecdee849eb69cb8dc63a37df80b50a3093b010000000000000026c4a27200f70748b52f7277150d2db7e192b258d5001412e42c62c6e3ee1e51010000000000000040a2527ffa7d30d788eca127d435c8b5aa48972cda538b9a1627a57e85c8fa190100000000000000844b691aa95ff9a15b50f5e5f4f0e582db6621326cf18d7533f55bc27549497a01000000000000002254fb9324a6a9af450ce3a4f5ab25f55deb22161e520b2308b8aaff42e3aa740100000000000000a64dd29103d43e3e898a41f3630ff88b2420953febb931c70ff543673efa251b01000000000000005ca58c138fe321d15a82c8562ea9b1f3e5e608e0cba12e361c3a5c977153e77d01000000000000007c4f928b915062d9cb15e854a9476cddbf7126c9de2fd70f67beaf2ebf6dbc5c01000000000000002cf9dbc1e451ba3ead20d5d826533b9315699b3ba0784bd812e15ac9ad31f85d0100000000000000fced8f1dff4f6c6852b0d643e26ee532086e72be7aecee28d94d1d59b5f9986701000000000000004a905d0574cebf6e8d00d382b104fc8ee1c008f1b9ffa6fa5c3b67ff29719c0d01000000000000008c64cd873a53fec10c4624239ce35d31d4422e32a109605a162fcbf632427733010000000000000026d7422872cbf4d4918046f240a13a37219a272f4326b3f3bd1249829bbcd12b0100000000000000be6106f9217a1847af66de9510fdfb40514409556506ddc1c1a897818434125b010000000000000094af0a39f196a145c9406ace38b2b2b9b9ccec2bf2da2e95d0b0b8507b6f38560100000000000000bca6409d6d7e4f94ce797594db4363bb8bebd5387770aee0bb7663b36354fe2a0100000000000000b2518044cc31062ee50fa81cb6983f314291a0300865fa5cfe149829c5050d24010000000000000086c1922e4ed392d72e0fbc0ee28e7ec0a8ba2b33470330a606cec9a159a79626010000000000000036465f4be77147914969ea78f8e39610310679011dfbb6137dab12e18a687a5201000000000000004e8cc21504fda961cf1cfe78e651d033b10f8ab1a4a0c757bd4848a7f2827f0601000000000000004ad8fedb395dc0ed63e0edbdbd2d20555b61a46aa7cd751e4308335c277cbd6a01000000000000001285919470b092c61b3deaa9ad83226d41f36d58f0ca5f2e14d11d0724f6f00a01000000000000004c5e6997b6f186855b1f4c9f8ab2d6cea3da2e86445605ab89e5b5821e05bd3d0100000000000000944ad19383a9ae136f4f11c15687923b9b21319efab021336a3e8f2bd5b5ca20010000000000000068508b2ca3e01d7c8d79d99f1bb06a93058d14f1061d5fed4df13d4bc30aa557010000000000000074f02ed037d28c883df643034a596e4d2a97a23782ee8483c9ae3429ede7e7090100000000000000566948c62b699e382e5379592d1ad3e1823640d386936142cb9b82915ed02d1801000000000000009493e6de34e09c9679b6dca602e38d8c07abb77b3cc487ae3a80661968caa37f01000000000000006e7a78e9fdfe275f3e000382ba30452729970578258839db6c0fc568e20b3515010000000000000004734733edcd9cf662389208fb8ccb5f274a7db8187ccc53dc84250f8599d54d01000000000000004e1b48e67c1e62e46add39fa523b956946228ea0f08bd9d20ced798cfc9a0f5b0100000000000000ba78c26db96a9ce3ccc2980dfef7346042ade9769f95afaea559f784af167a5d0100000000000000faa6ae896c2d1040e495acbdcd8d90a02ccb17ba6e507efa2f7deacb3b28466e0100000000000000840290d318350bff32db3dcf6138b822cb2adf1dedf5bad8729471988955915c0100000000000000907ff7ac1e6c451d236c05c8d3f85640d9f9472d6a30115fc26135dae020e6380100000000000000c264fe63e84cd004530d2a3eabdde5098fe5c6b619af7fc6c9cfeba01e75ee5701000000000000001ec005e9ca3c15b2994641dd22efcbb20032f10894f76f57296d219dc149817b0100000000000000a07f151db53097c2da9dac4b2e0f194931a677a3ba99df0f3976e34409fd64760100000000000000d8faee17dcc461acb22ca1720b86385414ea8810ba31509fbd8da8733029eb190100000000000000b071e9d6b444a555e034ecdc4d04f2528cc36b347b231b33388564a40fd32b2c01000000000000004e047857f2ec0c7cf295a0673fcc750d4c268cf852711196c4f05bd9dc6414260100000000000000f820a8ed2c97f639fea2892d0a89ae98ffc4c0054f948f9a0108e4d99f89994c0100000000000000fcd5f4c4fe11f20ad99dc8345b7dc5600caba5d5b7d3f499c3253c095152d45401000000000000005eac8ac37c95fc11921839550a30ef071bbc80fb10ea1482cc67818e184d544a0100000000000000ea2b17bd1b69a7b442dd000db0f12f0bd4bf7a87a540427986bd32f3d3bd55580100000000000000142445d894c1236a38c6b1bcd9f5a7245897026424ce9544002008a7702c3b1d0100000000000000d6acabff06fe9a6ccf02f780f33902672fae0f038d8e19ee234ce28a0b6a01410100000000000000780e4353aca40b0f2b2403c862cb33032d49a820244bdc2853ce158d48c4f61001000000000000000e2daa2ef7884bdc7ca5f843f4f33f070c790e9a19d314bceefd04622920216301000000000000003e8394db87d36ddce56bfe0b86922dcc9a86d1ba061600e22d9694027b18c840010000000000000042bbfd10e95a6a1a57b34cbe01ab26605536797742d6d24394ebe95f87bd925c010000000000000040b77fd8fcabe868dc7f2a08bf14c67e4d433886c3cd3738d1b0b9c649bafc230100000000000000009463e59f6b021a1dbdbf65e56f568ac5736baf96470440d7123605a4bcd93f0100000000000000b633c47d126eceb0e36d788370ebaa179b0c7a3a21cf5f1421bfac40c895ed3c010000000000000092ee092cd2215c7c1628086c08be10a3cb969f6b276f600422f3526f303bd8780100000000000000020d34131c7a0ab6d104839ed8b9e0cdf075b80409a36fbe94d0cf83f7ea1f1e010000000000000022333a4409728530184f55b95171d2ddcec037603382fc7d6443b1f7b96c813601000000000000009acfd215519f40156749868afc8d56e015759f71cf183fe68382e8c02c75b2510100000000000000f44b3ec5c7b2188f208d60d159d1f5b0914a51a0632eacea6b88ec7b26d6673d01000000000000005ce79c3ad8a0e1806e863f0858c28a81408d19870a62ac0316b3e6345cbb5f76010000000000000006451fa7b2d831264e40a3e5b8452ede10164b7162a0e93bb9789a102c3010420100000000000000b672ee2f0f9183585ac4875368a0defda6d3c81927fbfc34bbacc7481058cb4b010000000000000022a66dd6397c2631df509db3482baac28b546729e6ce965472a9ba2e648ccc74010000000000000082bb250beb58df1c5346dc5dc26dbc38647a59fcd5c220c41466606cd855a2520100000000000000a065f45a353f24ba187248aacd9c64d5c3a92ddf92b4a5c33994f56a07cea840010000000000000078c91c4ee02089ea86612f66d6022a0cbd54afe470a162a72036611623924f6d01000000000000005432de09683010f3c1a6a977dd0dfdd8c5ce9fdb85225b9b7dc8e451e340cb240100000000000000464cb5dfedc6938caef6caaf5a58f4925a295f24a4f37337033dafa0cc733e660100000000000000f60b5e74957220ed7664befb71e9621436e40f2b6c1bdb1c90a6de9c3540a84001000000000000002a98fbaf7ec22832522e3f96821711ef684283911a524960efb14953255baa2b0100000000000000fe0af833307f4cff497d006ec63385b1c191efd6a4547fb05a355cd23686dd0401000000000000004ed5f55ec45727a57e2d8d6914f6d2acffb17b9515d347ba045067502a0b140201000000000000004cb98af1a70e917453f5dea682917e7b3077ea9d41dda7764433258a9d5db54b01000000000000002a0fda136ae348db338b87bed349145a94ce091227774b0542e533a83d1ba455010000000000000036c5a061b47768957b2b939b2e37e4cdf8825a4abf963c4f912f3ba4cd567f1e010000000000000076fa252aeca5b108fe76ce12e395ed8105d5c98e4abae38bfc7cb4fbd4d43d5501000000000000006a5607bc375d7ac0908e7643ea2e89dbe42f4f805c2fb6e2a22d0385c1232b310100000000000000f4ccdf83d734edcc568462572abaf32d22ac7faf8000195e02273d1c9665430801000000000000007eb2b0b6adbe5a5bad38f46db207f94c896d419661f4ab8f21e302a543df9b11010000000000000048ce0aba6f1554e139568b4d2358d6cca9bc291d3600787cc3e732291002ca220100000000000000fcf8846340018e82ccee12f3fa59b0ce9d69bcc1c062435658455674427d481201000000000000007a07e4b6b4daf45f4af2a98e7458034447ae0e67e9a22596848e58d4ba73b9530100000000000000a8731d355eefdfbdb7fb12cfa5a280c0b1e408aca264ef585d42bf97fcfba1160100000000000000c4c5fe47a568c2fe4876eafd5e0093dcc31b450eb87bfe58397dfae2a590d4650100000000000000fa5a4da949ce29dd0fc20fe56c40d63ffded8e2dd88844f725efda0814ed526401000000000000001cc40fa83cd0a4431aa63315b55c669370a4037756089f3402a9021e2d80666401000000000000003ce775a4a6215dbfbdc2b0a8a8b71936abd61642b5fd1a0c1d06ba548ad3025e0100000000000000bcb998778b7c2c182f396b311f92ae1289daeed9e62a3d8a8298b8dde7e1a52401000000000000004a1069d2203a75cd1078c39de35c16a6c4c12acbad34f1cba8efc065f80398610100000000000000eedea8652413b5a97c1eda13e1e050b777bd0a8ca31dafd63aeab576a68fb75e0100000000000000cebdabff22e607a75aa8db1bf875511a563200cce3f089972aca719649b6e1760100000000000000245a9f1c784e83aa6e1a22b7a560de42348ae1c3402060929d669f110da1b749010000000000000062c6c1f6f2478ee092c958842ac4351973bfeb49f55e33b8415ac0296a967b5f01000000000000005c25d331b2e023d12ee512689c3ea95edaadc300c9dc804e98806117f2edf57c01000000000000006205ea8c9da2e39792b9504100d0ce7eec4b9c732297afea3c2a885fe4f5832401000000000000009a64daca74d14dab93385e52ca70940732a8d45ae4b853ce156c3eeca06f0c5f0100000000000000c63e31fd558807e07f9c7dc51f8fa8110679bb1b1cf5585e56d0b6164179b9790100000000000000eed7e8e8a64dfa89c548a31c1b9fec7af5aef4dbbdb26997b2ddca72d4f8790c0100000000000000fa49d3457520dd98ca1489b78354d7d30a9bdf2181140072ebda1c3dc3371e450100000000000000fe5ba24461a8be22c5e553d2715748ece9c50a621d1794e36ad6c40dcd5d9c2301000000000000001e534cbbe982369a968006efa465cf2a16807a88a5c877d45f090192ea619c6001000000000000001a15acd9aec8d1dd06c7b6a46be298c3fc2ecd51be6724a63da4da286e306f72010000000000000078cf1debe3fc0da2ed2473d1e1835a478cc3e7008e0cf42043f287bc36804b710100000000000000f853a1534a3af56217661420536dd7bea0db6f6db843d8fead77c308ed7dcc7c010000000000000032e2c97e308c84afea4b37d7dd8f62e67763126c357c9e6e49b27f54c3702b73010000000000000050d2e3ed042861cfddfecfb31d47caa1927064cb0372213a3015b2acdf1dd1450100000000000000843778dfeddea10578fab2773f2827c62fe0efe374d9a01eb370bd8f1427e7630100000000000000140fbeeabfb02dede7214a17c2cf78279d076c80d962431f35d1105c87b8d95501000000000000007cb1f225b90c00f426c33ac4338eeb2dae6467b8a9da5c1556e6588c12ca977b0100000000000000b261a66b9bae17b65e7f6a88d65efb4519925d6c418c9e2ba17bfdbf684b776301000000000000009c5d3bb1387f53f0306bf7f24e81dafa5bf972048de867e2e517938c4ebdf7120100000000000000560c91919fc22867159ed77bee1b3e70d2e222a5fe6e830fceb13b58b0daa5290100000000000000e03e94cd4419d9cb8709ad2859e598912c78c01b15eed53ec0c336d8d6c491420100000000000000fe9d62e17387326c0e4b75697b2f0fbdff9506992e745d61b4c536c4dc10f57d01000000000000003227028def74f8ea7bede3e112e4ce09d8fb823790ed599f2259019945f2690a0100000000000000c686fbbc968476537924f90aaa4993eef8314685d150228c462f8ae4e5e1e57f0100000000000000464d95a7c8cce76af088d8f781e3073fc194333ab20956b4dd2c25d4a29ac56d01000000000000004ca838afa9f12e88436eacb5024f3f94c95a66c32e114f65f3136176e426c75501000000000000000c60356c02d5d99293952c478fd07b2cff982dbad863ebdadf25c9e69206f14901000000000000003a8b589c8222ede45b3d95c8d9176543ffa9a29cbfa0ba2af60fc412e732d75e0100000000000000a43b19f13ec057124df240aad303e969f7d02fafc02c263d7ec814b6729d1b2001000000000000000884c85734b971a88cd94d86d3c62fdf163256a0387e15e2d36d8f25523a77480100000000000000f2cd13ba1efd67dfd5f8c9150b1a74d1ed1bad1a72c36fed96163b062e463d0101000000000000002001d47fbff7291a50650047b27cc47f1d22a0bdfbbfb0b8b7a6e8bbf350bf620100000000000000ecf0297bddebd3d766ea7def2bac79ad6eb650fabdcd029b99cb1649ff7dc8150100000000000000121f9d8ba85d89e3c6f9a0fedcdfc9b05cc40a6d3324eff6e8a58aec5f52590501000000000000008a16fb5a6718a714296cb8fa2ca708f677f78c7f883ba3c5ad1bbb9e23f37705010000000000000038c9a0897d9caff03a308d2120bbe892974ae8cb05f1cfe8b97259f0ac2e852901000000000000005c3615a5e2072a618f0e434f7c572f4e4b1a89348dfe0f7939c99de095d54a55010000000000000006adb1e6e78084fd5e5df37fafc180d1ed84377ca41de3b5ca43b764f0cb19090100000000000000a496ba57e511f86ff4cf264f9fd7bd3595b37ae55ad671c7790574c87d40415201000000000000004e466f6a4930d856a1f53f21c1a44451ead20c8c71319f6a685f0e254d24c32101000000000000007617b69110c43683b5000788259be855890c474be8fed65d7b1dae1d534ef85c01000000000000002037d70f4c244c81422409ad01d28d72a30d26e595fbcc791daeb57f78a856700100000000000000c28c2dbe1a9bc290af0d795ef11c1d1b694b91ae685e891e599596aaafbab73b01000000000000003cfa50228b841c7d2fab03db7e4bf282cf14e127ab9b31c23fca1a79be54e823010000000000000088fa8bb07ebce99964718c65d0d6f1b091ef2f4d4cdf7b94a22c42c007ecd706010000000000000052ac28ba2601723d23a086b5d775f19319f110ba5e9292f2af461e71903b5b50010000000000000002a4b2935b657f9ec563642ab0f34e223ef594cc70c856b9bd70fbe0837215600100000000000000c280e82e46ecabc4d68169e292c59cef96432f25fe849b8a147db5ca0ce7e17b010000000000000092e5bb9d0906f768dbdde0696b78e493cc78dc1f68789575b24f0b962799b51e01000000000000009295a1f023157921d346b73484b120d46048382107015aa9ed998f1fae95970e010000000000000010e37a12fc6ed768d1a2d33c8abc6db675381dfe69c832abb77d9ba2341b3c4a0100000000000000d8de542a748c14224ee7faa16157727c852ce502a45b408de0975c88a39c690f01000000000000008013bf5a25c703e64dc4ae7e1248c0f2c7abad9e43672d82611d109740199856010000000000000004a3d449da9c2c02c963df1433b66d0b6599e7a667e3818ecebe84357081703b0100000000000000188d1a45dca0c370ba6b7952ba682570fd4f61501c4dea9826a981374a3f815f01000000000000004c1dbdaaf0fb061228d2245561476088bc608788cb3e9c5266f5a8e54bdd1e670100000000000000d23c53a531e356646133db73065cd83999693a5bdfc05931238434f5b031522f0100000000000000585ecf59c1396544c1f1dfa5693ded0c96daaf05cc70d55fc8c6fab487b2022e01000000000000006a40a8b74a142958efb2d75cd363635eccbfb70cddb24f0626d0ec927d98233801000000000000005e127fe875a9c6396693b778833a710b0426a4fc0af4af490e7ff0a6f3e8b61f0100000000000000aa74176b5870c97b754a157ec0d8032148c2ae717a905e0e5e626048b6f53343010000000000000032fdd22fdc3662f97008fbb6f52d0fbe7b62c24956849fe04f9b023007a8932301000000000000003e07b075219fc7ace8dc3bf3a06f5dc12aa9c7e45fe30244d2284bcfb1e6ee190100000000000000a4a0bc81aaad1ebce3fdf896a8d6d081ab93efc2de9d5c56f2632edfeaa7ad0f0100000000000000465242c8915eea46e25549f2ab97cfe78784f25083e51773e07d5a0cafc2de32010000000000000022376791bf19fefac611324d27bc6acb4b7f7eec713c186adbeda5a1e1b88f340100000000000000bc8f93a45201992fa9d04355095d03adeb5ff1aea206425eae4f902ffd47fe200100000000000000288c08430a7e427400dd5b61926b74a82abcbbc91ac739190cc791a581f6836a0100000000000000eec1df2a382f2f9d0e7dbd91ebffe7be19dc9e01159cf3b82229a3ad2a33685b01000000000000001810712fbe92f2394892a99e3a825490baf1efaf7a3dd1c9bd0e58da0d6711330100000000000000fecb15325d9baf603112dd397d2e83d3694414f529d75c4b639c7e775b979b14010000000000000028052d0b965ed862b7861aa7f3f91fe52ff8b0f795ff476c7e0a7aa42e79933001000000000000001c860d36fc84a54978d99ad400a719dbbef493f8631856e6def3e9ec998cde3e01000000000000002ef781a1d268b8afb0a8331ece83f3fff6877baa2d06ed9a23d484d5d70a50030100000000000000163687f38841bbbd2b93787f7f65cc74a2ab94478888abce52207e1b81f46c4d0100000000000000e0b770b1bcf7deb030ee75d5bad6ec1ebfe06ded0fc406a8520a9650fe83233001000000000000003622bfbaf9350b5906bdf9ce362e06726224ed141c5d29e8e175e0beedbd3d3d01000000000000000469db5710f30dc9ed7411417170efd62ce8bbe36ccab6df758a94aa7b7f720b01000000000000007a661c99fd40492b4893407b03822464e7d4853e9ba47fc9e9960c3800d6725f01000000000000007836067da2bc290dc3c428c548a4dbebfdeddbc10a2db206abb6ac11741dc63e01000000000000006ed90090a744a0d55adf8f8af5af4d5198bb67220ce33fe71121d7c51f27a4130100000000000000bc20aa968087f7c0d4bb35dd9c502db39fd7f4596a412880fdcd5ddba22fcf460100000000000000386f18b82ffe824f7ee1fda0f511d5112dee1c677bee0069f3d8e3d8be1a321d0100000000000000d636bcd260e36a2bea4bb1667bbc86285967381ad5822f8cd98ff7d5c88c7430010000000000000072f2ff3d21f4126e217f10f9d9bd18069c12eaab6922d073dd5241ac718e91200100000000000000f25d3265659fca9d24ca877823644f1223714b0167d0a676cf3c9c447173d12f01000000000000009ab493c4c8007f49a3e7d1e9f1aef39b39cd66a496e90486e62664725c6ba06f010000000000000094cc8c46f9670417f5ad9492d17189c4e03e96122782e92824f05e176d6843790100000000000000369a7419ed7884aecd3cda7ec3576942cacde7a9b8f2fe9a1115be827e2ba83b010000000000000096ef8b525c38b9a74a3014bd99979230dab2f20221e8c7d1db50c7a61a02e97e0100000000000000769d9f8b45bcbed8fd84b86d2203ee20d199212007387b10216f8fd9441dfa28010000000000000092c996c1fedd09190bb0fa8cc79e4075ad79eca3d6895d2a99d20e6f89e4182b0100000000000000f2065428f52da2f7a881f9b94bfd38719bb6e5ff88a6800bbb3aebb1a9ad2102010000000000000092006149452119964a75232851f01361608dc0a52031f240e93e70e98a3ff21901000000000000009ad36892ec05281de9c63c7cefb3f31e448957a9572e650d9f3af1f21b2f515e0100000000000000bae8e68bc8f1b66fe3229ee72d77137b394c6b7dfbf55e424f9d2c82d5c99600010000000000000098f7988d5a74a0e52f58dd3d232ac3e93ff757480db9d4c12761b04fef032c460100000000000000248cddedee20dbb65f20a1715c2490c09241f6800b72d0c4029a1c234f2ce74b0100000000000000a8c366514ae829385912b04b0192e934a20045b36cf1911bccc4c064d6d3c46101000000000000001cf3abc7c9d8027488ea2f5f2463fd091b194fbeeebf560875e8648fbc67dc24010000000000000060b521110672f6f871978fd3ac4a835b5e30c3fa727c04c70dbc543fcad38b0e01000000000000002ab0b5cc358184be4fa29e7a3dc24806a72e55baad40ec9a117324a884242c280100000000000000e05c7c7d82498be85294ee984e1f0caf23c53fa9a64cc7e6c5053304c4bb785101000000000000005afe620da258a48f00c3afbb8a98161e977f076c7e7f8392975a4f0db4b57d610100000000000000a61667ea6442054b56111477f57ecf39b6e90480bfadf54c3e6cb5ac3a3e275801000000000000001ae9aab4a890c558ac8ab90ccbbf193b3841083670ebed278b2161fa2ec7b3040100000000000000c2d156c96e21691a06cecd4a396978f94cfb3a1760d41180efe382b7ce8e993f01000000000000004616ac86f0d45899eed3f1246dc5744858a694a92b0abd9f10e52dfc9c2867460100000000000000a4b31af719e5d9c3b69326ef920736e8b620b329eade475ae23a33fbd445df7201000000000000009281394b5d35827c826e1d7444f346c247b9a004aa0292a9ca2b16e0fb55687701000000000000007e88cd54f47c1f4ddd9d3a198fc689d24a523fe186d526b14e476f14ced7db3c0100000000000000229fcd7685d064b9c265aaa3a771582b6600cef963f57af160b34a81c9f84a690100000000000000b225550bd99c7b1ebfce319d76f52fe96c661d6106a4b4c37fd4eede1ba4654f010000000000000024ad842dcdc5f4d84262c6aee5116e88116fb191dbbd1331453202d3583b1f4401000000000000005474f03ced668a1459e8ed416f510a16f551ec1415c42b292670545a3967d311010000000000000096e0b71982f3e7ba6ab06d28dfbf803caf4ac51b7633bee848f4f3fadc0dac480100000000000000386bcf52f4c464e6a18169f776d69e90880301f01fcc8cc0ba451f1d7e6c3b7c010000000000000078fd4f7b7da839a4112a456fb1bf7a1f935087b4d456153f04fec37ee0f7a90e0100000000000000b41546275611fa185c88c7016e909222b3a757b476316766a72729d074d8e92b0100000000000000a8d082a4289fe5ccaada604e70c4b1473d6fae4374663672e61474852c1ebf2a0100000000000000309ab613bea03c4431f7602c937f5a4d17e2102db6fc7f77e32f7a245041b90c0100000000000000e0ee8ff76b364ad2ccc3e82e69cd700c0895607a449c5af3745bb3018a1843220100000000000000756735333d79a12166b3932837c94c9de2b85bc1a5230264408416140c16ca700100000000000000040000000000000002123ae85881861156a074a07110a5f59142b0b762ac89422d0a601116ee1e8c49721f320101ce20000000000000d3690011000000006009000000000000a50432904ec260963195582a1d339f9fbd2d5d76f551160105c922423cad0d94482f010000000000000076441c448aefcf40a72128edc9b44a4f7ef9c267c503e98f5f9c72d5e9e92f000100000000000000526e055ade4ac425e9b5f93ce4394601335d3599a5b742603126d78ce99a4a540100000000000000d0e8ddfdeacd8e163b01ca4da1a4e856312b0de412b492247070f2721f7d803801000000000000008008c1b7061a2402634fc15d3849e2913863beb9f55024bc8cc7fa7d6e397817010000000000000024a51a9bdb67213626d1b52bd8dbc0e9b94ea88ea417aa17b56212d1cea3e1780100000000000000488d520146f681678e9d229f5e29354edf65e521246b28a4175c0502e060b9200100000000000000da663fef002e63d5de9676a1a930abe7b0d8088657d67a3f24076bce08c661490100000000000000a86e2248480b1f6ad903a965344ecef69838aae812ba3c39d3d9eaae22963f2a0100000000000000f03555628bc649cebf75046ab9663faa1a5421df323f99c82782b7a3d162ce080100000000000000aca7a86b6fcf25daa7f0767bfe36b284f3100dc1ee4dcc971fbb3244bb57221c0100000000000000ba395fcb33327501109ed40712c7a372d25bf3339edfabe2a1964fb7b5d4d82401000000000000009cb389c209afbebda2b12113e0266b3d30f46e2a91aaf4451c193d640288357101000000000000004c9886e2e62ee92a6778d6a7928052732044b64fa61969cd8e37f3f7e3406f72010000000000000026db7c5786fddc15f7e96905024905d877537451ed444cb97d3786361a59f64b01000000000000005237e4509f24bc9e8bf9bfd78b594219d86853ae16601f692f10c9b16b88f83b01000000000000006869737a2873891c0e4ef80a69e331f64ffc3663c9f3cdf86b440bb41827a252010000000000000098192016f83ef2fe74dba1ecc6526efc61b79f3177c00dc7c053160391858f70010000000000000078c35105ea4cd9d6ea0ba91b2c19e78f60931bef5918c1bd2e14259229e7c330010000000000000006d2846642c835b0fb1ff1ef908449376aa8e7c0f3352e55da9a1e97e9528b230100000000000000f8a681118ea0bb9dfde2813ce5144eeb5cee881c27883de1c0c759255ec326540100000000000000ac8b2b59f77eb5f3725961767878166a3817747018f18cf48c933e284320b90e0100000000000000e67c524e443cda4cd27dfcce70488a5d23a93c8c46a5e83ef5a69eff3a02fa5a0100000000000000a42289d68c963358f3c450a850242bb53121e73e17f0e2ea2b93327446bea33c01000000000000006c50859d9dde209012eb3868c1a3a6e80ae8fa528ace9df68e92dbbae60368200100000000000000a8e470f2339e3ed0da456780dd9207e9c6a02459238ec3057a6ade01fd6cd60a01000000000000005c7f05d77f853f3eb8d4989fce36d0808b6d2b881e26f13c01e939b5d489a57d01000000000000002addf696d5a42b0a3dada689731e00c991db936909df869ac6600662abc35310010000000000000072ed7192625403acef94aa9189f9f179deb89e60478816ca96c79b742f757e750100000000000000b4ffe3c5959ff37c11c6f19d91926cb97aa4bf0f604919e1753bb55664d061680100000000000000bc4c9b5425f9a2aa09e3239332c702dedbfffa2b9f4cc1b978b307fc1fa1337c0100000000000000e07d5b19d98a6f8ef5c964b507fcd88f500a2a0a9afd5cffe9d4e3f74d83b27f010000000000000024532b17fc5fb786660c52aeb03150799165dd05e88ce359189189a4b771f51e0100000000000000b0033313d23127061d7f052a965bfeead348e6fe54f9915474ed52b843382e790100000000000000be18787b5177e58664cd893fdaa20a3ca1bc9f1acbbb15036b046ae49c17c15b010000000000000072a85a9dcc0af833b5a21a51ecbc4a9855c2bef8848e080ed70ac48cd1efdd5f0100000000000000c49cfd152ce3ac1fa142b3b6e720cb173eb7f43c82f021418253a070036f870c01000000000000006ec27dfa7ac9d35eb002c55d3e4d56b4df928dd5c44323ac228305741c9e0936010000000000000078f674626909d11d18b6b9d6c21ec4023a2073965c68b2172197f5a12e3e17600100000000000000125becf853d8dc03bc97114ca0c751f6045bd7ef5580e58d32e3b47d7ac5b60301000000000000009237113cf97fee5fafbeb82de593f6125e9c498bd59f0369625f46b326c7d9170100000000000000722d7d57085c250af633f2d461874d59aebc8021eb1112ec8805db5ddea53e5a0100000000000000562fd7529c92f9370dd6d7ce60d06ea4a826cbefa238231993ecfc9e7725ca240100000000000000a20797f3a8669a909adb22a3aee2844dba82d231cc33f5d9be0e2c533cb82a6701000000000000006a1274b6748bf822ba80c9a9416abd3cf591b7aee6adabb8359b7dbed8ebb3770100000000000000dc1274e0689c7a3eac31b41ce352719529e65c01f26999f74ce17c9905fce87401000000000000009c9bc1074cf465c0dd39f74bfdf16a67f81339ba2ad117a0c7030b4f0678771701000000000000005c0494412a296a92296160ac510697d97288753829a5e9d02eafb5f101e60f510100000000000000d8b38c77823eb1912bf8b743cca6c655ea1844ee468fbd78b394bf222bf8bc2001000000000000007251d6c376064f07f27d2532b05c091bd0978067b078c9f8d9984fd4216bdd4b0100000000000000487c6aad1cc26893dc7e498916a4c23d303f098c04b0a8b0c8242fbb7e73a16e010000000000000088f9a16886165d00612032cb1b36669ad62b7325536f499191e711134c71b6070100000000000000bc4b95226de4e10f91e0254cfe4541232252deaa347f567df124aba81bac4d3f01000000000000001eb833e31087d6baffee4e7f1d9a8e3b7013ea392c81f74313a354ba82e92f6b01000000000000009c8c7c8c91df0ed53864f69017d530b5ebda3ab4bde3c67027e70893213d533a010000000000000018ec239eec5457ba11a41518e7c5f98266d1bdbd67602641d04706f95dba5c560100000000000000ee0c4369d7e5dca53a68ef223db7c858f2a97f47394c7bc678a8edf719a49e130100000000000000c65c0a74887e9fe5cc56696fac7e7f5f1cd4a68f9661c8384b300bcdfbe67a1801000000000000003690e6ef639f685849ed93a6386d1fccf026c3fb64520940aa46af97f929e112010000000000000028a027ca1c0bdeebfc8fce85ac4bac48cc072523d9c4a86b4f2594f9142e7e3b010000000000000042e4c41a899dfb238649e5b17dc232c2699353635d60e6a3bdcd71f9b82cda300100000000000000ce4bfd8c5611b1637066ef9e579c85efadfc9513b882184e00b75871ef7f5a2d01000000000000005c0419f37036f2bf999f3958b49f63ab19d6dc19847a393dfd26cf303fc8d911010000000000000028558e46037c51ece4d39a8a4d34688662e629413c221d6226afe454240e702101000000000000004a2073ae31b3df10d285eae6a5befe069183c4c6a6ffa1b2bf432011d0d475200100000000000000f8cb6b856e416fc9e9eec947c6f76eefed65cfe5f1e117a7271396729e5cc8490100000000000000bad91c9aefe173441dae1f273e55090706d412b0723d39bd6c3af053feb183200100000000000000b05ad6cde0dfc019d740c3f50b8aac16550ff4c197da19cf23b9293f0c5c390701000000000000006e3d07ca7f680aee933830ff37197bba65eea7d3645ac0190cab4715d024bf780100000000000000bc56c07cea21bcbbe058aedd2ced9fb4757caead55f96bda9bed1c9669c32b64010000000000000078e1a4fecbaac940c04e0b591a01ea66a574b5098852ded2810e3a534971111f01000000000000006ccf2ce8e149999a7bb996faa65194e60aeb7bcd1937c787f886fe979fb49e6601000000000000000e5650026c7bee4fa43a2c7fcdc3452daa10b0530863ec686b1d5ee4d70760050100000000000000dc19020c36e3442a05940551f1d6b4b7dffb3343dea0418a8203fc22ac129e6101000000000000001e866bed92016cd2dcabe2d87fcaf8c1d7248255cafb9e10638fc3a2b476221b0100000000000000946071eab9c0fa1de9be2ad3c18041f1326faab41d84d9daf9f89c0daf9c0f00010000000000000082b820c5bee8ee77e35203dab387f3434b8502e5f1c35dfb2ad15b5c89d47b3c01000000000000001cf3446b4b5116a1784d92cdc5101e55a5fb91ed3d93efccd06b304a94362d0a0100000000000000c6d5dc6e1ec83491397390449d8cddaa88631e8855efe50697788a93de00fb5501000000000000003a4b0919068523aa04ab29f1b49bdc03a176a4b93f9b5a7e6e0cdcc8318691030100000000000000b288a9832e07bef83c5a8ca72c5a5583b321672ba7c6cdd44a971f855d32d95c01000000000000007480edf84ab569e559dccc99b87ecb9ae9db670b45a259b7f6e618b063e43113010000000000000020bedd48a5965e2fc0e221bd164deecdee849eb69cb8dc63a37df80b50a3093b010000000000000026c4a27200f70748b52f7277150d2db7e192b258d5001412e42c62c6e3ee1e51010000000000000040a2527ffa7d30d788eca127d435c8b5aa48972cda538b9a1627a57e85c8fa190100000000000000844b691aa95ff9a15b50f5e5f4f0e582db6621326cf18d7533f55bc27549497a01000000000000002254fb9324a6a9af450ce3a4f5ab25f55deb22161e520b2308b8aaff42e3aa740100000000000000a64dd29103d43e3e898a41f3630ff88b2420953febb931c70ff543673efa251b01000000000000007c4f928b915062d9cb15e854a9476cddbf7126c9de2fd70f67beaf2ebf6dbc5c01000000000000002cf9dbc1e451ba3ead20d5d826533b9315699b3ba0784bd812e15ac9ad31f85d0100000000000000fced8f1dff4f6c6852b0d643e26ee532086e72be7aecee28d94d1d59b5f9986701000000000000004a905d0574cebf6e8d00d382b104fc8ee1c008f1b9ffa6fa5c3b67ff29719c0d01000000000000008c64cd873a53fec10c4624239ce35d31d4422e32a109605a162fcbf632427733010000000000000026d7422872cbf4d4918046f240a13a37219a272f4326b3f3bd1249829bbcd12b0100000000000000be6106f9217a1847af66de9510fdfb40514409556506ddc1c1a897818434125b0100000000000000da98e4363908fa4d7980fe5574ceeac74fae49bf77b3a191654c7731214a565e010000000000000094af0a39f196a145c9406ace38b2b2b9b9ccec2bf2da2e95d0b0b8507b6f38560100000000000000bca6409d6d7e4f94ce797594db4363bb8bebd5387770aee0bb7663b36354fe2a0100000000000000b2518044cc31062ee50fa81cb6983f314291a0300865fa5cfe149829c5050d24010000000000000086c1922e4ed392d72e0fbc0ee28e7ec0a8ba2b33470330a606cec9a159a79626010000000000000036465f4be77147914969ea78f8e39610310679011dfbb6137dab12e18a687a5201000000000000004e8cc21504fda961cf1cfe78e651d033b10f8ab1a4a0c757bd4848a7f2827f0601000000000000004ad8fedb395dc0ed63e0edbdbd2d20555b61a46aa7cd751e4308335c277cbd6a01000000000000001285919470b092c61b3deaa9ad83226d41f36d58f0ca5f2e14d11d0724f6f00a01000000000000004c5e6997b6f186855b1f4c9f8ab2d6cea3da2e86445605ab89e5b5821e05bd3d0100000000000000944ad19383a9ae136f4f11c15687923b9b21319efab021336a3e8f2bd5b5ca20010000000000000068508b2ca3e01d7c8d79d99f1bb06a93058d14f1061d5fed4df13d4bc30aa557010000000000000074f02ed037d28c883df643034a596e4d2a97a23782ee8483c9ae3429ede7e7090100000000000000566948c62b699e382e5379592d1ad3e1823640d386936142cb9b82915ed02d1801000000000000009493e6de34e09c9679b6dca602e38d8c07abb77b3cc487ae3a80661968caa37f01000000000000006e7a78e9fdfe275f3e000382ba30452729970578258839db6c0fc568e20b3515010000000000000004734733edcd9cf662389208fb8ccb5f274a7db8187ccc53dc84250f8599d54d01000000000000004e1b48e67c1e62e46add39fa523b956946228ea0f08bd9d20ced798cfc9a0f5b0100000000000000faa6ae896c2d1040e495acbdcd8d90a02ccb17ba6e507efa2f7deacb3b28466e0100000000000000840290d318350bff32db3dcf6138b822cb2adf1dedf5bad8729471988955915c0100000000000000907ff7ac1e6c451d236c05c8d3f85640d9f9472d6a30115fc26135dae020e6380100000000000000c264fe63e84cd004530d2a3eabdde5098fe5c6b619af7fc6c9cfeba01e75ee5701000000000000001ec005e9ca3c15b2994641dd22efcbb20032f10894f76f57296d219dc149817b0100000000000000a07f151db53097c2da9dac4b2e0f194931a677a3ba99df0f3976e34409fd64760100000000000000d8faee17dcc461acb22ca1720b86385414ea8810ba31509fbd8da8733029eb190100000000000000b071e9d6b444a555e034ecdc4d04f2528cc36b347b231b33388564a40fd32b2c01000000000000004e047857f2ec0c7cf295a0673fcc750d4c268cf852711196c4f05bd9dc6414260100000000000000f820a8ed2c97f639fea2892d0a89ae98ffc4c0054f948f9a0108e4d99f89994c0100000000000000fcd5f4c4fe11f20ad99dc8345b7dc5600caba5d5b7d3f499c3253c095152d45401000000000000005eac8ac37c95fc11921839550a30ef071bbc80fb10ea1482cc67818e184d544a0100000000000000ea2b17bd1b69a7b442dd000db0f12f0bd4bf7a87a540427986bd32f3d3bd55580100000000000000142445d894c1236a38c6b1bcd9f5a7245897026424ce9544002008a7702c3b1d0100000000000000d6acabff06fe9a6ccf02f780f33902672fae0f038d8e19ee234ce28a0b6a01410100000000000000780e4353aca40b0f2b2403c862cb33032d49a820244bdc2853ce158d48c4f61001000000000000000e2daa2ef7884bdc7ca5f843f4f33f070c790e9a19d314bceefd04622920216301000000000000003e8394db87d36ddce56bfe0b86922dcc9a86d1ba061600e22d9694027b18c840010000000000000042bbfd10e95a6a1a57b34cbe01ab26605536797742d6d24394ebe95f87bd925c010000000000000040b77fd8fcabe868dc7f2a08bf14c67e4d433886c3cd3738d1b0b9c649bafc230100000000000000009463e59f6b021a1dbdbf65e56f568ac5736baf96470440d7123605a4bcd93f0100000000000000b633c47d126eceb0e36d788370ebaa179b0c7a3a21cf5f1421bfac40c895ed3c010000000000000092ee092cd2215c7c1628086c08be10a3cb969f6b276f600422f3526f303bd8780100000000000000020d34131c7a0ab6d104839ed8b9e0cdf075b80409a36fbe94d0cf83f7ea1f1e010000000000000022333a4409728530184f55b95171d2ddcec037603382fc7d6443b1f7b96c813601000000000000009acfd215519f40156749868afc8d56e015759f71cf183fe68382e8c02c75b2510100000000000000f44b3ec5c7b2188f208d60d159d1f5b0914a51a0632eacea6b88ec7b26d6673d01000000000000005ce79c3ad8a0e1806e863f0858c28a81408d19870a62ac0316b3e6345cbb5f76010000000000000006451fa7b2d831264e40a3e5b8452ede10164b7162a0e93bb9789a102c3010420100000000000000b672ee2f0f9183585ac4875368a0defda6d3c81927fbfc34bbacc7481058cb4b010000000000000022a66dd6397c2631df509db3482baac28b546729e6ce965472a9ba2e648ccc74010000000000000082bb250beb58df1c5346dc5dc26dbc38647a59fcd5c220c41466606cd855a2520100000000000000a065f45a353f24ba187248aacd9c64d5c3a92ddf92b4a5c33994f56a07cea840010000000000000078c91c4ee02089ea86612f66d6022a0cbd54afe470a162a72036611623924f6d01000000000000005432de09683010f3c1a6a977dd0dfdd8c5ce9fdb85225b9b7dc8e451e340cb240100000000000000464cb5dfedc6938caef6caaf5a58f4925a295f24a4f37337033dafa0cc733e6601000000000000002a98fbaf7ec22832522e3f96821711ef684283911a524960efb14953255baa2b0100000000000000fe0af833307f4cff497d006ec63385b1c191efd6a4547fb05a355cd23686dd0401000000000000004ed5f55ec45727a57e2d8d6914f6d2acffb17b9515d347ba045067502a0b140201000000000000004cb98af1a70e917453f5dea682917e7b3077ea9d41dda7764433258a9d5db54b01000000000000002a0fda136ae348db338b87bed349145a94ce091227774b0542e533a83d1ba455010000000000000036c5a061b47768957b2b939b2e37e4cdf8825a4abf963c4f912f3ba4cd567f1e010000000000000076fa252aeca5b108fe76ce12e395ed8105d5c98e4abae38bfc7cb4fbd4d43d5501000000000000006a5607bc375d7ac0908e7643ea2e89dbe42f4f805c2fb6e2a22d0385c1232b310100000000000000f4ccdf83d734edcc568462572abaf32d22ac7faf8000195e02273d1c9665430801000000000000007eb2b0b6adbe5a5bad38f46db207f94c896d419661f4ab8f21e302a543df9b11010000000000000048ce0aba6f1554e139568b4d2358d6cca9bc291d3600787cc3e732291002ca2201000000000000007a07e4b6b4daf45f4af2a98e7458034447ae0e67e9a22596848e58d4ba73b9530100000000000000a8731d355eefdfbdb7fb12cfa5a280c0b1e408aca264ef585d42bf97fcfba1160100000000000000c4c5fe47a568c2fe4876eafd5e0093dcc31b450eb87bfe58397dfae2a590d4650100000000000000fa5a4da949ce29dd0fc20fe56c40d63ffded8e2dd88844f725efda0814ed526401000000000000001cc40fa83cd0a4431aa63315b55c669370a4037756089f3402a9021e2d80666401000000000000003ce775a4a6215dbfbdc2b0a8a8b71936abd61642b5fd1a0c1d06ba548ad3025e0100000000000000bcb998778b7c2c182f396b311f92ae1289daeed9e62a3d8a8298b8dde7e1a52401000000000000004a1069d2203a75cd1078c39de35c16a6c4c12acbad34f1cba8efc065f80398610100000000000000eedea8652413b5a97c1eda13e1e050b777bd0a8ca31dafd63aeab576a68fb75e0100000000000000cebdabff22e607a75aa8db1bf875511a563200cce3f089972aca719649b6e1760100000000000000245a9f1c784e83aa6e1a22b7a560de42348ae1c3402060929d669f110da1b7490100000000000000feebe707a9a5eb136d04e5b3b2124627fa76129c1e33cba1d1323047f76b3f22010000000000000062c6c1f6f2478ee092c958842ac4351973bfeb49f55e33b8415ac0296a967b5f01000000000000005c25d331b2e023d12ee512689c3ea95edaadc300c9dc804e98806117f2edf57c01000000000000006205ea8c9da2e39792b9504100d0ce7eec4b9c732297afea3c2a885fe4f5832401000000000000009a64daca74d14dab93385e52ca70940732a8d45ae4b853ce156c3eeca06f0c5f0100000000000000c63e31fd558807e07f9c7dc51f8fa8110679bb1b1cf5585e56d0b6164179b9790100000000000000eed7e8e8a64dfa89c548a31c1b9fec7af5aef4dbbdb26997b2ddca72d4f8790c0100000000000000fa49d3457520dd98ca1489b78354d7d30a9bdf2181140072ebda1c3dc3371e450100000000000000fe5ba24461a8be22c5e553d2715748ece9c50a621d1794e36ad6c40dcd5d9c2301000000000000001e534cbbe982369a968006efa465cf2a16807a88a5c877d45f090192ea619c6001000000000000001a15acd9aec8d1dd06c7b6a46be298c3fc2ecd51be6724a63da4da286e306f72010000000000000078cf1debe3fc0da2ed2473d1e1835a478cc3e7008e0cf42043f287bc36804b710100000000000000f853a1534a3af56217661420536dd7bea0db6f6db843d8fead77c308ed7dcc7c010000000000000032e2c97e308c84afea4b37d7dd8f62e67763126c357c9e6e49b27f54c3702b73010000000000000050d2e3ed042861cfddfecfb31d47caa1927064cb0372213a3015b2acdf1dd1450100000000000000843778dfeddea10578fab2773f2827c62fe0efe374d9a01eb370bd8f1427e7630100000000000000140fbeeabfb02dede7214a17c2cf78279d076c80d962431f35d1105c87b8d95501000000000000007cb1f225b90c00f426c33ac4338eeb2dae6467b8a9da5c1556e6588c12ca977b0100000000000000b261a66b9bae17b65e7f6a88d65efb4519925d6c418c9e2ba17bfdbf684b776301000000000000009c5d3bb1387f53f0306bf7f24e81dafa5bf972048de867e2e517938c4ebdf712010000000000000050cb54b1bf159465d07933eb2bb1f435edd935c308418ffdd6f25d43bac8362b0100000000000000560c91919fc22867159ed77bee1b3e70d2e222a5fe6e830fceb13b58b0daa5290100000000000000e03e94cd4419d9cb8709ad2859e598912c78c01b15eed53ec0c336d8d6c491420100000000000000fe9d62e17387326c0e4b75697b2f0fbdff9506992e745d61b4c536c4dc10f57d01000000000000003227028def74f8ea7bede3e112e4ce09d8fb823790ed599f2259019945f2690a0100000000000000464d95a7c8cce76af088d8f781e3073fc194333ab20956b4dd2c25d4a29ac56d01000000000000004ca838afa9f12e88436eacb5024f3f94c95a66c32e114f65f3136176e426c75501000000000000000c60356c02d5d99293952c478fd07b2cff982dbad863ebdadf25c9e69206f14901000000000000003a8b589c8222ede45b3d95c8d9176543ffa9a29cbfa0ba2af60fc412e732d75e0100000000000000a43b19f13ec057124df240aad303e969f7d02fafc02c263d7ec814b6729d1b2001000000000000000884c85734b971a88cd94d86d3c62fdf163256a0387e15e2d36d8f25523a77480100000000000000f2cd13ba1efd67dfd5f8c9150b1a74d1ed1bad1a72c36fed96163b062e463d0101000000000000002001d47fbff7291a50650047b27cc47f1d22a0bdfbbfb0b8b7a6e8bbf350bf620100000000000000ecf0297bddebd3d766ea7def2bac79ad6eb650fabdcd029b99cb1649ff7dc8150100000000000000121f9d8ba85d89e3c6f9a0fedcdfc9b05cc40a6d3324eff6e8a58aec5f52590501000000000000008a16fb5a6718a714296cb8fa2ca708f677f78c7f883ba3c5ad1bbb9e23f37705010000000000000038c9a0897d9caff03a308d2120bbe892974ae8cb05f1cfe8b97259f0ac2e8529010000000000000006adb1e6e78084fd5e5df37fafc180d1ed84377ca41de3b5ca43b764f0cb19090100000000000000a496ba57e511f86ff4cf264f9fd7bd3595b37ae55ad671c7790574c87d40415201000000000000004e466f6a4930d856a1f53f21c1a44451ead20c8c71319f6a685f0e254d24c32101000000000000007617b69110c43683b5000788259be855890c474be8fed65d7b1dae1d534ef85c01000000000000002037d70f4c244c81422409ad01d28d72a30d26e595fbcc791daeb57f78a8567001000000000000003cfa50228b841c7d2fab03db7e4bf282cf14e127ab9b31c23fca1a79be54e823010000000000000088fa8bb07ebce99964718c65d0d6f1b091ef2f4d4cdf7b94a22c42c007ecd706010000000000000052ac28ba2601723d23a086b5d775f19319f110ba5e9292f2af461e71903b5b50010000000000000002a4b2935b657f9ec563642ab0f34e223ef594cc70c856b9bd70fbe0837215600100000000000000c280e82e46ecabc4d68169e292c59cef96432f25fe849b8a147db5ca0ce7e17b010000000000000092e5bb9d0906f768dbdde0696b78e493cc78dc1f68789575b24f0b962799b51e01000000000000009295a1f023157921d346b73484b120d46048382107015aa9ed998f1fae95970e010000000000000010e37a12fc6ed768d1a2d33c8abc6db675381dfe69c832abb77d9ba2341b3c4a0100000000000000d8de542a748c14224ee7faa16157727c852ce502a45b408de0975c88a39c690f01000000000000008013bf5a25c703e64dc4ae7e1248c0f2c7abad9e43672d82611d109740199856010000000000000004a3d449da9c2c02c963df1433b66d0b6599e7a667e3818ecebe84357081703b0100000000000000188d1a45dca0c370ba6b7952ba682570fd4f61501c4dea9826a981374a3f815f01000000000000004c1dbdaaf0fb061228d2245561476088bc608788cb3e9c5266f5a8e54bdd1e670100000000000000d23c53a531e356646133db73065cd83999693a5bdfc05931238434f5b031522f0100000000000000585ecf59c1396544c1f1dfa5693ded0c96daaf05cc70d55fc8c6fab487b2022e01000000000000006a40a8b74a142958efb2d75cd363635eccbfb70cddb24f0626d0ec927d98233801000000000000005e127fe875a9c6396693b778833a710b0426a4fc0af4af490e7ff0a6f3e8b61f0100000000000000aa74176b5870c97b754a157ec0d8032148c2ae717a905e0e5e626048b6f5334301000000000000003e07b075219fc7ace8dc3bf3a06f5dc12aa9c7e45fe30244d2284bcfb1e6ee190100000000000000a4a0bc81aaad1ebce3fdf896a8d6d081ab93efc2de9d5c56f2632edfeaa7ad0f0100000000000000465242c8915eea46e25549f2ab97cfe78784f25083e51773e07d5a0cafc2de32010000000000000022376791bf19fefac611324d27bc6acb4b7f7eec713c186adbeda5a1e1b88f3401000000000000008e3509e2bcb4497b4bd7b09dbc1d5647212386afc663222f97602067211607160100000000000000bc8f93a45201992fa9d04355095d03adeb5ff1aea206425eae4f902ffd47fe200100000000000000288c08430a7e427400dd5b61926b74a82abcbbc91ac739190cc791a581f6836a0100000000000000eec1df2a382f2f9d0e7dbd91ebffe7be19dc9e01159cf3b82229a3ad2a33685b01000000000000001810712fbe92f2394892a99e3a825490baf1efaf7a3dd1c9bd0e58da0d6711330100000000000000fecb15325d9baf603112dd397d2e83d3694414f529d75c4b639c7e775b979b14010000000000000028052d0b965ed862b7861aa7f3f91fe52ff8b0f795ff476c7e0a7aa42e79933001000000000000001c860d36fc84a54978d99ad400a719dbbef493f8631856e6def3e9ec998cde3e01000000000000002ef781a1d268b8afb0a8331ece83f3fff6877baa2d06ed9a23d484d5d70a50030100000000000000163687f38841bbbd2b93787f7f65cc74a2ab94478888abce52207e1b81f46c4d0100000000000000e0b770b1bcf7deb030ee75d5bad6ec1ebfe06ded0fc406a8520a9650fe832330010000000000000066a5a598bd5d484fe66e630a3e57f3b245fe0413f81401d7a5d59aeed1a3a46301000000000000003622bfbaf9350b5906bdf9ce362e06726224ed141c5d29e8e175e0beedbd3d3d01000000000000000469db5710f30dc9ed7411417170efd62ce8bbe36ccab6df758a94aa7b7f720b01000000000000007a661c99fd40492b4893407b03822464e7d4853e9ba47fc9e9960c3800d6725f01000000000000007836067da2bc290dc3c428c548a4dbebfdeddbc10a2db206abb6ac11741dc63e01000000000000006ed90090a744a0d55adf8f8af5af4d5198bb67220ce33fe71121d7c51f27a4130100000000000000bc20aa968087f7c0d4bb35dd9c502db39fd7f4596a412880fdcd5ddba22fcf460100000000000000386f18b82ffe824f7ee1fda0f511d5112dee1c677bee0069f3d8e3d8be1a321d0100000000000000d636bcd260e36a2bea4bb1667bbc86285967381ad5822f8cd98ff7d5c88c7430010000000000000072f2ff3d21f4126e217f10f9d9bd18069c12eaab6922d073dd5241ac718e91200100000000000000f25d3265659fca9d24ca877823644f1223714b0167d0a676cf3c9c447173d12f01000000000000009ab493c4c8007f49a3e7d1e9f1aef39b39cd66a496e90486e62664725c6ba06f010000000000000094cc8c46f9670417f5ad9492d17189c4e03e96122782e92824f05e176d6843790100000000000000369a7419ed7884aecd3cda7ec3576942cacde7a9b8f2fe9a1115be827e2ba83b010000000000000096ef8b525c38b9a74a3014bd99979230dab2f20221e8c7d1db50c7a61a02e97e0100000000000000769d9f8b45bcbed8fd84b86d2203ee20d199212007387b10216f8fd9441dfa28010000000000000092c996c1fedd09190bb0fa8cc79e4075ad79eca3d6895d2a99d20e6f89e4182b0100000000000000f2065428f52da2f7a881f9b94bfd38719bb6e5ff88a6800bbb3aebb1a9ad2102010000000000000092006149452119964a75232851f01361608dc0a52031f240e93e70e98a3ff21901000000000000009ad36892ec05281de9c63c7cefb3f31e448957a9572e650d9f3af1f21b2f515e0100000000000000bae8e68bc8f1b66fe3229ee72d77137b394c6b7dfbf55e424f9d2c82d5c99600010000000000000098f7988d5a74a0e52f58dd3d232ac3e93ff757480db9d4c12761b04fef032c460100000000000000248cddedee20dbb65f20a1715c2490c09241f6800b72d0c4029a1c234f2ce74b0100000000000000a8c366514ae829385912b04b0192e934a20045b36cf1911bccc4c064d6d3c46101000000000000001cf3abc7c9d8027488ea2f5f2463fd091b194fbeeebf560875e8648fbc67dc24010000000000000060b521110672f6f871978fd3ac4a835b5e30c3fa727c04c70dbc543fcad38b0e01000000000000002ab0b5cc358184be4fa29e7a3dc24806a72e55baad40ec9a117324a884242c280100000000000000e05c7c7d82498be85294ee984e1f0caf23c53fa9a64cc7e6c5053304c4bb785101000000000000005afe620da258a48f00c3afbb8a98161e977f076c7e7f8392975a4f0db4b57d610100000000000000a61667ea6442054b56111477f57ecf39b6e90480bfadf54c3e6cb5ac3a3e275801000000000000001ae9aab4a890c558ac8ab90ccbbf193b3841083670ebed278b2161fa2ec7b3040100000000000000c2d156c96e21691a06cecd4a396978f94cfb3a1760d41180efe382b7ce8e993f01000000000000004616ac86f0d45899eed3f1246dc5744858a694a92b0abd9f10e52dfc9c2867460100000000000000a4b31af719e5d9c3b69326ef920736e8b620b329eade475ae23a33fbd445df7201000000000000009281394b5d35827c826e1d7444f346c247b9a004aa0292a9ca2b16e0fb55687701000000000000007e88cd54f47c1f4ddd9d3a198fc689d24a523fe186d526b14e476f14ced7db3c0100000000000000229fcd7685d064b9c265aaa3a771582b6600cef963f57af160b34a81c9f84a690100000000000000b225550bd99c7b1ebfce319d76f52fe96c661d6106a4b4c37fd4eede1ba4654f010000000000000024ad842dcdc5f4d84262c6aee5116e88116fb191dbbd1331453202d3583b1f44010000000000000008c21904ad29b5bb3f450de1e5bc20687a45865b5fa3794b3ca089e8c6af761f0100000000000000247e193d802c4416d584533476f39f42cbfc5f35236bbafa4c3bde394eb17f1301000000000000005474f03ced668a1459e8ed416f510a16f551ec1415c42b292670545a3967d311010000000000000096e0b71982f3e7ba6ab06d28dfbf803caf4ac51b7633bee848f4f3fadc0dac48010000000000000052add6e82367acf14eb6bba76b60b8bbe010dd1a58d62ed7814d1c385467a2730100000000000000267e26d0bda346533f2d75c1f49329e20c962cb487d933919647ee110e9e24750100000000000000386bcf52f4c464e6a18169f776d69e90880301f01fcc8cc0ba451f1d7e6c3b7c0100000000000000206997febf44c717312b9dd8e0a2601abb9cd8bfcf04ae893aee5788702fb9520100000000000000b41546275611fa185c88c7016e909222b3a757b476316766a72729d074d8e92b0100000000000000a8d082a4289fe5ccaada604e70c4b1473d6fae4374663672e61474852c1ebf2a0100000000000000309ab613bea03c4431f7602c937f5a4d17e2102db6fc7f77e32f7a245041b90c0100000000000000e0ee8ff76b364ad2ccc3e82e69cd700c0895607a449c5af3745bb3018a1843220100000000000000ee52af7afebbad49a1631a96d790be136a9ae9ef0befcef3944ca16214484af90100000000000000040000000000000002efc8cb869ae5714a4f4f590372f3a9a76d748e084658d023958a3a549d616486cb28320101cf2000000000000033730011000000006009000000000000a50432904ec260963195582a1d339f9fbd2d5d76f551160105c922423cad0d94482f010000000000000076441c448aefcf40a72128edc9b44a4f7ef9c267c503e98f5f9c72d5e9e92f000100000000000000526e055ade4ac425e9b5f93ce4394601335d3599a5b742603126d78ce99a4a540100000000000000d0e8ddfdeacd8e163b01ca4da1a4e856312b0de412b492247070f2721f7d803801000000000000008008c1b7061a2402634fc15d3849e2913863beb9f55024bc8cc7fa7d6e397817010000000000000024a51a9bdb67213626d1b52bd8dbc0e9b94ea88ea417aa17b56212d1cea3e1780100000000000000488d520146f681678e9d229f5e29354edf65e521246b28a4175c0502e060b9200100000000000000da663fef002e63d5de9676a1a930abe7b0d8088657d67a3f24076bce08c661490100000000000000a86e2248480b1f6ad903a965344ecef69838aae812ba3c39d3d9eaae22963f2a0100000000000000f03555628bc649cebf75046ab9663faa1a5421df323f99c82782b7a3d162ce080100000000000000aca7a86b6fcf25daa7f0767bfe36b284f3100dc1ee4dcc971fbb3244bb57221c0100000000000000ba395fcb33327501109ed40712c7a372d25bf3339edfabe2a1964fb7b5d4d82401000000000000009cb389c209afbebda2b12113e0266b3d30f46e2a91aaf4451c193d640288357101000000000000004c9886e2e62ee92a6778d6a7928052732044b64fa61969cd8e37f3f7e3406f72010000000000000026db7c5786fddc15f7e96905024905d877537451ed444cb97d3786361a59f64b01000000000000005237e4509f24bc9e8bf9bfd78b594219d86853ae16601f692f10c9b16b88f83b01000000000000006869737a2873891c0e4ef80a69e331f64ffc3663c9f3cdf86b440bb41827a252010000000000000098192016f83ef2fe74dba1ecc6526efc61b79f3177c00dc7c053160391858f70010000000000000078c35105ea4cd9d6ea0ba91b2c19e78f60931bef5918c1bd2e14259229e7c330010000000000000006d2846642c835b0fb1ff1ef908449376aa8e7c0f3352e55da9a1e97e9528b230100000000000000f8a681118ea0bb9dfde2813ce5144eeb5cee881c27883de1c0c759255ec326540100000000000000ac8b2b59f77eb5f3725961767878166a3817747018f18cf48c933e284320b90e0100000000000000e67c524e443cda4cd27dfcce70488a5d23a93c8c46a5e83ef5a69eff3a02fa5a0100000000000000a42289d68c963358f3c450a850242bb53121e73e17f0e2ea2b93327446bea33c01000000000000006c50859d9dde209012eb3868c1a3a6e80ae8fa528ace9df68e92dbbae60368200100000000000000a8e470f2339e3ed0da456780dd9207e9c6a02459238ec3057a6ade01fd6cd60a01000000000000005c7f05d77f853f3eb8d4989fce36d0808b6d2b881e26f13c01e939b5d489a57d01000000000000002addf696d5a42b0a3dada689731e00c991db936909df869ac6600662abc35310010000000000000072ed7192625403acef94aa9189f9f179deb89e60478816ca96c79b742f757e750100000000000000b4ffe3c5959ff37c11c6f19d91926cb97aa4bf0f604919e1753bb55664d061680100000000000000bc4c9b5425f9a2aa09e3239332c702dedbfffa2b9f4cc1b978b307fc1fa1337c0100000000000000e07d5b19d98a6f8ef5c964b507fcd88f500a2a0a9afd5cffe9d4e3f74d83b27f010000000000000024532b17fc5fb786660c52aeb03150799165dd05e88ce359189189a4b771f51e0100000000000000b0033313d23127061d7f052a965bfeead348e6fe54f9915474ed52b843382e790100000000000000be18787b5177e58664cd893fdaa20a3ca1bc9f1acbbb15036b046ae49c17c15b010000000000000072a85a9dcc0af833b5a21a51ecbc4a9855c2bef8848e080ed70ac48cd1efdd5f0100000000000000c49cfd152ce3ac1fa142b3b6e720cb173eb7f43c82f021418253a070036f870c01000000000000006ec27dfa7ac9d35eb002c55d3e4d56b4df928dd5c44323ac228305741c9e0936010000000000000078f674626909d11d18b6b9d6c21ec4023a2073965c68b2172197f5a12e3e17600100000000000000125becf853d8dc03bc97114ca0c751f6045bd7ef5580e58d32e3b47d7ac5b60301000000000000009237113cf97fee5fafbeb82de593f6125e9c498bd59f0369625f46b326c7d9170100000000000000722d7d57085c250af633f2d461874d59aebc8021eb1112ec8805db5ddea53e5a0100000000000000562fd7529c92f9370dd6d7ce60d06ea4a826cbefa238231993ecfc9e7725ca240100000000000000a20797f3a8669a909adb22a3aee2844dba82d231cc33f5d9be0e2c533cb82a6701000000000000006a1274b6748bf822ba80c9a9416abd3cf591b7aee6adabb8359b7dbed8ebb3770100000000000000dc1274e0689c7a3eac31b41ce352719529e65c01f26999f74ce17c9905fce87401000000000000009c9bc1074cf465c0dd39f74bfdf16a67f81339ba2ad117a0c7030b4f0678771701000000000000005c0494412a296a92296160ac510697d97288753829a5e9d02eafb5f101e60f510100000000000000d8b38c77823eb1912bf8b743cca6c655ea1844ee468fbd78b394bf222bf8bc2001000000000000007251d6c376064f07f27d2532b05c091bd0978067b078c9f8d9984fd4216bdd4b0100000000000000487c6aad1cc26893dc7e498916a4c23d303f098c04b0a8b0c8242fbb7e73a16e010000000000000088f9a16886165d00612032cb1b36669ad62b7325536f499191e711134c71b6070100000000000000bc4b95226de4e10f91e0254cfe4541232252deaa347f567df124aba81bac4d3f01000000000000001eb833e31087d6baffee4e7f1d9a8e3b7013ea392c81f74313a354ba82e92f6b01000000000000009c8c7c8c91df0ed53864f69017d530b5ebda3ab4bde3c67027e70893213d533a010000000000000018ec239eec5457ba11a41518e7c5f98266d1bdbd67602641d04706f95dba5c560100000000000000ee0c4369d7e5dca53a68ef223db7c858f2a97f47394c7bc678a8edf719a49e130100000000000000c65c0a74887e9fe5cc56696fac7e7f5f1cd4a68f9661c8384b300bcdfbe67a1801000000000000003690e6ef639f685849ed93a6386d1fccf026c3fb64520940aa46af97f929e112010000000000000028a027ca1c0bdeebfc8fce85ac4bac48cc072523d9c4a86b4f2594f9142e7e3b010000000000000042e4c41a899dfb238649e5b17dc232c2699353635d60e6a3bdcd71f9b82cda300100000000000000ce4bfd8c5611b1637066ef9e579c85efadfc9513b882184e00b75871ef7f5a2d01000000000000005c0419f37036f2bf999f3958b49f63ab19d6dc19847a393dfd26cf303fc8d911010000000000000028558e46037c51ece4d39a8a4d34688662e629413c221d6226afe454240e702101000000000000004a2073ae31b3df10d285eae6a5befe069183c4c6a6ffa1b2bf432011d0d475200100000000000000f8cb6b856e416fc9e9eec947c6f76eefed65cfe5f1e117a7271396729e5cc8490100000000000000bad91c9aefe173441dae1f273e55090706d412b0723d39bd6c3af053feb183200100000000000000b05ad6cde0dfc019d740c3f50b8aac16550ff4c197da19cf23b9293f0c5c390701000000000000006e3d07ca7f680aee933830ff37197bba65eea7d3645ac0190cab4715d024bf780100000000000000bc56c07cea21bcbbe058aedd2ced9fb4757caead55f96bda9bed1c9669c32b64010000000000000078e1a4fecbaac940c04e0b591a01ea66a574b5098852ded2810e3a534971111f01000000000000006ccf2ce8e149999a7bb996faa65194e60aeb7bcd1937c787f886fe979fb49e6601000000000000000e5650026c7bee4fa43a2c7fcdc3452daa10b0530863ec686b1d5ee4d70760050100000000000000dc19020c36e3442a05940551f1d6b4b7dffb3343dea0418a8203fc22ac129e6101000000000000001e866bed92016cd2dcabe2d87fcaf8c1d7248255cafb9e10638fc3a2b476221b0100000000000000946071eab9c0fa1de9be2ad3c18041f1326faab41d84d9daf9f89c0daf9c0f00010000000000000082b820c5bee8ee77e35203dab387f3434b8502e5f1c35dfb2ad15b5c89d47b3c01000000000000001cf3446b4b5116a1784d92cdc5101e55a5fb91ed3d93efccd06b304a94362d0a0100000000000000c6d5dc6e1ec83491397390449d8cddaa88631e8855efe50697788a93de00fb5501000000000000003a4b0919068523aa04ab29f1b49bdc03a176a4b93f9b5a7e6e0cdcc8318691030100000000000000b288a9832e07bef83c5a8ca72c5a5583b321672ba7c6cdd44a971f855d32d95c01000000000000007480edf84ab569e559dccc99b87ecb9ae9db670b45a259b7f6e618b063e43113010000000000000020bedd48a5965e2fc0e221bd164deecdee849eb69cb8dc63a37df80b50a3093b010000000000000026c4a27200f70748b52f7277150d2db7e192b258d5001412e42c62c6e3ee1e51010000000000000040a2527ffa7d30d788eca127d435c8b5aa48972cda538b9a1627a57e85c8fa190100000000000000844b691aa95ff9a15b50f5e5f4f0e582db6621326cf18d7533f55bc27549497a01000000000000002254fb9324a6a9af450ce3a4f5ab25f55deb22161e520b2308b8aaff42e3aa740100000000000000a64dd29103d43e3e898a41f3630ff88b2420953febb931c70ff543673efa251b01000000000000007c4f928b915062d9cb15e854a9476cddbf7126c9de2fd70f67beaf2ebf6dbc5c01000000000000002cf9dbc1e451ba3ead20d5d826533b9315699b3ba0784bd812e15ac9ad31f85d0100000000000000fced8f1dff4f6c6852b0d643e26ee532086e72be7aecee28d94d1d59b5f9986701000000000000004a905d0574cebf6e8d00d382b104fc8ee1c008f1b9ffa6fa5c3b67ff29719c0d01000000000000008c64cd873a53fec10c4624239ce35d31d4422e32a109605a162fcbf632427733010000000000000026d7422872cbf4d4918046f240a13a37219a272f4326b3f3bd1249829bbcd12b0100000000000000be6106f9217a1847af66de9510fdfb40514409556506ddc1c1a897818434125b0100000000000000da98e4363908fa4d7980fe5574ceeac74fae49bf77b3a191654c7731214a565e010000000000000094af0a39f196a145c9406ace38b2b2b9b9ccec2bf2da2e95d0b0b8507b6f38560100000000000000bca6409d6d7e4f94ce797594db4363bb8bebd5387770aee0bb7663b36354fe2a0100000000000000b2518044cc31062ee50fa81cb6983f314291a0300865fa5cfe149829c5050d24010000000000000086c1922e4ed392d72e0fbc0ee28e7ec0a8ba2b33470330a606cec9a159a79626010000000000000036465f4be77147914969ea78f8e39610310679011dfbb6137dab12e18a687a5201000000000000004e8cc21504fda961cf1cfe78e651d033b10f8ab1a4a0c757bd4848a7f2827f0601000000000000004ad8fedb395dc0ed63e0edbdbd2d20555b61a46aa7cd751e4308335c277cbd6a01000000000000001285919470b092c61b3deaa9ad83226d41f36d58f0ca5f2e14d11d0724f6f00a01000000000000004c5e6997b6f186855b1f4c9f8ab2d6cea3da2e86445605ab89e5b5821e05bd3d0100000000000000944ad19383a9ae136f4f11c15687923b9b21319efab021336a3e8f2bd5b5ca20010000000000000068508b2ca3e01d7c8d79d99f1bb06a93058d14f1061d5fed4df13d4bc30aa557010000000000000074f02ed037d28c883df643034a596e4d2a97a23782ee8483c9ae3429ede7e7090100000000000000566948c62b699e382e5379592d1ad3e1823640d386936142cb9b82915ed02d1801000000000000009493e6de34e09c9679b6dca602e38d8c07abb77b3cc487ae3a80661968caa37f01000000000000006e7a78e9fdfe275f3e000382ba30452729970578258839db6c0fc568e20b3515010000000000000004734733edcd9cf662389208fb8ccb5f274a7db8187ccc53dc84250f8599d54d01000000000000004e1b48e67c1e62e46add39fa523b956946228ea0f08bd9d20ced798cfc9a0f5b0100000000000000faa6ae896c2d1040e495acbdcd8d90a02ccb17ba6e507efa2f7deacb3b28466e0100000000000000840290d318350bff32db3dcf6138b822cb2adf1dedf5bad8729471988955915c0100000000000000907ff7ac1e6c451d236c05c8d3f85640d9f9472d6a30115fc26135dae020e6380100000000000000c264fe63e84cd004530d2a3eabdde5098fe5c6b619af7fc6c9cfeba01e75ee5701000000000000001ec005e9ca3c15b2994641dd22efcbb20032f10894f76f57296d219dc149817b0100000000000000a07f151db53097c2da9dac4b2e0f194931a677a3ba99df0f3976e34409fd64760100000000000000d8faee17dcc461acb22ca1720b86385414ea8810ba31509fbd8da8733029eb190100000000000000b071e9d6b444a555e034ecdc4d04f2528cc36b347b231b33388564a40fd32b2c01000000000000004e047857f2ec0c7cf295a0673fcc750d4c268cf852711196c4f05bd9dc6414260100000000000000f820a8ed2c97f639fea2892d0a89ae98ffc4c0054f948f9a0108e4d99f89994c0100000000000000fcd5f4c4fe11f20ad99dc8345b7dc5600caba5d5b7d3f499c3253c095152d45401000000000000005eac8ac37c95fc11921839550a30ef071bbc80fb10ea1482cc67818e184d544a0100000000000000ea2b17bd1b69a7b442dd000db0f12f0bd4bf7a87a540427986bd32f3d3bd55580100000000000000142445d894c1236a38c6b1bcd9f5a7245897026424ce9544002008a7702c3b1d0100000000000000d6acabff06fe9a6ccf02f780f33902672fae0f038d8e19ee234ce28a0b6a01410100000000000000780e4353aca40b0f2b2403c862cb33032d49a820244bdc2853ce158d48c4f61001000000000000000e2daa2ef7884bdc7ca5f843f4f33f070c790e9a19d314bceefd04622920216301000000000000003e8394db87d36ddce56bfe0b86922dcc9a86d1ba061600e22d9694027b18c840010000000000000042bbfd10e95a6a1a57b34cbe01ab26605536797742d6d24394ebe95f87bd925c010000000000000040b77fd8fcabe868dc7f2a08bf14c67e4d433886c3cd3738d1b0b9c649bafc230100000000000000009463e59f6b021a1dbdbf65e56f568ac5736baf96470440d7123605a4bcd93f0100000000000000b633c47d126eceb0e36d788370ebaa179b0c7a3a21cf5f1421bfac40c895ed3c010000000000000092ee092cd2215c7c1628086c08be10a3cb969f6b276f600422f3526f303bd8780100000000000000020d34131c7a0ab6d104839ed8b9e0cdf075b80409a36fbe94d0cf83f7ea1f1e010000000000000022333a4409728530184f55b95171d2ddcec037603382fc7d6443b1f7b96c813601000000000000009acfd215519f40156749868afc8d56e015759f71cf183fe68382e8c02c75b2510100000000000000f44b3ec5c7b2188f208d60d159d1f5b0914a51a0632eacea6b88ec7b26d6673d01000000000000005ce79c3ad8a0e1806e863f0858c28a81408d19870a62ac0316b3e6345cbb5f76010000000000000006451fa7b2d831264e40a3e5b8452ede10164b7162a0e93bb9789a102c3010420100000000000000b672ee2f0f9183585ac4875368a0defda6d3c81927fbfc34bbacc7481058cb4b010000000000000022a66dd6397c2631df509db3482baac28b546729e6ce965472a9ba2e648ccc74010000000000000082bb250beb58df1c5346dc5dc26dbc38647a59fcd5c220c41466606cd855a2520100000000000000a065f45a353f24ba187248aacd9c64d5c3a92ddf92b4a5c33994f56a07cea840010000000000000078c91c4ee02089ea86612f66d6022a0cbd54afe470a162a72036611623924f6d01000000000000005432de09683010f3c1a6a977dd0dfdd8c5ce9fdb85225b9b7dc8e451e340cb240100000000000000464cb5dfedc6938caef6caaf5a58f4925a295f24a4f37337033dafa0cc733e6601000000000000002a98fbaf7ec22832522e3f96821711ef684283911a524960efb14953255baa2b0100000000000000fe0af833307f4cff497d006ec63385b1c191efd6a4547fb05a355cd23686dd0401000000000000004ed5f55ec45727a57e2d8d6914f6d2acffb17b9515d347ba045067502a0b140201000000000000004cb98af1a70e917453f5dea682917e7b3077ea9d41dda7764433258a9d5db54b01000000000000002a0fda136ae348db338b87bed349145a94ce091227774b0542e533a83d1ba455010000000000000036c5a061b47768957b2b939b2e37e4cdf8825a4abf963c4f912f3ba4cd567f1e010000000000000076fa252aeca5b108fe76ce12e395ed8105d5c98e4abae38bfc7cb4fbd4d43d5501000000000000006a5607bc375d7ac0908e7643ea2e89dbe42f4f805c2fb6e2a22d0385c1232b310100000000000000f4ccdf83d734edcc568462572abaf32d22ac7faf8000195e02273d1c9665430801000000000000007eb2b0b6adbe5a5bad38f46db207f94c896d419661f4ab8f21e302a543df9b11010000000000000048ce0aba6f1554e139568b4d2358d6cca9bc291d3600787cc3e732291002ca2201000000000000007a07e4b6b4daf45f4af2a98e7458034447ae0e67e9a22596848e58d4ba73b9530100000000000000a8731d355eefdfbdb7fb12cfa5a280c0b1e408aca264ef585d42bf97fcfba1160100000000000000c4c5fe47a568c2fe4876eafd5e0093dcc31b450eb87bfe58397dfae2a590d4650100000000000000fa5a4da949ce29dd0fc20fe56c40d63ffded8e2dd88844f725efda0814ed526401000000000000001cc40fa83cd0a4431aa63315b55c669370a4037756089f3402a9021e2d80666401000000000000003ce775a4a6215dbfbdc2b0a8a8b71936abd61642b5fd1a0c1d06ba548ad3025e0100000000000000bcb998778b7c2c182f396b311f92ae1289daeed9e62a3d8a8298b8dde7e1a52401000000000000004a1069d2203a75cd1078c39de35c16a6c4c12acbad34f1cba8efc065f80398610100000000000000eedea8652413b5a97c1eda13e1e050b777bd0a8ca31dafd63aeab576a68fb75e0100000000000000cebdabff22e607a75aa8db1bf875511a563200cce3f089972aca719649b6e1760100000000000000245a9f1c784e83aa6e1a22b7a560de42348ae1c3402060929d669f110da1b7490100000000000000feebe707a9a5eb136d04e5b3b2124627fa76129c1e33cba1d1323047f76b3f22010000000000000062c6c1f6f2478ee092c958842ac4351973bfeb49f55e33b8415ac0296a967b5f01000000000000005c25d331b2e023d12ee512689c3ea95edaadc300c9dc804e98806117f2edf57c01000000000000006205ea8c9da2e39792b9504100d0ce7eec4b9c732297afea3c2a885fe4f5832401000000000000009a64daca74d14dab93385e52ca70940732a8d45ae4b853ce156c3eeca06f0c5f0100000000000000c63e31fd558807e07f9c7dc51f8fa8110679bb1b1cf5585e56d0b6164179b9790100000000000000eed7e8e8a64dfa89c548a31c1b9fec7af5aef4dbbdb26997b2ddca72d4f8790c0100000000000000fa49d3457520dd98ca1489b78354d7d30a9bdf2181140072ebda1c3dc3371e450100000000000000fe5ba24461a8be22c5e553d2715748ece9c50a621d1794e36ad6c40dcd5d9c2301000000000000001e534cbbe982369a968006efa465cf2a16807a88a5c877d45f090192ea619c6001000000000000001a15acd9aec8d1dd06c7b6a46be298c3fc2ecd51be6724a63da4da286e306f72010000000000000078cf1debe3fc0da2ed2473d1e1835a478cc3e7008e0cf42043f287bc36804b710100000000000000f853a1534a3af56217661420536dd7bea0db6f6db843d8fead77c308ed7dcc7c010000000000000032e2c97e308c84afea4b37d7dd8f62e67763126c357c9e6e49b27f54c3702b73010000000000000050d2e3ed042861cfddfecfb31d47caa1927064cb0372213a3015b2acdf1dd1450100000000000000843778dfeddea10578fab2773f2827c62fe0efe374d9a01eb370bd8f1427e7630100000000000000140fbeeabfb02dede7214a17c2cf78279d076c80d962431f35d1105c87b8d95501000000000000007cb1f225b90c00f426c33ac4338eeb2dae6467b8a9da5c1556e6588c12ca977b0100000000000000b261a66b9bae17b65e7f6a88d65efb4519925d6c418c9e2ba17bfdbf684b776301000000000000009c5d3bb1387f53f0306bf7f24e81dafa5bf972048de867e2e517938c4ebdf712010000000000000050cb54b1bf159465d07933eb2bb1f435edd935c308418ffdd6f25d43bac8362b0100000000000000560c91919fc22867159ed77bee1b3e70d2e222a5fe6e830fceb13b58b0daa5290100000000000000e03e94cd4419d9cb8709ad2859e598912c78c01b15eed53ec0c336d8d6c491420100000000000000fe9d62e17387326c0e4b75697b2f0fbdff9506992e745d61b4c536c4dc10f57d01000000000000003227028def74f8ea7bede3e112e4ce09d8fb823790ed599f2259019945f2690a0100000000000000464d95a7c8cce76af088d8f781e3073fc194333ab20956b4dd2c25d4a29ac56d01000000000000004ca838afa9f12e88436eacb5024f3f94c95a66c32e114f65f3136176e426c75501000000000000000c60356c02d5d99293952c478fd07b2cff982dbad863ebdadf25c9e69206f14901000000000000003a8b589c8222ede45b3d95c8d9176543ffa9a29cbfa0ba2af60fc412e732d75e0100000000000000a43b19f13ec057124df240aad303e969f7d02fafc02c263d7ec814b6729d1b2001000000000000000884c85734b971a88cd94d86d3c62fdf163256a0387e15e2d36d8f25523a77480100000000000000f2cd13ba1efd67dfd5f8c9150b1a74d1ed1bad1a72c36fed96163b062e463d0101000000000000002001d47fbff7291a50650047b27cc47f1d22a0bdfbbfb0b8b7a6e8bbf350bf620100000000000000ecf0297bddebd3d766ea7def2bac79ad6eb650fabdcd029b99cb1649ff7dc8150100000000000000121f9d8ba85d89e3c6f9a0fedcdfc9b05cc40a6d3324eff6e8a58aec5f52590501000000000000008a16fb5a6718a714296cb8fa2ca708f677f78c7f883ba3c5ad1bbb9e23f37705010000000000000038c9a0897d9caff03a308d2120bbe892974ae8cb05f1cfe8b97259f0ac2e8529010000000000000006adb1e6e78084fd5e5df37fafc180d1ed84377ca41de3b5ca43b764f0cb19090100000000000000a496ba57e511f86ff4cf264f9fd7bd3595b37ae55ad671c7790574c87d40415201000000000000004e466f6a4930d856a1f53f21c1a44451ead20c8c71319f6a685f0e254d24c32101000000000000007617b69110c43683b5000788259be855890c474be8fed65d7b1dae1d534ef85c01000000000000002037d70f4c244c81422409ad01d28d72a30d26e595fbcc791daeb57f78a8567001000000000000003cfa50228b841c7d2fab03db7e4bf282cf14e127ab9b31c23fca1a79be54e823010000000000000088fa8bb07ebce99964718c65d0d6f1b091ef2f4d4cdf7b94a22c42c007ecd706010000000000000052ac28ba2601723d23a086b5d775f19319f110ba5e9292f2af461e71903b5b50010000000000000002a4b2935b657f9ec563642ab0f34e223ef594cc70c856b9bd70fbe0837215600100000000000000c280e82e46ecabc4d68169e292c59cef96432f25fe849b8a147db5ca0ce7e17b010000000000000092e5bb9d0906f768dbdde0696b78e493cc78dc1f68789575b24f0b962799b51e01000000000000009295a1f023157921d346b73484b120d46048382107015aa9ed998f1fae95970e010000000000000010e37a12fc6ed768d1a2d33c8abc6db675381dfe69c832abb77d9ba2341b3c4a0100000000000000d8de542a748c14224ee7faa16157727c852ce502a45b408de0975c88a39c690f01000000000000008013bf5a25c703e64dc4ae7e1248c0f2c7abad9e43672d82611d109740199856010000000000000004a3d449da9c2c02c963df1433b66d0b6599e7a667e3818ecebe84357081703b0100000000000000188d1a45dca0c370ba6b7952ba682570fd4f61501c4dea9826a981374a3f815f01000000000000004c1dbdaaf0fb061228d2245561476088bc608788cb3e9c5266f5a8e54bdd1e670100000000000000d23c53a531e356646133db73065cd83999693a5bdfc05931238434f5b031522f0100000000000000585ecf59c1396544c1f1dfa5693ded0c96daaf05cc70d55fc8c6fab487b2022e01000000000000006a40a8b74a142958efb2d75cd363635eccbfb70cddb24f0626d0ec927d98233801000000000000005e127fe875a9c6396693b778833a710b0426a4fc0af4af490e7ff0a6f3e8b61f0100000000000000aa74176b5870c97b754a157ec0d8032148c2ae717a905e0e5e626048b6f5334301000000000000003e07b075219fc7ace8dc3bf3a06f5dc12aa9c7e45fe30244d2284bcfb1e6ee190100000000000000a4a0bc81aaad1ebce3fdf896a8d6d081ab93efc2de9d5c56f2632edfeaa7ad0f0100000000000000465242c8915eea46e25549f2ab97cfe78784f25083e51773e07d5a0cafc2de32010000000000000022376791bf19fefac611324d27bc6acb4b7f7eec713c186adbeda5a1e1b88f3401000000000000008e3509e2bcb4497b4bd7b09dbc1d5647212386afc663222f97602067211607160100000000000000bc8f93a45201992fa9d04355095d03adeb5ff1aea206425eae4f902ffd47fe200100000000000000288c08430a7e427400dd5b61926b74a82abcbbc91ac739190cc791a581f6836a0100000000000000eec1df2a382f2f9d0e7dbd91ebffe7be19dc9e01159cf3b82229a3ad2a33685b01000000000000001810712fbe92f2394892a99e3a825490baf1efaf7a3dd1c9bd0e58da0d6711330100000000000000fecb15325d9baf603112dd397d2e83d3694414f529d75c4b639c7e775b979b14010000000000000028052d0b965ed862b7861aa7f3f91fe52ff8b0f795ff476c7e0a7aa42e79933001000000000000001c860d36fc84a54978d99ad400a719dbbef493f8631856e6def3e9ec998cde3e01000000000000002ef781a1d268b8afb0a8331ece83f3fff6877baa2d06ed9a23d484d5d70a50030100000000000000163687f38841bbbd2b93787f7f65cc74a2ab94478888abce52207e1b81f46c4d0100000000000000e0b770b1bcf7deb030ee75d5bad6ec1ebfe06ded0fc406a8520a9650fe832330010000000000000066a5a598bd5d484fe66e630a3e57f3b245fe0413f81401d7a5d59aeed1a3a46301000000000000003622bfbaf9350b5906bdf9ce362e06726224ed141c5d29e8e175e0beedbd3d3d01000000000000000469db5710f30dc9ed7411417170efd62ce8bbe36ccab6df758a94aa7b7f720b01000000000000007a661c99fd40492b4893407b03822464e7d4853e9ba47fc9e9960c3800d6725f01000000000000007836067da2bc290dc3c428c548a4dbebfdeddbc10a2db206abb6ac11741dc63e01000000000000006ed90090a744a0d55adf8f8af5af4d5198bb67220ce33fe71121d7c51f27a4130100000000000000bc20aa968087f7c0d4bb35dd9c502db39fd7f4596a412880fdcd5ddba22fcf460100000000000000386f18b82ffe824f7ee1fda0f511d5112dee1c677bee0069f3d8e3d8be1a321d0100000000000000d636bcd260e36a2bea4bb1667bbc86285967381ad5822f8cd98ff7d5c88c7430010000000000000072f2ff3d21f4126e217f10f9d9bd18069c12eaab6922d073dd5241ac718e91200100000000000000f25d3265659fca9d24ca877823644f1223714b0167d0a676cf3c9c447173d12f01000000000000009ab493c4c8007f49a3e7d1e9f1aef39b39cd66a496e90486e62664725c6ba06f010000000000000094cc8c46f9670417f5ad9492d17189c4e03e96122782e92824f05e176d6843790100000000000000369a7419ed7884aecd3cda7ec3576942cacde7a9b8f2fe9a1115be827e2ba83b010000000000000096ef8b525c38b9a74a3014bd99979230dab2f20221e8c7d1db50c7a61a02e97e0100000000000000769d9f8b45bcbed8fd84b86d2203ee20d199212007387b10216f8fd9441dfa28010000000000000092c996c1fedd09190bb0fa8cc79e4075ad79eca3d6895d2a99d20e6f89e4182b0100000000000000f2065428f52da2f7a881f9b94bfd38719bb6e5ff88a6800bbb3aebb1a9ad2102010000000000000092006149452119964a75232851f01361608dc0a52031f240e93e70e98a3ff21901000000000000009ad36892ec05281de9c63c7cefb3f31e448957a9572e650d9f3af1f21b2f515e0100000000000000bae8e68bc8f1b66fe3229ee72d77137b394c6b7dfbf55e424f9d2c82d5c99600010000000000000098f7988d5a74a0e52f58dd3d232ac3e93ff757480db9d4c12761b04fef032c460100000000000000248cddedee20dbb65f20a1715c2490c09241f6800b72d0c4029a1c234f2ce74b0100000000000000a8c366514ae829385912b04b0192e934a20045b36cf1911bccc4c064d6d3c46101000000000000001cf3abc7c9d8027488ea2f5f2463fd091b194fbeeebf560875e8648fbc67dc24010000000000000060b521110672f6f871978fd3ac4a835b5e30c3fa727c04c70dbc543fcad38b0e01000000000000002ab0b5cc358184be4fa29e7a3dc24806a72e55baad40ec9a117324a884242c280100000000000000e05c7c7d82498be85294ee984e1f0caf23c53fa9a64cc7e6c5053304c4bb785101000000000000005afe620da258a48f00c3afbb8a98161e977f076c7e7f8392975a4f0db4b57d610100000000000000a61667ea6442054b56111477f57ecf39b6e90480bfadf54c3e6cb5ac3a3e275801000000000000001ae9aab4a890c558ac8ab90ccbbf193b3841083670ebed278b2161fa2ec7b3040100000000000000c2d156c96e21691a06cecd4a396978f94cfb3a1760d41180efe382b7ce8e993f01000000000000004616ac86f0d45899eed3f1246dc5744858a694a92b0abd9f10e52dfc9c2867460100000000000000a4b31af719e5d9c3b69326ef920736e8b620b329eade475ae23a33fbd445df7201000000000000009281394b5d35827c826e1d7444f346c247b9a004aa0292a9ca2b16e0fb55687701000000000000007e88cd54f47c1f4ddd9d3a198fc689d24a523fe186d526b14e476f14ced7db3c0100000000000000229fcd7685d064b9c265aaa3a771582b6600cef963f57af160b34a81c9f84a690100000000000000b225550bd99c7b1ebfce319d76f52fe96c661d6106a4b4c37fd4eede1ba4654f010000000000000024ad842dcdc5f4d84262c6aee5116e88116fb191dbbd1331453202d3583b1f44010000000000000008c21904ad29b5bb3f450de1e5bc20687a45865b5fa3794b3ca089e8c6af761f0100000000000000247e193d802c4416d584533476f39f42cbfc5f35236bbafa4c3bde394eb17f1301000000000000005474f03ced668a1459e8ed416f510a16f551ec1415c42b292670545a3967d311010000000000000096e0b71982f3e7ba6ab06d28dfbf803caf4ac51b7633bee848f4f3fadc0dac48010000000000000052add6e82367acf14eb6bba76b60b8bbe010dd1a58d62ed7814d1c385467a2730100000000000000267e26d0bda346533f2d75c1f49329e20c962cb487d933919647ee110e9e24750100000000000000386bcf52f4c464e6a18169f776d69e90880301f01fcc8cc0ba451f1d7e6c3b7c0100000000000000206997febf44c717312b9dd8e0a2601abb9cd8bfcf04ae893aee5788702fb9520100000000000000b41546275611fa185c88c7016e909222b3a757b476316766a72729d074d8e92b0100000000000000a8d082a4289fe5ccaada604e70c4b1473d6fae4374663672e61474852c1ebf2a0100000000000000309ab613bea03c4431f7602c937f5a4d17e2102db6fc7f77e32f7a245041b90c0100000000000000e0ee8ff76b364ad2ccc3e82e69cd700c0895607a449c5af3745bb3018a1843220100000000000000d45eba22870b24bf516e7df25b67c81986e93d3327e8b10c32d8a1b3208f9efc0100000000000000040000000000000002", + "babeFinalizedBlockWeight": 5011401, + "finalizedBlockHeader": "0xe054f8f24f0d2997d51756fce6cc7ecb7731a656dc50abb672766ecf0ec6d20fa2e6c804fd14c44bcfc4f7a1f66608af6d08e9b52feff6130ad0eb519fbefad408e6919a7755b0321b2c6b9d3ebd65f57347dd9abf9d1213988a24eea6c41c1063fdd8c90c0642414245b5010311000000cd7a0011000000003cd64eeb4d432862e7ed6446ded0b2e42934b6349bebc98e7e3179938e5d2350696bea1b896f6cd45e2f05baddb61aed7ba6b4edecc5399f8049f909db29820f7c8b859264a59c98872a9716e83af46db366cca16d8a2e1ed64e49488095b30d044245454684030752c33f306b93f0ac407f15fc50c711a0a540d37531e0720ac1eb5a0ea53fa605424142450101b2984693bdc6dc781fcbb1114cd597c7ab6827faebe7d71c9dc2da43f376a416428caad6394a6b745f695c85b06698683c7277d633f85405068f7028feb54681", + "grandpaAuthoritySet": "0xa5046f706506065685b322054d22e8a1f23ca9df75c32a88dda5214ad58b553b4cca01000000000000008a239af78d4659897af698b5670533fa6d215864be8c41e3a2fc4309f9f83dcb0100000000000000e2b9e72d9202e99526fa626d9a6651dfd7c1daec8fc6ba1130af96f7d21a42da010000000000000056b838dd2005e499be47ceef086df4ca9c5fbc1f81968391c31af062a8a8bef301000000000000004a3fc0fe1020c7f460c7bd23d0b657c03368552b2f0a12d80a1c406fd066e0db01000000000000009b992b5e9b99eb2cd3b2b648d6db81ed722a2feb4938d998b58dcb5d159fadfa0100000000000000aee9de3938173700b3e3f4fbf2b200ae296173a0854157f40de2598dd4cad8f10100000000000000262562429feb60edcc7f1db025cc39e6c7b113e26e884338b3f844168e6f6f420100000000000000e3606b27e4146ffe1437860746968e0a026071120cc09d88494126a86d7281090100000000000000b9284bdf22aa83317140b91288555c900d208634f50d07ce8b772d149364085101000000000000005a40b78008713bef1a35714bd32e0ec4c8905dd0728aeb4943280efe766936080100000000000000e8d7333e457fa740db924866152f31c3bfa6124c0367b0878a61aff2d5d6e27e0100000000000000426b2be4596a759a15028d84e08c5c56440e6cede68d088f47c671cc3387c3e6010000000000000070ba6e5985990ba1b1392713236f1b50df750f10f744cc6eb95fa7c5cfbc68760100000000000000116768c765c7ce5a5e895a5342d1f56f1a118901d8d36fe584bab325506f3b280100000000000000e511d441d6d3c822cb276bb2a14b1c8071d9fe1995802383fb5dcf8a92edcfc2010000000000000003e385d1bbcaeed57930ff625035cd65781e3fe9de1d350d783ba261e678c0ac0100000000000000be2235b9d9c9164f494dd688000fb569a37d5c47912ef99b9ebda9318d13345e01000000000000000e0ac68072ac35b8f19f98d13385b6eb75cf6fd4d513d9a2abfe9711b19883bb01000000000000007818639057900f8fb58e3aa8180f6108c251884a9fcb8041ca645cf612bc1eda0100000000000000a8dbfc6cb88ac105e25b9dc7f11e883631824647cd4d0c18014bb6239627b2900100000000000000ed7a7ea18c2d3b3effd9e8d7031592bc99517ca321c1faf7370f7d6d0fdebc47010000000000000041ef4a31eb7dc1e01f4630604e1908e644d7cdee3f66a60f98d6d59605326f8b0100000000000000890f5c296681b8c23038b3d36a491ca9e0e7e809e6455b2bcd28a13700f81abb010000000000000008cc1d6c743da905511a39a6f0a68809a6bc32f8ac25e53bb2d6aca4f493fc9b0100000000000000acd71d4269b3ba2a9de822d494c4d841708e1519c08de41d7fc6153eaf48da8101000000000000007c1024f3b93e54cb1cdde0d2f685e2e16cadabe59e407ebc45eabb07efebca6101000000000000000f42866aa6927f1c5916a8a1a5a5cba2d88e1fff957d80df701617d93ee6407801000000000000005cba2c6f569da1edc3778308da406f266aa53140381dbb3f14f22909ba6e30040100000000000000dac2e90de824b109043f70818d53eabe05e79d518bda504e951d7f4056b0b2720100000000000000652f455eb3d30486151c716a4031bc02bd00254ef3e8290fd29f946d958a46b60100000000000000589fc35b132ef9d7ed9a6787a203e5a3a37f8cd6c775f47ac5e589d55d381a640100000000000000a34b3f8e84aa86be3b47260f67720030795fc96379e5b31cc6c87c2f4d1cc3e001000000000000007a99eb5f9dd892ab541176abfcb3a9b87e184c9f5737f0c1e69b90f62c522aef0100000000000000dccafad8bba5affbc80095564afc9376881907073a060979fabbb962bef08d5601000000000000003bf5b70cb5789c7ac4f6a4c97e6fabfe7a58fe9fed1d79f39c2aabc2c5816ece0100000000000000aa3be8112cdf851411fe9e00fe9ef0a6b58217326ba7c1ab7ed9ce8a34620b250100000000000000c1c1ff5f66fefb5c0849e3b2333411d1f7e9dd4888600e334e7a33623f15fa3601000000000000001e6ce7e1c936b8872d22b1d24f0d5f4eb0ce13d6cda46bbc9b1b93812cbe674c0100000000000000594f51d31b1ae51a8c8ec48f5ab2428607440dd9c8f690ea377e99444529acb501000000000000002f40f2660559a4472aa7d2b5dac22c8925b9baeaec9fa2463cef2a77eb9d3a1b0100000000000000fa2c21f1a03638d4cb35202102240c2b85f5667924d5838cc503721117049da601000000000000008c461493dcd314f4b384169f3741954d8cde37bc8ad988149e40ddf18b4b95e101000000000000008aabd4f6d7ecec7a749c83fc7be33f3b4818cca6f93a4927b4964900df9454e50100000000000000fcc0d954c7d519851e0094cd9a015b4789022a37091e3a04791d0731bd85f0d301000000000000003948bfd09bbbc2fe6ac5dfe53146e32df50828eecf7b2b18cdcff8dc385cbd750100000000000000a2a4af2a11ae7ba812fcc32845583d0354a0f2ffb1271a53c9a976a0f47fff4401000000000000002385953f1ac49461b9c243159d9668b26e7322e19fff7bc18d90634f0f767ce8010000000000000058e304af91397247f704ce95d60845629aa59a50fba1c13896bb2300708db47201000000000000008663371a5899d5e7a8bc99b9a6ce24c8c3f5f1149c1e70accf9560405c1a5bf201000000000000003d28789c6d574f3aa6d14360471901c5bf8255d072c2209fa22ac773bd32e5bf010000000000000041763df8284ae8248ee0f649982ffc7d4f613e07c7bb83cd554aca5dcf8f56250100000000000000cc0c6a91c7971438b621cd9a3bd37a67f52ec4093336585d1e2c73416195e28a0100000000000000de52bfa88c4a76bb22fbebb0f078dfcc5a327034e0044e8f8034f2a96e7adfef0100000000000000bf3fd3d4065b306638662c3e789d830a63d9b343cef5f863d346058387844b58010000000000000005197187ac7eb8d0a3cfadd32f1a7fb662e7e4a16ea718af3f1e4437b865205b01000000000000007d09497b4d65162d28d4940f8eaf8342798e7794ec0f5028d163fea6156cb4f30100000000000000c84074bb67af84cdf84b9df1dadc1188cd75709a8d11bba65f2835d76f38c4730100000000000000aaecb94cc62ac90656976daa8955353e0ff22fcabd55715903be2f958988bc070100000000000000b98c920666586f392d129d480e78a965764ac82de45e691589b3aab7831a7f020100000000000000cb92ffeace78dbafe6fbf275741b4b38657fb81590712aa0bca7877931f6ad39010000000000000034a18d21097f479eecbe51b91c522a798582caafc787134bab6888854742406e010000000000000027791275ae7d4735aa45e70210663067f7d268aa57126a26044c8f6d8572a7d80100000000000000f7c9f4bc8669969246cfb748ac6996db6cd4c1fc634d981a1093b2c3d7a2eadf0100000000000000f001e2e99b378fa4f2d1a50b28c3fcefcd7da3a66314af1280fb7f9cb429dd380100000000000000604ac1feb76a5f2e7100ea7c8546c1b40bd6c59fd96ef9d58c2e93d7afc8aa20010000000000000083a8ca034fded71f681224d5f905b69084b17a51c18f0a06aeff60e868898bb20100000000000000c8185ca8ae6330a1e03490e132163adf517f76402ecac6881a51c8a14ed62f9401000000000000004a68c3ada00a5c4248e74840b836cdb87eec6adbf99dabbb90a8ded6e04de6c60100000000000000c49e3cd2c701bb845963c2870dcca12ed070c3f67ffc20144327a93aa6e896ec010000000000000081b1fce3ee9e31723f1023eaa9f8793e8663e72c50fbb0fbcea9bc78bacc491b01000000000000002dad5b2212ee688f2eeb9ca1fb6a90574f006dc1c6680ac3a8523363a248940b01000000000000004bb953c285fc6de7ef27baf835e8d905e60d86fb1bca0e52af8323e9d1ff219d0100000000000000c69539d72b0745440a1fb4323bd3ce26e309d801d13d5002ba23da25e18e1ce5010000000000000050f9fd6c0623020debb7843bcb832ee1d80db9b156d8e6083ccebd434fe979470100000000000000b8183b905f28b87c68c2d5b2f39f009f2ee22b47235f6c6d6cf6e63121b490300100000000000000b7c13f1239888cda5c8e6ac9ea10675df17633368906e66a487f91ddd3268ca601000000000000002cd51e09c3197e04155b78f3d97742ceffface390dc46f81f2613a94b2e483fd0100000000000000affb713ecdae328aa4436756f6a3e8add6b274d5ef1cc19d7aa69ab82c80e472010000000000000052912b3dfd0ccacd00586b97f1abe32431a2f6fa9c2b3bb17837a1ecde61728001000000000000008a2b50acd1a4955fc814bf6720c7427902a6ce709f3a2d7c17c55b67f6f1c0630100000000000000ff80f99fcf0f4072402a4e522aecd41ff231c5b579d978d0383dda0407ee498b0100000000000000fd856413411b2e50cf1d32f8253c9bf7b055df259c42fc3a501ced6850173f8f01000000000000006565187c86eca2aaf37db6d59405535a5e6dd85e2743a07ebf50e55c2b7fbc890100000000000000d1c146d2429a5a827660008721c7a880e71f44feaa3dc75524c1a9281bac48cd0100000000000000e4b2cffd0b9cacfc500050b27ecae3c55b9b51bd9a416d62605118c8ad4fb09f0100000000000000f42c2e2a4157d51d22d5997dea1342f65e1882e207fd0e64e8e5d44330857eef01000000000000001a13a82af5e22b9863c01e5f0f6bdcebc4a295934e339fa915cada1d5eba7eb801000000000000006ad5224d5c8f7fb3ae15dcb3766c0956ca627a6c91e93c4e770a2908e8f590150100000000000000c898dac07a659dcf7a5d8cd593ce9b463a3a7452678f9a6b4f6ae3785823e5cf0100000000000000f5fef7a87c9f3917fd28640907ce59ad26f33e41baa25d8ead8033ae0b944d7901000000000000005d0124063ede3e49f037df33948477235e5a58f93f8b98bf7203f25e11d4f0b4010000000000000049bfee2608fe8c9d280c80fe2e7e50d15980deeb1d29a2edc7507d17b319e7760100000000000000be95095d93298171c6fb8a1847adfa173d127e13f53482dcb694f891d68f0c58010000000000000085b714accac0654ba57fac59b626dd35802269d2c1d995cea7c335cb05a88f7f0100000000000000098e7f6085499cc37621458acc5a44dd928202482d456fed047f76a7edf1c08a010000000000000033346b5629c0c499b8cce8b797ee9a312d06155fbe898c8a4a09777ecf8ba91c01000000000000007448b6f6db7cfffd8650a1f3f08ddad1e114321ea770c9cfe6154882f586edb50100000000000000eea0e8d1a0aae5e5cd38dda0e172b49f8ea02287fd7d2ca79ffcdf6e593a2831010000000000000037483029302a84623f0a8db165fbed905b0a4fc25e7cfb56e975a0e98336a59b010000000000000053b5918f72e73f92f32b578d1b602f0cc554d98bee8c4e131ef0ac7a63399fb40100000000000000178838772f4eb26785673a57c8365e98a21ede2ed8d1ca3aeccbf7ef2631da110100000000000000587473ac474bbd8c99d14bec88d614426944b5c84dbf2912abac7610741560ff0100000000000000f3300017c9cadc38d61b118edd05c0540768521f88c5092215e47a9d0403fc7a01000000000000001935d43843c66ecf76a9f4c4229de9ed7c172f52aa53d1a279f2856a736661b80100000000000000501c3978722a089f663f75c7865626a43d13ce19bd924583e43a46720584ed140100000000000000cdeaed45451971dcdcf886df977f31b3c004c497037d9940bcbbf2bd6dd2e3340100000000000000cc5dc1c5155dfcf43ee8dc4443292e966cb3226aea4fdf88e73daa259d66b6730100000000000000f14cb581296c3261284a2ed4e5a85dc0280e5618cc8dc1e76d8ab4ab415ecdd30100000000000000096e6c93e51502bdb63438d1cc1207bc5fa4cc1a1330b152ce46ca62f0c88ffd01000000000000006727561447ed474ff4e15645b952a37fa5008d4e694d4853bb55594fa34c4f340100000000000000c05f72a55f91f613b2da541ae27eb6053e80f267c906c135a4ebd848ecfb49db0100000000000000ec295fb809e22c332aa36a57afe05f2c093b2d13e52b0971d8265c5514e4e9690100000000000000efb5f1e4c4ba37f8c159d452d897c607a58518b8355a8454620b3e3ccc3271230100000000000000099a9eb71f9cb1b7d15eae384790b4ec35045a19acea1730ba62f3e7caf31e8b0100000000000000d34560b879f8f4dd8d2fbd4f6d51b9b6f41b76656860646fcef4e1498859a190010000000000000061914b4dba0a1e42e692016cb74943266b257339008ffed4644231a2b48df21a0100000000000000a703a37bd5d93619bfb6ad72c24840b396b2ddb8700db2e1d372a82363ec7d580100000000000000a892342c56149812a43e98c82b6a3dfee7eff384d9b6d832002ea63838f64900010000000000000081bbaa3313b09e3b0ea2817c3e968a33587ec8928539c3f3a6d0e65644612f4901000000000000003d884e3f58913c10c26d8af2a095e231079a3a0b69f775052f7173ff1c3ace2e0100000000000000a81425a86503d911cf060b51310f0bb796f5ce2cb656e524d23f7fac3c9c48000100000000000000c13b603b5fe774d98e59c26fac03f8096ccc42c57d0cbc6a443b4f07a3c077920100000000000000be6b59cb464fadec4e0b22a9f12857ba5cf7a14c4f9551439d36305d582dd7fb0100000000000000f916634f9fd7e54374e30ac6b722ad1793c13cb2d5f2ad38769eaca2f79d414b01000000000000007ba967a2dae0d8839cf44710591db994d18e53b25ec6d0f861da0037c4a4366a0100000000000000222ee6c6a6c62d56cadb4eaad5104d595fe962fbbdd551c81562d3b509212907010000000000000055ca63358082034ddaf76b75f41a396081dd4f39a61eff13f7575e506e10335601000000000000000aadf1b2009026f8f5dd75d532e91dc756fd47572aa0f3c15d26790e6d6b2f27010000000000000050e16d897010823670148ef157d77933bc1721d82c45e80eb73b46b12b5daab601000000000000000228d7fc42b304906518cbd91d73a5384c4893de6cbfe1e7346999df642d3d000100000000000000db9e49a8dc2d75fc63151f9dadc11b7d2d435b9625f62747928fbf7f1be8506f010000000000000082e6b6bf1f275c59fbde0dad91393ae690d5e644d11d23898a9ccfdda025920a01000000000000001bfc78866edf1c38c02c1d1fbea39a2a33f46227dca527ed002d96532e61114a0100000000000000d761043f405069ac01285f1ff258450aac675f08d906b1ae0a1ce54eabcb36d901000000000000000dfbc1b5757e1f0ba348f8af64fb631aaff86cd21fa0529e0bb1fbab250879260100000000000000d791b58285e2c4f17c82a518e099812d2a3f63e1090f1cb2576e2c7695ee24970100000000000000de74612da9080d47be35bf4ded2094e23c1de14477114ddcd7b76b815456ec0c0100000000000000d3b3d9703a265a51a137b9de348587c645a168981ef3e01c9dc482856751b8ef010000000000000003dd543dddd6ad00137ddf94a218bfa19d2f08b4365d696765dc25deef76598b0100000000000000cfb9f7f1fcf903a51af729ed1647aee928630e148990309f9dc9f3b14b114b7601000000000000005216ff912251cd2bcf9db256b3927e737cf909e4b53a375586dad21bb7b907ef0100000000000000d14a779884de1b2fbf079b8e47e8c0edb1c29e282996899a4eab5aaf1f4f41130100000000000000b5b64e522ece2a1a3325f95082e33bbf5832e6116d378ac0f437b7b49727292401000000000000004bf6037c3820cb7468601051701164948b7f7cbbe1ac8cad97e809c76170dddf01000000000000001ec0811cbe4f2ea1e5a714d3ba08c6d7fdec138bcc6406da3c6cd32f1686616d010000000000000025ebbb2a00126545bbedf00318a78b6e61a0b52c81e30231ff45bd32e311472f01000000000000008b7baa89dbac95969a0042fa876a37eaccfcecd3591c4d7ed0e8051aea814cfa01000000000000004715211e268489d1eeccfbd8a5e67235244322c17127226184448741ae332ba10100000000000000055c25dcc9cf8a08ad007ed9c8afb0ba53cebd129a20f194d272535ca9fa06490100000000000000cc8db7467349129a20ab4ba7e705044216651c0eba9d39f1054849edbcd677af01000000000000004df6e4d7da2c11ddb9153c714699f9ab625bbcd5e8e38f1cdeee567dc04abc610100000000000000982d9e3cc8ef3f8d99638b6f9df32c82356e1cd88f123d1e586a604d1d4b0cb401000000000000009cfeed14dd2f96550a0e7edebd9c9a8c8b1d8f7efdd1abca01987654239f3c860100000000000000736925c31654df870fbc29437c9b2a488ac3262e5d80798534ad00c43a61e5470100000000000000e08ce24248f3f8c0cdd313a5d46e6d491fccf6711788b6aca2de82f6700ced5101000000000000008404cabeb0674765bb77af690fa838ba28fa2045d602994a89f07680f4851c83010000000000000006b9e740c0a0e1f8fd31717438d5918ed8680eaccb70fdc9511931ce0d164ae50100000000000000b8cf76a8082d518016ea5588be57b64e156ed23b0f72248975522c23d15ef16101000000000000002565e04c6e0b665fac87f8238bee74837f8f621ed63409f3838d263603400a980100000000000000373b26b330a41547971874dd81c2cbbf8b7e3eda05b861c57205ad7e8c15bbcf0100000000000000056986ef8b6f0f9e092e29540e8d220b40bed9e459e7b9d0247e0e156601e3c20100000000000000620c78305072857b43dadced80ebc057dbfc82b58c14c7b63372ef02140867650100000000000000546ce2099b3863d2d75324d5866bfd5324d8ee4701a99dd53528f8a8c898ca4801000000000000004dc2e72680dbf0156818114fa34d3591f8e6948df25a128e191190c66f6ac35301000000000000005d50d6099c7c88f367568fa473b44785acccd030251627cb371de16e5fa704260100000000000000301b983e5e1320b7c9ff0f2525121b9f3007f68c273ba8ff662b7244f1f95f210100000000000000ef5b937d1eb14d07785430ca8efb57cb965060fac808b9a25ab9d4ab52cf0ad10100000000000000a85e95b303450b71e03368ab702fe362ddb6710e9f374e0814f65fe4b46bd3f20100000000000000b1f748c87b12edf7242b4719cfe68e6761acaa4329beee538d6ff740941d3cd301000000000000009e4dc072780c293ebda8107e014d03b3dea3d3f14bc9d02cb0c9c0776ce63b990100000000000000eedd48a4e6e202e92845fc2fb09da5e1eb2b839e48227f2531142e5fdeb44b2b010000000000000014a3f3f45d0bc1352f8665d1e24cb13d72d95b48c595913cc985dcf58e63c1230100000000000000b1fb5116f8c92bf1d763969194db84f09eaac810117f40a8f84410dd54d6518f010000000000000081a47767e6abad1d3c805d4eedb10a226dd9efb967d5f78f8ac4cec55027f1ac010000000000000028139ae721b771cf57d5afa58579d8dc0f04f04c1e1b631cac64a9fdfaf8b5250100000000000000c5f7618b9d80d894e37364f041cc37cb1350386bc5e236dc91a41948e976c0e60100000000000000b66e24ea84d5e02a7b2b58e20bbf17a0f2a19c4654bf8b07669ba3b9fc4a468101000000000000003c1dcee818434058b7de26ee874ade21bd1149185d6dcba1f67048b931ec3dda01000000000000000d8e0ceb31d11634ff50f20c90d57239a9307602e221baa190c784b144a7eb980100000000000000cab191a66c54e412fbe7fbc074ea0d916279d55d856d870d15bdf88c00538dda010000000000000015b49bdd8cb8b9110a45bd1985746655b330829e1dbe7580ade2fab6531799d301000000000000000428e3ccdba17d779ffba05c9ec7a6264187d13bf89b6009e97200474ad3439701000000000000004c43a374e6b3e6f7d6c5a6b8518ae0d0d232a1c46d63af8fbc800045a14cbe930100000000000000c34f62968a87b2e4a9340a75004029dff5777a020f60fb287f08038491881f220100000000000000f54bb82d58c665ce3289b8765c40e60d84f74da663c164c38e16784d5c142b2c0100000000000000607737116e62ba11852c68515933afb8165f3174d594eef6d01dd7eaddb60ec30100000000000000dea32ed7afbb5b31cb45b6e5daff40fb33e80042994d8d6527ee262e32fb2131010000000000000065dc4c53802befd2acfc3d6d3f66eeb84947e5c15fc7a2165a375352a4faace101000000000000007c39d28f80a16bf0cedb70e36c5ac9063dd9b513c5fbbe2c2222389f428921340100000000000000bdee8597e248688fddc627ad9c95cbebf7d3b5f248b9a742aa2d8e761fa365050100000000000000d28bb3ab66767f313a9510e83fc686e576f0886c03faa6fd2b61eca4e0d5a7d90100000000000000a128a73c5eaa1803618a75bc368c38e4c5cd40999cb72d615b8af1d30cb8cf1d010000000000000020270811c3dc453f37b27d958ef7ad7dd4c7f217c83f94bd0ecd84c60018a8660100000000000000f595e043c5f1974fe8467f514a656265c4e64896b47c6dedddd35bbdcff2bded010000000000000020869a63e7a343094ad0b4ffaa3d83344ffec8c7fb9b177008f78d17eda7dcbf01000000000000003ee731da725307266b32393e3d353b49dcf27f3b55220edbe210af3094f1b2940100000000000000d64083c00178b8dd224afade9792fed8076031bdfe9efc5b8128e6372a9261e201000000000000001c6842f07fb07b318a8d00ce6258844374f8e894853ae5fd4a85c867d3fc32e30100000000000000417e120dbfd0297d59458b48407b62570987f1e907dd6dfa9a20bfe64eb489d80100000000000000443bd12fcb944a0e19b2f76ddd066a713a99d2dd3530a5f39275300d11ac96590100000000000000be724139e9bdd099b70f7edab7d1acf0d05fa1a4ca212f5e2958d31f4272dcda0100000000000000134cf4720486824c6a27fa7892c8d82e805653ba1d98480267ec284a76b792c20100000000000000f701f07489e11959ace47ce003808f4248a6c64b35f51f0551f4a69aa0572e2f0100000000000000c2eb94269c5e5d2ab9a1a300387358679640763b053aca99ba5c1c9083ee717f0100000000000000316bafdefb60951da2738d6c9c2ef1866d139b34b5eab6944d6bae754dd3fb110100000000000000b65475766e6229c87ff34263f5ca58525ab133962bc599ca0eab096ff296f4e60100000000000000ebb1834a568ea7653bc66f394937a0aa4f2f617118d2161e2c11c0d7d2febb9d0100000000000000a51a49fa663cbea3b953fee99f911391d75d638349a2681e30759820c6f3c60b01000000000000000c802c4d0fda23bc38f40210827903d520a0a4cf44ae4da7fb36ff933188faae010000000000000042f47dad5949be7b7b8f81faaec17b1b53465b01b9f8f81e6a45f2fc74e12daf01000000000000007a1291795805dbe300425311ae50ed698450b1912b62e5b5a3264c68bfa970760100000000000000e0df5b2f299314d2d419b46d15c3c8a739182d91c3d4b98cd16c013c3a25c04b01000000000000000150276c1b3d28d42630801c1d4a738ae723887d9286e40ba48d10b0752f7dcc010000000000000098a6defcfeb3dfca36ec46eb373734627a2c395cdd2d886046a11788ed6467af0100000000000000853ba986f8785e8fc1a2ae2fb86f17cc91886d931182ccb8d148379a35cbf02701000000000000009bbc024bfe4f072b94735afda064dc3c7da2b4bc0c50cfad44722543583a372e010000000000000086dee2a2c1977cb6ff99dde8fc5b0cb10dcac44b50b19b80f8252899b091c84b0100000000000000496826b538d97906e14d417b48598d7d591a483ab5f4c6786cd0b96239c2f4cf010000000000000021235f4afb5b0d8ea5123cd4be4205ed27dc25e5e08813563e47f363590928400100000000000000348e8bacc2d40191a6a00e137c745a422ff8fb03148d2ff9cad75efbb7a670140100000000000000768d47629bf074d88ded200706ce2f2ae38434c192129d1736ef8f6af01562b20100000000000000525661070154e9eebb48a7befd2c03e125b218eadb27cb121786678c0f67e5d90100000000000000e12f2b7cb74e1af470eb75f366ab1942e1daa3d84b812d2614b1fbcce156e5c00100000000000000d227434a77cd7b7127c039eb9995aeb025a242c36ca7116372c7c8fe5bc921b50100000000000000510a0c61dca3e1044d3540c08272054462c6353aac4dc06cda265753b126b38501000000000000005db4206baa8706a1b1de0ac7edacbd2a2c93452481808b8fe6c582265b57a60d0100000000000000f8e50e8b63b242e30e5bd266584b6fc690817455d2eac1e04d146dfc1dd3614d0100000000000000761ce3eef4bd0d15601aef70728f54ca72a9859e90841c3d02d5060201671878010000000000000000132d9e682cf8d45ce8efd4bef165a26da5d1349ea1fe9f51abd6dc7622720201000000000000001262625cc59c0e4b7548904c31a02231a601305881a231d4dea45eec6cbbbdcc0100000000000000c3576342cbf99792896ee5329b04ff2eee2fc2bb6d53c5c03d52c8957ee793fb01000000000000006ad4bc289673029ab44f3045eb6fdd3589d05e0e5fd76ee017f650a662f898fb0100000000000000a82f563264d1892dd46873205d03c098d8b03f53e21c797839737e4e5f66a87e010000000000000059dadf17dc0f84c1c334e6a815a04bdfcd0988a3f3bcb713c66ae29e17276cc60100000000000000a54cf1007cb124c12d4fe9c27e1d9aa2c4a238f35be9d6ef4c321f061039ea3f0100000000000000297dc7cf28b3d40a42c5e8faac876bf7227c670e6e031dd0e0537f4fb70e6fbe010000000000000043601ae31cf5b03cb49395dda13809f7398d8670ee4d2172b14a1ab05986ac3b0100000000000000e7f57bd0bc756f24574e3a77c90616adb393e9d4ffceb2c63df19f605cb6a0240100000000000000d207ebfe07d6c8bfd5badd7a25373ef5a9ddac08da3e542e5a9d36439259e8370100000000000000a5f788e86ee2d311357b7aa4a128f063fa4ee36958baf10304c10bde7421aa2c0100000000000000290321d793b7dcb12ad148c2438bb60821bd938b7e9164a0c3d0fc82987f8b6301000000000000002ef11bc5ce1e7b53f788ba01ba581b9171ef36449719ff3eb20973342a4a82850100000000000000ab45f730dd495f657b61b2777091fa8cd11b5a626bea2b514e5e6118021037970100000000000000b79f919442f4ca5ac9195fd09a1239b1a80bd225f8372f1b36a24a8c55de61f201000000000000002832b59000d2027d2bf57fdb40da04bd8aac1498923397517181cc487a92815201000000000000000cd7067f96a2d63fa72065302432f48690485fa5f47c9afab17123e0482785230100000000000000f6f23ae9bb4c269a5959d51f9173270ddefcc354b63de77b672bce58cabe60c801000000000000007a1df073f4a474faa4616f9a6f5d93cedf25716cbe8d05a08afafb570b6e6f9501000000000000004ab3fb4afcd05ee5df8e2bdc39a0a7ec1008355062b9d493fda9158a29f8bee40100000000000000be223d49fdccd102646c9b0d62130fbc8e7f0324d55a3eabaaffb5ed1616795a010000000000000062a91ffda8611ffce3edeb628ea6d3b8b12e5b2448beda6da8334e77a9ecbdd7010000000000000071893ca83ebe6ee06c3eb10dcbfaf70d8267959f6159b4ca36929a69604cadbc010000000000000006cfc80018342011eef81de0346bbc3997cd97f04dcbeccaa30bd4529388976701000000000000007e05f9592cac9232e17c222d076c6abdb6f5f5b8175d5b3858ffdae0324b411f01000000000000004ad600cc461daf6d287d5d2ff0791f74fd7c6aab5714ad50340187a7ce509ea9010000000000000005062bede97a45c6e1c6b593675ee07ce969fae45136cc2b2afc6e705a77f4700100000000000000dc6e03f650e4304ca8d1598dde8d4faf45891987bfc49ef785ace47c4c0b5573010000000000000026cdfb88461d7125f438c599e062799219b385bacca93f3cdbe5418c9d4d499301000000000000000f19c3ed807ad5f2b7546f5e6c5e9bb934835d54ed1f4f989540b86a2ca02b550100000000000000e4c1d1377894eee032e1a60dbac6252e23f35bbb43ce51d5f98652cfee58d5bf0100000000000000666bc268601f06ff4b004b1509bf379603d3f4b7ea684f9638060c0ee5d400620100000000000000f2e75ee2303b2cf903b882c9888cc1c51f978abd58ba88354dcdad717f4b8a590100000000000000b426ef68c50245a003dd068c5c086fc9012c08a7f9ec53fbf7df4318261c8c2c0100000000000000e7931a825260ba7d4fdb5f4990d39a71e2a8b215a776ebf770102ca772f103a3010000000000000095fde7b91441fae9d2a6360d30228392519293be5e78cf3305667595cb15e566010000000000000096847258e5fdd261a8df1b3958366b29d28363aeb96a71c2b705e4c8864b97e10100000000000000e7eb7de26e0e24fd528fbbcecf837f26579784dfd4db512c9237e2811139738701000000000000009f677785cfbf44140bdf38770f3d8076f222aa1c9997842d89d580b0f256198f0100000000000000fe76110186e8a72cb09ec93757b5447cc21d543888903f50e95c68dbea91b06301000000000000003adbd2d5abdb70ef56c2d8bd4a7c0d67882a1c2050a856937491e98496a496fe0100000000000000716a181407939b3ea68289e09265d3b9d8a8f21ba7d9f50d8ef8a86fa3c0fd0301000000000000008e3d1c8c0261e193e87403c8959919ef035ba39175d3ba22f31190303601412e0100000000000000e2cbfcc26562b49e656aed7d837a26fe0f9802db088b10330227b6147e150012010000000000000094416582fe359e0a310da59bf93df8ff9665b89071d4977a9a9f3390b75c0c4501000000000000003c718ab91d9b10efbe954734920955972fcb714627739f8cd97280ea67aa5a020100000000000000ac5230e4338aa51c44ab6a0fb903e6fd914fd029dab8f7ca447be54ceba749340100000000000000a76b32c8c28cce206ddf70ff3ad591ed01a0067f9f9baa77f9052ce938d359c701000000000000003a4bfd825ccd308def4a61bac80c579db42b02ea5f1a0768656a326e83a0dd8801000000000000007fab4769c41af85b9de8e784d3b1cda093fc0a8dffcdff21e914c62f131c77580100000000000000d2f1b3b5f7eb1b0d8328911d9ec920327d7a30729e80c1238f86dfe27c4fa3470100000000000000841584e602ab975c936fe7c2025fcea2b5a0061e839b1ad96528942b33d0974b0100000000000000c6b8a9bf9c374cc7c6bf921877097081f5127027a31739fc472e1099c5b3b0ef0100000000000000280084dd48c4c3ebf743e3a8448e2815fcf183dfd0121c19453278da053c20a30100000000000000ca35d63347f9deafb433ec20ef8c469bf2e21dc5e67c0c048a5a04fa369424ac0100000000000000a4f4bbd302c06389ee3614c0943af03d52364f172ef05021aa93d12aef53c3290100000000000000fe3a0547055f2f40e6a286fd5f0f184ad1cc3cbb43bb7ef8ca03b946ab469c0401000000000000009d56cbbe3020b94ea8cb122df6527ceecc8cade4632e81f23b485e773d27b58c010000000000000085b6321d0044ba1f9ed6baf255065c5d9947cd2fd6067f66dfddc74511fe583b0100000000000000db8e840e99078eaf04cb3f1a4d7973607f3e54060b8d100a966f370daf9adc8f0100000000000000fecf7a7926767c290749d398205bdc5460218121022740d3bbf464ec7de046c4010000000000000098763eb72b3f7dbb7a793bd1d4367af5f072ff45a1a6eae0e002e1eaa24c5d5501000000000000008f95a0bd1121c1269f4cab1936bb6017c778d51fed4f204c52ce7b4fac645df1010000000000000079f73931b31ce353119fb4063412e844b16cb3eb92e592ebd822a8c21303554801000000000000002929dacc53614cea1848e7ba20fdeed7cb0bd81571aa72dfb63dfc84d3965d2b010000000000000031a46e639e57d1a11119b17f76617a35b3606d206fb5c3e87710f464f7a57de50100000000000000ed25d7114e2aef2f0e57dc2be1401a4994d8aaafb30223162634a512604a236601000000000000006e070000000000000001a839320100b91d00000000000000002904050001000000000000002a0d050002000000000000002f16050003000000000000008e1f05000400000000000000ee28050005000000000000004d32050006000000000000009d3b05000700000000000000fd44050008000000000000005c4e05000900000000000000b75705000a00000000000000176105000b00000000000000766a05000c00000000000000d67305000d00000000000000357d05000e00000000000000958605000f00000000000000f58f0500100000000000000055990500110000000000000095a205001200000000000000d8ab050013000000000000000db50500140000000000000024da05001500000000000000aaec05001600000000000000f4f5050017000000000000003bff050018000000000000008b0806001900000000000000992406001a00000000000000f92d06001b000000000000000d4a06001c00000000000000685306001d00000000000000b65c06001e00000000000000f76506001f00000000000000308b060020000000000000007b940600210000000000000025a70600220000000000000033c3060023000000000000007fcc06002400000000000000c3d50600250000000000000011df060026000000000000005ae806002700000000000000a0f106002800000000000000410407002900000000000000880d07002a000000000000001b3c07002b00000000000000764507002c00000000000000357407002d00000000000000239907002e000000000000006fa207002f00000000000000c3ab070030000000000000006abe07003100000000000000bdc7070032000000000000000fd107003300000000000000b2e3070034000000000000000aed07003500000000000000971b080036000000000000009d24080037000000000000009c4008003800000000000000255308003900000000000000735c08003a000000000000000c6f08003b00000000000000048b08003c00000000000000589408003d00000000000000d3c208003e00000000000000e4de08003f000000000000003fe808004000000000000000f7fa08004100000000000000aa0d09004200000000000000153309004300000000000000fc6a090044000000000000003e74090045000000000000009a7d0900460000000000000000a30900470000000000000014db0900480000000000000020130a004900000000000000791c0a004a00000000000000364b0a004b0000000000000043830a004c00000000000000e5950a004d0000000000000045bb0a004e0000000000000059f30a004f000000000000000e060b005000000000000000812b0b005100000000000000dc340b005200000000000000ef500b005300000000000000a3630b005400000000000000b69b0b005500000000000000c7d30b005600000000000000dd0b0c005700000000000000f3430c005800000000000000087c0c00590000000000000052b30c005a0000000000000060eb0c005b00000000000000baf40c005c0000000000000072230d005d00000000000000805b0d005e000000000000007e930d005f000000000000007ccb0d00600000000000000076030e006100000000000000793b0e00620000000000000088730e00630000000000000092ab0e00640000000000000083e30e006500000000000000731b0f00660000000000000079530f006700000000000000748b0f0068000000000000001fc30f006900000000000000d0fa0f006a00000000000000633210006b00000000000000826a10006c0000000000000028a210006d0000000000000005b310006e0000000000000055d810006f000000000000004810110070000000000000006548110071000000000000008e8011007200000000000000bfb811007300000000000000bbf011007400000000000000e828120075000000000000001561120076000000000000003b991200770000000000000058d112007800000000000000770913007900000000000000944113007a00000000000000c07913007b00000000000000e7b113007c000000000000000cea13007d0000000000000067f313007e00000000000000d31814007f000000000000002e22140080000000000000008c2b14008100000000000000545a14008200000000000000ad63140083000000000000000e89140084000000000000006892140085000000000000008dca14008600000000000000b00215008700000000000000d03a15008800000000000000f3721500890000000000000015ab15008a000000000000003be315008b000000000000005d1b16008c00000000000000855316008d00000000000000b18b16008e00000000000000d3c316008f00000000000000e9fb16009000000000000000073417009100000000000000bf4617009200000000000000286c1700930000000000000029a41700940000000000000041dc17009500000000000000591418009600000000000000bf3918009700000000000000704c18009800000000000000948418009900000000000000f28d18009a00000000000000bcbc18009b00000000000000e4f418009c000000000000000b2d19009d000000000000002c6519009e00000000000000896e19009f00000000000000519d1900a00000000000000075d51900a100000000000000920d1a00a200000000000000ec161a00a300000000000000b6451a00a400000000000000887d1a00a50000000000000077b51a00a600000000000000cdbe1a00a70000000000000070ed1a00a80000000000000083091b00a9000000000000004e251b00aa00000000000000fe371b00ab00000000000000065d1b00ac000000000000005f661b00ad00000000000000bd6f1b00ae00000000000000de941b00af00000000000000fecc1b00b0000000000000001f041c00b1000000000000000c321c00b2000000000000002f3b1c00b3000000000000002e721c00b4000000000000000ca01c00b50000000000000044a91c00b60000000000000022e11c00b70000000000000044191d00b8000000000000000c481d00b9000000000000006b511d00ba000000000000008b891d00bb00000000000000a5c11d00bc0000000000000053f91d00bd00000000000000ff301e00be00000000000000054d1e00bf0000000000000002691e00c000000000000000d1a01e00c100000000000000c5d81e00c200000000000000cf101f00c30000000000000083481f00c400000000000000af801f00c500000000000000d0b81f00c600000000000000f0f01f00c7000000000000001b292000c80000000000000039612000c90000000000000054992000ca000000000000004fd12000cb000000000000004c092100cc00000000000000031c2100cd000000000000006d412100ce00000000000000cc4a2100cf0000000000000098792100d000000000000000c4b12100d100000000000000eee92100d20000000000000011222200d300000000000000325a2200d40000000000000055922200d50000000000000075ca2200d6000000000000008f022300d700000000000000b13a2300d800000000000000cd722300d90000000000000078852300da00000000000000ce8e2300db00000000000000bdaa2300dc00000000000000abe22300dd0000000000000012112400de00000000000000501a2400df0000000000000045512400e000000000000000a1882400e1000000000000005fc02400e20000000000000013f82400e30000000000000007302500e40000000000000013682500e500000000000000c37a2500e600000000000000a8962500e700000000000000fb9f2500e80000000000000000d82500e90000000000000019102600ea000000000000002b482600eb0000000000000028802600ec000000000000002eb82600ed0000000000000044d42600ee0000000000000058f02600ef00000000000000b3f92600f00000000000000065282700f10000000000000057602700f20000000000000064982700f3000000000000008dd02700f400000000000000a7ec2700f500000000000000b9082800f600000000000000e0402800f700000000000000f6782800f80000000000000019b12800f90000000000000040e92800fa000000000000006c212900fb00000000000000a0592900fc00000000000000107f2900fd00000000000000bc912900fe00000000000000eac92900ff00000000000000fd012a000001000000000000ff1d2a0001010000000000000c3a2a0002010000000000002b722a00030100000000000005aa2a000401000000000000fce12a0005010000000000004ceb2a000601000000000000e0fd2a000701000000000000c3192b000801000000000000be512b0009010000000000000a772b000a01000000000000ae892b000b01000000000000b0a52b000c01000000000000abc12b000d010000000000009bf92b000e0100000000000093312c000f0100000000000087692c00100100000000000075a12c00110100000000000074d92c00120100000000000089112d00130100000000000099492d001401000000000000b0812d001501000000000000c3b92d001601000000000000d1f12d001701000000000000d6292e001801000000000000e9612e001901000000000000ea992e001a01000000000000efd12e001b01000000000000f8092f001c01000000000000f0412f001d01000000000000e9792f001e0100000000000036832f001f01000000000000b2b12f002001000000000000a9cd2f00210100000000000094e92f0022010000000000007121300023010000000000003b5930002401000000000000089130002501000000000000599a30002601000000000000f6c830002701000000000000e30031002801000000000000c03831002901000000000000a17031002a01000000000000f27931002b010000000000007fa831002c010000000000005de031002d01000000000000aae931002e01000000000000441832002f01000000000000295032003001000000000000fe8732003101000000000000aa9a3200320100000000000010c0320033010000000000003af8320034010000000000005f303300350100000000000059683300360100000000000078a0330037010000000000009bd833003801000000000000cb1034003901000000000000f44834003a010000000000001c8134003b0100000000000044b934003c0100000000000055f134003d010000000000009dfa34003e01000000000000302935003f01000000000000c6573500400100000000000023613500410100000000000053993500420100000000000080d135004301000000000000560036004401000000000000b10936004501000000000000ce4136004601000000000000037a3600470100000000000031b2360048010000000000005fea360049010000000000007b2237004a01000000000000995a37004b01000000000000f56337004c01000000000000c69237004d01000000000000feca37004e01000000000000340338004f01000000000000683b380050010000000000009e7338005101000000000000c9ab38005201000000000000dcc7380053010000000000003cd138005401000000000000f8e338005501000000000000b0f6380056010000000000001c1c390057010000000000007a2539005801000000000000da2e39005901000000000000525439005a01000000000000878c39005b01000000000000bbc439005c01000000000000f3fc39005d0100000000000028353a005e010000000000005f6d3a005f0100000000000098a53a006001000000000000cedd3a0061010000000000000c163b006201000000000000404e3b00630100000000000019853b006401000000000000608e3b006501000000000000b8973b0066010000000000000fa13b006701000000000000a7b33b006801000000000000fabc3b00690100000000000049c63b006a010000000000009ccf3b006b01000000000000eed83b006c01000000000000c1f43b006d0100000000000014fe3b006e0100000000000066073c006f01000000000000b7103c0070010000000000009e2c3c007101000000000000ee353c00720100000000000094483c007301000000000000e0513c0074010000000000007c643c0075010000000000001d773c0076010000000000004b9c3c00770100000000000010d43c007801000000000000d80b3d0079010000000000001a153d007a0100000000000053433d007b01000000000000ea553d007c01000000000000225f3d007d0100000000000072683d007e01000000000000b4713d007f01000000000000fb7a3d0080010000000000007a8d3d008101000000000000b8963d00820100000000000006a03d00830100000000000088b23d008401000000000000c8bb3d0085010000000000000bc53d0086010000000000001dea3d008701000000000000e9053e008801000000000000b5213e0089010000000000003b343e008a01000000000000843d3e008b010000000000005e593e008c010000000000001f913e008d0100000000000065c83e008e010000000000006bed3e008f01000000000000a9f63e009001000000000000f6ff3e009101000000000000c1373f0092010000000000005c4a3f0093010000000000003b663f009401000000000000856f3f009501000000000000cf783f0096010000000000003ea73f009701000000000000ccde3f0098010000000000008516400099010000000000001e2940009a010000000000006e4e40009b01000000000000c35740009c010000000000009b8640009d01000000000000cebe40009e0100000000000001f740009f01000000000000372f4100a00100000000000097384100a10100000000000070674100a201000000000000a99f4100a30100000000000065b24100a401000000000000ddd74100a50100000000000096ea4100a6010000000000000b104200a70100000000000044484200a8010000000000009c514200a9010000000000003b804200aa0100000000000051b84200ab010000000000006fd44200ac010000000000005ef04200ad01000000000000b9f94200ae010000000000006a284300af0100000000000078604300b00100000000000077984300b101000000000000abd04300b20100000000000064e34300b30100000000000072ff4300b401000000000000d2084400b50100000000000008414400b6010000000000002e794400b7010000000000005eb14400b8010000000000007de94400b9010000000000009e214500ba010000000000005d344500bb01000000000000d0594500bc0100000000000006924500bd010000000000001aca4500be010000000000004a024600bf01000000000000603a4600c00100000000000084724600c101000000000000abaa4600c20100000000000047bd4600c3010000000000009ec64600c401000000000000a0e24600c5010000000000005df54600c601000000000000bf1a4700c701000000000000d1524700c8010000000000007f814700c901000000000000dd8a4700ca0100000000000039944700cb01000000000000f2c24700cc0100000000000010fb4700cd01000000000000d5294800ce010000000000002c334800cf01000000000000f9614800d001000000000000596b4800d10100000000000078874800d2010000000000008da34800d301000000000000aadb4800d401000000000000c6134900d501000000000000eb4b4900d601000000000000e7834900d701000000000000f9bb4900d801000000000000b6ce4900d9010000000000001bf44900da010000000000004a2c4a00db0100000000000066644a00dc010000000000002f7d4a00dd0100000000000019994a00de01000000000000c0ab4a00df01000000000000aec74a00e001000000000000fed04a00e101000000000000bbff4a00e20100000000000019094b00e301000000000000902e4b00e40100000000000041414b00e50100000000000010704b00e6010000000000006e794b00e7010000000000002b8c4b00e80100000000000094b14b00e901000000000000a4e94b00ea01000000000000d4214c00eb01000000000000d7594c00ec01000000000000e8914c00ed0100000000000004ae4c00ee01000000000000ebc94c00ef0100000000000014024d00f001000000000000fe394d00f1010000000000000a724d00f201000000000000667b4d00f30100000000000013aa4d00f40100000000000031c64d00f50100000000000037e24d00f6010000000000004afe4d00f7010000000000002c1a4e00f801000000000000ea2c4e00f90100000000000049364e00fa010000000000004e524e00fb01000000000000628a4e00fc0100000000000079a64e00fd010000000000001ab94e00fe0100000000000079c24e00ff0100000000000094de4e000002000000000000aafa4e00010200000000000059324f00020200000000000004654f000302000000000000ff764f0004020000000000000d804f0005020000000000007e924f000602000000000000c29b4f000702000000000000f4d34f000802000000000000160c50000902000000000000504450000a02000000000000877c50000b02000000000000b6b450000c02000000000000e7ec50000d0200000000000046f650000e02000000000000b61b51000f020000000000001625510010020000000000004f5d510011020000000000000f7051001202000000000000889551001302000000000000b5cd5100140200000000000014d751001502000000000000e605520016020000000000001f3e5200170200000000000053765200180200000000000089ae52001902000000000000e8b752001a02000000000000b7e652001b0200000000000074f952001c02000000000000e81e53001d020000000000001a5753001e02000000000000558f53001f020000000000008ac753002002000000000000b9ff53002102000000000000f13754002202000000000000277054002302000000000000418c54002402000000000000d1a354002502000000000000d9c8540026020000000000007edb54002702000000000000b81355002802000000000000e34b55002902000000000000c58355002a02000000000000d6bb55002b0200000000000007f455002c02000000000000c30656002d020000000000002c2c56002e020000000000005d6456002f020000000000008f9c56003002000000000000c9d456003102000000000000070d570032020000000000004345570033020000000000007a7d570034020000000000007d99570035020000000000009ab557003602000000000000b4ed57003702000000000000f225580038020000000000002f5e580039020000000000006b9658003a02000000000000a6ce58003b02000000000000e30659003c02000000000000183f59003d02000000000000517759003e02000000000000ad8059003f020000000000008baf59004002000000000000e9b859004102000000000000c5e75900420200000000000002205a0043020000000000003f585a0044020000000000007c905a004502000000000000bcc85a004602000000000000f1005b004702000000000000111d5b00480200000000000030395b0049020000000000006f715b004a02000000000000aca95b004b02000000000000e9e15b004c02000000000000251a5c004d0200000000000060525c004e020000000000009f8a5c004f02000000000000dbc25c00500200000000000019fb5c00510200000000000058335d005202000000000000956b5d005302000000000000c7a35d005402000000000000f7db5d00550200000000000031145e0056020000000000006f4c5e005702000000000000a7845e005802000000000000e0bc5e0059020000000000003fc65e005a020000000000001cf55e005b02000000000000582d5f005c0200000000000093655f005d02000000000000cf9d5f005e0200000000000005d65f005f02000000000000440e600060020000000000008346600061020000000000006a7e6000620200000000000056b46000630200000000000000ec60006402000000000000a72361006502000000000000e25b61006602000000000000f293610067020000000000001bcc61006802000000000000dade61006902000000000000590462006a02000000000000963c62006b02000000000000cc7462006c020000000000008c8762006d02000000000000ffac62006e020000000000003ae562006f02000000000000731d63007002000000000000b05563007102000000000000e98d630072020000000000001dc6630073020000000000005dfe63007402000000000000993664007502000000000000d86e6400760200000000000017a76400770200000000000051df640078020000000000008a1765007902000000000000c34f65007a02000000000000018865007b020000000000003ec065007c020000000000007af865007d02000000000000b63066007e02000000000000f06866007f0200000000000004a16600800200000000000041d966008102000000000000711167008202000000000000ac4967008302000000000000de8167008402000000000000f8b967008502000000000000b8cc6700860200000000000035f2670087020000000000006e2a680088020000000000001c3d680089020000000000007f6268008a02000000000000ba9a68008b02000000000000f3d268008c02000000000000310b69008d02000000000000704369008e02000000000000ae7b69008f02000000000000eeb3690090020000000000002bec6900910200000000000065246a009202000000000000a45c6a009302000000000000e0946a0094020000000000001dcd6a009502000000000000dbdf6a00960200000000000059056b00970200000000000018186b009802000000000000923d6b009902000000000000b0756b009a02000000000000e6ad6b009b0200000000000021e66b009c020000000000005e1e6c009d0200000000000096566c009e02000000000000d28e6c009f020000000000000ac76c00a00200000000000047ff6c00a10200000000000077376d00a202000000000000876f6d00a3020000000000000fa76d00a40200000000000059dc6d00a50200000000000022146e00a602000000000000464c6e00a70200000000000071846e00a802000000000000eea96e00a902000000000000aabc6e00aa0200000000000085eb6e00ab02000000000000e4f46e00ac020000000000001c2d6f00ad02000000000000da3f6f00ae0200000000000053656f00af020000000000008c9d6f00b002000000000000c4d56f00b102000000000000d90d7000b202000000000000d7457000b302000000000000f67d7000b402000000000000deb57000b502000000000000b2ed7000b602000000000000a9257100b702000000000000975d7100b802000000000000338c7100b9020000000000007e957100ba0200000000000068b17100bb0200000000000050cd7100bc020000000000001c057200bd02000000000000610e7200be02000000000000c13c7200bf020000000000006b747200c0020000000000005aac7200c10200000000000032e47200c202000000000000dcf67200c302000000000000321c7300c4020000000000002b547300c5020000000000007d8b7300c60200000000000020c37300c702000000000000cefa7300c8020000000000003c327400c9020000000000009b697400ca02000000000000eda07400cb0200000000000056d87400cc0200000000000090107500cd02000000000000ad2c7500ce020000000000000b367500cf02000000000000c7487500d002000000000000fe807500d10200000000000039b97500d20200000000000073f17500d30200000000000030047600d4020000000000004b207600d502000000000000a9297600d60200000000000006337600d702000000000000d3617600d80200000000000090747600d902000000000000089a7600da020000000000002fd27600db020000000000001a0a7700dc0200000000000022427700dd02000000000000007a7700de02000000000000d2b17700df02000000000000f8e97700e0020000000000002b227800e102000000000000635a7800e202000000000000a0927800e302000000000000daca7800e40200000000000011037900e502000000000000483b7900e60200000000000085737900e702000000000000b1ab7900e802000000000000dae37900e902000000000000121c7a00ea0200000000000049547a00eb02000000000000878c7a00ec02000000000000bfc47a00ed02000000000000edfc7a00ee0200000000000026357b00ef02000000000000606d7b00f0020000000000009da57b00f102000000000000cddd7b00f20200000000000006167c00f3020000000000003f4e7c00f402000000000000fb607c00f50200000000000077867c00f602000000000000b4be7c00f70200000000000014c87c00f802000000000000e0f67c00f9020000000000001b2f7d00fa0200000000000058677d00fb02000000000000959f7d00fc02000000000000d2d77d00fd02000000000000ec0f7e00fe0200000000000025487e00ff020000000000005f807e0000030000000000009ab87e000103000000000000d3f07e000203000000000000ee0c7f0003030000000000000a297f000403000000000000c53b7f00050300000000000043617f0006030000000000007b997f000703000000000000b9d17f000803000000000000f20980000903000000000000284280000a030000000000005e7a80000b0300000000000099b280000c03000000000000d2ea80000d03000000000000082381000e030000000000003e5b81000f030000000000007b9381001003000000000000b8cb81001103000000000000f30382001203000000000000313c82001303000000000000697482001403000000000000a6ac82001503000000000000c4c882001603000000000000e0e482001703000000000000ff00830018030000000000001e1d83001903000000000000dd2f83001a030000000000005b5583001b03000000000000988d83001c03000000000000d5c583001d0300000000000010fe83001e030000000000004e3684001f03000000000000826e84002003000000000000bba684002103000000000000f5de840022030000000000006f0485002303000000000000cc0d850024030000000000002c1785002503000000000000ea2985002603000000000000634f850027030000000000007e6b850028030000000000009a878500290300000000000017ad85002a03000000000000d2bf85002b0300000000000031c985002c030000000000000ef885002d030000000000004a3086002e03000000000000866886002f03000000000000bea086003003000000000000f2d8860031030000000000002a1187003203000000000000871a870033030000000000006449870034030000000000001d5c87003503000000000000998187003603000000000000cfb987003703000000000000eed5870038030000000000000cf2870039030000000000004a2a88003a03000000000000a83388003b03000000000000826288003c03000000000000b69a88003d03000000000000efd288003e030000000000002d0b89003f030000000000004d27890040030000000000006c4389004103000000000000ab7b89004203000000000000eab38900430300000000000028ec8900440300000000000068248a004503000000000000a05c8a004603000000000000b4948a004703000000000000f4cc8a00480300000000000030058b0049030000000000006f3d8b004a030000000000008e598b004b03000000000000ae758b004c03000000000000ecad8b004d0300000000000028e68b004e03000000000000331e8c004f030000000000004f568c0050030000000000008e8e8c005103000000000000c7c68c00520300000000000005ff8c00530300000000000041378d005403000000000000746f8d005503000000000000a4a78d00560300000000000064ba8d005703000000000000e4df8d0058030000000000000a188e00590300000000000023508e005a0300000000000027888e005b03000000000000d89a8e005c0300000000000043c08e005d0300000000000082f88e005e03000000000000c0308f005f03000000000000ff688f0060030000000000001ba18f00610300000000000059d98f006203000000000000981190006303000000000000d64990006403000000000000f56590006503000000000000158290006603000000000000758b9000670300000000000053ba9000680300000000000092f290006903000000000000d22a91006a03000000000000106391006b03000000000000489b91006c03000000000000a2a491006d030000000000001bd391006e03000000000000530992006f03000000000000d32e9200700300000000000090419200710300000000000074799200720300000000000094b19200730300000000000072e092007403000000000000d2e992007503000000000000b21893007603000000000000122293007703000000000000445a93007803000000000000739293007903000000000000f3b793007a03000000000000abca93007b030000000000005ddd93007c03000000000000c40294007d03000000000000e13a94007e03000000000000217394007f0300000000000059ab9400800300000000000090e394008103000000000000c31b95008203000000000000ea53950083030000000000009866950084030000000000000b8c9500850300000000000046c49500860300000000000057fc950087030000000000008f3496008803000000000000cf6c960089030000000000000ba596008a0300000000000045dd96008b03000000000000a3e696008c03000000000000801597008d03000000000000bc4d97008e03000000000000f78597008f030000000000002ebe9700900300000000000030f6970091030000000000005a2e98009203000000000000956698009303000000000000d49e9800940300000000000014d7980095030000000000003b0f990096030000000000006c4799009703000000000000ac7f9900980300000000000078b79900990300000000000026ca99009a030000000000007cef99009b0300000000000085279a009c03000000000000be5f9a009d03000000000000fd979a009e03000000000000b9aa9a009f0300000000000022d09a00a0030000000000003dec9a00a10300000000000058089b00a20300000000000074249b00a3030000000000008b409b00a403000000000000e4499b00a50300000000000038789b00a60300000000000076819b00a703000000000000e4af9b00a803000000000000b7e79b00a903000000000000731f9c00aa03000000000000a6289c00ab030000000000002f3b9c00ac0300000000000012579c00ad030000000000005d609c00ae03000000000000cb8e9c00af0300000000000057a19c00b00300000000000086c69c00b1030000000000005afe9c00b20300000000000002369d00b303000000000000bc6d9d00b40300000000000099a59d00b5030000000000004edd9d00b603000000000000db149e00b703000000000000e0399e00b803000000000000724c9e00b9030000000000002a849e00ba03000000000000ee9f9e00bb03000000000000d1bb9e00bc030000000000007df39e00bd03000000000000f02a9f00be030000000000006a629f00bf03000000000000ff999f00c0030000000000002ed19f00c1030000000000004608a000c203000000000000893fa000c303000000000000a476a000c403000000000000dfada000c5030000000000001cb7a000c6030000000000003ce5a000c703000000000000921ca100c8030000000000008c53a100c903000000000000988aa100ca0300000000000010a6a100cb03000000000000a0c1a100cc03000000000000e5d3a100cd0300000000000072f8a100ce030000000000007c2fa200cf030000000000003766a200d003000000000000389da200d10300000000000056a6a200d203000000000000a9b8a200d303000000000000cac1a200d4030000000000001ad4a200d503000000000000200ba300d6030000000000002714a300d703000000000000bc41a300d8030000000000006778a300d9030000000000000aafa300da0300000000000046dca300db0300000000000065e5a300dc03000000000000a81ba400dd03000000000000d72da400de030000000000002352a400df030000000000006288a400e003000000000000c1bea400e103000000000000f8f4a400e203000000000000212ba500e3030000000000003f61a500e403000000000000656aa500e503000000000000e497a500e60300000000000040cea500e703000000000000b204a600e803000000000000fc3aa600e9030000000000009471a600ea0300000000000037a8a600eb030000000000001adfa600ec03000000000000ea0ca700ed030000000000000e16a700ee030000000000005228a700ef030000000000007d31a700f003000000000000034da700f1030000000000002084a700f2030000000000004a8da700f303000000000000a99fa700f403000000000000f6baa700f503000000000000c1f1a700f603000000000000be28a800f703000000000000a65fa800f8030000000000003e7ba800f903000000000000c296a800fa03000000000000c3cda800fb03000000000000d504a900fc03000000000000f83ba900fd030000000000005f73a900fe03000000000000ceaaa900ff030000000000000bb4a900000400000000000005e2a90001040000000000005e19aa000204000000000000c12baa0003040000000000008e50aa000404000000000000fd62aa0005040000000000008175aa000604000000000000fa87aa0007040000000000002f91aa0008040000000000005dbfaa000904000000000000a3c8aa000a04000000000000e5f6aa000b04000000000000e41bab000c040000000000005b2eab000d04000000000000e765ab000e040000000000004c9dab000f0400000000000085a6ab001004000000000000b8d4ab001104000000000000fdddab0012040000000000003b0cac001304000000000000d043ac001404000000000000827bac001504000000000000b8a0ac0016040000000000005bb3ac00170400000000000029ebac0018040000000000006af4ac0019040000000000000e07ad001a04000000000000f422ad001b04000000000000432cad001c040000000000009935ad001d04000000000000ee3ead001e04000000000000d55aad001f04000000000000bd76ad002004000000000000a592ad00210400000000000076caad002204000000000000f6dcad002304000000000000e001ae0024040000000000004f39ae0025040000000000001371ae0026040000000000005f7aae002704000000000000fc8cae002804000000000000cda8ae0029040000000000005ebbae002a0400000000000081e0ae002b040000000000004f18af002c040000000000001e50af002d04000000000000e687af002e04000000000000a0bfaf002f040000000000005ff7af003004000000000000042fb0003104000000000000da66b00032040000000000009a9eb000330400000000000063d6b0003404000000000000300eb1003504000000000000da45b10036040000000000009a7db100370400000000000050b5b100380400000000000029edb1003904000000000000971bb2003a04000000000000e024b2003b04000000000000995cb2003c040000000000006694b2003d0400000000000048b0b2003e040000000000002eccb2003f0400000000000075d5b200400400000000000008e8b2004104000000000000e703b3004204000000000000ce1fb3004304000000000000b63bb30044040000000000000d45b30045040000000000009f57b30046040000000000007573b3004704000000000000c67cb30048040000000000003aabb3004904000000000000e4e2b3004a04000000000000651ab4004b04000000000000f951b4004c040000000000009389b4004d0400000000000025c1b4004e04000000000000f6f8b4004f04000000000000241eb5005004000000000000b130b50051040000000000007068b500520400000000000040a0b5005304000000000000ecd7b50054040000000000000510b60055040000000000003e48b60056040000000000007a80b6005704000000000000b7b8b6005804000000000000f3f0b60059040000000000002f29b7005a04000000000000ae4eb7005b040000000000006861b7005c04000000000000a599b7005d04000000000000ded1b7005e040000000000005cf7b7005f04000000000000160ab80060040000000000005042b8006104000000000000964bb8006204000000000000687ab8006304000000000000a6b2b800640400000000000066c5b8006504000000000000e5eab80066040000000000000423b90067040000000000003f5bb90068040000000000005d77b90069040000000000007b93b9006a04000000000000b7cbb9006b04000000000000ef03ba006c04000000000000133cba006d040000000000003358ba006e040000000000005174ba006f0400000000000042acba0070040000000000006ce4ba007104000000000000a21cbb007204000000000000e054bb007304000000000000405ebb0074040000000000001b8dbb0075040000000000002ec5bb0076040000000000006dfdbb007704000000000000a435bc007804000000000000d06dbc0079040000000000000ca6bc007a040000000000004adebc007b040000000000008716bd007c04000000000000c34ebd007d04000000000000fc86bd007e040000000000003bbfbd007f040000000000007af7bd008004000000000000d500be008104000000000000b32fbe008204000000000000ea67be00830400000000000027a0be00840400000000000065d8be008504000000000000a410bf008604000000000000dd48bf0087040000000000003b52bf0088040000000000001881bf0089040000000000008fb8bf008a04000000000000cbc1bf008b04000000000000f8efbf008c040000000000007602c0008d040000000000008327c0008e04000000000000075fc0008f040000000000005d96c000900400000000000009cec00091040000000000003b06c10092040000000000002d3ec10093040000000000006476c10094040000000000007aaec1009504000000000000b9e6c1009604000000000000ef1ec20097040000000000002c57c2009804000000000000698fc20099040000000000008cc7c2009a040000000000009effc2009b04000000000000da37c3009c04000000000000ee6fc3009d0400000000000029a8c3009e0400000000000067e0c3009f04000000000000240fc400a0040000000000008218c400a104000000000000b150c400a204000000000000c088c400a304000000000000d2c0c400a404000000000000f6f8c400a5040000000000001231c500a604000000000000d143c500a7040000000000004d69c500a80400000000000089a1c500a904000000000000c4d9c500aa040000000000000112c600ab040000000000005c1bc600ac040000000000003a4ac600ad040000000000007482c600ae04000000000000abbac600af04000000000000e4f2c600b0040000000000001d2bc700b1040000000000002e47c700b2040000000000004863c700b304000000000000687fc700b404000000000000829bc700b5040000000000009bd3c700b604000000000000d80bc800b7040000000000001144c800b804000000000000704dc800b904000000000000d056c800ba040000000000004e7cc800bb0400000000000080b4c800bc04000000000000b1ecc800bd040000000000009808c900be040000000000008d24c900bf04000000000000c75cc900c004000000000000df94c900c104000000000000feb0c900c2040000000000001dcdc900c3040000000000004605ca00c4040000000000006e3dca00c5040000000000009e75ca00c604000000000000029bca00c704000000000000aeadca00c8040000000000008adcca00c904000000000000eae5ca00ca04000000000000251ecb00cb04000000000000fa55cb00cc04000000000000778ccb00cd04000000000000eec3cb00ce0400000000000005fccb00cf040000000000004134cc00d004000000000000716ccc00d10400000000000096a4cc00d204000000000000d3dccc00d30400000000000086efcc00d4040000000000000215cd00d504000000000000ac27cd00d604000000000000264dcd00d7040000000000008656cd00d8040000000000006385cd00d9040000000000003bb4cd00da0400000000000099bdcd00db04000000000000d8f5cd00dc04000000000000172ece00dd040000000000005366ce00de04000000000000909ece00df04000000000000b7d6ce00e00400000000000068e9ce00e104000000000000cc0ecf00e2040000000000000547cf00e304000000000000427fcf00e40400000000000079b7cf00e504000000000000b8efcf00e604000000000000f427d000e7040000000000000b60d000e8040000000000004698d000e90400000000000083d0d000ea04000000000000c008d100eb04000000000000fa40d100ec040000000000003679d100ed0400000000000073b1d100ee0400000000000087cdd100ef04000000000000a6e9d100f004000000000000e521d200f1040000000000001e5ad200f2040000000000005692d200f30400000000000092cad200f40400000000000052ddd200f504000000000000ce02d300f604000000000000e13ad300f7040000000000003444d300f804000000000000dc56d300f904000000000000ef72d300fa040000000000004d7cd300fb0400000000000024abd300fc04000000000000a1d0d300fd040000000000005be3d300fe04000000000000901bd400ff04000000000000ce53d40000050000000000000a8cd40001050000000000003ac4d40002050000000000004ae0d400030500000000000069fcd4000405000000000000a134d50005050000000000006047d5000605000000000000de6cd50007050000000000001ba5d500080500000000000058ddd50009050000000000009415d6000a05000000000000d24dd6000b05000000000000f085d6000c050000000000001ebed6000d05000000000000fbecd6000e050000000000005bf6d6000f050000000000008b2ed7001005000000000000c566d7001105000000000000029fd700120500000000000036d7d70013050000000000006f0fd80014050000000000009f47d8001505000000000000c97fd8001605000000000000e4b7d80017050000000000001ff0d80018050000000000005928d90019050000000000009560d9001a050000000000005473d9001b05000000000000718fd9001c05000000000000d198d9001d0500000000000031a2d9001e050000000000000fd1d9001f05000000000000cfe3d90020050000000000004f09da0021050000000000008941da002205000000000000b979da002305000000000000edb1da00240500000000000047bbda00250500000000000054d7da00260500000000000007eada00270500000000000067f3da0028050000000000003a22db0029050000000000005e5adb002a050000000000007892db002b05000000000000b0cadb002c05000000000000e702dc002d05000000000000183bdc002e050000000000007644dc002f050000000000002773dc003005000000000000dd85dc0031050000000000004dabdc00320500000000000086e3dc003305000000000000bb1bdd003405000000000000944add003505000000000000f453dd003605000000000000ad66dd003705000000000000298cdd00380500000000000060c4dd0039050000000000009cfcdd003a05000000000000fa05de003b05000000000000d734de003c05000000000000b56cde003d0500000000000045a4de003e05000000000000a1d2de003f05000000000000e4dbde0040050000000000002fe5de0041050000000000003c05df004205000000000000d81adf004305000000000000d636df0044050000000000002840df004505000000000000d252df004605000000000000cf6edf004705000000000000a9a6df004805000000000000eeafdf00490500000000000047b9df004a05000000000000b1dedf004b050000000000000de8df004c050000000000006e0de0004d05000000000000cb16e0004e05000000000000d84ee0004f050000000000007886e0005005000000000000b3bee0005105000000000000c3f6e0005205000000000000fe2ee10053050000000000002c67e1005405000000000000e679e1005505000000000000a68ce1005605000000000000629fe10057050000000000009bd7e10058050000000000005806e2005905000000000000b10fe2005a05000000000000e647e2005b050000000000001880e2005c050000000000007689e2005d050000000000004cb8e2005e050000000000007ef0e2005f05000000000000b228e3006005000000000000e760e30061050000000000002499e300620500000000000060d1e30063050000000000009c09e4006405000000000000d441e4006505000000000000334be40066050000000000000a7ae4006705000000000000e0a8e400680500000000000040b2e40069050000000000006feae4006a05000000000000a022e5006b05000000000000de5ae5006c050000000000001a93e5006d0500000000000055cbe5006e050000000000000bdee5006f050000000000008203e6007005000000000000db0ce6007105000000000000b53be6007205000000000000f073e60073050000000000004e7de60074050000000000002cace60075050000000000008cb5e60076050000000000006be4e6007705000000000000a51ce7007805000000000000dc54e7007905000000000000168de7007a050000000000004ac5e7007b0500000000000057fde7007c050000000000009335e8007d05000000000000d06de8007e050000000000002e77e8007f0500000000000004a6e80080050000000000003fdee80081050000000000007b16e9008205000000000000b74ee9008305000000000000e886e900840500000000000015bfe900850500000000000046f7e9008605000000000000602fea0087050000000000000442ea0088050000000000005a4bea0089050000000000006a67ea008a05000000000000889fea008b05000000000000daa8ea008c0500000000000079d7ea008d050000000000009f0feb008e050000000000005c22eb008f050000000000001c35eb009005000000000000d847eb0091050000000000000e80eb0092050000000000003eb8eb00930500000000000076f0eb009405000000000000ad28ec009505000000000000e660ec0096050000000000002399ec00970500000000000060d1ec0098050000000000009e09ed0099050000000000005e1ced009a05000000000000da41ed009b050000000000009654ed009c050000000000005567ed009d05000000000000127aed009e050000000000004ab2ed009f0500000000000082eaed00a005000000000000e1f3ed00a105000000000000bd22ee00a205000000000000fa5aee00a3050000000000003493ee00a405000000000000929cee00a50500000000000070cbee00a605000000000000ac03ef00a705000000000000eb3bef00a805000000000000fb73ef00a905000000000000feabef00aa05000000000000bebeef00ab0500000000000038e4ef00ac050000000000004e1cf000ad050000000000008854f000ae05000000000000958cf000af05000000000000c5c4f000b005000000000000fffcf000b1050000000000002e35f100b205000000000000de47f100b305000000000000466df100b4050000000000005da5f100b50500000000000094ddf100b605000000000000c115f200b705000000000000fa4df200b8050000000000002d86f200b90500000000000067bef200ba05000000000000a0f6f200bb05000000000000b52ef300bc050000000000003254f300bd05000000000000ef66f300be05000000000000239ff300bf0500000000000032d7f300c005000000000000dde9f300c1050000000000001e0ff400c2050000000000004f47f400c3050000000000008d7ff400c4050000000000006bb7f400c5050000000000009beff400c605000000000000c927f500c705000000000000ff5ff500c8050000000000003198f500c90500000000000063d0f500ca050000000000008908f600cb05000000000000c240f600cc050000000000001d66f600cd05000000000000ca78f600ce05000000000000fbb0f600cf0500000000000031e9f600d0050000000000006021f700d1050000000000009e59f700d205000000000000d891f700d3050000000000000acaf700d4050000000000004402f800d5050000000000007b3af800d605000000000000fa5ff800d705000000000000b672f800d805000000000000ebaaf800d90500000000000048b4f800da0500000000000024e3f800db05000000000000601bf900dc050000000000009753f900dd05000000000000ac8bf900de05000000000000e3c3f900df050000000000001cfcf900e0050000000000005934fa00e105000000000000936cfa00e205000000000000a7a4fa00e305000000000000dfdcfa00e4050000000000001a15fb00e5050000000000004d4dfb00e605000000000000a656fb00e7050000000000007b85fb00e805000000000000a2bdfb00e905000000000000dff5fb00ea050000000000005f1bfc00eb050000000000001e2efc00ec050000000000005266fc00ed050000000000000c79fc00ee05000000000000cc8bfc00ef050000000000002995fc00f005000000000000899efc00f105000000000000c1d6fc00f2050000000000007ee9fc00f3050000000000003dfcfc00f405000000000000f00efd00f5050000000000004c18fd00f6050000000000001a47fd00f7050000000000004a7ffd00f80500000000000086b7fd00f905000000000000beeffd00fa050000000000001ef9fd00fb05000000000000ee27fe00fc050000000000000944fe00fd050000000000002560fe00fe05000000000000307cfe00ff050000000000002798fe000006000000000000e2aafe00010600000000000042b4fe0002060000000000005dd0fe0003060000000000009a08ff000406000000000000ca40ff000506000000000000244aff000606000000000000f278ff0007060000000000002db1ff00080600000000000063e9ff000906000000000000712100010a06000000000000313400010b060000000000004c5000010c06000000000000ac5900010d06000000000000b49100010e06000000000000e3c900010f06000000000000f60101011006000000000000103a010111060000000000003056010112060000000000004c720101130600000000000084aa01011406000000000000c2e201011506000000000000fe1a02011606000000000000235302011706000000000000618b020118060000000000009dc3020119060000000000005ad602011a06000000000000badf02011b06000000000000d7fb02011c06000000000000370503011d06000000000000f71703011e06000000000000133403011f06000000000000516c03012006000000000000107f030121060000000000008da403012206000000000000cadc03012306000000000000f81404012406000000000000324d0401250600000000000070850401260600000000000080bd040127060000000000008bf504012806000000000000842d05012906000000000000d73605012a060000000000008b6505012b06000000000000c19d05012c06000000000000f9d505012d060000000000002e0e06012e06000000000000664606012f060000000000009d7e06013006000000000000d7b60601310600000000000011ef06013206000000000000442707013306000000000000725f07013406000000000000af9707013506000000000000e7cf070136060000000000001f0808013706000000000000372408013806000000000000544008013906000000000000917808013a06000000000000c8b008013b0600000000000001e908013c060000000000000f2109013d06000000000000085909013e06000000000000a99009013f06000000000000b5c809014006000000000000c5000a014106000000000000d2380a01420600000000000006710a014306000000000000f5a80a0144060000000000002be10a01450600000000000012190b01460600000000000048510b01470600000000000086890b014806000000000000e5920b014906000000000000c4c10b014a0600000000000000fa0b014b060000000000001d320c014c060000000000000b6a0c014d06000000000000c5980c014e060000000000001aa20c014f06000000000000d7d00c0150060000000000002dda0c01510600000000000069120d015206000000000000a44a0d015306000000000000df820d0154060000000000001dbb0d01550600000000000055f30d015606000000000000852b0e01570600000000000083630e015806000000000000c39b0e0159060000000000001ba50e015a060000000000007bae0e015b06000000000000f7d30e015c06000000000000afe60e015d06000000000000290c0f015e0600000000000065440f015f06000000000000db690f016006000000000000977c0f016106000000000000d2b40f016206000000000000ecec0f016306000000000000062510016406000000000000ea5c10016506000000000000f49410016606000000000000ffcc100167060000000000005ed610016806000000000000d6fb10016906000000000000340511016a06000000000000613d11016b060000000000008b7511016c06000000000000919111016d06000000000000abad11016e06000000000000e0e511016f060000000000001d1e120170060000000000005556120171060000000000006c8e120172060000000000008aaa12017306000000000000a3c612017406000000000000bdfe12017506000000000000f83613017606000000000000126f130177060000000000006c9413017806000000000000c99d1301790600000000000029a713017a060000000000005bdf13017b06000000000000b8e813017c0600000000000016f213017d060000000000008d1714017e06000000000000ec2014017f06000000000000a43314018006000000000000bc4f14018106000000000000d58714018206000000000000919a1401830600000000000005c0140184060000000000005fc914018506000000000000f8f714018606000000000000a10a15018706000000000000fa1315018806000000000000561d15018906000000000000fa2f15018a06000000000000513915018b06000000000000aa4215018c06000000000000106815018d060000000000002f8415018e060000000000004ba015018f060000000000002cbc15019006000000000000ccce1501910600000000000019d81501920600000000000076e115019306000000000000331016019406000000000000664816019506000000000000998016019606000000000000d5b81601970600000000000093cb16019806000000000000f3d4160199060000000000000ff116019a06000000000000cd0317019b06000000000000492917019c06000000000000a33217019d06000000000000444517019e060000000000003a6117019f06000000000000117d1701a0060000000000001c991701a10600000000000059d11701a2060000000000008c091801a306000000000000c2411801a4060000000000001e4b1801a50600000000000037671801a606000000000000f2791801a7060000000000001fb21801a806000000000000dec41801a90600000000000056ea1801aa0600000000000005fd1801ab0600000000000079221901ac06000000000000b25a1901ad06000000000000e5921901ae06000000000000f9ca1901af060000000000005df01901b00600000000000017031a01b1060000000000003a3b1a01b206000000000000e64d1a01b30600000000000044731a01b406000000000000a37c1a01b50600000000000078ab1a01b6060000000000006ee31a01b706000000000000921b1b01b806000000000000be531b01b9060000000000001d5d1b01ba06000000000000ec8b1b01bb0600000000000009c41b01bc06000000000000e5fb1b01bd06000000000000f1331c01be06000000000000ef6b1c01bf06000000000000a39a1c01c006000000000000fba31c01c106000000000000f2db1c01c206000000000000f8131d01c306000000000000df4b1d01c40600000000000075831d01c506000000000000aaa81d01c6060000000000003bbb1d01c7060000000000002fd71d01c80600000000000017f31d01c90600000000000067fc1d01ca06000000000000ad211e01cb06000000000000fb2a1e01cc0600000000000052341e01cd06000000000000da621e01ce06000000000000c87e1e01cf06000000000000b09a1e01d00600000000000089d21e01d1060000000000000fe51e01d2060000000000005fee1e01d3060000000000003b0a1f01d406000000000000f8411f01d50600000000000098541f01d606000000000000ac5d1f01d70600000000000094791f01d8060000000000006eb11f01d90600000000000038e91f01da060000000000000b212001db06000000000000e6582001dc06000000000000c8902001dd0600000000000062a32001de060000000000007ac82001df060000000000001cdb2001e0060000000000005d002101e10600000000000021382101e206000000000000f76f2101e3060000000000003d792101e406000000000000cea72101e50600000000000095df2101e6060000000000006e172201e706000000000000334f2201e80600000000000085582201e90600000000000010872201ea06000000000000eea22201eb06000000000000cbbe2201ec06000000000000a9da2201ed060000000000009ef62201ee060000000000003d092301ef06000000000000782e2301f0060000000000000c412301f1060000000000005e4a2301f20600000000000045662301f3060000000000003b822301f406000000000000299e2301f506000000000000fed52301f606000000000000990d2401f7060000000000002c202401f806000000000000173c2401f90600000000000063452401fa06000000000000fd572401fb060000000000002a7d2401fc0600000000000000b52401fd06000000000000b8ec2401fe0600000000000037242501ff06000000000000155c25010007000000000000e69325010107000000000000a6cb25010207000000000000630326010307000000000000b30c260104070000000000000916260105070000000000005b1f26010607000000000000523b260107070000000000004857260108070000000000002d732601090700000000000018ab26010a07000000000000fdc626010b07000000000000ede226010c070000000000008d1127010d07000000000000e31a27010e07000000000000cc5227010f07000000000000ac8a270110070000000000004b9d2701110700000000000090c22701120700000000000087fa27011307000000000000583228011407000000000000fe6928011507000000000000557328011607000000000000f4a128011707000000000000ced9280118070000000000007d1129011907000000000000414929011a070000000000001a8129011b07000000000000deb829011c07000000000000bff029011d07000000000000a8282a011e070000000000008b602a011f07000000000000dc692a0120070000000000002d732a0121070000000000007a7c2a012207000000000000198f2a01230700000000000069982a01240700000000000003ab2a0125070000000000004ab42a0126070000000000009ebd2a01270700000000000041d02a012807000000000000e7e22a01290700000000000089f52a012a0700000000000023082b012b07000000000000cb1a2b012c0700000000000018242b012d070000000000006b2d2b012e07000000000000ba362b012f070000000000000e402b013007000000000000af522b013107000000000000035c2b0132070000000000004c652b0133070000000000009b6e2b013407000000000000e4772b013507000000000000abaf2b013607000000000000f8b82b01370700000000000052c22b013807000000000000f0d42b0139070000000000008de72b013a0700000000000081032c013b070000000000005e1f2c013c070000000000004a3b2c013d0700000000000037572c013e070000000000000a8f2c013f070000000000005e982c014007000000000000eeaa2c0141070000000000007fbd2c014207000000000000d2c62c014307000000000000b6fe2c0144070000000000008f362d014507000000000000426e2d014607000000000000d9a52d014707000000000000a0dd2d0148070000000000003df02d0149070000000000004f152e014a07000000000000971e2e014b07000000000000e2272e014c0700000000000035312e014d07000000000000cb432e014e07000000000000174d2e014f07000000000000a57b2e015007000000000000f8842e015107000000000000e0bc2e015207000000000000bdf42e0153070000000000009d2c2f015407000000000000e9352f015507000000000000353f2f015607000000000000cf512f0157070000000000006e642f0158070000000000001b772f015907000000000000659c2f015a070000000000005bd42f015b0700000000000001e72f015c07000000000000470c30015d07000000000000464430015e07000000000000904d30015f07000000000000e456300160070000000000003b6030016107000000000000327c30016207000000000000d68e300163070000000000002d983001640700000000000032b430016507000000000000faeb30016607000000000000f12331016707000000000000c65b310168070000000000001c6531016907000000000000bb9331016a0700000000000002b931016b07000000000000a4cb31016c07000000000000870332016d07000000000000721f3201" }, "name": "Polkadot", "properties": { diff --git a/artifacts/polkadot_metadata_full.scale b/artifacts/polkadot_metadata_full.scale index 2f58b0fd9e..3767f67211 100644 Binary files a/artifacts/polkadot_metadata_full.scale and b/artifacts/polkadot_metadata_full.scale differ diff --git a/artifacts/polkadot_metadata_small.scale b/artifacts/polkadot_metadata_small.scale index 1e89a0ce91..86f4d6732b 100644 Binary files a/artifacts/polkadot_metadata_small.scale and b/artifacts/polkadot_metadata_small.scale differ diff --git a/artifacts/polkadot_metadata_tiny.scale b/artifacts/polkadot_metadata_tiny.scale index 7dce918539..73372dfa17 100644 Binary files a/artifacts/polkadot_metadata_tiny.scale and b/artifacts/polkadot_metadata_tiny.scale differ diff --git a/cli/Cargo.toml b/cli/Cargo.toml index fe5b70176c..5f0dca45d5 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -15,6 +15,7 @@ description = "Command line utilities for working with subxt codegen" [[bin]] name = "subxt" path = "src/main.rs" +doc = false [lints] workspace = true diff --git a/cli/src/commands/codegen.rs b/cli/src/commands/codegen.rs index 704c2b4ade..e83e941b8e 100644 --- a/cli/src/commands/codegen.rs +++ b/cli/src/commands/codegen.rs @@ -46,7 +46,7 @@ pub struct Opts { #[clap(long = "substitute-type", value_parser = substitute_type_parser)] substitute_types: Vec<(String, String)>, /// The `subxt` crate access path in the generated code. - /// Defaults to `::subxt`. + /// Defaults to `::subxt::ext::subxt_core`. #[clap(long = "crate")] crate_path: Option, /// Do not generate documentation for the runtime API code. diff --git a/cli/src/commands/explore/pallets/calls.rs b/cli/src/commands/explore/pallets/calls.rs index f5d9609a2e..9fd3f3a0ef 100644 --- a/cli/src/commands/explore/pallets/calls.rs +++ b/cli/src/commands/explore/pallets/calls.rs @@ -154,10 +154,7 @@ fn mocked_offline_client(metadata: Metadata) -> OfflineClient { H256::from_str("91b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3") .expect("Valid hash; qed"); - let runtime_version = subxt::backend::RuntimeVersion { - spec_version: 9370, - transaction_version: 20, - }; + let runtime_version = subxt::client::RuntimeVersion::new(9370, 20); OfflineClient::::new(genesis_hash, runtime_version, metadata) } diff --git a/cli/src/commands/explore/pallets/constants.rs b/cli/src/commands/explore/pallets/constants.rs index dd5e5faddc..a267c401f8 100644 --- a/cli/src/commands/explore/pallets/constants.rs +++ b/cli/src/commands/explore/pallets/constants.rs @@ -64,8 +64,11 @@ pub fn explore_constants( .highlight(); // value - let value = - scale_value::scale::decode_as_type(&mut constant.value(), constant.ty(), metadata.types())?; + let value = scale_value::scale::decode_as_type( + &mut constant.value(), + &constant.ty(), + metadata.types(), + )?; let value = format_scale_value(&value).indent(4); writedoc!( diff --git a/cli/src/commands/explore/pallets/storage.rs b/cli/src/commands/explore/pallets/storage.rs index 0c932c8f1a..543406bd57 100644 --- a/cli/src/commands/explore/pallets/storage.rs +++ b/cli/src/commands/explore/pallets/storage.rs @@ -169,7 +169,7 @@ pub async fn explore_storage( {value_str} "}?; - let key_bytes = value.encode_as_type(type_id, metadata.types())?; + let key_bytes = value.encode_as_type(&type_id, metadata.types())?; let bytes_composite = Value::from_bytes(key_bytes); vec![bytes_composite] } diff --git a/cli/src/commands/explore/runtime_apis/mod.rs b/cli/src/commands/explore/runtime_apis/mod.rs index cdd5681e26..cd233f068a 100644 --- a/cli/src/commands/explore/runtime_apis/mod.rs +++ b/cli/src/commands/explore/runtime_apis/mod.rs @@ -19,7 +19,7 @@ use subxt_metadata::RuntimeApiMetadata; /// Runs for a specified runtime API trait. /// Cases to consider: -/// ```norun +/// ```txt /// method is: /// None => Show pallet docs + available methods /// Some (invalid) => Show Error + available methods @@ -161,9 +161,8 @@ pub async fn run<'a>( {value_str} "}?; // encode, then decode. This ensures that the scale value is of the correct shape for the param: - let bytes = value.encode_as_type(ty.ty, metadata.types())?; - let value = Value::decode_as_type(&mut &bytes[..], ty.ty, metadata.types())? - .map_context(|_| ()); + let bytes = value.encode_as_type(&ty.ty, metadata.types())?; + let value = Value::decode_as_type(&mut &bytes[..], &ty.ty, metadata.types())?; Ok(value) }) .collect::>>()?; diff --git a/codegen/Cargo.toml b/codegen/Cargo.toml index 1cf9638bae..5ffde7e92f 100644 --- a/codegen/Cargo.toml +++ b/codegen/Cargo.toml @@ -26,7 +26,7 @@ syn = { workspace = true } scale-info = { workspace = true } subxt-metadata = { workspace = true } jsonrpsee = { workspace = true, features = ["async-client", "client-ws-transport-native-tls", "http-client"], optional = true } -hex = { workspace = true } +hex = { workspace = true, features = ["std"] } tokio = { workspace = true, features = ["rt-multi-thread"], optional = true } thiserror = { workspace = true } scale-typegen = { workspace = true } diff --git a/codegen/src/api/calls.rs b/codegen/src/api/calls.rs index 1eaf6fac9a..8a173cf25a 100644 --- a/codegen/src/api/calls.rs +++ b/codegen/src/api/calls.rs @@ -6,6 +6,7 @@ use super::CodegenError; use heck::{ToSnakeCase as _, ToUpperCamelCase as _}; use proc_macro2::TokenStream as TokenStream2; use quote::{format_ident, quote}; +use scale_typegen::typegen::ir::ToTokensWithSettings; use scale_typegen::{typegen::ir::type_ir::CompositeIRKind, TypeGenerator}; use subxt_metadata::PalletMetadata; @@ -16,7 +17,7 @@ use subxt_metadata::PalletMetadata; /// /// - `type_gen` - [`scale_typegen::TypeGenerator`] that contains settings and all types from the runtime metadata. /// - `pallet` - Pallet metadata from which the calls are generated. -/// - `crate_path` - The crate path under which subxt is located, e.g. `::subxt` when using subxt as a dependency. +/// - `crate_path` - The crate path under which the `subxt-core` crate is located, e.g. `::subxt::ext::subxt_core` when using subxt as a dependency. pub fn generate_calls( type_gen: &TypeGenerator, pallet: &PalletMetadata, @@ -41,9 +42,9 @@ pub fn generate_calls( .iter() .map(|(name, field)| { // Note: fn_arg_type this is relative the type path of the type alias when prefixed with `types::`, e.g. `set_max_code_size::New` - let fn_arg_type = &field.type_path; + let fn_arg_type = field.type_path.to_token_stream(type_gen.settings()); let call_arg = if field.is_boxed { - quote! { #name: ::std::boxed::Box::new(#name) } + quote! { #name: #crate_path::alloc::boxed::Box::new(#name) } } else { quote! { #name } }; @@ -71,7 +72,9 @@ pub fn generate_calls( let docs = &var.composite.docs; // this converts the composite into a full struct type. No Type Parameters needed here. - let struct_def = type_gen.upcast_composite(&var.composite); + let struct_def = type_gen + .upcast_composite(&var.composite) + .to_token_stream(type_gen.settings()); let alias_mod = var.type_alias_mod; // The call structure's documentation was stripped above. let call_struct = quote! { @@ -105,7 +108,9 @@ pub fn generate_calls( .into_iter() .unzip(); - let call_type = type_gen.resolve_type_path(call_ty)?; + let call_type = type_gen + .resolve_type_path(call_ty)? + .to_token_stream(type_gen.settings()); let call_ty = type_gen.resolve_type(call_ty)?; let docs = type_gen.docs_from_scale_info(&call_ty.docs); diff --git a/codegen/src/api/constants.rs b/codegen/src/api/constants.rs index 30bd93484e..108e5cb765 100644 --- a/codegen/src/api/constants.rs +++ b/codegen/src/api/constants.rs @@ -5,6 +5,7 @@ use heck::ToSnakeCase as _; use proc_macro2::TokenStream as TokenStream2; use quote::{format_ident, quote}; +use scale_typegen::typegen::ir::ToTokensWithSettings; use scale_typegen::TypeGenerator; use subxt_metadata::PalletMetadata; @@ -31,7 +32,7 @@ use super::CodegenError; /// /// - `type_gen` - [`scale_typegen::TypeGenerator`] that contains settings and all types from the runtime metadata. /// - `pallet` - Pallet metadata from which the constants are generated. -/// - `crate_path` - The crate path under which subxt is located, e.g. `::subxt` when using subxt as a dependency. +/// - `crate_path` - The crate path under which the `subxt-core` crate is located, e.g. `::subxt::ext::subxt_core` when using subxt as a dependency. pub fn generate_constants( type_gen: &TypeGenerator, pallet: &PalletMetadata, @@ -55,7 +56,9 @@ pub fn generate_constants( )); }; - let return_ty = type_gen.resolve_type_path(constant.ty())?; + let return_ty = type_gen + .resolve_type_path(constant.ty())? + .to_token_stream(type_gen.settings()); let docs = constant.docs(); let docs = type_gen .settings() diff --git a/codegen/src/api/custom_values.rs b/codegen/src/api/custom_values.rs index a528071474..b1b864d2f3 100644 --- a/codegen/src/api/custom_values.rs +++ b/codegen/src/api/custom_values.rs @@ -3,12 +3,13 @@ // see LICENSE for license details. use heck::ToSnakeCase as _; +use scale_typegen::typegen::ir::ToTokensWithSettings; use scale_typegen::TypeGenerator; use std::collections::HashSet; use subxt_metadata::{CustomValueMetadata, Metadata}; use proc_macro2::TokenStream as TokenStream2; -use quote::{quote, ToTokens}; +use quote::quote; /// Generate the custom values mod, if there are any custom values in the metadata. Else returns None. pub fn generate_custom_values( @@ -60,8 +61,8 @@ fn generate_custom_value_fn( let return_ty = type_gen .resolve_type_path(custom_value.type_id()) .expect("type is in metadata; qed") - .to_token_stream(); - let decodable = quote!(#crate_path::custom_values::Yes); + .to_token_stream(type_gen.settings()); + let decodable = quote!(#crate_path::utils::Yes); (return_ty, decodable) } else { // if type registry does not contain the type, we can just return the Encoded scale bytes. diff --git a/codegen/src/api/errors.rs b/codegen/src/api/errors.rs index 38cbca7479..0d02897729 100644 --- a/codegen/src/api/errors.rs +++ b/codegen/src/api/errors.rs @@ -8,6 +8,7 @@ use scale_typegen::TypeGenerator; use subxt_metadata::PalletMetadata; use super::CodegenError; +use scale_typegen::typegen::ir::ToTokensWithSettings; /// Generate error type alias from the provided pallet metadata. pub fn generate_error_type_alias( @@ -18,7 +19,9 @@ pub fn generate_error_type_alias( return Ok(quote!()); }; - let error_type = type_gen.resolve_type_path(error_ty)?; + let error_type = type_gen + .resolve_type_path(error_ty)? + .to_token_stream(type_gen.settings()); let error_ty = type_gen.resolve_type(error_ty)?; let docs = &error_ty.docs; let docs = type_gen diff --git a/codegen/src/api/events.rs b/codegen/src/api/events.rs index 445d66424c..7503a98066 100644 --- a/codegen/src/api/events.rs +++ b/codegen/src/api/events.rs @@ -2,13 +2,13 @@ // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. +use super::CodegenError; use proc_macro2::TokenStream as TokenStream2; use quote::quote; +use scale_typegen::typegen::ir::ToTokensWithSettings; use scale_typegen::TypeGenerator; use subxt_metadata::PalletMetadata; -use super::CodegenError; - /// Generate events from the provided pallet metadata. /// /// The function creates a new module named `events` under the pallet's module. @@ -37,7 +37,7 @@ use super::CodegenError; /// /// - `type_gen` - [`scale_typegen::TypeGenerator`] that contains settings and all types from the runtime metadata. /// - `pallet` - Pallet metadata from which the events are generated. -/// - `crate_path` - The crate path under which subxt is located, e.g. `::subxt` when using subxt as a dependency. +/// - `crate_path` - The crate path under which the `subxt-core` crate is located, e.g. `::subxt::ext::subxt_core` when using subxt as a dependency. pub fn generate_events( type_gen: &TypeGenerator, pallet: &PalletMetadata, @@ -56,7 +56,9 @@ pub fn generate_events( let event_struct_name = &var.composite.name; let event_name = var.variant_name; let alias_mod = var.type_alias_mod; - let struct_def = type_gen.upcast_composite(&var.composite); + let struct_def = type_gen + .upcast_composite(&var.composite) + .to_token_stream(type_gen.settings()); quote! { #struct_def #alias_mod @@ -68,7 +70,9 @@ pub fn generate_events( } }); - let event_type = type_gen.resolve_type_path(event_ty)?; + let event_type = type_gen + .resolve_type_path(event_ty)? + .to_token_stream(type_gen.settings()); let event_ty = type_gen.resolve_type(event_ty)?; let docs = &event_ty.docs; let docs = type_gen diff --git a/codegen/src/api/mod.rs b/codegen/src/api/mod.rs index df6c43b0a1..393dccfe04 100644 --- a/codegen/src/api/mod.rs +++ b/codegen/src/api/mod.rs @@ -13,6 +13,7 @@ mod runtime_apis; mod storage; use scale_typegen::typegen::ir::type_ir::{CompositeFieldIR, CompositeIR, CompositeIRKind}; +use scale_typegen::typegen::ir::ToTokensWithSettings; use scale_typegen::typegen::type_params::TypeParameters; use scale_typegen::typegen::type_path::TypePath; use scale_typegen::TypeGenerator; @@ -44,7 +45,7 @@ impl RuntimeGenerator { /// /// Supported versions: v14 and v15. pub fn new(mut metadata: Metadata) -> Self { - metadata.ensure_unique_type_paths(); + scale_typegen::utils::ensure_unique_type_paths(metadata.types_mut()); RuntimeGenerator { metadata } } @@ -72,7 +73,9 @@ impl RuntimeGenerator { subxt_type_gen_settings(derives, type_substitutes, &crate_path, should_gen_docs); let type_gen = TypeGenerator::new(self.metadata.types(), &settings); - let types_mod = type_gen.generate_types_mod()?; + let types_mod = type_gen + .generate_types_mod()? + .to_token_stream(type_gen.settings()); let mod_ident = &item_mod_ir.ident; let rust_items = item_mod_ir.rust_items(); @@ -121,7 +124,9 @@ impl RuntimeGenerator { subxt_type_gen_settings(derives, type_substitutes, &crate_path, should_gen_docs); let type_gen = TypeGenerator::new(self.metadata.types(), &settings); - let types_mod = type_gen.generate_types_mod()?; + let types_mod = type_gen + .generate_types_mod()? + .to_token_stream(type_gen.settings()); let types_mod_ident = type_gen.types_mod_ident(); let pallets_with_mod_names = self .metadata @@ -214,9 +219,15 @@ impl RuntimeGenerator { // Fetch the paths of the outer enums. // Substrate exposes those under `kitchensink_runtime`, while Polkadot under `polkadot_runtime`. - let call_path = type_gen.resolve_type_path(self.metadata.outer_enums().call_enum_ty())?; - let event_path = type_gen.resolve_type_path(self.metadata.outer_enums().event_enum_ty())?; - let error_path = type_gen.resolve_type_path(self.metadata.outer_enums().error_enum_ty())?; + let call_path = type_gen + .resolve_type_path(self.metadata.outer_enums().call_enum_ty())? + .to_token_stream(type_gen.settings()); + let event_path = type_gen + .resolve_type_path(self.metadata.outer_enums().event_enum_ty())? + .to_token_stream(type_gen.settings()); + let error_path = type_gen + .resolve_type_path(self.metadata.outer_enums().error_enum_ty())? + .to_token_stream(type_gen.settings()); let custom_values = generate_custom_values(&self.metadata, &type_gen, &crate_path); @@ -399,7 +410,7 @@ pub fn generate_type_alias_mod( .expect("composite name in snake_case should be a valid identifier"); let mut modify_field_to_be_type_alias = |field: &mut CompositeFieldIR, alias_name: Ident| { - let type_path = &field.type_path; + let type_path = field.type_path.to_token_stream(type_gen.settings()); aliases.push(quote!(pub type #alias_name = #type_path;)); let type_alias_path: syn::Path = parse_quote!(#alias_mod_name::#alias_name); diff --git a/codegen/src/api/runtime_apis.rs b/codegen/src/api/runtime_apis.rs index 31af5ea5be..b242cb4f10 100644 --- a/codegen/src/api/runtime_apis.rs +++ b/codegen/src/api/runtime_apis.rs @@ -7,6 +7,7 @@ use std::collections::HashSet; use heck::ToSnakeCase as _; use heck::ToUpperCamelCase as _; +use scale_typegen::typegen::ir::ToTokensWithSettings; use scale_typegen::TypeGenerator; use subxt_metadata::{Metadata, RuntimeApiMetadata}; @@ -77,7 +78,7 @@ fn generate_runtime_api( // Generate alias for runtime type. let ty = type_gen .resolve_type_path(input.ty) - .expect("runtime api input type is in metadata; qed"); + .expect("runtime api input type is in metadata; qed").to_token_stream(type_gen.settings()); let aliased_param = quote!( pub type #alias_name = #ty; ); // Structures are placed on the same level as the alias module. @@ -96,7 +97,7 @@ fn generate_runtime_api( let type_aliases = inputs.iter().map(|(_, _, _, aliased_param)| aliased_param); let types_mod_ident = type_gen.types_mod_ident(); - let output = type_gen.resolve_type_path(method.output_ty())?; + let output = type_gen.resolve_type_path(method.output_ty())?.to_token_stream(type_gen.settings()); let aliased_module = quote!( pub mod #method_name { use super::#types_mod_ident; diff --git a/codegen/src/api/storage.rs b/codegen/src/api/storage.rs index 9ea3832e94..95dbdf7d2a 100644 --- a/codegen/src/api/storage.rs +++ b/codegen/src/api/storage.rs @@ -8,11 +8,13 @@ use quote::{format_ident, quote}; use scale_info::TypeDef; use scale_typegen::{typegen::type_path::TypePath, TypeGenerator}; use subxt_metadata::{ - PalletMetadata, StorageEntryMetadata, StorageEntryModifier, StorageEntryType, + PalletMetadata, StorageEntryMetadata, StorageEntryModifier, StorageEntryType, StorageHasher, }; use super::CodegenError; +use scale_typegen::typegen::ir::ToTokensWithSettings; + /// Generate functions which create storage addresses from the provided pallet's metadata. /// These addresses can be used to access and iterate over storage values. /// @@ -20,7 +22,7 @@ use super::CodegenError; /// /// - `type_gen` - [`scale_typegen::TypeGenerator`] that contains settings and all types from the runtime metadata. /// - `pallet` - Pallet metadata from which the storage items are generated. -/// - `crate_path` - The crate path under which subxt is located, e.g. `::subxt` when using subxt as a dependency. +/// - `crate_path` - The crate path under which the `subxt-core` crate is located, e.g. `::subxt::ext::subxt_core` when using subxt as a dependency. pub fn generate_storage( type_gen: &TypeGenerator, pallet: &PalletMetadata, @@ -69,49 +71,90 @@ fn generate_storage_entry_fns( let storage_entry_ty = storage_entry.entry_type().value_ty(); let storage_entry_value_ty = type_gen .resolve_type_path(storage_entry_ty) - .expect("storage type is in metadata; qed"); + .expect("storage type is in metadata; qed") + .to_token_stream(type_gen.settings()); let alias_name = format_ident!("{}", storage_entry.name().to_upper_camel_case()); let alias_module_name = format_ident!("{snake_case_name}"); let alias_storage_path = quote!( types::#alias_module_name::#alias_name ); - let storage_entry_map = |idx, id| { - let ident: Ident = format_ident!("_{}", idx); + struct MapEntryKey { + arg_name: Ident, + alias_type_def: TokenStream, + alias_type_path: TokenStream, + hasher: StorageHasher, + } + + let map_entry_key = |idx, id, hasher| -> MapEntryKey { + let arg_name: Ident = format_ident!("_{}", idx); let ty_path = type_gen .resolve_type_path(id) .expect("type is in metadata; qed"); let alias_name = format_ident!("Param{}", idx); - let alias_type = primitive_type_alias(&ty_path); + let alias_type = primitive_type_alias(&ty_path, type_gen.settings()); - let alias_type = quote!( pub type #alias_name = #alias_type; ); - let path_to_alias = quote!( types::#alias_module_name::#alias_name ); + let alias_type_def = quote!( pub type #alias_name = #alias_type; ); + let alias_type_path = quote!( types::#alias_module_name::#alias_name ); - (ident, alias_type, path_to_alias) + MapEntryKey { + arg_name, + alias_type_def, + alias_type_path, + hasher, + } }; - let keys: Vec<(Ident, TokenStream, TokenStream)> = match storage_entry.entry_type() { + let keys: Vec = match storage_entry.entry_type() { StorageEntryType::Plain(_) => vec![], - StorageEntryType::Map { key_ty, .. } => { + StorageEntryType::Map { + key_ty, hashers, .. + } => { match &type_gen .resolve_type(*key_ty) .expect("key type should be present") .type_def { // An N-map; return each of the keys separately. - TypeDef::Tuple(tuple) => tuple - .fields - .iter() - .enumerate() - .map(|(idx, f)| storage_entry_map(idx, f.id)) - .collect::>(), + TypeDef::Tuple(tuple) => { + let key_count = tuple.fields.len(); + let hasher_count = hashers.len(); + if hasher_count != 1 && hasher_count != key_count { + return Err(CodegenError::InvalidStorageHasherCount { + storage_entry_name: storage_entry.name().to_owned(), + key_count, + hasher_count, + }); + } + + let mut map_entry_keys: Vec = vec![]; + for (idx, field) in tuple.fields.iter().enumerate() { + // Note: these are in bounds because of the checks above, qed; + let hasher = if idx >= hasher_count { + hashers[0] + } else { + hashers[idx] + }; + map_entry_keys.push(map_entry_key(idx, field.id, hasher)); + } + map_entry_keys + } // A map with a single key; return the single key. _ => { - vec![storage_entry_map(0, *key_ty)] + let Some(hasher) = hashers.first() else { + return Err(CodegenError::InvalidStorageHasherCount { + storage_entry_name: storage_entry.name().to_owned(), + key_count: 1, + hasher_count: 0, + }); + }; + + vec![map_entry_key(0, *key_ty, *hasher)] } } } }; + let pallet_name = pallet.name(); let storage_name = storage_entry.name(); let Some(storage_hash) = pallet.storage_hash(storage_name) else { @@ -129,10 +172,14 @@ fn generate_storage_entry_fns( .unwrap_or_default(); let is_defaultable_type = match storage_entry.modifier() { - StorageEntryModifier::Default => quote!(#crate_path::storage::address::Yes), + StorageEntryModifier::Default => quote!(#crate_path::utils::Yes), StorageEntryModifier::Optional => quote!(()), }; + // Note: putting `#crate_path::storage::address::StaticStorageKey` into this variable is necessary + // to get the line width below a certain limit. If not done, rustfmt will refuse to format the following big expression. + // for more information see [this post](https://users.rust-lang.org/t/rustfmt-silently-fails-to-work/75485/4). + let static_storage_key: TokenStream = quote!(#crate_path::storage::address::StaticStorageKey); let all_fns = (0..=keys.len()).map(|n_keys| { let keys_slice = &keys[..n_keys]; let (fn_name, is_fetchable, is_iterable) = if n_keys == keys.len() { @@ -146,12 +193,65 @@ fn generate_storage_entry_fns( }; (fn_name, false, true) }; - let is_fetchable_type = is_fetchable.then_some(quote!(#crate_path::storage::address::Yes)).unwrap_or(quote!(())); - let is_iterable_type = is_iterable.then_some(quote!(#crate_path::storage::address::Yes)).unwrap_or(quote!(())); - let key_impls = keys_slice.iter().map(|(field_name, _, _)| quote!( #crate_path::storage::address::make_static_storage_map_key(#field_name.borrow()) )); - let key_args = keys_slice.iter().map(|(field_name, _, path_to_alias )| { - quote!( #field_name: impl ::std::borrow::Borrow<#path_to_alias> ) - }); + let is_fetchable_type = is_fetchable + .then_some(quote!(#crate_path::utils::Yes)) + .unwrap_or(quote!(())); + let is_iterable_type = is_iterable + .then_some(quote!(#crate_path::utils::Yes)) + .unwrap_or(quote!(())); + + let (keys, keys_type) = match keys_slice.len() { + 0 => (quote!(()), quote!(())), + 1 => { + let key = &keys_slice[0]; + if key.hasher.ends_with_key() { + let arg = &key.arg_name; + let keys = quote!(#static_storage_key::new(#arg.borrow())); + let path = &key.alias_type_path; + let path = quote!(#static_storage_key<#path>); + (keys, path) + } else { + (quote!(()), quote!(())) + } + } + _ => { + let keys_iter = keys_slice.iter().map( + |MapEntryKey { + arg_name, hasher, .. + }| { + if hasher.ends_with_key() { + quote!( #static_storage_key::new(#arg_name.borrow()) ) + } else { + quote!(()) + } + }, + ); + let keys = quote!( (#(#keys_iter,)*) ); + let paths_iter = keys_slice.iter().map( + |MapEntryKey { + alias_type_path, + hasher, + .. + }| { + if hasher.ends_with_key() { + quote!( #static_storage_key<#alias_type_path> ) + } else { + quote!(()) + } + }, + ); + let paths = quote!( (#(#paths_iter,)*) ); + (keys, paths) + } + }; + + let key_args = keys_slice.iter().map( + |MapEntryKey { + arg_name, + alias_type_path, + .. + }| quote!( #arg_name: impl ::core::borrow::Borrow<#alias_type_path> ), + ); quote!( #docs @@ -159,7 +259,7 @@ fn generate_storage_entry_fns( &self, #(#key_args,)* ) -> #crate_path::storage::address::Address::< - #crate_path::storage::address::StaticStorageMapKey, + #keys_type, #alias_storage_path, #is_fetchable_type, #is_defaultable_type, @@ -168,14 +268,16 @@ fn generate_storage_entry_fns( #crate_path::storage::address::Address::new_static( #pallet_name, #storage_name, - vec![#(#key_impls,)*], + #keys, [#(#storage_hash,)*] ) } ) }); - let alias_types = keys.iter().map(|(_, alias_type, _)| alias_type); + let alias_types = keys + .iter() + .map(|MapEntryKey { alias_type_def, .. }| alias_type_def); let types_mod_ident = type_gen.types_mod_ident(); // Generate type alias for the return type only, since @@ -198,16 +300,20 @@ fn generate_storage_entry_fns( )) } -fn primitive_type_alias(type_path: &TypePath) -> TokenStream { +fn primitive_type_alias( + type_path: &TypePath, + settings: &scale_typegen::TypeGeneratorSettings, +) -> TokenStream { // Vec is cast to [T] if let Some(ty) = type_path.vec_type_param() { + let ty = ty.to_token_stream(settings); return quote!([#ty]); } // String is cast to str if type_path.is_string() { return quote!(::core::primitive::str); } - quote!(#type_path) + type_path.to_token_stream(settings) } #[cfg(test)] @@ -231,7 +337,7 @@ mod tests { name, modifier: v15::StorageEntryModifier::Optional, ty: v15::StorageEntryType::Map { - hashers: vec![], + hashers: vec![v15::StorageHasher::Blake2_128Concat], key, value: meta_type::(), }, @@ -325,7 +431,7 @@ mod tests { let expected_storage_constructor = quote!( fn #name_ident( &self, - _0: impl ::std::borrow::Borrow, + _0: impl ::core::borrow::Borrow, ) ); dbg!(&generated_str); diff --git a/codegen/src/error.rs b/codegen/src/error.rs index cb95354a20..4a77d247af 100644 --- a/codegen/src/error.rs +++ b/codegen/src/error.rs @@ -39,15 +39,21 @@ pub enum CodegenError { #[error("Call variant for type {0} must have all named fields. Make sure you are providing a valid substrate-based metadata")] InvalidCallVariant(u32), /// Type should be an variant/enum. - #[error( - "{0} type should be an variant/enum type. Make sure you are providing a valid substrate-based metadata" - )] + #[error("{0} type should be an variant/enum type. Make sure you are providing a valid substrate-based metadata")] InvalidType(String), /// Extrinsic call type could not be found. - #[error( - "Extrinsic call type could not be found. Make sure you are providing a valid substrate-based metadata" - )] + #[error("Extrinsic call type could not be found. Make sure you are providing a valid substrate-based metadata")] MissingCallType, + /// There are too many or too few hashers. + #[error("Could not generate functions for storage entry {storage_entry_name}. There are {key_count} keys, but only {hasher_count} hashers. The number of hashers must equal the number of keys or be exactly 1.")] + InvalidStorageHasherCount { + /// The name of the storage entry + storage_entry_name: String, + /// Number of keys + key_count: usize, + /// Number of hashers + hasher_count: usize, + }, /// Cannot generate types. #[error("Type Generation failed: {0}")] TypeGeneration(#[from] TypegenError), diff --git a/codegen/src/lib.rs b/codegen/src/lib.rs index 47631888a9..ac95e57da1 100644 --- a/codegen/src/lib.rs +++ b/codegen/src/lib.rs @@ -25,6 +25,7 @@ use getrandom as _; use api::RuntimeGenerator; use proc_macro2::TokenStream as TokenStream2; +use scale_typegen::typegen::settings::AllocCratePath; use scale_typegen::{ typegen::settings::substitutes::absolute_path, DerivesRegistry, TypeGeneratorSettings, TypeSubstitutes, TypegenError, @@ -77,7 +78,7 @@ pub struct CodegenBuilder { impl Default for CodegenBuilder { fn default() -> Self { CodegenBuilder { - crate_path: syn::parse_quote!(::subxt), + crate_path: syn::parse_quote!(::subxt::ext::subxt_core), use_default_derives: true, use_default_substitutions: true, generate_docs: true, @@ -222,12 +223,12 @@ impl CodegenBuilder { self.item_mod = item_mod; } - /// Set the path to the `subxt` crate. By default, we expect it to be at `::subxt`. + /// Set the path to the `subxt` crate. By default, we expect it to be at `::subxt::ext::subxt_core`. pub fn set_subxt_crate_path(&mut self, crate_path: syn::Path) { self.crate_path = crate_path; } - /// Generate an interface, assuming that the default path to the `subxt` crate is `::subxt`. + /// Generate an interface, assuming that the default path to the `subxt` crate is `::subxt::ext::subxt_core`. /// If the `subxt` crate is not available as a top level dependency, use `generate` and provide /// a valid path to the `subxt¦ crate. pub fn generate(self, metadata: Metadata) -> Result { @@ -295,7 +296,7 @@ impl CodegenBuilder { /// The default [`scale_typegen::TypeGeneratorSettings`], subxt is using for generating code. /// Useful for emulating subxt's code generation settings from e.g. subxt-explorer. pub fn default_subxt_type_gen_settings() -> TypeGeneratorSettings { - let crate_path: syn::Path = parse_quote!(::subxt); + let crate_path: syn::Path = parse_quote!(::subxt::ext::subxt_core); let derives = default_derives(&crate_path); let substitutes = default_substitutes(&crate_path); subxt_type_gen_settings(derives, substitutes, &crate_path, true) @@ -316,6 +317,7 @@ fn subxt_type_gen_settings( compact_as_type_path: Some(parse_quote!(#crate_path::ext::codec::CompactAs)), compact_type_path: Some(parse_quote!(#crate_path::ext::codec::Compact)), insert_codec_attributes: true, + alloc_crate_path: AllocCratePath::Custom(parse_quote!(#crate_path::alloc)), } } @@ -387,7 +389,10 @@ fn default_substitutes(crate_path: &syn::Path) -> TypeSubstitutes { parse_quote!(BTreeMap), parse_quote!(#crate_path::utils::KeyedVec), ), - (parse_quote!(BTreeSet), parse_quote!(::std::vec::Vec)), + ( + parse_quote!(BTreeSet), + parse_quote!(#crate_path::alloc::vec::Vec), + ), // The `UncheckedExtrinsic(pub Vec)` is part of the runtime API calls. // The inner bytes represent the encoded extrinsic, however when deriving the // `EncodeAsType` the bytes would be re-encoded. This leads to the bytes diff --git a/core/Cargo.toml b/core/Cargo.toml new file mode 100644 index 0000000000..41be81d824 --- /dev/null +++ b/core/Cargo.toml @@ -0,0 +1,82 @@ +[package] +name = "subxt-core" +version.workspace = true +authors.workspace = true +edition.workspace = true +rust-version.workspace = true +publish = true + +license.workspace = true +readme = "README.md" +repository.workspace = true +documentation.workspace = true +homepage.workspace = true +description = "A no-std compatible subset of Subxt's functionality" +keywords = ["parity", "subxt", "extrinsic", "no-std"] + +[features] +default = ["std"] +std = [ + "codec/std", + "scale-info/std", + "scale-value/std", + "scale-bits/std", + "scale-decode/std", + "scale-encode/std", + "frame-metadata/std", + "subxt-metadata/std", + "hex/std", + "serde/std", + "serde_json/std", + "tracing/std", + "impl-serde/std", + "primitive-types/std", +] +substrate-compat = ["sp-core", "sp-runtime"] + +[dependencies] + +codec = { package = "parity-scale-codec", workspace = true, default-features = false, features = ["derive"] } +scale-info = { workspace = true, default-features = false, features = ["bit-vec"] } +scale-value = { workspace = true, default-features = false } +scale-bits = { workspace = true, default-features = false } +scale-decode = { workspace = true, default-features = false, features = ["derive", "primitive-types"] } +scale-encode = { workspace = true, default-features = false, features = ["derive", "primitive-types", "bits"] } +frame-metadata = { workspace = true, default-features = false } +subxt-metadata = { workspace = true, default-features = false } +derive-where = { workspace = true } +derive_more = { workspace = true } +hex = { workspace = true, default-features = false, features = ["alloc"] } +serde = { workspace = true, default-features = false, features = ["derive"] } +serde_json = { workspace = true, default-features = false, features = ["raw_value", "alloc"] } +hashbrown = { workspace = true } + + +# For ss58 encoding AccountId32 to serialize them properly: +base58 = { workspace = true } +blake2 = { workspace = true } + +# Provides some deserialization, types like U256/H256 and hashing impls like twox/blake256: +impl-serde = { workspace = true, default-features = false } +primitive-types = { workspace = true, default-features = false, features = ["codec", "serde_no_std", "scale-info"] } +sp-crypto-hashing = { workspace = true } + +# Included if the "substrate-compat" feature is enabled. +sp-core = { workspace = true, optional = true } +sp-runtime = { workspace = true, optional = true } +tracing = { workspace = true, default-features = false } + +[dev-dependencies] +bitvec = { workspace = true } +codec = { workspace = true, features = ["derive", "bit-vec"] } +sp-core = { workspace = true } +sp-keyring = { workspace = true } +sp-runtime = { workspace = true } + + +[package.metadata.docs.rs] +defalt-features = true +rustdoc-args = ["--cfg", "docsrs"] + +[package.metadata.playground] +defalt-features = true diff --git a/core/README.md b/core/README.md new file mode 100644 index 0000000000..fb25fabfa7 --- /dev/null +++ b/core/README.md @@ -0,0 +1,3 @@ +# Subxt-Core + +This library provides a no-std compatible subset of functionality that `subxt` and `subxt-signer` rely on. \ No newline at end of file diff --git a/core/src/blocks/mod.rs b/core/src/blocks/mod.rs new file mode 100644 index 0000000000..5fca97cb87 --- /dev/null +++ b/core/src/blocks/mod.rs @@ -0,0 +1,19 @@ +use scale_decode::DecodeAsFields; + +/// Trait to uniquely identify the extrinsic's identity from the runtime metadata. +/// +/// Generated API structures that represent an extrinsic implement this trait. +/// +/// The trait is utilized to decode emitted extrinsics from a block, via obtaining the +/// form of the `Extrinsic` from the metadata. +pub trait StaticExtrinsic: DecodeAsFields { + /// Pallet name. + const PALLET: &'static str; + /// Call name. + const CALL: &'static str; + + /// Returns true if the given pallet and call names match this extrinsic. + fn is_extrinsic(pallet: &str, call: &str) -> bool { + Self::PALLET == pallet && Self::CALL == call + } +} diff --git a/core/src/client/mod.rs b/core/src/client/mod.rs new file mode 100644 index 0000000000..3368da606d --- /dev/null +++ b/core/src/client/mod.rs @@ -0,0 +1,71 @@ +use crate::{config::Config, metadata::Metadata}; +use derive_where::derive_where; + +/// Each client should be able to provide access to the following fields +/// - runtime version +/// - genesis hash +/// - metadata +#[derive_where(Clone, Debug)] +pub struct ClientState { + genesis_hash: C::Hash, + runtime_version: RuntimeVersion, + metadata: Metadata, +} + +impl ClientState { + pub fn new(genesis_hash: C::Hash, runtime_version: RuntimeVersion, metadata: Metadata) -> Self { + Self { + genesis_hash, + runtime_version, + metadata, + } + } + + pub fn metadata(&self) -> Metadata { + self.metadata.clone() + } + + pub fn runtime_version(&self) -> RuntimeVersion { + self.runtime_version + } + + pub fn genesis_hash(&self) -> C::Hash { + self.genesis_hash + } +} + +/// Runtime version information needed to submit transactions. +#[derive(Debug, Clone, Copy, PartialEq, Eq)] +pub struct RuntimeVersion { + spec_version: u32, + transaction_version: u32, +} + +impl RuntimeVersion { + pub fn new(spec_version: u32, transaction_version: u32) -> Self { + RuntimeVersion { + spec_version, + transaction_version, + } + } + + /// Version of the runtime specification. A full-node will not attempt to use its native + /// runtime in substitute for the on-chain Wasm runtime unless all of `spec_name`, + /// `spec_version` and `authoring_version` are the same between Wasm and native. + pub fn spec_version(&self) -> u32 { + self.spec_version + } + + /// All existing dispatches are fully compatible when this number doesn't change. If this + /// number changes, then `spec_version` must change, also. + /// + /// This number must change when an existing dispatchable (module ID, dispatch ID) is changed, + /// either through an alteration in its user-level semantics, a parameter + /// added/removed/changed, a dispatchable being removed, a module being removed, or a + /// dispatchable/module changing its index. + /// + /// It need *not* change when a new module is added or when a dispatchable is added. + pub fn transaction_version(&self) -> u32 { + self.transaction_version + } +} diff --git a/subxt/src/config/default_extrinsic_params.rs b/core/src/config/default_extrinsic_params.rs similarity index 91% rename from subxt/src/config/default_extrinsic_params.rs rename to core/src/config/default_extrinsic_params.rs index dce83853bf..1ed66c34fb 100644 --- a/subxt/src/config/default_extrinsic_params.rs +++ b/core/src/config/default_extrinsic_params.rs @@ -2,6 +2,7 @@ // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. +use super::signed_extensions::CheckNonceParams; use super::{signed_extensions, ExtrinsicParams}; use super::{Config, Header}; @@ -20,12 +21,14 @@ pub type DefaultExtrinsicParams = signed_extensions::AnyOf< ), >; -/// A builder that outputs the set of [`super::ExtrinsicParams::OtherParams`] required for +/// A builder that outputs the set of [`super::ExtrinsicParams::Params`] required for /// [`DefaultExtrinsicParams`]. This may expose methods that aren't applicable to the current /// chain; such values will simply be ignored if so. pub struct DefaultExtrinsicParamsBuilder { /// `None` means the tx will be immortal. mortality: Option>, + /// `None` means the nonce will be automatically set. + nonce: Option, /// `None` means we'll use the native token. tip_of_asset_id: Option, tip: u128, @@ -49,6 +52,7 @@ impl Default for DefaultExtrinsicParamsBuilder { tip: 0, tip_of: 0, tip_of_asset_id: None, + nonce: None, } } } @@ -72,6 +76,12 @@ impl DefaultExtrinsicParamsBuilder { self } + /// Provide a specific nonce for the submitter of the extrinsic + pub fn nonce(mut self, nonce: u64) -> Self { + self.nonce = Some(nonce); + self + } + /// Make the transaction mortal, given a block number and block hash (which must both point to /// the same block) that it should be mortal from, and the number of blocks (roughly; it'll be /// rounded to a power of two) that it will be mortal for. @@ -111,7 +121,7 @@ impl DefaultExtrinsicParamsBuilder { } /// Build the extrinsic parameters. - pub fn build(self) -> as ExtrinsicParams>::OtherParams { + pub fn build(self) -> as ExtrinsicParams>::Params { let check_mortality_params = if let Some(mortality) = self.mortality { signed_extensions::CheckMortalityParams::mortal( mortality.period, @@ -131,10 +141,12 @@ impl DefaultExtrinsicParamsBuilder { let charge_transaction_params = signed_extensions::ChargeTransactionPaymentParams::tip(self.tip); + let check_nonce_params = CheckNonceParams(self.nonce); + ( (), (), - (), + check_nonce_params, (), check_mortality_params, charge_asset_tx_params, diff --git a/subxt/src/config/extrinsic_params.rs b/core/src/config/extrinsic_params.rs similarity index 52% rename from subxt/src/config/extrinsic_params.rs rename to core/src/config/extrinsic_params.rs index 42f3b620af..51a1b0444e 100644 --- a/subxt/src/config/extrinsic_params.rs +++ b/core/src/config/extrinsic_params.rs @@ -7,44 +7,9 @@ //! [`crate::config::DefaultExtrinsicParams`] provides a general-purpose //! implementation of this that will work in many cases. -use crate::{client::OfflineClientT, Config}; -use core::fmt::Debug; - -/// An error that can be emitted when trying to construct an instance of [`ExtrinsicParams`], -/// encode data from the instance, or match on signed extensions. -#[derive(thiserror::Error, Debug)] -#[non_exhaustive] -pub enum ExtrinsicParamsError { - /// Cannot find a type id in the metadata. The context provides some additional - /// information about the source of the error (eg the signed extension name). - #[error("Cannot find type id '{type_id} in the metadata (context: {context})")] - MissingTypeId { - /// Type ID. - type_id: u32, - /// Some arbitrary context to help narrow the source of the error. - context: &'static str, - }, - /// A signed extension in use on some chain was not provided. - #[error("The chain expects a signed extension with the name {0}, but we did not provide one")] - UnknownSignedExtension(String), - /// Some custom error. - #[error("Error constructing extrinsic parameters: {0}")] - Custom(CustomExtrinsicParamsError), -} - -/// A custom error. -pub type CustomExtrinsicParamsError = Box; - -impl From for ExtrinsicParamsError { - fn from(value: std::convert::Infallible) -> Self { - match value {} - } -} -impl From for ExtrinsicParamsError { - fn from(value: CustomExtrinsicParamsError) -> Self { - ExtrinsicParamsError::Custom(value) - } -} +use super::refine_params::RefineParams; +use crate::{client::ClientState, error::ExtrinsicParamsError, Config}; +use alloc::vec::Vec; /// This trait allows you to configure the "signed extra" and /// "additional" parameters that are a part of the transaction payload @@ -53,14 +18,10 @@ pub trait ExtrinsicParams: ExtrinsicParamsEncoder + Sized + 'static { /// These parameters can be provided to the constructor along with /// some default parameters that `subxt` understands, in order to /// help construct your [`ExtrinsicParams`] object. - type OtherParams; + type Params: RefineParams; /// Construct a new instance of our [`ExtrinsicParams`]. - fn new>( - nonce: u64, - client: Client, - other_params: Self::OtherParams, - ) -> Result; + fn new(client: &ClientState, params: Self::Params) -> Result; } /// This trait is expected to be implemented for any [`ExtrinsicParams`], and diff --git a/subxt/src/config/mod.rs b/core/src/config/mod.rs similarity index 94% rename from subxt/src/config/mod.rs rename to core/src/config/mod.rs index ddfa2466c7..dc0cb7783f 100644 --- a/subxt/src/config/mod.rs +++ b/core/src/config/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2023 Parity Technologies (UK) Ltd. +// Copyright 2019-2024 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. @@ -10,6 +10,7 @@ mod default_extrinsic_params; mod extrinsic_params; +mod refine_params; pub mod polkadot; pub mod signed_extensions; @@ -23,8 +24,9 @@ use scale_encode::EncodeAsType; use serde::{de::DeserializeOwned, Serialize}; pub use default_extrinsic_params::{DefaultExtrinsicParams, DefaultExtrinsicParamsBuilder}; -pub use extrinsic_params::{ExtrinsicParams, ExtrinsicParamsEncoder, ExtrinsicParamsError}; +pub use extrinsic_params::{ExtrinsicParams, ExtrinsicParamsEncoder}; pub use polkadot::{PolkadotConfig, PolkadotExtrinsicParams, PolkadotExtrinsicParamsBuilder}; +pub use refine_params::{RefineParams, RefineParamsData}; pub use signed_extensions::SignedExtension; pub use substrate::{SubstrateConfig, SubstrateExtrinsicParams, SubstrateExtrinsicParamsBuilder}; @@ -60,7 +62,7 @@ pub trait Config: Sized + Send + Sync + 'static { } /// given some [`Config`], this return the other params needed for its `ExtrinsicParams`. -pub type OtherParamsFor = <::ExtrinsicParams as ExtrinsicParams>::OtherParams; +pub type ParamsFor = <::ExtrinsicParams as ExtrinsicParams>::Params; /// Block hashes must conform to a bunch of things to be used in Subxt. pub trait BlockHash: @@ -75,7 +77,7 @@ pub trait BlockHash: + Encode + PartialEq + Eq - + std::hash::Hash + + core::hash::Hash { } impl BlockHash for T where @@ -90,7 +92,7 @@ impl BlockHash for T where + Encode + PartialEq + Eq - + std::hash::Hash + + core::hash::Hash { } diff --git a/subxt/src/config/polkadot.rs b/core/src/config/polkadot.rs similarity index 97% rename from subxt/src/config/polkadot.rs rename to core/src/config/polkadot.rs index 209c3b8fb6..04e662277f 100644 --- a/subxt/src/config/polkadot.rs +++ b/core/src/config/polkadot.rs @@ -6,8 +6,8 @@ use super::{Config, DefaultExtrinsicParams, DefaultExtrinsicParamsBuilder}; +use crate::config::SubstrateConfig; pub use crate::utils::{AccountId32, MultiAddress, MultiSignature}; -use crate::SubstrateConfig; pub use primitive_types::{H256, U256}; /// Default set of commonly used types by Polkadot nodes. diff --git a/core/src/config/refine_params.rs b/core/src/config/refine_params.rs new file mode 100644 index 0000000000..978c5f58e8 --- /dev/null +++ b/core/src/config/refine_params.rs @@ -0,0 +1,87 @@ +// Copyright 2019-2023 Parity Technologies (UK) Ltd. +// This file is dual-licensed as Apache-2.0 or GPL-3.0. +// see LICENSE for license details. + +//! Refining params with values fetched from the chain + +use crate::Config; + +/// Data that can be used to refine the params of signed extensions. +pub struct RefineParamsData { + account_nonce: u64, + block_number: u64, + block_hash: T::Hash, +} + +impl RefineParamsData { + #[doc(hidden)] + /// Creates a new [`RefineParamsData`] instance. Called from `subxt` when refining signed extensions. + pub fn new(account_nonce: u64, block_number: u64, block_hash: T::Hash) -> Self { + RefineParamsData { + account_nonce, + block_number, + block_hash, + } + } + + /// account nonce for extrinsic author + pub fn account_nonce(&self) -> u64 { + self.account_nonce + } + + /// latest finalized block number + pub fn block_number(&self) -> u64 { + self.block_number + } + + /// latest finalized block hash + pub fn block_hash(&self) -> T::Hash { + self.block_hash + } +} + +/// Types implementing [`RefineParams`] can be modified to reflect live information from the chain. +pub trait RefineParams { + /// Refine params to an extrinsic. There is usually some notion of 'the param is already set/unset' in types implementing this trait. + /// The refinement should most likely not affect cases where a param is in a 'is already set by the user' state. + fn refine(&mut self, _data: &RefineParamsData) {} +} + +impl RefineParams for () {} + +macro_rules! impl_tuples { + ($($ident:ident $index:tt),+) => { + + impl ),+> RefineParams for ($($ident,)+){ + fn refine(&mut self, data: &RefineParamsData) { + $(self.$index.refine(data);)+ + } + + } + } +} + +#[rustfmt::skip] +const _: () = { + impl_tuples!(A 0); + impl_tuples!(A 0, B 1); + impl_tuples!(A 0, B 1, C 2); + impl_tuples!(A 0, B 1, C 2, D 3); + impl_tuples!(A 0, B 1, C 2, D 3, E 4); + impl_tuples!(A 0, B 1, C 2, D 3, E 4, F 5); + impl_tuples!(A 0, B 1, C 2, D 3, E 4, F 5, G 6); + impl_tuples!(A 0, B 1, C 2, D 3, E 4, F 5, G 6, H 7); + impl_tuples!(A 0, B 1, C 2, D 3, E 4, F 5, G 6, H 7, I 8); + impl_tuples!(A 0, B 1, C 2, D 3, E 4, F 5, G 6, H 7, I 8, J 9); + impl_tuples!(A 0, B 1, C 2, D 3, E 4, F 5, G 6, H 7, I 8, J 9, K 10); + impl_tuples!(A 0, B 1, C 2, D 3, E 4, F 5, G 6, H 7, I 8, J 9, K 10, L 11); + impl_tuples!(A 0, B 1, C 2, D 3, E 4, F 5, G 6, H 7, I 8, J 9, K 10, L 11, M 12); + impl_tuples!(A 0, B 1, C 2, D 3, E 4, F 5, G 6, H 7, I 8, J 9, K 10, L 11, M 12, N 13); + impl_tuples!(A 0, B 1, C 2, D 3, E 4, F 5, G 6, H 7, I 8, J 9, K 10, L 11, M 12, N 13, O 14); + impl_tuples!(A 0, B 1, C 2, D 3, E 4, F 5, G 6, H 7, I 8, J 9, K 10, L 11, M 12, N 13, O 14, P 15); + impl_tuples!(A 0, B 1, C 2, D 3, E 4, F 5, G 6, H 7, I 8, J 9, K 10, L 11, M 12, N 13, O 14, P 15, Q 16); + impl_tuples!(A 0, B 1, C 2, D 3, E 4, F 5, G 6, H 7, I 8, J 9, K 10, L 11, M 12, N 13, O 14, P 15, Q 16, R 17); + impl_tuples!(A 0, B 1, C 2, D 3, E 4, F 5, G 6, H 7, I 8, J 9, K 10, L 11, M 12, N 13, O 14, P 15, Q 16, R 17, S 18); + impl_tuples!(A 0, B 1, C 2, D 3, E 4, F 5, G 6, H 7, I 8, J 9, K 10, L 11, M 12, N 13, O 14, P 15, Q 16, R 17, S 18, U 19); + impl_tuples!(A 0, B 1, C 2, D 3, E 4, F 5, G 6, H 7, I 8, J 9, K 10, L 11, M 12, N 13, O 14, P 15, Q 16, R 17, S 18, U 19, V 20); +}; diff --git a/subxt/src/config/signed_extensions.rs b/core/src/config/signed_extensions.rs similarity index 79% rename from subxt/src/config/signed_extensions.rs rename to core/src/config/signed_extensions.rs index f0864cee61..9b99fec022 100644 --- a/subxt/src/config/signed_extensions.rs +++ b/core/src/config/signed_extensions.rs @@ -7,17 +7,24 @@ //! [`AnyOf`] to configure the set of signed extensions which are known about //! when interacting with a chain. -use super::extrinsic_params::{ExtrinsicParams, ExtrinsicParamsEncoder, ExtrinsicParamsError}; +use super::extrinsic_params::ExtrinsicParams; +use super::refine_params::RefineParamsData; +use super::RefineParams; +use crate::client::ClientState; +use crate::config::ExtrinsicParamsEncoder; +use crate::error::ExtrinsicParamsError; use crate::utils::Era; -use crate::{client::OfflineClientT, Config}; +use crate::Config; +use alloc::borrow::ToOwned; +use alloc::boxed::Box; +use alloc::vec::Vec; use codec::{Compact, Encode}; use core::fmt::Debug; -use derivative::Derivative; +use derive_where::derive_where; +use hashbrown::HashMap; use scale_decode::DecodeAsType; use scale_info::PortableRegistry; -use std::collections::HashMap; - /// A single [`SignedExtension`] has a unique name, but is otherwise the /// same as [`ExtrinsicParams`] in describing how to encode the extra and /// additional data. @@ -37,14 +44,10 @@ pub trait SignedExtension: ExtrinsicParams { pub struct CheckSpecVersion(u32); impl ExtrinsicParams for CheckSpecVersion { - type OtherParams = (); + type Params = (); - fn new>( - _nonce: u64, - client: Client, - _other_params: Self::OtherParams, - ) -> Result { - Ok(CheckSpecVersion(client.runtime_version().spec_version)) + fn new(client: &ClientState, _params: Self::Params) -> Result { + Ok(CheckSpecVersion(client.runtime_version().spec_version())) } } @@ -65,13 +68,11 @@ impl SignedExtension for CheckSpecVersion { pub struct CheckNonce(Compact); impl ExtrinsicParams for CheckNonce { - type OtherParams = (); + type Params = CheckNonceParams; - fn new>( - nonce: u64, - _client: Client, - _other_params: Self::OtherParams, - ) -> Result { + fn new(_client: &ClientState, params: Self::Params) -> Result { + // If no nonce is set (nor by user nor refinement), use a nonce of 0. + let nonce = params.0.unwrap_or(0); Ok(CheckNonce(Compact(nonce))) } } @@ -89,18 +90,28 @@ impl SignedExtension for CheckNonce { } } +/// Params for [`CheckNonce`] +#[derive(Debug, Clone, Default)] +pub struct CheckNonceParams(pub Option); + +impl RefineParams for CheckNonceParams { + fn refine(&mut self, data: &RefineParamsData) { + if self.0.is_none() { + self.0 = Some(data.account_nonce()); + } + } +} + /// The [`CheckTxVersion`] signed extension. pub struct CheckTxVersion(u32); impl ExtrinsicParams for CheckTxVersion { - type OtherParams = (); + type Params = (); - fn new>( - _nonce: u64, - client: Client, - _other_params: Self::OtherParams, - ) -> Result { - Ok(CheckTxVersion(client.runtime_version().transaction_version)) + fn new(client: &ClientState, _params: Self::Params) -> Result { + Ok(CheckTxVersion( + client.runtime_version().transaction_version(), + )) } } @@ -121,13 +132,9 @@ impl SignedExtension for CheckTxVersion { pub struct CheckGenesis(T::Hash); impl ExtrinsicParams for CheckGenesis { - type OtherParams = (); + type Params = (); - fn new>( - _nonce: u64, - client: Client, - _other_params: Self::OtherParams, - ) -> Result { + fn new(client: &ClientState, _params: Self::Params) -> Result { Ok(CheckGenesis(client.genesis_hash())) } } @@ -152,16 +159,25 @@ pub struct CheckMortality { } /// Parameters to configure the [`CheckMortality`] signed extension. -pub struct CheckMortalityParams { +pub struct CheckMortalityParams(Option>); +struct CheckMortalityParamsInner { era: Era, checkpoint: Option, } impl Default for CheckMortalityParams { fn default() -> Self { - Self { - era: Default::default(), - checkpoint: Default::default(), + CheckMortalityParams(None) + } +} + +impl RefineParams for CheckMortalityParams { + fn refine(&mut self, data: &RefineParamsData) { + if self.0.is_none() { + // By default we refine the params to have a mortal transaction valid for 32 blocks. + const TX_VALID_FOR: u64 = 32; + *self = + CheckMortalityParams::mortal(TX_VALID_FOR, data.block_number(), data.block_hash()); } } } @@ -172,32 +188,36 @@ impl CheckMortalityParams { /// `block_hash` should both point to the same block, and are the block that /// the transaction is mortal from. pub fn mortal(period: u64, block_number: u64, block_hash: T::Hash) -> Self { - CheckMortalityParams { + Self(Some(CheckMortalityParamsInner { era: Era::mortal(period, block_number), checkpoint: Some(block_hash), - } + })) } /// An immortal transaction. pub fn immortal() -> Self { - CheckMortalityParams { + Self(Some(CheckMortalityParamsInner { era: Era::Immortal, checkpoint: None, - } + })) } } impl ExtrinsicParams for CheckMortality { - type OtherParams = CheckMortalityParams; + type Params = CheckMortalityParams; - fn new>( - _nonce: u64, - client: Client, - other_params: Self::OtherParams, - ) -> Result { - Ok(CheckMortality { - era: other_params.era, - checkpoint: other_params.checkpoint.unwrap_or(client.genesis_hash()), - }) + fn new(client: &ClientState, params: Self::Params) -> Result { + let check_mortality = if let Some(params) = params.0 { + CheckMortality { + era: params.era, + checkpoint: params.checkpoint.unwrap_or(client.genesis_hash()), + } + } else { + CheckMortality { + era: Era::Immortal, + checkpoint: client.genesis_hash(), + } + }; + Ok(check_mortality) } } @@ -218,8 +238,8 @@ impl SignedExtension for CheckMortality { } /// The [`ChargeAssetTxPayment`] signed extension. -#[derive(Derivative, DecodeAsType)] -#[derivative(Clone(bound = "T::AssetId: Clone"), Debug(bound = "T::AssetId: Debug"))] +#[derive(DecodeAsType)] +#[derive_where(Clone, Debug; T::AssetId)] #[decode_as_type(trait_bounds = "T::AssetId: DecodeAsType")] pub struct ChargeAssetTxPayment { tip: Compact, @@ -278,20 +298,18 @@ impl ChargeAssetTxPaymentParams { } impl ExtrinsicParams for ChargeAssetTxPayment { - type OtherParams = ChargeAssetTxPaymentParams; + type Params = ChargeAssetTxPaymentParams; - fn new>( - _nonce: u64, - _client: Client, - other_params: Self::OtherParams, - ) -> Result { + fn new(_client: &ClientState, params: Self::Params) -> Result { Ok(ChargeAssetTxPayment { - tip: Compact(other_params.tip), - asset_id: other_params.asset_id, + tip: Compact(params.tip), + asset_id: params.asset_id, }) } } +impl RefineParams for ChargeAssetTxPaymentParams {} + impl ExtrinsicParamsEncoder for ChargeAssetTxPayment { fn encode_extra_to(&self, v: &mut Vec) { (self.tip, &self.asset_id).encode_to(v); @@ -336,19 +354,17 @@ impl ChargeTransactionPaymentParams { } impl ExtrinsicParams for ChargeTransactionPayment { - type OtherParams = ChargeTransactionPaymentParams; + type Params = ChargeTransactionPaymentParams; - fn new>( - _nonce: u64, - _client: Client, - other_params: Self::OtherParams, - ) -> Result { + fn new(_client: &ClientState, params: Self::Params) -> Result { Ok(ChargeTransactionPayment { - tip: Compact(other_params.tip), + tip: Compact(params.tip), }) } } +impl RefineParams for ChargeTransactionPaymentParams {} + impl ExtrinsicParamsEncoder for ChargeTransactionPayment { fn encode_extra_to(&self, v: &mut Vec) { self.tip.encode_to(v); @@ -367,7 +383,7 @@ impl SignedExtension for ChargeTransactionPayment { /// is a sensible default, and allows for a single configuration to work across multiple chains. pub struct AnyOf { params: Vec>, - _marker: std::marker::PhantomData<(T, Params)>, + _marker: core::marker::PhantomData<(T, Params)>, } macro_rules! impl_tuples { @@ -380,12 +396,11 @@ macro_rules! impl_tuples { T: Config, $($ident: SignedExtension,)+ { - type OtherParams = ($($ident::OtherParams,)+); + type Params = ($($ident::Params,)+); - fn new>( - nonce: u64, - client: Client, - other_params: Self::OtherParams, + fn new( + client: &ClientState, + params: Self::Params, ) -> Result { let metadata = client.metadata(); let types = metadata.types(); @@ -401,7 +416,7 @@ macro_rules! impl_tuples { } // Break and record as soon as we find a match: if $ident::matches(e.identifier(), e.extra_ty(), types) { - let ext = $ident::new(nonce, client.clone(), other_params.$index)?; + let ext = $ident::new(client, params.$index)?; let boxed_ext: Box = Box::new(ext); exts_by_index.insert(idx, boxed_ext); break @@ -424,7 +439,7 @@ macro_rules! impl_tuples { Ok(AnyOf { params, - _marker: std::marker::PhantomData + _marker: core::marker::PhantomData }) } } diff --git a/subxt/src/config/substrate.rs b/core/src/config/substrate.rs similarity index 85% rename from subxt/src/config/substrate.rs rename to core/src/config/substrate.rs index 44cfcf7b73..f0c7db78e5 100644 --- a/subxt/src/config/substrate.rs +++ b/core/src/config/substrate.rs @@ -5,6 +5,8 @@ //! Substrate specific configuration use super::{Config, DefaultExtrinsicParams, DefaultExtrinsicParamsBuilder, Hasher, Header}; +use alloc::format; +use alloc::vec::Vec; use codec::{Decode, Encode}; use serde::{Deserialize, Serialize}; @@ -42,7 +44,7 @@ pub struct BlakeTwo256; impl Hasher for BlakeTwo256 { type Output = H256; fn hash(s: &[u8]) -> Self::Output { - sp_core_hashing::blake2_256(s).into() + sp_crypto_hashing::blake2_256(s).into() } } @@ -225,12 +227,69 @@ where { // At the time of writing, Smoldot gives back block numbers in numeric rather // than hex format. So let's support deserializing from both here: - use crate::backend::legacy::rpc_methods::NumberOrHex; let number_or_hex = NumberOrHex::deserialize(d)?; let u256 = number_or_hex.into_u256(); TryFrom::try_from(u256).map_err(|_| serde::de::Error::custom("Try from failed")) } +/// A number type that can be serialized both as a number or a string that encodes a number in a +/// string. +/// +/// We allow two representations of the block number as input. Either we deserialize to the type +/// that is specified in the block type or we attempt to parse given hex value. +/// +/// The primary motivation for having this type is to avoid overflows when using big integers in +/// JavaScript (which we consider as an important RPC API consumer). +#[derive(Copy, Clone, Serialize, Deserialize, Debug, PartialEq, Eq)] +#[serde(untagged)] +pub enum NumberOrHex { + /// The number represented directly. + Number(u64), + /// Hex representation of the number. + Hex(U256), +} + +impl NumberOrHex { + /// Converts this number into an U256. + pub fn into_u256(self) -> U256 { + match self { + NumberOrHex::Number(n) => n.into(), + NumberOrHex::Hex(h) => h, + } + } +} + +impl From for U256 { + fn from(num_or_hex: NumberOrHex) -> U256 { + num_or_hex.into_u256() + } +} + +macro_rules! into_number_or_hex { + ($($t: ty)+) => { + $( + impl From<$t> for NumberOrHex { + fn from(x: $t) -> Self { + NumberOrHex::Number(x.into()) + } + } + )+ + } +} +into_number_or_hex!(u8 u16 u32 u64); + +impl From for NumberOrHex { + fn from(n: u128) -> Self { + NumberOrHex::Hex(n.into()) + } +} + +impl From for NumberOrHex { + fn from(n: U256) -> Self { + NumberOrHex::Hex(n) + } +} + #[cfg(test)] mod test { use super::*; diff --git a/subxt/src/constants/constant_address.rs b/core/src/constants/constant_address.rs similarity index 88% rename from subxt/src/constants/constant_address.rs rename to core/src/constants/constant_address.rs index e9a0eb37b0..da7b1bf982 100644 --- a/subxt/src/constants/constant_address.rs +++ b/core/src/constants/constant_address.rs @@ -2,9 +2,11 @@ // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. -use crate::{dynamic::DecodedValueThunk, metadata::DecodeWithMetadata}; -use derivative::Derivative; -use std::borrow::Cow; +use crate::dynamic::DecodedValueThunk; +use crate::metadata::DecodeWithMetadata; +use alloc::borrow::Cow; +use alloc::string::String; +use derive_where::derive_where; /// This represents a constant address. Anything implementing this trait /// can be used to fetch constants. @@ -27,13 +29,12 @@ pub trait ConstantAddress { } /// This represents the address of a constant. -#[derive(Derivative)] -#[derivative(Clone(bound = ""), Debug(bound = ""))] +#[derive_where(Clone, Debug, PartialOrd, Ord, PartialEq, Eq)] pub struct Address { pallet_name: Cow<'static, str>, constant_name: Cow<'static, str>, constant_hash: Option<[u8; 32]>, - _marker: std::marker::PhantomData, + _marker: core::marker::PhantomData, } /// The type of address typically used to return dynamic constant values. @@ -46,7 +47,7 @@ impl Address { pallet_name: Cow::Owned(pallet_name.into()), constant_name: Cow::Owned(constant_name.into()), constant_hash: None, - _marker: std::marker::PhantomData, + _marker: core::marker::PhantomData, } } @@ -62,7 +63,7 @@ impl Address { pallet_name: Cow::Borrowed(pallet_name), constant_name: Cow::Borrowed(constant_name), constant_hash: Some(hash), - _marker: std::marker::PhantomData, + _marker: core::marker::PhantomData, } } diff --git a/core/src/constants/mod.rs b/core/src/constants/mod.rs new file mode 100644 index 0000000000..5d8419ae0b --- /dev/null +++ b/core/src/constants/mod.rs @@ -0,0 +1,59 @@ +// Copyright 2019-2023 Parity Technologies (UK) Ltd. +// This file is dual-licensed as Apache-2.0 or GPL-3.0. +// see LICENSE for license details. + +//! Types associated with accessing constants. + +mod constant_address; + +pub use constant_address::{dynamic, Address, ConstantAddress, DynamicAddress}; + +use alloc::borrow::ToOwned; + +use crate::{ + error::MetadataError, + metadata::{DecodeWithMetadata, MetadataExt}, + Error, Metadata, +}; + +/// Run validation logic against some constant address you'd like to access. Returns `Ok(())` +/// if the address is valid (or if it's not possible to check since the address has no validation hash). +/// Return an error if the address was not valid or something went wrong trying to validate it (ie +/// the pallet or constant in question do not exist at all). +pub fn validate_constant( + metadata: &subxt_metadata::Metadata, + address: &Address, +) -> Result<(), Error> { + if let Some(actual_hash) = address.validation_hash() { + let expected_hash = metadata + .pallet_by_name_err(address.pallet_name())? + .constant_hash(address.constant_name()) + .ok_or_else(|| { + MetadataError::ConstantNameNotFound(address.constant_name().to_owned()) + })?; + if actual_hash != expected_hash { + return Err(MetadataError::IncompatibleCodegen.into()); + } + } + Ok(()) +} + +pub fn get_constant( + metadata: &Metadata, + address: &Address, +) -> Result { + // 1. Validate constant shape if hash given: + validate_constant(metadata, address)?; + + // 2. Attempt to decode the constant into the type given: + let constant = metadata + .pallet_by_name_err(address.pallet_name())? + .constant_by_name(address.constant_name()) + .ok_or_else(|| MetadataError::ConstantNameNotFound(address.constant_name().to_owned()))?; + let value = ::decode_with_metadata( + &mut constant.value(), + constant.ty(), + metadata, + )?; + Ok(value) +} diff --git a/subxt/src/custom_values/custom_value_address.rs b/core/src/custom_values/custom_value_address.rs similarity index 87% rename from subxt/src/custom_values/custom_value_address.rs rename to core/src/custom_values/custom_value_address.rs index f8034a161b..dc73d15798 100644 --- a/subxt/src/custom_values/custom_value_address.rs +++ b/core/src/custom_values/custom_value_address.rs @@ -1,8 +1,8 @@ -use derivative::Derivative; -use std::marker::PhantomData; +use derive_where::derive_where; use crate::dynamic::DecodedValueThunk; use crate::metadata::DecodeWithMetadata; +use crate::utils::Yes; /// This represents the address of a custom value in in the metadata. /// Anything, that implements the [CustomValueAddress] trait can be used, to fetch @@ -33,16 +33,12 @@ impl CustomValueAddress for str { } } -/// Used to signal whether a [`CustomValueAddress`] can be decoded. -pub struct Yes; - /// A static address to a custom value. -#[derive(Derivative)] -#[derivative(Clone(bound = ""), Debug(bound = ""))] +#[derive_where(Clone, Debug, PartialOrd, Ord, PartialEq, Eq)] pub struct StaticAddress { name: &'static str, hash: Option<[u8; 32]>, - phantom: PhantomData<(ReturnTy, IsDecodable)>, + phantom: core::marker::PhantomData<(ReturnTy, IsDecodable)>, } impl StaticAddress { @@ -52,7 +48,7 @@ impl StaticAddress { StaticAddress:: { name, hash: Some(hash), - phantom: PhantomData, + phantom: core::marker::PhantomData, } } diff --git a/core/src/custom_values/mod.rs b/core/src/custom_values/mod.rs new file mode 100644 index 0000000000..a457c42506 --- /dev/null +++ b/core/src/custom_values/mod.rs @@ -0,0 +1,156 @@ +// Copyright 2019-2023 Parity Technologies (UK) Ltd. +// This file is dual-licensed as Apache-2.0 or GPL-3.0. +// see LICENSE for license details. + +//! Types associated with accessing custom types + +mod custom_value_address; + +use crate::utils::Yes; +pub use custom_value_address::{CustomValueAddress, StaticAddress}; + +use crate::{ + error::MetadataError, + metadata::{DecodeWithMetadata, MetadataExt}, + Error, Metadata, +}; +use alloc::vec::Vec; + +/// Run the validation logic against some custom value address you'd like to access. Returns `Ok(())` +/// if the address is valid (or if it's not possible to check since the address has no validation hash). +/// Returns an error if the address was not valid (wrong name, type or raw bytes) +pub fn validate_custom_value( + metadata: &Metadata, + address: &Address, +) -> Result<(), Error> { + if let Some(actual_hash) = address.validation_hash() { + let custom = metadata.custom(); + let custom_value = custom + .get(address.name()) + .ok_or_else(|| MetadataError::CustomValueNameNotFound(address.name().into()))?; + let expected_hash = custom_value.hash(); + if actual_hash != expected_hash { + return Err(MetadataError::IncompatibleCodegen.into()); + } + } + if metadata.custom().get(address.name()).is_none() { + return Err(MetadataError::IncompatibleCodegen.into()); + } + Ok(()) +} + +/// Access a custom value by the address it is registered under. This can be just a [str] to get back a dynamic value, +/// or a static address from the generated static interface to get a value of a static type returned. +pub fn get_custom_value + ?Sized>( + metadata: &Metadata, + address: &Address, +) -> Result { + // 1. Validate custom value shape if hash given: + validate_custom_value(metadata, address)?; + + // 2. Attempt to decode custom value: + let custom_value = metadata.custom_value_by_name_err(address.name())?; + let value = ::decode_with_metadata( + &mut custom_value.bytes(), + custom_value.type_id(), + metadata, + )?; + Ok(value) +} + +/// Access the bytes of a custom value by the address it is registered under. +pub fn get_custom_value_bytes( + metadata: &Metadata, + address: &Address, +) -> Result, Error> { + // 1. Validate custom value shape if hash given: + validate_custom_value(metadata, address)?; + + // 2. Return the underlying bytes: + let custom_value = metadata.custom_value_by_name_err(address.name())?; + Ok(custom_value.bytes().to_vec()) +} + +#[cfg(test)] +mod tests { + use alloc::collections::BTreeMap; + use codec::Encode; + use scale_decode::DecodeAsType; + use scale_info::form::PortableForm; + use scale_info::TypeInfo; + + use alloc::borrow::ToOwned; + use alloc::string::String; + use alloc::vec; + + use crate::custom_values::get_custom_value; + use crate::Metadata; + + #[derive(Debug, Clone, PartialEq, Eq, Encode, TypeInfo, DecodeAsType)] + pub struct Person { + age: u16, + name: String, + } + + fn mock_metadata() -> Metadata { + let person_ty = scale_info::MetaType::new::(); + let unit = scale_info::MetaType::new::<()>(); + let mut types = scale_info::Registry::new(); + let person_ty_id = types.register_type(&person_ty); + let unit_id = types.register_type(&unit); + let types: scale_info::PortableRegistry = types.into(); + + let person = Person { + age: 42, + name: "Neo".into(), + }; + + let person_value_metadata: frame_metadata::v15::CustomValueMetadata = + frame_metadata::v15::CustomValueMetadata { + ty: person_ty_id, + value: person.encode(), + }; + + let frame_metadata = frame_metadata::v15::RuntimeMetadataV15 { + types, + pallets: vec![], + extrinsic: frame_metadata::v15::ExtrinsicMetadata { + version: 0, + address_ty: unit_id, + call_ty: unit_id, + signature_ty: unit_id, + extra_ty: unit_id, + signed_extensions: vec![], + }, + ty: unit_id, + apis: vec![], + outer_enums: frame_metadata::v15::OuterEnums { + call_enum_ty: unit_id, + event_enum_ty: unit_id, + error_enum_ty: unit_id, + }, + custom: frame_metadata::v15::CustomMetadata { + map: BTreeMap::from_iter([("Mr. Robot".to_owned(), person_value_metadata)]), + }, + }; + + let metadata: subxt_metadata::Metadata = frame_metadata.try_into().unwrap(); + Metadata::new(metadata) + } + + #[test] + fn test_decoding() { + let metadata = mock_metadata(); + + assert!(get_custom_value(&metadata, "Invalid Address").is_err()); + let person_decoded_value_thunk = get_custom_value(&metadata, "Mr. Robot").unwrap(); + let person: Person = person_decoded_value_thunk.as_type().unwrap(); + assert_eq!( + person, + Person { + age: 42, + name: "Neo".into() + } + ) + } +} diff --git a/subxt/src/dynamic.rs b/core/src/dynamic.rs similarity index 87% rename from subxt/src/dynamic.rs rename to core/src/dynamic.rs index 2801feb683..05a03117e7 100644 --- a/subxt/src/dynamic.rs +++ b/core/src/dynamic.rs @@ -5,19 +5,16 @@ //! This module provides the entry points to create dynamic //! transactions, storage and constant lookups. -use crate::{ - error::Error, - metadata::{DecodeWithMetadata, Metadata}, -}; +use crate::metadata::{DecodeWithMetadata, Metadata}; +use alloc::vec::Vec; use scale_decode::DecodeAsType; - pub use scale_value::{At, Value}; /// A [`scale_value::Value`] type endowed with contextual information /// regarding what type was used to decode each part of it. This implements /// [`crate::metadata::DecodeWithMetadata`], and is used as a return type /// for dynamic requests. -pub type DecodedValue = scale_value::Value; +pub type DecodedValue = scale_value::Value; // Submit dynamic transactions. pub use crate::tx::dynamic as tx; @@ -45,7 +42,7 @@ impl DecodeWithMetadata for DecodedValueThunk { bytes: &mut &[u8], type_id: u32, metadata: &Metadata, - ) -> Result { + ) -> Result { let mut v = Vec::with_capacity(bytes.len()); v.extend_from_slice(bytes); *bytes = &[]; @@ -67,10 +64,10 @@ impl DecodedValueThunk { &self.scale_bytes } /// Decode the SCALE encoded storage entry into a dynamic [`DecodedValue`] type. - pub fn to_value(&self) -> Result { - let val = DecodedValue::decode_as_type( + pub fn to_value(&self) -> Result { + let val = scale_value::scale::decode_as_type( &mut &*self.scale_bytes, - self.type_id, + &self.type_id, self.metadata.types(), )?; Ok(val) @@ -79,7 +76,7 @@ impl DecodedValueThunk { pub fn as_type(&self) -> Result { T::decode_as_type( &mut &self.scale_bytes[..], - self.type_id, + &self.type_id, self.metadata.types(), ) } diff --git a/core/src/error.rs b/core/src/error.rs new file mode 100644 index 0000000000..64fe0b7250 --- /dev/null +++ b/core/src/error.rs @@ -0,0 +1,184 @@ +use alloc::boxed::Box; +use alloc::string::String; +use derive_more::{Display, From}; +use subxt_metadata::StorageHasher; + +#[derive(Debug, Display, From)] +pub enum Error { + /// Codec error. + #[display(fmt = "Scale codec error: {_0}")] + Codec(codec::Error), + #[display(fmt = "Metadata Error: {_0}")] + Metadata(MetadataError), + #[display(fmt = "Storage Error: {_0}")] + StorageAddress(StorageAddressError), + /// Error decoding to a [`crate::dynamic::Value`]. + #[display(fmt = "Error decoding into dynamic value: {_0}")] + Decode(scale_decode::Error), + /// Error encoding from a [`crate::dynamic::Value`]. + #[display(fmt = "Error encoding from dynamic value: {_0}")] + Encode(scale_encode::Error), + /// Error constructing the appropriate extrinsic params. + #[display(fmt = "Extrinsic params error: {_0}")] + ExtrinsicParams(ExtrinsicParamsError), +} + +impl From for Error { + fn from(value: scale_decode::visitor::DecodeError) -> Self { + Error::Decode(value.into()) + } +} + +#[cfg(feature = "std")] +impl std::error::Error for Error {} + +/// Something went wrong trying to access details in the metadata. +#[derive(Clone, Debug, PartialEq, Display)] +#[non_exhaustive] +pub enum MetadataError { + /// The DispatchError type isn't available in the metadata + #[display(fmt = "The DispatchError type isn't available")] + DispatchErrorNotFound, + /// Type not found in metadata. + #[display(fmt = "Type with ID {_0} not found")] + TypeNotFound(u32), + /// Pallet not found (index). + #[display(fmt = "Pallet with index {_0} not found")] + PalletIndexNotFound(u8), + /// Pallet not found (name). + #[display(fmt = "Pallet with name {_0} not found")] + PalletNameNotFound(String), + /// Variant not found. + #[display(fmt = "Variant with index {_0} not found")] + VariantIndexNotFound(u8), + /// Constant not found. + #[display(fmt = "Constant with name {_0} not found")] + ConstantNameNotFound(String), + /// Call not found. + #[display(fmt = "Call with name {_0} not found")] + CallNameNotFound(String), + /// Runtime trait not found. + #[display(fmt = "Runtime trait with name {_0} not found")] + RuntimeTraitNotFound(String), + /// Runtime method not found. + #[display(fmt = "Runtime method with name {_0} not found")] + RuntimeMethodNotFound(String), + /// Call type not found in metadata. + #[display(fmt = "Call type not found in pallet with index {_0}")] + CallTypeNotFoundInPallet(u8), + /// Event type not found in metadata. + #[display(fmt = "Event type not found in pallet with index {_0}")] + EventTypeNotFoundInPallet(u8), + /// Storage details not found in metadata. + #[display(fmt = "Storage details not found in pallet with name {_0}")] + StorageNotFoundInPallet(String), + /// Storage entry not found. + #[display(fmt = "Storage entry {_0} not found")] + StorageEntryNotFound(String), + /// The generated interface used is not compatible with the node. + #[display(fmt = "The generated code is not compatible with the node")] + IncompatibleCodegen, + /// Custom value not found. + #[display(fmt = "Custom value with name {_0} not found")] + CustomValueNameNotFound(String), +} + +#[cfg(feature = "std")] +impl std::error::Error for MetadataError {} + +/// Something went wrong trying to encode or decode a storage address. +#[derive(Clone, Debug, Display)] +#[non_exhaustive] +pub enum StorageAddressError { + /// Storage lookup does not have the expected number of keys. + #[display(fmt = "Storage lookup requires {expected} keys but more keys have been provided.")] + TooManyKeys { + /// The number of keys provided in the storage address. + expected: usize, + }, + /// This storage entry in the metadata does not have the correct number of hashers to fields. + #[display( + fmt = "Storage entry in metadata does not have the correct number of hashers to fields" + )] + WrongNumberOfHashers { + /// The number of hashers in the metadata for this storage entry. + hashers: usize, + /// The number of fields in the metadata for this storage entry. + fields: usize, + }, + /// We weren't given enough bytes to decode the storage address/key. + #[display(fmt = "Not enough remaining bytes to decode the storage address/key")] + NotEnoughBytes, + /// We have leftover bytes after decoding the storage address. + #[display(fmt = "We have leftover bytes after decoding the storage address")] + TooManyBytes, + /// The bytes of a storage address are not the expected address for decoding the storage keys of the address. + #[display( + fmt = "Storage address bytes are not the expected format. Addresses need to be at least 16 bytes (pallet ++ entry) and follow a structure given by the hashers defined in the metadata" + )] + UnexpectedAddressBytes, + /// An invalid hasher was used to reconstruct a value from a chunk of bytes that is part of a storage address. Hashers where the hash does not contain the original value are invalid for this purpose. + #[display( + fmt = "An invalid hasher was used to reconstruct a value with type ID {ty_id} from a hash formed by a {hasher:?} hasher. This is only possible for concat-style hashers or the identity hasher" + )] + HasherCannotReconstructKey { + /// Type id of the key's type. + ty_id: u32, + /// The invalid hasher that caused this error. + hasher: StorageHasher, + }, +} + +#[cfg(feature = "std")] +impl std::error::Error for StorageAddressError {} + +/// An error that can be emitted when trying to construct an instance of [`crate::config::ExtrinsicParams`], +/// encode data from the instance, or match on signed extensions. +#[derive(Display, Debug)] +#[non_exhaustive] +pub enum ExtrinsicParamsError { + /// Cannot find a type id in the metadata. The context provides some additional + /// information about the source of the error (eg the signed extension name). + #[display(fmt = "Cannot find type id '{type_id} in the metadata (context: {context})")] + MissingTypeId { + /// Type ID. + type_id: u32, + /// Some arbitrary context to help narrow the source of the error. + context: &'static str, + }, + /// A signed extension in use on some chain was not provided. + #[display( + fmt = "The chain expects a signed extension with the name {_0}, but we did not provide one" + )] + UnknownSignedExtension(String), + /// Some custom error. + #[display(fmt = "Error constructing extrinsic parameters: {_0}")] + Custom(Box), +} + +/// Anything implementing this trait can be used in [`ExtrinsicParamsError::Custom`]. +#[cfg(feature = "std")] +pub trait CustomError: std::error::Error + Send + Sync + 'static {} +#[cfg(feature = "std")] +impl CustomError for T {} + +/// Anything implementing this trait can be used in [`ExtrinsicParamsError::Custom`]. +#[cfg(not(feature = "std"))] +pub trait CustomError: core::fmt::Debug + core::fmt::Display + Send + Sync + 'static {} +#[cfg(not(feature = "std"))] +impl CustomError for T {} + +#[cfg(feature = "std")] +impl std::error::Error for ExtrinsicParamsError {} + +impl From for ExtrinsicParamsError { + fn from(value: core::convert::Infallible) -> Self { + match value {} + } +} + +impl From> for ExtrinsicParamsError { + fn from(value: Box) -> Self { + ExtrinsicParamsError::Custom(value) + } +} diff --git a/subxt/src/events/events_type.rs b/core/src/events/mod.rs similarity index 90% rename from subxt/src/events/events_type.rs rename to core/src/events/mod.rs index 831268ad00..456498bdb5 100644 --- a/subxt/src/events/events_type.rs +++ b/core/src/events/mod.rs @@ -1,42 +1,48 @@ -// Copyright 2019-2023 Parity Technologies (UK) Ltd. -// This file is dual-licensed as Apache-2.0 or GPL-3.0. -// see LICENSE for license details. +use alloc::sync::Arc; +use alloc::vec::Vec; +use codec::{Compact, Decode, Encode}; +use derive_where::derive_where; +use scale_decode::{DecodeAsFields, DecodeAsType}; +use subxt_metadata::PalletMetadata; -//! A representation of a block of events. +use crate::{error::MetadataError, Config, Error, Metadata}; -use super::{Phase, StaticEvent}; -use crate::{ - client::OnlineClientT, - error::{Error, MetadataError}, - events::events_client::get_event_bytes, - metadata::types::PalletMetadata, - Config, Metadata, -}; -use codec::{Compact, Decode}; -use derivative::Derivative; -use scale_decode::DecodeAsType; -use std::sync::Arc; +/// Trait to uniquely identify the events's identity from the runtime metadata. +/// +/// Generated API structures that represent an event implement this trait. +/// +/// The trait is utilized to decode emitted events from a block, via obtaining the +/// form of the `Event` from the metadata. +pub trait StaticEvent: DecodeAsFields { + /// Pallet name. + const PALLET: &'static str; + /// Event name. + const EVENT: &'static str; + + /// Returns true if the given pallet and event names match this event. + fn is_event(pallet: &str, event: &str) -> bool { + Self::PALLET == pallet && Self::EVENT == event + } +} /// A collection of events obtained from a block, bundled with the necessary /// information needed to decode and iterate over them. -#[derive(Derivative)] -#[derivative(Clone(bound = ""))] +#[derive_where(Clone)] pub struct Events { metadata: Metadata, - block_hash: T::Hash, // Note; raw event bytes are prefixed with a Compact containing // the number of events to be decoded. The start_idx reflects that, so // that we can skip over those bytes when decoding them event_bytes: Arc<[u8]>, start_idx: usize, num_events: u32, + marker: core::marker::PhantomData, } // Ignore the Metadata when debug-logging events; it's big and distracting. -impl std::fmt::Debug for Events { - fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { +impl core::fmt::Debug for Events { + fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { f.debug_struct("Events") - .field("block_hash", &self.block_hash) .field("event_bytes", &self.event_bytes) .field("start_idx", &self.start_idx) .field("num_events", &self.num_events) @@ -45,7 +51,8 @@ impl std::fmt::Debug for Events { } impl Events { - pub(crate) fn new(metadata: Metadata, block_hash: T::Hash, event_bytes: Vec) -> Self { + /// Create a new [`Events`] instance from the given bytes. + pub fn decode_from(metadata: Metadata, event_bytes: Vec) -> Self { // event_bytes is a SCALE encoded vector of events. So, pluck the // compact encoded length from the front, leaving the remaining bytes // for our iterating to decode. @@ -60,34 +67,13 @@ impl Events { Self { metadata, - block_hash, event_bytes: event_bytes.into(), start_idx, num_events, + marker: core::marker::PhantomData, } } - /// Obtain the events from a block hash given custom metadata and a client. - /// - /// # Notes - /// - /// - Prefer to use [`crate::events::EventsClient::at`] to obtain the events. - /// - Subxt may fail to decode things that aren't from a runtime using the - /// latest metadata version. - /// - The client may not be able to obtain the block at the given hash. Only - /// archive nodes keep hold of all past block information. - pub async fn new_from_client( - metadata: Metadata, - block_hash: T::Hash, - client: Client, - ) -> Result - where - Client: OnlineClientT, - { - let event_bytes = get_event_bytes(client.backend(), block_hash).await?; - Ok(Events::new(metadata, block_hash, event_bytes)) - } - /// The number of events. pub fn len(&self) -> u32 { self.num_events @@ -99,11 +85,6 @@ impl Events { self.num_events == 0 } - /// Return the block hash that these events are from. - pub fn block_hash(&self) -> T::Hash { - self.block_hash - } - /// Iterate over all of the events, using metadata to dynamically /// decode them as we go, and returning the raw bytes and other associated /// details. If an error occurs, all subsequent iterations return `None`. @@ -119,7 +100,7 @@ impl Events { let mut pos = self.start_idx; let mut index = 0; - std::iter::from_fn(move || { + core::iter::from_fn(move || { if event_bytes.len() <= pos || num_events == index { None } else { @@ -172,6 +153,17 @@ impl Events { } } +/// A phase of a block's execution. +#[derive(Copy, Clone, Debug, Eq, PartialEq, Decode, Encode)] +pub enum Phase { + /// Applying an extrinsic. + ApplyExtrinsic(u32), + /// Finalizing the block. + Finalization, + /// Initializing the block. + Initialization, +} + /// The event details. #[derive(Debug, Clone)] pub struct EventDetails { @@ -194,7 +186,7 @@ pub struct EventDetails { } impl EventDetails { - // Attempt to dynamically decode a single event from our events input. + /// Attempt to dynamically decode a single event from our events input. fn decode_from( metadata: Metadata, all_bytes: Arc<[u8]>, @@ -228,9 +220,9 @@ impl EventDetails { // Skip over the bytes for this field: scale_decode::visitor::decode_with_visitor( input, - field_metadata.ty.id, + &field_metadata.ty.id, metadata.types(), - scale_decode::visitor::IgnoreVisitor, + scale_decode::visitor::IgnoreVisitor::new(), ) .map_err(scale_decode::Error::from)?; } @@ -284,12 +276,12 @@ impl EventDetails { /// The name of the pallet from whence the Event originated. pub fn pallet_name(&self) -> &str { - self.event_metadata().pallet.name() + self.event_metadata().pallet().name() } /// The name of the event (ie the name of the variant that it corresponds to). pub fn variant_name(&self) -> &str { - &self.event_metadata().variant.name + &self.event_metadata().variant().name } /// Fetch details from the metadata for this event. @@ -321,9 +313,7 @@ impl EventDetails { /// Decode and provide the event fields back in the form of a [`scale_value::Composite`] /// type which represents the named or unnamed fields that were present in the event. - pub fn field_values( - &self, - ) -> Result, Error> { + pub fn field_values(&self) -> Result, Error> { let bytes = &mut self.field_bytes(); let event_metadata = self.event_metadata(); @@ -331,14 +321,10 @@ impl EventDetails { .variant .fields .iter() - .map(|f| scale_decode::Field::new(f.ty.id, f.name.as_deref())); + .map(|f| scale_decode::Field::new(&f.ty.id, f.name.as_deref())); - use scale_decode::DecodeAsFields; - let decoded = >::decode_as_fields( - bytes, - &mut fields, - self.metadata.types(), - )?; + let decoded = + scale_value::scale::decode_as_fields(bytes, &mut fields, self.metadata.types())?; Ok(decoded) } @@ -352,7 +338,7 @@ impl EventDetails { .variant .fields .iter() - .map(|f| scale_decode::Field::new(f.ty.id, f.name.as_deref())); + .map(|f| scale_decode::Field::new(&f.ty.id, f.name.as_deref())); let decoded = E::decode_as_fields(&mut self.field_bytes(), &mut fields, self.metadata.types())?; Ok(Some(decoded)) @@ -369,7 +355,7 @@ impl EventDetails { let decoded = E::decode_as_type( &mut &bytes[..], - self.metadata.outer_enums().event_enum_ty(), + &self.metadata.outer_enums().event_enum_ty(), self.metadata.types(), )?; @@ -384,15 +370,24 @@ impl EventDetails { /// Details for the given event plucked from the metadata. pub struct EventMetadataDetails<'a> { - pub pallet: PalletMetadata<'a>, - pub variant: &'a scale_info::Variant, + pallet: PalletMetadata<'a>, + variant: &'a scale_info::Variant, +} + +impl<'a> EventMetadataDetails<'a> { + pub fn pallet(&self) -> PalletMetadata<'a> { + self.pallet + } + pub fn variant(&self) -> &'a scale_info::Variant { + self.variant + } } /// Event related test utilities used outside this module. #[cfg(test)] pub(crate) mod test_utils { use super::*; - use crate::{Config, SubstrateConfig}; + use crate::config::{Config, SubstrateConfig}; use codec::Encode; use frame_metadata::{ v15::{ @@ -537,11 +532,7 @@ pub(crate) mod test_utils { // Prepend compact encoded length to event bytes: let mut all_event_bytes = Compact(num_events).encode(); all_event_bytes.extend(event_bytes); - Events::new( - metadata, - ::Hash::default(), - all_event_bytes, - ) + Events::decode_from(metadata, all_event_bytes) } } @@ -551,7 +542,8 @@ mod tests { test_utils::{event_record, events, events_raw, AllEvents, EventRecord}, *, }; - use crate::SubstrateConfig; + use crate::config::SubstrateConfig; + use crate::events::Phase; use codec::Encode; use primitive_types::H256; use scale_info::TypeInfo; diff --git a/core/src/lib.rs b/core/src/lib.rs new file mode 100644 index 0000000000..ff7664b014 --- /dev/null +++ b/core/src/lib.rs @@ -0,0 +1,42 @@ +// Copyright 2019-2024 Parity Technologies (UK) Ltd. +// This file is dual-licensed as Apache-2.0 or GPL-3.0. +// see LICENSE for license details. + +//! # Subxt-core +//! +//! `#[no_std]` compatible core crate for subxt. + +#![cfg_attr(not(feature = "std"), no_std)] +pub extern crate alloc; + +pub mod blocks; +pub mod client; +pub mod config; +pub mod constants; +pub mod custom_values; +pub mod dynamic; +pub mod error; +pub mod events; +pub mod metadata; +pub mod runtime_api; +pub mod storage; +pub mod tx; +pub mod utils; + +pub use config::Config; +pub use error::Error; +pub use metadata::Metadata; + +#[macro_use] +mod macros; + +pub mod ext { + pub use codec; + pub use scale_decode; + pub use scale_encode; + + cfg_substrate_compat! { + pub use sp_runtime; + pub use sp_core; + } +} diff --git a/core/src/macros.rs b/core/src/macros.rs new file mode 100644 index 0000000000..1a61ee9354 --- /dev/null +++ b/core/src/macros.rs @@ -0,0 +1,17 @@ +macro_rules! cfg_feature { + ($feature:literal, $($item:item)*) => { + $( + #[cfg(feature = $feature)] + #[cfg_attr(docsrs, doc(cfg(feature = $feature)))] + $item + )* + } +} + +macro_rules! cfg_substrate_compat { + ($($item:item)*) => { + crate::macros::cfg_feature!("substrate-compat", $($item)*); + }; +} + +pub(crate) use {cfg_feature, cfg_substrate_compat}; diff --git a/subxt/src/metadata/decode_encode_traits.rs b/core/src/metadata/decode_encode_traits.rs similarity index 79% rename from subxt/src/metadata/decode_encode_traits.rs rename to core/src/metadata/decode_encode_traits.rs index 81dbaea131..b0ca04fab0 100644 --- a/subxt/src/metadata/decode_encode_traits.rs +++ b/core/src/metadata/decode_encode_traits.rs @@ -3,7 +3,8 @@ // see LICENSE for license details. use super::Metadata; -use crate::error::Error; + +use alloc::vec::Vec; /// This trait is implemented for all types that also implement [`scale_decode::DecodeAsType`]. pub trait DecodeWithMetadata: Sized { @@ -12,7 +13,7 @@ pub trait DecodeWithMetadata: Sized { bytes: &mut &[u8], type_id: u32, metadata: &Metadata, - ) -> Result; + ) -> Result; } impl DecodeWithMetadata for T { @@ -20,8 +21,8 @@ impl DecodeWithMetadata for T { bytes: &mut &[u8], type_id: u32, metadata: &Metadata, - ) -> Result { - let val = T::decode_as_type(bytes, type_id, metadata.types())?; + ) -> Result { + let val = T::decode_as_type(bytes, &type_id, metadata.types())?; Ok(val) } } @@ -34,7 +35,7 @@ pub trait EncodeWithMetadata { type_id: u32, metadata: &Metadata, bytes: &mut Vec, - ) -> Result<(), Error>; + ) -> Result<(), scale_encode::Error>; } impl EncodeWithMetadata for T { @@ -44,8 +45,8 @@ impl EncodeWithMetadata for T { type_id: u32, metadata: &Metadata, bytes: &mut Vec, - ) -> Result<(), Error> { - self.encode_as_type_to(type_id, metadata.types(), bytes)?; + ) -> Result<(), scale_encode::Error> { + self.encode_as_type_to(&type_id, metadata.types(), bytes)?; Ok(()) } } diff --git a/core/src/metadata/metadata_type.rs b/core/src/metadata/metadata_type.rs new file mode 100644 index 0000000000..7d394e93ec --- /dev/null +++ b/core/src/metadata/metadata_type.rs @@ -0,0 +1,137 @@ +// Copyright 2019-2023 Parity Technologies (UK) Ltd. +// This file is dual-licensed as Apache-2.0 or GPL-3.0. +// see LICENSE for license details. + +use crate::error::MetadataError; + +use alloc::borrow::ToOwned; +use alloc::sync::Arc; + +/// A cheaply clone-able representation of the runtime metadata received from a node. +#[derive(Clone, Debug)] +pub struct Metadata { + inner: Arc, +} + +impl core::ops::Deref for Metadata { + type Target = subxt_metadata::Metadata; + fn deref(&self) -> &Self::Target { + &self.inner + } +} + +impl Metadata { + pub fn new(md: subxt_metadata::Metadata) -> Self { + Metadata { + inner: Arc::new(md), + } + } + + /// Identical to `metadata.pallet_by_name()`, but returns an error if the pallet is not found. + pub fn pallet_by_name_err( + &self, + name: &str, + ) -> Result { + self.pallet_by_name(name) + .ok_or_else(|| MetadataError::PalletNameNotFound(name.to_owned())) + } + + /// Identical to `metadata.pallet_by_index()`, but returns an error if the pallet is not found. + pub fn pallet_by_index_err( + &self, + index: u8, + ) -> Result { + self.pallet_by_index(index) + .ok_or(MetadataError::PalletIndexNotFound(index)) + } + + /// Identical to `metadata.runtime_api_trait_by_name()`, but returns an error if the trait is not found. + pub fn runtime_api_trait_by_name_err( + &self, + name: &str, + ) -> Result { + self.runtime_api_trait_by_name(name) + .ok_or_else(|| MetadataError::RuntimeTraitNotFound(name.to_owned())) + } +} + +impl From for Metadata { + fn from(md: subxt_metadata::Metadata) -> Self { + Metadata::new(md) + } +} + +impl TryFrom for Metadata { + type Error = subxt_metadata::TryFromError; + fn try_from(value: frame_metadata::RuntimeMetadataPrefixed) -> Result { + subxt_metadata::Metadata::try_from(value).map(Metadata::from) + } +} + +impl codec::Decode for Metadata { + fn decode(input: &mut I) -> Result { + subxt_metadata::Metadata::decode(input).map(Metadata::new) + } +} + +/// Some extension methods on [`subxt_metadata::Metadata`] that return Errors instead of Options. +pub trait MetadataExt { + fn pallet_by_name_err( + &self, + name: &str, + ) -> Result; + + fn pallet_by_index_err( + &self, + index: u8, + ) -> Result; + + fn runtime_api_trait_by_name_err( + &self, + name: &str, + ) -> Result; + + fn custom_value_by_name_err( + &self, + name: &str, + ) -> Result; +} + +impl MetadataExt for subxt_metadata::Metadata { + /// Identical to `metadata.pallet_by_name()`, but returns an error if the pallet is not found. + fn pallet_by_name_err( + &self, + name: &str, + ) -> Result { + self.pallet_by_name(name) + .ok_or_else(|| MetadataError::PalletNameNotFound(name.to_owned())) + } + + /// Identical to `metadata.pallet_by_index()`, but returns an error if the pallet is not found. + fn pallet_by_index_err( + &self, + index: u8, + ) -> Result { + self.pallet_by_index(index) + .ok_or(MetadataError::PalletIndexNotFound(index)) + } + + /// Identical to `metadata.runtime_api_trait_by_name()`, but returns an error if the trait is not found. + fn runtime_api_trait_by_name_err( + &self, + name: &str, + ) -> Result { + self.runtime_api_trait_by_name(name) + .ok_or_else(|| MetadataError::RuntimeTraitNotFound(name.to_owned())) + } + + /// Identical to `metadata.runtime_api_trait_by_name()`, but returns an error if the trait is not found. + fn custom_value_by_name_err( + &self, + name: &str, + ) -> Result { + self.custom() + .get(name) + .ok_or_else(|| MetadataError::CustomValueNameNotFound(name.to_owned())) + } +} diff --git a/subxt/src/metadata/mod.rs b/core/src/metadata/mod.rs similarity index 90% rename from subxt/src/metadata/mod.rs rename to core/src/metadata/mod.rs index a6ef00ae6f..3a43853916 100644 --- a/subxt/src/metadata/mod.rs +++ b/core/src/metadata/mod.rs @@ -8,7 +8,7 @@ mod decode_encode_traits; mod metadata_type; pub use decode_encode_traits::{DecodeWithMetadata, EncodeWithMetadata}; -pub use metadata_type::Metadata; +pub use metadata_type::{Metadata, MetadataExt}; // Expose metadata types under a sub module in case somebody needs to reference them: pub use subxt_metadata as types; diff --git a/subxt/src/runtime_api/runtime_payload.rs b/core/src/runtime_api/mod.rs similarity index 92% rename from subxt/src/runtime_api/runtime_payload.rs rename to core/src/runtime_api/mod.rs index cd5a3355b8..4f0f16c5dd 100644 --- a/subxt/src/runtime_api/runtime_payload.rs +++ b/core/src/runtime_api/mod.rs @@ -2,15 +2,20 @@ // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. +use alloc::borrow::Cow; +use alloc::borrow::ToOwned; +use alloc::string::String; +use alloc::vec::Vec; use core::marker::PhantomData; -use derivative::Derivative; +use derive_where::derive_where; use scale_encode::EncodeAsFields; use scale_value::Composite; -use std::borrow::Cow; use crate::dynamic::DecodedValueThunk; use crate::error::MetadataError; -use crate::{metadata::DecodeWithMetadata, Error, Metadata}; +use crate::Error; + +use crate::metadata::{DecodeWithMetadata, Metadata}; /// This represents a runtime API payload that can call into the runtime of node. /// @@ -66,11 +71,7 @@ pub trait RuntimeApiPayload { /// /// This can be created from static values (ie those generated /// via the `subxt` macro) or dynamic values via [`dynamic`]. -#[derive(Derivative)] -#[derivative( - Clone(bound = "ArgsData: Clone"), - Debug(bound = "ArgsData: std::fmt::Debug") -)] +#[derive_where(Clone, Debug, Eq, Ord, PartialEq, PartialOrd; ArgsData)] pub struct Payload { trait_name: Cow<'static, str>, method_name: Cow<'static, str>, @@ -99,7 +100,7 @@ impl RuntimeApiPayload .ok_or_else(|| MetadataError::RuntimeMethodNotFound((*self.method_name).to_owned()))?; let mut fields = api_method .inputs() - .map(|input| scale_encode::Field::named(input.ty, &input.name)); + .map(|input| scale_encode::Field::named(&input.ty, &input.name)); self.args_data .encode_as_fields_to(&mut fields, metadata.types(), out)?; @@ -146,7 +147,7 @@ impl Payload { method_name: Cow::Borrowed(method_name), args_data, validation_hash: Some(hash), - _marker: std::marker::PhantomData, + _marker: core::marker::PhantomData, } } diff --git a/core/src/storage/mod.rs b/core/src/storage/mod.rs new file mode 100644 index 0000000000..e00d0b0758 --- /dev/null +++ b/core/src/storage/mod.rs @@ -0,0 +1,22 @@ +// Copyright 2019-2023 Parity Technologies (UK) Ltd. +// This file is dual-licensed as Apache-2.0 or GPL-3.0. +// see LICENSE for license details. + +//! Types associated with accessing and working with storage items. + +mod storage_address; +mod storage_key; +pub mod utils; + +/// Types representing an address which describes where a storage +/// entry lives and how to properly decode it. +pub mod address { + pub use super::storage_address::{dynamic, Address, DynamicAddress, StorageAddress}; + pub use super::storage_key::{StaticStorageKey, StorageHashers, StorageKey}; +} + +pub use storage_key::StorageKey; + +// For consistency with other modules, also expose +// the basic address stuff at the root of the module. +pub use storage_address::{dynamic, Address, DynamicAddress, StorageAddress}; diff --git a/core/src/storage/storage_address.rs b/core/src/storage/storage_address.rs new file mode 100644 index 0000000000..fbb3f267ba --- /dev/null +++ b/core/src/storage/storage_address.rs @@ -0,0 +1,174 @@ +// Copyright 2019-2023 Parity Technologies (UK) Ltd. +// This file is dual-licensed as Apache-2.0 or GPL-3.0. +// see LICENSE for license details. + +use crate::{ + dynamic::DecodedValueThunk, + error::{Error, MetadataError}, + metadata::{DecodeWithMetadata, Metadata}, + utils::Yes, +}; +use derive_where::derive_where; + +use alloc::borrow::{Cow, ToOwned}; +use alloc::string::String; +use alloc::vec::Vec; + +use super::{storage_key::StorageHashers, StorageKey}; + +/// This represents a storage address. Anything implementing this trait +/// can be used to fetch and iterate over storage entries. +pub trait StorageAddress { + /// The target type of the value that lives at this address. + type Target: DecodeWithMetadata; + /// The keys type used to construct this address. + type Keys: StorageKey; + /// Can an entry be fetched from this address? + /// Set this type to [`Yes`] to enable the corresponding calls to be made. + type IsFetchable; + /// Can a default entry be obtained from this address? + /// Set this type to [`Yes`] to enable the corresponding calls to be made. + type IsDefaultable; + /// Can this address be iterated over? + /// Set this type to [`Yes`] to enable the corresponding calls to be made. + type IsIterable; + + /// The name of the pallet that the entry lives under. + fn pallet_name(&self) -> &str; + + /// The name of the entry in a given pallet that the item is at. + fn entry_name(&self) -> &str; + + /// Output the non-prefix bytes; that is, any additional bytes that need + /// to be appended to the key to dig into maps. + fn append_entry_bytes(&self, metadata: &Metadata, bytes: &mut Vec) -> Result<(), Error>; + + /// An optional hash which, if present, will be checked against + /// the node metadata to confirm that the return type matches what + /// we are expecting. + fn validation_hash(&self) -> Option<[u8; 32]> { + None + } +} + +/// A concrete storage address. This can be created from static values (ie those generated +/// via the `subxt` macro) or dynamic values via [`dynamic`]. +#[derive_where(Clone, Debug, Eq, Ord, PartialEq, PartialOrd; Keys)] +pub struct Address { + pallet_name: Cow<'static, str>, + entry_name: Cow<'static, str>, + keys: Keys, + validation_hash: Option<[u8; 32]>, + _marker: core::marker::PhantomData<(ReturnTy, Fetchable, Defaultable, Iterable)>, +} + +/// A typical storage address constructed at runtime rather than via the `subxt` macro; this +/// has no restriction on what it can be used for (since we don't statically know). +pub type DynamicAddress = Address; + +impl DynamicAddress { + /// Creates a new dynamic address. As `Keys` you can use a `Vec` + pub fn new(pallet_name: impl Into, entry_name: impl Into, keys: Keys) -> Self { + Self { + pallet_name: Cow::Owned(pallet_name.into()), + entry_name: Cow::Owned(entry_name.into()), + keys, + validation_hash: None, + _marker: core::marker::PhantomData, + } + } +} + +impl + Address +where + Keys: StorageKey, + ReturnTy: DecodeWithMetadata, +{ + /// Create a new [`Address`] using static strings for the pallet and call name. + /// This is only expected to be used from codegen. + #[doc(hidden)] + pub fn new_static( + pallet_name: &'static str, + entry_name: &'static str, + keys: Keys, + hash: [u8; 32], + ) -> Self { + Self { + pallet_name: Cow::Borrowed(pallet_name), + entry_name: Cow::Borrowed(entry_name), + keys, + validation_hash: Some(hash), + _marker: core::marker::PhantomData, + } + } +} + +impl + Address +where + Keys: StorageKey, + ReturnTy: DecodeWithMetadata, +{ + /// Do not validate this storage entry prior to accessing it. + pub fn unvalidated(self) -> Self { + Self { + validation_hash: None, + ..self + } + } + + /// Return bytes representing the root of this storage entry (a hash of the pallet and entry name). + pub fn to_root_bytes(&self) -> Vec { + super::utils::storage_address_root_bytes(self) + } +} + +impl StorageAddress + for Address +where + Keys: StorageKey, + ReturnTy: DecodeWithMetadata, +{ + type Target = ReturnTy; + type Keys = Keys; + type IsFetchable = Fetchable; + type IsDefaultable = Defaultable; + type IsIterable = Iterable; + + fn pallet_name(&self) -> &str { + &self.pallet_name + } + + fn entry_name(&self) -> &str { + &self.entry_name + } + + fn append_entry_bytes(&self, metadata: &Metadata, bytes: &mut Vec) -> Result<(), Error> { + let pallet = metadata.pallet_by_name_err(self.pallet_name())?; + let storage = pallet + .storage() + .ok_or_else(|| MetadataError::StorageNotFoundInPallet(self.pallet_name().to_owned()))?; + let entry = storage + .entry_by_name(self.entry_name()) + .ok_or_else(|| MetadataError::StorageEntryNotFound(self.entry_name().to_owned()))?; + + let hashers = StorageHashers::new(entry.entry_type(), metadata.types())?; + self.keys + .encode_storage_key(bytes, &mut hashers.iter(), metadata.types())?; + Ok(()) + } + + fn validation_hash(&self) -> Option<[u8; 32]> { + self.validation_hash + } +} + +/// Construct a new dynamic storage lookup. +pub fn dynamic( + pallet_name: impl Into, + entry_name: impl Into, + storage_entry_keys: Keys, +) -> DynamicAddress { + DynamicAddress::new(pallet_name, entry_name, storage_entry_keys) +} diff --git a/core/src/storage/storage_key.rs b/core/src/storage/storage_key.rs new file mode 100644 index 0000000000..d76246fb0e --- /dev/null +++ b/core/src/storage/storage_key.rs @@ -0,0 +1,475 @@ +use super::utils::hash_bytes; +use crate::{ + error::{Error, MetadataError, StorageAddressError}, + utils::{Encoded, Static}, +}; +use alloc::vec; +use alloc::vec::Vec; +use derive_where::derive_where; +use scale_decode::visitor::IgnoreVisitor; +use scale_encode::EncodeAsType; +use scale_info::{PortableRegistry, TypeDef}; +use scale_value::Value; +use subxt_metadata::{StorageEntryType, StorageHasher}; + +/// A collection of storage hashers paired with the type ids of the types they should hash. +/// Can be created for each storage entry in the metadata via [`StorageHashers::new()`]. +#[derive(Debug)] +pub struct StorageHashers { + hashers_and_ty_ids: Vec<(StorageHasher, u32)>, +} + +impl StorageHashers { + /// Creates new [`StorageHashers`] from a storage entry. Looks at the [`StorageEntryType`] and + /// assigns a hasher to each type id that makes up the key. + pub fn new(storage_entry: &StorageEntryType, types: &PortableRegistry) -> Result { + let mut hashers_and_ty_ids = vec![]; + if let StorageEntryType::Map { + hashers, key_ty, .. + } = storage_entry + { + let ty = types + .resolve(*key_ty) + .ok_or(MetadataError::TypeNotFound(*key_ty))?; + + if let TypeDef::Tuple(tuple) = &ty.type_def { + if hashers.len() == 1 { + // use the same hasher for all fields, if only 1 hasher present: + let hasher = hashers[0]; + for f in tuple.fields.iter() { + hashers_and_ty_ids.push((hasher, f.id)); + } + } else if hashers.len() < tuple.fields.len() { + return Err(StorageAddressError::WrongNumberOfHashers { + hashers: hashers.len(), + fields: tuple.fields.len(), + } + .into()); + } else { + for (i, f) in tuple.fields.iter().enumerate() { + hashers_and_ty_ids.push((hashers[i], f.id)); + } + } + } else { + if hashers.len() != 1 { + return Err(StorageAddressError::WrongNumberOfHashers { + hashers: hashers.len(), + fields: 1, + } + .into()); + } + hashers_and_ty_ids.push((hashers[0], *key_ty)); + }; + } + + Ok(Self { hashers_and_ty_ids }) + } + + /// Creates an iterator over the storage hashers and type ids. + pub fn iter(&self) -> StorageHashersIter<'_> { + StorageHashersIter { + hashers: self, + idx: 0, + } + } +} + +/// An iterator over all type ids of the key and the respective hashers. +/// See [`StorageHashers::iter()`]. +#[derive(Debug)] +pub struct StorageHashersIter<'a> { + hashers: &'a StorageHashers, + idx: usize, +} + +impl<'a> StorageHashersIter<'a> { + fn next_or_err(&mut self) -> Result<(StorageHasher, u32), Error> { + self.next().ok_or_else(|| { + StorageAddressError::TooManyKeys { + expected: self.hashers.hashers_and_ty_ids.len(), + } + .into() + }) + } +} + +impl<'a> Iterator for StorageHashersIter<'a> { + type Item = (StorageHasher, u32); + + fn next(&mut self) -> Option { + let item = self.hashers.hashers_and_ty_ids.get(self.idx).copied()?; + self.idx += 1; + Some(item) + } +} + +impl<'a> ExactSizeIterator for StorageHashersIter<'a> { + fn len(&self) -> usize { + self.hashers.hashers_and_ty_ids.len() - self.idx + } +} + +/// This trait should be implemented by anything that can be used as one or multiple storage keys. +pub trait StorageKey { + /// Encodes the storage key into some bytes + fn encode_storage_key( + &self, + bytes: &mut Vec, + hashers: &mut StorageHashersIter, + types: &PortableRegistry, + ) -> Result<(), Error>; + + /// Attempts to decode the StorageKey given some bytes and a set of hashers and type IDs that they are meant to represent. + /// The bytes passed to `decode` should start with: + /// - 1. some fixed size hash (for all hashers except `Identity`) + /// - 2. the plain key value itself (for `Identity`, `Blake2_128Concat` and `Twox64Concat` hashers) + fn decode_storage_key( + bytes: &mut &[u8], + hashers: &mut StorageHashersIter, + types: &PortableRegistry, + ) -> Result + where + Self: Sized + 'static; +} + +/// Implement `StorageKey` for `()` which can be used for keyless storage entries, +/// or to otherwise just ignore some entry. +impl StorageKey for () { + fn encode_storage_key( + &self, + _bytes: &mut Vec, + hashers: &mut StorageHashersIter, + _types: &PortableRegistry, + ) -> Result<(), Error> { + _ = hashers.next_or_err(); + Ok(()) + } + + fn decode_storage_key( + bytes: &mut &[u8], + hashers: &mut StorageHashersIter, + types: &PortableRegistry, + ) -> Result { + let (hasher, ty_id) = match hashers.next_or_err() { + Ok((hasher, ty_id)) => (hasher, ty_id), + Err(_) if bytes.is_empty() => return Ok(()), + Err(err) => return Err(err), + }; + consume_hash_returning_key_bytes(bytes, hasher, ty_id, types)?; + Ok(()) + } +} + +/// A storage key for static encoded values. +/// The original value is only present at construction, but can be decoded from the contained bytes. +#[derive_where(Clone, Debug, PartialOrd, PartialEq, Eq)] +pub struct StaticStorageKey { + bytes: Static, + _marker: core::marker::PhantomData, +} + +impl StaticStorageKey { + /// Creates a new static storage key + pub fn new(key: &K) -> Self { + StaticStorageKey { + bytes: Static(Encoded(key.encode())), + _marker: core::marker::PhantomData, + } + } +} + +impl StaticStorageKey { + /// Decodes the encoded inner bytes into the type `K`. + pub fn decoded(&self) -> Result { + let decoded = K::decode(&mut self.bytes())?; + Ok(decoded) + } +} + +impl StaticStorageKey { + /// Returns the scale-encoded bytes that make up this key + pub fn bytes(&self) -> &[u8] { + &self.bytes.0 .0 + } +} + +// Note: The ?Sized bound is necessary to support e.g. `StorageKey<[u8]>`. +impl StorageKey for StaticStorageKey { + fn encode_storage_key( + &self, + bytes: &mut Vec, + hashers: &mut StorageHashersIter, + types: &PortableRegistry, + ) -> Result<(), Error> { + let (hasher, ty_id) = hashers.next_or_err()?; + let encoded_value = self.bytes.encode_as_type(&ty_id, types)?; + hash_bytes(&encoded_value, hasher, bytes); + Ok(()) + } + + fn decode_storage_key( + bytes: &mut &[u8], + hashers: &mut StorageHashersIter, + types: &PortableRegistry, + ) -> Result + where + Self: Sized + 'static, + { + let (hasher, ty_id) = hashers.next_or_err()?; + let key_bytes = consume_hash_returning_key_bytes(bytes, hasher, ty_id, types)?; + + // if the hasher had no key appended, we can't decode it into a `StaticStorageKey`. + let Some(key_bytes) = key_bytes else { + return Err(StorageAddressError::HasherCannotReconstructKey { ty_id, hasher }.into()); + }; + + // Return the key bytes. + let key = StaticStorageKey { + bytes: Static(Encoded(key_bytes.to_vec())), + _marker: core::marker::PhantomData::, + }; + Ok(key) + } +} + +impl StorageKey for Vec { + fn encode_storage_key( + &self, + bytes: &mut Vec, + hashers: &mut StorageHashersIter, + types: &PortableRegistry, + ) -> Result<(), Error> { + for value in self.iter() { + let (hasher, ty_id) = hashers.next_or_err()?; + let encoded_value = value.encode_as_type(&ty_id, types)?; + hash_bytes(&encoded_value, hasher, bytes); + } + Ok(()) + } + + fn decode_storage_key( + bytes: &mut &[u8], + hashers: &mut StorageHashersIter, + types: &PortableRegistry, + ) -> Result + where + Self: Sized + 'static, + { + let mut result: Vec = vec![]; + for (hasher, ty_id) in hashers.by_ref() { + match consume_hash_returning_key_bytes(bytes, hasher, ty_id, types)? { + Some(value_bytes) => { + let value = + scale_value::scale::decode_as_type(&mut &*value_bytes, &ty_id, types)?; + result.push(value.remove_context()); + } + None => { + result.push(Value::unnamed_composite([])); + } + } + } + + // We've consumed all of the hashers, so we expect to also consume all of the bytes: + if !bytes.is_empty() { + return Err(StorageAddressError::TooManyBytes.into()); + } + + Ok(result) + } +} + +// Skip over the hash bytes (including any key at the end), returning bytes +// representing the key if one exists, or None if the hasher has no key appended. +fn consume_hash_returning_key_bytes<'a>( + bytes: &mut &'a [u8], + hasher: StorageHasher, + ty_id: u32, + types: &PortableRegistry, +) -> Result, Error> { + // Strip the bytes off for the actual hash, consuming them. + let bytes_to_strip = hasher.len_excluding_key(); + if bytes.len() < bytes_to_strip { + return Err(StorageAddressError::NotEnoughBytes.into()); + } + *bytes = &bytes[bytes_to_strip..]; + + // Now, find the bytes representing the key, consuming them. + let before_key = *bytes; + if hasher.ends_with_key() { + scale_decode::visitor::decode_with_visitor( + bytes, + &ty_id, + types, + IgnoreVisitor::::new(), + ) + .map_err(|err| Error::Decode(err.into()))?; + // Return the key bytes, having advanced the input cursor past them. + let key_bytes = &before_key[..before_key.len() - bytes.len()]; + + Ok(Some(key_bytes)) + } else { + // There are no key bytes, so return None. + Ok(None) + } +} + +/// Generates StorageKey implementations for tuples +macro_rules! impl_tuples { + ($($ty:ident $n:tt),+) => {{ + impl<$($ty: StorageKey),+> StorageKey for ($( $ty ),+) { + fn encode_storage_key( + &self, + bytes: &mut Vec, + hashers: &mut StorageHashersIter, + types: &PortableRegistry, + ) -> Result<(), Error> { + $( self.$n.encode_storage_key(bytes, hashers, types)?; )+ + Ok(()) + } + + fn decode_storage_key( + bytes: &mut &[u8], + hashers: &mut StorageHashersIter, + types: &PortableRegistry, + ) -> Result + where + Self: Sized + 'static, + { + Ok( ( $( $ty::decode_storage_key(bytes, hashers, types)?, )+ ) ) + } + } + }}; +} + +#[rustfmt::skip] +const _: () = { + impl_tuples!(A 0, B 1); + impl_tuples!(A 0, B 1, C 2); + impl_tuples!(A 0, B 1, C 2, D 3); + impl_tuples!(A 0, B 1, C 2, D 3, E 4); + impl_tuples!(A 0, B 1, C 2, D 3, E 4, F 5); + impl_tuples!(A 0, B 1, C 2, D 3, E 4, F 5, G 6); + impl_tuples!(A 0, B 1, C 2, D 3, E 4, F 5, G 6, H 7); +}; + +#[cfg(test)] +mod tests { + + use codec::Encode; + use scale_info::{meta_type, PortableRegistry, Registry, TypeInfo}; + use subxt_metadata::StorageHasher; + + use crate::utils::Era; + + use alloc::string::String; + use alloc::vec; + use alloc::vec::Vec; + + use super::{StaticStorageKey, StorageKey}; + + struct KeyBuilder { + registry: Registry, + bytes: Vec, + hashers_and_ty_ids: Vec<(StorageHasher, u32)>, + } + + impl KeyBuilder { + fn new() -> KeyBuilder { + KeyBuilder { + registry: Registry::new(), + bytes: vec![], + hashers_and_ty_ids: vec![], + } + } + + fn add(mut self, value: T, hasher: StorageHasher) -> Self { + let id = self.registry.register_type(&meta_type::()).id; + + self.hashers_and_ty_ids.push((hasher, id)); + for _i in 0..hasher.len_excluding_key() { + self.bytes.push(0); + } + value.encode_to(&mut self.bytes); + self + } + + fn build(self) -> (PortableRegistry, Vec, Vec<(StorageHasher, u32)>) { + (self.registry.into(), self.bytes, self.hashers_and_ty_ids) + } + } + + #[test] + fn storage_key_decoding_fuzz() { + let hashers = [ + StorageHasher::Blake2_128, + StorageHasher::Blake2_128Concat, + StorageHasher::Blake2_256, + StorageHasher::Identity, + StorageHasher::Twox128, + StorageHasher::Twox256, + StorageHasher::Twox64Concat, + ]; + + let key_preserving_hashers = [ + StorageHasher::Blake2_128Concat, + StorageHasher::Identity, + StorageHasher::Twox64Concat, + ]; + + type T4A = ( + (), + StaticStorageKey, + StaticStorageKey, + StaticStorageKey, + ); + type T4B = ( + (), + (StaticStorageKey, StaticStorageKey), + StaticStorageKey, + ); + type T4C = ( + ((), StaticStorageKey), + (StaticStorageKey, StaticStorageKey), + ); + + let era = Era::Immortal; + for h0 in hashers { + for h1 in key_preserving_hashers { + for h2 in key_preserving_hashers { + for h3 in key_preserving_hashers { + let (types, bytes, hashers_and_ty_ids) = KeyBuilder::new() + .add((), h0) + .add(13u32, h1) + .add("Hello", h2) + .add(era, h3) + .build(); + + let hashers = super::StorageHashers { hashers_and_ty_ids }; + let keys_a = + T4A::decode_storage_key(&mut &bytes[..], &mut hashers.iter(), &types) + .unwrap(); + + let keys_b = + T4B::decode_storage_key(&mut &bytes[..], &mut hashers.iter(), &types) + .unwrap(); + + let keys_c = + T4C::decode_storage_key(&mut &bytes[..], &mut hashers.iter(), &types) + .unwrap(); + + assert_eq!(keys_a.1.decoded().unwrap(), 13); + assert_eq!(keys_b.1 .0.decoded().unwrap(), 13); + assert_eq!(keys_c.0 .1.decoded().unwrap(), 13); + + assert_eq!(keys_a.2.decoded().unwrap(), "Hello"); + assert_eq!(keys_b.1 .1.decoded().unwrap(), "Hello"); + assert_eq!(keys_c.1 .0.decoded().unwrap(), "Hello"); + assert_eq!(keys_a.3.decoded().unwrap(), era); + assert_eq!(keys_b.2.decoded().unwrap(), era); + assert_eq!(keys_c.1 .1.decoded().unwrap(), era); + } + } + } + } + } +} diff --git a/core/src/storage/utils.rs b/core/src/storage/utils.rs new file mode 100644 index 0000000000..f749df31c0 --- /dev/null +++ b/core/src/storage/utils.rs @@ -0,0 +1,118 @@ +// Copyright 2019-2023 Parity Technologies (UK) Ltd. +// This file is dual-licensed as Apache-2.0 or GPL-3.0. +// see LICENSE for license details. + +//! these utility methods complement the [`StorageAddress`] trait, but +//! aren't things that should ever be overridden, and so don't exist on +//! the trait itself. + +use crate::error::MetadataError; +use crate::metadata::{DecodeWithMetadata, MetadataExt}; +use alloc::vec::Vec; +use subxt_metadata::PalletMetadata; +use subxt_metadata::{StorageEntryMetadata, StorageHasher}; + +use super::StorageAddress; +use crate::{error::Error, metadata::Metadata}; +use alloc::borrow::ToOwned; + +/// Return the root of a given [`StorageAddress`]: hash the pallet name and entry name +/// and append those bytes to the output. +pub fn write_storage_address_root_bytes( + addr: &Address, + out: &mut Vec, +) { + out.extend(sp_crypto_hashing::twox_128(addr.pallet_name().as_bytes())); + out.extend(sp_crypto_hashing::twox_128(addr.entry_name().as_bytes())); +} + +/// Outputs the [`storage_address_root_bytes`] as well as any additional bytes that represent +/// a lookup in a storage map at that location. +pub fn storage_address_bytes( + addr: &Address, + metadata: &Metadata, +) -> Result, Error> { + let mut bytes = Vec::new(); + write_storage_address_root_bytes(addr, &mut bytes); + addr.append_entry_bytes(metadata, &mut bytes)?; + Ok(bytes) +} + +/// Outputs a vector containing the bytes written by [`write_storage_address_root_bytes`]. +pub fn storage_address_root_bytes(addr: &Address) -> Vec { + let mut bytes = Vec::new(); + write_storage_address_root_bytes(addr, &mut bytes); + bytes +} + +/// Take some SCALE encoded bytes and a [`StorageHasher`] and hash the bytes accordingly. +pub fn hash_bytes(input: &[u8], hasher: StorageHasher, bytes: &mut Vec) { + match hasher { + StorageHasher::Identity => bytes.extend(input), + StorageHasher::Blake2_128 => bytes.extend(sp_crypto_hashing::blake2_128(input)), + StorageHasher::Blake2_128Concat => { + bytes.extend(sp_crypto_hashing::blake2_128(input)); + bytes.extend(input); + } + StorageHasher::Blake2_256 => bytes.extend(sp_crypto_hashing::blake2_256(input)), + StorageHasher::Twox128 => bytes.extend(sp_crypto_hashing::twox_128(input)), + StorageHasher::Twox256 => bytes.extend(sp_crypto_hashing::twox_256(input)), + StorageHasher::Twox64Concat => { + bytes.extend(sp_crypto_hashing::twox_64(input)); + bytes.extend(input); + } + } +} + +/// Return details about the given storage entry. +pub fn lookup_entry_details<'a>( + pallet_name: &str, + entry_name: &str, + metadata: &'a subxt_metadata::Metadata, +) -> Result<(PalletMetadata<'a>, &'a StorageEntryMetadata), Error> { + let pallet_metadata = metadata.pallet_by_name_err(pallet_name)?; + let storage_metadata = pallet_metadata + .storage() + .ok_or_else(|| MetadataError::StorageNotFoundInPallet(pallet_name.to_owned()))?; + let storage_entry = storage_metadata + .entry_by_name(entry_name) + .ok_or_else(|| MetadataError::StorageEntryNotFound(entry_name.to_owned()))?; + Ok((pallet_metadata, storage_entry)) +} + +/// Validate a storage address against the metadata. +pub fn validate_storage_address( + address: &Address, + pallet: PalletMetadata<'_>, +) -> Result<(), Error> { + if let Some(hash) = address.validation_hash() { + validate_storage(pallet, address.entry_name(), hash)?; + } + Ok(()) +} + +/// Validate a storage entry against the metadata. +fn validate_storage( + pallet: PalletMetadata<'_>, + storage_name: &str, + hash: [u8; 32], +) -> Result<(), Error> { + let Some(expected_hash) = pallet.storage_hash(storage_name) else { + return Err(MetadataError::IncompatibleCodegen.into()); + }; + if expected_hash != hash { + return Err(MetadataError::IncompatibleCodegen.into()); + } + Ok(()) +} + +/// Given some bytes, a pallet and storage name, decode the response. +pub fn decode_storage_with_metadata( + bytes: &mut &[u8], + metadata: &Metadata, + storage_metadata: &StorageEntryMetadata, +) -> Result { + let return_ty = storage_metadata.entry_type().value_ty(); + let val = T::decode_with_metadata(bytes, return_ty, metadata)?; + Ok(val) +} diff --git a/subxt/src/tx/tx_payload.rs b/core/src/tx/mod.rs similarity index 85% rename from subxt/src/tx/tx_payload.rs rename to core/src/tx/mod.rs index 508a6a99e6..8266f0c687 100644 --- a/subxt/src/tx/tx_payload.rs +++ b/core/src/tx/mod.rs @@ -5,15 +5,19 @@ //! This module contains the trait and types used to represent //! transactions that can be submitted. -use crate::{ - dynamic::Value, - error::{Error, MetadataError}, - metadata::Metadata, -}; +use crate::error::MetadataError; +use crate::metadata::Metadata; +use crate::Error; +use alloc::borrow::{Cow, ToOwned}; +use alloc::string::String; + +use alloc::vec::Vec; use codec::Encode; use scale_encode::EncodeAsFields; -use scale_value::{Composite, ValueDef, Variant}; -use std::{borrow::Cow, sync::Arc}; +use scale_value::{Composite, Value, ValueDef, Variant}; + +pub mod signer; +pub use signer::Signer; /// This represents a transaction payload that can be submitted /// to a node. @@ -48,7 +52,7 @@ pub struct ValidationDetails<'a> { } /// A transaction payload containing some generic `CallData`. -#[derive(Clone, Debug)] +#[derive(Clone, Debug, Eq, Ord, PartialEq, PartialOrd)] pub struct Payload { pallet_name: Cow<'static, str>, call_name: Cow<'static, str>, @@ -56,10 +60,6 @@ pub struct Payload { validation_hash: Option<[u8; 32]>, } -/// A boxed transaction payload. -// Dev Note: Arc used to enable easy cloning (given that we can't have dyn Clone). -pub type BoxedPayload = Payload>; - /// The type of a payload typically used for dynamic transaction payloads. pub type DynamicPayload = Payload>; @@ -95,19 +95,6 @@ impl Payload { } } - /// Box the payload. - pub fn boxed(self) -> BoxedPayload - where - CallData: EncodeAsFields + Send + Sync + 'static, - { - BoxedPayload { - pallet_name: self.pallet_name, - call_name: self.call_name, - call_data: Arc::new(self.call_data), - validation_hash: self.validation_hash, - } - } - /// Do not validate this call prior to submitting it. pub fn unvalidated(self) -> Self { Self { @@ -165,10 +152,11 @@ impl TxPayload for Payload { let mut fields = call .fields .iter() - .map(|f| scale_encode::Field::new(f.ty.id, f.name.as_deref())); + .map(|f| scale_encode::Field::new(&f.ty.id, f.name.as_deref())); self.call_data - .encode_as_fields_to(&mut fields, metadata.types(), out)?; + .encode_as_fields_to(&mut fields, metadata.types(), out) + .expect("The fields are valid types from the metadata, qed;"); Ok(()) } diff --git a/subxt/src/tx/signer.rs b/core/src/tx/signer.rs similarity index 100% rename from subxt/src/tx/signer.rs rename to core/src/tx/signer.rs diff --git a/subxt/src/utils/account_id.rs b/core/src/utils/account_id.rs similarity index 92% rename from subxt/src/utils/account_id.rs rename to core/src/utils/account_id.rs index faa3dbbd4d..ce2d343d17 100644 --- a/subxt/src/utils/account_id.rs +++ b/core/src/utils/account_id.rs @@ -6,7 +6,12 @@ //! This doesn't contain much functionality itself, but is easy to convert to/from an `sp_core::AccountId32` //! for instance, to gain functionality without forcing a dependency on Substrate crates here. +use alloc::format; +use alloc::string::String; +use alloc::vec; +use alloc::vec::Vec; use codec::{Decode, Encode}; +use derive_more::Display; use serde::{Deserialize, Serialize}; /// A 32-byte cryptographic identifier. This is a simplified version of Substrate's @@ -100,19 +105,22 @@ impl AccountId32 { } /// An error obtained from trying to interpret an SS58 encoded string into an AccountId32 -#[derive(thiserror::Error, Clone, Copy, Eq, PartialEq, Debug)] +#[derive(Clone, Copy, Eq, PartialEq, Debug, Display)] #[allow(missing_docs)] pub enum FromSs58Error { - #[error("Base 58 requirement is violated")] + #[display(fmt = "Base 58 requirement is violated")] BadBase58, - #[error("Length is bad")] + #[display(fmt = "Length is bad")] BadLength, - #[error("Invalid checksum")] + #[display(fmt = "Invalid checksum")] InvalidChecksum, - #[error("Invalid SS58 prefix byte.")] + #[display(fmt = "Invalid SS58 prefix byte.")] InvalidPrefix, } +#[cfg(feature = "std")] +impl std::error::Error for FromSs58Error {} + // We do this just to get a checksum to help verify the validity of the address in to_ss58check fn ss58hash(data: &[u8]) -> Vec { use blake2::{Blake2b512, Digest}; @@ -142,13 +150,13 @@ impl<'de> Deserialize<'de> for AccountId32 { } } -impl std::fmt::Display for AccountId32 { - fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result { +impl core::fmt::Display for AccountId32 { + fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result { write!(f, "{}", self.to_ss58check()) } } -impl std::str::FromStr for AccountId32 { +impl core::str::FromStr for AccountId32 { type Err = FromSs58Error; fn from_str(s: &str) -> Result { AccountId32::from_ss58check(s) diff --git a/subxt/src/utils/bits.rs b/core/src/utils/bits.rs similarity index 90% rename from subxt/src/utils/bits.rs rename to core/src/utils/bits.rs index ed830a0dea..8c83314e13 100644 --- a/subxt/src/utils/bits.rs +++ b/core/src/utils/bits.rs @@ -4,13 +4,15 @@ //! Generic `scale_bits` over `bitvec`-like `BitOrder` and `BitFormat` types. +use alloc::vec; +use alloc::vec::Vec; use codec::{Compact, Input}; +use core::marker::PhantomData; use scale_bits::{ scale::format::{Format, OrderFormat, StoreFormat}, Bits, }; -use scale_decode::IntoVisitor; -use std::marker::PhantomData; +use scale_decode::{IntoVisitor, TypeResolver}; /// Associates `bitvec::store::BitStore` trait with corresponding, type-erased `scale_bits::StoreFormat` enum. /// @@ -144,45 +146,43 @@ impl codec::Encode for DecodedBits(std::marker::PhantomData<(S, O)>); -impl scale_decode::Visitor for DecodedBitsVisitor { +pub struct DecodedBitsVisitor(core::marker::PhantomData<(S, O, R)>); + +impl scale_decode::Visitor for DecodedBitsVisitor { type Value<'scale, 'info> = DecodedBits; type Error = scale_decode::Error; + type TypeResolver = R; fn unchecked_decode_as_type<'scale, 'info>( self, input: &mut &'scale [u8], - type_id: scale_decode::visitor::TypeId, - types: &'info scale_info::PortableRegistry, + type_id: &R::TypeId, + types: &'info R, ) -> scale_decode::visitor::DecodeAsTypeResult< Self, Result, Self::Error>, > { - let res = scale_decode::visitor::decode_with_visitor( - input, - type_id.0, - types, - Bits::into_visitor(), - ) - .map(|bits| DecodedBits { - bits, - _marker: PhantomData, - }); + let res = + scale_decode::visitor::decode_with_visitor(input, type_id, types, Bits::into_visitor()) + .map(|bits| DecodedBits { + bits, + _marker: PhantomData, + }); scale_decode::visitor::DecodeAsTypeResult::Decoded(res) } } impl scale_decode::IntoVisitor for DecodedBits { - type Visitor = DecodedBitsVisitor; - fn into_visitor() -> Self::Visitor { + type AnyVisitor = DecodedBitsVisitor; + fn into_visitor() -> DecodedBitsVisitor { DecodedBitsVisitor(PhantomData) } } impl scale_encode::EncodeAsType for DecodedBits { - fn encode_as_type_to( + fn encode_as_type_to( &self, - type_id: u32, - types: &scale_info::PortableRegistry, + type_id: &R::TypeId, + types: &R, out: &mut Vec, ) -> Result<(), scale_encode::Error> { self.bits.encode_as_type_to(type_id, types, out) diff --git a/subxt/src/utils/era.rs b/core/src/utils/era.rs similarity index 100% rename from subxt/src/utils/era.rs rename to core/src/utils/era.rs diff --git a/core/src/utils/mod.rs b/core/src/utils/mod.rs new file mode 100644 index 0000000000..6d57b974c3 --- /dev/null +++ b/core/src/utils/mod.rs @@ -0,0 +1,83 @@ +// Copyright 2019-2023 Parity Technologies (UK) Ltd. +// This file is dual-licensed as Apache-2.0 or GPL-3.0. +// see LICENSE for license details. + +//! Miscellaneous utility helpers. + +mod account_id; +pub mod bits; +mod era; +mod multi_address; +mod multi_signature; +mod static_type; +mod unchecked_extrinsic; +mod wrapper_opaque; + +use alloc::borrow::ToOwned; +use alloc::format; +use alloc::string::String; +use alloc::vec::Vec; +use codec::{Compact, Decode, Encode}; +use derive_where::derive_where; + +pub use account_id::AccountId32; +pub use era::Era; +pub use multi_address::MultiAddress; +pub use multi_signature::MultiSignature; +pub use static_type::Static; +pub use unchecked_extrinsic::UncheckedExtrinsic; +pub use wrapper_opaque::WrapperKeepOpaque; + +// Used in codegen +#[doc(hidden)] +pub use primitive_types::{H160, H256, H512}; + +/// Wraps an already encoded byte vector, prevents being encoded as a raw byte vector as part of +/// the transaction payload +#[derive(Clone, Debug, Eq, PartialEq, Ord, PartialOrd)] +pub struct Encoded(pub Vec); + +impl codec::Encode for Encoded { + fn encode(&self) -> Vec { + self.0.to_owned() + } +} + +/// Decodes a compact encoded value from the beginning of the provided bytes, +/// returning the value and any remaining bytes. +pub fn strip_compact_prefix(bytes: &[u8]) -> Result<(u64, &[u8]), codec::Error> { + let cursor = &mut &*bytes; + let val = >::decode(cursor)?; + Ok((val.0, *cursor)) +} + +/// A version of [`core::marker::PhantomData`] that is also Send and Sync (which is fine +/// because regardless of the generic param, it is always possible to Send + Sync this +/// 0 size type). +#[derive(Encode, Decode, scale_info::TypeInfo)] +#[derive_where(Clone, PartialEq, Debug, Eq, Default, Hash)] +#[scale_info(skip_type_params(T))] +#[doc(hidden)] +pub struct PhantomDataSendSync(core::marker::PhantomData); + +impl PhantomDataSendSync { + pub fn new() -> Self { + Self(core::marker::PhantomData) + } +} + +unsafe impl Send for PhantomDataSendSync {} +unsafe impl Sync for PhantomDataSendSync {} + +/// This represents a key-value collection and is SCALE compatible +/// with collections like BTreeMap. This has the same type params +/// as `BTreeMap` which allows us to easily swap the two during codegen. +pub type KeyedVec = Vec<(K, V)>; + +/// A unit marker struct signalling that some property is true +pub struct Yes; + +/// A quick helper to encode some bytes to hex. +pub fn to_hex(bytes: impl AsRef<[u8]>) -> String { + format!("0x{}", hex::encode(bytes.as_ref())) +} diff --git a/subxt/src/utils/multi_address.rs b/core/src/utils/multi_address.rs similarity index 99% rename from subxt/src/utils/multi_address.rs rename to core/src/utils/multi_address.rs index 9b1e556fa9..3a2d97297d 100644 --- a/subxt/src/utils/multi_address.rs +++ b/core/src/utils/multi_address.rs @@ -6,6 +6,7 @@ //! This doesn't contain much functionality itself, but is easy to convert to/from an `sp_runtime::MultiAddress` //! for instance, to gain functionality without forcing a dependency on Substrate crates here. +use alloc::vec::Vec; use codec::{Decode, Encode}; /// A multi-format address wrapper for on-chain accounts. This is a simplified version of Substrate's diff --git a/subxt/src/utils/multi_signature.rs b/core/src/utils/multi_signature.rs similarity index 100% rename from subxt/src/utils/multi_signature.rs rename to core/src/utils/multi_signature.rs diff --git a/subxt/src/utils/static_type.rs b/core/src/utils/static_type.rs similarity index 74% rename from subxt/src/utils/static_type.rs rename to core/src/utils/static_type.rs index 2d13e61eba..ad359886f5 100644 --- a/subxt/src/utils/static_type.rs +++ b/core/src/utils/static_type.rs @@ -3,9 +3,11 @@ // see LICENSE for license details. use codec::{Decode, Encode}; -use scale_decode::{visitor::DecodeAsTypeResult, IntoVisitor, Visitor}; +use scale_decode::{visitor::DecodeAsTypeResult, IntoVisitor, TypeResolver, Visitor}; use scale_encode::EncodeAsType; +use alloc::vec::Vec; + /// If the type inside this implements [`Encode`], this will implement [`scale_encode::EncodeAsType`]. /// If the type inside this implements [`Decode`], this will implement [`scale_decode::DecodeAsType`]. /// @@ -18,10 +20,10 @@ use scale_encode::EncodeAsType; pub struct Static(pub T); impl EncodeAsType for Static { - fn encode_as_type_to( + fn encode_as_type_to( &self, - _type_id: u32, - _types: &scale_decode::PortableRegistry, + _type_id: &R::TypeId, + _types: &R, out: &mut Vec, ) -> Result<(), scale_encode::Error> { self.0.encode_to(out); @@ -29,17 +31,18 @@ impl EncodeAsType for Static { } } -pub struct StaticDecodeAsTypeVisitor(std::marker::PhantomData); +pub struct StaticDecodeAsTypeVisitor(core::marker::PhantomData<(T, R)>); -impl Visitor for StaticDecodeAsTypeVisitor { +impl Visitor for StaticDecodeAsTypeVisitor { type Value<'scale, 'info> = Static; type Error = scale_decode::Error; + type TypeResolver = R; fn unchecked_decode_as_type<'scale, 'info>( self, input: &mut &'scale [u8], - _type_id: scale_decode::visitor::TypeId, - _types: &'info scale_info::PortableRegistry, + _type_id: &R::TypeId, + _types: &'info R, ) -> DecodeAsTypeResult, Self::Error>> { use scale_decode::{visitor::DecodeError, Error}; let decoded = T::decode(input) @@ -50,9 +53,9 @@ impl Visitor for StaticDecodeAsTypeVisitor { } impl IntoVisitor for Static { - type Visitor = StaticDecodeAsTypeVisitor; - fn into_visitor() -> Self::Visitor { - StaticDecodeAsTypeVisitor(std::marker::PhantomData) + type AnyVisitor = StaticDecodeAsTypeVisitor; + fn into_visitor() -> StaticDecodeAsTypeVisitor { + StaticDecodeAsTypeVisitor(core::marker::PhantomData) } } @@ -64,14 +67,14 @@ impl From for Static { } // Static is just a marker type and should be as transparent as possible: -impl std::ops::Deref for Static { +impl core::ops::Deref for Static { type Target = T; fn deref(&self) -> &Self::Target { &self.0 } } -impl std::ops::DerefMut for Static { +impl core::ops::DerefMut for Static { fn deref_mut(&mut self) -> &mut Self::Target { &mut self.0 } diff --git a/subxt/src/utils/unchecked_extrinsic.rs b/core/src/utils/unchecked_extrinsic.rs similarity index 85% rename from subxt/src/utils/unchecked_extrinsic.rs rename to core/src/utils/unchecked_extrinsic.rs index 882b490bed..6f4c3e69b0 100644 --- a/subxt/src/utils/unchecked_extrinsic.rs +++ b/core/src/utils/unchecked_extrinsic.rs @@ -9,12 +9,13 @@ //! runtime APIs. Deriving `EncodeAsType` would lead to the inner //! bytes to be re-encoded (length prefixed). -use std::marker::PhantomData; +use core::marker::PhantomData; use codec::{Decode, Encode}; -use scale_decode::{visitor::DecodeAsTypeResult, DecodeAsType, IntoVisitor, Visitor}; +use scale_decode::{visitor::DecodeAsTypeResult, DecodeAsType, IntoVisitor, TypeResolver, Visitor}; use super::{Encoded, Static}; +use alloc::vec::Vec; /// The unchecked extrinsic from substrate. #[derive(Clone, Debug, Eq, PartialEq, Encode)] @@ -52,10 +53,10 @@ impl Decode impl scale_encode::EncodeAsType for UncheckedExtrinsic { - fn encode_as_type_to( + fn encode_as_type_to( &self, - type_id: u32, - types: &scale_info::PortableRegistry, + type_id: &R::TypeId, + types: &R, out: &mut Vec, ) -> Result<(), scale_encode::Error> { self.0.encode_as_type_to(type_id, types, out) @@ -78,32 +79,35 @@ impl From( - PhantomData<(Address, Call, Signature, Extra)>, +pub struct UncheckedExtrinsicDecodeAsTypeVisitor( + PhantomData<(Address, Call, Signature, Extra, R)>, ); -impl Visitor - for UncheckedExtrinsicDecodeAsTypeVisitor +impl Visitor + for UncheckedExtrinsicDecodeAsTypeVisitor { type Value<'scale, 'info> = UncheckedExtrinsic; type Error = scale_decode::Error; + type TypeResolver = R; fn unchecked_decode_as_type<'scale, 'info>( self, input: &mut &'scale [u8], - type_id: scale_decode::visitor::TypeId, - types: &'info scale_info::PortableRegistry, + type_id: &R::TypeId, + types: &'info R, ) -> DecodeAsTypeResult, Self::Error>> { - DecodeAsTypeResult::Decoded(Self::Value::decode_as_type(input, type_id.0, types)) + DecodeAsTypeResult::Decoded(Self::Value::decode_as_type(input, type_id, types)) } } impl IntoVisitor for UncheckedExtrinsic { - type Visitor = UncheckedExtrinsicDecodeAsTypeVisitor; + type AnyVisitor = + UncheckedExtrinsicDecodeAsTypeVisitor; - fn into_visitor() -> Self::Visitor { + fn into_visitor( + ) -> UncheckedExtrinsicDecodeAsTypeVisitor { UncheckedExtrinsicDecodeAsTypeVisitor(PhantomData) } } @@ -112,6 +116,8 @@ impl IntoVisitor pub mod tests { use super::*; + use alloc::vec; + #[test] fn unchecked_extrinsic_encoding() { // A tx is basically some bytes with a compact length prefix; ie an encoded vec: diff --git a/subxt/src/utils/wrapper_opaque.rs b/core/src/utils/wrapper_opaque.rs similarity index 78% rename from subxt/src/utils/wrapper_opaque.rs rename to core/src/utils/wrapper_opaque.rs index 9257405715..f0414a9d17 100644 --- a/subxt/src/utils/wrapper_opaque.rs +++ b/core/src/utils/wrapper_opaque.rs @@ -4,10 +4,13 @@ use super::PhantomDataSendSync; use codec::{Compact, Decode, DecodeAll, Encode}; -use derivative::Derivative; -use scale_decode::{IntoVisitor, Visitor}; +use derive_where::derive_where; +use scale_decode::{ext::scale_type_resolver::visitor, IntoVisitor, TypeResolver, Visitor}; use scale_encode::EncodeAsType; +use alloc::format; +use alloc::vec::Vec; + /// A wrapper for any type `T` which implement encode/decode in a way compatible with `Vec`. /// [`WrapperKeepOpaque`] stores the type only in its opaque format, aka as a `Vec`. To /// access the real type `T` [`Self::try_decode`] needs to be used. @@ -18,15 +21,8 @@ use scale_encode::EncodeAsType; // - However, the TypeInfo describes the type as a composite with first a compact encoded length and next the type itself. // [`Encode`] and [`Decode`] impls will "just work" to take this into a `Vec`, but we need a custom [`EncodeAsType`] // and [`Visitor`] implementation to encode and decode based on TypeInfo. -#[derive(Derivative, Encode, Decode)] -#[derivative( - Debug(bound = ""), - Clone(bound = ""), - PartialEq(bound = ""), - Eq(bound = ""), - Default(bound = ""), - Hash(bound = "") -)] +#[derive(Encode, Decode)] +#[derive_where(Debug, Clone, PartialEq, Eq, Default, Hash)] pub struct WrapperKeepOpaque { data: Vec, _phantom: PhantomDataSendSync, @@ -74,57 +70,47 @@ impl WrapperKeepOpaque { } impl EncodeAsType for WrapperKeepOpaque { - fn encode_as_type_to( + fn encode_as_type_to( &self, - type_id: u32, - types: &scale_info::PortableRegistry, + type_id: &R::TypeId, + types: &R, out: &mut Vec, ) -> Result<(), scale_encode::Error> { use scale_encode::error::{Error, ErrorKind, Kind}; - let Some(ty) = types.resolve(type_id) else { - return Err(Error::new(ErrorKind::TypeNotFound(type_id))); - }; - - // Do a basic check that the target shape lines up. - let scale_info::TypeDef::Composite(_) = &ty.type_def else { - return Err(Error::new(ErrorKind::WrongShape { + let visitor = visitor::new(out, |_, _| { + // Check that the target shape lines up: any other shape but composite is wrong. + Err(Error::new(ErrorKind::WrongShape { actual: Kind::Struct, - expected: type_id, - })); - }; + expected_id: format!("{:?}", type_id), + })) + }) + .visit_composite(|out, _fields| { + self.data.encode_to(out); + Ok(()) + }); - // Check that the name also lines up. - if ty.path.ident().as_deref() != Some("WrapperKeepOpaque") { - return Err(Error::new(ErrorKind::WrongShape { - actual: Kind::Struct, - expected: type_id, - })); - } - - // Just blat the bytes out. - self.data.encode_to(out); - Ok(()) + types + .resolve_type(type_id, visitor) + .map_err(|_| Error::new(ErrorKind::TypeNotFound(format!("{:?}", type_id))))? } } -pub struct WrapperKeepOpaqueVisitor(std::marker::PhantomData); -impl Visitor for WrapperKeepOpaqueVisitor { +pub struct WrapperKeepOpaqueVisitor(core::marker::PhantomData<(T, R)>); +impl Visitor for WrapperKeepOpaqueVisitor { type Value<'scale, 'info> = WrapperKeepOpaque; type Error = scale_decode::Error; + type TypeResolver = R; fn visit_composite<'scale, 'info>( self, - value: &mut scale_decode::visitor::types::Composite<'scale, 'info>, - _type_id: scale_decode::visitor::TypeId, + value: &mut scale_decode::visitor::types::Composite<'scale, 'info, R>, + _type_id: &R::TypeId, ) -> Result, Self::Error> { use scale_decode::error::{Error, ErrorKind}; - if value.path().ident().as_deref() != Some("WrapperKeepOpaque") { - return Err(Error::custom_str( - "Type to decode is not 'WrapperTypeKeepOpaque'", - )); - } + // TODO: When `scale-type-resolver` [provides struct names](https://github.com/paritytech/scale-type-resolver/issues/4), check that this struct name is `WrapperKeepOpaque` + if value.remaining() != 2 { return Err(Error::new(ErrorKind::WrongLength { actual_len: value.remaining(), @@ -151,9 +137,9 @@ impl Visitor for WrapperKeepOpaqueVisitor { } impl IntoVisitor for WrapperKeepOpaque { - type Visitor = WrapperKeepOpaqueVisitor; - fn into_visitor() -> Self::Visitor { - WrapperKeepOpaqueVisitor(std::marker::PhantomData) + type AnyVisitor = WrapperKeepOpaqueVisitor; + fn into_visitor() -> WrapperKeepOpaqueVisitor { + WrapperKeepOpaqueVisitor(core::marker::PhantomData) } } @@ -161,6 +147,8 @@ impl IntoVisitor for WrapperKeepOpaque { mod test { use scale_decode::DecodeAsType; + use alloc::vec; + use super::*; // Copied from https://github.com/paritytech/substrate/blob/master/frame/support/src/traits/misc.rs @@ -198,14 +186,14 @@ mod test { + Encode + Decode + PartialEq - + std::fmt::Debug + + core::fmt::Debug + scale_info::TypeInfo + 'static, { let (type_id, types) = make_type::(); let scale_codec_encoded = t.encode(); - let encode_as_type_encoded = t.encode_as_type(type_id, &types).unwrap(); + let encode_as_type_encoded = t.encode_as_type(&type_id, &types).unwrap(); assert_eq!( scale_codec_encoded, encode_as_type_encoded, @@ -213,7 +201,7 @@ mod test { ); let decode_as_type_bytes = &mut &*scale_codec_encoded; - let decoded_as_type = T::decode_as_type(decode_as_type_bytes, type_id, &types) + let decoded_as_type = T::decode_as_type(decode_as_type_bytes, &type_id, &types) .expect("decode-as-type decodes"); let decode_scale_codec_bytes = &mut &*scale_codec_encoded; diff --git a/examples/parachain-example/Cargo.lock b/examples/parachain-example/Cargo.lock index c49f261820..2739c41f4a 100644 --- a/examples/parachain-example/Cargo.lock +++ b/examples/parachain-example/Cargo.lock @@ -2512,7 +2512,7 @@ dependencies = [ ] [[package]] -name = "sp-core-hashing" +name = "sp-crypto-hashing" version = "13.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cb8524f01591ee58b46cd83c9dbc0fcffd2fd730dabec4f59326cd58a00f17e2" @@ -2551,7 +2551,7 @@ checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc" [[package]] name = "subxt" -version = "0.34.0" +version = "0.35.0" dependencies = [ "async-trait", "base58", @@ -2573,7 +2573,7 @@ dependencies = [ "scale-value", "serde", "serde_json", - "sp-core-hashing", + "sp-crypto-hashing", "subxt-lightclient", "subxt-macro", "subxt-metadata", @@ -2585,7 +2585,7 @@ dependencies = [ [[package]] name = "subxt-codegen" -version = "0.34.0" +version = "0.35.0" dependencies = [ "frame-metadata 16.0.0", "heck", @@ -2604,7 +2604,7 @@ dependencies = [ [[package]] name = "subxt-lightclient" -version = "0.34.0" +version = "0.35.0" dependencies = [ "futures", "futures-util", @@ -2619,7 +2619,7 @@ dependencies = [ [[package]] name = "subxt-macro" -version = "0.34.0" +version = "0.35.0" dependencies = [ "darling 0.20.3", "parity-scale-codec", @@ -2632,18 +2632,18 @@ dependencies = [ [[package]] name = "subxt-metadata" -version = "0.34.0" +version = "0.35.0" dependencies = [ "frame-metadata 16.0.0", "parity-scale-codec", "scale-info", - "sp-core-hashing", + "sp-crypto-hashing", "thiserror", ] [[package]] name = "subxt-signer" -version = "0.34.0" +version = "0.35.0" dependencies = [ "bip39", "hex", @@ -2655,7 +2655,7 @@ dependencies = [ "secp256k1", "secrecy", "sha2 0.10.8", - "sp-core-hashing", + "sp-crypto-hashing", "subxt", "thiserror", "zeroize", diff --git a/examples/wasm-example/Cargo.lock b/examples/wasm-example/Cargo.lock index 0e00f041a3..5b14afaaf3 100644 --- a/examples/wasm-example/Cargo.lock +++ b/examples/wasm-example/Cargo.lock @@ -466,43 +466,19 @@ dependencies = [ [[package]] name = "darling" -version = "0.14.4" +version = "0.20.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b750cb3417fd1b327431a470f388520309479ab0bf5e323505daf0290cd3850" +checksum = "54e36fcd13ed84ffdfda6f5be89b31287cbb80c439841fe69e04841435464391" dependencies = [ - "darling_core 0.14.4", - "darling_macro 0.14.4", -] - -[[package]] -name = "darling" -version = "0.20.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0209d94da627ab5605dcccf08bb18afa5009cfbef48d8a8b7d7bdbc79be25c5e" -dependencies = [ - "darling_core 0.20.3", - "darling_macro 0.20.3", + "darling_core", + "darling_macro", ] [[package]] name = "darling_core" -version = "0.14.4" +version = "0.20.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "109c1ca6e6b7f82cc233a97004ea8ed7ca123a9af07a8230878fcfda9b158bf0" -dependencies = [ - "fnv", - "ident_case", - "proc-macro2", - "quote", - "strsim", - "syn 1.0.109", -] - -[[package]] -name = "darling_core" -version = "0.20.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "177e3443818124b357d8e76f53be906d60937f0d3a90773a664fa63fa253e621" +checksum = "9c2cf1c23a687a1feeb728783b993c4e1ad83d99f351801977dd809b48d0a70f" dependencies = [ "fnv", "ident_case", @@ -514,22 +490,11 @@ dependencies = [ [[package]] name = "darling_macro" -version = "0.14.4" +version = "0.20.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4aab4dbc9f7611d8b55048a3a16d2d010c2c8334e46304b40ac1cc14bf3b48e" +checksum = "a668eda54683121533a393014d8692171709ff57a7d61f187b6e782719f8933f" dependencies = [ - "darling_core 0.14.4", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "darling_macro" -version = "0.20.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "836a9bbc7ad63342d6d6e7b815ccab164bc77a2d95d84bc3117a8c0d5c98e2d5" -dependencies = [ - "darling_core 0.20.3", + "darling_core", "quote", "syn 2.0.48", ] @@ -610,9 +575,9 @@ dependencies = [ [[package]] name = "either" -version = "1.9.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" +checksum = "11157ac094ffbdde99aa67b23417ebdd801842852b500e395a45a9c0aac03e4a" [[package]] name = "equivalent" @@ -653,9 +618,6 @@ version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "835c052cb0c08c1acf6ffd71c022172e18723949c8282f2b9f27efbc51e64534" dependencies = [ - "byteorder", - "rand", - "rustc-hex", "static_assertions", ] @@ -694,7 +656,6 @@ dependencies = [ "cfg-if", "parity-scale-codec", "scale-info", - "serde", ] [[package]] @@ -1227,15 +1188,6 @@ dependencies = [ "unicode-normalization", ] -[[package]] -name = "impl-codec" -version = "0.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba6a270039626615617f3f36d15fc827041df3b78c439da2cadfa47455a77f2f" -dependencies = [ - "parity-scale-codec", -] - [[package]] name = "impl-serde" version = "0.4.0" @@ -1329,18 +1281,18 @@ checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c" [[package]] name = "js-sys" -version = "0.3.67" +version = "0.3.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a1d36f1235bc969acba30b7f5990b864423a6068a10f7c90ae8f0112e3a59d1" +checksum = "29c15563dc2726973df627357ce0c9ddddbea194836909d655df6a75d2cf296d" dependencies = [ "wasm-bindgen", ] [[package]] name = "jsonrpsee" -version = "0.21.0" +version = "0.22.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9579d0ca9fb30da026bac2f0f7d9576ec93489aeb7cd4971dd5b4617d82c79b2" +checksum = "16fcc9dd231e72d22993f1643d5f7f0db785737dbe3c3d7ca222916ab4280795" dependencies = [ "jsonrpsee-client-transport", "jsonrpsee-core", @@ -1350,9 +1302,9 @@ dependencies = [ [[package]] name = "jsonrpsee-client-transport" -version = "0.21.0" +version = "0.22.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f9f9ed46590a8d5681975f126e22531698211b926129a40a2db47cbca429220" +checksum = "0476c96eb741b40d39dcb39d0124e3b9be9840ec77653c42a0996563ae2a53f7" dependencies = [ "futures-channel", "futures-util", @@ -1373,9 +1325,9 @@ dependencies = [ [[package]] name = "jsonrpsee-core" -version = "0.21.0" +version = "0.22.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "776d009e2f591b78c038e0d053a796f94575d66ca4e77dd84bfc5e81419e436c" +checksum = "b974d8f6139efbe8425f32cb33302aba6d5e049556b5bfc067874e7a0da54a2e" dependencies = [ "anyhow", "async-lock", @@ -1398,9 +1350,9 @@ dependencies = [ [[package]] name = "jsonrpsee-http-client" -version = "0.21.0" +version = "0.22.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78b7de9f3219d95985eb77fd03194d7c1b56c19bce1abfcc9d07462574b15572" +checksum = "19dc795a277cff37f27173b3ca790d042afcc0372c34a7ca068d2e76de2cb6d1" dependencies = [ "async-trait", "hyper", @@ -1418,9 +1370,9 @@ dependencies = [ [[package]] name = "jsonrpsee-types" -version = "0.21.0" +version = "0.22.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3266dfb045c9174b24c77c2dfe0084914bb23a6b2597d70c9dc6018392e1cd1b" +checksum = "b13dac43c1a9fc2648b37f306b0a5b0e29b2a6e1c36a33b95c1948da2494e9c5" dependencies = [ "anyhow", "beef", @@ -1713,18 +1665,18 @@ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" [[package]] name = "pin-project" -version = "1.1.3" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fda4ed1c6c173e3fc7a83629421152e01d7b1f9b7f65fb301e490e8cfc656422" +checksum = "b6bf43b791c5b9e34c3d182969b4abb522f9343702850a2e57f460d00d09b4b3" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "1.1.3" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4359fd9c9171ec6e8c62926d6faaf553a8dc3f64e1507e76da7911b4f6a04405" +checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965" dependencies = [ "proc-macro2", "quote", @@ -1794,9 +1746,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b34d9fd68ae0b74a41b21c03c2f62847aa0ffea044eee893b4c140b37e244e2" dependencies = [ "fixed-hash", - "impl-codec", - "impl-serde", - "scale-info", "uint", ] @@ -1947,12 +1896,6 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" -[[package]] -name = "rustc-hex" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e75f6a532d0fd9f7f13144f392b6ad56a32696bfcd9c78f797f16bbb6f072d6" - [[package]] name = "rustc_version" version = "0.4.0" @@ -2084,71 +2027,42 @@ checksum = "f98d2aa92eebf49b69786be48e4477826b256916e84a57ff2a4f21923b48eb4c" [[package]] name = "scale-bits" -version = "0.4.0" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "036575c29af9b6e4866ffb7fa055dbf623fe7a9cc159b33786de6013a6969d89" +checksum = "662d10dcd57b1c2a3c41c9cf68f71fb09747ada1ea932ad961aca7e2ca28315f" dependencies = [ "parity-scale-codec", "scale-info", + "scale-type-resolver", "serde", ] [[package]] name = "scale-decode" -version = "0.10.0" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7caaf753f8ed1ab4752c6afb20174f03598c664724e0e32628e161c21000ff76" +checksum = "afc79ba56a1c742f5aeeed1f1801f3edf51f7e818f0a54582cac6f131364ea7b" dependencies = [ "derive_more", "parity-scale-codec", - "primitive-types", "scale-bits", - "scale-decode-derive", - "scale-info", + "scale-type-resolver", "smallvec", ] -[[package]] -name = "scale-decode-derive" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3475108a1b62c7efd1b5c65974f30109a598b2f45f23c9ae030acb9686966db" -dependencies = [ - "darling 0.14.4", - "proc-macro-crate 1.3.1", - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "scale-encode" -version = "0.5.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d70cb4b29360105483fac1ed567ff95d65224a14dd275b6303ed0a654c78de5" +checksum = "628800925a33794fb5387781b883b5e14d130fece9af5a63613867b8de07c5c7" dependencies = [ "derive_more", "parity-scale-codec", - "primitive-types", "scale-bits", - "scale-encode-derive", - "scale-info", + "scale-type-resolver", "smallvec", ] -[[package]] -name = "scale-encode-derive" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "995491f110efdc6bea96d6a746140e32bfceb4ea47510750a5467295a4707a25" -dependencies = [ - "darling 0.14.4", - "proc-macro-crate 1.3.1", - "proc-macro2", - "quote", - "syn 1.0.109", -] - [[package]] name = "scale-info" version = "2.10.0" @@ -2176,10 +2090,20 @@ dependencies = [ ] [[package]] -name = "scale-typegen" +name = "scale-type-resolver" version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "00860983481ac590ac87972062909bef0d6a658013b592ccc0f2feb272feab11" +checksum = "10b800069bfd43374e0f96f653e0d46882a2cb16d6d961ac43bea80f26c76843" +dependencies = [ + "scale-info", + "smallvec", +] + +[[package]] +name = "scale-typegen" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d6108609f017741c78d35967c7afe4aeaa3999b848282581041428e10d23b63" dependencies = [ "proc-macro2", "quote", @@ -2190,12 +2114,10 @@ dependencies = [ [[package]] name = "scale-value" -version = "0.13.0" +version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58223c7691bf0bd46b43c9aea6f0472d1067f378d574180232358d7c6e0a8089" +checksum = "c07ccfee963104335c971aaf8b7b0e749be8569116322df23f1f75c4ca9e4a28" dependencies = [ - "base58", - "blake2", "derive_more", "either", "frame-metadata 15.1.0", @@ -2204,8 +2126,7 @@ dependencies = [ "scale-decode", "scale-encode", "scale-info", - "serde", - "yap", + "scale-type-resolver", ] [[package]] @@ -2289,9 +2210,9 @@ checksum = "cd0b0ec5f1c1ca621c432a25813d8d60c88abe6d3e08a3eb9cf37d97a0fe3d73" [[package]] name = "serde" -version = "1.0.195" +version = "1.0.197" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63261df402c67811e9ac6def069e4786148c4563f4b50fd4bf30aa370d626b02" +checksum = "3fb1c873e1b9b056a4dc4c0c198b24c3ffa059243875552b2bd0933b1aee4ce2" dependencies = [ "serde_derive", ] @@ -2318,9 +2239,9 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.195" +version = "1.0.197" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46fe8f8603d81ba86327b23a2e9cdf49e1255fb94a4c5f297f6ee0547178ea2c" +checksum = "7eb0b34b42edc17f6b7cac84a52a1c5f0e1bb2227e997ca9011ea3dd34e8610b" dependencies = [ "proc-macro2", "quote", @@ -2329,9 +2250,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.111" +version = "1.0.114" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "176e46fa42316f18edd598015a5166857fc835ec732f5215eac6b7bdbf0a84f4" +checksum = "c5f09b1bd632ef549eaa9f60a1f8de742bdbc698e6cee2095fc84dde5f549ae0" dependencies = [ "itoa", "ryu", @@ -2539,10 +2460,10 @@ dependencies = [ ] [[package]] -name = "sp-core-hashing" -version = "13.0.0" +name = "sp-crypto-hashing" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb8524f01591ee58b46cd83c9dbc0fcffd2fd730dabec4f59326cd58a00f17e2" +checksum = "1e0f4990add7b2cefdeca883c0efa99bb4d912cb2196120e1500c0cc099553b0" dependencies = [ "blake2b_simd", "byteorder", @@ -2578,11 +2499,9 @@ checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc" [[package]] name = "subxt" -version = "0.34.0" +version = "0.35.0" dependencies = [ "async-trait", - "base58", - "blake2", "derivative", "either", "frame-metadata 16.0.0", @@ -2601,7 +2520,7 @@ dependencies = [ "scale-value", "serde", "serde_json", - "sp-core-hashing", + "sp-crypto-hashing", "subxt-lightclient", "subxt-macro", "subxt-metadata", @@ -2612,7 +2531,7 @@ dependencies = [ [[package]] name = "subxt-codegen" -version = "0.34.0" +version = "0.35.0" dependencies = [ "frame-metadata 16.0.0", "getrandom", @@ -2631,8 +2550,34 @@ dependencies = [ ] [[package]] -name = "subxt-lightclient" +name = "subxt-core" version = "0.34.0" +dependencies = [ + "base58", + "blake2", + "derivative", + "derive_more", + "frame-metadata 16.0.0", + "hashbrown 0.14.3", + "hex", + "impl-serde", + "parity-scale-codec", + "primitive-types", + "scale-bits", + "scale-decode", + "scale-encode", + "scale-info", + "scale-value", + "serde", + "serde_json", + "sp-core-hashing", + "subxt-metadata", + "tracing", +] + +[[package]] +name = "subxt-lightclient" +version = "0.35.0" dependencies = [ "futures", "futures-timer", @@ -2657,9 +2602,9 @@ dependencies = [ [[package]] name = "subxt-macro" -version = "0.34.0" +version = "0.35.0" dependencies = [ - "darling 0.20.3", + "darling", "parity-scale-codec", "proc-macro-error", "quote", @@ -2670,13 +2615,14 @@ dependencies = [ [[package]] name = "subxt-metadata" -version = "0.34.0" +version = "0.35.0" dependencies = [ + "derive_more", "frame-metadata 16.0.0", + "hashbrown 0.14.3", "parity-scale-codec", "scale-info", - "sp-core-hashing", - "thiserror", + "sp-crypto-hashing", ] [[package]] @@ -2709,18 +2655,18 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" [[package]] name = "thiserror" -version = "1.0.56" +version = "1.0.57" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d54378c645627613241d077a3a79db965db602882668f9136ac42af9ecb730ad" +checksum = "1e45bcbe8ed29775f228095caf2cd67af7a4ccf756ebff23a306bf3e8b47b24b" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.56" +version = "1.0.57" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa0faa943b50f3db30a20aa7e265dbc66076993efed8463e8de414e5d06d3471" +checksum = "a953cb265bef375dae3de6663da4d3804eee9682ea80d8e2542529b73c531c81" dependencies = [ "proc-macro2", "quote", @@ -2744,9 +2690,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.35.1" +version = "1.36.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c89b4efa943be685f629b149f53829423f8f5531ea21249408e8e2f8671ec104" +checksum = "61285f6515fa018fb2d1e46eb21223fff441ee8db5d0f1435e8ab4f5cdb80931" dependencies = [ "backtrace", "bytes", @@ -3010,9 +2956,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasm-bindgen" -version = "0.2.90" +version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1223296a201415c7fad14792dbefaace9bd52b62d33453ade1c5b5f07555406" +checksum = "4be2531df63900aeb2bca0daaaddec08491ee64ceecbee5076636a3b026795a8" dependencies = [ "cfg-if", "wasm-bindgen-macro", @@ -3020,9 +2966,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.90" +version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcdc935b63408d58a32f8cc9738a0bffd8f05cc7c002086c6ef20b7312ad9dcd" +checksum = "614d787b966d3989fa7bb98a654e369c762374fd3213d212cfc0251257e747da" dependencies = [ "bumpalo", "log", @@ -3047,9 +2993,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.90" +version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e4c238561b2d428924c49815533a8b9121c664599558a5d9ec51f8a1740a999" +checksum = "a1f8823de937b71b9460c0c34e25f3da88250760bec0ebac694b49997550d726" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -3057,9 +3003,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.90" +version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bae1abb6806dc1ad9e560ed242107c0f6c84335f1749dd4e8ddb012ebd5e25a7" +checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7" dependencies = [ "proc-macro2", "quote", @@ -3070,9 +3016,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-shared" -version = "0.2.90" +version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d91413b1c31d7539ba5ef2451af3f0b833a005eb27a631cec32bc0635a8602b" +checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96" [[package]] name = "wasm-example" @@ -3134,9 +3080,9 @@ dependencies = [ [[package]] name = "web-sys" -version = "0.3.67" +version = "0.3.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58cd2333b6e0be7a39605f0e255892fd7418a682d8da8fe042fe25128794d2ed" +checksum = "77afa9a11836342370f4817622a2f0f418b134426d91a82dfb48f532d2ec13ef" dependencies = [ "js-sys", "wasm-bindgen", @@ -3304,12 +3250,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "yap" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ff4524214bc4629eba08d78ceb1d6507070cc0bcbbed23af74e19e6e924a24cf" - [[package]] name = "yew" version = "0.20.0" diff --git a/examples/wasm-example/Cargo.toml b/examples/wasm-example/Cargo.toml index 80d3be6ce7..6aaf175b54 100644 --- a/examples/wasm-example/Cargo.toml +++ b/examples/wasm-example/Cargo.toml @@ -9,10 +9,10 @@ edition = "2021" futures = "0.3.28" subxt = { path = "../../subxt", default-features = false, features = ["jsonrpsee", "web"], target_arch = "wasm32" } yew = { version = "0.20.0", features = ["csr"] } -web-sys = "0.3.63" +web-sys = "0.3.69" hex = "0.4.3" yew-router = "0.17.0" -js-sys = "0.3.63" +js-sys = "0.3.69" wasm-bindgen = "0.2.86" wasm-bindgen-futures = "0.4.36" anyhow = "1.0.71" diff --git a/examples/wasm-example/src/routes/signing.rs b/examples/wasm-example/src/routes/signing.rs index db6d059ada..7891ef92f8 100644 --- a/examples/wasm-example/src/routes/signing.rs +++ b/examples/wasm-example/src/routes/signing.rs @@ -7,6 +7,7 @@ use subxt::ext::codec::{Decode, Encode}; use subxt::tx::SubmittableExtrinsic; use subxt::tx::TxPayload; use subxt::utils::{AccountId32, MultiSignature}; +use subxt::config::DefaultExtrinsicParamsBuilder; use crate::services::{extension_signature_for_extrinsic, get_accounts, polkadot, Account}; use web_sys::HtmlInputElement; @@ -155,7 +156,8 @@ impl Component for SigningExamplesComponent { return Message::Error(anyhow!("MultiSignature Decoding")); }; - let Ok(partial_signed) = api.tx().create_partial_signed_with_nonce(&remark_call, account_nonce, Default::default()) else { + let params = DefaultExtrinsicParamsBuilder::new().nonce(account_nonce).build(); + let Ok(partial_signed) = api.tx().create_partial_signed_offline(&remark_call, params) else { return Message::Error(anyhow!("PartialExtrinsic creation failed")); }; diff --git a/examples/wasm-example/src/services.rs b/examples/wasm-example/src/services.rs index 5b8df203ef..c981364b01 100644 --- a/examples/wasm-example/src/services.rs +++ b/examples/wasm-example/src/services.rs @@ -130,8 +130,8 @@ pub async fn extension_signature_for_extrinsic( ) -> Result, anyhow::Error> { let genesis_hash = encode_then_hex(&api.genesis_hash()); // These numbers aren't SCALE encoded; their bytes are just converted to hex: - let spec_version = to_hex(&api.runtime_version().spec_version.to_be_bytes()); - let transaction_version = to_hex(&api.runtime_version().transaction_version.to_be_bytes()); + let spec_version = to_hex(&api.runtime_version().spec_version().to_be_bytes()); + let transaction_version = to_hex(&api.runtime_version().transaction_version().to_be_bytes()); let nonce = to_hex(&account_nonce.to_be_bytes()); // If you construct a mortal transaction, then this block hash needs to correspond // to the block number passed to `Era::mortal()`. diff --git a/lightclient/Cargo.toml b/lightclient/Cargo.toml index eb079b3e90..d7abdf87f6 100644 --- a/lightclient/Cargo.toml +++ b/lightclient/Cargo.toml @@ -24,23 +24,14 @@ default = ["native"] # Exactly 1 of "web" and "native" is expected. native = [ "smoldot-light/std", - "tokio-stream", - "tokio/sync", "tokio/rt", - "futures-util", ] # Enable this for web/wasm builds. # Exactly 1 of "web" and "native" is expected. web = [ "getrandom/js", - - "smoldot", "smoldot/std", - "smoldot-light", - "tokio-stream", - "tokio/sync", - "futures-util", # For the light-client platform. "wasm-bindgen-futures", @@ -56,29 +47,26 @@ web = [ ] [dependencies] -futures = { workspace = true } +futures = { workspace = true, features = ["async-await"] } serde = { workspace = true, features = ["derive"] } -serde_json = { workspace = true, features = ["raw_value"] } +serde_json = { workspace = true, features = ["default", "raw_value"] } thiserror = { workspace = true } tracing = { workspace = true } +smoldot-light = { workspace = true } +tokio-stream = { workspace = true } +tokio = { workspace = true, features = ["sync"] } +futures-util = { workspace = true } -# Light client support: -smoldot = { workspace = true, optional = true } -smoldot-light = { workspace = true, optional = true } -either = { workspace = true, optional = true } -tokio = { workspace = true, optional = true } -tokio-stream = { workspace = true, optional = true } -futures-util = { workspace = true, optional = true } +# Only needed for web js-sys = { workspace = true, optional = true } send_wrapper = { workspace = true, optional = true } web-sys = { workspace = true, optional = true } wasm-bindgen = { workspace = true, optional = true } wasm-bindgen-futures = { workspace = true, optional = true } +smoldot = { workspace = true, optional = true } +pin-project = { workspace = true, optional = true } futures-timer = { workspace = true, optional = true } instant = { workspace = true, optional = true } -pin-project = { workspace = true, optional = true } - -# Included if "web" feature is enabled, to enable its js feature. getrandom = { workspace = true, optional = true } [package.metadata.docs.rs] diff --git a/lightclient/src/background.rs b/lightclient/src/background.rs index 46137d9817..e9bd9424e3 100644 --- a/lightclient/src/background.rs +++ b/lightclient/src/background.rs @@ -1,43 +1,47 @@ -// Copyright 2019-2023 Parity Technologies (UK) Ltd. +// Copyright 2019-2024 Parity Technologies (UK) Ltd. // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. -use futures::stream::StreamExt; -use futures_util::future::{self, Either}; -use serde::Deserialize; +use crate::rpc::RpcResponse; +use crate::shared_client::SharedClient; +use crate::{JsonRpcError, LightClientRpcError}; +use futures::{stream::StreamExt, FutureExt}; use serde_json::value::RawValue; use smoldot_light::platform::PlatformRef; use std::{collections::HashMap, str::FromStr}; use tokio::sync::{mpsc, oneshot}; +use tokio_stream::wrappers::UnboundedReceiverStream; -use crate::client::AddedChain; +const LOG_TARGET: &str = "subxt-light-client-background-task"; -use super::LightClientRpcError; -use smoldot_light::ChainId; - -const LOG_TARGET: &str = "subxt-light-client-background"; - -/// The response of an RPC method. +/// Response from [`BackgroundTaskHandle::request()`]. pub type MethodResponse = Result, LightClientRpcError>; +/// Response from [`BackgroundTaskHandle::subscribe()`]. +pub type SubscriptionResponse = Result< + ( + SubscriptionId, + mpsc::UnboundedReceiver, JsonRpcError>>, + ), + LightClientRpcError, +>; + +/// Type of subscription IDs we can get back. +pub type SubscriptionId = String; + /// Message protocol between the front-end client that submits the RPC requests -/// and the backend handler that produces responses from the chain. -/// -/// The light client uses a single object [`smoldot_light::JsonRpcResponses`] to -/// handle all requests and subscriptions from a chain. A background task is spawned -/// to multiplex the rpc responses and to provide them back to their rightful submitters. +/// and the background task which fetches responses from Smoldot. Hidden behind +/// the [`BackgroundTaskHandle`]. #[derive(Debug)] -pub enum FromSubxt { +enum Message { /// The RPC method request. Request { /// The method of the request. method: String, /// The parameters of the request. - params: String, - /// Channel used to send back the result. + params: Option>, + /// Channel used to send back the method response. sender: oneshot::Sender, - /// The ID of the chain used to identify the chain. - chain_id: ChainId, }, /// The RPC subscription (pub/sub) request. Subscription { @@ -46,37 +50,175 @@ pub enum FromSubxt { /// The method to unsubscribe. unsubscribe_method: String, /// The parameters of the request. - params: String, - /// Channel used to send back the subscription ID if successful. - sub_id: oneshot::Sender, - /// Channel used to send back the notifications. - sender: mpsc::UnboundedSender>, - /// The ID of the chain used to identify the chain. - chain_id: ChainId, + params: Option>, + /// Channel used to send back the subscription response. + sender: oneshot::Sender, }, } -/// Background task data. +/// A handle to communicate with the background task. +#[derive(Clone, Debug)] +pub struct BackgroundTaskHandle { + to_backend: mpsc::UnboundedSender, +} + +impl BackgroundTaskHandle { + /// Make an RPC request via the background task. + pub async fn request(&self, method: String, params: Option>) -> MethodResponse { + let (tx, rx) = oneshot::channel(); + self.to_backend + .send(Message::Request { + method, + params, + sender: tx, + }) + .map_err(|_e| LightClientRpcError::BackgroundTaskDropped)?; + + match rx.await { + Err(_e) => Err(LightClientRpcError::BackgroundTaskDropped), + Ok(response) => response, + } + } + + /// Subscribe to some RPC method via the background task. + pub async fn subscribe( + &self, + method: String, + params: Option>, + unsubscribe_method: String, + ) -> SubscriptionResponse { + let (tx, rx) = oneshot::channel(); + self.to_backend + .send(Message::Subscription { + method, + params, + unsubscribe_method, + sender: tx, + }) + .map_err(|_e| LightClientRpcError::BackgroundTaskDropped)?; + + match rx.await { + Err(_e) => Err(LightClientRpcError::BackgroundTaskDropped), + Ok(response) => response, + } + } +} + +/// A background task which runs with [`BackgroundTask::run()`] and manages messages +/// coming to/from Smoldot. #[allow(clippy::type_complexity)] pub struct BackgroundTask { - /// Smoldot light client implementation that leverages the exposed platform. - client: smoldot_light::Client, - /// Generates an unique monotonically increasing ID for each chain. - request_id_per_chain: HashMap, + channels: BackgroundTaskChannels, + data: BackgroundTaskData, +} + +impl BackgroundTask { + /// Constructs a new [`BackgroundTask`]. + pub(crate) fn new( + client: SharedClient, + chain_id: smoldot_light::ChainId, + from_back: smoldot_light::JsonRpcResponses, + ) -> (BackgroundTask, BackgroundTaskHandle) { + let (tx, rx) = mpsc::unbounded_channel(); + + let bg_task = BackgroundTask { + channels: BackgroundTaskChannels { + from_front: UnboundedReceiverStream::new(rx), + from_back, + }, + data: BackgroundTaskData { + client, + chain_id, + last_request_id: 0, + pending_subscriptions: HashMap::new(), + requests: HashMap::new(), + subscriptions: HashMap::new(), + }, + }; + + let bg_handle = BackgroundTaskHandle { to_backend: tx }; + + (bg_task, bg_handle) + } + + /// Run the background task, which: + /// - Forwards messages/subscription requests to Smoldot from the front end. + /// - Forwards responses back from Smoldot to the front end. + pub async fn run(self) { + let chain_id = self.data.chain_id; + let mut channels = self.channels; + let mut data = self.data; + + loop { + tokio::pin! { + let from_front_fut = channels.from_front.next().fuse(); + let from_back_fut = channels.from_back.next().fuse(); + } + + futures::select! { + // Message coming from the front end/client. + front_message = from_front_fut => { + let Some(message) = front_message else { + tracing::trace!(target: LOG_TARGET, "Subxt channel closed"); + break; + }; + tracing::trace!( + target: LOG_TARGET, + "Received register message {:?}", + message + ); + + data.handle_requests(message).await; + }, + // Message coming from Smoldot. + back_message = from_back_fut => { + let Some(back_message) = back_message else { + tracing::trace!(target: LOG_TARGET, "Smoldot RPC responses channel closed"); + break; + }; + tracing::trace!( + target: LOG_TARGET, + "Received smoldot RPC chain {:?} result {:?}", + chain_id, back_message + ); + + data.handle_rpc_response(back_message); + } + } + } + + tracing::trace!(target: LOG_TARGET, "Task closed"); + } +} + +struct BackgroundTaskChannels { + /// Messages sent into this background task from the front end. + from_front: UnboundedReceiverStream, + /// Messages sent into the background task from Smoldot. + from_back: smoldot_light::JsonRpcResponses, +} + +struct BackgroundTaskData { + /// A smoldot light client that can be shared. + client: SharedClient, + /// Knowing the chain ID helps with debugging, but isn't overwise necessary. + chain_id: smoldot_light::ChainId, + /// Know which Id to use next for new requests/subscriptions. + last_request_id: usize, /// Map the request ID of a RPC method to the frontend `Sender`. - requests: HashMap<(usize, smoldot_light::ChainId), oneshot::Sender>, + requests: HashMap>, /// Subscription calls first need to make a plain RPC method /// request to obtain the subscription ID. /// /// The RPC method request is made in the background and the response should /// not be sent back to the user. /// Map the request ID of a RPC method to the frontend `Sender`. - id_to_subscription: HashMap<(usize, smoldot_light::ChainId), PendingSubscription>, + pending_subscriptions: HashMap, /// Map the subscription ID to the frontend `Sender`. /// /// The subscription ID is entirely generated by the node (smoldot). Therefore, it is /// possible for two distinct subscriptions of different chains to have the same subscription ID. - subscriptions: HashMap<(usize, smoldot_light::ChainId), ActiveSubscription>, + subscriptions: HashMap, } /// The state needed to resolve the subscription ID and send @@ -85,66 +227,49 @@ struct PendingSubscription { /// Send the method response ID back to the user. /// /// It contains the subscription ID if successful, or an JSON RPC error object. - sub_id_sender: oneshot::Sender, - /// The subscription state that is added to the `subscriptions` map only - /// if the subscription ID is successfully sent back to the user. - subscription_state: ActiveSubscription, -} - -impl PendingSubscription { - /// Transforms the pending subscription into an active subscription. - fn into_parts(self) -> (oneshot::Sender, ActiveSubscription) { - (self.sub_id_sender, self.subscription_state) - } -} - -/// The state of the subscription. -struct ActiveSubscription { - /// Channel to send the subscription notifications back to frontend. - sender: mpsc::UnboundedSender>, + response_sender: oneshot::Sender, /// The unsubscribe method to call when the user drops the receiver /// part of the channel. unsubscribe_method: String, } -impl BackgroundTask { - /// Constructs a new [`BackgroundTask`]. - pub fn new( - client: smoldot_light::Client, - ) -> BackgroundTask { - BackgroundTask { - client, - request_id_per_chain: Default::default(), - requests: Default::default(), - id_to_subscription: Default::default(), - subscriptions: Default::default(), - } - } +/// The state of the subscription. +struct ActiveSubscription { + /// Channel to send the subscription notifications back to frontend. + notification_sender: mpsc::UnboundedSender, JsonRpcError>>, + /// The unsubscribe method to call when the user drops the receiver + /// part of the channel. + unsubscribe_method: String, +} +impl BackgroundTaskData { /// Fetch and increment the request ID. - fn next_id(&mut self, chain_id: smoldot_light::ChainId) -> usize { - let next = self.request_id_per_chain.entry(chain_id).or_insert(1); - let id = *next; - *next = next.wrapping_add(1); - id + fn next_id(&mut self) -> usize { + self.last_request_id = self.last_request_id.wrapping_add(1); + self.last_request_id } /// Handle the registration messages received from the user. - async fn handle_requests(&mut self, message: FromSubxt) { + async fn handle_requests(&mut self, message: Message) { match message { - FromSubxt::Request { + Message::Request { method, params, sender, - chain_id, } => { - let id = self.next_id(chain_id); + let id = self.next_id(); + let chain_id = self.chain_id; + + let params = match ¶ms { + Some(params) => params.get(), + None => "null", + }; let request = format!( r#"{{"jsonrpc":"2.0","id":"{}", "method":"{}","params":{}}}"#, id, method, params ); - self.requests.insert((id, chain_id), sender); + self.requests.insert(id, sender); tracing::trace!(target: LOG_TARGET, "Tracking request id={id} chain={chain_id:?}"); let result = self.client.json_rpc_request(request, chain_id); @@ -157,12 +282,12 @@ impl BackgroundTask { let sender = self .requests - .remove(&(id, chain_id)) + .remove(&id) .expect("Channel is inserted above; qed"); // Send the error back to frontend. if sender - .send(Err(LightClientRpcError::Request(err.to_string()))) + .send(Err(LightClientRpcError::SmoldotError(err.to_string()))) .is_err() { tracing::warn!( @@ -174,32 +299,32 @@ impl BackgroundTask { tracing::trace!(target: LOG_TARGET, "Submitted to smoldot request with id={id}"); } } - FromSubxt::Subscription { + Message::Subscription { method, unsubscribe_method, params, - sub_id, sender, - chain_id, } => { + let id = self.next_id(); + let chain_id = self.chain_id; + // For subscriptions we need to make a plain RPC request to the subscription method. // The server will return as a result the subscription ID. - let id = self.next_id(chain_id); + let params = match ¶ms { + Some(params) => params.get(), + None => "null", + }; let request = format!( r#"{{"jsonrpc":"2.0","id":"{}", "method":"{}","params":{}}}"#, id, method, params ); tracing::trace!(target: LOG_TARGET, "Tracking subscription request id={id} chain={chain_id:?}"); - let subscription_id_state = PendingSubscription { - sub_id_sender: sub_id, - subscription_state: ActiveSubscription { - sender, - unsubscribe_method, - }, + let pending_subscription = PendingSubscription { + response_sender: sender, + unsubscribe_method, }; - self.id_to_subscription - .insert((id, chain_id), subscription_id_state); + self.pending_subscriptions.insert(id, pending_subscription); let result = self.client.json_rpc_request(request, chain_id); if let Err(err) = result { @@ -209,14 +334,14 @@ impl BackgroundTask { err.to_string() ); let subscription_id_state = self - .id_to_subscription - .remove(&(id, chain_id)) + .pending_subscriptions + .remove(&id) .expect("Channels are inserted above; qed"); // Send the error back to frontend. if subscription_id_state - .sub_id_sender - .send(Err(LightClientRpcError::Request(err.to_string()))) + .response_sender + .send(Err(LightClientRpcError::SmoldotError(err.to_string()))) .is_err() { tracing::warn!( @@ -232,19 +357,75 @@ impl BackgroundTask { } /// Parse the response received from the light client and sent it to the appropriate user. - fn handle_rpc_response(&mut self, chain_id: smoldot_light::ChainId, response: String) { - tracing::trace!(target: LOG_TARGET, "Received from smoldot response={response} chain={chain_id:?}"); + fn handle_rpc_response(&mut self, response: String) { + let chain_id = self.chain_id; + tracing::trace!(target: LOG_TARGET, "Received from smoldot response='{response}' chain={chain_id:?}"); match RpcResponse::from_str(&response) { - Ok(RpcResponse::Error { id, error }) => { + Ok(RpcResponse::Method { id, result }) => { + let Ok(id) = id.parse::() else { + tracing::warn!(target: LOG_TARGET, "Cannot send response. Id={id} chain={chain_id:?} is not a valid number"); + return; + }; + + // Send the response back. + if let Some(sender) = self.requests.remove(&id) { + if sender.send(Ok(result)).is_err() { + tracing::warn!( + target: LOG_TARGET, + "Cannot send method response to id={id} chain={chain_id:?}", + ); + } + } else if let Some(pending_subscription) = self.pending_subscriptions.remove(&id) { + let Ok(sub_id) = serde_json::from_str::(result.get()) else { + tracing::warn!( + target: LOG_TARGET, + "Subscription id='{result}' chain={chain_id:?} is not a valid string", + ); + return; + }; + + tracing::trace!(target: LOG_TARGET, "Received subscription id={sub_id} chain={chain_id:?}"); + + let (sub_tx, sub_rx) = mpsc::unbounded_channel(); + + // Send the method response and a channel to receive notifications back. + if pending_subscription + .response_sender + .send(Ok((sub_id.clone(), sub_rx))) + .is_err() + { + tracing::warn!( + target: LOG_TARGET, + "Cannot send subscription ID response to id={id} chain={chain_id:?}", + ); + return; + } + + // Store the other end of the notif channel to send future subscription notifications to. + self.subscriptions.insert( + sub_id, + ActiveSubscription { + notification_sender: sub_tx, + unsubscribe_method: pending_subscription.unsubscribe_method, + }, + ); + } else { + tracing::warn!( + target: LOG_TARGET, + "Response id={id} chain={chain_id:?} is not tracked", + ); + } + } + Ok(RpcResponse::MethodError { id, error }) => { let Ok(id) = id.parse::() else { tracing::warn!(target: LOG_TARGET, "Cannot send error. Id={id} chain={chain_id:?} is not a valid number"); return; }; - if let Some(sender) = self.requests.remove(&(id, chain_id)) { + if let Some(sender) = self.requests.remove(&id) { if sender - .send(Err(LightClientRpcError::Request(error.to_string()))) + .send(Err(LightClientRpcError::JsonRpcError(JsonRpcError(error)))) .is_err() { tracing::warn!( @@ -252,12 +433,10 @@ impl BackgroundTask { "Cannot send method response to id={id} chain={chain_id:?}", ); } - } else if let Some(subscription_id_state) = - self.id_to_subscription.remove(&(id, chain_id)) - { + } else if let Some(subscription_id_state) = self.pending_subscriptions.remove(&id) { if subscription_id_state - .sub_id_sender - .send(Err(LightClientRpcError::Request(error.to_string()))) + .response_sender + .send(Err(LightClientRpcError::JsonRpcError(JsonRpcError(error)))) .is_err() { tracing::warn!( @@ -267,95 +446,44 @@ impl BackgroundTask { } } } - Ok(RpcResponse::Method { id, result }) => { - let Ok(id) = id.parse::() else { - tracing::warn!(target: LOG_TARGET, "Cannot send response. Id={id} chain={chain_id:?} is not a valid number"); - return; - }; - - // Send the response back. - if let Some(sender) = self.requests.remove(&(id, chain_id)) { - if sender.send(Ok(result)).is_err() { - tracing::warn!( - target: LOG_TARGET, - "Cannot send method response to id={id} chain={chain_id:?}", - ); - } - } else if let Some(pending_subscription) = - self.id_to_subscription.remove(&(id, chain_id)) - { - let Ok(sub_id) = result - .get() - .trim_start_matches('"') - .trim_end_matches('"') - .parse::() - else { - tracing::warn!( - target: LOG_TARGET, - "Subscription id={result} chain={chain_id:?} is not a valid number", - ); - return; - }; - - tracing::trace!(target: LOG_TARGET, "Received subscription id={sub_id} chain={chain_id:?}"); - - let (sub_id_sender, active_subscription) = pending_subscription.into_parts(); - if sub_id_sender.send(Ok(result)).is_err() { - tracing::warn!( - target: LOG_TARGET, - "Cannot send method response to id={id} chain={chain_id:?}", - ); - - return; - } - - // Track this subscription ID if send is successful. - self.subscriptions - .insert((sub_id, chain_id), active_subscription); - } else { + Ok(RpcResponse::Notification { + method, + subscription_id, + result, + }) => { + let Some(active_subscription) = self.subscriptions.get_mut(&subscription_id) else { tracing::warn!( target: LOG_TARGET, - "Response id={id} chain={chain_id:?} is not tracked", + "Subscription response id={subscription_id} chain={chain_id:?} method={method} is not tracked", ); + return; + }; + if active_subscription + .notification_sender + .send(Ok(result)) + .is_err() + { + self.unsubscribe(&subscription_id, chain_id); } } - Ok(RpcResponse::Subscription { method, id, result }) => { - let Ok(id) = id.parse::() else { - tracing::warn!(target: LOG_TARGET, "Cannot send subscription. Id={id} chain={chain_id:?} is not a valid number"); - return; - }; - - let Some(subscription_state) = self.subscriptions.get_mut(&(id, chain_id)) else { + Ok(RpcResponse::NotificationError { + method, + subscription_id, + error, + }) => { + let Some(active_subscription) = self.subscriptions.get_mut(&subscription_id) else { tracing::warn!( target: LOG_TARGET, - "Subscription response id={id} chain={chain_id:?} method={method} is not tracked", + "Subscription error id={subscription_id} chain={chain_id:?} method={method} is not tracked", ); return; }; - if subscription_state.sender.send(result).is_ok() { - // Nothing else to do, user is informed about the notification. - return; - } - - // User dropped the receiver, unsubscribe from the method and remove internal tracking. - let Some(subscription_state) = self.subscriptions.remove(&(id, chain_id)) else { - // State is checked to be some above, so this should never happen. - return; - }; - // Make a call to unsubscribe from this method. - let unsub_id = self.next_id(chain_id); - let request = format!( - r#"{{"jsonrpc":"2.0","id":"{}", "method":"{}","params":["{}"]}}"#, - unsub_id, subscription_state.unsubscribe_method, id - ); - - if let Err(err) = self.client.json_rpc_request(request, chain_id) { - tracing::warn!( - target: LOG_TARGET, - "Failed to unsubscribe id={id:?} chain={chain_id:?} method={:?} err={err:?}", subscription_state.unsubscribe_method - ); - } else { - tracing::debug!(target: LOG_TARGET,"Unsubscribe id={id:?} chain={chain_id:?} method={:?}", subscription_state.unsubscribe_method); + if active_subscription + .notification_sender + .send(Err(JsonRpcError(error))) + .is_err() + { + self.unsubscribe(&subscription_id, chain_id); } } Err(err) => { @@ -364,169 +492,28 @@ impl BackgroundTask { } } - /// Perform the main background task: - /// - receiving requests from subxt RPC method / subscriptions - /// - provides the results from the light client back to users. - pub async fn start_task( - &mut self, - from_subxt: mpsc::UnboundedReceiver, - from_node: Vec>, - ) { - let from_subxt_event = tokio_stream::wrappers::UnboundedReceiverStream::new(from_subxt); + // Unsubscribe from a subscription. + fn unsubscribe(&mut self, subscription_id: &str, chain_id: smoldot_light::ChainId) { + let Some(active_subscription) = self.subscriptions.remove(subscription_id) else { + // Subscription doesn't exist so nothing more to do. + return; + }; - let from_node = from_node.into_iter().map(|rpc| { - Box::pin(futures::stream::unfold(rpc, |mut rpc| async move { - let response = rpc.rpc_responses.next().await; - Some(((response, rpc.chain_id), rpc)) - })) - }); - let stream_combinator = futures::stream::select_all(from_node); + // Build a call to unsubscribe from this method. + let unsub_id = self.next_id(); + let request = format!( + r#"{{"jsonrpc":"2.0","id":"{}", "method":"{}","params":["{}"]}}"#, + unsub_id, active_subscription.unsubscribe_method, subscription_id + ); - tokio::pin!(from_subxt_event, stream_combinator); - - let mut from_subxt_event_fut = from_subxt_event.next(); - let mut from_node_event_fut = stream_combinator.next(); - - loop { - match future::select(from_subxt_event_fut, from_node_event_fut).await { - // Message received from subxt. - Either::Left((subxt_message, previous_fut)) => { - let Some(message) = subxt_message else { - tracing::trace!(target: LOG_TARGET, "Subxt channel closed"); - break; - }; - tracing::trace!( - target: LOG_TARGET, - "Received register message {:?}", - message - ); - - self.handle_requests(message).await; - - from_subxt_event_fut = from_subxt_event.next(); - from_node_event_fut = previous_fut; - } - // Message received from rpc handler: lightclient response. - Either::Right((node_message, previous_fut)) => { - let Some((node_message, chain)) = node_message else { - tracing::trace!(target: LOG_TARGET, "Smoldot closed all RPC channels"); - break; - }; - // Smoldot returns `None` if the chain has been removed (which subxt does not remove). - let Some(response) = node_message else { - tracing::trace!(target: LOG_TARGET, "Smoldot RPC responses channel closed"); - break; - }; - tracing::trace!( - target: LOG_TARGET, - "Received smoldot RPC chain {:?} result {:?}", - chain, response - ); - - self.handle_rpc_response(chain, response); - - // Advance backend, save frontend. - from_subxt_event_fut = previous_fut; - from_node_event_fut = stream_combinator.next(); - } - } + // Submit it. + if let Err(err) = self.client.json_rpc_request(request, chain_id) { + tracing::warn!( + target: LOG_TARGET, + "Failed to unsubscribe id={subscription_id} chain={chain_id:?} method={:?} err={err:?}", active_subscription.unsubscribe_method + ); + } else { + tracing::debug!(target: LOG_TARGET,"Unsubscribe id={subscription_id} chain={chain_id:?} method={:?}", active_subscription.unsubscribe_method); } - - tracing::trace!(target: LOG_TARGET, "Task closed"); - } -} - -/// The RPC response from the light-client. -/// This can either be a response of a method, or a notification from a subscription. -#[derive(Debug, Clone)] -enum RpcResponse { - Method { - /// Response ID. - id: String, - /// The result of the method call. - result: Box, - }, - Subscription { - /// RPC method that generated the notification. - method: String, - /// Subscription ID. - id: String, - /// Result. - result: Box, - }, - Error { - /// Response ID. - id: String, - /// Error. - error: Box, - }, -} - -impl std::str::FromStr for RpcResponse { - type Err = serde_json::Error; - - fn from_str(response: &str) -> Result { - // Helper structures to deserialize from raw RPC strings. - #[derive(Deserialize, Debug)] - struct Response { - /// JSON-RPC version. - #[allow(unused)] - jsonrpc: String, - /// Result. - result: Box, - /// Request ID - id: String, - } - #[derive(Deserialize)] - struct NotificationParams { - /// The ID of the subscription. - subscription: String, - /// Result. - result: Box, - } - #[derive(Deserialize)] - struct ResponseNotification { - /// JSON-RPC version. - #[allow(unused)] - jsonrpc: String, - /// RPC method that generated the notification. - method: String, - /// Result. - params: NotificationParams, - } - #[derive(Deserialize)] - struct ErrorResponse { - /// JSON-RPC version. - #[allow(unused)] - jsonrpc: String, - /// Request ID. - id: String, - /// Error. - error: Box, - } - - // Check if the response can be mapped as an RPC method response. - let result: Result = serde_json::from_str(response); - if let Ok(response) = result { - return Ok(RpcResponse::Method { - id: response.id, - result: response.result, - }); - } - - let result: Result = serde_json::from_str(response); - if let Ok(notification) = result { - return Ok(RpcResponse::Subscription { - id: notification.params.subscription, - method: notification.method, - result: notification.params.result, - }); - } - - let error: ErrorResponse = serde_json::from_str(response)?; - Ok(RpcResponse::Error { - id: error.id, - error: error.error, - }) } } diff --git a/lightclient/src/chain_config.rs b/lightclient/src/chain_config.rs new file mode 100644 index 0000000000..66d5294476 --- /dev/null +++ b/lightclient/src/chain_config.rs @@ -0,0 +1,71 @@ +// Copyright 2019-2023 Parity Technologies (UK) Ltd. +// This file is dual-licensed as Apache-2.0 or GPL-3.0. +// see LICENSE for license details. + +use serde_json::Value; +use std::borrow::Cow; + +/// Something went wrong building chain config. +#[non_exhaustive] +#[derive(thiserror::Error, Debug)] +pub enum ChainConfigError { + /// The provided chain spec is the wrong shape. + #[error("Invalid chain spec format")] + InvalidSpecFormat, +} + +/// Configuration to connect to a chain. +pub struct ChainConfig<'a> { + // The chain spec to use. + chain_spec: Cow<'a, str>, +} + +impl<'a> From<&'a str> for ChainConfig<'a> { + fn from(chain_spec: &'a str) -> Self { + ChainConfig::chain_spec(chain_spec) + } +} + +impl<'a> From for ChainConfig<'a> { + fn from(chain_spec: String) -> Self { + ChainConfig::chain_spec(chain_spec) + } +} + +impl<'a> ChainConfig<'a> { + /// Construct a chain config from a chain spec. + pub fn chain_spec(chain_spec: impl Into>) -> Self { + ChainConfig { + chain_spec: chain_spec.into(), + } + } + + /// Set the bootnodes to the given ones. + pub fn set_bootnodes>( + self, + bootnodes: impl IntoIterator, + ) -> Result { + let mut chain_spec_json: Value = serde_json::from_str(&self.chain_spec) + .map_err(|_e| ChainConfigError::InvalidSpecFormat)?; + + if let Value::Object(map) = &mut chain_spec_json { + let bootnodes = bootnodes + .into_iter() + .map(|s| Value::String(s.as_ref().to_owned())) + .collect(); + + map.insert("bootNodes".to_string(), Value::Array(bootnodes)); + } else { + return Err(ChainConfigError::InvalidSpecFormat); + } + + Ok(ChainConfig { + chain_spec: Cow::Owned(chain_spec_json.to_string()), + }) + } + + // Used internally to fetch the chain spec back out. + pub(crate) fn as_chain_spec(&self) -> &str { + &self.chain_spec + } +} diff --git a/lightclient/src/lib.rs b/lightclient/src/lib.rs index 34800fe4f0..6df5c2ec47 100644 --- a/lightclient/src/lib.rs +++ b/lightclient/src/lib.rs @@ -2,52 +2,259 @@ // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. -//! Low level light client implementation for RPC method and -//! subscriptions requests. -//! -//! The client implementation supports both native and wasm -//! environments. -//! -//! This leverages the smoldot crate to connect to the chain. +//! A wrapper around [`smoldot_light`] which provides an light client capable of connecting +//! to Substrate based chains. +#![deny(missing_docs)] #![cfg_attr(docsrs, feature(doc_cfg))] #[cfg(any( all(feature = "web", feature = "native"), not(any(feature = "web", feature = "native")) ))] -compile_error!("subxt: exactly one of the 'web' and 'native' features should be used."); +compile_error!("subxt-lightclient: exactly one of the 'web' and 'native' features should be used."); -mod background; -mod client; mod platform; +mod shared_client; +// mod receiver; +mod background; +mod chain_config; +mod rpc; -// Used to enable the js feature for wasm. -#[cfg(feature = "web")] -#[allow(unused_imports)] -pub use getrandom as _; +use background::{BackgroundTask, BackgroundTaskHandle}; +use futures::Stream; +use platform::DefaultPlatform; +use serde_json::value::RawValue; +use shared_client::SharedClient; +use std::future::Future; +use tokio::sync::mpsc; -pub use client::{AddedChain, LightClientRpc, RawLightClientRpc}; +pub use chain_config::{ChainConfig, ChainConfigError}; -/// Re-exports of the smoldot related objects. -pub mod smoldot { - pub use smoldot_light::{ - platform::PlatformRef, AddChainConfig, AddChainConfigJsonRpc, ChainId, Client, - JsonRpcResponses, - }; - - #[cfg(feature = "native")] - #[cfg_attr(docsrs, doc(cfg(feature = "native")))] - pub use smoldot_light::platform::default::DefaultPlatform; -} - -/// Light client error. +/// Things that can go wrong when constructing the [`LightClient`]. #[derive(Debug, thiserror::Error)] -pub enum LightClientRpcError { +pub enum LightClientError { /// Error encountered while adding the chain to the light-client. #[error("Failed to add the chain to the light client: {0}.")] AddChainError(String), - /// Error originated while trying to submit a RPC request. - #[error("RPC request cannot be sent: {0}.")] - Request(String), +} + +/// Things that can go wrong calling methods of [`LightClientRpc`]. +#[derive(Debug, thiserror::Error)] +pub enum LightClientRpcError { + /// Error response from the JSON-RPC server. + #[error("{0}")] + JsonRpcError(JsonRpcError), + /// Smoldot could not handle the RPC call. + #[error("Smoldot could not handle the RPC call: {0}.")] + SmoldotError(String), + /// Background task dropped. + #[error("The background task was dropped.")] + BackgroundTaskDropped, +} + +/// An error response from the JSON-RPC server (ie smoldot) in response to +/// a method call or as a subscription notification. +#[derive(Debug, thiserror::Error)] +#[error("RPC Error: {0}.")] +pub struct JsonRpcError(Box); + +/// This represents a single light client connection to the network. Instantiate +/// it with [`LightClient::relay_chain()`] to communicate with a relay chain, and +/// then call [`LightClient::parachain()`] to establish connections to parachains. +#[derive(Clone)] +pub struct LightClient { + client: SharedClient, + relay_chain_id: smoldot_light::ChainId, +} + +impl LightClient { + /// Given a chain spec, establish a connection to a relay chain. Any subsequent calls to + /// [`LightClient::parachain()`] will set this as the relay chain. + /// + /// # Panics + /// + /// The panic behaviour depends on the feature flag being used: + /// + /// ## Native + /// + /// Panics when called outside of a `tokio` runtime context. + /// + /// ## Web + /// + /// If smoldot panics, then the promise created will be leaked. For more details, see + /// https://docs.rs/wasm-bindgen-futures/latest/wasm_bindgen_futures/fn.future_to_promise.html. + pub fn relay_chain<'a>( + chain_config: impl Into>, + ) -> Result<(Self, LightClientRpc), LightClientError> { + let mut client = smoldot_light::Client::new(platform::build_platform()); + let chain_config = chain_config.into(); + let chain_spec = chain_config.as_chain_spec(); + + let config = smoldot_light::AddChainConfig { + specification: chain_spec, + json_rpc: smoldot_light::AddChainConfigJsonRpc::Enabled { + max_pending_requests: u32::MAX.try_into().unwrap(), + max_subscriptions: u32::MAX, + }, + database_content: "", + potential_relay_chains: std::iter::empty(), + user_data: (), + }; + + let added_chain = client + .add_chain(config) + .map_err(|err| LightClientError::AddChainError(err.to_string()))?; + + let relay_chain_id = added_chain.chain_id; + let rpc_responses = added_chain + .json_rpc_responses + .expect("Light client RPC configured; qed"); + let shared_client: SharedClient<_> = client.into(); + + let light_client_rpc = + LightClientRpc::new_raw(shared_client.clone(), relay_chain_id, rpc_responses); + let light_client = Self { + client: shared_client, + relay_chain_id, + }; + + Ok((light_client, light_client_rpc)) + } + + /// Given a chain spec, establish a connection to a parachain. + /// + /// # Panics + /// + /// The panic behaviour depends on the feature flag being used: + /// + /// ## Native + /// + /// Panics when called outside of a `tokio` runtime context. + /// + /// ## Web + /// + /// If smoldot panics, then the promise created will be leaked. For more details, see + /// https://docs.rs/wasm-bindgen-futures/latest/wasm_bindgen_futures/fn.future_to_promise.html. + pub fn parachain<'a>( + &self, + chain_config: impl Into>, + ) -> Result { + let chain_config = chain_config.into(); + let chain_spec = chain_config.as_chain_spec(); + + let config = smoldot_light::AddChainConfig { + specification: chain_spec, + json_rpc: smoldot_light::AddChainConfigJsonRpc::Enabled { + max_pending_requests: u32::MAX.try_into().unwrap(), + max_subscriptions: u32::MAX, + }, + database_content: "", + potential_relay_chains: std::iter::once(self.relay_chain_id), + user_data: (), + }; + + let added_chain = self + .client + .add_chain(config) + .map_err(|err| LightClientError::AddChainError(err.to_string()))?; + + let chain_id = added_chain.chain_id; + let rpc_responses = added_chain + .json_rpc_responses + .expect("Light client RPC configured; qed"); + + Ok(LightClientRpc::new_raw( + self.client.clone(), + chain_id, + rpc_responses, + )) + } +} + +/// This represents a single RPC connection to a specific chain, and is constructed by calling +/// one of the methods on [`LightClient`]. Using this, you can make RPC requests to the chain. +#[derive(Clone, Debug)] +pub struct LightClientRpc { + handle: BackgroundTaskHandle, +} + +impl LightClientRpc { + // Dev note: this would provide a "low leveL" interface if one is needed. + // Do we actually need to provide this, or can we entirely hide Smoldot? + pub(crate) fn new_raw( + client: impl Into>, + chain_id: smoldot_light::ChainId, + rpc_responses: smoldot_light::JsonRpcResponses, + ) -> Self + where + TPlat: smoldot_light::platform::PlatformRef + Send + 'static, + TChain: Send + 'static, + { + let (background_task, background_handle) = + BackgroundTask::new(client.into(), chain_id, rpc_responses); + + // For now we spawn the background task internally, but later we can expose + // methods to give this back to the user so that they can exert backpressure. + spawn(async move { background_task.run().await }); + + LightClientRpc { + handle: background_handle, + } + } + + /// Make an RPC request to a chain, getting back a result. + pub async fn request( + &self, + method: String, + params: Option>, + ) -> Result, LightClientRpcError> { + self.handle.request(method, params).await + } + + /// Subscribe to some RPC method, getting back a stream of notifications. + pub async fn subscribe( + &self, + method: String, + params: Option>, + unsub: String, + ) -> Result { + let (id, notifications) = self.handle.subscribe(method, params, unsub).await?; + Ok(LightClientRpcSubscription { id, notifications }) + } +} + +/// A stream of notifications handed back when [`LightClientRpc::subscribe`] is called. +pub struct LightClientRpcSubscription { + notifications: mpsc::UnboundedReceiver, JsonRpcError>>, + id: String, +} + +impl LightClientRpcSubscription { + /// Return the subscription ID + pub fn id(&self) -> &str { + &self.id + } +} + +impl Stream for LightClientRpcSubscription { + type Item = Result, JsonRpcError>; + fn poll_next( + mut self: std::pin::Pin<&mut Self>, + cx: &mut std::task::Context<'_>, + ) -> std::task::Poll> { + self.notifications.poll_recv(cx) + } +} + +/// A quick helper to spawn a task that works for WASM. +fn spawn(future: F) { + #[cfg(feature = "native")] + tokio::spawn(async move { + future.await; + }); + #[cfg(feature = "web")] + wasm_bindgen_futures::spawn_local(async move { + future.await; + }); } diff --git a/lightclient/src/platform/mod.rs b/lightclient/src/platform/mod.rs index 7a1182da66..34cb1b26f8 100644 --- a/lightclient/src/platform/mod.rs +++ b/lightclient/src/platform/mod.rs @@ -11,16 +11,16 @@ mod wasm_platform; #[cfg(feature = "web")] mod wasm_socket; -pub use helpers::build_platform; +pub use helpers::{build_platform, DefaultPlatform}; #[cfg(feature = "native")] mod helpers { use smoldot_light::platform::default::DefaultPlatform as Platform; use std::sync::Arc; - pub type PlatformType = Arc; + pub type DefaultPlatform = Arc; - pub fn build_platform() -> PlatformType { + pub fn build_platform() -> DefaultPlatform { Platform::new( "subxt-light-client".into(), env!("CARGO_PKG_VERSION").into(), @@ -32,9 +32,9 @@ mod helpers { mod helpers { use super::wasm_platform::SubxtPlatform as Platform; - pub type PlatformType = Platform; + pub type DefaultPlatform = Platform; - pub fn build_platform() -> PlatformType { + pub fn build_platform() -> DefaultPlatform { Platform::new() } } diff --git a/lightclient/src/platform/wasm_platform.rs b/lightclient/src/platform/wasm_platform.rs index edc5fe2558..ebebff5532 100644 --- a/lightclient/src/platform/wasm_platform.rs +++ b/lightclient/src/platform/wasm_platform.rs @@ -124,14 +124,14 @@ impl PlatformRef for SubxtPlatform { port, } => { let addr = SocketAddr::from((ip, port)); - format!("ws://{}", addr.to_string()) + format!("ws://{}", addr) } Address::WebSocketIp { ip: IpAddr::V6(ip), port, } => { let addr = SocketAddr::from((ip, port)); - format!("ws://{}", addr.to_string()) + format!("ws://{}", addr) } // The API user of the `PlatformRef` trait is never supposed to open connections of diff --git a/lightclient/src/platform/wasm_socket.rs b/lightclient/src/platform/wasm_socket.rs index abe67e7c2d..74bb6b8c08 100644 --- a/lightclient/src/platform/wasm_socket.rs +++ b/lightclient/src/platform/wasm_socket.rs @@ -111,7 +111,7 @@ impl WasmSocket { let mut inner = inner.lock().expect("Mutex is poised; qed"); let bytes = js_sys::Uint8Array::new(&buffer).to_vec(); - inner.data.extend(bytes.into_iter()); + inner.data.extend(bytes); if let Some(waker) = inner.waker.take() { waker.wake(); diff --git a/lightclient/src/rpc.rs b/lightclient/src/rpc.rs new file mode 100644 index 0000000000..6d84837020 --- /dev/null +++ b/lightclient/src/rpc.rs @@ -0,0 +1,132 @@ +// Copyright 2019-2023 Parity Technologies (UK) Ltd. +// This file is dual-licensed as Apache-2.0 or GPL-3.0. +// see LICENSE for license details. + +use serde::Deserialize; +use serde_json::value::RawValue; + +/// The RPC response from the light-client. +/// This can either be a response of a method, or a notification from a subscription. +#[derive(Debug, Clone)] +pub enum RpcResponse { + Method { + /// Response ID. + id: String, + /// The result of the method call. + result: Box, + }, + MethodError { + /// Response ID. + id: String, + /// Error. + error: Box, + }, + Notification { + /// RPC method that generated the notification. + method: String, + /// Subscription ID. + subscription_id: String, + /// Result. + result: Box, + }, + NotificationError { + /// RPC method that generated the notification. + method: String, + /// Subscription ID. + subscription_id: String, + /// Result. + error: Box, + }, +} + +impl std::str::FromStr for RpcResponse { + type Err = (); + + fn from_str(response: &str) -> Result { + // Valid response + #[derive(Deserialize, Debug)] + struct Response { + #[allow(unused)] + jsonrpc: String, + id: String, + result: Box, + } + + // Error response + #[derive(Deserialize)] + struct ResponseError { + #[allow(unused)] + jsonrpc: String, + id: String, + error: Box, + } + + // Valid notification (subscription) response + #[derive(Deserialize)] + struct Notification { + #[allow(unused)] + jsonrpc: String, + method: String, + params: NotificationResultParams, + } + #[derive(Deserialize)] + struct NotificationResultParams { + subscription: String, + result: Box, + } + + // Error notification (subscription) response + #[derive(Deserialize)] + struct NotificationError { + #[allow(unused)] + jsonrpc: String, + method: String, + params: NotificationErrorParams, + } + #[derive(Deserialize)] + struct NotificationErrorParams { + /// The ID of the subscription. + subscription: String, + error: Box, + } + + // Try deserializing the response payload to one of the above. We can + // do this more efficiently eg how jsonrpsee_types does. + + let result: Result = serde_json::from_str(response); + if let Ok(response) = result { + return Ok(RpcResponse::Method { + id: response.id, + result: response.result, + }); + } + let result: Result = serde_json::from_str(response); + if let Ok(response) = result { + return Ok(RpcResponse::Notification { + subscription_id: response.params.subscription, + method: response.method, + result: response.params.result, + }); + } + let result: Result = serde_json::from_str(response); + if let Ok(response) = result { + return Ok(RpcResponse::MethodError { + id: response.id, + error: response.error, + }); + } + let result: Result = serde_json::from_str(response); + if let Ok(response) = result { + return Ok(RpcResponse::NotificationError { + method: response.method, + subscription_id: response.params.subscription, + error: response.params.error, + }); + } + + // We couldn't decode into any of the above. We could pick one of the above` + // errors to return, but there's no real point since the string is obviously + // different from any of them. + Err(()) + } +} diff --git a/lightclient/src/shared_client.rs b/lightclient/src/shared_client.rs new file mode 100644 index 0000000000..d725030599 --- /dev/null +++ b/lightclient/src/shared_client.rs @@ -0,0 +1,47 @@ +// Copyright 2019-2023 Parity Technologies (UK) Ltd. +// This file is dual-licensed as Apache-2.0 or GPL-3.0. +// see LICENSE for license details. + +use smoldot_light as sl; +use std::sync::{Arc, Mutex}; + +/// This wraps [`smoldot_light::Client`] so that it can be cloned and shared. +#[derive(Clone)] +pub struct SharedClient { + client: Arc>>, +} + +impl From> + for SharedClient +{ + fn from(client: sl::Client) -> Self { + SharedClient { + client: Arc::new(Mutex::new(client)), + } + } +} + +impl SharedClient { + /// Delegates to [`smoldot_light::Client::json_rpc_request()`]. + pub(crate) fn json_rpc_request( + &self, + json_rpc_request: impl Into, + chain_id: sl::ChainId, + ) -> Result<(), sl::HandleRpcError> { + self.client + .lock() + .expect("mutex should not be poisoned") + .json_rpc_request(json_rpc_request, chain_id) + } + + /// Delegates to [`smoldot_light::Client::add_chain()`]. + pub(crate) fn add_chain( + &self, + config: sl::AddChainConfig<'_, TChain, impl Iterator>, + ) -> Result { + self.client + .lock() + .expect("mutex should not be poisoned") + .add_chain(config) + } +} diff --git a/metadata/Cargo.toml b/metadata/Cargo.toml index 6e3669278d..1423122ed5 100644 --- a/metadata/Cargo.toml +++ b/metadata/Cargo.toml @@ -13,12 +13,17 @@ documentation.workspace = true homepage.workspace = true description = "Command line utilities for checking metadata compatibility between nodes." +[features] +default = ["std"] +std = ["scale-info/std", "frame-metadata/std"] + [dependencies] -codec = { package = "parity-scale-codec", workspace = true, features = ["derive"] } -frame-metadata = { workspace = true } -scale-info = { workspace = true } -sp-core-hashing = { workspace = true } -thiserror = { workspace = true } +scale-info = { workspace = true, default-features = false } +frame-metadata = { workspace = true, default-features = false, features = ["current", "decode"] } +codec = { package = "parity-scale-codec", workspace = true, default-features = false, features = ["derive"] } +sp-crypto-hashing = { workspace = true } +hashbrown = { workspace = true } +derive_more = { workspace = true } [dev-dependencies] bitvec = { workspace = true, features = ["alloc"] } diff --git a/metadata/src/from_into/mod.rs b/metadata/src/from_into/mod.rs index 8170bc6133..1a950e1d5a 100644 --- a/metadata/src/from_into/mod.rs +++ b/metadata/src/from_into/mod.rs @@ -2,31 +2,37 @@ // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. +use alloc::string::String; +use derive_more::Display; + mod v14; mod v15; /// An error emitted if something goes wrong converting [`frame_metadata`] /// types into [`crate::Metadata`]. -#[derive(Debug, thiserror::Error, PartialEq, Eq)] +#[derive(Debug, Display, PartialEq, Eq)] #[non_exhaustive] pub enum TryFromError { /// Type missing from type registry - #[error("Type id {0} is expected but not found in the type registry")] + #[display(fmt = "Type id {_0} is expected but not found in the type registry")] TypeNotFound(u32), /// Type was not a variant/enum type - #[error("Type {0} was not a variant/enum type, but is expected to be one")] + #[display(fmt = "Type {_0} was not a variant/enum type, but is expected to be one")] VariantExpected(u32), /// An unsupported metadata version was provided. - #[error("Cannot convert v{0} metadata into Metadata type")] + #[display(fmt = "Cannot convert v{_0} metadata into Metadata type")] UnsupportedMetadataVersion(u32), /// Type name missing from type registry - #[error("Type name {0} is expected but not found in the type registry")] + #[display(fmt = "Type name {_0} is expected but not found in the type registry")] TypeNameNotFound(String), /// Invalid type path. - #[error("Type has an invalid path {0}")] + #[display(fmt = "Type has an invalid path {_0}")] InvalidTypePath(String), } +#[cfg(feature = "std")] +impl std::error::Error for TryFromError {} + impl From for frame_metadata::RuntimeMetadataPrefixed { fn from(value: crate::Metadata) -> Self { let m: frame_metadata::v15::RuntimeMetadataV15 = value.into(); diff --git a/metadata/src/from_into/v14.rs b/metadata/src/from_into/v14.rs index 7df5e95347..989542ab56 100644 --- a/metadata/src/from_into/v14.rs +++ b/metadata/src/from_into/v14.rs @@ -2,11 +2,15 @@ // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. -use std::collections::HashMap; - use super::TryFromError; use crate::Metadata; +use alloc::borrow::ToOwned; +use alloc::string::String; +use alloc::vec; +use alloc::vec::Vec; +use core::fmt::Write; use frame_metadata::{v14, v15}; +use hashbrown::HashMap; use scale_info::TypeDef; impl TryFrom for Metadata { @@ -31,27 +35,27 @@ fn v15_to_v14(mut metadata: v15::RuntimeMetadataV15) -> v14::RuntimeMetadataV14 let extrinsic_type = scale_info::Type { path: scale_info::Path { segments: vec![ - "primitives".to_string(), - "runtime".to_string(), - "generic".to_string(), - "UncheckedExtrinsic".to_string(), + "primitives".to_owned(), + "runtime".to_owned(), + "generic".to_owned(), + "UncheckedExtrinsic".to_owned(), ], }, type_params: vec![ scale_info::TypeParameter:: { - name: "Address".to_string(), + name: "Address".to_owned(), ty: Some(metadata.extrinsic.address_ty), }, scale_info::TypeParameter:: { - name: "Call".to_string(), + name: "Call".to_owned(), ty: Some(metadata.extrinsic.call_ty), }, scale_info::TypeParameter:: { - name: "Signature".to_string(), + name: "Signature".to_owned(), ty: Some(metadata.extrinsic.signature_ty), }, scale_info::TypeParameter:: { - name: "Extra".to_string(), + name: "Extra".to_owned(), ty: Some(metadata.extrinsic.extra_ty), }, ], @@ -312,9 +316,7 @@ fn generate_outer_enums( ) -> Result, TryFromError> { let find_type = |name: &str| { metadata.types.types.iter().find_map(|ty| { - let Some(ident) = ty.ty.path.ident() else { - return None; - }; + let ident = ty.ty.path.ident()?; if ident != name { return None; @@ -342,7 +344,7 @@ fn generate_outer_enums( let Some(last) = call_path.last_mut() else { return Err(TryFromError::InvalidTypePath("RuntimeCall".into())); }; - *last = "RuntimeError".to_string(); + *last = "RuntimeError".to_owned(); generate_outer_error_enum_type(metadata, call_path) }; @@ -364,11 +366,12 @@ fn generate_outer_error_enum_type( .pallets .iter() .filter_map(|pallet| { - let Some(error) = &pallet.error else { - return None; - }; + let error = pallet.error.as_ref()?; - let path = format!("{}Error", pallet.name); + // Note: using the `alloc::format!` macro like in `let path = format!("{}Error", pallet.name);` + // leads to linker errors about extern function `_Unwind_Resume` not being defined. + let mut path = String::new(); + write!(path, "{}Error", pallet.name).expect("Cannot panic, qed;"); let ty = error.ty.id.into(); Some(scale_info::Variant { diff --git a/metadata/src/from_into/v15.rs b/metadata/src/from_into/v15.rs index f210089dce..37e4336543 100644 --- a/metadata/src/from_into/v15.rs +++ b/metadata/src/from_into/v15.rs @@ -3,6 +3,7 @@ // see LICENSE for license details. use super::TryFromError; + use crate::utils::variant_index::VariantIndex; use crate::{ utils::ordered_map::OrderedMap, ArcStr, ConstantMetadata, ExtrinsicMetadata, Metadata, @@ -10,9 +11,10 @@ use crate::{ RuntimeApiMethodParamMetadata, SignedExtensionMetadata, StorageEntryMetadata, StorageEntryModifier, StorageEntryType, StorageHasher, StorageMetadata, }; +use alloc::borrow::ToOwned; use frame_metadata::v15; +use hashbrown::HashMap; use scale_info::form::PortableForm; -use std::collections::HashMap; // Converting from V15 metadata into our Subxt repr. mod from_v15 { diff --git a/metadata/src/lib.rs b/metadata/src/lib.rs index 4ebc68a44e..cec6afd565 100644 --- a/metadata/src/lib.rs +++ b/metadata/src/lib.rs @@ -14,14 +14,19 @@ //! 2. Obtaining [`frame_metadata::RuntimeMetadataPrefixed`], and then //! using `.try_into()` to convert it into [`Metadata`]. +#![cfg_attr(not(feature = "std"), no_std)] #![deny(missing_docs)] +extern crate alloc; + mod from_into; mod utils; +use alloc::string::String; +use alloc::sync::Arc; +use alloc::vec::Vec; +use hashbrown::HashMap; use scale_info::{form::PortableForm, PortableRegistry, Variant}; -use std::collections::HashMap; -use std::sync::Arc; use utils::variant_index::VariantIndex; use utils::{ordered_map::OrderedMap, validation::outer_enum_hashes::OuterEnumHashes}; @@ -166,45 +171,6 @@ impl Metadata { &OuterEnumHashes::empty(), )) } - - /// Ensure that every unique type we'll be generating or referring to also has a - /// unique path, so that types with matching paths don't end up overwriting each other - /// in the codegen. We ignore any types with generics; Subxt actually endeavours to - /// de-duplicate those into single types with a generic. - pub fn ensure_unique_type_paths(&mut self) { - let mut visited_path_counts = HashMap::, usize>::new(); - for ty in self.types.types.iter_mut() { - // Ignore types without a path (ie prelude types). - if ty.ty.path.namespace().is_empty() { - continue; - } - - let has_valid_type_params = ty.ty.type_params.iter().any(|tp| tp.ty.is_some()); - - // Ignore types which have generic params that the type generation will use. - // Ordinarily we'd expect that any two types with identical paths must be parameterized - // in order to share the path. However scale-info doesn't understand all forms of generics - // properly I think (eg generics that have associated types that can differ), and so in - // those cases we need to fix the paths for Subxt to generate correct code. - if has_valid_type_params { - continue; - } - - // Count how many times we've seen the same path already. - let visited_count = visited_path_counts - .entry(ty.ty.path.segments.clone()) - .or_default(); - *visited_count += 1; - - // alter the type so that if it's been seen more than once, we append a number to - // its name to ensure that every unique type has a unique path, too. - if *visited_count > 1 { - if let Some(name) = ty.ty.path.segments.last_mut() { - *name = format!("{name}{visited_count}"); - } - } - } - } } /// Metadata for a specific pallet. @@ -470,6 +436,35 @@ pub enum StorageHasher { Identity, } +impl StorageHasher { + /// The hash produced by a [`StorageHasher`] can have these two components, in order: + /// + /// 1. A fixed size hash. (not present for [`StorageHasher::Identity`]). + /// 2. The SCALE encoded key that was used as an input to the hasher (only present for + /// [`StorageHasher::Twox64Concat`], [`StorageHasher::Blake2_128Concat`] or [`StorageHasher::Identity`]). + /// + /// This function returns the number of bytes used to represent the first of these. + pub fn len_excluding_key(&self) -> usize { + match self { + StorageHasher::Blake2_128Concat => 16, + StorageHasher::Twox64Concat => 8, + StorageHasher::Blake2_128 => 16, + StorageHasher::Blake2_256 => 32, + StorageHasher::Twox128 => 16, + StorageHasher::Twox256 => 32, + StorageHasher::Identity => 0, + } + } + + /// Returns true if the key used to produce the hash is appended to the hash itself. + pub fn ends_with_key(&self) -> bool { + matches!( + self, + StorageHasher::Blake2_128Concat | StorageHasher::Twox64Concat | StorageHasher::Identity + ) + } +} + /// Is the storage entry optional, or does it have a default value. #[derive(Debug, Clone, Copy, Eq, PartialEq)] pub enum StorageEntryModifier { diff --git a/metadata/src/utils/ordered_map.rs b/metadata/src/utils/ordered_map.rs index c9a9a40f46..614c25cf65 100644 --- a/metadata/src/utils/ordered_map.rs +++ b/metadata/src/utils/ordered_map.rs @@ -2,7 +2,9 @@ // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. -use std::collections::HashMap; +use alloc::vec::Vec; +use core::mem; +use hashbrown::HashMap; /// A minimal ordered map to let one search for /// things by key or get the values in insert order. @@ -23,7 +25,7 @@ impl Default for OrderedMap { impl OrderedMap where - K: PartialEq + Eq + std::hash::Hash, + K: PartialEq + Eq + core::hash::Hash, { /// Create a new, empty [`OrderedMap`]. pub fn new() -> Self { @@ -47,8 +49,8 @@ where where F: FnMut(&V) -> bool, { - let values = std::mem::take(&mut self.values); - let map = std::mem::take(&mut self.map); + let values = mem::take(&mut self.values); + let map = mem::take(&mut self.map); // Filter the values, storing a map from old to new positions: let mut new_values = Vec::new(); @@ -78,8 +80,8 @@ where /// Get an item by its key. pub fn get_by_key(&self, key: &Q) -> Option<&V> where - K: std::borrow::Borrow, - Q: std::hash::Hash + Eq + ?Sized, + K: alloc::borrow::Borrow, + Q: core::hash::Hash + Eq + ?Sized, { self.map.get(key).and_then(|&v| self.values.get(v)) } @@ -107,7 +109,7 @@ where impl FromIterator<(K, V)> for OrderedMap where - K: PartialEq + Eq + std::hash::Hash, + K: PartialEq + Eq + core::hash::Hash, { fn from_iter>(iter: T) -> Self { let mut map = OrderedMap::new(); diff --git a/metadata/src/utils/retain.rs b/metadata/src/utils/retain.rs index d33315c2aa..a160609597 100644 --- a/metadata/src/utils/retain.rs +++ b/metadata/src/utils/retain.rs @@ -8,8 +8,9 @@ use crate::{ ExtrinsicMetadata, Metadata, OuterEnumsMetadata, PalletMetadataInner, RuntimeApiMetadataInner, StorageEntryType, }; +use alloc::collections::BTreeMap; +use hashbrown::HashSet; use scale_info::TypeDef; -use std::collections::{BTreeMap, HashSet}; /// Collect all type IDs needed to represent the provided pallet. fn collect_pallet_types(pallet: &PalletMetadataInner, type_ids: &mut HashSet) { diff --git a/metadata/src/utils/validation.rs b/metadata/src/utils/validation.rs index 81c50b4593..dfa4f9b829 100644 --- a/metadata/src/utils/validation.rs +++ b/metadata/src/utils/validation.rs @@ -8,9 +8,10 @@ use crate::{ CustomMetadata, CustomValueMetadata, ExtrinsicMetadata, Metadata, PalletMetadata, RuntimeApiMetadata, RuntimeApiMethodMetadata, StorageEntryMetadata, StorageEntryType, }; +use alloc::vec::Vec; +use hashbrown::HashMap; use outer_enum_hashes::OuterEnumHashes; use scale_info::{form::PortableForm, Field, PortableRegistry, TypeDef, TypeDefVariant, Variant}; -use std::collections::HashMap; pub mod outer_enum_hashes; @@ -34,7 +35,7 @@ enum TypeBeingHashed { /// Hashing function utilized internally. fn hash(data: &[u8]) -> Hash { - sp_core_hashing::twox_256(data) + sp_crypto_hashing::twox_256(data) } /// XOR two hashes together. Only use this when you don't care about the order diff --git a/metadata/src/utils/validation/outer_enum_hashes.rs b/metadata/src/utils/validation/outer_enum_hashes.rs index 33bd4f52c1..5e50fcb40e 100644 --- a/metadata/src/utils/validation/outer_enum_hashes.rs +++ b/metadata/src/utils/validation/outer_enum_hashes.rs @@ -1,6 +1,6 @@ //! Hash representations of the `frame_metadata::v15::OuterEnums`. -use std::collections::HashMap; +use hashbrown::HashMap; use scale_info::{PortableRegistry, TypeDef}; diff --git a/metadata/src/utils/variant_index.rs b/metadata/src/utils/variant_index.rs index bcc8a78902..9019aee3ab 100644 --- a/metadata/src/utils/variant_index.rs +++ b/metadata/src/utils/variant_index.rs @@ -2,8 +2,10 @@ // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. +use alloc::borrow::ToOwned; +use alloc::string::String; +use hashbrown::HashMap; use scale_info::{form::PortableForm, PortableRegistry, TypeDef, Variant}; -use std::collections::HashMap; /// Given some type ID and type registry, build a couple of /// indexes to look up variants by index or name. If the ID provided @@ -62,8 +64,8 @@ impl VariantIndex { types: &'a PortableRegistry, ) -> Option<&'a Variant> where - String: std::borrow::Borrow, - K: std::hash::Hash + Eq + ?Sized, + String: alloc::borrow::Borrow, + K: core::hash::Hash + Eq + ?Sized, { let pos = *self.by_name.get(name)?; let variants = Self::get(variant_id, types)?; diff --git a/scripts/artifacts/src/main.rs b/scripts/artifacts/src/main.rs index 0b5d247735..17ca76cb1a 100644 --- a/scripts/artifacts/src/main.rs +++ b/scripts/artifacts/src/main.rs @@ -10,7 +10,7 @@ use substrate_runner::SubstrateNode; /// Run with `cargo run --bin artifacts` from the root of the repository. fn main() { let mut node_builder = SubstrateNode::builder(); - node_builder.binary_paths(["substrate-node", "substrate"]); + node_builder.polkadot(); // Spawn the node and retrieve a ws URL to it: let proc = node_builder @@ -37,13 +37,13 @@ fn main() { // Generate a metadata file that only contains a few pallets that we need for our examples. run_cmd( - r#"cargo run --bin subxt metadata --file artifacts/polkadot_metadata_full.scale --pallets "Balances,Staking,System,Multisig,Timestamp,ParaInherent""#, + "cargo run --bin subxt metadata --file artifacts/polkadot_metadata_full.scale --pallets Balances,Staking,System,Multisig,Timestamp,ParaInherent", Some("artifacts/polkadot_metadata_small.scale"), ); // Generate a metadata file that contains no pallets run_cmd( - r#"cargo run --bin subxt metadata --file artifacts/polkadot_metadata_full.scale --pallets """#, + "cargo run --bin subxt metadata --file artifacts/polkadot_metadata_full.scale --pallets \"\"", Some("artifacts/polkadot_metadata_tiny.scale"), ); diff --git a/signer/Cargo.toml b/signer/Cargo.toml index 226237c315..e69042c841 100644 --- a/signer/Cargo.toml +++ b/signer/Cargo.toml @@ -15,7 +15,8 @@ description = "Sign extrinsics to be submitted by Subxt" keywords = ["parity", "subxt", "extrinsic", "signer"] [features] -default = ["sr25519", "ecdsa", "subxt", "native"] +default = ["sr25519", "ecdsa", "subxt", "std"] +std = ["regex/std", "sp-crypto-hashing/std", "pbkdf2/std", "sha2/std", "hmac/std", "bip39/std", "schnorrkel/std", "secp256k1/std", "sp-core/std"] # Pick the signer implementation(s) you need by enabling the # corresponding features. Note: I had more difficulties getting @@ -26,35 +27,36 @@ ecdsa = ["secp256k1"] # Make the keypair algorithms here compatible with Subxt's Signer trait, # so that they can be used to sign transactions for compatible chains. -subxt = ["dep:subxt"] +subxt = ["dep:subxt-core"] # The getrandom package is used via schnorrkel. We need to enable the JS # feature on it if compiling for the web. -web = ["getrandom/js", "subxt?/web"] -native = ["subxt?/native"] +web = ["getrandom/js"] [dependencies] -subxt = { workspace = true, optional = true, default-features = false } -regex = { workspace = true } +subxt-core = { workspace = true, optional = true, default-features = false } +secrecy = { workspace = true } +regex = { workspace = true, features = ["unicode"] } hex = { workspace = true } +cfg-if = { workspace = true } codec = { package = "parity-scale-codec", workspace = true, features = ["derive"] } -sp-core-hashing = { workspace = true } -thiserror = { workspace = true } +sp-crypto-hashing = { workspace = true } +derive_more = { workspace = true } pbkdf2 = { workspace = true } sha2 = { workspace = true } hmac = { workspace = true } zeroize = { workspace = true } bip39 = { workspace = true } schnorrkel = { workspace = true, optional = true } -secp256k1 = { workspace = true, features = ["recovery", "global-context"], optional = true } -secrecy = { workspace = true } +secp256k1 = { workspace = true, optional = true, features = ["alloc", "recovery"] } + # We only pull this in to enable the JS flag for schnorrkel to use. getrandom = { workspace = true, optional = true } [dev-dependencies] -sp-core = { workspace = true, features = ["std"] } sp-keyring = { workspace = true } +sp-core = { workspace = true } [package.metadata.cargo-machete] ignored = ["getrandom"] diff --git a/signer/src/crypto/derive_junction.rs b/signer/src/crypto/derive_junction.rs index 87beee1717..b68f079986 100644 --- a/signer/src/crypto/derive_junction.rs +++ b/signer/src/crypto/derive_junction.rs @@ -40,7 +40,7 @@ impl DeriveJunction { let mut cc: [u8; JUNCTION_ID_LEN] = Default::default(); index.using_encoded(|data| { if data.len() > JUNCTION_ID_LEN { - cc.copy_from_slice(&sp_core_hashing::blake2_256(data)); + cc.copy_from_slice(&sp_crypto_hashing::blake2_256(data)); } else { cc[0..data.len()].copy_from_slice(data); } diff --git a/signer/src/crypto/mod.rs b/signer/src/crypto/mod.rs index c47dfe08a6..5ccdb3df79 100644 --- a/signer/src/crypto/mod.rs +++ b/signer/src/crypto/mod.rs @@ -6,8 +6,13 @@ mod derive_junction; mod secret_uri; + +// No need for the cfg other than to avoid an unused_imports lint warning. +#[cfg(any(feature = "sr25519", feature = "ecdsa"))] mod seed_from_entropy; pub use derive_junction::DeriveJunction; pub use secret_uri::{SecretUri, SecretUriError, DEV_PHRASE}; + +#[cfg(any(feature = "sr25519", feature = "ecdsa"))] pub use seed_from_entropy::seed_from_entropy; diff --git a/signer/src/crypto/secret_uri.rs b/signer/src/crypto/secret_uri.rs index 7be43b8286..5148311795 100644 --- a/signer/src/crypto/secret_uri.rs +++ b/signer/src/crypto/secret_uri.rs @@ -3,6 +3,8 @@ // see LICENSE for license details. use super::DeriveJunction; +use alloc::vec::Vec; +use derive_more::Display; use regex::Regex; use secrecy::SecretString; @@ -88,7 +90,7 @@ pub struct SecretUri { pub junctions: Vec, } -impl std::str::FromStr for SecretUri { +impl core::str::FromStr for SecretUri { type Err = SecretUriError; fn from_str(s: &str) -> Result { @@ -115,14 +117,17 @@ impl std::str::FromStr for SecretUri { } /// This is returned if `FromStr` cannot parse a string into a `SecretUri`. -#[derive(Debug, Copy, Clone, PartialEq, thiserror::Error)] +#[derive(Debug, Copy, Clone, PartialEq, Display)] pub enum SecretUriError { /// Parsing the secret URI from a string failed; wrong format. - #[error("Invalid secret phrase format")] + #[display(fmt = "Invalid secret phrase format")] InvalidFormat, } -once_static! { +#[cfg(feature = "std")] +impl std::error::Error for SecretUriError {} + +once_static_cloned! { /// Interpret a phrase like: /// /// ```text diff --git a/signer/src/crypto/seed_from_entropy.rs b/signer/src/crypto/seed_from_entropy.rs index 7643ff7835..e665c132ab 100644 --- a/signer/src/crypto/seed_from_entropy.rs +++ b/signer/src/crypto/seed_from_entropy.rs @@ -2,6 +2,7 @@ // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. +use alloc::string::String; use hmac::Hmac; use pbkdf2::pbkdf2; use sha2::Sha512; diff --git a/signer/src/ecdsa.rs b/signer/src/ecdsa.rs index a76054abf1..cfa3975edf 100644 --- a/signer/src/ecdsa.rs +++ b/signer/src/ecdsa.rs @@ -6,8 +6,10 @@ use codec::Encode; use crate::crypto::{seed_from_entropy, DeriveJunction, SecretUri}; +use core::str::FromStr; +use derive_more::{Display, From}; use hex::FromHex; -use secp256k1::{ecdsa::RecoverableSignature, Message, SecretKey, SECP256K1}; +use secp256k1::{ecdsa::RecoverableSignature, Message, Secp256k1, SecretKey}; use secrecy::ExposeSecret; const SEED_LENGTH: usize = 32; @@ -68,7 +70,7 @@ impl Keypair { let seed = Seed::from_hex(hex_str)?; Self::from_seed(seed)? } else { - let phrase = bip39::Mnemonic::parse(phrase.expose_secret().as_str())?; + let phrase = bip39::Mnemonic::from_str(phrase.expose_secret().as_str())?; let pass_str = password.as_ref().map(|p| p.expose_secret().as_str()); Self::from_phrase(&phrase, pass_str)? }; @@ -91,8 +93,9 @@ impl Keypair { /// keypair.sign(b"Hello world!"); /// ``` pub fn from_phrase(mnemonic: &bip39::Mnemonic, password: Option<&str>) -> Result { - let big_seed = seed_from_entropy(&mnemonic.to_entropy(), password.unwrap_or("")) - .ok_or(Error::InvalidSeed)?; + let (arr, len) = mnemonic.to_entropy_array(); + let big_seed = + seed_from_entropy(&arr[0..len], password.unwrap_or("")).ok_or(Error::InvalidSeed)?; let seed: Seed = big_seed[..SEED_LENGTH] .try_into() @@ -109,7 +112,8 @@ impl Keypair { pub fn from_seed(seed: Seed) -> Result { let secret = SecretKey::from_slice(&seed).map_err(|_| Error::InvalidSeed)?; Ok(Self(secp256k1::Keypair::from_secret_key( - SECP256K1, &secret, + &Secp256k1::signing_only(), + &secret, ))) } @@ -140,7 +144,7 @@ impl Keypair { DeriveJunction::Soft(_) => return Err(Error::SoftJunction), DeriveJunction::Hard(junction_bytes) => { acc = ("Secp256k1HDKD", acc, junction_bytes) - .using_encoded(sp_core_hashing::blake2_256) + .using_encoded(sp_crypto_hashing::blake2_256) } } } @@ -157,13 +161,13 @@ impl Keypair { /// Sign some message. These bytes can be used directly in a Substrate `MultiSignature::Ecdsa(..)`. pub fn sign(&self, message: &[u8]) -> Signature { // From sp_core::ecdsa::sign: - let message_hash = sp_core_hashing::blake2_256(message); + let message_hash = sp_crypto_hashing::blake2_256(message); // From sp_core::ecdsa::sign_prehashed: let wrapped = Message::from_digest_slice(&message_hash).expect("Message is 32 bytes; qed"); let recsig: RecoverableSignature = - SECP256K1.sign_ecdsa_recoverable(&wrapped, &self.0.secret_key()); + Secp256k1::signing_only().sign_ecdsa_recoverable(&wrapped, &self.0.secret_key()); // From sp_core::ecdsa's `impl From for Signature`: - let (recid, sig) = recsig.serialize_compact(); + let (recid, sig): (_, [u8; 64]) = recsig.serialize_compact(); let mut signature_bytes: [u8; 65] = [0; 65]; signature_bytes[..64].copy_from_slice(&sig); signature_bytes[64] = (recid.to_i32() & 0xFF) as u8; @@ -190,33 +194,41 @@ pub fn verify>(sig: &Signature, message: M, pubkey: &PublicKey) - let Ok(public) = secp256k1::PublicKey::from_slice(&pubkey.0) else { return false; }; - let message_hash = sp_core_hashing::blake2_256(message.as_ref()); + let message_hash = sp_crypto_hashing::blake2_256(message.as_ref()); let wrapped = Message::from_digest_slice(&message_hash).expect("Message is 32 bytes; qed"); - signature.verify(&wrapped, &public).is_ok() + + Secp256k1::verification_only() + .verify_ecdsa(&wrapped, &signature, &public) + .is_ok() } /// An error handed back if creating a keypair fails. -#[derive(Debug, PartialEq, thiserror::Error)] +#[derive(Debug, PartialEq, Display, From)] pub enum Error { /// Invalid seed. - #[error("Invalid seed (was it the wrong length?)")] + #[display(fmt = "Invalid seed (was it the wrong length?)")] + #[from(ignore)] InvalidSeed, /// Invalid seed. - #[error("Invalid seed for ECDSA, contained soft junction")] + #[display(fmt = "Invalid seed for ECDSA, contained soft junction")] + #[from(ignore)] SoftJunction, /// Invalid phrase. - #[error("Cannot parse phrase: {0}")] - Phrase(#[from] bip39::Error), + #[display(fmt = "Cannot parse phrase: {_0}")] + Phrase(bip39::Error), /// Invalid hex. - #[error("Cannot parse hex string: {0}")] - Hex(#[from] hex::FromHexError), + #[display(fmt = "Cannot parse hex string: {_0}")] + Hex(hex::FromHexError), } +#[cfg(feature = "std")] +impl std::error::Error for Error {} + /// Dev accounts, helpful for testing but not to be used in production, /// since the secret keys are known. pub mod dev { use super::*; - use std::str::FromStr; + use core::str::FromStr; once_static_cloned! { /// Equivalent to `{DEV_PHRASE}//Alice`. @@ -260,9 +272,9 @@ pub mod dev { mod subxt_compat { use super::*; - use subxt::config::Config; - use subxt::tx::Signer as SignerT; - use subxt::utils::{AccountId32, MultiAddress, MultiSignature}; + use subxt_core::config::Config; + use subxt_core::tx::Signer as SignerT; + use subxt_core::utils::{AccountId32, MultiAddress, MultiSignature}; impl From for MultiSignature { fn from(value: Signature) -> Self { @@ -287,7 +299,7 @@ mod subxt_compat { /// We often want this type, and using this method avoids any /// ambiguous type resolution issues. pub fn to_account_id(self) -> AccountId32 { - AccountId32(sp_core_hashing::blake2_256(&self.0)) + AccountId32(sp_crypto_hashing::blake2_256(&self.0)) } /// A shortcut to obtain a [`MultiAddress`] from a [`PublicKey`]. /// We often want this type, and using this method avoids any diff --git a/signer/src/lib.rs b/signer/src/lib.rs index 2c79d6a1ec..db13732327 100644 --- a/signer/src/lib.rs +++ b/signer/src/lib.rs @@ -14,6 +14,9 @@ //! subxt transactions for chains supporting sr25519 signatures. #![cfg_attr(docsrs, feature(doc_cfg))] +#![cfg_attr(not(feature = "std"), no_std)] + +extern crate alloc; #[macro_use] mod utils; @@ -40,9 +43,3 @@ pub use secrecy::{ExposeSecret, SecretString}; // SecretUri's can be parsed from strings and used to generate key pairs. // DeriveJunctions are the "path" part of these SecretUris. pub use crypto::{DeriveJunction, SecretUri, SecretUriError, DEV_PHRASE}; - -#[cfg(any( - all(feature = "web", feature = "native"), - not(any(feature = "web", feature = "native")) -))] -compile_error!("subxt-signer: exactly one of the 'web' and 'native' features should be used."); diff --git a/signer/src/sr25519.rs b/signer/src/sr25519.rs index 01e6cc84b1..83e011fc26 100644 --- a/signer/src/sr25519.rs +++ b/signer/src/sr25519.rs @@ -4,7 +4,11 @@ //! An sr25519 keypair implementation. +use core::str::FromStr; + use crate::crypto::{seed_from_entropy, DeriveJunction, SecretUri}; + +use derive_more::{Display, From}; use hex::FromHex; use schnorrkel::{ derive::{ChainCode, Derivation}, @@ -72,7 +76,7 @@ impl Keypair { let seed = Seed::from_hex(hex_str)?; Self::from_seed(seed)? } else { - let phrase = bip39::Mnemonic::parse(phrase.expose_secret().as_str())?; + let phrase = bip39::Mnemonic::from_str(phrase.expose_secret().as_str())?; let pass_str = password.as_ref().map(|p| p.expose_secret().as_str()); Self::from_phrase(&phrase, pass_str)? }; @@ -95,8 +99,9 @@ impl Keypair { /// keypair.sign(b"Hello world!"); /// ``` pub fn from_phrase(mnemonic: &bip39::Mnemonic, password: Option<&str>) -> Result { - let big_seed = seed_from_entropy(&mnemonic.to_entropy(), password.unwrap_or("")) - .ok_or(Error::InvalidSeed)?; + let (arr, len) = mnemonic.to_entropy_array(); + let big_seed = + seed_from_entropy(&arr[0..len], password.unwrap_or("")).ok_or(Error::InvalidSeed)?; let seed: Seed = big_seed[..SEED_LENGTH] .try_into() @@ -187,24 +192,28 @@ pub fn verify>(sig: &Signature, message: M, pubkey: &PublicKey) - } /// An error handed back if creating a keypair fails. -#[derive(Debug, thiserror::Error)] +#[derive(Debug, Display, From)] pub enum Error { /// Invalid seed. - #[error("Invalid seed (was it the wrong length?)")] + #[display(fmt = "Invalid seed (was it the wrong length?)")] + #[from(ignore)] InvalidSeed, /// Invalid phrase. - #[error("Cannot parse phrase: {0}")] - Phrase(#[from] bip39::Error), + #[display(fmt = "Cannot parse phrase: {_0}")] + Phrase(bip39::Error), /// Invalid hex. - #[error("Cannot parse hex string: {0}")] - Hex(#[from] hex::FromHexError), + #[display(fmt = "Cannot parse hex string: {_0}")] + Hex(hex::FromHexError), } +#[cfg(feature = "std")] +impl std::error::Error for Error {} + /// Dev accounts, helpful for testing but not to be used in production, /// since the secret keys are known. pub mod dev { use super::*; - use std::str::FromStr; + use core::str::FromStr; once_static_cloned! { /// Equivalent to `{DEV_PHRASE}//Alice`. @@ -249,9 +258,11 @@ pub mod dev { mod subxt_compat { use super::*; - use subxt::config::Config; - use subxt::tx::Signer as SignerT; - use subxt::utils::{AccountId32, MultiAddress, MultiSignature}; + use subxt_core::{ + tx::Signer as SignerT, + utils::{AccountId32, MultiAddress, MultiSignature}, + Config, + }; impl From for MultiSignature { fn from(value: Signature) -> Self { diff --git a/signer/src/utils.rs b/signer/src/utils.rs index 2e12665419..e3cea3cfc8 100644 --- a/signer/src/utils.rs +++ b/signer/src/utils.rs @@ -7,34 +7,29 @@ /// Use like: /// /// ```rust,ignore -/// once_static!{ +/// once_static_cloned!{ /// /// Some documentation. /// fn foo() -> Vec { /// vec![1,2,3,4] /// } /// } /// ``` -macro_rules! once_static { - ($($(#[$attr:meta])* $vis:vis fn $name:ident() -> $ty:ty { $expr:expr } )+) => { - $( - $(#[$attr])* - $vis fn $name() -> &'static $ty { - static VAR: std::sync::OnceLock<$ty> = std::sync::OnceLock::new(); - VAR.get_or_init(|| { $expr }) - } - )+ - }; -} - -/// Like `once_static!` but clones the item out of static storage. Useful if it +/// +/// Clones the item out of static storage. Useful if it /// takes a while to create the item but cloning it is fairly cheap. macro_rules! once_static_cloned { ($($(#[$attr:meta])* $vis:vis fn $name:ident() -> $ty:ty { $expr:expr } )+) => { $( $(#[$attr])* $vis fn $name() -> $ty { - static VAR: std::sync::OnceLock<$ty> = std::sync::OnceLock::new(); - VAR.get_or_init(|| { $expr }).clone() + cfg_if::cfg_if! { + if #[cfg(feature = "std")] { + static VAR: std::sync::OnceLock<$ty> = std::sync::OnceLock::new(); + VAR.get_or_init(|| { $expr }).clone() + } else { + { $expr } + } + } } )+ }; diff --git a/signer/wasm-tests/Cargo.toml b/signer/wasm-tests/Cargo.toml index 008dc84018..5bf218a4c2 100644 --- a/signer/wasm-tests/Cargo.toml +++ b/signer/wasm-tests/Cargo.toml @@ -8,14 +8,13 @@ publish = false wasm-bindgen-test = "0.3.24" tracing-wasm = "0.2.1" console_error_panic_hook = "0.1.7" -serde_json = "1" # This crate is not a part of the workspace, because we want to # enable the "web" feature here but don't want it enabled as part # of workspace builds. Also disable the "subxt" feature here because # we want to ensure it works in isolation of that. -subxt-signer = { path = "..", default-features = false, features = ["web", "sr25519", "ecdsa"] } +subxt-signer = { path = "..", default-features = false, features = ["web", "sr25519", "ecdsa", "std"] } # this shouldn't be needed, it's in workspace.exclude, but still # I get the complaint unless I add it... -[workspace] \ No newline at end of file +[workspace] diff --git a/subxt/Cargo.toml b/subxt/Cargo.toml index 0686a8c897..8f8cc847de 100644 --- a/subxt/Cargo.toml +++ b/subxt/Cargo.toml @@ -42,13 +42,18 @@ web = [ "instant/wasm-bindgen" ] +# Enable this to use the reconnecting rpc client +unstable-reconnecting-rpc-client = ["dep:reconnecting-jsonrpsee-ws-client"] + # Enable this to use jsonrpsee (allowing for example `OnlineClient::from_url`). -jsonrpsee = ["dep:jsonrpsee"] +jsonrpsee = [ + "dep:jsonrpsee", +] # Enable this to pull in extra Substrate dependencies which make it possible to # use the `sp_core::crypto::Pair` Signer implementation, as well as adding some # `From` impls for types like `AccountId32`. Cannot be used with "web". -substrate-compat = ["sp-core", "sp-runtime"] +substrate-compat = ["subxt-core/substrate-compat"] # Enable this to fetch and utilize the latest unstable metadata from a node. # The unstable metadata is subject to breaking changes and the subxt might @@ -58,50 +63,43 @@ unstable-metadata = [] # Activate this to expose the Light Client functionality. # Note that this feature is experimental and things may break or not work as expected. -unstable-light-client = ["subxt-lightclient", "tokio-stream"] +unstable-light-client = ["subxt-lightclient"] [dependencies] async-trait = { workspace = true } codec = { package = "parity-scale-codec", workspace = true, features = ["derive"] } -scale-info = { workspace = true } -scale-value = { workspace = true } -scale-bits = { workspace = true } -scale-decode = { workspace = true } -scale-encode = { workspace = true } +derive-where = { workspace = true } +scale-info = { workspace = true, features = ["default"] } +scale-value = { workspace = true, features = ["default"] } +scale-bits = { workspace = true, features = ["default"] } +scale-decode = { workspace = true, features = ["default"] } +scale-encode = { workspace = true, features = ["default"] } futures = { workspace = true } hex = { workspace = true } serde = { workspace = true, features = ["derive"] } -serde_json = { workspace = true, features = ["raw_value"] } +serde_json = { workspace = true, features = ["default", "raw_value"] } thiserror = { workspace = true } tracing = { workspace = true } frame-metadata = { workspace = true } -derivative = { workspace = true } either = { workspace = true } instant = { workspace = true } # Provides some deserialization, types like U256/H256 and hashing impls like twox/blake256: impl-serde = { workspace = true } -primitive-types = { workspace = true } -sp-core-hashing = { workspace = true } - -# For ss58 encoding AccountId32 to serialize them properly: -base58 = { workspace = true } -blake2 = { workspace = true } +primitive-types = { workspace = true, features = ["codec", "scale-info", "serde"] } +sp-crypto-hashing = { workspace = true } # Included if the "jsonrpsee" feature is enabled. jsonrpsee = { workspace = true, optional = true, features = ["jsonrpsee-types"] } -# Included if the "substrate-compat" feature is enabled. -sp-core = { workspace = true, optional = true } -sp-runtime = { workspace = true, optional = true } - # Other subxt crates we depend on. subxt-macro = { workspace = true } -subxt-metadata = { workspace = true } +subxt-core = { workspace = true, features = ["std"] } +subxt-metadata = { workspace = true, features = ["std"] } subxt-lightclient = { workspace = true, optional = true, default-features = false } -# Light client support: -tokio-stream = { workspace = true, optional = true } +# Reconnecting jsonrpc ws client +reconnecting-jsonrpsee-ws-client = { version = "0.3", optional = true } # For parsing urls to disallow insecure schemes url = { workspace = true } @@ -129,18 +127,23 @@ subxt-signer = { path = "../signer" } tracing-subscriber = { workspace = true } [[example]] -name = "light_client_tx_basic" -path = "examples/light_client_tx_basic.rs" +name = "light_client_basic" +path = "examples/light_client_basic.rs" required-features = ["unstable-light-client", "jsonrpsee"] [[example]] -name = "light_client_parachains" -path = "examples/light_client_parachains.rs" +name = "light_client_local_node" +path = "examples/light_client_local_node.rs" required-features = ["unstable-light-client", "jsonrpsee", "native"] +[[example]] +name = "reconnecting_rpc_client" +path = "examples/reconnecting_rpc_client.rs" +required-features = ["unstable-reconnecting-rpc-client"] + [package.metadata.docs.rs] features = ["default", "substrate-compat", "unstable-light-client"] rustdoc-args = ["--cfg", "docsrs"] [package.metadata.playground] -features = ["default", "substrate-compat", "unstable-light-client"] +features = ["default", "substrate-compat", "unstable-light-client"] \ No newline at end of file diff --git a/subxt/examples/light_client_basic.rs b/subxt/examples/light_client_basic.rs new file mode 100644 index 0000000000..3b4eba6f9e --- /dev/null +++ b/subxt/examples/light_client_basic.rs @@ -0,0 +1,47 @@ +#![allow(missing_docs)] +use futures::StreamExt; +use subxt::{client::OnlineClient, lightclient::LightClient, PolkadotConfig}; + +// Generate an interface that we can use from the node's metadata. +#[subxt::subxt(runtime_metadata_path = "../artifacts/polkadot_metadata_small.scale")] +pub mod polkadot {} + +const POLKADOT_SPEC: &str = include_str!("../../artifacts/demo_chain_specs/polkadot.json"); +const ASSET_HUB_SPEC: &str = + include_str!("../../artifacts/demo_chain_specs/polkadot_asset_hub.json"); + +#[tokio::main] +async fn main() -> Result<(), Box> { + // The lightclient logs are informative: + tracing_subscriber::fmt::init(); + + // Instantiate a light client with the Polkadot relay chain, + // and connect it to Asset Hub, too. + let (lightclient, polkadot_rpc) = LightClient::relay_chain(POLKADOT_SPEC)?; + let asset_hub_rpc = lightclient.parachain(ASSET_HUB_SPEC)?; + + // Create Subxt clients from these Smoldot backed RPC clients. + let polkadot_api = OnlineClient::::from_rpc_client(polkadot_rpc).await?; + let asset_hub_api = OnlineClient::::from_rpc_client(asset_hub_rpc).await?; + + // Use them! + let polkadot_sub = polkadot_api + .blocks() + .subscribe_finalized() + .await? + .map(|block| ("Polkadot", block)); + let parachain_sub = asset_hub_api + .blocks() + .subscribe_finalized() + .await? + .map(|block| ("AssetHub", block)); + + let mut stream_combinator = futures::stream::select(polkadot_sub, parachain_sub); + + while let Some((chain, block)) = stream_combinator.next().await { + let block = block?; + println!(" Chain {:?} hash={:?}", chain, block.hash()); + } + + Ok(()) +} diff --git a/subxt/examples/light_client_tx_basic.rs b/subxt/examples/light_client_local_node.rs similarity index 60% rename from subxt/examples/light_client_tx_basic.rs rename to subxt/examples/light_client_local_node.rs index 37ce6cb533..bcf492b41b 100644 --- a/subxt/examples/light_client_tx_basic.rs +++ b/subxt/examples/light_client_local_node.rs @@ -1,5 +1,10 @@ #![allow(missing_docs)] -use subxt::{client::LightClient, PolkadotConfig}; +use subxt::utils::fetch_chainspec_from_rpc_node; +use subxt::{ + client::OnlineClient, + lightclient::{ChainConfig, LightClient}, + PolkadotConfig, +}; use subxt_signer::sr25519::dev; // Generate an interface that we can use from the node's metadata. @@ -11,19 +16,23 @@ async fn main() -> Result<(), Box> { // The smoldot logs are informative: tracing_subscriber::fmt::init(); - // Create a light client by fetching the chain spec of a local running node. - // In this case, because we start one single node, the bootnodes must be overwritten - // for the light client to connect to the local node. + // Use a utility function to obtain a chain spec from a locally running node: + let chain_spec = fetch_chainspec_from_rpc_node("ws://127.0.0.1:9944").await?; + + // Configure the bootnodes of this chain spec. In this case, because we start one + // single node, the bootnodes must be overwritten for the light client to connect + // to the local node. // // The `12D3KooWEyoppNCUx8Yx66oV9fJnriXwCcXwDDUA2kj6vnc6iDEp` is the P2P address // from a local polkadot node starting with // `--node-key 0000000000000000000000000000000000000000000000000000000000000001` - let api = LightClient::::builder() - .bootnodes([ - "/ip4/127.0.0.1/tcp/30333/p2p/12D3KooWEyoppNCUx8Yx66oV9fJnriXwCcXwDDUA2kj6vnc6iDEp", - ]) - .build_from_url("ws://127.0.0.1:9944") - .await?; + let chain_config = ChainConfig::chain_spec(chain_spec.get()).set_bootnodes([ + "/ip4/127.0.0.1/tcp/30333/p2p/12D3KooWEyoppNCUx8Yx66oV9fJnriXwCcXwDDUA2kj6vnc6iDEp", + ])?; + + // Start the light client up, establishing a connection to the local node. + let (_light_client, chain_rpc) = LightClient::relay_chain(chain_config)?; + let api = OnlineClient::::from_rpc_client(chain_rpc).await?; // Build a balance transfer extrinsic. let dest = dev::bob().public_key().into(); diff --git a/subxt/examples/light_client_parachains.rs b/subxt/examples/light_client_parachains.rs deleted file mode 100644 index 227da26fe0..0000000000 --- a/subxt/examples/light_client_parachains.rs +++ /dev/null @@ -1,102 +0,0 @@ -#![allow(missing_docs)] -use futures::StreamExt; -use std::{iter, num::NonZeroU32}; -use subxt::{ - client::{LightClient, RawLightClient}, - PolkadotConfig, -}; - -// Generate an interface that we can use from the node's metadata. -#[subxt::subxt(runtime_metadata_path = "../artifacts/polkadot_metadata_small.scale")] -pub mod polkadot {} - -const POLKADOT_SPEC: &str = include_str!("../../artifacts/demo_chain_specs/polkadot.json"); -const ASSET_HUB_SPEC: &str = - include_str!("../../artifacts/demo_chain_specs/polkadot_asset_hub.json"); - -#[tokio::main] -async fn main() -> Result<(), Box> { - // The smoldot logs are informative: - tracing_subscriber::fmt::init(); - - // Connecting to a parachain is a multi step process. - - // Step 1. Construct a new smoldot client. - let mut client = - subxt_lightclient::smoldot::Client::new(subxt_lightclient::smoldot::DefaultPlatform::new( - "subxt-example-light-client".into(), - "version-0".into(), - )); - - // Step 2. Connect to the relay chain of the parachain. For this example, the Polkadot relay chain. - let polkadot_connection = client - .add_chain(subxt_lightclient::smoldot::AddChainConfig { - specification: POLKADOT_SPEC, - json_rpc: subxt_lightclient::smoldot::AddChainConfigJsonRpc::Enabled { - max_pending_requests: NonZeroU32::new(128).unwrap(), - max_subscriptions: 1024, - }, - potential_relay_chains: iter::empty(), - database_content: "", - user_data: (), - }) - .expect("Light client chain added with valid spec; qed"); - let polkadot_json_rpc_responses = polkadot_connection - .json_rpc_responses - .expect("Light client configured with json rpc enabled; qed"); - let polkadot_chain_id = polkadot_connection.chain_id; - - // Step 3. Connect to the parachain. For this example, the Asset hub parachain. - let assethub_connection = client - .add_chain(subxt_lightclient::smoldot::AddChainConfig { - specification: ASSET_HUB_SPEC, - json_rpc: subxt_lightclient::smoldot::AddChainConfigJsonRpc::Enabled { - max_pending_requests: NonZeroU32::new(128).unwrap(), - max_subscriptions: 1024, - }, - // The chain specification of the asset hub parachain mentions that the identifier - // of its relay chain is `polkadot`. - potential_relay_chains: [polkadot_chain_id].into_iter(), - database_content: "", - user_data: (), - }) - .expect("Light client chain added with valid spec; qed"); - let parachain_json_rpc_responses = assethub_connection - .json_rpc_responses - .expect("Light client configured with json rpc enabled; qed"); - let parachain_chain_id = assethub_connection.chain_id; - - // Step 4. Turn the smoldot client into a raw client. - let raw_light_client = RawLightClient::builder() - .add_chain(polkadot_chain_id, polkadot_json_rpc_responses) - .add_chain(parachain_chain_id, parachain_json_rpc_responses) - .build(client) - .await?; - - // Step 5. Obtain a client to target the relay chain and the parachain. - let polkadot_api: LightClient = - raw_light_client.for_chain(polkadot_chain_id).await?; - let parachain_api: LightClient = - raw_light_client.for_chain(parachain_chain_id).await?; - - // Step 6. Subscribe to the finalized blocks of the chains. - let polkadot_sub = polkadot_api - .blocks() - .subscribe_finalized() - .await? - .map(|block| ("Polkadot", block)); - let parachain_sub = parachain_api - .blocks() - .subscribe_finalized() - .await? - .map(|block| ("AssetHub", block)); - let mut stream_combinator = futures::stream::select(polkadot_sub, parachain_sub); - - while let Some((chain, block)) = stream_combinator.next().await { - let block = block?; - - println!(" Chain {:?} hash={:?}", chain, block.hash()); - } - - Ok(()) -} diff --git a/subxt/examples/reconnecting_rpc_client.rs b/subxt/examples/reconnecting_rpc_client.rs new file mode 100644 index 0000000000..b21be899f6 --- /dev/null +++ b/subxt/examples/reconnecting_rpc_client.rs @@ -0,0 +1,73 @@ +//! Example to utilize the `reconnecting rpc client` in subxt +//! which hidden behind behind `--feature unstable-reconnecting-rpc-client` +//! +//! To utilize full logs from the RPC client use: +//! `RUST_LOG="jsonrpsee=trace,reconnecting_jsonrpsee_ws_client=trace"` + +#![allow(missing_docs)] + +use std::time::Duration; + +use subxt::backend::rpc::reconnecting_rpc_client::{Client, ExponentialBackoff, PingConfig}; +use subxt::backend::rpc::RpcClient; +use subxt::error::{Error, RpcError}; +use subxt::{OnlineClient, PolkadotConfig}; + +// Generate an interface that we can use from the node's metadata. +#[subxt::subxt(runtime_metadata_path = "../artifacts/polkadot_metadata_small.scale")] +pub mod polkadot {} + +#[tokio::main] +async fn main() -> Result<(), Box> { + tracing_subscriber::fmt::init(); + + // Create a new client with with a reconnecting RPC client. + let rpc = Client::builder() + // Reconnect with exponential backoff + // + // This API is "iterator-like" so one could limit it to only + // reconnect x times and then quit. + .retry_policy(ExponentialBackoff::from_millis(100).max_delay(Duration::from_secs(10))) + // Send period WebSocket pings/pongs every 6th second and if it's not ACK:ed in 30 seconds + // then disconnect. + // + // This is just a way to ensure that the connection isn't idle if no message is sent that often + .enable_ws_ping( + PingConfig::new() + .ping_interval(Duration::from_secs(6)) + .inactive_limit(Duration::from_secs(30)), + ) + // There are other configurations as well that can be found here: + // + .build("ws://localhost:9944".to_string()) + .await?; + + let api: OnlineClient = + OnlineClient::from_rpc_client(RpcClient::new(rpc.clone())).await?; + + // Subscribe to all finalized blocks: + let mut blocks_sub = api.blocks().subscribe_finalized().await?; + + // For each block, print a bunch of information about it: + while let Some(block) = blocks_sub.next().await { + let block = match block { + Ok(b) => b, + Err(Error::Rpc(RpcError::DisconnectedWillReconnect(err))) => { + println!("{err}"); + continue; + } + Err(e) => { + return Err(e.into()); + } + }; + + let block_number = block.header().number; + let block_hash = block.hash(); + + println!("Block #{block_number} ({block_hash})"); + } + + println!("RPC client reconnected `{}` times", rpc.reconnect_count()); + + Ok(()) +} diff --git a/subxt/examples/rpc_legacy.rs b/subxt/examples/rpc_legacy.rs index f0b831c3b6..84bd837e2d 100644 --- a/subxt/examples/rpc_legacy.rs +++ b/subxt/examples/rpc_legacy.rs @@ -40,7 +40,10 @@ async fn main() -> Result<(), Box> { .await?; let current_header = rpc.chain_get_header(None).await?.unwrap(); - let ext_params = Params::new().mortal(¤t_header, 8).build(); + let ext_params = Params::new() + .mortal(¤t_header, 8) + .nonce(current_nonce) + .build(); let balance_transfer = polkadot::tx() .balances() @@ -48,7 +51,7 @@ async fn main() -> Result<(), Box> { let ext_hash = api .tx() - .create_signed_with_nonce(&balance_transfer, &alice, current_nonce, ext_params)? + .create_signed_offline(&balance_transfer, &alice, ext_params)? .submit() .await?; diff --git a/subxt/examples/setup_client_offline.rs b/subxt/examples/setup_client_offline.rs index 70afc0a41c..db3794661e 100644 --- a/subxt/examples/setup_client_offline.rs +++ b/subxt/examples/setup_client_offline.rs @@ -16,10 +16,7 @@ async fn main() -> Result<(), Box> { }; // 2. A runtime version (system_version constant on a Substrate node has these): - let runtime_version = subxt::backend::RuntimeVersion { - spec_version: 9370, - transaction_version: 20, - }; + let runtime_version = subxt::client::RuntimeVersion::new(9370, 20); // 3. Metadata (I'll load it from the downloaded metadata, but you can use // `subxt metadata > file.scale` to download it): diff --git a/subxt/examples/setup_config_custom.rs b/subxt/examples/setup_config_custom.rs index 4748202e1f..38cab069f9 100644 --- a/subxt/examples/setup_config_custom.rs +++ b/subxt/examples/setup_config_custom.rs @@ -1,7 +1,9 @@ #![allow(missing_docs)] use codec::Encode; -use subxt::client::OfflineClientT; -use subxt::config::{Config, ExtrinsicParams, ExtrinsicParamsEncoder, ExtrinsicParamsError}; +use subxt::client::ClientState; +use subxt::config::{ + Config, ExtrinsicParams, ExtrinsicParamsEncoder, ExtrinsicParamsError, RefineParams, +}; use subxt_signer::sr25519::dev; #[subxt::subxt(runtime_metadata_path = "../artifacts/polkadot_metadata_full.scale")] @@ -51,24 +53,24 @@ impl CustomExtrinsicParamsBuilder { } } +impl RefineParams for CustomExtrinsicParamsBuilder {} + // Describe how to fetch and then encode the params: impl ExtrinsicParams for CustomExtrinsicParams { - type OtherParams = CustomExtrinsicParamsBuilder; + type Params = CustomExtrinsicParamsBuilder; // Gather together all of the params we will need to encode: - fn new>( - _nonce: u64, - client: Client, - other_params: Self::OtherParams, - ) -> Result { + fn new(client: &ClientState, params: Self::Params) -> Result { Ok(Self { genesis_hash: client.genesis_hash(), - tip: other_params.tip, - foo: other_params.foo, + tip: params.tip, + foo: params.foo, }) } } +impl RefineParams for CustomExtrinsicParams {} + // Encode the relevant params when asked: impl ExtrinsicParamsEncoder for CustomExtrinsicParams { fn encode_extra_to(&self, v: &mut Vec) { @@ -86,7 +88,7 @@ async fn main() { let tx_payload = runtime::tx().system().remark(b"Hello".to_vec()); - // Build your custom "OtherParams": + // Build your custom "Params": let tx_config = CustomExtrinsicParamsBuilder::new().tip(1234).enable_foo(); // And provide them when submitting a transaction: diff --git a/subxt/examples/setup_config_signed_extension.rs b/subxt/examples/setup_config_signed_extension.rs index 2442de629b..66585e46bb 100644 --- a/subxt/examples/setup_config_signed_extension.rs +++ b/subxt/examples/setup_config_signed_extension.rs @@ -2,7 +2,7 @@ use codec::Encode; use scale_encode::EncodeAsType; use scale_info::PortableRegistry; -use subxt::client::OfflineClientT; +use subxt::client::ClientState; use subxt::config::signed_extensions; use subxt::config::{ Config, DefaultExtrinsicParamsBuilder, ExtrinsicParams, ExtrinsicParamsEncoder, @@ -58,13 +58,9 @@ impl signed_extensions::SignedExtension for CustomSignedExtension // Gather together any params we need for our signed extension, here none. impl ExtrinsicParams for CustomSignedExtension { - type OtherParams = (); + type Params = (); - fn new>( - _nonce: u64, - _client: Client, - _other_params: Self::OtherParams, - ) -> Result { + fn new(_client: &ClientState, _params: Self::Params) -> Result { Ok(CustomSignedExtension) } } @@ -80,13 +76,13 @@ impl ExtrinsicParamsEncoder for CustomSignedExtension { } // When composing a tuple of signed extensions, the user parameters we need must -// be able to convert `Into` a tuple of corresponding `OtherParams`. Here, we just -// "hijack" the default param builder, but add the `OtherParams` (`()`) for our +// be able to convert `Into` a tuple of corresponding `Params`. Here, we just +// "hijack" the default param builder, but add the `Params` (`()`) for our // new signed extension at the end, to make the types line up. IN reality you may wish -// to construct an entirely new interface to provide the relevant `OtherParams`. +// to construct an entirely new interface to provide the relevant `Params`. pub fn custom( params: DefaultExtrinsicParamsBuilder, -) -> <::ExtrinsicParams as ExtrinsicParams>::OtherParams { +) -> <::ExtrinsicParams as ExtrinsicParams>::Params { let (a, b, c, d, e, f, g) = params.build(); (a, b, c, d, e, f, g, ()) } diff --git a/subxt/examples/storage_iterating.rs b/subxt/examples/storage_iterating.rs index e99bb884b3..f64fad6c8d 100644 --- a/subxt/examples/storage_iterating.rs +++ b/subxt/examples/storage_iterating.rs @@ -16,9 +16,10 @@ async fn main() -> Result<(), Box> { // a time from the node, but we always iterate over one at a time). let mut results = api.storage().at_latest().await?.iter(storage_query).await?; - while let Some(Ok((key, value))) = results.next().await { - println!("Key: 0x{}", hex::encode(&key)); - println!("Value: {:?}", value); + while let Some(Ok(kv)) = results.next().await { + println!("Keys decoded: {:?}", kv.keys); + println!("Key: 0x{}", hex::encode(&kv.key_bytes)); + println!("Value: {:?}", kv.value); } Ok(()) diff --git a/subxt/examples/storage_iterating_dynamic.rs b/subxt/examples/storage_iterating_dynamic.rs index 391ce60cd7..edda311b00 100644 --- a/subxt/examples/storage_iterating_dynamic.rs +++ b/subxt/examples/storage_iterating_dynamic.rs @@ -1,5 +1,5 @@ #![allow(missing_docs)] -use subxt::{OnlineClient, PolkadotConfig}; +use subxt::{dynamic::Value, OnlineClient, PolkadotConfig}; #[tokio::main] async fn main() -> Result<(), Box> { @@ -7,16 +7,17 @@ async fn main() -> Result<(), Box> { let api = OnlineClient::::new().await?; // Build a dynamic storage query to iterate account information. - // With a dynamic query, we can just provide an empty Vec as the keys to iterate over all entries. - let keys = Vec::<()>::new(); + // With a dynamic query, we can just provide an empty vector as the keys to iterate over all entries. + let keys: Vec = vec![]; let storage_query = subxt::dynamic::storage("System", "Account", keys); // Use that query to return an iterator over the results. let mut results = api.storage().at_latest().await?.iter(storage_query).await?; - while let Some(Ok((key, value))) = results.next().await { - println!("Key: 0x{}", hex::encode(&key)); - println!("Value: {:?}", value.to_value()?); + while let Some(Ok(kv)) = results.next().await { + println!("Keys decoded: {:?}", kv.keys); + println!("Key: 0x{}", hex::encode(&kv.key_bytes)); + println!("Value: {:?}", kv.value.to_value()?); } Ok(()) diff --git a/subxt/examples/storage_iterating_partial.rs b/subxt/examples/storage_iterating_partial.rs index eb89dd2e15..d8d800faf4 100644 --- a/subxt/examples/storage_iterating_partial.rs +++ b/subxt/examples/storage_iterating_partial.rs @@ -38,11 +38,11 @@ async fn main() -> Result<(), Box> { // Get back an iterator of results. let mut results = api.storage().at_latest().await?.iter(storage_query).await?; - while let Some(Ok((key, value))) = results.next().await { - println!("Key: 0x{}", hex::encode(&key)); - println!("Value: {:?}", value); + while let Some(Ok(kv)) = results.next().await { + println!("Keys decoded: {:?}", kv.keys); + println!("Key: 0x{}", hex::encode(&kv.key_bytes)); + println!("Value: {:?}", kv.value); } - Ok(()) } diff --git a/subxt/src/backend/legacy/mod.rs b/subxt/src/backend/legacy/mod.rs index cffb3f4475..6c6520e0db 100644 --- a/subxt/src/backend/legacy/mod.rs +++ b/subxt/src/backend/legacy/mod.rs @@ -22,18 +22,56 @@ use std::task::{Context, Poll}; // Expose the RPC methods. pub use rpc_methods::LegacyRpcMethods; +/// Configure and build an [`LegacyBackend`]. +pub struct LegacyBackendBuilder { + storage_page_size: u32, + _marker: std::marker::PhantomData, +} + +impl Default for LegacyBackendBuilder { + fn default() -> Self { + Self::new() + } +} + +impl LegacyBackendBuilder { + /// Create a new [`LegacyBackendBuilder`]. + pub fn new() -> Self { + Self { + storage_page_size: 64, + _marker: std::marker::PhantomData, + } + } + + /// Iterating over storage entries using the [`LegacyBackend`] requires + /// fetching entries in batches. This configures the number of entries that + /// we'll try to obtain in each batch (default: 64). + pub fn storage_page_size(mut self, storage_page_size: u32) -> Self { + self.storage_page_size = storage_page_size; + self + } + + /// Given an [`RpcClient`] to use to make requests, this returns a [`LegacyBackend`], + /// which implements the [`Backend`] trait. + pub fn build(self, client: impl Into) -> LegacyBackend { + LegacyBackend { + storage_page_size: self.storage_page_size, + methods: LegacyRpcMethods::new(client.into()), + } + } +} + /// The legacy backend. #[derive(Debug, Clone)] pub struct LegacyBackend { + storage_page_size: u32, methods: LegacyRpcMethods, } impl LegacyBackend { - /// Instantiate a new backend which uses the legacy API methods. - pub fn new(client: RpcClient) -> Self { - Self { - methods: LegacyRpcMethods::new(client), - } + /// Configure and construct an [`LegacyBackend`]. + pub fn builder() -> LegacyBackendBuilder { + LegacyBackendBuilder::new() } } @@ -74,6 +112,7 @@ impl Backend for LegacyBackend { let keys = StorageFetchDescendantKeysStream { at, key, + storage_page_size: self.storage_page_size, methods: self.methods.clone(), done: Default::default(), keys_fut: Default::default(), @@ -104,6 +143,7 @@ impl Backend for LegacyBackend { let keys_stream = StorageFetchDescendantKeysStream { at, key, + storage_page_size: self.storage_page_size, methods: self.methods.clone(), done: Default::default(), keys_fut: Default::default(), @@ -141,20 +181,16 @@ impl Backend for LegacyBackend { async fn current_runtime_version(&self) -> Result { let details = self.methods.state_get_runtime_version(None).await?; - Ok(RuntimeVersion { - spec_version: details.spec_version, - transaction_version: details.transaction_version, - }) + Ok(RuntimeVersion::new( + details.spec_version, + details.transaction_version, + )) } async fn stream_runtime_version(&self) -> Result, Error> { let sub = self.methods.state_subscribe_runtime_version().await?; - let sub = sub.map(|r| { - r.map(|v| RuntimeVersion { - spec_version: v.spec_version, - transaction_version: v.transaction_version, - }) - }); + let sub = + sub.map(|r| r.map(|v| RuntimeVersion::new(v.spec_version, v.transaction_version))); Ok(StreamOf(Box::pin(sub))) } @@ -332,9 +368,6 @@ where }) } -/// How many keys/values to fetch at once. -const STORAGE_PAGE_SIZE: u32 = 32; - /// This provides a stream of values given some prefix `key`. It /// internally manages pagination and such. #[allow(clippy::type_complexity)] @@ -342,6 +375,8 @@ pub struct StorageFetchDescendantKeysStream { methods: LegacyRpcMethods, key: Vec, at: T::Hash, + // How many entries to ask for each time. + storage_page_size: u32, // What key do we start paginating from? None = from the beginning. pagination_start_key: Option>, // Keys, future and cached: @@ -392,12 +427,13 @@ impl Stream for StorageFetchDescendantKeysStream { let methods = this.methods.clone(); let key = this.key.clone(); let at = this.at; + let storage_page_size = this.storage_page_size; let pagination_start_key = this.pagination_start_key.take(); let keys_fut = async move { methods .state_get_keys_paged( &key, - STORAGE_PAGE_SIZE, + storage_page_size, pagination_start_key.as_deref(), Some(at), ) diff --git a/subxt/src/backend/legacy/rpc_methods.rs b/subxt/src/backend/legacy/rpc_methods.rs index 4dde85ee98..8ba1db2f7f 100644 --- a/subxt/src/backend/legacy/rpc_methods.rs +++ b/subxt/src/backend/legacy/rpc_methods.rs @@ -8,15 +8,14 @@ use crate::backend::rpc::{rpc_params, RpcClient, RpcSubscription}; use crate::metadata::Metadata; use crate::{Config, Error}; use codec::Decode; -use derivative::Derivative; +use derive_where::derive_where; use primitive_types::U256; use serde::{Deserialize, Serialize}; /// An interface to call the legacy RPC methods. This interface is instantiated with /// some `T: Config` trait which determines some of the types that the RPC methods will /// take or hand back. -#[derive(Derivative)] -#[derivative(Clone(bound = ""), Debug(bound = ""))] +#[derive_where(Clone, Debug)] pub struct LegacyRpcMethods { client: RpcClient, _marker: std::marker::PhantomData, @@ -36,7 +35,7 @@ impl LegacyRpcMethods { &self, key: &[u8], hash: Option, - ) -> Result, Error> { + ) -> Result, Error> { let params = rpc_params![to_hex(key), hash]; let data: Option = self.client.request("state_getStorage", params).await?; Ok(data.map(|b| b.0)) @@ -51,7 +50,7 @@ impl LegacyRpcMethods { count: u32, start_key: Option<&[u8]>, at: Option, - ) -> Result, Error> { + ) -> Result, Error> { let start_key = start_key.map(to_hex); let params = rpc_params![to_hex(key), count, start_key, at]; let data: Vec = self.client.request("state_getKeysPaged", params).await?; @@ -535,6 +534,13 @@ impl DryRunResultBytes { // dryRun returns an ApplyExtrinsicResult, which is basically a // `Result, TransactionValidityError>`. let bytes = self.0; + + // We expect at least 2 bytes. In case we got a naff response back (or + // manually constructed this struct), just error to avoid a panic: + if bytes.len() < 2 { + return Err(crate::Error::Unknown(bytes)); + } + if bytes[0] == 0 && bytes[1] == 0 { // Ok(Ok(())); transaction is valid and executed ok Ok(DryRunResult::Success) diff --git a/subxt/src/backend/mod.rs b/subxt/src/backend/mod.rs index 3db06818b3..1dcac2d35c 100644 --- a/subxt/src/backend/mod.rs +++ b/subxt/src/backend/mod.rs @@ -10,6 +10,8 @@ pub mod legacy; pub mod rpc; pub mod unstable; +use subxt_core::client::RuntimeVersion; + use crate::error::Error; use crate::metadata::Metadata; use crate::Config; @@ -184,6 +186,7 @@ impl PartialEq for BlockRef { } impl Eq for BlockRef {} +// Manual implementation to work around https://github.com/mcarton/rust-derivative/issues/115. impl PartialOrd for BlockRef { fn partial_cmp(&self, other: &Self) -> Option { self.hash.partial_cmp(&other.hash) @@ -276,26 +279,6 @@ impl StreamOf { /// A stream of [`Result`]. pub type StreamOfResults = StreamOf>; -/// Runtime version information needed to submit transactions. -#[derive(Debug, Clone, PartialEq, Eq)] -pub struct RuntimeVersion { - /// Version of the runtime specification. A full-node will not attempt to use its native - /// runtime in substitute for the on-chain Wasm runtime unless all of `spec_name`, - /// `spec_version` and `authoring_version` are the same between Wasm and native. - pub spec_version: u32, - - /// All existing dispatches are fully compatible when this number doesn't change. If this - /// number changes, then `spec_version` must change, also. - /// - /// This number must change when an existing dispatchable (module ID, dispatch ID) is changed, - /// either through an alteration in its user-level semantics, a parameter - /// added/removed/changed, a dispatchable being removed, a module being removed, or a - /// dispatchable/module changing its index. - /// - /// It need *not* change when a new module is added or when a dispatchable is added. - pub transaction_version: u32, -} - /// The status of the transaction. /// /// If the status is [`TransactionStatus::InFinalizedBlock`], [`TransactionStatus::Error`], diff --git a/subxt/src/backend/rpc/lightclient_impl.rs b/subxt/src/backend/rpc/lightclient_impl.rs new file mode 100644 index 0000000000..f4e0deec6a --- /dev/null +++ b/subxt/src/backend/rpc/lightclient_impl.rs @@ -0,0 +1,53 @@ +// Copyright 2019-2023 Parity Technologies (UK) Ltd. +// This file is dual-licensed as Apache-2.0 or GPL-3.0. +// see LICENSE for license details. + +use super::{RawRpcFuture, RawRpcSubscription, RpcClientT}; +use crate::error::RpcError; +use futures::stream::{StreamExt, TryStreamExt}; +use serde_json::value::RawValue; +use subxt_lightclient::{LightClientRpc, LightClientRpcError}; + +impl RpcClientT for LightClientRpc { + fn request_raw<'a>( + &'a self, + method: &'a str, + params: Option>, + ) -> RawRpcFuture<'a, Box> { + Box::pin(async move { + let res = self.request(method.to_owned(), params) + .await + .map_err(lc_err_to_rpc_err)?; + + Ok(res) + }) + } + + fn subscribe_raw<'a>( + &'a self, + sub: &'a str, + params: Option>, + unsub: &'a str, + ) -> RawRpcFuture<'a, RawRpcSubscription> { + Box::pin(async move { + let sub = self.subscribe(sub.to_owned(), params, unsub.to_owned()) + .await + .map_err(lc_err_to_rpc_err)?; + + let id = Some(sub.id().to_owned()); + let stream = sub + .map_err(|e| RpcError::ClientError(Box::new(e))) + .boxed(); + + Ok(RawRpcSubscription { id, stream }) + }) + } +} + +fn lc_err_to_rpc_err(err: LightClientRpcError) -> RpcError { + match err { + LightClientRpcError::JsonRpcError(e) => RpcError::ClientError(Box::new(e)), + LightClientRpcError::SmoldotError(e) => RpcError::RequestRejected(e), + LightClientRpcError::BackgroundTaskDropped => RpcError::SubscriptionDropped, + } +} \ No newline at end of file diff --git a/subxt/src/backend/rpc/mod.rs b/subxt/src/backend/rpc/mod.rs index 12910939e7..453fcf5a7f 100644 --- a/subxt/src/backend/rpc/mod.rs +++ b/subxt/src/backend/rpc/mod.rs @@ -60,9 +60,17 @@ crate::macros::cfg_jsonrpsee! { mod jsonrpsee_impl; } +crate::macros::cfg_unstable_light_client! { + mod lightclient_impl; +} + +crate::macros::cfg_reconnecting_rpc_client! { + mod reconnecting_jsonrpsee_impl; + pub use reconnecting_jsonrpsee_ws_client as reconnecting_rpc_client; +} + mod rpc_client; mod rpc_client_t; -pub use rpc_client_t::{RawRpcFuture, RawRpcSubscription, RawValue, RpcClientT}; - pub use rpc_client::{rpc_params, RpcClient, RpcParams, RpcSubscription}; +pub use rpc_client_t::{RawRpcFuture, RawRpcSubscription, RawValue, RpcClientT}; diff --git a/subxt/src/backend/rpc/reconnecting_jsonrpsee_impl.rs b/subxt/src/backend/rpc/reconnecting_jsonrpsee_impl.rs new file mode 100644 index 0000000000..da37b267e0 --- /dev/null +++ b/subxt/src/backend/rpc/reconnecting_jsonrpsee_impl.rs @@ -0,0 +1,52 @@ +// Copyright 2019-2023 Parity Technologies (UK) Ltd. +// This file is dual-licensed as Apache-2.0 or GPL-3.0. +// see LICENSE for license details. + +use super::{RawRpcFuture, RawRpcSubscription, RpcClientT}; +use crate::error::RpcError; +use futures::{FutureExt, StreamExt, TryStreamExt}; +use reconnecting_jsonrpsee_ws_client::SubscriptionId; +use serde_json::value::RawValue; + +impl RpcClientT for reconnecting_jsonrpsee_ws_client::Client { + fn request_raw<'a>( + &'a self, + method: &'a str, + params: Option>, + ) -> RawRpcFuture<'a, Box> { + async { + self.request_raw(method.to_string(), params) + .await + .map_err(|e| RpcError::ClientError(Box::new(e))) + } + .boxed() + } + + fn subscribe_raw<'a>( + &'a self, + sub: &'a str, + params: Option>, + unsub: &'a str, + ) -> RawRpcFuture<'a, RawRpcSubscription> { + async { + let sub = self + .subscribe_raw(sub.to_string(), params, unsub.to_string()) + .await + .map_err(|e| RpcError::ClientError(Box::new(e)))?; + + let id = match sub.id() { + SubscriptionId::Num(n) => n.to_string(), + SubscriptionId::Str(s) => s.to_string(), + }; + let stream = sub + .map_err(|e| RpcError::DisconnectedWillReconnect(e.to_string())) + .boxed(); + + Ok(RawRpcSubscription { + stream, + id: Some(id), + }) + } + .boxed() + } +} diff --git a/subxt/src/backend/rpc/rpc_client.rs b/subxt/src/backend/rpc/rpc_client.rs index d960c010db..16dba9e6fb 100644 --- a/subxt/src/backend/rpc/rpc_client.rs +++ b/subxt/src/backend/rpc/rpc_client.rs @@ -79,6 +79,12 @@ impl RpcClient { } } +impl From for RpcClient { + fn from(client: C) -> Self { + RpcClient::new(client) + } +} + impl std::fmt::Debug for RpcClient { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { f.debug_tuple("RpcClient").finish() diff --git a/subxt/src/backend/unstable/follow_stream.rs b/subxt/src/backend/unstable/follow_stream.rs index 9474f7a302..71af824831 100644 --- a/subxt/src/backend/unstable/follow_stream.rs +++ b/subxt/src/backend/unstable/follow_stream.rs @@ -243,7 +243,7 @@ pub(super) mod test_utils { /// An initialized event pub fn ev_initialized(n: u64) -> FollowEvent { FollowEvent::Initialized(Initialized { - finalized_block_hash: H256::from_low_u64_le(n), + finalized_block_hashes: vec![H256::from_low_u64_le(n)], finalized_block_runtime: None, }) } diff --git a/subxt/src/backend/unstable/follow_stream_driver.rs b/subxt/src/backend/unstable/follow_stream_driver.rs index d32c98a104..e85336c314 100644 --- a/subxt/src/backend/unstable/follow_stream_driver.rs +++ b/subxt/src/backend/unstable/follow_stream_driver.rs @@ -267,9 +267,9 @@ impl Shared { shared.seen_runtime_events.clear(); - if let Some(finalized) = finalized_ev.finalized_block_hashes.last() { - init_message.finalized_block_hash = finalized.clone(); - } + init_message.finalized_block_hashes = + finalized_ev.finalized_block_hashes.clone(); + if let Some(runtime_ev) = newest_runtime { init_message.finalized_block_runtime = Some(runtime_ev); } diff --git a/subxt/src/backend/unstable/follow_stream_unpin.rs b/subxt/src/backend/unstable/follow_stream_unpin.rs index ca00e37690..c128a86cf3 100644 --- a/subxt/src/backend/unstable/follow_stream_unpin.rs +++ b/subxt/src/backend/unstable/follow_stream_unpin.rs @@ -10,6 +10,7 @@ use crate::backend::unstable::rpc_methods::{ use crate::config::{BlockHash, Config}; use crate::error::Error; use futures::stream::{FuturesUnordered, Stream, StreamExt}; + use std::collections::{HashMap, HashSet}; use std::future::Future; use std::pin::Pin; @@ -34,9 +35,11 @@ pub struct FollowStreamUnpin { // Futures for sending unpin events that we'll poll to completion as // part of polling the stream as a whole. unpin_futs: FuturesUnordered, - // Each new finalized block increments this. Allows us to track - // the age of blocks so that we can unpin old ones. - rel_block_num: usize, + // Each time a new finalized block is seen, we give it an age of `next_rel_block_age`, + // and then increment this ready for the next finalized block. So, the first finalized + // block will have an age of 0, the next 1, 2, 3 and so on. We can then use `max_block_life` + // to say "unpin all blocks with an age < (next_rel_block_age-1) - max_block_life". + next_rel_block_age: usize, // The latest ID of the FollowStream subscription, which we can use // to unpin blocks. subscription_id: Option>, @@ -113,15 +116,23 @@ impl Stream for FollowStreamUnpin { FollowStreamMsg::Ready(subscription_id) } FollowStreamMsg::Event(FollowEvent::Initialized(details)) => { - // The first finalized block gets the starting block_num. - let rel_block_num = this.rel_block_num; - // Pin this block, but note that it can be unpinned any time since it won't show up again (except - // as a parent block, which we are ignoring at the moment). - let block_ref = - this.pin_unpinnable_block_at(rel_block_num, details.finalized_block_hash); + let mut finalized_block_hashes = + Vec::with_capacity(details.finalized_block_hashes.len()); + + // Pin each of the finalized blocks. None of them will show up again (except as a + // parent block), and so they can all be unpinned immediately at any time. Increment + // the block age for each one, so that older finalized blocks are pruned first. + for finalized_block in &details.finalized_block_hashes { + let rel_block_age = this.next_rel_block_age; + let block_ref = + this.pin_unpinnable_block_at(rel_block_age, *finalized_block); + + finalized_block_hashes.push(block_ref); + this.next_rel_block_age += 1; + } FollowStreamMsg::Event(FollowEvent::Initialized(Initialized { - finalized_block_hash: block_ref, + finalized_block_hashes, finalized_block_runtime: details.finalized_block_runtime, })) } @@ -129,15 +140,15 @@ impl Stream for FollowStreamUnpin { // One bigger than our parent, and if no parent seen (maybe it was // unpinned already), then one bigger than the last finalized block num // as a best guess. - let parent_rel_block_num = this + let parent_rel_block_age = this .pinned .get(&details.parent_block_hash) - .map(|p| p.rel_block_num) - .unwrap_or(this.rel_block_num); + .map(|p| p.rel_block_age) + .unwrap_or(this.next_rel_block_age.saturating_sub(1)); - let block_ref = this.pin_block_at(parent_rel_block_num + 1, details.block_hash); + let block_ref = this.pin_block_at(parent_rel_block_age + 1, details.block_hash); let parent_block_ref = - this.pin_block_at(parent_rel_block_num, details.parent_block_hash); + this.pin_block_at(parent_rel_block_age, details.parent_block_hash); FollowStreamMsg::Event(FollowEvent::NewBlock(NewBlock { block_hash: block_ref, @@ -148,8 +159,8 @@ impl Stream for FollowStreamUnpin { FollowStreamMsg::Event(FollowEvent::BestBlockChanged(details)) => { // We expect this block to already exist, so it'll keep its existing block_num, // but worst case it'll just get the current finalized block_num + 1. - let rel_block_num = this.rel_block_num + 1; - let block_ref = this.pin_block_at(rel_block_num, details.best_block_hash); + let rel_block_age = this.next_rel_block_age; + let block_ref = this.pin_block_at(rel_block_age, details.best_block_hash); FollowStreamMsg::Event(FollowEvent::BestBlockChanged(BestBlockChanged { best_block_hash: block_ref, @@ -167,14 +178,14 @@ impl Stream for FollowStreamUnpin { // // `pin_unpinnable_block_at` indicates that the block will not show up in future events // (They will show up as a parent block, but we don't care about that right now). - let rel_block_num = this.rel_block_num + idx + 1; - this.pin_unpinnable_block_at(rel_block_num, hash) + let rel_block_age = this.next_rel_block_age + idx; + this.pin_unpinnable_block_at(rel_block_age, hash) }) .collect(); // Our relative block height is increased by however many finalized // blocks we've seen. - this.rel_block_num += finalized_block_refs.len(); + this.next_rel_block_age += finalized_block_refs.len(); let pruned_block_refs: Vec<_> = details .pruned_block_hashes @@ -183,8 +194,8 @@ impl Stream for FollowStreamUnpin { // We should know about these, too, and if not we set their age to last_finalized + 1. // // `pin_unpinnable_block_at` indicates that the block will not show up in future events. - let rel_block_num = this.rel_block_num + 1; - this.pin_unpinnable_block_at(rel_block_num, hash) + let rel_block_age = this.next_rel_block_age; + this.pin_unpinnable_block_at(rel_block_age, hash) }) .collect(); @@ -208,7 +219,7 @@ impl Stream for FollowStreamUnpin { this.pinned.clear(); this.unpin_futs.clear(); this.unpin_flags.lock().unwrap().clear(); - this.rel_block_num = 0; + this.next_rel_block_age = 0; FollowStreamMsg::Event(FollowEvent::Stop) } @@ -255,7 +266,7 @@ impl FollowStreamUnpin { max_block_life, pinned: Default::default(), subscription_id: None, - rel_block_num: 0, + next_rel_block_age: 0, unpin_flags: Default::default(), unpin_futs: Default::default(), } @@ -287,21 +298,21 @@ impl FollowStreamUnpin { /// Pin a block, or return the reference to an already-pinned block. If the block has been registered to /// be unpinned, we'll clear those flags, so that it won't be unpinned. If the unpin request has already /// been sent though, then the block will be unpinned. - fn pin_block_at(&mut self, rel_block_num: usize, hash: Hash) -> BlockRef { - self.pin_block_at_setting_unpinnable_flag(rel_block_num, hash, false) + fn pin_block_at(&mut self, rel_block_age: usize, hash: Hash) -> BlockRef { + self.pin_block_at_setting_unpinnable_flag(rel_block_age, hash, false) } /// Pin a block, or return the reference to an already-pinned block. /// /// This is the same as [`Self::pin_block_at`], except that it also marks the block as being unpinnable now, /// which should be done for any block that will no longer be seen in future events. - fn pin_unpinnable_block_at(&mut self, rel_block_num: usize, hash: Hash) -> BlockRef { - self.pin_block_at_setting_unpinnable_flag(rel_block_num, hash, true) + fn pin_unpinnable_block_at(&mut self, rel_block_age: usize, hash: Hash) -> BlockRef { + self.pin_block_at_setting_unpinnable_flag(rel_block_age, hash, true) } fn pin_block_at_setting_unpinnable_flag( &mut self, - rel_block_num: usize, + rel_block_age: usize, hash: Hash, can_be_unpinned: bool, ) -> BlockRef { @@ -317,7 +328,7 @@ impl FollowStreamUnpin { }) // If there's not an entry already, make one and return it. .or_insert_with(|| PinnedDetails { - rel_block_num, + rel_block_age, block_ref: BlockRef { inner: Arc::new(BlockRefInner { hash, @@ -333,7 +344,9 @@ impl FollowStreamUnpin { /// Unpin any blocks that are either too old, or have the unpin flag set and are old enough. fn unpin_blocks(&mut self, waker: &Waker) { let mut unpin_flags = self.unpin_flags.lock().unwrap(); - let rel_block_num = self.rel_block_num; + + // This gets the age of the last finalized block. + let rel_block_age = self.next_rel_block_age.saturating_sub(1); // If we asked to unpin and there was no subscription_id, then there's nothing we can do, // and nothing will need unpinning now anyway. @@ -343,7 +356,7 @@ impl FollowStreamUnpin { let mut blocks_to_unpin = vec![]; for (hash, details) in &self.pinned { - if rel_block_num.saturating_sub(details.rel_block_num) >= self.max_block_life + if rel_block_age.saturating_sub(details.rel_block_age) >= self.max_block_life || (unpin_flags.contains(hash) && details.can_be_unpinned) { // The block is too old, or it's been flagged to be unpinned and won't be in a future @@ -381,8 +394,10 @@ type UnpinFlags = Arc>>; #[derive(Debug)] struct PinnedDetails { - /// How old is the block? - rel_block_num: usize, + /// Realtively speaking, how old is the block? When we start following + /// blocks, the first finalized block gets an age of 0, the second an age + /// of 1 and so on. + rel_block_age: usize, /// A block ref we can hand out to keep blocks pinned. /// Because we store one here until it's unpinned, the live count /// will only drop to 1 when no external refs are left. @@ -502,7 +517,7 @@ pub(super) mod test_utils { /// An initialized event containing a BlockRef (useful for comparisons) pub fn ev_initialized_ref(n: u64) -> FollowEvent> { FollowEvent::Initialized(Initialized { - finalized_block_hash: BlockRef::new(H256::from_low_u64_le(n)), + finalized_block_hashes: vec![BlockRef::new(H256::from_low_u64_le(n))], finalized_block_runtime: None, }) } diff --git a/subxt/src/backend/unstable/mod.rs b/subxt/src/backend/unstable/mod.rs index 82a2d50d48..d126b8343b 100644 --- a/subxt/src/backend/unstable/mod.rs +++ b/subxt/src/backend/unstable/mod.rs @@ -75,9 +75,12 @@ impl UnstableBackendBuilder { /// Given an [`RpcClient`] to use to make requests, this returns a tuple of an [`UnstableBackend`], /// which implements the [`Backend`] trait, and an [`UnstableBackendDriver`] which must be polled in /// order for the backend to make progress. - pub fn build(self, client: RpcClient) -> (UnstableBackend, UnstableBackendDriver) { + pub fn build( + self, + client: impl Into, + ) -> (UnstableBackend, UnstableBackendDriver) { // Construct the underlying follow_stream layers: - let rpc_methods = UnstableRpcMethods::new(client); + let rpc_methods = UnstableRpcMethods::new(client.into()); let follow_stream = follow_stream::FollowStream::::from_methods(rpc_methods.clone()); let follow_stream_unpin = follow_stream_unpin::FollowStreamUnpin::::from_methods( @@ -321,7 +324,9 @@ impl Backend for UnstableBackend { .events() .filter_map(|ev| { let out = match ev { - FollowEvent::Initialized(init) => Some(init.finalized_block_hash.into()), + FollowEvent::Initialized(init) => { + init.finalized_block_hashes.last().map(|b| b.clone().into()) + } _ => None, }; std::future::ready(out) @@ -353,7 +358,9 @@ impl Backend for UnstableBackend { .filter_map(move |ev| { let output = match ev { FollowEvent::Initialized(ev) => { - runtimes.remove(&ev.finalized_block_hash.hash()); + for finalized_block in ev.finalized_block_hashes { + runtimes.remove(&finalized_block.hash()); + } ev.finalized_block_runtime } FollowEvent::NewBlock(ev) => { @@ -409,10 +416,8 @@ impl Backend for UnstableBackend { RuntimeEvent::Valid(ev) => ev, }; - std::future::ready(Some(Ok(RuntimeVersion { - spec_version: runtime_details.spec.spec_version, - transaction_version: runtime_details.spec.transaction_version, - }))) + let runtime_version = RuntimeVersion::new(runtime_details.spec.spec_version, runtime_details.spec.transaction_version); + std::future::ready(Some(Ok(runtime_version))) }); Ok(StreamOf(Box::pin(runtime_stream))) @@ -422,9 +427,11 @@ impl Backend for UnstableBackend { &self, ) -> Result)>, Error> { self.stream_headers(|ev| match ev { - FollowEvent::Initialized(ev) => Some(ev.finalized_block_hash), - FollowEvent::NewBlock(ev) => Some(ev.block_hash), - _ => None, + FollowEvent::Initialized(init) => init.finalized_block_hashes, + FollowEvent::NewBlock(ev) => { + vec![ev.block_hash] + } + _ => vec![], }) .await } @@ -433,9 +440,9 @@ impl Backend for UnstableBackend { &self, ) -> Result)>, Error> { self.stream_headers(|ev| match ev { - FollowEvent::Initialized(ev) => Some(ev.finalized_block_hash), - FollowEvent::BestBlockChanged(ev) => Some(ev.best_block_hash), - _ => None, + FollowEvent::Initialized(init) => init.finalized_block_hashes, + FollowEvent::BestBlockChanged(ev) => vec![ev.best_block_hash], + _ => vec![], }) .await } @@ -444,9 +451,7 @@ impl Backend for UnstableBackend { &self, ) -> Result)>, Error> { self.stream_headers(|ev| match ev { - FollowEvent::Initialized(ev) => { - vec![ev.finalized_block_hash] - } + FollowEvent::Initialized(init) => init.finalized_block_hashes, FollowEvent::Finalized(ev) => ev.finalized_block_hashes, _ => vec![], }) @@ -610,7 +615,7 @@ impl Backend for UnstableBackend { TransactionStatus::Dropped { message: error } } rpc_methods::TransactionStatus::Error { error } => { - TransactionStatus::Dropped { message: error } + TransactionStatus::Error { message: error } } rpc_methods::TransactionStatus::Invalid { error } => { TransactionStatus::Invalid { message: error } diff --git a/subxt/src/backend/unstable/rpc_methods.rs b/subxt/src/backend/unstable/rpc_methods.rs index c51e5020cb..9c1307a326 100644 --- a/subxt/src/backend/unstable/rpc_methods.rs +++ b/subxt/src/backend/unstable/rpc_methods.rs @@ -9,7 +9,7 @@ use crate::backend::rpc::{rpc_params, RpcClient, RpcSubscription}; use crate::config::BlockHash; use crate::{Config, Error}; -use derivative::Derivative; +use derive_where::derive_where; use futures::{Stream, StreamExt}; use serde::{Deserialize, Serialize}; use std::collections::{HashMap, VecDeque}; @@ -18,8 +18,7 @@ use std::task::Poll; /// An interface to call the unstable RPC methods. This interface is instantiated with /// some `T: Config` trait which determines some of the types that the RPC methods will /// take or hand back. -#[derive(Derivative)] -#[derivative(Clone(bound = ""), Debug(bound = ""))] +#[derive_where(Clone, Debug)] pub struct UnstableRpcMethods { client: RpcClient, _marker: std::marker::PhantomData, @@ -288,6 +287,28 @@ impl UnstableRpcMethods { Ok(TransactionSubscription { sub, done: false }) } + + /// Broadcast the transaction on the p2p network until the + /// [`Self::transaction_unstable_stop`] is called. + /// + /// Returns an operation ID that can be used to stop the broadcasting process. + /// Returns `None` if the server cannot handle the request at the moment. + pub async fn transaction_unstable_broadcast(&self, tx: &[u8]) -> Result, Error> { + self.client + .request("transaction_unstable_broadcast", rpc_params![to_hex(tx)]) + .await + } + + /// Stop the broadcasting process of the transaction. + /// + /// The operation ID is obtained from the [`Self::transaction_unstable_broadcast`] method. + /// + /// Returns an error if the operation ID does not correspond to any active transaction for this connection. + pub async fn transaction_unstable_stop(&self, operation_id: &str) -> Result<(), Error> { + self.client + .request("transaction_unstable_stop", rpc_params![operation_id]) + .await + } } /// This represents events generated by the `follow` method. @@ -359,8 +380,8 @@ pub enum FollowEvent { #[derive(Debug, Clone, PartialEq, Eq, Deserialize)] #[serde(rename_all = "camelCase")] pub struct Initialized { - /// The hash of the latest finalized block. - pub finalized_block_hash: Hash, + /// The hashes of the last finalized blocks. + pub finalized_block_hashes: Vec, /// The runtime version of the finalized block. /// /// # Note diff --git a/subxt/src/backend/unstable/storage_items.rs b/subxt/src/backend/unstable/storage_items.rs index 73790765ea..20464236cd 100644 --- a/subxt/src/backend/unstable/storage_items.rs +++ b/subxt/src/backend/unstable/storage_items.rs @@ -150,6 +150,11 @@ impl Stream for StorageItems { self.buffered_responses = items.items; continue; } + FollowEvent::OperationError(err) if err.operation_id == *self.operation_id => { + // Something went wrong obtaining storage items; mark as done and return the error. + self.done = true; + return Poll::Ready(Some(Err(Error::Other(err.error)))); + } _ => { // We don't care about this event; wait for the next. continue; diff --git a/subxt/src/blocks/blocks_client.rs b/subxt/src/blocks/blocks_client.rs index 9ec031a35a..0d8e589a94 100644 --- a/subxt/src/blocks/blocks_client.rs +++ b/subxt/src/blocks/blocks_client.rs @@ -10,7 +10,7 @@ use crate::{ error::{BlockError, Error}, utils::PhantomDataSendSync, }; -use derivative::Derivative; +use derive_where::derive_where; use futures::StreamExt; use std::future::Future; @@ -18,8 +18,7 @@ type BlockStream = StreamOfResults; type BlockStreamRes = Result, Error>; /// A client for working with blocks. -#[derive(Derivative)] -#[derivative(Clone(bound = "Client: Clone"))] +#[derive_where(Clone; Client)] pub struct BlocksClient { client: Client, _marker: PhantomDataSendSync, diff --git a/subxt/src/blocks/extrinsic_types.rs b/subxt/src/blocks/extrinsic_types.rs index 333ee5bfe8..4ebd7a0166 100644 --- a/subxt/src/blocks/extrinsic_types.rs +++ b/subxt/src/blocks/extrinsic_types.rs @@ -16,31 +16,14 @@ use crate::config::signed_extensions::{ ChargeAssetTxPayment, ChargeTransactionPayment, CheckNonce, }; use crate::config::SignedExtension; -use crate::dynamic::DecodedValue; +use crate::dynamic::Value; use crate::utils::strip_compact_prefix; use codec::Decode; -use derivative::Derivative; -use scale_decode::{DecodeAsFields, DecodeAsType}; +use derive_where::derive_where; +use scale_decode::DecodeAsType; use std::sync::Arc; - -/// Trait to uniquely identify the extrinsic's identity from the runtime metadata. -/// -/// Generated API structures that represent an extrinsic implement this trait. -/// -/// The trait is utilized to decode emitted extrinsics from a block, via obtaining the -/// form of the `Extrinsic` from the metadata. -pub trait StaticExtrinsic: DecodeAsFields { - /// Pallet name. - const PALLET: &'static str; - /// Call name. - const CALL: &'static str; - - /// Returns true if the given pallet and call names match this extrinsic. - fn is_extrinsic(pallet: &str, call: &str) -> bool { - Self::PALLET == pallet && Self::CALL == call - } -} +pub use subxt_core::blocks::StaticExtrinsic; /// The body of a block. pub struct Extrinsics { @@ -245,27 +228,27 @@ where // Skip over the address, signature and extra fields. scale_decode::visitor::decode_with_visitor( cursor, - ids.address, + &ids.address, metadata.types(), - scale_decode::visitor::IgnoreVisitor, + scale_decode::visitor::IgnoreVisitor::new(), ) .map_err(scale_decode::Error::from)?; let address_end_idx = bytes.len() - cursor.len(); scale_decode::visitor::decode_with_visitor( cursor, - ids.signature, + &ids.signature, metadata.types(), - scale_decode::visitor::IgnoreVisitor, + scale_decode::visitor::IgnoreVisitor::new(), ) .map_err(scale_decode::Error::from)?; let signature_end_idx = bytes.len() - cursor.len(); scale_decode::visitor::decode_with_visitor( cursor, - ids.extra, + &ids.extra, metadata.types(), - scale_decode::visitor::IgnoreVisitor, + scale_decode::visitor::IgnoreVisitor::new(), ) .map_err(scale_decode::Error::from)?; let extra_end_idx = bytes.len() - cursor.len(); @@ -420,9 +403,7 @@ where /// Decode and provide the extrinsic fields back in the form of a [`scale_value::Composite`] /// type which represents the named or unnamed fields that were present in the extrinsic. - pub fn field_values( - &self, - ) -> Result, Error> { + pub fn field_values(&self) -> Result, Error> { let bytes = &mut self.field_bytes(); let extrinsic_metadata = self.extrinsic_metadata()?; @@ -430,12 +411,9 @@ where .variant .fields .iter() - .map(|f| scale_decode::Field::new(f.ty.id, f.name.as_deref())); - let decoded = >::decode_as_fields( - bytes, - &mut fields, - self.metadata.types(), - )?; + .map(|f| scale_decode::Field::new(&f.ty.id, f.name.as_deref())); + let decoded = + scale_value::scale::decode_as_fields(bytes, &mut fields, self.metadata.types())?; Ok(decoded) } @@ -451,7 +429,7 @@ where .variant .fields .iter() - .map(|f| scale_decode::Field::new(f.ty.id, f.name.as_deref())); + .map(|f| scale_decode::Field::new(&f.ty.id, f.name.as_deref())); let decoded = E::decode_as_fields(&mut self.field_bytes(), &mut fields, self.metadata.types())?; Ok(Some(decoded)) @@ -466,7 +444,7 @@ where pub fn as_root_extrinsic(&self) -> Result { let decoded = E::decode_as_type( &mut &self.call_bytes()[..], - self.metadata.outer_enums().call_enum_ty(), + &self.metadata.outer_enums().call_enum_ty(), self.metadata.types(), )?; @@ -529,8 +507,7 @@ impl ExtrinsicPartTypeIds { } /// The events associated with a given extrinsic. -#[derive(Derivative)] -#[derivative(Debug(bound = ""))] +#[derive_where(Debug)] pub struct ExtrinsicEvents { // The hash of the extrinsic (handy to expose here because // this type is returned from TxProgress things in the most @@ -552,11 +529,6 @@ impl ExtrinsicEvents { } } - /// Return the hash of the block that the extrinsic is in. - pub fn block_hash(&self) -> T::Hash { - self.events.block_hash() - } - /// The index of the extrinsic that these events are produced from. pub fn extrinsic_index(&self) -> u32 { self.idx @@ -577,11 +549,14 @@ impl ExtrinsicEvents { /// This works in the same way that [`events::Events::iter()`] does, with the /// exception that it filters out events not related to the submitted extrinsic. pub fn iter(&self) -> impl Iterator, Error>> + '_ { - self.events.iter().filter(|ev| { - ev.as_ref() - .map(|ev| ev.phase() == events::Phase::ApplyExtrinsic(self.idx)) - .unwrap_or(true) // Keep any errors. - }) + self.events + .iter() + .filter(|ev| { + ev.as_ref() + .map(|ev| ev.phase() == events::Phase::ApplyExtrinsic(self.idx)) + .unwrap_or(true) // Keep any errors. + }) + .map(|e| e.map_err(Error::from)) } /// Find all of the transaction events matching the event type provided as a generic parameter. @@ -651,9 +626,9 @@ impl<'a, T: Config> ExtrinsicSignedExtensions<'a, T> { let cursor = &mut &bytes[byte_start_idx..]; if let Err(err) = scale_decode::visitor::decode_with_visitor( cursor, - ty_id, + &ty_id, metadata.types(), - scale_decode::visitor::IgnoreVisitor, + scale_decode::visitor::IgnoreVisitor::new(), ) .map_err(|e| Error::Decode(e.into())) { @@ -747,8 +722,13 @@ impl<'a, T: Config> ExtrinsicSignedExtension<'a, T> { } /// Signed Extension as a [`scale_value::Value`] - pub fn value(&self) -> Result { - self.as_type() + pub fn value(&self) -> Result, Error> { + let value = scale_value::scale::decode_as_type( + &mut &self.bytes[..], + &self.ty_id, + self.metadata.types(), + )?; + Ok(value) } /// Decodes the bytes of this Signed Extension into its associated `Decoded` type. @@ -762,7 +742,7 @@ impl<'a, T: Config> ExtrinsicSignedExtension<'a, T> { } fn as_type(&self) -> Result { - let value = E::decode_as_type(&mut &self.bytes[..], self.ty_id, self.metadata.types())?; + let value = E::decode_as_type(&mut &self.bytes[..], &self.ty_id, self.metadata.types())?; Ok(value) } } @@ -770,7 +750,7 @@ impl<'a, T: Config> ExtrinsicSignedExtension<'a, T> { #[cfg(test)] mod tests { use super::*; - use crate::{backend::RuntimeVersion, OfflineClient, PolkadotConfig}; + use crate::{OfflineClient, PolkadotConfig}; use assert_matches::assert_matches; use codec::{Decode, Encode}; use frame_metadata::v15::{CustomMetadata, OuterEnums}; @@ -781,6 +761,7 @@ mod tests { use primitive_types::H256; use scale_info::{meta_type, TypeInfo}; use scale_value::Value; + use subxt_core::client::RuntimeVersion; // Extrinsic needs to contain at least the generic type parameter "Call" // for the metadata to be valid. @@ -902,10 +883,7 @@ mod tests { /// Build an offline client to work with the test metadata. fn client(metadata: Metadata) -> OfflineClient { // Create the encoded extrinsic bytes. - let rt_version = RuntimeVersion { - spec_version: 1, - transaction_version: 4, - }; + let rt_version = RuntimeVersion::new(1, 4); let block_hash = H256::random(); OfflineClient::new(block_hash, rt_version, metadata) } diff --git a/subxt/src/book/setup/config.rs b/subxt/src/book/setup/config.rs index 6e6e811a55..a26ee75a94 100644 --- a/subxt/src/book/setup/config.rs +++ b/subxt/src/book/setup/config.rs @@ -71,7 +71,7 @@ //! //! The `ExtrinsicParams` config type expects to be given an implementation of the [`crate::config::ExtrinsicParams`] trait. //! Implementations of the [`crate::config::ExtrinsicParams`] trait are handed some parameters from Subxt itself, and can -//! accept arbitrary `OtherParams` from users, and are then expected to provide this "extra" and "additional" data when asked +//! accept arbitrary other `Params` from users, and are then expected to provide this "extra" and "additional" data when asked //! via the required [`crate::config::ExtrinsicParamsEncoder`] impl. //! //! **In most cases, the default [crate::config::DefaultExtrinsicParams] type will work**: it understands the "standard" diff --git a/subxt/src/book/usage/light_client.rs b/subxt/src/book/usage/light_client.rs index 33dbc6668b..c7b6e53318 100644 --- a/subxt/src/book/usage/light_client.rs +++ b/subxt/src/book/usage/light_client.rs @@ -8,25 +8,33 @@ //! node. This means that you don't have to trust a specific node when interacting with some chain. //! //! This feature is currently unstable. Use the `unstable-light-client` feature flag to enable it. -//! To use this in WASM environments, also enable the `web` feature flag. +//! To use this in WASM environments, enable the `web` feature flag and disable the "native" one. //! //! To connect to a blockchain network, the Light Client requires a trusted sync state of the network, //! known as a _chain spec_. One way to obtain this is by making a `sync_state_genSyncSpec` RPC call to a //! trusted node belonging to the chain that you wish to interact with. //! -//! The following is an example of fetching the chain spec from a local running node on port 9933: +//! Subxt exposes a utility method to obtain the chain spec: [`crate::utils::fetch_chainspec_from_rpc_node()`]. +//! Alternately, you can manually make an RPC call to `sync_state_genSyncSpec` like do (assuming a node running +//! locally on port 9933): //! //! ```bash //! curl -H "Content-Type: application/json" -d '{"id":1, "jsonrpc":"2.0", "method": "sync_state_genSyncSpec", "params":[true]}' http://localhost:9933/ | jq .result > chain_spec.json //! ``` //! -//! Alternately, you can have the `LightClient` download the chain spec from a trusted node when it -//! initializes, which is not recommended in production but is useful for examples and testing, as below. -//! //! ## Examples //! //! ### Basic Example //! +//! This basic example uses some already-known chain specs to connect to a relay chain and parachain +//! and stream information about their finalized blocks: +//! +//! ```rust,ignore +#![doc = include_str!("../../../examples/light_client_basic.rs")] +//! ``` +//! +//! ### Connecting to a local node +//! //! This example connects to a local chain and submits a transaction. To run this, you first need //! to have a local polkadot node running using the following command: //! @@ -34,23 +42,10 @@ //! polkadot --dev --node-key 0000000000000000000000000000000000000000000000000000000000000001 //! ``` //! -//! Leave that running for a minute, and then you can run the example using the following command -//! in the `subxt` crate: -//! -//! ```bash -//! cargo run --example light_client_tx_basic --features=unstable-light-client -//! ``` -//! -//! This is the code that will be executed: +//! Then, the following code will download a chain spec from this local node, alter the bootnodes +//! to point only to the local node, and then submit a transaction through it. //! //! ```rust,ignore -#![doc = include_str!("../../../examples/light_client_tx_basic.rs")] +#![doc = include_str!("../../../examples/light_client_local_node.rs")] //! ``` //! -//! ### Connecting to a parachain -//! -//! This example connects to a parachain using the light client. Currently, it's quite verbose to do this. -//! -//! ```rust,ignore -#![doc = include_str!("../../../examples/light_client_parachains.rs")] -//! ``` diff --git a/subxt/src/book/usage/storage.rs b/subxt/src/book/usage/storage.rs index 6d636c6bc3..f1c9ede5ef 100644 --- a/subxt/src/book/usage/storage.rs +++ b/subxt/src/book/usage/storage.rs @@ -49,7 +49,7 @@ //! // A static query capable of iterating over accounts: //! let storage_query = polkadot::storage().system().account_iter(); //! // A dynamic query to do the same: -//! let storage_query = subxt::dynamic::storage("System", "Account", Vec::::new()); +//! let storage_query = subxt::dynamic::storage("System", "Account", ()); //! ``` //! //! Some storage entries are maps with multiple keys. As an example, we might end up with diff --git a/subxt/src/book/usage/transactions.rs b/subxt/src/book/usage/transactions.rs index 6cbae2fa4c..e900846af2 100644 --- a/subxt/src/book/usage/transactions.rs +++ b/subxt/src/book/usage/transactions.rs @@ -137,11 +137,10 @@ //! Value::from_bytes("Hello there") //! ]); //! -//! // Construct the tx but don't sign it. You need to provide the nonce -//! // here, or can use `create_partial_signed` to fetch the correct nonce. -//! let partial_tx = client.tx().create_partial_signed_with_nonce( +//! // Construct the tx but don't sign it. The account nonce here defaults to 0. +//! // You can use `create_partial_signed` to fetch the correct nonce. +//! let partial_tx = client.tx().create_partial_signed_offline( //! &payload, -//! 0u64, //! Default::default() //! )?; //! diff --git a/subxt/src/client/light_client/rpc.rs b/subxt/src/client/light_client/rpc.rs deleted file mode 100644 index ca4fb2f664..0000000000 --- a/subxt/src/client/light_client/rpc.rs +++ /dev/null @@ -1,163 +0,0 @@ -// Copyright 2019-2023 Parity Technologies (UK) Ltd. -// This file is dual-licensed as Apache-2.0 or GPL-3.0. -// see LICENSE for license details. - -use super::{smoldot, LightClientError}; -use crate::{ - backend::rpc::{RawRpcFuture, RawRpcSubscription, RpcClientT}, - error::{Error, RpcError}, -}; -use futures::StreamExt; -use serde_json::value::RawValue; -use tokio_stream::wrappers::UnboundedReceiverStream; - -pub const LOG_TARGET: &str = "subxt-rpc-light-client"; - -/// The raw light-client RPC implementation that is used to connect with the chain. -#[derive(Clone)] -pub struct RawLightClientRpc(subxt_lightclient::RawLightClientRpc); - -impl RawLightClientRpc { - /// Constructs a new [`RawLightClientRpc`] from a low level [`subxt_lightclient::RawLightClientRpc`]. - pub fn from_inner(client: subxt_lightclient::RawLightClientRpc) -> RawLightClientRpc { - RawLightClientRpc(client) - } - - /// Constructs a new [`LightClientRpc`] that communicates with the provided chain. - pub fn for_chain(&self, chain_id: smoldot::ChainId) -> LightClientRpc { - LightClientRpc(self.0.for_chain(chain_id)) - } -} - -/// The light-client RPC implementation that is used to connect with the chain. -#[derive(Clone)] -pub struct LightClientRpc(subxt_lightclient::LightClientRpc); - -impl LightClientRpc { - /// Constructs a new [`LightClientRpc`], providing the chain specification. - /// - /// The chain specification can be downloaded from a trusted network via - /// the `sync_state_genSyncSpec` RPC method. This parameter expects the - /// chain spec in text format (ie not in hex-encoded scale-encoded as RPC methods - /// will provide). - /// - /// ## Panics - /// - /// The panic behaviour depends on the feature flag being used: - /// - /// ### Native - /// - /// Panics when called outside of a `tokio` runtime context. - /// - /// ### Web - /// - /// If smoldot panics, then the promise created will be leaked. For more details, see - /// https://docs.rs/wasm-bindgen-futures/latest/wasm_bindgen_futures/fn.future_to_promise.html. - pub fn new( - config: smoldot::AddChainConfig<'_, (), impl Iterator>, - ) -> Result { - let rpc = subxt_lightclient::LightClientRpc::new(config) - .map_err(|err| LightClientError::Rpc(err))?; - - Ok(LightClientRpc(rpc)) - } - - /// Returns the chain ID of the current light-client. - pub fn chain_id(&self) -> smoldot::ChainId { - self.0.chain_id() - } -} - -impl RpcClientT for LightClientRpc { - fn request_raw<'a>( - &'a self, - method: &'a str, - params: Option>, - ) -> RawRpcFuture<'a, Box> { - let client = self.clone(); - let chain_id = self.chain_id(); - - Box::pin(async move { - let params = match params { - Some(params) => serde_json::to_string(¶ms).map_err(|_| { - RpcError::ClientError(Box::new(LightClientError::InvalidParams)) - })?, - None => "[]".into(), - }; - - // Fails if the background is closed. - let rx = client - .0 - .method_request(method.to_string(), params) - .map_err(|_| RpcError::ClientError(Box::new(LightClientError::BackgroundClosed)))?; - - // Fails if the background is closed. - let response = rx - .await - .map_err(|_| RpcError::ClientError(Box::new(LightClientError::BackgroundClosed)))?; - - tracing::trace!(target: LOG_TARGET, "RPC response={:?} chain={:?}", response, chain_id); - - response.map_err(|err| RpcError::ClientError(Box::new(err))) - }) - } - - fn subscribe_raw<'a>( - &'a self, - sub: &'a str, - params: Option>, - unsub: &'a str, - ) -> RawRpcFuture<'a, RawRpcSubscription> { - let client = self.clone(); - let chain_id = self.chain_id(); - - Box::pin(async move { - tracing::trace!( - target: LOG_TARGET, - "Subscribe to {:?} with params {:?} chain={:?}", - sub, - params, - chain_id, - ); - - let params = match params { - Some(params) => serde_json::to_string(¶ms).map_err(|_| { - RpcError::ClientError(Box::new(LightClientError::InvalidParams)) - })?, - None => "[]".into(), - }; - - // Fails if the background is closed. - let (sub_id, notif) = client - .0 - .subscription_request(sub.to_string(), params, unsub.to_string()) - .map_err(|_| RpcError::ClientError(Box::new(LightClientError::BackgroundClosed)))?; - - // Fails if the background is closed. - let result = sub_id - .await - .map_err(|_| RpcError::ClientError(Box::new(LightClientError::BackgroundClosed)))? - .map_err(|err| { - RpcError::ClientError(Box::new(LightClientError::Rpc( - subxt_lightclient::LightClientRpcError::Request(err.to_string()), - ))) - })?; - - let sub_id = result - .get() - .trim_start_matches('"') - .trim_end_matches('"') - .to_string(); - tracing::trace!(target: LOG_TARGET, "Received subscription={} chain={:?}", sub_id, chain_id); - - let stream = UnboundedReceiverStream::new(notif); - - let rpc_subscription = RawRpcSubscription { - stream: Box::pin(stream.map(Ok)), - id: Some(sub_id), - }; - - Ok(rpc_subscription) - }) - } -} diff --git a/subxt/src/client/mod.rs b/subxt/src/client/mod.rs index c764af4b59..9eddcd961f 100644 --- a/subxt/src/client/mod.rs +++ b/subxt/src/client/mod.rs @@ -11,15 +11,8 @@ mod offline_client; mod online_client; -crate::macros::cfg_unstable_light_client! { - mod light_client; - - pub use light_client::{ - LightClient, LightClientBuilder, LightClientError, RawLightClient, RawLightClientBuilder, - }; -} - pub use offline_client::{OfflineClient, OfflineClientT}; pub use online_client::{ ClientRuntimeUpdater, OnlineClient, OnlineClientT, RuntimeUpdaterStream, Update, UpgradeError, }; +pub use subxt_core::client::{ClientState, RuntimeVersion}; diff --git a/subxt/src/client/offline_client.rs b/subxt/src/client/offline_client.rs index 4477e21b7a..1960b36bd7 100644 --- a/subxt/src/client/offline_client.rs +++ b/subxt/src/client/offline_client.rs @@ -4,13 +4,13 @@ use crate::custom_values::CustomValuesClient; use crate::{ - backend::RuntimeVersion, blocks::BlocksClient, constants::ConstantsClient, - events::EventsClient, runtime_api::RuntimeApiClient, storage::StorageClient, tx::TxClient, - Config, Metadata, + blocks::BlocksClient, constants::ConstantsClient, events::EventsClient, + runtime_api::RuntimeApiClient, storage::StorageClient, tx::TxClient, Config, Metadata, }; -use derivative::Derivative; +use derive_where::derive_where; use std::sync::Arc; +use subxt_core::client::{ClientState, RuntimeVersion}; /// A trait representing a client that can perform /// offline-only actions. @@ -21,6 +21,10 @@ pub trait OfflineClientT: Clone + Send + Sync + 'static { fn genesis_hash(&self) -> T::Hash; /// Return the provided [`RuntimeVersion`]. fn runtime_version(&self) -> RuntimeVersion; + /// Return the [subxt_core::client::ClientState] (metadata, runtime version and genesis hash). + fn client_state(&self) -> ClientState { + ClientState::new(self.genesis_hash(), self.runtime_version(), self.metadata()) + } /// Work with transactions. fn tx(&self) -> TxClient { @@ -60,18 +64,9 @@ pub trait OfflineClientT: Clone + Send + Sync + 'static { /// A client that is capable of performing offline-only operations. /// Can be constructed as long as you can populate the required fields. -#[derive(Derivative)] -#[derivative(Debug(bound = ""), Clone(bound = ""))] +#[derive_where(Debug, Clone)] pub struct OfflineClient { - inner: Arc>, -} - -#[derive(Derivative)] -#[derivative(Debug(bound = ""), Clone(bound = ""))] -struct Inner { - genesis_hash: T::Hash, - runtime_version: RuntimeVersion, - metadata: Metadata, + inner: Arc>, } impl OfflineClient { @@ -83,27 +78,36 @@ impl OfflineClient { metadata: impl Into, ) -> OfflineClient { OfflineClient { - inner: Arc::new(Inner { + inner: Arc::new(ClientState::new( genesis_hash, runtime_version, - metadata: metadata.into(), - }), + metadata.into(), + )), } } /// Return the genesis hash. pub fn genesis_hash(&self) -> T::Hash { - self.inner.genesis_hash + self.inner.genesis_hash() } /// Return the runtime version. pub fn runtime_version(&self) -> RuntimeVersion { - self.inner.runtime_version.clone() + self.inner.runtime_version() } /// Return the [`Metadata`] used in this client. pub fn metadata(&self) -> Metadata { - self.inner.metadata.clone() + self.inner.metadata() + } + + /// Return the [subxt_core::client::ClientState] (metadata, runtime version and genesis hash). + pub fn client_state(&self) -> ClientState { + ClientState::new( + self.inner.genesis_hash(), + self.inner.runtime_version(), + self.inner.metadata(), + ) } // Just a copy of the most important trait methods so that people @@ -145,6 +149,9 @@ impl OfflineClientT for OfflineClient { fn metadata(&self) -> Metadata { self.metadata() } + fn client_state(&self) -> ClientState { + self.client_state() + } } // For ergonomics; cloning a client is deliberately fairly cheap (via Arc), diff --git a/subxt/src/client/online_client.rs b/subxt/src/client/online_client.rs index f4e2f8c723..5ac11826b2 100644 --- a/subxt/src/client/online_client.rs +++ b/subxt/src/client/online_client.rs @@ -5,9 +5,7 @@ use super::{OfflineClient, OfflineClientT}; use crate::custom_values::CustomValuesClient; use crate::{ - backend::{ - legacy::LegacyBackend, rpc::RpcClient, Backend, BackendExt, RuntimeVersion, StreamOfResults, - }, + backend::{legacy::LegacyBackend, rpc::RpcClient, Backend, BackendExt, StreamOfResults}, blocks::{BlockRef, BlocksClient}, constants::ConstantsClient, error::Error, @@ -17,9 +15,10 @@ use crate::{ tx::TxClient, Config, Metadata, }; -use derivative::Derivative; +use derive_where::derive_where; use futures::future; use std::sync::{Arc, RwLock}; +use subxt_core::client::{ClientState, RuntimeVersion}; /// A trait representing a client that can perform /// online actions. @@ -30,15 +29,13 @@ pub trait OnlineClientT: OfflineClientT { /// A client that can be used to perform API calls (that is, either those /// requiring an [`OfflineClientT`] or those requiring an [`OnlineClientT`]). -#[derive(Derivative)] -#[derivative(Clone(bound = ""))] +#[derive_where(Clone)] pub struct OnlineClient { inner: Arc>>, backend: Arc>, } -#[derive(Derivative)] -#[derivative(Debug(bound = ""))] +#[derive_where(Debug)] struct Inner { genesis_hash: T::Hash, runtime_version: RuntimeVersion, @@ -76,7 +73,7 @@ impl OnlineClient { /// Allows insecure URLs without SSL encryption, e.g. (http:// and ws:// URLs). pub async fn from_insecure_url(url: impl AsRef) -> Result, Error> { let client = RpcClient::from_insecure_url(url).await?; - let backend = LegacyBackend::new(client); + let backend = LegacyBackend::builder().build(client); OnlineClient::from_backend(Arc::new(backend)).await } } @@ -84,8 +81,11 @@ impl OnlineClient { impl OnlineClient { /// Construct a new [`OnlineClient`] by providing an [`RpcClient`] to drive the connection. /// This will use the current default [`Backend`], which may change in future releases. - pub async fn from_rpc_client(rpc_client: RpcClient) -> Result, Error> { - let backend = Arc::new(LegacyBackend::new(rpc_client)); + pub async fn from_rpc_client( + rpc_client: impl Into, + ) -> Result, Error> { + let rpc_client = rpc_client.into(); + let backend = Arc::new(LegacyBackend::builder().build(rpc_client)); OnlineClient::from_backend(backend).await } @@ -106,9 +106,10 @@ impl OnlineClient { genesis_hash: T::Hash, runtime_version: RuntimeVersion, metadata: impl Into, - rpc_client: RpcClient, + rpc_client: impl Into, ) -> Result, Error> { - let backend = Arc::new(LegacyBackend::new(rpc_client)); + let rpc_client = rpc_client.into(); + let backend = Arc::new(LegacyBackend::builder().build(rpc_client)); OnlineClient::from_backend_with(genesis_hash, runtime_version, metadata, backend) } @@ -227,7 +228,7 @@ impl OnlineClient { /// let mut update_stream = updater.runtime_updates().await.unwrap(); /// /// while let Some(Ok(update)) = update_stream.next().await { - /// let version = update.runtime_version().spec_version; + /// let version = update.runtime_version().spec_version(); /// /// match updater.apply_update(update) { /// Ok(()) => { @@ -282,7 +283,17 @@ impl OnlineClient { /// Return the runtime version. pub fn runtime_version(&self) -> RuntimeVersion { let inner = self.inner.read().expect("shouldn't be poisoned"); - inner.runtime_version.clone() + inner.runtime_version + } + + /// Return the [subxt_core::client::ClientState] (metadata, runtime version and genesis hash). + pub fn client_state(&self) -> ClientState { + let inner = self.inner.read().expect("shouldn't be poisoned"); + ClientState::new( + inner.genesis_hash, + inner.runtime_version, + inner.metadata.clone(), + ) } /// Change the [`RuntimeVersion`] used in this client. @@ -306,7 +317,7 @@ impl OnlineClient { let inner = self.inner.read().expect("shouldn't be poisoned"); OfflineClient::new( inner.genesis_hash, - inner.runtime_version.clone(), + inner.runtime_version, inner.metadata.clone(), ) } @@ -360,6 +371,10 @@ impl OfflineClientT for OnlineClient { fn runtime_version(&self) -> RuntimeVersion { self.runtime_version() } + + fn client_state(&self) -> ClientState { + self.client_state() + } } impl OnlineClientT for OnlineClient { @@ -521,7 +536,7 @@ async fn wait_runtime_upgrade_in_finalized_block( let scale_val = match chunk.to_value() { Ok(v) => v, - Err(e) => return Some(Err(e)), + Err(e) => return Some(Err(e.into())), }; let Some(Ok(spec_version)) = scale_val @@ -536,7 +551,7 @@ async fn wait_runtime_upgrade_in_finalized_block( // We are waiting for the chain to have the same spec version // as sent out via the runtime subscription. - if spec_version == runtime_version.spec_version { + if spec_version == runtime_version.spec_version() { break block_ref; } }; diff --git a/subxt/src/constants/constants_client.rs b/subxt/src/constants/constants_client.rs index de688bba6b..7bdda7c9db 100644 --- a/subxt/src/constants/constants_client.rs +++ b/subxt/src/constants/constants_client.rs @@ -3,17 +3,11 @@ // see LICENSE for license details. use super::ConstantAddress; -use crate::{ - client::OfflineClientT, - error::{Error, MetadataError}, - metadata::DecodeWithMetadata, - Config, -}; -use derivative::Derivative; +use crate::{client::OfflineClientT, error::Error, Config}; +use derive_where::derive_where; /// A client for accessing constants. -#[derive(Derivative)] -#[derivative(Clone(bound = "Client: Clone"))] +#[derive_where(Clone; Client)] pub struct ConstantsClient { client: Client, _marker: std::marker::PhantomData, @@ -35,20 +29,8 @@ impl> ConstantsClient { /// Return an error if the address was not valid or something went wrong trying to validate it (ie /// the pallet or constant in question do not exist at all). pub fn validate(&self, address: &Address) -> Result<(), Error> { - if let Some(actual_hash) = address.validation_hash() { - let expected_hash = self - .client - .metadata() - .pallet_by_name_err(address.pallet_name())? - .constant_hash(address.constant_name()) - .ok_or_else(|| { - MetadataError::ConstantNameNotFound(address.constant_name().to_owned()) - })?; - if actual_hash != expected_hash { - return Err(MetadataError::IncompatibleCodegen.into()); - } - } - Ok(()) + let metadata = self.client.metadata(); + subxt_core::constants::validate_constant(&metadata, address).map_err(Error::from) } /// Access the constant at the address given, returning the type defined by this address. @@ -59,22 +41,6 @@ impl> ConstantsClient { address: &Address, ) -> Result { let metadata = self.client.metadata(); - - // 1. Validate constant shape if hash given: - self.validate(address)?; - - // 2. Attempt to decode the constant into the type given: - let constant = metadata - .pallet_by_name_err(address.pallet_name())? - .constant_by_name(address.constant_name()) - .ok_or_else(|| { - MetadataError::ConstantNameNotFound(address.constant_name().to_owned()) - })?; - let value = ::decode_with_metadata( - &mut constant.value(), - constant.ty(), - &metadata, - )?; - Ok(value) + subxt_core::constants::get_constant(&metadata, address).map_err(Error::from) } } diff --git a/subxt/src/constants/mod.rs b/subxt/src/constants/mod.rs index 9a9ccade84..a5321e7cb9 100644 --- a/subxt/src/constants/mod.rs +++ b/subxt/src/constants/mod.rs @@ -4,8 +4,7 @@ //! Types associated with accessing constants. -mod constant_address; mod constants_client; -pub use constant_address::{dynamic, Address, ConstantAddress, DynamicAddress}; pub use constants_client::ConstantsClient; +pub use subxt_core::constants::{dynamic, Address, ConstantAddress, DynamicAddress}; diff --git a/subxt/src/custom_values/custom_values_client.rs b/subxt/src/custom_values/custom_values_client.rs index 3b8c1f54c2..4b85a64e5f 100644 --- a/subxt/src/custom_values/custom_values_client.rs +++ b/subxt/src/custom_values/custom_values_client.rs @@ -1,13 +1,14 @@ use crate::client::OfflineClientT; -use crate::custom_values::custom_value_address::{CustomValueAddress, Yes}; -use crate::error::MetadataError; -use crate::metadata::DecodeWithMetadata; use crate::{Config, Error}; -use derivative::Derivative; +use derive_where::derive_where; + +use subxt_core::custom_values::{ + get_custom_value, get_custom_value_bytes, validate_custom_value, CustomValueAddress, +}; +use subxt_core::utils::Yes; /// A client for accessing custom values stored in the metadata. -#[derive(Derivative)] -#[derivative(Clone(bound = "Client: Clone"))] +#[derive_where(Clone; Client)] pub struct CustomValuesClient { client: Client, _marker: std::marker::PhantomData, @@ -30,22 +31,7 @@ impl> CustomValuesClient { &self, address: &Address, ) -> Result { - // 1. Validate custom value shape if hash given: - self.validate(address)?; - - // 2. Attempt to decode custom value: - let metadata = self.client.metadata(); - let custom = metadata.custom(); - let custom_value = custom - .get(address.name()) - .ok_or_else(|| MetadataError::CustomValueNameNotFound(address.name().to_string()))?; - - let value = ::decode_with_metadata( - &mut custom_value.bytes(), - custom_value.type_id(), - &metadata, - )?; - Ok(value) + get_custom_value(&self.client.metadata(), address).map_err(Into::into) } /// Access the bytes of a custom value by the address it is registered under. @@ -53,17 +39,7 @@ impl> CustomValuesClient { &self, address: &Address, ) -> Result, Error> { - // 1. Validate custom value shape if hash given: - self.validate(address)?; - - // 2. Return the underlying bytes: - let metadata = self.client.metadata(); - let custom = metadata.custom(); - let custom_value = custom - .get(address.name()) - .ok_or_else(|| MetadataError::CustomValueNameNotFound(address.name().to_string()))?; - - Ok(custom_value.bytes().to_vec()) + get_custom_value_bytes(&self.client.metadata(), address).map_err(Into::into) } /// Run the validation logic against some custom value address you'd like to access. Returns `Ok(())` @@ -73,27 +49,12 @@ impl> CustomValuesClient { &self, address: &Address, ) -> Result<(), Error> { - let metadata = self.client.metadata(); - if let Some(actual_hash) = address.validation_hash() { - let custom = metadata.custom(); - let custom_value = custom - .get(address.name()) - .ok_or_else(|| MetadataError::CustomValueNameNotFound(address.name().into()))?; - let expected_hash = custom_value.hash(); - if actual_hash != expected_hash { - return Err(MetadataError::IncompatibleCodegen.into()); - } - } - if metadata.custom().get(address.name()).is_none() { - return Err(MetadataError::IncompatibleCodegen.into()); - } - Ok(()) + validate_custom_value(&self.client.metadata(), address).map_err(Into::into) } } #[cfg(test)] mod tests { - use crate::backend::RuntimeVersion; use crate::custom_values::CustomValuesClient; use crate::{Metadata, OfflineClient, SubstrateConfig}; use codec::Encode; @@ -101,6 +62,7 @@ mod tests { use scale_info::form::PortableForm; use scale_info::TypeInfo; use std::collections::BTreeMap; + use subxt_core::client::RuntimeVersion; #[derive(Debug, Clone, PartialEq, Eq, Encode, TypeInfo, DecodeAsType)] pub struct Person { @@ -158,10 +120,7 @@ mod tests { fn test_decoding() { let client = OfflineClient::::new( Default::default(), - RuntimeVersion { - spec_version: 0, - transaction_version: 0, - }, + RuntimeVersion::new(0, 0), mock_metadata(), ); let custom_value_client = CustomValuesClient::new(client); diff --git a/subxt/src/custom_values/mod.rs b/subxt/src/custom_values/mod.rs index 5b7b93e20c..cd9ace6a06 100644 --- a/subxt/src/custom_values/mod.rs +++ b/subxt/src/custom_values/mod.rs @@ -4,8 +4,7 @@ //! Types associated with accessing custom types -mod custom_value_address; mod custom_values_client; -pub use custom_value_address::{CustomValueAddress, StaticAddress, Yes}; pub use custom_values_client::CustomValuesClient; +pub use subxt_core::custom_values::{CustomValueAddress, StaticAddress}; diff --git a/subxt/src/error/dispatch_error.rs b/subxt/src/error/dispatch_error.rs index 817a441dd6..6de0792dc0 100644 --- a/subxt/src/error/dispatch_error.rs +++ b/subxt/src/error/dispatch_error.rs @@ -7,8 +7,9 @@ use crate::metadata::{DecodeWithMetadata, Metadata}; use core::fmt::Debug; -use scale_decode::{visitor::DecodeAsTypeResult, DecodeAsType}; -use std::borrow::Cow; +use scale_decode::{visitor::DecodeAsTypeResult, DecodeAsType, TypeResolver}; + +use std::{borrow::Cow, marker::PhantomData}; use super::{Error, MetadataError}; @@ -59,6 +60,9 @@ pub enum DispatchError { "Some resource (e.g. a preimage) is unavailable right now. This might fix itself later." )] Unavailable, + /// Root origin is not allowed. + #[error("Root origin is not allowed.")] + RootNotAllowed, } /// An error relating to tokens when dispatching a transaction. @@ -92,6 +96,9 @@ pub enum TokenError { /// Withdrawal would cause unwanted loss of account. #[error("Withdrawal would cause unwanted loss of account.")] NotExpendable, + /// Account cannot receive the assets. + #[error("Account cannot receive the assets.")] + Blocked, } /// An error relating to arithmetic when dispatching a transaction. @@ -203,7 +210,7 @@ impl ModuleError { pub fn as_root_error(&self) -> Result { let decoded = E::decode_as_type( &mut &self.bytes[..], - self.metadata.outer_enums().error_enum_ty(), + &self.metadata.outer_enums().error_enum_ty(), self.metadata.types(), )?; @@ -249,30 +256,34 @@ impl DispatchError { Exhausted, Corruption, Unavailable, + RootNotAllowed, } // ModuleError is a bit special; we want to support being decoded from either // a legacy format of 2 bytes, or a newer format of 5 bytes. So, just grab the bytes // out when decoding to manually work with them. struct DecodedModuleErrorBytes(Vec); - struct DecodedModuleErrorBytesVisitor; - impl scale_decode::Visitor for DecodedModuleErrorBytesVisitor { + struct DecodedModuleErrorBytesVisitor(PhantomData); + impl scale_decode::Visitor for DecodedModuleErrorBytesVisitor { type Error = scale_decode::Error; type Value<'scale, 'info> = DecodedModuleErrorBytes; + type TypeResolver = R; + fn unchecked_decode_as_type<'scale, 'info>( self, input: &mut &'scale [u8], - _type_id: scale_decode::visitor::TypeId, - _types: &'info scale_info::PortableRegistry, + _type_id: &R::TypeId, + _types: &'info R, ) -> DecodeAsTypeResult, Self::Error>> { DecodeAsTypeResult::Decoded(Ok(DecodedModuleErrorBytes(input.to_vec()))) } } + impl scale_decode::IntoVisitor for DecodedModuleErrorBytes { - type Visitor = DecodedModuleErrorBytesVisitor; - fn into_visitor() -> Self::Visitor { - DecodedModuleErrorBytesVisitor + type AnyVisitor = DecodedModuleErrorBytesVisitor; + fn into_visitor() -> DecodedModuleErrorBytesVisitor { + DecodedModuleErrorBytesVisitor(PhantomData) } } @@ -298,6 +309,7 @@ impl DispatchError { DecodedDispatchError::Exhausted => DispatchError::Exhausted, DecodedDispatchError::Corruption => DispatchError::Corruption, DecodedDispatchError::Unavailable => DispatchError::Unavailable, + DecodedDispatchError::RootNotAllowed => DispatchError::RootNotAllowed, // But we apply custom logic to transform the module error into the outward facing version: DecodedDispatchError::Module(module_bytes) => { let module_bytes = module_bytes.0; diff --git a/subxt/src/error/mod.rs b/subxt/src/error/mod.rs index 78c5528012..ecfb3c7207 100644 --- a/subxt/src/error/mod.rs +++ b/subxt/src/error/mod.rs @@ -6,10 +6,8 @@ mod dispatch_error; -use core::fmt::Debug; - crate::macros::cfg_unstable_light_client! { - pub use crate::client::LightClientError; + pub use subxt_lightclient::LightClientError; } // Re-export dispatch error types: @@ -18,10 +16,10 @@ pub use dispatch_error::{ }; // Re-expose the errors we use from other crates here: -pub use crate::config::ExtrinsicParamsError; pub use crate::metadata::Metadata; pub use scale_decode::Error as DecodeError; pub use scale_encode::Error as EncodeError; +pub use subxt_core::error::{ExtrinsicParamsError, MetadataError, StorageAddressError}; pub use subxt_metadata::TryFromError as MetadataTryFromError; /// The underlying error enum, generic over the type held by the `Runtime` @@ -82,6 +80,19 @@ pub enum Error { Other(String), } +impl From for Error { + fn from(value: subxt_core::Error) -> Self { + match value { + subxt_core::Error::Codec(e) => Error::Codec(e), + subxt_core::Error::Metadata(e) => Error::Metadata(e), + subxt_core::Error::StorageAddress(e) => Error::StorageAddress(e), + subxt_core::Error::Decode(e) => Error::Decode(e), + subxt_core::Error::Encode(e) => Error::Encode(e), + subxt_core::Error::ExtrinsicParams(e) => Error::ExtrinsicParams(e), + } + } +} + impl<'a> From<&'a str> for Error { fn from(error: &'a str) -> Self { Error::Other(error.into()) @@ -100,6 +111,19 @@ impl From for Error { } } +impl From for Error { + fn from(value: scale_decode::visitor::DecodeError) -> Self { + Error::Decode(value.into()) + } +} + +impl Error { + /// Checks whether the error was caused by a RPC re-connection. + pub fn is_disconnected_will_reconnect(&self) -> bool { + matches!(self, Error::Rpc(RpcError::DisconnectedWillReconnect(_))) + } +} + /// An RPC error. Since we are generic over the RPC client that is used, /// the error is boxed and could be casted. #[derive(Debug, thiserror::Error)] @@ -120,6 +144,9 @@ pub enum RpcError { /// The requested URL is insecure. #[error("RPC error: insecure URL: {0}")] InsecureUrl(String), + /// The connection was lost and automatically reconnected. + #[error("RPC error: the connection was lost `{0}`; reconnect automatically initiated")] + DisconnectedWillReconnect(String), } impl RpcError { @@ -174,79 +201,3 @@ pub enum TransactionError { #[error("The transaction was dropped: {0}")] Dropped(String), } - -/// Something went wrong trying to encode a storage address. -#[derive(Clone, Debug, thiserror::Error)] -#[non_exhaustive] -pub enum StorageAddressError { - /// Storage map type must be a composite type. - #[error("Storage map type must be a composite type")] - MapTypeMustBeTuple, - /// Storage lookup does not have the expected number of keys. - #[error("Storage lookup requires {expected} keys but got {actual} keys")] - WrongNumberOfKeys { - /// The actual number of keys needed, based on the metadata. - actual: usize, - /// The number of keys provided in the storage address. - expected: usize, - }, - /// This storage entry in the metadata does not have the correct number of hashers to fields. - #[error("Storage entry in metadata does not have the correct number of hashers to fields")] - WrongNumberOfHashers { - /// The number of hashers in the metadata for this storage entry. - hashers: usize, - /// The number of fields in the metadata for this storage entry. - fields: usize, - }, -} - -/// Something went wrong trying to access details in the metadata. -#[derive(Clone, Debug, PartialEq, thiserror::Error)] -#[non_exhaustive] -pub enum MetadataError { - /// The DispatchError type isn't available in the metadata - #[error("The DispatchError type isn't available")] - DispatchErrorNotFound, - /// Type not found in metadata. - #[error("Type with ID {0} not found")] - TypeNotFound(u32), - /// Pallet not found (index). - #[error("Pallet with index {0} not found")] - PalletIndexNotFound(u8), - /// Pallet not found (name). - #[error("Pallet with name {0} not found")] - PalletNameNotFound(String), - /// Variant not found. - #[error("Variant with index {0} not found")] - VariantIndexNotFound(u8), - /// Constant not found. - #[error("Constant with name {0} not found")] - ConstantNameNotFound(String), - /// Call not found. - #[error("Call with name {0} not found")] - CallNameNotFound(String), - /// Runtime trait not found. - #[error("Runtime trait with name {0} not found")] - RuntimeTraitNotFound(String), - /// Runtime method not found. - #[error("Runtime method with name {0} not found")] - RuntimeMethodNotFound(String), - /// Call type not found in metadata. - #[error("Call type not found in pallet with index {0}")] - CallTypeNotFoundInPallet(u8), - /// Event type not found in metadata. - #[error("Event type not found in pallet with index {0}")] - EventTypeNotFoundInPallet(u8), - /// Storage details not found in metadata. - #[error("Storage details not found in pallet with name {0}")] - StorageNotFoundInPallet(String), - /// Storage entry not found. - #[error("Storage entry {0} not found")] - StorageEntryNotFound(String), - /// The generated interface used is not compatible with the node. - #[error("The generated code is not compatible with the node")] - IncompatibleCodegen, - /// Custom value not found. - #[error("Custom value with name {0} not found")] - CustomValueNameNotFound(String), -} diff --git a/subxt/src/events/events_client.rs b/subxt/src/events/events_client.rs index 834e6cd64f..a23a8c07b7 100644 --- a/subxt/src/events/events_client.rs +++ b/subxt/src/events/events_client.rs @@ -4,12 +4,11 @@ use crate::backend::{Backend, BackendExt, BlockRef}; use crate::{client::OnlineClientT, error::Error, events::Events, Config}; -use derivative::Derivative; +use derive_where::derive_where; use std::future::Future; /// A client for working with events. -#[derive(Derivative)] -#[derivative(Clone(bound = "Client: Clone"))] +#[derive_where(Clone; Client)] pub struct EventsClient { client: Client, _marker: std::marker::PhantomData, @@ -65,19 +64,15 @@ where }; let event_bytes = get_event_bytes(client.backend(), block_ref.hash()).await?; - Ok(Events::new( - client.metadata(), - block_ref.hash(), - event_bytes, - )) + Ok(Events::decode_from(client.metadata(), event_bytes)) } } } // The storage key needed to access events. fn system_events_key() -> [u8; 32] { - let a = sp_core_hashing::twox_128(b"System"); - let b = sp_core_hashing::twox_128(b"Events"); + let a = sp_crypto_hashing::twox_128(b"System"); + let b = sp_crypto_hashing::twox_128(b"Events"); let mut res = [0; 32]; res[0..16].clone_from_slice(&a); res[16..32].clone_from_slice(&b); diff --git a/subxt/src/events/mod.rs b/subxt/src/events/mod.rs index 85ced23be9..4fbeaef06e 100644 --- a/subxt/src/events/mod.rs +++ b/subxt/src/events/mod.rs @@ -5,40 +5,24 @@ //! This module exposes the types and such necessary for working with events. //! The two main entry points into events are [`crate::OnlineClient::events()`] //! and calls like [crate::tx::TxProgress::wait_for_finalized_success()]. +use crate::client::OnlineClientT; +use crate::Error; +use subxt_core::{Config, Metadata}; mod events_client; -mod events_type; - -use codec::{Decode, Encode}; pub use events_client::EventsClient; -pub use events_type::{EventDetails, Events}; -use scale_decode::DecodeAsFields; +pub use subxt_core::events::{EventDetails, Events, Phase, StaticEvent}; -/// Trait to uniquely identify the events's identity from the runtime metadata. -/// -/// Generated API structures that represent an event implement this trait. -/// -/// The trait is utilized to decode emitted events from a block, via obtaining the -/// form of the `Event` from the metadata. -pub trait StaticEvent: DecodeAsFields { - /// Pallet name. - const PALLET: &'static str; - /// Event name. - const EVENT: &'static str; - - /// Returns true if the given pallet and event names match this event. - fn is_event(pallet: &str, event: &str) -> bool { - Self::PALLET == pallet && Self::EVENT == event - } -} - -/// A phase of a block's execution. -#[derive(Copy, Clone, Debug, Eq, PartialEq, Decode, Encode)] -pub enum Phase { - /// Applying an extrinsic. - ApplyExtrinsic(u32), - /// Finalizing the block. - Finalization, - /// Initializing the block. - Initialization, +/// Creates a new [`Events`] instance by fetching the corresponding bytes at `block_hash` from the client. +pub async fn new_events_from_client( + metadata: Metadata, + block_hash: T::Hash, + client: C, +) -> Result, Error> +where + T: Config, + C: OnlineClientT, +{ + let event_bytes = events_client::get_event_bytes(client.backend(), block_hash).await?; + Ok(Events::::decode_from(metadata, event_bytes)) } diff --git a/subxt/src/lib.rs b/subxt/src/lib.rs index b50880e1ea..250f470e8e 100644 --- a/subxt/src/lib.rs +++ b/subxt/src/lib.rs @@ -45,22 +45,53 @@ pub use getrandom as _; pub mod backend; pub mod blocks; pub mod client; -pub mod config; pub mod constants; pub mod custom_values; -pub mod dynamic; pub mod error; pub mod events; -pub mod metadata; pub mod runtime_api; pub mod storage; pub mod tx; pub mod utils; +/// This module provides a [`Config`] type, which is used to define various +/// types that are important in order to speak to a particular chain. +/// [`SubstrateConfig`] provides a default set of these types suitable for the +/// default Substrate node implementation, and [`PolkadotConfig`] for a +/// Polkadot node. +pub mod config { + pub use subxt_core::config::{ + polkadot, signed_extensions, substrate, BlockHash, Config, DefaultExtrinsicParams, + DefaultExtrinsicParamsBuilder, ExtrinsicParams, ExtrinsicParamsEncoder, Hasher, Header, + PolkadotConfig, PolkadotExtrinsicParams, RefineParams, RefineParamsData, SignedExtension, + SubstrateConfig, SubstrateExtrinsicParams, + }; + pub use subxt_core::error::ExtrinsicParamsError; +} + +/// Types representing the metadata obtained from a node. +pub mod metadata { + pub use subxt_core::metadata::{DecodeWithMetadata, EncodeWithMetadata, Metadata, MetadataExt}; + // Expose metadata types under a sub module in case somebody needs to reference them: + pub use subxt_metadata as types; +} + +/// Submit dynamic transactions. +pub mod dynamic { + pub use subxt_core::dynamic::{ + constant, runtime_api_call, storage, tx, At, DecodedValue, DecodedValueThunk, Value, + }; +} + // Internal helper macros #[macro_use] mod macros; +// Expose light client bits +cfg_unstable_light_client! { + pub use subxt_lightclient as lightclient; +} + // Expose a few of the most common types at root, // but leave most types behind their respective modules. pub use crate::{ @@ -79,10 +110,10 @@ pub mod ext { pub use scale_decode; pub use scale_encode; pub use scale_value; + pub use subxt_core; cfg_substrate_compat! { - pub use sp_runtime; - pub use sp_core; + pub use subxt_core::ext::{sp_runtime, sp_core}; } } @@ -122,15 +153,15 @@ pub mod ext { /// /// ## `crate = "..."` /// -/// Use this attribute to specify a custom path to the `subxt` crate: +/// Use this attribute to specify a custom path to the `subxt_core` crate: /// /// ```rust -/// # pub extern crate subxt; -/// # pub mod path { pub mod to { pub use subxt; } } +/// # pub extern crate subxt_core; +/// # pub mod path { pub mod to { pub use subxt_core; } } /// # fn main() {} /// #[subxt::subxt( /// runtime_metadata_path = "../artifacts/polkadot_metadata_full.scale", -/// crate = "crate::path::to::subxt" +/// crate = "crate::path::to::subxt_core" /// )] /// mod polkadot {} /// ``` diff --git a/subxt/src/macros.rs b/subxt/src/macros.rs index a8d86ada69..8e5a8283df 100644 --- a/subxt/src/macros.rs +++ b/subxt/src/macros.rs @@ -52,7 +52,21 @@ macro_rules! cfg_jsonrpsee_web { } } -pub(crate) use {cfg_feature, cfg_jsonrpsee, cfg_substrate_compat, cfg_unstable_light_client}; +#[allow(unused)] +macro_rules! cfg_reconnecting_rpc_client { + ($($item:item)*) => { + $( + #[cfg(feature = "unstable-reconnecting-rpc-client")] + #[cfg_attr(docsrs, doc(cfg(feature = "unstable-reconnecting-rpc-client")))] + $item + )* + } +} + +pub(crate) use { + cfg_feature, cfg_jsonrpsee, cfg_reconnecting_rpc_client, cfg_substrate_compat, + cfg_unstable_light_client, +}; // Only used by light-client. #[allow(unused)] diff --git a/subxt/src/metadata/metadata_type.rs b/subxt/src/metadata/metadata_type.rs deleted file mode 100644 index 29ae567afa..0000000000 --- a/subxt/src/metadata/metadata_type.rs +++ /dev/null @@ -1,74 +0,0 @@ -// Copyright 2019-2023 Parity Technologies (UK) Ltd. -// This file is dual-licensed as Apache-2.0 or GPL-3.0. -// see LICENSE for license details. - -use crate::error::MetadataError; - -use std::sync::Arc; - -/// A cheaply clone-able representation of the runtime metadata received from a node. -#[derive(Clone, Debug)] -pub struct Metadata { - inner: Arc, -} - -impl std::ops::Deref for Metadata { - type Target = subxt_metadata::Metadata; - fn deref(&self) -> &Self::Target { - &self.inner - } -} - -impl Metadata { - pub(crate) fn new(md: subxt_metadata::Metadata) -> Self { - Metadata { - inner: Arc::new(md), - } - } - - /// Identical to `metadata.pallet_by_name()`, but returns an error if the pallet is not found. - pub fn pallet_by_name_err( - &self, - name: &str, - ) -> Result { - self.pallet_by_name(name) - .ok_or_else(|| MetadataError::PalletNameNotFound(name.to_owned())) - } - - /// Identical to `metadata.pallet_by_index()`, but returns an error if the pallet is not found. - pub fn pallet_by_index_err( - &self, - index: u8, - ) -> Result { - self.pallet_by_index(index) - .ok_or(MetadataError::PalletIndexNotFound(index)) - } - - /// Identical to `metadata.runtime_api_trait_by_name()`, but returns an error if the trait is not found. - pub fn runtime_api_trait_by_name_err( - &self, - name: &str, - ) -> Result { - self.runtime_api_trait_by_name(name) - .ok_or_else(|| MetadataError::RuntimeTraitNotFound(name.to_owned())) - } -} - -impl From for Metadata { - fn from(md: subxt_metadata::Metadata) -> Self { - Metadata::new(md) - } -} - -impl TryFrom for Metadata { - type Error = subxt_metadata::TryFromError; - fn try_from(value: frame_metadata::RuntimeMetadataPrefixed) -> Result { - subxt_metadata::Metadata::try_from(value).map(Metadata::from) - } -} - -impl codec::Decode for Metadata { - fn decode(input: &mut I) -> Result { - subxt_metadata::Metadata::decode(input).map(Metadata::new) - } -} diff --git a/subxt/src/runtime_api/mod.rs b/subxt/src/runtime_api/mod.rs index 49a17a4dd7..9eecb12978 100644 --- a/subxt/src/runtime_api/mod.rs +++ b/subxt/src/runtime_api/mod.rs @@ -5,9 +5,8 @@ //! Types associated with executing runtime API calls. mod runtime_client; -mod runtime_payload; mod runtime_types; pub use runtime_client::RuntimeApiClient; -pub use runtime_payload::{dynamic, DynamicRuntimeApiPayload, Payload, RuntimeApiPayload}; pub use runtime_types::RuntimeApi; +pub use subxt_core::runtime_api::{dynamic, DynamicRuntimeApiPayload, Payload, RuntimeApiPayload}; diff --git a/subxt/src/runtime_api/runtime_client.rs b/subxt/src/runtime_api/runtime_client.rs index 5770285b83..e2dfc79c54 100644 --- a/subxt/src/runtime_api/runtime_client.rs +++ b/subxt/src/runtime_api/runtime_client.rs @@ -5,12 +5,11 @@ use super::runtime_types::RuntimeApi; use crate::{backend::BlockRef, client::OnlineClientT, error::Error, Config}; -use derivative::Derivative; +use derive_where::derive_where; use std::{future::Future, marker::PhantomData}; /// Execute runtime API calls. -#[derive(Derivative)] -#[derivative(Clone(bound = "Client: Clone"))] +#[derive_where(Clone; Client)] pub struct RuntimeApiClient { client: Client, _marker: PhantomData, diff --git a/subxt/src/runtime_api/runtime_types.rs b/subxt/src/runtime_api/runtime_types.rs index 3ea8c93947..6f0eb9e526 100644 --- a/subxt/src/runtime_api/runtime_types.rs +++ b/subxt/src/runtime_api/runtime_types.rs @@ -10,14 +10,13 @@ use crate::{ Config, }; use codec::Decode; -use derivative::Derivative; +use derive_where::derive_where; use std::{future::Future, marker::PhantomData}; use super::RuntimeApiPayload; /// Execute runtime API calls. -#[derive(Derivative)] -#[derivative(Clone(bound = "Client: Clone"))] +#[derive_where(Clone; Client)] pub struct RuntimeApi { client: Client, block_ref: BlockRef, diff --git a/subxt/src/storage/mod.rs b/subxt/src/storage/mod.rs index 0219cd8caf..a9837330f6 100644 --- a/subxt/src/storage/mod.rs +++ b/subxt/src/storage/mod.rs @@ -4,25 +4,23 @@ //! Types associated with accessing and working with storage items. -mod storage_address; mod storage_client; mod storage_type; -pub mod utils; - pub use storage_client::StorageClient; -pub use storage_type::Storage; +pub use storage_type::{Storage, StorageKeyValuePair}; /// Types representing an address which describes where a storage /// entry lives and how to properly decode it. pub mod address { - pub use super::storage_address::{ - dynamic, make_static_storage_map_key, Address, DynamicAddress, StaticStorageMapKey, - StorageAddress, Yes, + pub use subxt_core::storage::address::{ + dynamic, Address, DynamicAddress, StaticStorageKey, StorageAddress, StorageKey, }; } +pub use subxt_core::storage::StorageKey; + // For consistency with other modules, also expose // the basic address stuff at the root of the module. -pub use storage_address::{dynamic, Address, DynamicAddress, StorageAddress}; +pub use address::{dynamic, Address, DynamicAddress, StorageAddress}; diff --git a/subxt/src/storage/storage_address.rs b/subxt/src/storage/storage_address.rs deleted file mode 100644 index 893474b518..0000000000 --- a/subxt/src/storage/storage_address.rs +++ /dev/null @@ -1,270 +0,0 @@ -// Copyright 2019-2023 Parity Technologies (UK) Ltd. -// This file is dual-licensed as Apache-2.0 or GPL-3.0. -// see LICENSE for license details. - -use crate::{ - dynamic::DecodedValueThunk, - error::{Error, MetadataError, StorageAddressError}, - metadata::{DecodeWithMetadata, EncodeWithMetadata, Metadata}, - utils::{Encoded, Static}, -}; -use derivative::Derivative; -use scale_info::TypeDef; -use std::borrow::Cow; -use subxt_metadata::{StorageEntryType, StorageHasher}; - -/// This represents a storage address. Anything implementing this trait -/// can be used to fetch and iterate over storage entries. -pub trait StorageAddress { - /// The target type of the value that lives at this address. - type Target: DecodeWithMetadata; - /// Can an entry be fetched from this address? - /// Set this type to [`Yes`] to enable the corresponding calls to be made. - type IsFetchable; - /// Can a default entry be obtained from this address? - /// Set this type to [`Yes`] to enable the corresponding calls to be made. - type IsDefaultable; - /// Can this address be iterated over? - /// Set this type to [`Yes`] to enable the corresponding calls to be made. - type IsIterable; - - /// The name of the pallet that the entry lives under. - fn pallet_name(&self) -> &str; - - /// The name of the entry in a given pallet that the item is at. - fn entry_name(&self) -> &str; - - /// Output the non-prefix bytes; that is, any additional bytes that need - /// to be appended to the key to dig into maps. - fn append_entry_bytes(&self, metadata: &Metadata, bytes: &mut Vec) -> Result<(), Error>; - - /// An optional hash which, if present, will be checked against - /// the node metadata to confirm that the return type matches what - /// we are expecting. - fn validation_hash(&self) -> Option<[u8; 32]> { - None - } -} - -/// Used to signal whether a [`StorageAddress`] can be iterated, -/// fetched and returned with a default value in the type system. -pub struct Yes; - -/// A concrete storage address. This can be created from static values (ie those generated -/// via the `subxt` macro) or dynamic values via [`dynamic`]. -#[derive(Derivative)] -#[derivative( - Clone(bound = "StorageKey: Clone"), - Debug(bound = "StorageKey: std::fmt::Debug") -)] -pub struct Address { - pallet_name: Cow<'static, str>, - entry_name: Cow<'static, str>, - storage_entry_keys: Vec, - validation_hash: Option<[u8; 32]>, - _marker: std::marker::PhantomData<(ReturnTy, Fetchable, Defaultable, Iterable)>, -} - -/// A typical storage address constructed at runtime rather than via the `subxt` macro; this -/// has no restriction on what it can be used for (since we don't statically know). -pub type DynamicAddress = Address; - -impl - Address -where - StorageKey: EncodeWithMetadata, - ReturnTy: DecodeWithMetadata, -{ - /// Create a new [`Address`] to use to access a storage entry. - pub fn new( - pallet_name: impl Into, - entry_name: impl Into, - storage_entry_keys: Vec, - ) -> Self { - Self { - pallet_name: Cow::Owned(pallet_name.into()), - entry_name: Cow::Owned(entry_name.into()), - storage_entry_keys: storage_entry_keys.into_iter().collect(), - validation_hash: None, - _marker: std::marker::PhantomData, - } - } - - /// Create a new [`Address`] using static strings for the pallet and call name. - /// This is only expected to be used from codegen. - #[doc(hidden)] - pub fn new_static( - pallet_name: &'static str, - entry_name: &'static str, - storage_entry_keys: Vec, - hash: [u8; 32], - ) -> Self { - Self { - pallet_name: Cow::Borrowed(pallet_name), - entry_name: Cow::Borrowed(entry_name), - storage_entry_keys: storage_entry_keys.into_iter().collect(), - validation_hash: Some(hash), - _marker: std::marker::PhantomData, - } - } - - /// Do not validate this storage entry prior to accessing it. - pub fn unvalidated(self) -> Self { - Self { - validation_hash: None, - ..self - } - } - - /// Return bytes representing the root of this storage entry (ie a hash of - /// the pallet and entry name). Use [`crate::storage::StorageClient::address_bytes()`] - /// to obtain the bytes representing the entire address. - pub fn to_root_bytes(&self) -> Vec { - super::utils::storage_address_root_bytes(self) - } -} - -impl StorageAddress - for Address -where - StorageKey: EncodeWithMetadata, - ReturnTy: DecodeWithMetadata, -{ - type Target = ReturnTy; - type IsFetchable = Fetchable; - type IsDefaultable = Defaultable; - type IsIterable = Iterable; - - fn pallet_name(&self) -> &str { - &self.pallet_name - } - - fn entry_name(&self) -> &str { - &self.entry_name - } - - fn append_entry_bytes(&self, metadata: &Metadata, bytes: &mut Vec) -> Result<(), Error> { - let pallet = metadata.pallet_by_name_err(self.pallet_name())?; - let storage = pallet - .storage() - .ok_or_else(|| MetadataError::StorageNotFoundInPallet(self.pallet_name().to_owned()))?; - let entry = storage - .entry_by_name(self.entry_name()) - .ok_or_else(|| MetadataError::StorageEntryNotFound(self.entry_name().to_owned()))?; - - match entry.entry_type() { - StorageEntryType::Plain(_) => { - if !self.storage_entry_keys.is_empty() { - Err(StorageAddressError::WrongNumberOfKeys { - expected: 0, - actual: self.storage_entry_keys.len(), - } - .into()) - } else { - Ok(()) - } - } - StorageEntryType::Map { - hashers, key_ty, .. - } => { - let ty = metadata - .types() - .resolve(*key_ty) - .ok_or(MetadataError::TypeNotFound(*key_ty))?; - - // If the provided keys are empty, the storage address must be - // equal to the storage root address. - if self.storage_entry_keys.is_empty() { - return Ok(()); - } - - // If the key is a tuple, we encode each value to the corresponding tuple type. - // If the key is not a tuple, encode a single value to the key type. - let type_ids = match &ty.type_def { - TypeDef::Tuple(tuple) => { - either::Either::Left(tuple.fields.iter().map(|f| f.id)) - } - _other => either::Either::Right(std::iter::once(*key_ty)), - }; - - if type_ids.len() < self.storage_entry_keys.len() { - // Provided more keys than fields. - return Err(StorageAddressError::WrongNumberOfKeys { - expected: type_ids.len(), - actual: self.storage_entry_keys.len(), - } - .into()); - } - - if hashers.len() == 1 { - // One hasher; hash a tuple of all SCALE encoded bytes with the one hash function. - let mut input = Vec::new(); - let iter = self.storage_entry_keys.iter().zip(type_ids); - for (key, type_id) in iter { - key.encode_with_metadata(type_id, metadata, &mut input)?; - } - hash_bytes(&input, &hashers[0], bytes); - Ok(()) - } else if hashers.len() >= type_ids.len() { - let iter = self.storage_entry_keys.iter().zip(type_ids).zip(hashers); - // A hasher per field; encode and hash each field independently. - for ((key, type_id), hasher) in iter { - let mut input = Vec::new(); - key.encode_with_metadata(type_id, metadata, &mut input)?; - hash_bytes(&input, hasher, bytes); - } - Ok(()) - } else { - // Provided more fields than hashers. - Err(StorageAddressError::WrongNumberOfHashers { - hashers: hashers.len(), - fields: type_ids.len(), - } - .into()) - } - } - } - } - - fn validation_hash(&self) -> Option<[u8; 32]> { - self.validation_hash - } -} - -/// A static storage key; this is some pre-encoded bytes -/// likely provided by the generated interface. -pub type StaticStorageMapKey = Static; - -// Used in codegen to construct the above. -#[doc(hidden)] -pub fn make_static_storage_map_key(t: T) -> StaticStorageMapKey { - Static(Encoded(t.encode())) -} - -/// Construct a new dynamic storage lookup. -pub fn dynamic( - pallet_name: impl Into, - entry_name: impl Into, - storage_entry_keys: Vec, -) -> DynamicAddress { - DynamicAddress::new(pallet_name, entry_name, storage_entry_keys) -} - -/// Take some SCALE encoded bytes and a [`StorageHasher`] and hash the bytes accordingly. -fn hash_bytes(input: &[u8], hasher: &StorageHasher, bytes: &mut Vec) { - match hasher { - StorageHasher::Identity => bytes.extend(input), - StorageHasher::Blake2_128 => bytes.extend(sp_core_hashing::blake2_128(input)), - StorageHasher::Blake2_128Concat => { - bytes.extend(sp_core_hashing::blake2_128(input)); - bytes.extend(input); - } - StorageHasher::Blake2_256 => bytes.extend(sp_core_hashing::blake2_256(input)), - StorageHasher::Twox128 => bytes.extend(sp_core_hashing::twox_128(input)), - StorageHasher::Twox256 => bytes.extend(sp_core_hashing::twox_256(input)), - StorageHasher::Twox64Concat => { - bytes.extend(sp_core_hashing::twox_64(input)); - bytes.extend(input); - } - } -} diff --git a/subxt/src/storage/storage_client.rs b/subxt/src/storage/storage_client.rs index 55ab339aea..942967ee95 100644 --- a/subxt/src/storage/storage_client.rs +++ b/subxt/src/storage/storage_client.rs @@ -4,7 +4,7 @@ use super::{ storage_type::{validate_storage_address, Storage}, - utils, StorageAddress, + StorageAddress, }; use crate::{ backend::BlockRef, @@ -12,12 +12,11 @@ use crate::{ error::Error, Config, }; -use derivative::Derivative; +use derive_where::derive_where; use std::{future::Future, marker::PhantomData}; /// Query the runtime storage. -#[derive(Derivative)] -#[derivative(Clone(bound = "Client: Clone"))] +#[derive_where(Clone; Client)] pub struct StorageClient { client: Client, _marker: PhantomData, @@ -51,7 +50,7 @@ where /// Convert some storage address into the raw bytes that would be submitted to the node in order /// to retrieve the entries at the root of the associated address. pub fn address_root_bytes(&self, address: &Address) -> Vec { - utils::storage_address_root_bytes(address) + subxt_core::storage::utils::storage_address_root_bytes(address) } /// Convert some storage address into the raw bytes that would be submitted to the node in order @@ -63,7 +62,8 @@ where &self, address: &Address, ) -> Result, Error> { - utils::storage_address_bytes(address, &self.client.metadata()) + subxt_core::storage::utils::storage_address_bytes(address, &self.client.metadata()) + .map_err(Into::into) } } diff --git a/subxt/src/storage/storage_type.rs b/subxt/src/storage/storage_type.rs index 2669c1abce..8e7dec790e 100644 --- a/subxt/src/storage/storage_type.rs +++ b/subxt/src/storage/storage_type.rs @@ -2,27 +2,29 @@ // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. -use super::storage_address::{StorageAddress, Yes}; +use subxt_core::storage::address::{StorageAddress, StorageHashers, StorageKey}; +use subxt_core::utils::Yes; use crate::{ backend::{BackendExt, BlockRef}, client::OnlineClientT, - error::{Error, MetadataError}, + error::{Error, MetadataError, StorageAddressError}, metadata::{DecodeWithMetadata, Metadata}, Config, }; use codec::Decode; -use derivative::Derivative; +use derive_where::derive_where; use futures::StreamExt; + use std::{future::Future, marker::PhantomData}; + use subxt_metadata::{PalletMetadata, StorageEntryMetadata, StorageEntryType}; /// This is returned from a couple of storage functions. pub use crate::backend::StreamOfResults; /// Query the runtime storage. -#[derive(Derivative)] -#[derivative(Clone(bound = "Client: Clone"))] +#[derive_where(Clone; Client)] pub struct Storage { client: Client, block_ref: BlockRef, @@ -132,7 +134,8 @@ where validate_storage_address(address, pallet)?; // Look up the return type ID to enable DecodeWithMetadata: - let lookup_bytes = super::utils::storage_address_bytes(address, &metadata)?; + let lookup_bytes = + subxt_core::storage::utils::storage_address_bytes(address, &metadata)?; if let Some(data) = client.fetch_raw(lookup_bytes).await? { let val = decode_storage_with_metadata::(&mut &*data, &metadata, entry)?; @@ -197,18 +200,19 @@ where /// .await /// .unwrap(); /// - /// while let Some(Ok((key, value))) = iter.next().await { - /// println!("Key: 0x{}", hex::encode(&key)); - /// println!("Value: {}", value); + /// while let Some(Ok(kv)) = iter.next().await { + /// println!("Key bytes: 0x{}", hex::encode(&kv.key_bytes)); + /// println!("Value: {}", kv.value); /// } /// # } /// ``` pub fn iter
( &self, address: Address, - ) -> impl Future, Address::Target)>, Error>> + 'static + ) -> impl Future>, Error>> + 'static where Address: StorageAddress + 'static, + Address::Keys: 'static + Sized, { let client = self.client.clone(); let block_ref = self.block_ref.clone(); @@ -226,11 +230,14 @@ where // Look up the return type for flexible decoding. Do this once here to avoid // potentially doing it every iteration if we used `decode_storage_with_metadata` // in the iterator. - let return_type_id = return_type_from_storage_entry_type(entry.entry_type()); + let entry = entry.entry_type(); + + let return_type_id = entry.value_ty(); + let hashers = StorageHashers::new(entry, metadata.types())?; // The address bytes of this entry: - let address_bytes = super::utils::storage_address_bytes(&address, &metadata)?; - + let address_bytes = + subxt_core::storage::utils::storage_address_bytes(&address, &metadata)?; let s = client .backend() .storage_fetch_descendant_values(address_bytes, block_ref.hash()) @@ -240,12 +247,27 @@ where Ok(kv) => kv, Err(e) => return Err(e), }; - let val = Address::Target::decode_with_metadata( + let value = Address::Target::decode_with_metadata( &mut &*kv.value, return_type_id, &metadata, )?; - Ok((kv.key, val)) + + let key_bytes = kv.key; + let cursor = &mut &key_bytes[..]; + strip_storage_addess_root_bytes(cursor)?; + + let keys = ::decode_storage_key( + cursor, + &mut hashers.iter(), + metadata.types(), + )?; + + Ok(StorageKeyValuePair::
{ + keys, + key_bytes, + value, + }) }); let s = StreamOfResults::new(Box::pin(s)); @@ -265,8 +287,10 @@ where // construct the storage key. This is done similarly in `frame_support::traits::metadata::StorageVersion::storage_key()`. pub const STORAGE_VERSION_STORAGE_KEY_POSTFIX: &[u8] = b":__STORAGE_VERSION__:"; let mut key_bytes: Vec = vec![]; - key_bytes.extend(&sp_core_hashing::twox_128(pallet_name.as_ref().as_bytes())); - key_bytes.extend(&sp_core_hashing::twox_128( + key_bytes.extend(&sp_crypto_hashing::twox_128( + pallet_name.as_ref().as_bytes(), + )); + key_bytes.extend(&sp_crypto_hashing::twox_128( STORAGE_VERSION_STORAGE_KEY_POSTFIX, )); @@ -290,6 +314,28 @@ where } } +/// Strips the first 16 bytes (8 for the pallet hash, 8 for the entry hash) off some storage address bytes. +fn strip_storage_addess_root_bytes(address_bytes: &mut &[u8]) -> Result<(), StorageAddressError> { + if address_bytes.len() >= 16 { + *address_bytes = &address_bytes[16..]; + Ok(()) + } else { + Err(StorageAddressError::UnexpectedAddressBytes) + } +} + +/// A pair of keys and values together with all the bytes that make up the storage address. +/// `keys` is `None` if non-concat hashers are used. In this case the keys could not be extracted back from the key_bytes. +#[derive(Clone, Debug, Eq, PartialEq, Ord, PartialOrd)] +pub struct StorageKeyValuePair { + /// The bytes that make up the address of the storage entry. + pub key_bytes: Vec, + /// The keys that can be used to construct the address of this storage entry. + pub keys: T::Keys, + /// The value of the storage entry. + pub value: T::Target, +} + /// Validate a storage address against the metadata. pub(crate) fn validate_storage_address( address: &Address, diff --git a/subxt/src/storage/utils.rs b/subxt/src/storage/utils.rs index 728a581baf..6024d9efc8 100644 --- a/subxt/src/storage/utils.rs +++ b/subxt/src/storage/utils.rs @@ -6,22 +6,24 @@ //! aren't things that should ever be overridden, and so don't exist on //! the trait itself. +use subxt_metadata::StorageHasher; + use super::StorageAddress; use crate::{error::Error, metadata::Metadata}; /// Return the root of a given [`StorageAddress`]: hash the pallet name and entry name /// and append those bytes to the output. -pub(crate) fn write_storage_address_root_bytes( +pub fn write_storage_address_root_bytes( addr: &Address, out: &mut Vec, ) { - out.extend(sp_core_hashing::twox_128(addr.pallet_name().as_bytes())); - out.extend(sp_core_hashing::twox_128(addr.entry_name().as_bytes())); + out.extend(sp_crypto_hashing::twox_128(addr.pallet_name().as_bytes())); + out.extend(sp_crypto_hashing::twox_128(addr.entry_name().as_bytes())); } /// Outputs the [`storage_address_root_bytes`] as well as any additional bytes that represent /// a lookup in a storage map at that location. -pub(crate) fn storage_address_bytes( +pub fn storage_address_bytes( addr: &Address, metadata: &Metadata, ) -> Result, Error> { @@ -32,8 +34,27 @@ pub(crate) fn storage_address_bytes( } /// Outputs a vector containing the bytes written by [`write_storage_address_root_bytes`]. -pub(crate) fn storage_address_root_bytes(addr: &Address) -> Vec { +pub fn storage_address_root_bytes(addr: &Address) -> Vec { let mut bytes = Vec::new(); write_storage_address_root_bytes(addr, &mut bytes); bytes } + +/// Take some SCALE encoded bytes and a [`StorageHasher`] and hash the bytes accordingly. +pub fn hash_bytes(input: &[u8], hasher: StorageHasher, bytes: &mut Vec) { + match hasher { + StorageHasher::Identity => bytes.extend(input), + StorageHasher::Blake2_128 => bytes.extend(sp_crypto_hashing::blake2_128(input)), + StorageHasher::Blake2_128Concat => { + bytes.extend(sp_crypto_hashing::blake2_128(input)); + bytes.extend(input); + } + StorageHasher::Blake2_256 => bytes.extend(sp_crypto_hashing::blake2_256(input)), + StorageHasher::Twox128 => bytes.extend(sp_crypto_hashing::twox_128(input)), + StorageHasher::Twox256 => bytes.extend(sp_crypto_hashing::twox_256(input)), + StorageHasher::Twox64Concat => { + bytes.extend(sp_crypto_hashing::twox_64(input)); + bytes.extend(input); + } + } +} diff --git a/subxt/src/tx/mod.rs b/subxt/src/tx/mod.rs index 0bb2d9f3eb..e0288fbef4 100644 --- a/subxt/src/tx/mod.rs +++ b/subxt/src/tx/mod.rs @@ -11,15 +11,16 @@ use crate::macros::cfg_substrate_compat; -mod signer; mod tx_client; -mod tx_payload; mod tx_progress; +pub use subxt_core::tx as tx_payload; +pub use subxt_core::tx::signer; + // The PairSigner impl currently relies on Substrate bits and pieces, so make it an optional // feature if we want to avoid needing sp_core and sp_runtime. cfg_substrate_compat! { - pub use self::signer::PairSigner; + pub use signer::PairSigner; } pub use self::{ @@ -28,6 +29,6 @@ pub use self::{ PartialExtrinsic, SubmittableExtrinsic, TransactionInvalid, TransactionUnknown, TxClient, ValidationResult, }, - tx_payload::{dynamic, BoxedPayload, DynamicPayload, Payload, TxPayload}, + tx_payload::{dynamic, DynamicPayload, Payload, TxPayload}, tx_progress::{TxInBlock, TxProgress, TxStatus}, }; diff --git a/subxt/src/tx/tx_client.rs b/subxt/src/tx/tx_client.rs index 6bf6c9ab57..31969d58ea 100644 --- a/subxt/src/tx/tx_client.rs +++ b/subxt/src/tx/tx_client.rs @@ -7,18 +7,20 @@ use std::borrow::Cow; use crate::{ backend::{BackendExt, BlockRef, TransactionStatus}, client::{OfflineClientT, OnlineClientT}, - config::{Config, ExtrinsicParams, ExtrinsicParamsEncoder, Hasher}, - error::{Error, MetadataError}, + config::{ + Config, ExtrinsicParams, ExtrinsicParamsEncoder, Hasher, Header, RefineParams, + RefineParamsData, + }, + error::{BlockError, Error, MetadataError}, tx::{Signer as SignerT, TxPayload, TxProgress}, utils::{Encoded, PhantomDataSendSync}, }; use codec::{Compact, Decode, Encode}; -use derivative::Derivative; -use sp_core_hashing::blake2_256; +use derive_where::derive_where; +use sp_crypto_hashing::blake2_256; /// A client for working with transactions. -#[derive(Derivative)] -#[derivative(Clone(bound = "Client: Clone"))] +#[derive_where(Clone; Client)] pub struct TxClient { client: Client, _marker: PhantomDataSendSync, @@ -103,11 +105,13 @@ impl> TxClient { } /// Create a partial extrinsic. - pub fn create_partial_signed_with_nonce( + /// + /// Note: if not provided, the default account nonce will be set to 0 and the default mortality will be _immortal_. + /// This is because this method runs offline, and so is unable to fetch the data needed for more appropriate values. + pub fn create_partial_signed_offline( &self, call: &Call, - account_nonce: u64, - other_params: >::OtherParams, + params: >::Params, ) -> Result, Error> where Call: TxPayload, @@ -120,11 +124,8 @@ impl> TxClient { let call_data = self.call_data(call)?; // 3. Construct our custom additional/extra params. - let additional_and_extra_params = >::new( - account_nonce, - self.client.clone(), - other_params, - )?; + let additional_and_extra_params = + >::new(&self.client.client_state(), params)?; // Return these details, ready to construct a signed extrinsic from. Ok(PartialExtrinsic { @@ -135,12 +136,14 @@ impl> TxClient { } /// Creates a signed extrinsic without submitting it. - pub fn create_signed_with_nonce( + /// + /// Note: if not provided, the default account nonce will be set to 0 and the default mortality will be _immortal_. + /// This is because this method runs offline, and so is unable to fetch the data needed for more appropriate values. + pub fn create_signed_offline( &self, call: &Call, signer: &Signer, - account_nonce: u64, - other_params: >::OtherParams, + params: >::Params, ) -> Result, Error> where Call: TxPayload, @@ -152,8 +155,7 @@ impl> TxClient { // 2. Gather the "additional" and "extra" params along with the encoded call data, // ready to be signed. - let partial_signed = - self.create_partial_signed_with_nonce(call, account_nonce, other_params)?; + let partial_signed = self.create_partial_signed_offline(call, params)?; // 3. Sign and construct an extrinsic from these details. Ok(partial_signed.sign(signer)) @@ -165,6 +167,30 @@ where T: Config, C: OnlineClientT, { + /// Fetch the latest block header and account nonce from the backend and use them to refine [`ExtrinsicParams::Params`]. + async fn refine_params( + &self, + account_id: &T::AccountId, + params: &mut >::Params, + ) -> Result<(), Error> { + let block_ref = self.client.backend().latest_finalized_block_ref().await?; + let block_header = self + .client + .backend() + .block_header(block_ref.hash()) + .await? + .ok_or_else(|| Error::Block(BlockError::not_found(block_ref.hash())))?; + let account_nonce = + crate::blocks::get_account_nonce(&self.client, account_id, block_ref.hash()).await?; + + params.refine(&RefineParamsData::new( + account_nonce, + block_header.number().into(), + block_header.hash(), + )); + Ok(()) + } + /// Get the account nonce for a given account ID. pub async fn account_nonce(&self, account_id: &T::AccountId) -> Result { let block_ref = self.client.backend().latest_finalized_block_ref().await?; @@ -176,13 +202,15 @@ where &self, call: &Call, account_id: &T::AccountId, - other_params: >::OtherParams, + mut params: >::Params, ) -> Result, Error> where Call: TxPayload, { - let account_nonce = self.account_nonce(account_id).await?; - self.create_partial_signed_with_nonce(call, account_nonce, other_params) + // Refine the params by adding account nonce and latest block information: + self.refine_params(account_id, &mut params).await?; + // Create the partial extrinsic with the refined params: + self.create_partial_signed_offline(call, params) } /// Creates a signed extrinsic, without submitting it. @@ -190,14 +218,24 @@ where &self, call: &Call, signer: &Signer, - other_params: >::OtherParams, + params: >::Params, ) -> Result, Error> where Call: TxPayload, Signer: SignerT, { - let account_nonce = self.account_nonce(&signer.account_id()).await?; - self.create_signed_with_nonce(call, signer, account_nonce, other_params) + // 1. Validate this call against the current node metadata if the call comes + // with a hash allowing us to do so. + self.validate(call)?; + + // 2. Gather the "additional" and "extra" params along with the encoded call data, + // ready to be signed. + let partial_signed = self + .create_partial_signed(call, &signer.account_id(), params) + .await?; + + // 3. Sign and construct an extrinsic from these details. + Ok(partial_signed.sign(signer)) } /// Creates and signs an extrinsic and submits it to the chain. Passes default parameters @@ -213,7 +251,7 @@ where where Call: TxPayload, Signer: SignerT, - >::OtherParams: Default, + >::Params: Default, { self.sign_and_submit_then_watch(call, signer, Default::default()) .await @@ -227,13 +265,13 @@ where &self, call: &Call, signer: &Signer, - other_params: >::OtherParams, + params: >::Params, ) -> Result, Error> where Call: TxPayload, Signer: SignerT, { - self.create_signed(call, signer, other_params) + self.create_signed(call, signer, params) .await? .submit_and_watch() .await @@ -257,7 +295,7 @@ where where Call: TxPayload, Signer: SignerT, - >::OtherParams: Default, + >::Params: Default, { self.sign_and_submit(call, signer, Default::default()).await } @@ -274,13 +312,13 @@ where &self, call: &Call, signer: &Signer, - other_params: >::OtherParams, + params: >::Params, ) -> Result where Call: TxPayload, Signer: SignerT, { - self.create_signed(call, signer, other_params) + self.create_signed(call, signer, params) .await? .submit() .await diff --git a/subxt/src/tx/tx_progress.rs b/subxt/src/tx/tx_progress.rs index b949de2be4..3c5d9b7de5 100644 --- a/subxt/src/tx/tx_progress.rs +++ b/subxt/src/tx/tx_progress.rs @@ -6,7 +6,6 @@ use std::task::Poll; -use crate::utils::strip_compact_prefix; use crate::{ backend::{BlockRef, StreamOfResults, TransactionStatus as BackendTxStatus}, client::OnlineClientT, @@ -14,8 +13,9 @@ use crate::{ events::EventsClient, Config, }; -use derivative::Derivative; +use derive_where::derive_where; use futures::{Stream, StreamExt}; +use subxt_core::utils::strip_compact_prefix; /// This struct represents a subscription to the progress of some transaction. pub struct TxProgress { @@ -167,8 +167,7 @@ impl Stream for TxProgress { } /// Possible transaction statuses returned from our [`TxProgress::next()`] call. -#[derive(Derivative)] -#[derivative(Debug(bound = "C: std::fmt::Debug"))] +#[derive_where(Debug; C)] pub enum TxStatus { /// Transaction is part of the future queue. Validated, @@ -221,8 +220,7 @@ impl TxStatus { } /// This struct represents a transaction that has made it into a block. -#[derive(Derivative)] -#[derivative(Debug(bound = "C: std::fmt::Debug"))] +#[derive_where(Debug; C)] pub struct TxInBlock { block_ref: BlockRef, ext_hash: T::Hash, @@ -321,6 +319,8 @@ impl> TxInBlock { #[cfg(test)] mod test { + use subxt_core::client::RuntimeVersion; + use crate::{ backend::{StreamOfResults, TransactionStatus}, client::{OfflineClientT, OnlineClientT}, @@ -345,7 +345,11 @@ mod test { unimplemented!("just a mock impl to satisfy trait bounds") } - fn runtime_version(&self) -> crate::backend::RuntimeVersion { + fn runtime_version(&self) -> RuntimeVersion { + unimplemented!("just a mock impl to satisfy trait bounds") + } + + fn client_state(&self) -> subxt_core::client::ClientState { unimplemented!("just a mock impl to satisfy trait bounds") } } diff --git a/subxt/src/utils/fetch_chain_spec.rs b/subxt/src/utils/fetch_chain_spec.rs new file mode 100644 index 0000000000..b2881276c3 --- /dev/null +++ b/subxt/src/utils/fetch_chain_spec.rs @@ -0,0 +1,113 @@ +// Copyright 2019-2024 Parity Technologies (UK) Ltd. +// This file is dual-licensed as Apache-2.0 or GPL-3.0. +// see LICENSE for license details. + +use crate::macros::{cfg_jsonrpsee_native, cfg_jsonrpsee_web}; +use serde_json::value::RawValue; + +/// Possible errors encountered trying to fetch a chain spec from an RPC node. +#[derive(thiserror::Error, Debug)] +#[allow(missing_docs)] +pub enum FetchChainspecError { + #[error("Cannot fetch chain spec: RPC error: {0}.")] + RpcError(String), + #[error("Cannot fetch chain spec: Invalid URL.")] + InvalidUrl, + #[error("Cannot fetch chain spec: Invalid URL scheme.")] + InvalidScheme, + #[error("Cannot fetch chain spec: Handshake error establishing WS connection.")] + HandshakeError, +} + +/// Fetch a chain spec from an RPC node at the given URL. +pub async fn fetch_chainspec_from_rpc_node( + url: impl AsRef, +) -> Result, FetchChainspecError> { + use jsonrpsee::core::client::{ClientT, SubscriptionClientT}; + use jsonrpsee::rpc_params; + + let client = jsonrpsee_helpers::client(url.as_ref()).await?; + + let result = client + .request("sync_state_genSyncSpec", jsonrpsee::rpc_params![true]) + .await + .map_err(|err| FetchChainspecError::RpcError(err.to_string()))?; + + // Subscribe to the finalized heads of the chain. + let mut subscription = SubscriptionClientT::subscribe::, _>( + &client, + "chain_subscribeFinalizedHeads", + rpc_params![], + "chain_unsubscribeFinalizedHeads", + ) + .await + .map_err(|err| FetchChainspecError::RpcError(err.to_string()))?; + + // We must ensure that the finalized block of the chain is not the block included + // in the chainSpec. + // This is a temporary workaround for: https://github.com/smol-dot/smoldot/issues/1562. + // The first finalized block that is received might by the finalized block could be the one + // included in the chainSpec. Decoding the chainSpec for this purpose is too complex. + let _ = subscription.next().await; + let _ = subscription.next().await; + + Ok(result) +} + +cfg_jsonrpsee_native! { + mod jsonrpsee_helpers { + use super::FetchChainspecError; + use tokio_util::compat::Compat; + + pub use jsonrpsee::{ + client_transport::ws::{self, EitherStream, Url, WsTransportClientBuilder}, + core::client::Client, + }; + + pub type Sender = ws::Sender>; + pub type Receiver = ws::Receiver>; + + /// Build WS RPC client from URL + pub async fn client(url: &str) -> Result { + let url = Url::parse(url).map_err(|_| FetchChainspecError::InvalidUrl)?; + + if url.scheme() != "ws" && url.scheme() != "wss" { + return Err(FetchChainspecError::InvalidScheme); + } + + let (sender, receiver) = ws_transport(url).await?; + + Ok(Client::builder() + .max_buffer_capacity_per_subscription(4096) + .build_with_tokio(sender, receiver)) + } + + async fn ws_transport(url: Url) -> Result<(Sender, Receiver), FetchChainspecError> { + WsTransportClientBuilder::default() + .build(url) + .await + .map_err(|_| FetchChainspecError::HandshakeError) + } + } +} + +cfg_jsonrpsee_web! { + mod jsonrpsee_helpers { + use super::FetchChainspecError; + pub use jsonrpsee::{ + client_transport::web, + core::client::{Client, ClientBuilder}, + }; + + /// Build web RPC client from URL + pub async fn client(url: &str) -> Result { + let (sender, receiver) = web::connect(url) + .await + .map_err(|_| FetchChainspecError::HandshakeError)?; + + Ok(ClientBuilder::default() + .max_buffer_capacity_per_subscription(4096) + .build_with_wasm(sender, receiver)) + } + } +} diff --git a/subxt/src/utils/mod.rs b/subxt/src/utils/mod.rs index dc9320a303..0bf2c35689 100644 --- a/subxt/src/utils/mod.rs +++ b/subxt/src/utils/mod.rs @@ -4,50 +4,19 @@ //! Miscellaneous utility helpers. -mod account_id; -pub mod bits; -mod era; -mod multi_address; -mod multi_signature; -mod static_type; -mod unchecked_extrinsic; -mod wrapper_opaque; - -use crate::error::RpcError; -use crate::Error; -use codec::{Compact, Decode, Encode}; -use derivative::Derivative; +use crate::macros::cfg_jsonrpsee; +use crate::{error::RpcError, Error}; use url::Url; -pub use account_id::AccountId32; -pub use era::Era; -pub use multi_address::MultiAddress; -pub use multi_signature::MultiSignature; -pub use static_type::Static; -pub use unchecked_extrinsic::UncheckedExtrinsic; -pub use wrapper_opaque::WrapperKeepOpaque; +pub use subxt_core::utils::{ + bits, strip_compact_prefix, to_hex, AccountId32, Encoded, Era, KeyedVec, MultiAddress, + MultiSignature, PhantomDataSendSync, Static, UncheckedExtrinsic, WrapperKeepOpaque, Yes, H160, + H256, H512, +}; -// Used in codegen -#[doc(hidden)] -pub use primitive_types::{H160, H256, H512}; - -/// Wraps an already encoded byte vector, prevents being encoded as a raw byte vector as part of -/// the transaction payload -#[derive(Clone, Debug, Eq, PartialEq)] -pub struct Encoded(pub Vec); - -impl codec::Encode for Encoded { - fn encode(&self) -> Vec { - self.0.to_owned() - } -} - -/// Decodes a compact encoded value from the beginning of the provided bytes, -/// returning the value and any remaining bytes. -pub(crate) fn strip_compact_prefix(bytes: &[u8]) -> Result<(u64, &[u8]), codec::Error> { - let cursor = &mut &*bytes; - let val = >::decode(cursor)?; - Ok((val.0, *cursor)) +cfg_jsonrpsee! { + mod fetch_chain_spec; + pub use fetch_chain_spec::{fetch_chainspec_from_rpc_node, FetchChainspecError}; } /// A URL is considered secure if it uses a secure scheme ("https" or "wss") or is referring to localhost. @@ -74,33 +43,3 @@ pub fn validate_url_is_secure(url: &str) -> Result<(), Error> { Ok(()) } } - -/// A version of [`std::marker::PhantomData`] that is also Send and Sync (which is fine -/// because regardless of the generic param, it is always possible to Send + Sync this -/// 0 size type). -#[derive(Derivative, Encode, Decode, scale_info::TypeInfo)] -#[derivative( - Clone(bound = ""), - PartialEq(bound = ""), - Debug(bound = ""), - Eq(bound = ""), - Default(bound = ""), - Hash(bound = "") -)] -#[scale_info(skip_type_params(T))] -#[doc(hidden)] -pub struct PhantomDataSendSync(core::marker::PhantomData); - -impl PhantomDataSendSync { - pub(crate) fn new() -> Self { - Self(core::marker::PhantomData) - } -} - -unsafe impl Send for PhantomDataSendSync {} -unsafe impl Sync for PhantomDataSendSync {} - -/// This represents a key-value collection and is SCALE compatible -/// with collections like BTreeMap. This has the same type params -/// as `BTreeMap` which allows us to easily swap the two during codegen. -pub type KeyedVec = Vec<(K, V)>; diff --git a/testing/generate-custom-metadata/Cargo.toml b/testing/generate-custom-metadata/Cargo.toml index 9ebff6bb13..14da285a13 100644 --- a/testing/generate-custom-metadata/Cargo.toml +++ b/testing/generate-custom-metadata/Cargo.toml @@ -12,6 +12,6 @@ homepage.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -scale-info = { workspace = true, features = ["bit-vec"] } -frame-metadata = { workspace = true } -codec = { package = "parity-scale-codec", workspace = true, features = ["derive", "bit-vec"] } +scale-info = { workspace = true, features = ["std", "bit-vec"] } +frame-metadata = { workspace = true, features = ["decode", "current"] } +codec = { package = "parity-scale-codec", workspace = true, features = ["std", "derive", "bit-vec"] } diff --git a/testing/integration-tests/Cargo.toml b/testing/integration-tests/Cargo.toml index 27a2c83d9f..122af6a2d3 100644 --- a/testing/integration-tests/Cargo.toml +++ b/testing/integration-tests/Cargo.toml @@ -34,7 +34,7 @@ scale-info = { workspace = true, features = ["bit-vec"] } sp-core = { workspace = true } syn = { workspace = true } subxt = { workspace = true, features = ["unstable-metadata", "native", "jsonrpsee", "substrate-compat"] } -subxt-signer = { workspace = true } +subxt-signer = { workspace = true, features = ["default"] } subxt-codegen = { workspace = true } subxt-metadata = { workspace = true } test-runtime = { workspace = true } diff --git a/testing/integration-tests/src/full_client/client/unstable_rpcs.rs b/testing/integration-tests/src/full_client/client/unstable_rpcs.rs index 7704e0d002..bcf797c263 100644 --- a/testing/integration-tests/src/full_client/client/unstable_rpcs.rs +++ b/testing/integration-tests/src/full_client/client/unstable_rpcs.rs @@ -14,7 +14,9 @@ use subxt::{ FollowEvent, Initialized, MethodResponse, RuntimeEvent, RuntimeVersionEvent, StorageQuery, StorageQueryType, }, - utils::AccountId32, + config::Hasher, + utils::{AccountId32, MultiAddress}, + SubstrateConfig, }; use subxt_signer::sr25519::dev; @@ -32,7 +34,7 @@ async fn chainhead_unstable_follow() { assert_eq!( event, FollowEvent::Initialized(Initialized { - finalized_block_hash, + finalized_block_hashes: vec![finalized_block_hash], finalized_block_runtime: None, }) ); @@ -47,10 +49,10 @@ async fn chainhead_unstable_follow() { assert_matches!( event, FollowEvent::Initialized(init) => { - assert_eq!(init.finalized_block_hash, finalized_block_hash); + assert_eq!(init.finalized_block_hashes, vec![finalized_block_hash]); if let Some(RuntimeEvent::Valid(RuntimeVersionEvent { spec })) = init.finalized_block_runtime { - assert_eq!(spec.spec_version, runtime_version.spec_version); - assert_eq!(spec.transaction_version, runtime_version.transaction_version); + assert_eq!(spec.spec_version, runtime_version.spec_version()); + assert_eq!(spec.transaction_version, runtime_version.transaction_version()); } else { panic!("runtime details not provided with init event, got {:?}", init.finalized_block_runtime); } @@ -66,7 +68,7 @@ async fn chainhead_unstable_body() { let mut blocks = rpc.chainhead_unstable_follow(false).await.unwrap(); let event = blocks.next().await.unwrap().unwrap(); let hash = match event { - FollowEvent::Initialized(init) => init.finalized_block_hash, + FollowEvent::Initialized(init) => init.finalized_block_hashes.last().unwrap().clone(), _ => panic!("Unexpected event"), }; let sub_id = blocks.subscription_id().unwrap(); @@ -95,7 +97,7 @@ async fn chainhead_unstable_header() { let mut blocks = rpc.chainhead_unstable_follow(false).await.unwrap(); let event = blocks.next().await.unwrap().unwrap(); let hash = match event { - FollowEvent::Initialized(init) => init.finalized_block_hash, + FollowEvent::Initialized(init) => init.finalized_block_hashes.last().unwrap().clone(), _ => panic!("Unexpected event"), }; let sub_id = blocks.subscription_id().unwrap(); @@ -123,7 +125,7 @@ async fn chainhead_unstable_storage() { let mut blocks = rpc.chainhead_unstable_follow(false).await.unwrap(); let event = blocks.next().await.unwrap().unwrap(); let hash = match event { - FollowEvent::Initialized(init) => init.finalized_block_hash, + FollowEvent::Initialized(init) => init.finalized_block_hashes.last().unwrap().clone(), _ => panic!("Unexpected event"), }; let sub_id = blocks.subscription_id().unwrap(); @@ -168,7 +170,7 @@ async fn chainhead_unstable_call() { let mut blocks = rpc.chainhead_unstable_follow(true).await.unwrap(); let event = blocks.next().await.unwrap().unwrap(); let hash = match event { - FollowEvent::Initialized(init) => init.finalized_block_hash, + FollowEvent::Initialized(init) => init.finalized_block_hashes.last().unwrap().clone(), _ => panic!("Unexpected event"), }; let sub_id = blocks.subscription_id().unwrap(); @@ -205,7 +207,7 @@ async fn chainhead_unstable_unpin() { let mut blocks = rpc.chainhead_unstable_follow(true).await.unwrap(); let event = blocks.next().await.unwrap().unwrap(); let hash = match event { - FollowEvent::Initialized(init) => init.finalized_block_hash, + FollowEvent::Initialized(init) => init.finalized_block_hashes.last().unwrap().clone(), _ => panic!("Unexpected event"), }; let sub_id = blocks.subscription_id().unwrap(); @@ -261,7 +263,7 @@ async fn transaction_unstable_submit_and_watch() { let tx_bytes = ctx .client() .tx() - .create_signed_with_nonce(&payload, &dev::alice(), 0, Default::default()) + .create_signed_offline(&payload, &dev::alice(), Default::default()) .unwrap() .into_encoded(); @@ -309,3 +311,108 @@ async fn next_operation_event< panic!("Cannot find operation related event after {NUM_EVENTS} produced events"); } + +#[tokio::test] +async fn transaction_unstable_broadcast() { + let bob = dev::bob(); + let bob_address: MultiAddress = bob.public_key().into(); + + let ctx = test_context().await; + let api = ctx.client(); + let rpc = ctx.unstable_rpc_methods().await; + + let tx = node_runtime::tx() + .balances() + .transfer_allow_death(bob_address.clone(), 10_001); + + let tx_bytes = ctx + .client() + .tx() + .create_signed_offline(&tx, &dev::alice(), Default::default()) + .unwrap() + .into_encoded(); + + let tx_hash = ::Hasher::hash(&tx_bytes[2..]); + + // Subscribe to finalized blocks. + let mut finalized_sub = api.blocks().subscribe_finalized().await.unwrap(); + // Expect the tx to be encountered in a maximum number of blocks. + let mut num_blocks: usize = 10; + + // Submit the transaction. + let _operation_id = rpc + .transaction_unstable_broadcast(&tx_bytes) + .await + .unwrap() + .expect("Server is not overloaded by 1 tx; qed"); + + while let Some(finalized) = finalized_sub.next().await { + let finalized = finalized.unwrap(); + + // Started with positive, should not overflow. + num_blocks = num_blocks.saturating_sub(1); + if num_blocks == 0 { + panic!("Did not find the tx in due time"); + } + + let extrinsics = finalized.extrinsics().await.unwrap(); + let block_extrinsics = extrinsics + .iter() + .map(|res| res.unwrap()) + .collect::>(); + + let Some(ext) = block_extrinsics + .iter() + .find(|ext| ::Hasher::hash(ext.bytes()) == tx_hash) + else { + continue; + }; + + let ext = ext + .as_extrinsic::() + .unwrap() + .unwrap(); + assert_eq!(ext.value, 10_001); + return; + } +} + +#[tokio::test] +async fn transaction_unstable_stop() { + let bob = dev::bob(); + let bob_address: MultiAddress = bob.public_key().into(); + + let ctx = test_context().await; + let rpc = ctx.unstable_rpc_methods().await; + + // Cannot stop an operation that was not started. + let _err = rpc + .transaction_unstable_stop("non-existent-operation-id") + .await + .unwrap_err(); + + // Submit a transaction and stop it. + let tx = node_runtime::tx() + .balances() + .transfer_allow_death(bob_address.clone(), 10_001); + let tx_bytes = ctx + .client() + .tx() + .create_signed_offline(&tx, &dev::alice(), Default::default()) + .unwrap() + .into_encoded(); + + // Submit the transaction. + let operation_id = rpc + .transaction_unstable_broadcast(&tx_bytes) + .await + .unwrap() + .expect("Server is not overloaded by 1 tx; qed"); + + let _ = rpc.transaction_unstable_stop(&operation_id).await.unwrap(); + // Cannot stop it twice. + let _err = rpc + .transaction_unstable_stop(&operation_id) + .await + .unwrap_err(); +} diff --git a/testing/integration-tests/src/full_client/codegen/codegen_tests.rs b/testing/integration-tests/src/full_client/codegen/codegen_tests.rs deleted file mode 100644 index 5722270e24..0000000000 --- a/testing/integration-tests/src/full_client/codegen/codegen_tests.rs +++ /dev/null @@ -1,214 +0,0 @@ -// Copyright 2019-2023 Parity Technologies (UK) Ltd. -// This file is dual-licensed as Apache-2.0 or GPL-3.0. -// see LICENSE for license details. - -use frame_metadata::{ - v15::{ExtrinsicMetadata, RuntimeMetadataV15}, - RuntimeMetadataPrefixed, -}; -use scale_info::{meta_type, IntoPortable, PortableRegistry, Registry, TypeInfo}; -use subxt_codegen::CodegenBuilder; -use syn::__private::quote; - -fn generate_runtime_interface_from_metadata(metadata: RuntimeMetadataPrefixed) -> String { - // Generate a runtime interface from the provided metadata. - let metadata = metadata - .try_into() - .expect("frame_metadata should be convertible into Metadata"); - - CodegenBuilder::new() - .no_docs() - .generate(metadata) - .expect("API generation must be valid") - .to_string() -} - -fn generate_runtime_interface_with_type_registry(f: F) -> String -where - F: Fn(&mut scale_info::Registry), -{ - #[derive(TypeInfo)] - struct Runtime; - #[derive(TypeInfo)] - enum RuntimeCall {} - #[derive(TypeInfo)] - enum RuntimeEvent {} - #[derive(TypeInfo)] - pub enum DispatchError {} - - // We need these types for codegen to work: - let mut registry = scale_info::Registry::new(); - let ty = registry.register_type(&meta_type::()); - registry.register_type(&meta_type::()); - registry.register_type(&meta_type::()); - registry.register_type(&meta_type::()); - - // Allow custom types to be added for testing: - f(&mut registry); - - let extrinsic = ExtrinsicMetadata { - ty: meta_type::<()>(), - version: 0, - signed_extensions: vec![], - } - .into_portable(&mut registry); - let metadata = RuntimeMetadataV15 { - types: registry.into(), - pallets: Vec::new(), - extrinsic, - ty, - apis: vec![], - }; - - let metadata = RuntimeMetadataPrefixed::from(metadata); - generate_runtime_interface_from_metadata(metadata) -} - -#[test] -fn dupe_types_do_not_overwrite_each_other() { - let interface = generate_runtime_interface_with_type_registry(|registry| { - // Now we duplicate some types with same type info. We need two unique types here, - // and can't just add one type to the registry twice, because the registry knows if - // type IDs are the same. - enum Foo {} - impl TypeInfo for Foo { - type Identity = Self; - fn type_info() -> scale_info::Type { - scale_info::Type::builder() - .path(scale_info::Path::new("DuplicateType", "dupe_mod")) - .variant( - scale_info::build::Variants::new() - .variant("FirstDupeTypeVariant", |builder| builder.index(0)), - ) - } - } - enum Bar {} - impl TypeInfo for Bar { - type Identity = Self; - fn type_info() -> scale_info::Type { - scale_info::Type::builder() - .path(scale_info::Path::new("DuplicateType", "dupe_mod")) - .variant( - scale_info::build::Variants::new() - .variant("SecondDupeTypeVariant", |builder| builder.index(0)), - ) - } - } - - registry.register_type(&meta_type::()); - registry.register_type(&meta_type::()); - }); - - assert!(interface.contains("DuplicateType")); - assert!(interface.contains("FirstDupeTypeVariant")); - - assert!(interface.contains("DuplicateType2")); - assert!(interface.contains("SecondDupeTypeVariant")); -} - -#[test] -fn generic_types_overwrite_each_other() { - let interface = generate_runtime_interface_with_type_registry(|registry| { - // If we have two types mentioned in the registry that have generic params, - // only one type will be output (the codegen assumes that the generic param will disambiguate) - enum Foo {} - impl TypeInfo for Foo { - type Identity = Self; - fn type_info() -> scale_info::Type { - scale_info::Type::builder() - .path(scale_info::Path::new("DuplicateType", "dupe_mod")) - .type_params([scale_info::TypeParameter::new("T", Some(meta_type::()))]) - .variant(scale_info::build::Variants::new()) - } - } - enum Bar {} - impl TypeInfo for Bar { - type Identity = Self; - fn type_info() -> scale_info::Type { - scale_info::Type::builder() - .path(scale_info::Path::new("DuplicateType", "dupe_mod")) - .type_params([scale_info::TypeParameter::new("T", Some(meta_type::()))]) - .variant(scale_info::build::Variants::new()) - } - } - - registry.register_type(&meta_type::()); - registry.register_type(&meta_type::()); - }); - - assert!(interface.contains("DuplicateType")); - // We do _not_ expect this to exist, since a generic is present on the type: - assert!(!interface.contains("DuplicateType2")); -} - -#[test] -fn more_than_1_generic_parameters_work() { - #[allow(unused)] - #[derive(TypeInfo)] - struct Foo { - a: T, - b: U, - c: V, - d: W, - } - - #[allow(unused)] - #[derive(TypeInfo)] - struct Bar { - p: Foo, - q: Foo, - } - - let mut registry = Registry::new(); - registry.register_type(&meta_type::()); - let portable_types: PortableRegistry = registry.into(); - - let type_gen = subxt_codegen::TypeGenerator::new( - &portable_types, - "root", - Default::default(), - Default::default(), - CratePath::default(), - false, - ); - - let types = type_gen.generate_types_mod().unwrap(); - let generated_mod = quote::quote!( #types); - - let expected_mod = quote::quote! { - pub mod root { - use super::root; - pub mod integration_tests { - use super::root; - pub mod codegen { - use super::root; - pub mod codegen_tests { - use super::root; - pub struct Bar { - pub p: root::integration_tests::codegen::codegen_tests::Foo< - ::core::primitive::u32, - ::core::primitive::u32, - ::core::primitive::u64, - ::core::primitive::u128 - >, - pub q: root::integration_tests::codegen::codegen_tests::Foo< - ::core::primitive::u8, - ::core::primitive::u8, - ::core::primitive::u8, - ::core::primitive::u8 - >, - } - pub struct Foo<_0, _1, _2, _3> { - pub a: _0, - pub b: _1, - pub c: _2, - pub d: _3, - } - } - } - } - } - }; - - assert_eq!(generated_mod.to_string(), expected_mod.to_string()); -} diff --git a/testing/integration-tests/src/full_client/codegen/documentation.rs b/testing/integration-tests/src/full_client/codegen/documentation.rs index 8eead47760..fea4e78f64 100644 --- a/testing/integration-tests/src/full_client/codegen/documentation.rs +++ b/testing/integration-tests/src/full_client/codegen/documentation.rs @@ -4,7 +4,7 @@ use codec::Decode; use regex::Regex; -use subxt_codegen::{ syn, CodegenBuilder }; +use subxt_codegen::{syn, CodegenBuilder}; use subxt_metadata::Metadata; fn load_test_metadata() -> Metadata { diff --git a/testing/integration-tests/src/full_client/codegen/mod.rs b/testing/integration-tests/src/full_client/codegen/mod.rs index f2b3a97658..e17b92a0b7 100644 --- a/testing/integration-tests/src/full_client/codegen/mod.rs +++ b/testing/integration-tests/src/full_client/codegen/mod.rs @@ -14,5 +14,4 @@ #[allow(clippy::all)] mod polkadot; -mod codegen_tests; mod documentation; diff --git a/testing/integration-tests/src/full_client/codegen/polkadot.rs b/testing/integration-tests/src/full_client/codegen/polkadot.rs index 1e3fd1092b..e25d14d698 100644 --- a/testing/integration-tests/src/full_client/codegen/polkadot.rs +++ b/testing/integration-tests/src/full_client/codegen/polkadot.rs @@ -6,7 +6,7 @@ pub mod api { mod root_mod { pub use super::*; } - pub static PALLETS: [&str; 65usize] = [ + pub static PALLETS: [&str; 64usize] = [ "System", "Babe", "Timestamp", @@ -70,7 +70,6 @@ pub mod api { "AssignedSlots", "ValidatorManager", "StateTrieMigration", - "RootTesting", "Sudo", ]; pub static RUNTIME_APIS: [&str; 16usize] = [ @@ -114,7 +113,7 @@ pub mod api { pub mod runtime_apis { use super::root_mod; use super::runtime_types; - use subxt::ext::codec::Encode; + use subxt::ext::subxt_core::ext::codec::Encode; pub struct RuntimeApi; impl RuntimeApi { pub fn core(&self) -> core::Core { @@ -181,9 +180,11 @@ pub mod api { #[doc = " Returns the version of the runtime."] pub fn version( &self, - ) -> ::subxt::runtime_api::Payload - { - ::subxt::runtime_api::Payload::new_static( + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< + types::Version, + types::version::output::Output, + > { + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "Core", "version", types::Version {}, @@ -199,11 +200,11 @@ pub mod api { pub fn execute_block( &self, block: types::execute_block::Block, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::ExecuteBlock, types::execute_block::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "Core", "execute_block", types::ExecuteBlock { block }, @@ -218,11 +219,11 @@ pub mod api { pub fn initialize_block( &self, header: types::initialize_block::Header, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::InitializeBlock, types::initialize_block::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "Core", "initialize_block", types::InitializeBlock { header }, @@ -244,34 +245,42 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Version {} pub mod execute_block { use super::runtime_types; - pub type Block = runtime_types :: sp_runtime :: generic :: block :: Block < runtime_types :: sp_runtime :: generic :: header :: Header < :: core :: primitive :: u32 > , :: subxt :: utils :: UncheckedExtrinsic < :: subxt :: utils :: MultiAddress < :: subxt :: utils :: AccountId32 , () > , runtime_types :: rococo_runtime :: RuntimeCall , runtime_types :: sp_runtime :: MultiSignature , (runtime_types :: frame_system :: extensions :: check_non_zero_sender :: CheckNonZeroSender , runtime_types :: frame_system :: extensions :: check_spec_version :: CheckSpecVersion , runtime_types :: frame_system :: extensions :: check_tx_version :: CheckTxVersion , runtime_types :: frame_system :: extensions :: check_genesis :: CheckGenesis , runtime_types :: frame_system :: extensions :: check_mortality :: CheckMortality , runtime_types :: frame_system :: extensions :: check_nonce :: CheckNonce , runtime_types :: frame_system :: extensions :: check_weight :: CheckWeight , runtime_types :: pallet_transaction_payment :: ChargeTransactionPayment ,) > > ; + pub type Block = runtime_types :: sp_runtime :: generic :: block :: Block < runtime_types :: sp_runtime :: generic :: header :: Header < :: core :: primitive :: u32 > , :: subxt :: ext :: subxt_core :: utils :: UncheckedExtrinsic < :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , () > , runtime_types :: rococo_runtime :: RuntimeCall , runtime_types :: sp_runtime :: MultiSignature , (runtime_types :: frame_system :: extensions :: check_non_zero_sender :: CheckNonZeroSender , runtime_types :: frame_system :: extensions :: check_spec_version :: CheckSpecVersion , runtime_types :: frame_system :: extensions :: check_tx_version :: CheckTxVersion , runtime_types :: frame_system :: extensions :: check_genesis :: CheckGenesis , runtime_types :: frame_system :: extensions :: check_mortality :: CheckMortality , runtime_types :: frame_system :: extensions :: check_nonce :: CheckNonce , runtime_types :: frame_system :: extensions :: check_weight :: CheckWeight , runtime_types :: pallet_transaction_payment :: ChargeTransactionPayment ,) > > ; pub mod output { use super::runtime_types; pub type Output = (); } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct ExecuteBlock { pub block: execute_block::Block, } @@ -285,15 +294,19 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct InitializeBlock { pub header: initialize_block::Header, } @@ -308,9 +321,11 @@ pub mod api { #[doc = " Returns the metadata of a runtime."] pub fn metadata( &self, - ) -> ::subxt::runtime_api::Payload - { - ::subxt::runtime_api::Payload::new_static( + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< + types::Metadata, + types::metadata::output::Output, + > { + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "Metadata", "metadata", types::Metadata {}, @@ -328,11 +343,11 @@ pub mod api { pub fn metadata_at_version( &self, version: types::metadata_at_version::Version, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::MetadataAtVersion, types::metadata_at_version::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "Metadata", "metadata_at_version", types::MetadataAtVersion { version }, @@ -349,11 +364,11 @@ pub mod api { #[doc = " This can be used to call `metadata_at_version`."] pub fn metadata_versions( &self, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::MetadataVersions, types::metadata_versions::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "Metadata", "metadata_versions", types::MetadataVersions {}, @@ -376,15 +391,19 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Metadata {} pub mod metadata_at_version { use super::runtime_types; @@ -396,15 +415,19 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct MetadataAtVersion { pub version: metadata_at_version::Version, } @@ -412,19 +435,24 @@ pub mod api { use super::runtime_types; pub mod output { use super::runtime_types; - pub type Output = ::std::vec::Vec<::core::primitive::u32>; + pub type Output = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u32>; } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct MetadataVersions {} } } @@ -441,11 +469,11 @@ pub mod api { pub fn apply_extrinsic( &self, extrinsic: types::apply_extrinsic::Extrinsic, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::ApplyExtrinsic, types::apply_extrinsic::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "BlockBuilder", "apply_extrinsic", types::ApplyExtrinsic { extrinsic }, @@ -459,11 +487,11 @@ pub mod api { #[doc = " Finish the current block."] pub fn finalize_block( &self, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::FinalizeBlock, types::finalize_block::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "BlockBuilder", "finalize_block", types::FinalizeBlock {}, @@ -478,11 +506,11 @@ pub mod api { pub fn inherent_extrinsics( &self, inherent: types::inherent_extrinsics::Inherent, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::InherentExtrinsics, types::inherent_extrinsics::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "BlockBuilder", "inherent_extrinsics", types::InherentExtrinsics { inherent }, @@ -499,11 +527,11 @@ pub mod api { &self, block: types::check_inherents::Block, data: types::check_inherents::Data, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::CheckInherents, types::check_inherents::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "BlockBuilder", "check_inherents", types::CheckInherents { block, data }, @@ -520,22 +548,26 @@ pub mod api { use super::runtime_types; pub mod apply_extrinsic { use super::runtime_types; - pub type Extrinsic = :: subxt :: utils :: UncheckedExtrinsic < :: subxt :: utils :: MultiAddress < :: subxt :: utils :: AccountId32 , () > , runtime_types :: rococo_runtime :: RuntimeCall , runtime_types :: sp_runtime :: MultiSignature , (runtime_types :: frame_system :: extensions :: check_non_zero_sender :: CheckNonZeroSender , runtime_types :: frame_system :: extensions :: check_spec_version :: CheckSpecVersion , runtime_types :: frame_system :: extensions :: check_tx_version :: CheckTxVersion , runtime_types :: frame_system :: extensions :: check_genesis :: CheckGenesis , runtime_types :: frame_system :: extensions :: check_mortality :: CheckMortality , runtime_types :: frame_system :: extensions :: check_nonce :: CheckNonce , runtime_types :: frame_system :: extensions :: check_weight :: CheckWeight , runtime_types :: pallet_transaction_payment :: ChargeTransactionPayment ,) > ; + pub type Extrinsic = :: subxt :: ext :: subxt_core :: utils :: UncheckedExtrinsic < :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , () > , runtime_types :: rococo_runtime :: RuntimeCall , runtime_types :: sp_runtime :: MultiSignature , (runtime_types :: frame_system :: extensions :: check_non_zero_sender :: CheckNonZeroSender , runtime_types :: frame_system :: extensions :: check_spec_version :: CheckSpecVersion , runtime_types :: frame_system :: extensions :: check_tx_version :: CheckTxVersion , runtime_types :: frame_system :: extensions :: check_genesis :: CheckGenesis , runtime_types :: frame_system :: extensions :: check_mortality :: CheckMortality , runtime_types :: frame_system :: extensions :: check_nonce :: CheckNonce , runtime_types :: frame_system :: extensions :: check_weight :: CheckWeight , runtime_types :: pallet_transaction_payment :: ChargeTransactionPayment ,) > ; pub mod output { use super::runtime_types; pub type Output = :: core :: result :: Result < :: core :: result :: Result < () , runtime_types :: sp_runtime :: DispatchError > , runtime_types :: sp_runtime :: transaction_validity :: TransactionValidityError > ; } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct ApplyExtrinsic { pub extrinsic: apply_extrinsic::Extrinsic, } @@ -549,40 +581,48 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct FinalizeBlock {} pub mod inherent_extrinsics { use super::runtime_types; pub type Inherent = runtime_types::sp_inherents::InherentData; pub mod output { use super::runtime_types; - pub type Output = :: std :: vec :: Vec < :: subxt :: utils :: UncheckedExtrinsic < :: subxt :: utils :: MultiAddress < :: subxt :: utils :: AccountId32 , () > , runtime_types :: rococo_runtime :: RuntimeCall , runtime_types :: sp_runtime :: MultiSignature , (runtime_types :: frame_system :: extensions :: check_non_zero_sender :: CheckNonZeroSender , runtime_types :: frame_system :: extensions :: check_spec_version :: CheckSpecVersion , runtime_types :: frame_system :: extensions :: check_tx_version :: CheckTxVersion , runtime_types :: frame_system :: extensions :: check_genesis :: CheckGenesis , runtime_types :: frame_system :: extensions :: check_mortality :: CheckMortality , runtime_types :: frame_system :: extensions :: check_nonce :: CheckNonce , runtime_types :: frame_system :: extensions :: check_weight :: CheckWeight , runtime_types :: pallet_transaction_payment :: ChargeTransactionPayment ,) > > ; + pub type Output = :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < :: subxt :: ext :: subxt_core :: utils :: UncheckedExtrinsic < :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , () > , runtime_types :: rococo_runtime :: RuntimeCall , runtime_types :: sp_runtime :: MultiSignature , (runtime_types :: frame_system :: extensions :: check_non_zero_sender :: CheckNonZeroSender , runtime_types :: frame_system :: extensions :: check_spec_version :: CheckSpecVersion , runtime_types :: frame_system :: extensions :: check_tx_version :: CheckTxVersion , runtime_types :: frame_system :: extensions :: check_genesis :: CheckGenesis , runtime_types :: frame_system :: extensions :: check_mortality :: CheckMortality , runtime_types :: frame_system :: extensions :: check_nonce :: CheckNonce , runtime_types :: frame_system :: extensions :: check_weight :: CheckWeight , runtime_types :: pallet_transaction_payment :: ChargeTransactionPayment ,) > > ; } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct InherentExtrinsics { pub inherent: inherent_extrinsics::Inherent, } pub mod check_inherents { use super::runtime_types; - pub type Block = runtime_types :: sp_runtime :: generic :: block :: Block < runtime_types :: sp_runtime :: generic :: header :: Header < :: core :: primitive :: u32 > , :: subxt :: utils :: UncheckedExtrinsic < :: subxt :: utils :: MultiAddress < :: subxt :: utils :: AccountId32 , () > , runtime_types :: rococo_runtime :: RuntimeCall , runtime_types :: sp_runtime :: MultiSignature , (runtime_types :: frame_system :: extensions :: check_non_zero_sender :: CheckNonZeroSender , runtime_types :: frame_system :: extensions :: check_spec_version :: CheckSpecVersion , runtime_types :: frame_system :: extensions :: check_tx_version :: CheckTxVersion , runtime_types :: frame_system :: extensions :: check_genesis :: CheckGenesis , runtime_types :: frame_system :: extensions :: check_mortality :: CheckMortality , runtime_types :: frame_system :: extensions :: check_nonce :: CheckNonce , runtime_types :: frame_system :: extensions :: check_weight :: CheckWeight , runtime_types :: pallet_transaction_payment :: ChargeTransactionPayment ,) > > ; + pub type Block = runtime_types :: sp_runtime :: generic :: block :: Block < runtime_types :: sp_runtime :: generic :: header :: Header < :: core :: primitive :: u32 > , :: subxt :: ext :: subxt_core :: utils :: UncheckedExtrinsic < :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , () > , runtime_types :: rococo_runtime :: RuntimeCall , runtime_types :: sp_runtime :: MultiSignature , (runtime_types :: frame_system :: extensions :: check_non_zero_sender :: CheckNonZeroSender , runtime_types :: frame_system :: extensions :: check_spec_version :: CheckSpecVersion , runtime_types :: frame_system :: extensions :: check_tx_version :: CheckTxVersion , runtime_types :: frame_system :: extensions :: check_genesis :: CheckGenesis , runtime_types :: frame_system :: extensions :: check_mortality :: CheckMortality , runtime_types :: frame_system :: extensions :: check_nonce :: CheckNonce , runtime_types :: frame_system :: extensions :: check_weight :: CheckWeight , runtime_types :: pallet_transaction_payment :: ChargeTransactionPayment ,) > > ; pub type Data = runtime_types::sp_inherents::InherentData; pub mod output { use super::runtime_types; @@ -590,15 +630,19 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct CheckInherents { pub block: check_inherents::Block, pub data: check_inherents::Data, @@ -625,11 +669,11 @@ pub mod api { source: types::validate_transaction::Source, tx: types::validate_transaction::Tx, block_hash: types::validate_transaction::BlockHash, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::ValidateTransaction, types::validate_transaction::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "TaggedTransactionQueue", "validate_transaction", types::ValidateTransaction { @@ -651,23 +695,27 @@ pub mod api { use super::runtime_types; pub type Source = runtime_types::sp_runtime::transaction_validity::TransactionSource; - pub type Tx = :: subxt :: utils :: UncheckedExtrinsic < :: subxt :: utils :: MultiAddress < :: subxt :: utils :: AccountId32 , () > , runtime_types :: rococo_runtime :: RuntimeCall , runtime_types :: sp_runtime :: MultiSignature , (runtime_types :: frame_system :: extensions :: check_non_zero_sender :: CheckNonZeroSender , runtime_types :: frame_system :: extensions :: check_spec_version :: CheckSpecVersion , runtime_types :: frame_system :: extensions :: check_tx_version :: CheckTxVersion , runtime_types :: frame_system :: extensions :: check_genesis :: CheckGenesis , runtime_types :: frame_system :: extensions :: check_mortality :: CheckMortality , runtime_types :: frame_system :: extensions :: check_nonce :: CheckNonce , runtime_types :: frame_system :: extensions :: check_weight :: CheckWeight , runtime_types :: pallet_transaction_payment :: ChargeTransactionPayment ,) > ; - pub type BlockHash = ::subxt::utils::H256; + pub type Tx = :: subxt :: ext :: subxt_core :: utils :: UncheckedExtrinsic < :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , () > , runtime_types :: rococo_runtime :: RuntimeCall , runtime_types :: sp_runtime :: MultiSignature , (runtime_types :: frame_system :: extensions :: check_non_zero_sender :: CheckNonZeroSender , runtime_types :: frame_system :: extensions :: check_spec_version :: CheckSpecVersion , runtime_types :: frame_system :: extensions :: check_tx_version :: CheckTxVersion , runtime_types :: frame_system :: extensions :: check_genesis :: CheckGenesis , runtime_types :: frame_system :: extensions :: check_mortality :: CheckMortality , runtime_types :: frame_system :: extensions :: check_nonce :: CheckNonce , runtime_types :: frame_system :: extensions :: check_weight :: CheckWeight , runtime_types :: pallet_transaction_payment :: ChargeTransactionPayment ,) > ; + pub type BlockHash = ::subxt::ext::subxt_core::utils::H256; pub mod output { use super::runtime_types; pub type Output = :: core :: result :: Result < runtime_types :: sp_runtime :: transaction_validity :: ValidTransaction , runtime_types :: sp_runtime :: transaction_validity :: TransactionValidityError > ; } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct ValidateTransaction { pub source: validate_transaction::Source, pub tx: validate_transaction::Tx, @@ -685,11 +733,11 @@ pub mod api { pub fn offchain_worker( &self, header: types::offchain_worker::Header, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::OffchainWorker, types::offchain_worker::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "OffchainWorkerApi", "offchain_worker", types::OffchainWorker { header }, @@ -713,15 +761,19 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct OffchainWorker { pub header: offchain_worker::Header, } @@ -736,11 +788,11 @@ pub mod api { #[doc = " Get the current validators."] pub fn validators( &self, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::Validators, types::validators::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "ParachainHost", "validators", types::Validators {}, @@ -757,11 +809,11 @@ pub mod api { #[doc = " should be the successor of the number of the block."] pub fn validator_groups( &self, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::ValidatorGroups, types::validator_groups::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "ParachainHost", "validator_groups", types::ValidatorGroups {}, @@ -777,11 +829,11 @@ pub mod api { #[doc = " Cores are either free or occupied. Free cores can have paras assigned to them."] pub fn availability_cores( &self, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::AvailabilityCores, types::availability_cores::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "ParachainHost", "availability_cores", types::AvailabilityCores {}, @@ -801,11 +853,11 @@ pub mod api { &self, para_id: types::persisted_validation_data::ParaId, assumption: types::persisted_validation_data::Assumption, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::PersistedValidationData, types::persisted_validation_data::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "ParachainHost", "persisted_validation_data", types::PersistedValidationData { @@ -826,11 +878,11 @@ pub mod api { &self, para_id: types::assumed_validation_data::ParaId, expected_persisted_validation_data_hash : types :: assumed_validation_data :: ExpectedPersistedValidationDataHash, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::AssumedValidationData, types::assumed_validation_data::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "ParachainHost", "assumed_validation_data", types::AssumedValidationData { @@ -849,11 +901,11 @@ pub mod api { &self, para_id: types::check_validation_outputs::ParaId, outputs: types::check_validation_outputs::Outputs, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::CheckValidationOutputs, types::check_validation_outputs::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "ParachainHost", "check_validation_outputs", types::CheckValidationOutputs { para_id, outputs }, @@ -870,11 +922,11 @@ pub mod api { #[doc = " This can be used to instantiate a `SigningContext`."] pub fn session_index_for_child( &self, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::SessionIndexForChild, types::session_index_for_child::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "ParachainHost", "session_index_for_child", types::SessionIndexForChild {}, @@ -893,11 +945,11 @@ pub mod api { &self, para_id: types::validation_code::ParaId, assumption: types::validation_code::Assumption, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::ValidationCode, types::validation_code::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "ParachainHost", "validation_code", types::ValidationCode { @@ -917,11 +969,11 @@ pub mod api { pub fn candidate_pending_availability( &self, para_id: types::candidate_pending_availability::ParaId, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::CandidatePendingAvailability, types::candidate_pending_availability::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "ParachainHost", "candidate_pending_availability", types::CandidatePendingAvailability { para_id }, @@ -936,11 +988,11 @@ pub mod api { #[doc = " Get a vector of events concerning candidates that occurred within a block."] pub fn candidate_events( &self, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::CandidateEvents, types::candidate_events::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "ParachainHost", "candidate_events", types::CandidateEvents {}, @@ -956,11 +1008,11 @@ pub mod api { pub fn dmq_contents( &self, recipient: types::dmq_contents::Recipient, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::DmqContents, types::dmq_contents::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "ParachainHost", "dmq_contents", types::DmqContents { recipient }, @@ -976,11 +1028,11 @@ pub mod api { pub fn inbound_hrmp_channels_contents( &self, recipient: types::inbound_hrmp_channels_contents::Recipient, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::InboundHrmpChannelsContents, types::inbound_hrmp_channels_contents::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "ParachainHost", "inbound_hrmp_channels_contents", types::InboundHrmpChannelsContents { recipient }, @@ -995,11 +1047,11 @@ pub mod api { pub fn validation_code_by_hash( &self, hash: types::validation_code_by_hash::Hash, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::ValidationCodeByHash, types::validation_code_by_hash::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "ParachainHost", "validation_code_by_hash", types::ValidationCodeByHash { hash }, @@ -1014,11 +1066,11 @@ pub mod api { #[doc = " Scrape dispute relevant from on-chain, backing votes and resolved disputes."] pub fn on_chain_votes( &self, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::OnChainVotes, types::on_chain_votes::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "ParachainHost", "on_chain_votes", types::OnChainVotes {}, @@ -1035,11 +1087,11 @@ pub mod api { pub fn session_info( &self, index: types::session_info::Index, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::SessionInfo, types::session_info::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "ParachainHost", "session_info", types::SessionInfo { index }, @@ -1058,11 +1110,11 @@ pub mod api { &self, stmt: types::submit_pvf_check_statement::Stmt, signature: types::submit_pvf_check_statement::Signature, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::SubmitPvfCheckStatement, types::submit_pvf_check_statement::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "ParachainHost", "submit_pvf_check_statement", types::SubmitPvfCheckStatement { stmt, signature }, @@ -1079,11 +1131,11 @@ pub mod api { #[doc = " NOTE: This function is only available since parachain host version 2."] pub fn pvfs_require_precheck( &self, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::PvfsRequirePrecheck, types::pvfs_require_precheck::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "ParachainHost", "pvfs_require_precheck", types::PvfsRequirePrecheck {}, @@ -1101,11 +1153,11 @@ pub mod api { &self, para_id: types::validation_code_hash::ParaId, assumption: types::validation_code_hash::Assumption, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::ValidationCodeHash, types::validation_code_hash::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "ParachainHost", "validation_code_hash", types::ValidationCodeHash { @@ -1123,9 +1175,11 @@ pub mod api { #[doc = " Returns all onchain disputes."] pub fn disputes( &self, - ) -> ::subxt::runtime_api::Payload - { - ::subxt::runtime_api::Payload::new_static( + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< + types::Disputes, + types::disputes::output::Output, + > { + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "ParachainHost", "disputes", types::Disputes {}, @@ -1140,11 +1194,11 @@ pub mod api { pub fn session_executor_params( &self, session_index: types::session_executor_params::SessionIndex, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::SessionExecutorParams, types::session_executor_params::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "ParachainHost", "session_executor_params", types::SessionExecutorParams { session_index }, @@ -1159,11 +1213,11 @@ pub mod api { #[doc = " NOTE: This function is only available since parachain host version 5."] pub fn unapplied_slashes( &self, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::UnappliedSlashes, types::unapplied_slashes::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "ParachainHost", "unapplied_slashes", types::UnappliedSlashes {}, @@ -1179,11 +1233,11 @@ pub mod api { pub fn key_ownership_proof( &self, validator_id: types::key_ownership_proof::ValidatorId, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::KeyOwnershipProof, types::key_ownership_proof::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "ParachainHost", "key_ownership_proof", types::KeyOwnershipProof { validator_id }, @@ -1201,11 +1255,11 @@ pub mod api { &self, dispute_proof: types::submit_report_dispute_lost::DisputeProof, key_ownership_proof: types::submit_report_dispute_lost::KeyOwnershipProof, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::SubmitReportDisputeLost, types::submit_report_dispute_lost::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "ParachainHost", "submit_report_dispute_lost", types::SubmitReportDisputeLost { @@ -1223,11 +1277,11 @@ pub mod api { #[doc = " This is a staging method! Do not use on production runtimes!"] pub fn minimum_backing_votes( &self, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::MinimumBackingVotes, types::minimum_backing_votes::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "ParachainHost", "minimum_backing_votes", types::MinimumBackingVotes {}, @@ -1243,11 +1297,11 @@ pub mod api { pub fn para_backing_state( &self, _0: types::para_backing_state::Param0, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::ParaBackingState, types::para_backing_state::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "ParachainHost", "para_backing_state", types::ParaBackingState { _0 }, @@ -1261,11 +1315,11 @@ pub mod api { #[doc = " Returns candidate's acceptance limitations for asynchronous backing for a relay parent."] pub fn async_backing_params( &self, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::AsyncBackingParams, types::async_backing_params::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "ParachainHost", "async_backing_params", types::AsyncBackingParams {}, @@ -1280,11 +1334,11 @@ pub mod api { #[doc = " Returns a list of all disabled validators at the given block."] pub fn disabled_validators( &self, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::DisabledValidators, types::disabled_validators::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "ParachainHost", "disabled_validators", types::DisabledValidators {}, @@ -1303,29 +1357,33 @@ pub mod api { use super::runtime_types; pub mod output { use super::runtime_types; - pub type Output = ::std::vec::Vec< + pub type Output = ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_primitives::v6::validator_app::Public, >; } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Validators {} pub mod validator_groups { use super::runtime_types; pub mod output { use super::runtime_types; pub type Output = ( - ::std::vec::Vec< - ::std::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_primitives::v6::ValidatorIndex, >, >, @@ -1336,38 +1394,46 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct ValidatorGroups {} pub mod availability_cores { use super::runtime_types; pub mod output { use super::runtime_types; - pub type Output = ::std::vec::Vec< + pub type Output = ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_primitives::v6::CoreState< - ::subxt::utils::H256, + ::subxt::ext::subxt_core::utils::H256, ::core::primitive::u32, >, >; } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct AvailabilityCores {} pub mod persisted_validation_data { use super::runtime_types; @@ -1378,22 +1444,26 @@ pub mod api { use super::runtime_types; pub type Output = ::core::option::Option< runtime_types::polkadot_primitives::v6::PersistedValidationData< - ::subxt::utils::H256, + ::subxt::ext::subxt_core::utils::H256, ::core::primitive::u32, >, >; } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct PersistedValidationData { pub para_id: persisted_validation_data::ParaId, pub assumption: persisted_validation_data::Assumption, @@ -1401,22 +1471,27 @@ pub mod api { pub mod assumed_validation_data { use super::runtime_types; pub type ParaId = runtime_types::polkadot_parachain_primitives::primitives::Id; - pub type ExpectedPersistedValidationDataHash = ::subxt::utils::H256; + pub type ExpectedPersistedValidationDataHash = + ::subxt::ext::subxt_core::utils::H256; pub mod output { use super::runtime_types; - pub type Output = :: core :: option :: Option < (runtime_types :: polkadot_primitives :: v6 :: PersistedValidationData < :: subxt :: utils :: H256 , :: core :: primitive :: u32 > , runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCodeHash ,) > ; + pub type Output = :: core :: option :: Option < (runtime_types :: polkadot_primitives :: v6 :: PersistedValidationData < :: subxt :: ext :: subxt_core :: utils :: H256 , :: core :: primitive :: u32 > , runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCodeHash ,) > ; } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct AssumedValidationData { pub para_id: assumed_validation_data::ParaId, pub expected_persisted_validation_data_hash: @@ -1434,15 +1509,19 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct CheckValidationOutputs { pub para_id: check_validation_outputs::ParaId, pub outputs: check_validation_outputs::Outputs, @@ -1455,15 +1534,19 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct SessionIndexForChild {} pub mod validation_code { use super::runtime_types; @@ -1476,15 +1559,19 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct ValidationCode { pub para_id: validation_code::ParaId, pub assumption: validation_code::Assumption, @@ -1496,21 +1583,25 @@ pub mod api { use super::runtime_types; pub type Output = ::core::option::Option< runtime_types::polkadot_primitives::v6::CommittedCandidateReceipt< - ::subxt::utils::H256, + ::subxt::ext::subxt_core::utils::H256, >, >; } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct CandidatePendingAvailability { pub para_id: candidate_pending_availability::ParaId, } @@ -1518,23 +1609,27 @@ pub mod api { use super::runtime_types; pub mod output { use super::runtime_types; - pub type Output = ::std::vec::Vec< + pub type Output = ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_primitives::v6::CandidateEvent< - ::subxt::utils::H256, + ::subxt::ext::subxt_core::utils::H256, >, >; } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct CandidateEvents {} pub mod dmq_contents { use super::runtime_types; @@ -1542,7 +1637,7 @@ pub mod api { runtime_types::polkadot_parachain_primitives::primitives::Id; pub mod output { use super::runtime_types; - pub type Output = ::std::vec::Vec< + pub type Output = ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_core_primitives::InboundDownwardMessage< ::core::primitive::u32, >, @@ -1550,15 +1645,19 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct DmqContents { pub recipient: dmq_contents::Recipient, } @@ -1568,9 +1667,9 @@ pub mod api { runtime_types::polkadot_parachain_primitives::primitives::Id; pub mod output { use super::runtime_types; - pub type Output = ::subxt::utils::KeyedVec< + pub type Output = ::subxt::ext::subxt_core::utils::KeyedVec< runtime_types::polkadot_parachain_primitives::primitives::Id, - ::std::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_core_primitives::InboundHrmpMessage< ::core::primitive::u32, >, @@ -1579,15 +1678,19 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct InboundHrmpChannelsContents { pub recipient: inbound_hrmp_channels_contents::Recipient, } @@ -1600,15 +1703,19 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct ValidationCodeByHash { pub hash: validation_code_by_hash::Hash, } @@ -1618,21 +1725,25 @@ pub mod api { use super::runtime_types; pub type Output = ::core::option::Option< runtime_types::polkadot_primitives::v6::ScrapedOnChainVotes< - ::subxt::utils::H256, + ::subxt::ext::subxt_core::utils::H256, >, >; } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct OnChainVotes {} pub mod session_info { use super::runtime_types; @@ -1645,15 +1756,19 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct SessionInfo { pub index: session_info::Index, } @@ -1668,15 +1783,19 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct SubmitPvfCheckStatement { pub stmt: submit_pvf_check_statement::Stmt, pub signature: submit_pvf_check_statement::Signature, @@ -1685,19 +1804,23 @@ pub mod api { use super::runtime_types; pub mod output { use super::runtime_types; - pub type Output = :: std :: vec :: Vec < runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCodeHash > ; + pub type Output = :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCodeHash > ; } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct PvfsRequirePrecheck {} pub mod validation_code_hash { use super::runtime_types; @@ -1710,15 +1833,19 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct ValidationCodeHash { pub para_id: validation_code_hash::ParaId, pub assumption: validation_code_hash::Assumption, @@ -1727,7 +1854,7 @@ pub mod api { use super::runtime_types; pub mod output { use super::runtime_types; - pub type Output = ::std::vec::Vec<( + pub type Output = ::subxt::ext::subxt_core::alloc::vec::Vec<( ::core::primitive::u32, runtime_types::polkadot_core_primitives::CandidateHash, runtime_types::polkadot_primitives::v6::DisputeState< @@ -1737,15 +1864,19 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Disputes {} pub mod session_executor_params { use super::runtime_types; @@ -1758,15 +1889,19 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct SessionExecutorParams { pub session_index: session_executor_params::SessionIndex, } @@ -1774,7 +1909,7 @@ pub mod api { use super::runtime_types; pub mod output { use super::runtime_types; - pub type Output = ::std::vec::Vec<( + pub type Output = ::subxt::ext::subxt_core::alloc::vec::Vec<( ::core::primitive::u32, runtime_types::polkadot_core_primitives::CandidateHash, runtime_types::polkadot_primitives::v6::slashing::PendingSlashes, @@ -1782,15 +1917,19 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct UnappliedSlashes {} pub mod key_ownership_proof { use super::runtime_types; @@ -1802,15 +1941,19 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct KeyOwnershipProof { pub validator_id: key_ownership_proof::ValidatorId, } @@ -1826,15 +1969,19 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct SubmitReportDisputeLost { pub dispute_proof: submit_report_dispute_lost::DisputeProof, pub key_ownership_proof: submit_report_dispute_lost::KeyOwnershipProof, @@ -1847,15 +1994,19 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct MinimumBackingVotes {} pub mod para_backing_state { use super::runtime_types; @@ -1864,22 +2015,26 @@ pub mod api { use super::runtime_types; pub type Output = ::core::option::Option< runtime_types::polkadot_primitives::v6::async_backing::BackingState< - ::subxt::utils::H256, + ::subxt::ext::subxt_core::utils::H256, ::core::primitive::u32, >, >; } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct ParaBackingState { pub _0: para_backing_state::Param0, } @@ -1891,34 +2046,43 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct AsyncBackingParams {} pub mod disabled_validators { use super::runtime_types; pub mod output { use super::runtime_types; - pub type Output = - ::std::vec::Vec; + pub type Output = ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::polkadot_primitives::v6::ValidatorIndex, + >; } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct DisabledValidators {} } } @@ -1931,11 +2095,11 @@ pub mod api { #[doc = " Return the block number where BEEFY consensus is enabled/started"] pub fn beefy_genesis( &self, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::BeefyGenesis, types::beefy_genesis::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "BeefyApi", "beefy_genesis", types::BeefyGenesis {}, @@ -1950,11 +2114,11 @@ pub mod api { #[doc = " Return the current active BEEFY validator set"] pub fn validator_set( &self, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::ValidatorSet, types::validator_set::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "BeefyApi", "validator_set", types::ValidatorSet {}, @@ -1977,11 +2141,11 @@ pub mod api { &self, equivocation_proof : types :: submit_report_equivocation_unsigned_extrinsic :: EquivocationProof, key_owner_proof : types :: submit_report_equivocation_unsigned_extrinsic :: KeyOwnerProof, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::SubmitReportEquivocationUnsignedExtrinsic, types::submit_report_equivocation_unsigned_extrinsic::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "BeefyApi", "submit_report_equivocation_unsigned_extrinsic", types::SubmitReportEquivocationUnsignedExtrinsic { @@ -2011,11 +2175,11 @@ pub mod api { &self, set_id: types::generate_key_ownership_proof::SetId, authority_id: types::generate_key_ownership_proof::AuthorityId, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::GenerateKeyOwnershipProof, types::generate_key_ownership_proof::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "BeefyApi", "generate_key_ownership_proof", types::GenerateKeyOwnershipProof { @@ -2040,15 +2204,19 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct BeefyGenesis {} pub mod validator_set { use super::runtime_types; @@ -2062,15 +2230,19 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct ValidatorSet {} pub mod submit_report_equivocation_unsigned_extrinsic { use super::runtime_types; @@ -2088,15 +2260,19 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct SubmitReportEquivocationUnsignedExtrinsic { pub equivocation_proof: submit_report_equivocation_unsigned_extrinsic::EquivocationProof, @@ -2115,15 +2291,19 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct GenerateKeyOwnershipProof { pub set_id: generate_key_ownership_proof::SetId, pub authority_id: generate_key_ownership_proof::AuthorityId, @@ -2139,9 +2319,11 @@ pub mod api { #[doc = " Return the on-chain MMR root hash."] pub fn mmr_root( &self, - ) -> ::subxt::runtime_api::Payload - { - ::subxt::runtime_api::Payload::new_static( + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< + types::MmrRoot, + types::mmr_root::output::Output, + > { + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "MmrApi", "mmr_root", types::MmrRoot {}, @@ -2155,11 +2337,11 @@ pub mod api { #[doc = " Return the number of MMR blocks in the chain."] pub fn mmr_leaf_count( &self, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::MmrLeafCount, types::mmr_leaf_count::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "MmrApi", "mmr_leaf_count", types::MmrLeafCount {}, @@ -2177,11 +2359,11 @@ pub mod api { &self, block_numbers: types::generate_proof::BlockNumbers, best_known_block_number: types::generate_proof::BestKnownBlockNumber, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::GenerateProof, types::generate_proof::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "MmrApi", "generate_proof", types::GenerateProof { @@ -2205,11 +2387,11 @@ pub mod api { &self, leaves: types::verify_proof::Leaves, proof: types::verify_proof::Proof, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::VerifyProof, types::verify_proof::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "MmrApi", "verify_proof", types::VerifyProof { leaves, proof }, @@ -2233,11 +2415,11 @@ pub mod api { root: types::verify_proof_stateless::Root, leaves: types::verify_proof_stateless::Leaves, proof: types::verify_proof_stateless::Proof, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::VerifyProofStateless, types::verify_proof_stateless::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "MmrApi", "verify_proof_stateless", types::VerifyProofStateless { @@ -2260,21 +2442,25 @@ pub mod api { pub mod output { use super::runtime_types; pub type Output = ::core::result::Result< - ::subxt::utils::H256, + ::subxt::ext::subxt_core::utils::H256, runtime_types::sp_mmr_primitives::Error, >; } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct MmrRoot {} pub mod mmr_leaf_count { use super::runtime_types; @@ -2287,52 +2473,66 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct MmrLeafCount {} pub mod generate_proof { use super::runtime_types; - pub type BlockNumbers = ::std::vec::Vec<::core::primitive::u32>; + pub type BlockNumbers = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u32>; pub type BestKnownBlockNumber = ::core::option::Option<::core::primitive::u32>; pub mod output { use super::runtime_types; pub type Output = ::core::result::Result< ( - ::std::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::sp_mmr_primitives::EncodableOpaqueLeaf, >, - runtime_types::sp_mmr_primitives::Proof<::subxt::utils::H256>, + runtime_types::sp_mmr_primitives::Proof< + ::subxt::ext::subxt_core::utils::H256, + >, ), runtime_types::sp_mmr_primitives::Error, >; } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct GenerateProof { pub block_numbers: generate_proof::BlockNumbers, pub best_known_block_number: generate_proof::BestKnownBlockNumber, } pub mod verify_proof { use super::runtime_types; - pub type Leaves = - ::std::vec::Vec; - pub type Proof = runtime_types::sp_mmr_primitives::Proof<::subxt::utils::H256>; + pub type Leaves = ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::sp_mmr_primitives::EncodableOpaqueLeaf, + >; + pub type Proof = runtime_types::sp_mmr_primitives::Proof< + ::subxt::ext::subxt_core::utils::H256, + >; pub mod output { use super::runtime_types; pub type Output = @@ -2340,25 +2540,32 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct VerifyProof { pub leaves: verify_proof::Leaves, pub proof: verify_proof::Proof, } pub mod verify_proof_stateless { use super::runtime_types; - pub type Root = ::subxt::utils::H256; - pub type Leaves = - ::std::vec::Vec; - pub type Proof = runtime_types::sp_mmr_primitives::Proof<::subxt::utils::H256>; + pub type Root = ::subxt::ext::subxt_core::utils::H256; + pub type Leaves = ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::sp_mmr_primitives::EncodableOpaqueLeaf, + >; + pub type Proof = runtime_types::sp_mmr_primitives::Proof< + ::subxt::ext::subxt_core::utils::H256, + >; pub mod output { use super::runtime_types; pub type Output = @@ -2366,15 +2573,19 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct VerifyProofStateless { pub root: verify_proof_stateless::Root, pub leaves: verify_proof_stateless::Leaves, @@ -2404,11 +2615,11 @@ pub mod api { #[doc = " is finalized by the authorities from block B-1."] pub fn grandpa_authorities( &self, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::GrandpaAuthorities, types::grandpa_authorities::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "GrandpaApi", "grandpa_authorities", types::GrandpaAuthorities {}, @@ -2432,11 +2643,11 @@ pub mod api { &self, equivocation_proof : types :: submit_report_equivocation_unsigned_extrinsic :: EquivocationProof, key_owner_proof : types :: submit_report_equivocation_unsigned_extrinsic :: KeyOwnerProof, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::SubmitReportEquivocationUnsignedExtrinsic, types::submit_report_equivocation_unsigned_extrinsic::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "GrandpaApi", "submit_report_equivocation_unsigned_extrinsic", types::SubmitReportEquivocationUnsignedExtrinsic { @@ -2466,11 +2677,11 @@ pub mod api { &self, set_id: types::generate_key_ownership_proof::SetId, authority_id: types::generate_key_ownership_proof::AuthorityId, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::GenerateKeyOwnershipProof, types::generate_key_ownership_proof::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "GrandpaApi", "generate_key_ownership_proof", types::GenerateKeyOwnershipProof { @@ -2488,11 +2699,11 @@ pub mod api { #[doc = " Get current GRANDPA authority set id."] pub fn current_set_id( &self, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::CurrentSetId, types::current_set_id::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "GrandpaApi", "current_set_id", types::CurrentSetId {}, @@ -2511,28 +2722,32 @@ pub mod api { use super::runtime_types; pub mod output { use super::runtime_types; - pub type Output = ::std::vec::Vec<( + pub type Output = ::subxt::ext::subxt_core::alloc::vec::Vec<( runtime_types::sp_consensus_grandpa::app::Public, ::core::primitive::u64, )>; } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct GrandpaAuthorities {} pub mod submit_report_equivocation_unsigned_extrinsic { use super::runtime_types; pub type EquivocationProof = runtime_types::sp_consensus_grandpa::EquivocationProof< - ::subxt::utils::H256, + ::subxt::ext::subxt_core::utils::H256, ::core::primitive::u32, >; pub type KeyOwnerProof = @@ -2543,15 +2758,19 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct SubmitReportEquivocationUnsignedExtrinsic { pub equivocation_proof: submit_report_equivocation_unsigned_extrinsic::EquivocationProof, @@ -2570,15 +2789,19 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct GenerateKeyOwnershipProof { pub set_id: generate_key_ownership_proof::SetId, pub authority_id: generate_key_ownership_proof::AuthorityId, @@ -2591,15 +2814,19 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct CurrentSetId {} } } @@ -2612,11 +2839,11 @@ pub mod api { #[doc = " Return the configuration for BABE."] pub fn configuration( &self, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::Configuration, types::configuration::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "BabeApi", "configuration", types::Configuration {}, @@ -2630,11 +2857,11 @@ pub mod api { #[doc = " Returns the slot that started the current epoch."] pub fn current_epoch_start( &self, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::CurrentEpochStart, types::current_epoch_start::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "BabeApi", "current_epoch_start", types::CurrentEpochStart {}, @@ -2649,11 +2876,11 @@ pub mod api { #[doc = " Returns information regarding the current epoch."] pub fn current_epoch( &self, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::CurrentEpoch, types::current_epoch::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "BabeApi", "current_epoch", types::CurrentEpoch {}, @@ -2668,11 +2895,11 @@ pub mod api { #[doc = " previously announced)."] pub fn next_epoch( &self, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::NextEpoch, types::next_epoch::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "BabeApi", "next_epoch", types::NextEpoch {}, @@ -2699,11 +2926,11 @@ pub mod api { &self, slot: types::generate_key_ownership_proof::Slot, authority_id: types::generate_key_ownership_proof::AuthorityId, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::GenerateKeyOwnershipProof, types::generate_key_ownership_proof::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "BabeApi", "generate_key_ownership_proof", types::GenerateKeyOwnershipProof { slot, authority_id }, @@ -2727,11 +2954,11 @@ pub mod api { &self, equivocation_proof : types :: submit_report_equivocation_unsigned_extrinsic :: EquivocationProof, key_owner_proof : types :: submit_report_equivocation_unsigned_extrinsic :: KeyOwnerProof, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::SubmitReportEquivocationUnsignedExtrinsic, types::submit_report_equivocation_unsigned_extrinsic::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "BabeApi", "submit_report_equivocation_unsigned_extrinsic", types::SubmitReportEquivocationUnsignedExtrinsic { @@ -2756,15 +2983,19 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Configuration {} pub mod current_epoch_start { use super::runtime_types; @@ -2774,15 +3005,19 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct CurrentEpochStart {} pub mod current_epoch { use super::runtime_types; @@ -2792,15 +3027,19 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct CurrentEpoch {} pub mod next_epoch { use super::runtime_types; @@ -2810,15 +3049,19 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct NextEpoch {} pub mod generate_key_ownership_proof { use super::runtime_types; @@ -2832,15 +3075,19 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct GenerateKeyOwnershipProof { pub slot: generate_key_ownership_proof::Slot, pub authority_id: generate_key_ownership_proof::AuthorityId, @@ -2862,15 +3109,19 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct SubmitReportEquivocationUnsignedExtrinsic { pub equivocation_proof: submit_report_equivocation_unsigned_extrinsic::EquivocationProof, @@ -2891,11 +3142,11 @@ pub mod api { #[doc = " Retrieve authority identifiers of the current and next authority set."] pub fn authorities( &self, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::Authorities, types::authorities::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "AuthorityDiscoveryApi", "authorities", types::Authorities {}, @@ -2913,20 +3164,25 @@ pub mod api { use super::runtime_types; pub mod output { use super::runtime_types; - pub type Output = - ::std::vec::Vec; + pub type Output = ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::sp_authority_discovery::app::Public, + >; } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Authorities {} } } @@ -2946,11 +3202,11 @@ pub mod api { pub fn generate_session_keys( &self, seed: types::generate_session_keys::Seed, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::GenerateSessionKeys, types::generate_session_keys::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "SessionKeys", "generate_session_keys", types::GenerateSessionKeys { seed }, @@ -2967,11 +3223,11 @@ pub mod api { pub fn decode_session_keys( &self, encoded: types::decode_session_keys::Encoded, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::DecodeSessionKeys, types::decode_session_keys::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "SessionKeys", "decode_session_keys", types::DecodeSessionKeys { encoded }, @@ -2988,48 +3244,60 @@ pub mod api { use super::runtime_types; pub mod generate_session_keys { use super::runtime_types; - pub type Seed = ::core::option::Option<::std::vec::Vec<::core::primitive::u8>>; + pub type Seed = ::core::option::Option< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >; pub mod output { use super::runtime_types; - pub type Output = ::std::vec::Vec<::core::primitive::u8>; + pub type Output = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct GenerateSessionKeys { pub seed: generate_session_keys::Seed, } pub mod decode_session_keys { use super::runtime_types; - pub type Encoded = ::std::vec::Vec<::core::primitive::u8>; + pub type Encoded = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; pub mod output { use super::runtime_types; pub type Output = ::core::option::Option< - ::std::vec::Vec<( - ::std::vec::Vec<::core::primitive::u8>, + ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, runtime_types::sp_core::crypto::KeyTypeId, )>, >; } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct DecodeSessionKeys { pub encoded: decode_session_keys::Encoded, } @@ -3045,11 +3313,11 @@ pub mod api { pub fn account_nonce( &self, account: types::account_nonce::Account, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::AccountNonce, types::account_nonce::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "AccountNonceApi", "account_nonce", types::AccountNonce { account }, @@ -3066,22 +3334,26 @@ pub mod api { use super::runtime_types; pub mod account_nonce { use super::runtime_types; - pub type Account = ::subxt::utils::AccountId32; + pub type Account = ::subxt::ext::subxt_core::utils::AccountId32; pub mod output { use super::runtime_types; pub type Output = ::core::primitive::u32; } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct AccountNonce { pub account: account_nonce::Account, } @@ -3096,11 +3368,11 @@ pub mod api { &self, uxt: types::query_info::Uxt, len: types::query_info::Len, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::QueryInfo, types::query_info::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "TransactionPaymentApi", "query_info", types::QueryInfo { uxt, len }, @@ -3115,11 +3387,11 @@ pub mod api { &self, uxt: types::query_fee_details::Uxt, len: types::query_fee_details::Len, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::QueryFeeDetails, types::query_fee_details::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "TransactionPaymentApi", "query_fee_details", types::QueryFeeDetails { uxt, len }, @@ -3134,11 +3406,11 @@ pub mod api { pub fn query_weight_to_fee( &self, weight: types::query_weight_to_fee::Weight, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::QueryWeightToFee, types::query_weight_to_fee::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "TransactionPaymentApi", "query_weight_to_fee", types::QueryWeightToFee { weight }, @@ -3153,11 +3425,11 @@ pub mod api { pub fn query_length_to_fee( &self, length: types::query_length_to_fee::Length, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::QueryLengthToFee, types::query_length_to_fee::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "TransactionPaymentApi", "query_length_to_fee", types::QueryLengthToFee { length }, @@ -3173,7 +3445,7 @@ pub mod api { use super::runtime_types; pub mod query_info { use super::runtime_types; - pub type Uxt = :: subxt :: utils :: UncheckedExtrinsic < :: subxt :: utils :: MultiAddress < :: subxt :: utils :: AccountId32 , () > , runtime_types :: rococo_runtime :: RuntimeCall , runtime_types :: sp_runtime :: MultiSignature , (runtime_types :: frame_system :: extensions :: check_non_zero_sender :: CheckNonZeroSender , runtime_types :: frame_system :: extensions :: check_spec_version :: CheckSpecVersion , runtime_types :: frame_system :: extensions :: check_tx_version :: CheckTxVersion , runtime_types :: frame_system :: extensions :: check_genesis :: CheckGenesis , runtime_types :: frame_system :: extensions :: check_mortality :: CheckMortality , runtime_types :: frame_system :: extensions :: check_nonce :: CheckNonce , runtime_types :: frame_system :: extensions :: check_weight :: CheckWeight , runtime_types :: pallet_transaction_payment :: ChargeTransactionPayment ,) > ; + pub type Uxt = :: subxt :: ext :: subxt_core :: utils :: UncheckedExtrinsic < :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , () > , runtime_types :: rococo_runtime :: RuntimeCall , runtime_types :: sp_runtime :: MultiSignature , (runtime_types :: frame_system :: extensions :: check_non_zero_sender :: CheckNonZeroSender , runtime_types :: frame_system :: extensions :: check_spec_version :: CheckSpecVersion , runtime_types :: frame_system :: extensions :: check_tx_version :: CheckTxVersion , runtime_types :: frame_system :: extensions :: check_genesis :: CheckGenesis , runtime_types :: frame_system :: extensions :: check_mortality :: CheckMortality , runtime_types :: frame_system :: extensions :: check_nonce :: CheckNonce , runtime_types :: frame_system :: extensions :: check_weight :: CheckWeight , runtime_types :: pallet_transaction_payment :: ChargeTransactionPayment ,) > ; pub type Len = ::core::primitive::u32; pub mod output { use super::runtime_types; @@ -3185,22 +3457,26 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct QueryInfo { pub uxt: query_info::Uxt, pub len: query_info::Len, } pub mod query_fee_details { use super::runtime_types; - pub type Uxt = :: subxt :: utils :: UncheckedExtrinsic < :: subxt :: utils :: MultiAddress < :: subxt :: utils :: AccountId32 , () > , runtime_types :: rococo_runtime :: RuntimeCall , runtime_types :: sp_runtime :: MultiSignature , (runtime_types :: frame_system :: extensions :: check_non_zero_sender :: CheckNonZeroSender , runtime_types :: frame_system :: extensions :: check_spec_version :: CheckSpecVersion , runtime_types :: frame_system :: extensions :: check_tx_version :: CheckTxVersion , runtime_types :: frame_system :: extensions :: check_genesis :: CheckGenesis , runtime_types :: frame_system :: extensions :: check_mortality :: CheckMortality , runtime_types :: frame_system :: extensions :: check_nonce :: CheckNonce , runtime_types :: frame_system :: extensions :: check_weight :: CheckWeight , runtime_types :: pallet_transaction_payment :: ChargeTransactionPayment ,) > ; + pub type Uxt = :: subxt :: ext :: subxt_core :: utils :: UncheckedExtrinsic < :: subxt :: ext :: subxt_core :: utils :: MultiAddress < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , () > , runtime_types :: rococo_runtime :: RuntimeCall , runtime_types :: sp_runtime :: MultiSignature , (runtime_types :: frame_system :: extensions :: check_non_zero_sender :: CheckNonZeroSender , runtime_types :: frame_system :: extensions :: check_spec_version :: CheckSpecVersion , runtime_types :: frame_system :: extensions :: check_tx_version :: CheckTxVersion , runtime_types :: frame_system :: extensions :: check_genesis :: CheckGenesis , runtime_types :: frame_system :: extensions :: check_mortality :: CheckMortality , runtime_types :: frame_system :: extensions :: check_nonce :: CheckNonce , runtime_types :: frame_system :: extensions :: check_weight :: CheckWeight , runtime_types :: pallet_transaction_payment :: ChargeTransactionPayment ,) > ; pub type Len = ::core::primitive::u32; pub mod output { use super::runtime_types; @@ -3211,15 +3487,19 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct QueryFeeDetails { pub uxt: query_fee_details::Uxt, pub len: query_fee_details::Len, @@ -3233,15 +3513,19 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct QueryWeightToFee { pub weight: query_weight_to_fee::Weight, } @@ -3254,15 +3538,19 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct QueryLengthToFee { pub length: query_length_to_fee::Length, } @@ -3277,11 +3565,11 @@ pub mod api { #[doc = " Return the currently active BEEFY authority set proof."] pub fn authority_set_proof( &self, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::AuthoritySetProof, types::authority_set_proof::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "BeefyMmrApi", "authority_set_proof", types::AuthoritySetProof {}, @@ -3296,11 +3584,11 @@ pub mod api { #[doc = " Return the next/queued BEEFY authority set proof."] pub fn next_authority_set_proof( &self, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::NextAuthoritySetProof, types::next_authority_set_proof::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "BeefyMmrApi", "next_authority_set_proof", types::NextAuthoritySetProof {}, @@ -3319,40 +3607,48 @@ pub mod api { pub mod output { use super::runtime_types; pub type Output = runtime_types::sp_consensus_beefy::mmr::BeefyAuthoritySet< - ::subxt::utils::H256, + ::subxt::ext::subxt_core::utils::H256, >; } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct AuthoritySetProof {} pub mod next_authority_set_proof { use super::runtime_types; pub mod output { use super::runtime_types; pub type Output = runtime_types::sp_consensus_beefy::mmr::BeefyAuthoritySet< - ::subxt::utils::H256, + ::subxt::ext::subxt_core::utils::H256, >; } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct NextAuthoritySetProof {} } } @@ -3368,11 +3664,11 @@ pub mod api { #[doc = " blob. It returns a `Vec` containing the JSON representation of the default `GenesisConfig`."] pub fn create_default_config( &self, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::CreateDefaultConfig, types::create_default_config::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "GenesisBuilder", "create_default_config", types::CreateDefaultConfig {}, @@ -3393,11 +3689,11 @@ pub mod api { pub fn build_config( &self, json: types::build_config::Json, - ) -> ::subxt::runtime_api::Payload< + ) -> ::subxt::ext::subxt_core::runtime_api::Payload< types::BuildConfig, types::build_config::output::Output, > { - ::subxt::runtime_api::Payload::new_static( + ::subxt::ext::subxt_core::runtime_api::Payload::new_static( "GenesisBuilder", "build_config", types::BuildConfig { json }, @@ -3416,38 +3712,51 @@ pub mod api { use super::runtime_types; pub mod output { use super::runtime_types; - pub type Output = ::std::vec::Vec<::core::primitive::u8>; + pub type Output = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct CreateDefaultConfig {} pub mod build_config { use super::runtime_types; - pub type Json = ::std::vec::Vec<::core::primitive::u8>; + pub type Json = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; pub mod output { use super::runtime_types; - pub type Output = ::core::result::Result<(), ::std::string::String>; + pub type Output = ::core::result::Result< + (), + ::subxt::ext::subxt_core::alloc::string::String, + >; } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct BuildConfig { pub json: build_config::Json, } @@ -3746,9 +4055,6 @@ pub mod api { pub fn state_trie_migration(&self) -> state_trie_migration::storage::StorageApi { state_trie_migration::storage::StorageApi } - pub fn root_testing(&self) -> root_testing::storage::StorageApi { - root_testing::storage::StorageApi - } pub fn sudo(&self) -> sudo::storage::StorageApi { sudo::storage::StorageApi } @@ -3907,15 +4213,12 @@ pub mod api { pub fn state_trie_migration(&self) -> state_trie_migration::calls::TransactionApi { state_trie_migration::calls::TransactionApi } - pub fn root_testing(&self) -> root_testing::calls::TransactionApi { - root_testing::calls::TransactionApi - } pub fn sudo(&self) -> sudo::calls::TransactionApi { sudo::calls::TransactionApi } } #[doc = r" check whether the metadata provided is aligned with this statically generated code."] - pub fn is_codegen_valid_for(metadata: &::subxt::Metadata) -> bool { + pub fn is_codegen_valid_for(metadata: &::subxt::ext::subxt_core::Metadata) -> bool { let runtime_metadata_hash = metadata .hasher() .only_these_pallets(&PALLETS) @@ -3923,9 +4226,9 @@ pub mod api { .hash(); runtime_metadata_hash == [ - 217u8, 170u8, 7u8, 110u8, 237u8, 43u8, 49u8, 116u8, 87u8, 190u8, 100u8, 30u8, - 165u8, 15u8, 56u8, 52u8, 43u8, 64u8, 243u8, 187u8, 213u8, 229u8, 138u8, 173u8, - 223u8, 202u8, 95u8, 218u8, 85u8, 15u8, 85u8, 240u8, + 175u8, 118u8, 21u8, 61u8, 145u8, 16u8, 77u8, 206u8, 11u8, 26u8, 133u8, 39u8, 11u8, + 10u8, 45u8, 3u8, 37u8, 12u8, 170u8, 170u8, 252u8, 10u8, 141u8, 176u8, 190u8, 76u8, + 176u8, 211u8, 99u8, 9u8, 160u8, 78u8, ] } pub mod system { @@ -3942,37 +4245,46 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::remark`]."] pub struct Remark { pub remark: remark::Remark, } pub mod remark { use super::runtime_types; - pub type Remark = ::std::vec::Vec<::core::primitive::u8>; + pub type Remark = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } - impl ::subxt::blocks::StaticExtrinsic for Remark { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Remark { const PALLET: &'static str = "System"; const CALL: &'static str = "remark"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_heap_pages`]."] pub struct SetHeapPages { pub pages: set_heap_pages::Pages, @@ -3981,111 +4293,135 @@ pub mod api { use super::runtime_types; pub type Pages = ::core::primitive::u64; } - impl ::subxt::blocks::StaticExtrinsic for SetHeapPages { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetHeapPages { const PALLET: &'static str = "System"; const CALL: &'static str = "set_heap_pages"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_code`]."] pub struct SetCode { pub code: set_code::Code, } pub mod set_code { use super::runtime_types; - pub type Code = ::std::vec::Vec<::core::primitive::u8>; + pub type Code = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } - impl ::subxt::blocks::StaticExtrinsic for SetCode { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetCode { const PALLET: &'static str = "System"; const CALL: &'static str = "set_code"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_code_without_checks`]."] pub struct SetCodeWithoutChecks { pub code: set_code_without_checks::Code, } pub mod set_code_without_checks { use super::runtime_types; - pub type Code = ::std::vec::Vec<::core::primitive::u8>; + pub type Code = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } - impl ::subxt::blocks::StaticExtrinsic for SetCodeWithoutChecks { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetCodeWithoutChecks { const PALLET: &'static str = "System"; const CALL: &'static str = "set_code_without_checks"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_storage`]."] pub struct SetStorage { pub items: set_storage::Items, } pub mod set_storage { use super::runtime_types; - pub type Items = ::std::vec::Vec<( - ::std::vec::Vec<::core::primitive::u8>, - ::std::vec::Vec<::core::primitive::u8>, + pub type Items = ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, )>; } - impl ::subxt::blocks::StaticExtrinsic for SetStorage { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetStorage { const PALLET: &'static str = "System"; const CALL: &'static str = "set_storage"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::kill_storage`]."] pub struct KillStorage { pub keys: kill_storage::Keys, } pub mod kill_storage { use super::runtime_types; - pub type Keys = ::std::vec::Vec<::std::vec::Vec<::core::primitive::u8>>; + pub type Keys = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >; } - impl ::subxt::blocks::StaticExtrinsic for KillStorage { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for KillStorage { const PALLET: &'static str = "System"; const CALL: &'static str = "kill_storage"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::kill_prefix`]."] pub struct KillPrefix { pub prefix: kill_prefix::Prefix, @@ -4093,32 +4429,38 @@ pub mod api { } pub mod kill_prefix { use super::runtime_types; - pub type Prefix = ::std::vec::Vec<::core::primitive::u8>; + pub type Prefix = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; pub type Subkeys = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for KillPrefix { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for KillPrefix { const PALLET: &'static str = "System"; const CALL: &'static str = "kill_prefix"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::remark_with_event`]."] pub struct RemarkWithEvent { pub remark: remark_with_event::Remark, } pub mod remark_with_event { use super::runtime_types; - pub type Remark = ::std::vec::Vec<::core::primitive::u8>; + pub type Remark = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } - impl ::subxt::blocks::StaticExtrinsic for RemarkWithEvent { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RemarkWithEvent { const PALLET: &'static str = "System"; const CALL: &'static str = "remark_with_event"; } @@ -4129,8 +4471,8 @@ pub mod api { pub fn remark( &self, remark: types::remark::Remark, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "System", "remark", types::Remark { remark }, @@ -4146,8 +4488,8 @@ pub mod api { pub fn set_heap_pages( &self, pages: types::set_heap_pages::Pages, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "System", "set_heap_pages", types::SetHeapPages { pages }, @@ -4163,8 +4505,8 @@ pub mod api { pub fn set_code( &self, code: types::set_code::Code, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "System", "set_code", types::SetCode { code }, @@ -4179,8 +4521,9 @@ pub mod api { pub fn set_code_without_checks( &self, code: types::set_code_without_checks::Code, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "System", "set_code_without_checks", types::SetCodeWithoutChecks { code }, @@ -4196,8 +4539,8 @@ pub mod api { pub fn set_storage( &self, items: types::set_storage::Items, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "System", "set_storage", types::SetStorage { items }, @@ -4213,8 +4556,8 @@ pub mod api { pub fn kill_storage( &self, keys: types::kill_storage::Keys, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "System", "kill_storage", types::KillStorage { keys }, @@ -4231,8 +4574,8 @@ pub mod api { &self, prefix: types::kill_prefix::Prefix, subkeys: types::kill_prefix::Subkeys, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "System", "kill_prefix", types::KillPrefix { prefix, subkeys }, @@ -4248,8 +4591,8 @@ pub mod api { pub fn remark_with_event( &self, remark: types::remark_with_event::Remark, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "System", "remark_with_event", types::RemarkWithEvent { remark }, @@ -4267,15 +4610,15 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An extrinsic completed successfully."] pub struct ExtrinsicSuccess { pub dispatch_info: extrinsic_success::DispatchInfo, @@ -4284,20 +4627,20 @@ pub mod api { use super::runtime_types; pub type DispatchInfo = runtime_types::frame_support::dispatch::DispatchInfo; } - impl ::subxt::events::StaticEvent for ExtrinsicSuccess { + impl ::subxt::ext::subxt_core::events::StaticEvent for ExtrinsicSuccess { const PALLET: &'static str = "System"; const EVENT: &'static str = "ExtrinsicSuccess"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An extrinsic failed."] pub struct ExtrinsicFailed { pub dispatch_error: extrinsic_failed::DispatchError, @@ -4308,80 +4651,80 @@ pub mod api { pub type DispatchError = runtime_types::sp_runtime::DispatchError; pub type DispatchInfo = runtime_types::frame_support::dispatch::DispatchInfo; } - impl ::subxt::events::StaticEvent for ExtrinsicFailed { + impl ::subxt::ext::subxt_core::events::StaticEvent for ExtrinsicFailed { const PALLET: &'static str = "System"; const EVENT: &'static str = "ExtrinsicFailed"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "`:code` was updated."] pub struct CodeUpdated; - impl ::subxt::events::StaticEvent for CodeUpdated { + impl ::subxt::ext::subxt_core::events::StaticEvent for CodeUpdated { const PALLET: &'static str = "System"; const EVENT: &'static str = "CodeUpdated"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A new account was created."] pub struct NewAccount { pub account: new_account::Account, } pub mod new_account { use super::runtime_types; - pub type Account = ::subxt::utils::AccountId32; + pub type Account = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt::events::StaticEvent for NewAccount { + impl ::subxt::ext::subxt_core::events::StaticEvent for NewAccount { const PALLET: &'static str = "System"; const EVENT: &'static str = "NewAccount"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An account was reaped."] pub struct KilledAccount { pub account: killed_account::Account, } pub mod killed_account { use super::runtime_types; - pub type Account = ::subxt::utils::AccountId32; + pub type Account = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt::events::StaticEvent for KilledAccount { + impl ::subxt::ext::subxt_core::events::StaticEvent for KilledAccount { const PALLET: &'static str = "System"; const EVENT: &'static str = "KilledAccount"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "On on-chain remark happened."] pub struct Remarked { pub sender: remarked::Sender, @@ -4389,10 +4732,10 @@ pub mod api { } pub mod remarked { use super::runtime_types; - pub type Sender = ::subxt::utils::AccountId32; - pub type Hash = ::subxt::utils::H256; + pub type Sender = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Hash = ::subxt::ext::subxt_core::utils::H256; } - impl ::subxt::events::StaticEvent for Remarked { + impl ::subxt::ext::subxt_core::events::StaticEvent for Remarked { const PALLET: &'static str = "System"; const EVENT: &'static str = "Remarked"; } @@ -4407,7 +4750,7 @@ pub mod api { ::core::primitive::u32, runtime_types::pallet_balances::types::AccountData<::core::primitive::u128>, >; - pub type Param0 = ::subxt::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod extrinsic_count { use super::runtime_types; @@ -4425,12 +4768,13 @@ pub mod api { } pub mod block_hash { use super::runtime_types; - pub type BlockHash = ::subxt::utils::H256; + pub type BlockHash = ::subxt::ext::subxt_core::utils::H256; pub type Param0 = ::core::primitive::u32; } pub mod extrinsic_data { use super::runtime_types; - pub type ExtrinsicData = ::std::vec::Vec<::core::primitive::u8>; + pub type ExtrinsicData = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; pub type Param0 = ::core::primitive::u32; } pub mod number { @@ -4439,7 +4783,7 @@ pub mod api { } pub mod parent_hash { use super::runtime_types; - pub type ParentHash = ::subxt::utils::H256; + pub type ParentHash = ::subxt::ext::subxt_core::utils::H256; } pub mod digest { use super::runtime_types; @@ -4447,10 +4791,10 @@ pub mod api { } pub mod events { use super::runtime_types; - pub type Events = ::std::vec::Vec< + pub type Events = ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::frame_system::EventRecord< runtime_types::rococo_runtime::RuntimeEvent, - ::subxt::utils::H256, + ::subxt::ext::subxt_core::utils::H256, >, >; } @@ -4460,9 +4804,11 @@ pub mod api { } pub mod event_topics { use super::runtime_types; - pub type EventTopics = - ::std::vec::Vec<(::core::primitive::u32, ::core::primitive::u32)>; - pub type Param0 = ::subxt::utils::H256; + pub type EventTopics = ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::core::primitive::u32, + ::core::primitive::u32, + )>; + pub type Param0 = ::subxt::ext::subxt_core::utils::H256; } pub mod last_runtime_upgrade { use super::runtime_types; @@ -4487,17 +4833,17 @@ pub mod api { #[doc = " The full account information for a particular account ID."] pub fn account_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::account::Account, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "System", "Account", - vec![], + (), [ 14u8, 233u8, 115u8, 214u8, 0u8, 109u8, 222u8, 121u8, 162u8, 65u8, 60u8, 175u8, 209u8, 79u8, 222u8, 124u8, 22u8, 235u8, 138u8, 176u8, 133u8, @@ -4508,20 +4854,22 @@ pub mod api { #[doc = " The full account information for a particular account ID."] pub fn account( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::account::Param0, + >, types::account::Account, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "System", "Account", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 14u8, 233u8, 115u8, 214u8, 0u8, 109u8, 222u8, 121u8, 162u8, 65u8, 60u8, 175u8, 209u8, 79u8, 222u8, 124u8, 22u8, 235u8, 138u8, 176u8, 133u8, @@ -4532,17 +4880,17 @@ pub mod api { #[doc = " Total extrinsics count for the current block."] pub fn extrinsic_count( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::extrinsic_count::ExtrinsicCount, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "System", "ExtrinsicCount", - vec![], + (), [ 102u8, 76u8, 236u8, 42u8, 40u8, 231u8, 33u8, 222u8, 123u8, 147u8, 153u8, 148u8, 234u8, 203u8, 181u8, 119u8, 6u8, 187u8, 177u8, 199u8, @@ -4554,17 +4902,17 @@ pub mod api { #[doc = " The current weight for the block."] pub fn block_weight( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::block_weight::BlockWeight, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "System", "BlockWeight", - vec![], + (), [ 158u8, 46u8, 228u8, 89u8, 210u8, 214u8, 84u8, 154u8, 50u8, 68u8, 63u8, 62u8, 43u8, 42u8, 99u8, 27u8, 54u8, 42u8, 146u8, 44u8, 241u8, 216u8, @@ -4575,17 +4923,17 @@ pub mod api { #[doc = " Total length (in bytes) for all extrinsics put together, for the current block."] pub fn all_extrinsics_len( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::all_extrinsics_len::AllExtrinsicsLen, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "System", "AllExtrinsicsLen", - vec![], + (), [ 117u8, 86u8, 61u8, 243u8, 41u8, 51u8, 102u8, 214u8, 137u8, 100u8, 243u8, 185u8, 122u8, 174u8, 187u8, 117u8, 86u8, 189u8, 63u8, 135u8, @@ -4597,17 +4945,17 @@ pub mod api { #[doc = " Map of block numbers to block hashes."] pub fn block_hash_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::block_hash::BlockHash, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "System", "BlockHash", - vec![], + (), [ 217u8, 32u8, 215u8, 253u8, 24u8, 182u8, 207u8, 178u8, 157u8, 24u8, 103u8, 100u8, 195u8, 165u8, 69u8, 152u8, 112u8, 181u8, 56u8, 192u8, @@ -4619,20 +4967,22 @@ pub mod api { #[doc = " Map of block numbers to block hashes."] pub fn block_hash( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::block_hash::Param0, + >, types::block_hash::BlockHash, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "System", "BlockHash", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 217u8, 32u8, 215u8, 253u8, 24u8, 182u8, 207u8, 178u8, 157u8, 24u8, 103u8, 100u8, 195u8, 165u8, 69u8, 152u8, 112u8, 181u8, 56u8, 192u8, @@ -4644,17 +4994,17 @@ pub mod api { #[doc = " Extrinsics data for the current block (maps an extrinsic's index to its data)."] pub fn extrinsic_data_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::extrinsic_data::ExtrinsicData, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "System", "ExtrinsicData", - vec![], + (), [ 160u8, 180u8, 122u8, 18u8, 196u8, 26u8, 2u8, 37u8, 115u8, 232u8, 133u8, 220u8, 106u8, 245u8, 4u8, 129u8, 42u8, 84u8, 241u8, 45u8, 199u8, 179u8, @@ -4665,20 +5015,22 @@ pub mod api { #[doc = " Extrinsics data for the current block (maps an extrinsic's index to its data)."] pub fn extrinsic_data( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::extrinsic_data::Param0, + >, types::extrinsic_data::ExtrinsicData, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "System", "ExtrinsicData", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 160u8, 180u8, 122u8, 18u8, 196u8, 26u8, 2u8, 37u8, 115u8, 232u8, 133u8, 220u8, 106u8, 245u8, 4u8, 129u8, 42u8, 84u8, 241u8, 45u8, 199u8, 179u8, @@ -4689,17 +5041,17 @@ pub mod api { #[doc = " The current block number being processed. Set by `execute_block`."] pub fn number( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::number::Number, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "System", "Number", - vec![], + (), [ 30u8, 194u8, 177u8, 90u8, 194u8, 232u8, 46u8, 180u8, 85u8, 129u8, 14u8, 9u8, 8u8, 8u8, 23u8, 95u8, 230u8, 5u8, 13u8, 105u8, 125u8, 2u8, 22u8, @@ -4710,17 +5062,17 @@ pub mod api { #[doc = " Hash of the previous block."] pub fn parent_hash( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::parent_hash::ParentHash, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "System", "ParentHash", - vec![], + (), [ 26u8, 130u8, 11u8, 216u8, 155u8, 71u8, 128u8, 170u8, 30u8, 153u8, 21u8, 192u8, 62u8, 93u8, 137u8, 80u8, 120u8, 81u8, 202u8, 94u8, 248u8, 125u8, @@ -4731,17 +5083,17 @@ pub mod api { #[doc = " Digest of the current block, also part of the block header."] pub fn digest( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::digest::Digest, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "System", "Digest", - vec![], + (), [ 61u8, 64u8, 237u8, 91u8, 145u8, 232u8, 17u8, 254u8, 181u8, 16u8, 234u8, 91u8, 51u8, 140u8, 254u8, 131u8, 98u8, 135u8, 21u8, 37u8, 251u8, 20u8, @@ -4758,38 +5110,39 @@ pub mod api { #[doc = " just in case someone still reads them from within the runtime."] pub fn events( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::events::Events, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "System", "Events", - vec![], + (), [ - 203u8, 185u8, 202u8, 46u8, 60u8, 247u8, 185u8, 43u8, 177u8, 237u8, - 118u8, 62u8, 238u8, 44u8, 3u8, 32u8, 190u8, 212u8, 99u8, 224u8, 24u8, - 233u8, 250u8, 1u8, 75u8, 204u8, 1u8, 179u8, 199u8, 201u8, 61u8, 228u8, + 52u8, 237u8, 85u8, 54u8, 238u8, 212u8, 107u8, 140u8, 46u8, 226u8, + 212u8, 254u8, 94u8, 185u8, 110u8, 10u8, 52u8, 19u8, 52u8, 76u8, 50u8, + 110u8, 156u8, 8u8, 175u8, 172u8, 137u8, 145u8, 2u8, 163u8, 167u8, + 186u8, ], ) } #[doc = " The number of events in the `Events` list."] pub fn event_count( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::event_count::EventCount, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "System", "EventCount", - vec![], + (), [ 175u8, 24u8, 252u8, 184u8, 210u8, 167u8, 146u8, 143u8, 164u8, 80u8, 151u8, 205u8, 189u8, 189u8, 55u8, 220u8, 47u8, 101u8, 181u8, 33u8, @@ -4810,17 +5163,17 @@ pub mod api { #[doc = " no notification will be triggered thus the event might be lost."] pub fn event_topics_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::event_topics::EventTopics, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "System", "EventTopics", - vec![], + (), [ 40u8, 225u8, 14u8, 75u8, 44u8, 176u8, 76u8, 34u8, 143u8, 107u8, 69u8, 133u8, 114u8, 13u8, 172u8, 250u8, 141u8, 73u8, 12u8, 65u8, 217u8, 63u8, @@ -4840,20 +5193,22 @@ pub mod api { #[doc = " no notification will be triggered thus the event might be lost."] pub fn event_topics( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::event_topics::Param0, + >, types::event_topics::EventTopics, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "System", "EventTopics", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 40u8, 225u8, 14u8, 75u8, 44u8, 176u8, 76u8, 34u8, 143u8, 107u8, 69u8, 133u8, 114u8, 13u8, 172u8, 250u8, 141u8, 73u8, 12u8, 65u8, 217u8, 63u8, @@ -4864,17 +5219,17 @@ pub mod api { #[doc = " Stores the `spec_version` and `spec_name` of when the last runtime upgrade happened."] pub fn last_runtime_upgrade( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::last_runtime_upgrade::LastRuntimeUpgrade, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "System", "LastRuntimeUpgrade", - vec![], + (), [ 137u8, 29u8, 175u8, 75u8, 197u8, 208u8, 91u8, 207u8, 156u8, 87u8, 148u8, 68u8, 91u8, 140u8, 22u8, 233u8, 1u8, 229u8, 56u8, 34u8, 40u8, @@ -4885,17 +5240,17 @@ pub mod api { #[doc = " True if we have upgraded so that `type RefCount` is `u32`. False (default) if not."] pub fn upgraded_to_u32_ref_count( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::upgraded_to_u32_ref_count::UpgradedToU32RefCount, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "System", "UpgradedToU32RefCount", - vec![], + (), [ 229u8, 73u8, 9u8, 132u8, 186u8, 116u8, 151u8, 171u8, 145u8, 29u8, 34u8, 130u8, 52u8, 146u8, 124u8, 175u8, 79u8, 189u8, 147u8, 230u8, 234u8, @@ -4907,17 +5262,17 @@ pub mod api { #[doc = " (default) if not."] pub fn upgraded_to_triple_ref_count( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::upgraded_to_triple_ref_count::UpgradedToTripleRefCount, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "System", "UpgradedToTripleRefCount", - vec![], + (), [ 97u8, 66u8, 124u8, 243u8, 27u8, 167u8, 147u8, 81u8, 254u8, 201u8, 101u8, 24u8, 40u8, 231u8, 14u8, 179u8, 154u8, 163u8, 71u8, 81u8, 185u8, @@ -4929,17 +5284,17 @@ pub mod api { #[doc = " The execution phase of the block."] pub fn execution_phase( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::execution_phase::ExecutionPhase, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "System", "ExecutionPhase", - vec![], + (), [ 191u8, 129u8, 100u8, 134u8, 126u8, 116u8, 154u8, 203u8, 220u8, 200u8, 0u8, 26u8, 161u8, 250u8, 133u8, 205u8, 146u8, 24u8, 5u8, 156u8, 158u8, @@ -4956,9 +5311,10 @@ pub mod api { #[doc = " Block & extrinsics weights: base values and limits."] pub fn block_weights( &self, - ) -> ::subxt::constants::Address - { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address< + runtime_types::frame_system::limits::BlockWeights, + > { + ::subxt::ext::subxt_core::constants::Address::new_static( "System", "BlockWeights", [ @@ -4971,9 +5327,10 @@ pub mod api { #[doc = " The maximum length of a block (in bytes)."] pub fn block_length( &self, - ) -> ::subxt::constants::Address - { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address< + runtime_types::frame_system::limits::BlockLength, + > { + ::subxt::ext::subxt_core::constants::Address::new_static( "System", "BlockLength", [ @@ -4986,8 +5343,9 @@ pub mod api { #[doc = " Maximum number of block number to block hash mappings to keep (oldest pruned first)."] pub fn block_hash_count( &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "System", "BlockHashCount", [ @@ -5001,9 +5359,10 @@ pub mod api { #[doc = " The weight of runtime database operations the runtime can invoke."] pub fn db_weight( &self, - ) -> ::subxt::constants::Address - { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address< + runtime_types::sp_weights::RuntimeDbWeight, + > { + ::subxt::ext::subxt_core::constants::Address::new_static( "System", "DbWeight", [ @@ -5017,9 +5376,10 @@ pub mod api { #[doc = " Get the chain's current version."] pub fn version( &self, - ) -> ::subxt::constants::Address - { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address< + runtime_types::sp_version::RuntimeVersion, + > { + ::subxt::ext::subxt_core::constants::Address::new_static( "System", "Version", [ @@ -5035,8 +5395,11 @@ pub mod api { #[doc = " This replaces the \"ss58Format\" property declared in the chain spec. Reason is"] #[doc = " that the runtime should know about the prefix in order to make use of it as"] #[doc = " an identifier of the chain."] - pub fn ss58_prefix(&self) -> ::subxt::constants::Address<::core::primitive::u16> { - ::subxt::constants::Address::new_static( + pub fn ss58_prefix( + &self, + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u16> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "System", "SS58Prefix", [ @@ -5063,19 +5426,24 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::report_equivocation`]."] pub struct ReportEquivocation { - pub equivocation_proof: - ::std::boxed::Box, + pub equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box< + report_equivocation::EquivocationProof, + >, pub key_owner_proof: report_equivocation::KeyOwnerProof, } pub mod report_equivocation { @@ -5089,24 +5457,29 @@ pub mod api { >; pub type KeyOwnerProof = runtime_types::sp_session::MembershipProof; } - impl ::subxt::blocks::StaticExtrinsic for ReportEquivocation { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ReportEquivocation { const PALLET: &'static str = "Babe"; const CALL: &'static str = "report_equivocation"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::report_equivocation_unsigned`]."] pub struct ReportEquivocationUnsigned { - pub equivocation_proof: - ::std::boxed::Box, + pub equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box< + report_equivocation_unsigned::EquivocationProof, + >, pub key_owner_proof: report_equivocation_unsigned::KeyOwnerProof, } pub mod report_equivocation_unsigned { @@ -5120,20 +5493,24 @@ pub mod api { >; pub type KeyOwnerProof = runtime_types::sp_session::MembershipProof; } - impl ::subxt::blocks::StaticExtrinsic for ReportEquivocationUnsigned { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ReportEquivocationUnsigned { const PALLET: &'static str = "Babe"; const CALL: &'static str = "report_equivocation_unsigned"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::plan_config_change`]."] pub struct PlanConfigChange { pub config: plan_config_change::Config, @@ -5143,7 +5520,7 @@ pub mod api { pub type Config = runtime_types::sp_consensus_babe::digests::NextConfigDescriptor; } - impl ::subxt::blocks::StaticExtrinsic for PlanConfigChange { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for PlanConfigChange { const PALLET: &'static str = "Babe"; const CALL: &'static str = "plan_config_change"; } @@ -5155,12 +5532,15 @@ pub mod api { &self, equivocation_proof: types::report_equivocation::EquivocationProof, key_owner_proof: types::report_equivocation::KeyOwnerProof, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Babe", "report_equivocation", types::ReportEquivocation { - equivocation_proof: ::std::boxed::Box::new(equivocation_proof), + equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box::new( + equivocation_proof, + ), key_owner_proof, }, [ @@ -5176,12 +5556,15 @@ pub mod api { &self, equivocation_proof: types::report_equivocation_unsigned::EquivocationProof, key_owner_proof: types::report_equivocation_unsigned::KeyOwnerProof, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Babe", "report_equivocation_unsigned", types::ReportEquivocationUnsigned { - equivocation_proof: ::std::boxed::Box::new(equivocation_proof), + equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box::new( + equivocation_proof, + ), key_owner_proof, }, [ @@ -5195,8 +5578,9 @@ pub mod api { pub fn plan_config_change( &self, config: types::plan_config_change::Config, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Babe", "plan_config_change", types::PlanConfigChange { config }, @@ -5221,7 +5605,7 @@ pub mod api { pub mod authorities { use super::runtime_types; pub type Authorities = - runtime_types::bounded_collections::weak_bounded_vec::WeakBoundedVec<( + runtime_types::bounded_collections::weak_bounded_vec::WeakBoundedVec2<( runtime_types::sp_consensus_babe::app::Public, ::core::primitive::u64, )>; @@ -5250,7 +5634,7 @@ pub mod api { pub mod next_authorities { use super::runtime_types; pub type NextAuthorities = - runtime_types::bounded_collections::weak_bounded_vec::WeakBoundedVec<( + runtime_types::bounded_collections::weak_bounded_vec::WeakBoundedVec2<( runtime_types::sp_consensus_babe::app::Public, ::core::primitive::u64, )>; @@ -5262,7 +5646,7 @@ pub mod api { pub mod under_construction { use super::runtime_types; pub type UnderConstruction = - runtime_types::bounded_collections::bounded_vec::BoundedVec< + runtime_types::bounded_collections::bounded_vec::BoundedVec6< [::core::primitive::u8; 32usize], >; pub type Param0 = ::core::primitive::u32; @@ -5298,7 +5682,7 @@ pub mod api { pub mod skipped_epochs { use super::runtime_types; pub type SkippedEpochs = - runtime_types::bounded_collections::bounded_vec::BoundedVec<( + runtime_types::bounded_collections::bounded_vec::BoundedVec7<( ::core::primitive::u64, ::core::primitive::u32, )>; @@ -5309,17 +5693,17 @@ pub mod api { #[doc = " Current epoch index."] pub fn epoch_index( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::epoch_index::EpochIndex, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Babe", "EpochIndex", - vec![], + (), [ 32u8, 82u8, 130u8, 31u8, 190u8, 162u8, 237u8, 189u8, 104u8, 244u8, 30u8, 199u8, 179u8, 0u8, 161u8, 107u8, 72u8, 240u8, 201u8, 222u8, @@ -5331,17 +5715,17 @@ pub mod api { #[doc = " Current epoch authorities."] pub fn authorities( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::authorities::Authorities, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Babe", "Authorities", - vec![], + (), [ 67u8, 196u8, 244u8, 13u8, 246u8, 245u8, 198u8, 98u8, 81u8, 55u8, 182u8, 187u8, 214u8, 5u8, 181u8, 76u8, 251u8, 213u8, 144u8, 166u8, 36u8, @@ -5354,17 +5738,17 @@ pub mod api { #[doc = " until the first block of the chain."] pub fn genesis_slot( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::genesis_slot::GenesisSlot, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Babe", "GenesisSlot", - vec![], + (), [ 218u8, 174u8, 152u8, 76u8, 188u8, 214u8, 7u8, 88u8, 253u8, 187u8, 139u8, 234u8, 51u8, 28u8, 220u8, 57u8, 73u8, 1u8, 18u8, 205u8, 80u8, @@ -5376,17 +5760,17 @@ pub mod api { #[doc = " Current slot number."] pub fn current_slot( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::current_slot::CurrentSlot, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Babe", "CurrentSlot", - vec![], + (), [ 112u8, 199u8, 115u8, 248u8, 217u8, 242u8, 45u8, 231u8, 178u8, 53u8, 236u8, 167u8, 219u8, 238u8, 81u8, 243u8, 39u8, 140u8, 68u8, 19u8, @@ -5407,17 +5791,17 @@ pub mod api { #[doc = " adversary, for purposes such as public-coin zero-knowledge proofs."] pub fn randomness( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::randomness::Randomness, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Babe", "Randomness", - vec![], + (), [ 36u8, 15u8, 52u8, 73u8, 195u8, 177u8, 186u8, 125u8, 134u8, 11u8, 103u8, 248u8, 170u8, 237u8, 105u8, 239u8, 168u8, 204u8, 147u8, 52u8, 15u8, @@ -5429,17 +5813,17 @@ pub mod api { #[doc = " Pending epoch configuration change that will be applied when the next epoch is enacted."] pub fn pending_epoch_config_change( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::pending_epoch_config_change::PendingEpochConfigChange, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Babe", "PendingEpochConfigChange", - vec![], + (), [ 79u8, 216u8, 84u8, 210u8, 83u8, 149u8, 122u8, 160u8, 159u8, 164u8, 16u8, 134u8, 154u8, 104u8, 77u8, 254u8, 139u8, 18u8, 163u8, 59u8, 92u8, @@ -5450,17 +5834,17 @@ pub mod api { #[doc = " Next epoch randomness."] pub fn next_randomness( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::next_randomness::NextRandomness, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Babe", "NextRandomness", - vec![], + (), [ 96u8, 191u8, 139u8, 171u8, 144u8, 92u8, 33u8, 58u8, 23u8, 219u8, 164u8, 121u8, 59u8, 209u8, 112u8, 244u8, 50u8, 8u8, 14u8, 244u8, 103u8, 125u8, @@ -5471,17 +5855,17 @@ pub mod api { #[doc = " Next epoch authorities."] pub fn next_authorities( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::next_authorities::NextAuthorities, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Babe", "NextAuthorities", - vec![], + (), [ 116u8, 95u8, 126u8, 199u8, 237u8, 90u8, 202u8, 227u8, 247u8, 56u8, 201u8, 113u8, 239u8, 191u8, 151u8, 56u8, 156u8, 133u8, 61u8, 64u8, @@ -5501,17 +5885,17 @@ pub mod api { #[doc = " epoch."] pub fn segment_index( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::segment_index::SegmentIndex, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Babe", "SegmentIndex", - vec![], + (), [ 145u8, 91u8, 142u8, 240u8, 184u8, 94u8, 68u8, 52u8, 130u8, 3u8, 75u8, 175u8, 155u8, 130u8, 66u8, 9u8, 150u8, 242u8, 123u8, 111u8, 124u8, @@ -5523,17 +5907,17 @@ pub mod api { #[doc = " TWOX-NOTE: `SegmentIndex` is an increasing integer, so this is okay."] pub fn under_construction_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::under_construction::UnderConstruction, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Babe", "UnderConstruction", - vec![], + (), [ 120u8, 120u8, 59u8, 247u8, 50u8, 6u8, 220u8, 14u8, 2u8, 76u8, 203u8, 244u8, 232u8, 144u8, 253u8, 191u8, 101u8, 35u8, 99u8, 85u8, 111u8, @@ -5544,20 +5928,22 @@ pub mod api { #[doc = " TWOX-NOTE: `SegmentIndex` is an increasing integer, so this is okay."] pub fn under_construction( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::under_construction::Param0, + >, types::under_construction::UnderConstruction, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Babe", "UnderConstruction", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 120u8, 120u8, 59u8, 247u8, 50u8, 6u8, 220u8, 14u8, 2u8, 76u8, 203u8, 244u8, 232u8, 144u8, 253u8, 191u8, 101u8, 35u8, 99u8, 85u8, 111u8, @@ -5569,17 +5955,17 @@ pub mod api { #[doc = " if per-block initialization has already been called for current block."] pub fn initialized( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::initialized::Initialized, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Babe", "Initialized", - vec![], + (), [ 137u8, 31u8, 4u8, 130u8, 35u8, 232u8, 67u8, 108u8, 17u8, 123u8, 26u8, 96u8, 238u8, 95u8, 138u8, 208u8, 163u8, 83u8, 218u8, 143u8, 8u8, 119u8, @@ -5593,17 +5979,17 @@ pub mod api { #[doc = " It is set in `on_finalize`, before it will contain the value from the last block."] pub fn author_vrf_randomness( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::author_vrf_randomness::AuthorVrfRandomness, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Babe", "AuthorVrfRandomness", - vec![], + (), [ 160u8, 157u8, 62u8, 48u8, 196u8, 136u8, 63u8, 132u8, 155u8, 183u8, 91u8, 201u8, 146u8, 29u8, 192u8, 142u8, 168u8, 152u8, 197u8, 233u8, @@ -5619,17 +6005,17 @@ pub mod api { #[doc = " slots, which may be skipped, the block numbers may not line up with the slot numbers."] pub fn epoch_start( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::epoch_start::EpochStart, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Babe", "EpochStart", - vec![], + (), [ 144u8, 133u8, 140u8, 56u8, 241u8, 203u8, 199u8, 123u8, 244u8, 126u8, 196u8, 151u8, 214u8, 204u8, 243u8, 244u8, 210u8, 198u8, 174u8, 126u8, @@ -5645,17 +6031,17 @@ pub mod api { #[doc = " execution context should always yield zero."] pub fn lateness( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::lateness::Lateness, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Babe", "Lateness", - vec![], + (), [ 229u8, 214u8, 133u8, 149u8, 32u8, 159u8, 26u8, 22u8, 252u8, 131u8, 200u8, 191u8, 231u8, 176u8, 178u8, 127u8, 33u8, 212u8, 139u8, 220u8, @@ -5668,17 +6054,17 @@ pub mod api { #[doc = " genesis."] pub fn epoch_config( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::epoch_config::EpochConfig, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Babe", "EpochConfig", - vec![], + (), [ 151u8, 58u8, 93u8, 2u8, 19u8, 98u8, 41u8, 144u8, 241u8, 70u8, 195u8, 37u8, 126u8, 241u8, 111u8, 65u8, 16u8, 228u8, 111u8, 220u8, 241u8, @@ -5691,17 +6077,17 @@ pub mod api { #[doc = " (you can fallback to `EpochConfig` instead in that case)."] pub fn next_epoch_config( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::next_epoch_config::NextEpochConfig, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Babe", "NextEpochConfig", - vec![], + (), [ 65u8, 54u8, 74u8, 141u8, 193u8, 124u8, 130u8, 238u8, 106u8, 27u8, 221u8, 189u8, 103u8, 53u8, 39u8, 243u8, 212u8, 216u8, 75u8, 185u8, @@ -5720,17 +6106,17 @@ pub mod api { #[doc = " active epoch index was during that session."] pub fn skipped_epochs( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::skipped_epochs::SkippedEpochs, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Babe", "SkippedEpochs", - vec![], + (), [ 120u8, 167u8, 144u8, 97u8, 41u8, 216u8, 103u8, 90u8, 3u8, 86u8, 196u8, 35u8, 160u8, 150u8, 144u8, 233u8, 128u8, 35u8, 119u8, 66u8, 6u8, 63u8, @@ -5749,8 +6135,9 @@ pub mod api { #[doc = " the chain has started. Attempting to do so will brick block production."] pub fn epoch_duration( &self, - ) -> ::subxt::constants::Address<::core::primitive::u64> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u64> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Babe", "EpochDuration", [ @@ -5768,8 +6155,9 @@ pub mod api { #[doc = " the probability of a slot being empty)."] pub fn expected_block_time( &self, - ) -> ::subxt::constants::Address<::core::primitive::u64> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u64> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Babe", "ExpectedBlockTime", [ @@ -5783,8 +6171,9 @@ pub mod api { #[doc = " Max number of authorities allowed"] pub fn max_authorities( &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Babe", "MaxAuthorities", [ @@ -5798,8 +6187,9 @@ pub mod api { #[doc = " The maximum number of nominators for each validator."] pub fn max_nominators( &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Babe", "MaxNominators", [ @@ -5825,15 +6215,19 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set`]."] pub struct Set { #[codec(compact)] @@ -5843,7 +6237,7 @@ pub mod api { use super::runtime_types; pub type Now = ::core::primitive::u64; } - impl ::subxt::blocks::StaticExtrinsic for Set { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Set { const PALLET: &'static str = "Timestamp"; const CALL: &'static str = "set"; } @@ -5851,8 +6245,11 @@ pub mod api { pub struct TransactionApi; impl TransactionApi { #[doc = "See [`Pallet::set`]."] - pub fn set(&self, now: types::set::Now) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + pub fn set( + &self, + now: types::set::Now, + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Timestamp", "set", types::Set { now }, @@ -5883,17 +6280,17 @@ pub mod api { #[doc = " The current time for the current block."] pub fn now( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::now::Now, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Timestamp", "Now", - vec![], + (), [ 44u8, 50u8, 80u8, 30u8, 195u8, 146u8, 123u8, 238u8, 8u8, 163u8, 187u8, 92u8, 61u8, 39u8, 51u8, 29u8, 173u8, 169u8, 217u8, 158u8, 85u8, 187u8, @@ -5907,17 +6304,17 @@ pub mod api { #[doc = " It is then checked at the end of each block execution in the `on_finalize` hook."] pub fn did_update( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::did_update::DidUpdate, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Timestamp", "DidUpdate", - vec![], + (), [ 229u8, 175u8, 246u8, 102u8, 237u8, 158u8, 212u8, 229u8, 238u8, 214u8, 205u8, 160u8, 164u8, 252u8, 195u8, 75u8, 139u8, 110u8, 22u8, 34u8, @@ -5940,8 +6337,9 @@ pub mod api { #[doc = " period on default settings."] pub fn minimum_period( &self, - ) -> ::subxt::constants::Address<::core::primitive::u64> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u64> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Timestamp", "MinimumPeriod", [ @@ -5969,15 +6367,19 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::claim`]."] pub struct Claim { pub index: claim::Index, @@ -5986,20 +6388,24 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for Claim { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Claim { const PALLET: &'static str = "Indices"; const CALL: &'static str = "claim"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::transfer`]."] pub struct Transfer { pub new: transfer::New, @@ -6007,23 +6413,30 @@ pub mod api { } pub mod transfer { use super::runtime_types; - pub type New = ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type New = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; pub type Index = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for Transfer { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Transfer { const PALLET: &'static str = "Indices"; const CALL: &'static str = "transfer"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::free`]."] pub struct Free { pub index: free::Index, @@ -6032,20 +6445,24 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for Free { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Free { const PALLET: &'static str = "Indices"; const CALL: &'static str = "free"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::force_transfer`]."] pub struct ForceTransfer { pub new: force_transfer::New, @@ -6054,24 +6471,31 @@ pub mod api { } pub mod force_transfer { use super::runtime_types; - pub type New = ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type New = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; pub type Index = ::core::primitive::u32; pub type Freeze = ::core::primitive::bool; } - impl ::subxt::blocks::StaticExtrinsic for ForceTransfer { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceTransfer { const PALLET: &'static str = "Indices"; const CALL: &'static str = "force_transfer"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::freeze`]."] pub struct Freeze { pub index: freeze::Index, @@ -6080,7 +6504,7 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for Freeze { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Freeze { const PALLET: &'static str = "Indices"; const CALL: &'static str = "freeze"; } @@ -6091,8 +6515,8 @@ pub mod api { pub fn claim( &self, index: types::claim::Index, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Indices", "claim", types::Claim { index }, @@ -6108,8 +6532,8 @@ pub mod api { &self, new: types::transfer::New, index: types::transfer::Index, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Indices", "transfer", types::Transfer { new, index }, @@ -6122,8 +6546,11 @@ pub mod api { ) } #[doc = "See [`Pallet::free`]."] - pub fn free(&self, index: types::free::Index) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + pub fn free( + &self, + index: types::free::Index, + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Indices", "free", types::Free { index }, @@ -6141,8 +6568,8 @@ pub mod api { new: types::force_transfer::New, index: types::force_transfer::Index, freeze: types::force_transfer::Freeze, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Indices", "force_transfer", types::ForceTransfer { new, index, freeze }, @@ -6158,8 +6585,8 @@ pub mod api { pub fn freeze( &self, index: types::freeze::Index, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Indices", "freeze", types::Freeze { index }, @@ -6178,15 +6605,15 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A account index was assigned."] pub struct IndexAssigned { pub who: index_assigned::Who, @@ -6194,23 +6621,23 @@ pub mod api { } pub mod index_assigned { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Index = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for IndexAssigned { + impl ::subxt::ext::subxt_core::events::StaticEvent for IndexAssigned { const PALLET: &'static str = "Indices"; const EVENT: &'static str = "IndexAssigned"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A account index has been freed up (unassigned)."] pub struct IndexFreed { pub index: index_freed::Index, @@ -6219,20 +6646,20 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for IndexFreed { + impl ::subxt::ext::subxt_core::events::StaticEvent for IndexFreed { const PALLET: &'static str = "Indices"; const EVENT: &'static str = "IndexFreed"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A account index has been frozen to its current account ID."] pub struct IndexFrozen { pub index: index_frozen::Index, @@ -6241,9 +6668,9 @@ pub mod api { pub mod index_frozen { use super::runtime_types; pub type Index = ::core::primitive::u32; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt::events::StaticEvent for IndexFrozen { + impl ::subxt::ext::subxt_core::events::StaticEvent for IndexFrozen { const PALLET: &'static str = "Indices"; const EVENT: &'static str = "IndexFrozen"; } @@ -6255,7 +6682,7 @@ pub mod api { pub mod accounts { use super::runtime_types; pub type Accounts = ( - ::subxt::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u128, ::core::primitive::bool, ); @@ -6267,17 +6694,17 @@ pub mod api { #[doc = " The lookup from index to account."] pub fn accounts_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::accounts::Accounts, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Indices", "Accounts", - vec![], + (), [ 48u8, 189u8, 43u8, 119u8, 32u8, 168u8, 28u8, 12u8, 245u8, 81u8, 119u8, 182u8, 23u8, 201u8, 33u8, 147u8, 128u8, 171u8, 155u8, 134u8, 71u8, @@ -6289,20 +6716,22 @@ pub mod api { #[doc = " The lookup from index to account."] pub fn accounts( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::accounts::Param0, + >, types::accounts::Accounts, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Indices", "Accounts", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 48u8, 189u8, 43u8, 119u8, 32u8, 168u8, 28u8, 12u8, 245u8, 81u8, 119u8, 182u8, 23u8, 201u8, 33u8, 147u8, 128u8, 171u8, 155u8, 134u8, 71u8, @@ -6318,8 +6747,11 @@ pub mod api { pub struct ConstantsApi; impl ConstantsApi { #[doc = " The deposit needed for reserving an index."] - pub fn deposit(&self) -> ::subxt::constants::Address<::core::primitive::u128> { - ::subxt::constants::Address::new_static( + pub fn deposit( + &self, + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u128> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Indices", "Deposit", [ @@ -6346,15 +6778,19 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::transfer_allow_death`]."] pub struct TransferAllowDeath { pub dest: transfer_allow_death::Dest, @@ -6363,23 +6799,30 @@ pub mod api { } pub mod transfer_allow_death { use super::runtime_types; - pub type Dest = ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Dest = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; pub type Value = ::core::primitive::u128; } - impl ::subxt::blocks::StaticExtrinsic for TransferAllowDeath { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for TransferAllowDeath { const PALLET: &'static str = "Balances"; const CALL: &'static str = "transfer_allow_death"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::force_transfer`]."] pub struct ForceTransfer { pub source: force_transfer::Source, @@ -6389,24 +6832,34 @@ pub mod api { } pub mod force_transfer { use super::runtime_types; - pub type Source = ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; - pub type Dest = ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Source = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; + pub type Dest = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; pub type Value = ::core::primitive::u128; } - impl ::subxt::blocks::StaticExtrinsic for ForceTransfer { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceTransfer { const PALLET: &'static str = "Balances"; const CALL: &'static str = "force_transfer"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::transfer_keep_alive`]."] pub struct TransferKeepAlive { pub dest: transfer_keep_alive::Dest, @@ -6415,23 +6868,30 @@ pub mod api { } pub mod transfer_keep_alive { use super::runtime_types; - pub type Dest = ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Dest = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; pub type Value = ::core::primitive::u128; } - impl ::subxt::blocks::StaticExtrinsic for TransferKeepAlive { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for TransferKeepAlive { const PALLET: &'static str = "Balances"; const CALL: &'static str = "transfer_keep_alive"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::transfer_all`]."] pub struct TransferAll { pub dest: transfer_all::Dest, @@ -6439,23 +6899,30 @@ pub mod api { } pub mod transfer_all { use super::runtime_types; - pub type Dest = ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Dest = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; pub type KeepAlive = ::core::primitive::bool; } - impl ::subxt::blocks::StaticExtrinsic for TransferAll { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for TransferAll { const PALLET: &'static str = "Balances"; const CALL: &'static str = "transfer_all"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::force_unreserve`]."] pub struct ForceUnreserve { pub who: force_unreserve::Who, @@ -6463,45 +6930,58 @@ pub mod api { } pub mod force_unreserve { use super::runtime_types; - pub type Who = ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Who = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; pub type Amount = ::core::primitive::u128; } - impl ::subxt::blocks::StaticExtrinsic for ForceUnreserve { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceUnreserve { const PALLET: &'static str = "Balances"; const CALL: &'static str = "force_unreserve"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::upgrade_accounts`]."] pub struct UpgradeAccounts { pub who: upgrade_accounts::Who, } pub mod upgrade_accounts { use super::runtime_types; - pub type Who = ::std::vec::Vec<::subxt::utils::AccountId32>; + pub type Who = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >; } - impl ::subxt::blocks::StaticExtrinsic for UpgradeAccounts { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for UpgradeAccounts { const PALLET: &'static str = "Balances"; const CALL: &'static str = "upgrade_accounts"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::force_set_balance`]."] pub struct ForceSetBalance { pub who: force_set_balance::Who, @@ -6510,10 +6990,13 @@ pub mod api { } pub mod force_set_balance { use super::runtime_types; - pub type Who = ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Who = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; pub type NewFree = ::core::primitive::u128; } - impl ::subxt::blocks::StaticExtrinsic for ForceSetBalance { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceSetBalance { const PALLET: &'static str = "Balances"; const CALL: &'static str = "force_set_balance"; } @@ -6525,8 +7008,9 @@ pub mod api { &self, dest: types::transfer_allow_death::Dest, value: types::transfer_allow_death::Value, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Balances", "transfer_allow_death", types::TransferAllowDeath { dest, value }, @@ -6544,8 +7028,8 @@ pub mod api { source: types::force_transfer::Source, dest: types::force_transfer::Dest, value: types::force_transfer::Value, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Balances", "force_transfer", types::ForceTransfer { @@ -6565,8 +7049,9 @@ pub mod api { &self, dest: types::transfer_keep_alive::Dest, value: types::transfer_keep_alive::Value, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Balances", "transfer_keep_alive", types::TransferKeepAlive { dest, value }, @@ -6582,8 +7067,8 @@ pub mod api { &self, dest: types::transfer_all::Dest, keep_alive: types::transfer_all::KeepAlive, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Balances", "transfer_all", types::TransferAll { dest, keep_alive }, @@ -6599,8 +7084,8 @@ pub mod api { &self, who: types::force_unreserve::Who, amount: types::force_unreserve::Amount, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Balances", "force_unreserve", types::ForceUnreserve { who, amount }, @@ -6616,8 +7101,8 @@ pub mod api { pub fn upgrade_accounts( &self, who: types::upgrade_accounts::Who, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Balances", "upgrade_accounts", types::UpgradeAccounts { who }, @@ -6633,8 +7118,8 @@ pub mod api { &self, who: types::force_set_balance::Who, new_free: types::force_set_balance::NewFree, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Balances", "force_set_balance", types::ForceSetBalance { who, new_free }, @@ -6652,15 +7137,15 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An account was created with some free balance."] pub struct Endowed { pub account: endowed::Account, @@ -6668,23 +7153,23 @@ pub mod api { } pub mod endowed { use super::runtime_types; - pub type Account = ::subxt::utils::AccountId32; + pub type Account = ::subxt::ext::subxt_core::utils::AccountId32; pub type FreeBalance = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Endowed { + impl ::subxt::ext::subxt_core::events::StaticEvent for Endowed { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Endowed"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An account was removed whose balance was non-zero but below ExistentialDeposit,"] #[doc = "resulting in an outright loss."] pub struct DustLost { @@ -6693,23 +7178,23 @@ pub mod api { } pub mod dust_lost { use super::runtime_types; - pub type Account = ::subxt::utils::AccountId32; + pub type Account = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for DustLost { + impl ::subxt::ext::subxt_core::events::StaticEvent for DustLost { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "DustLost"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Transfer succeeded."] pub struct Transfer { pub from: transfer::From, @@ -6718,24 +7203,24 @@ pub mod api { } pub mod transfer { use super::runtime_types; - pub type From = ::subxt::utils::AccountId32; - pub type To = ::subxt::utils::AccountId32; + pub type From = ::subxt::ext::subxt_core::utils::AccountId32; + pub type To = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Transfer { + impl ::subxt::ext::subxt_core::events::StaticEvent for Transfer { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Transfer"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A balance was set by root."] pub struct BalanceSet { pub who: balance_set::Who, @@ -6743,23 +7228,23 @@ pub mod api { } pub mod balance_set { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Free = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for BalanceSet { + impl ::subxt::ext::subxt_core::events::StaticEvent for BalanceSet { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "BalanceSet"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some balance was reserved (moved from free to reserved)."] pub struct Reserved { pub who: reserved::Who, @@ -6767,23 +7252,23 @@ pub mod api { } pub mod reserved { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Reserved { + impl ::subxt::ext::subxt_core::events::StaticEvent for Reserved { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Reserved"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some balance was unreserved (moved from reserved to free)."] pub struct Unreserved { pub who: unreserved::Who, @@ -6791,23 +7276,23 @@ pub mod api { } pub mod unreserved { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Unreserved { + impl ::subxt::ext::subxt_core::events::StaticEvent for Unreserved { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Unreserved"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some balance was moved from the reserve of the first account to the second account."] #[doc = "Final argument indicates the destination balance type."] pub struct ReserveRepatriated { @@ -6818,26 +7303,26 @@ pub mod api { } pub mod reserve_repatriated { use super::runtime_types; - pub type From = ::subxt::utils::AccountId32; - pub type To = ::subxt::utils::AccountId32; + pub type From = ::subxt::ext::subxt_core::utils::AccountId32; + pub type To = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; pub type DestinationStatus = runtime_types::frame_support::traits::tokens::misc::BalanceStatus; } - impl ::subxt::events::StaticEvent for ReserveRepatriated { + impl ::subxt::ext::subxt_core::events::StaticEvent for ReserveRepatriated { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "ReserveRepatriated"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some amount was deposited (e.g. for transaction fees)."] pub struct Deposit { pub who: deposit::Who, @@ -6845,23 +7330,23 @@ pub mod api { } pub mod deposit { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Deposit { + impl ::subxt::ext::subxt_core::events::StaticEvent for Deposit { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Deposit"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some amount was withdrawn from the account (e.g. for transaction fees)."] pub struct Withdraw { pub who: withdraw::Who, @@ -6869,23 +7354,23 @@ pub mod api { } pub mod withdraw { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Withdraw { + impl ::subxt::ext::subxt_core::events::StaticEvent for Withdraw { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Withdraw"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some amount was removed from the account (e.g. for misbehavior)."] pub struct Slashed { pub who: slashed::Who, @@ -6893,23 +7378,23 @@ pub mod api { } pub mod slashed { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Slashed { + impl ::subxt::ext::subxt_core::events::StaticEvent for Slashed { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Slashed"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some amount was minted into an account."] pub struct Minted { pub who: minted::Who, @@ -6917,23 +7402,23 @@ pub mod api { } pub mod minted { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Minted { + impl ::subxt::ext::subxt_core::events::StaticEvent for Minted { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Minted"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some amount was burned from an account."] pub struct Burned { pub who: burned::Who, @@ -6941,23 +7426,23 @@ pub mod api { } pub mod burned { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Burned { + impl ::subxt::ext::subxt_core::events::StaticEvent for Burned { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Burned"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some amount was suspended from an account (it can be restored later)."] pub struct Suspended { pub who: suspended::Who, @@ -6965,23 +7450,23 @@ pub mod api { } pub mod suspended { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Suspended { + impl ::subxt::ext::subxt_core::events::StaticEvent for Suspended { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Suspended"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some amount was restored into an account."] pub struct Restored { pub who: restored::Who, @@ -6989,45 +7474,45 @@ pub mod api { } pub mod restored { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Restored { + impl ::subxt::ext::subxt_core::events::StaticEvent for Restored { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Restored"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An account was upgraded."] pub struct Upgraded { pub who: upgraded::Who, } pub mod upgraded { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt::events::StaticEvent for Upgraded { + impl ::subxt::ext::subxt_core::events::StaticEvent for Upgraded { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Upgraded"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Total issuance was increased by `amount`, creating a credit to be balanced."] pub struct Issued { pub amount: issued::Amount, @@ -7036,20 +7521,20 @@ pub mod api { use super::runtime_types; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Issued { + impl ::subxt::ext::subxt_core::events::StaticEvent for Issued { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Issued"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Total issuance was decreased by `amount`, creating a debt to be balanced."] pub struct Rescinded { pub amount: rescinded::Amount, @@ -7058,20 +7543,20 @@ pub mod api { use super::runtime_types; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Rescinded { + impl ::subxt::ext::subxt_core::events::StaticEvent for Rescinded { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Rescinded"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some balance was locked."] pub struct Locked { pub who: locked::Who, @@ -7079,23 +7564,23 @@ pub mod api { } pub mod locked { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Locked { + impl ::subxt::ext::subxt_core::events::StaticEvent for Locked { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Locked"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some balance was unlocked."] pub struct Unlocked { pub who: unlocked::Who, @@ -7103,23 +7588,23 @@ pub mod api { } pub mod unlocked { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Unlocked { + impl ::subxt::ext::subxt_core::events::StaticEvent for Unlocked { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Unlocked"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some balance was frozen."] pub struct Frozen { pub who: frozen::Who, @@ -7127,23 +7612,23 @@ pub mod api { } pub mod frozen { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Frozen { + impl ::subxt::ext::subxt_core::events::StaticEvent for Frozen { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Frozen"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some balance was thawed."] pub struct Thawed { pub who: thawed::Who, @@ -7151,10 +7636,10 @@ pub mod api { } pub mod thawed { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Thawed { + impl ::subxt::ext::subxt_core::events::StaticEvent for Thawed { const PALLET: &'static str = "Balances"; const EVENT: &'static str = "Thawed"; } @@ -7175,47 +7660,49 @@ pub mod api { use super::runtime_types; pub type Account = runtime_types::pallet_balances::types::AccountData<::core::primitive::u128>; - pub type Param0 = ::subxt::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod locks { use super::runtime_types; pub type Locks = - runtime_types::bounded_collections::weak_bounded_vec::WeakBoundedVec< + runtime_types::bounded_collections::weak_bounded_vec::WeakBoundedVec3< runtime_types::pallet_balances::types::BalanceLock< ::core::primitive::u128, >, >; - pub type Param0 = ::subxt::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod reserves { use super::runtime_types; - pub type Reserves = runtime_types::bounded_collections::bounded_vec::BoundedVec< - runtime_types::pallet_balances::types::ReserveData< - [::core::primitive::u8; 8usize], - ::core::primitive::u128, - >, - >; - pub type Param0 = ::subxt::utils::AccountId32; + pub type Reserves = + runtime_types::bounded_collections::bounded_vec::BoundedVec8< + runtime_types::pallet_balances::types::ReserveData< + [::core::primitive::u8; 8usize], + ::core::primitive::u128, + >, + >; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod holds { use super::runtime_types; - pub type Holds = runtime_types::bounded_collections::bounded_vec::BoundedVec< + pub type Holds = runtime_types::bounded_collections::bounded_vec::BoundedVec9< runtime_types::pallet_balances::types::IdAmount< runtime_types::rococo_runtime::RuntimeHoldReason, ::core::primitive::u128, >, >; - pub type Param0 = ::subxt::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod freezes { use super::runtime_types; - pub type Freezes = runtime_types::bounded_collections::bounded_vec::BoundedVec< - runtime_types::pallet_balances::types::IdAmount< - (), - ::core::primitive::u128, - >, - >; - pub type Param0 = ::subxt::utils::AccountId32; + pub type Freezes = + runtime_types::bounded_collections::bounded_vec::BoundedVec10< + runtime_types::pallet_balances::types::IdAmount< + (), + ::core::primitive::u128, + >, + >; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } } pub struct StorageApi; @@ -7223,17 +7710,17 @@ pub mod api { #[doc = " The total units issued in the system."] pub fn total_issuance( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::total_issuance::TotalIssuance, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Balances", "TotalIssuance", - vec![], + (), [ 116u8, 70u8, 119u8, 194u8, 69u8, 37u8, 116u8, 206u8, 171u8, 70u8, 171u8, 210u8, 226u8, 111u8, 184u8, 204u8, 206u8, 11u8, 68u8, 72u8, @@ -7245,17 +7732,17 @@ pub mod api { #[doc = " The total units of outstanding deactivated balance in the system."] pub fn inactive_issuance( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::inactive_issuance::InactiveIssuance, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Balances", "InactiveIssuance", - vec![], + (), [ 212u8, 185u8, 19u8, 50u8, 250u8, 72u8, 173u8, 50u8, 4u8, 104u8, 161u8, 249u8, 77u8, 247u8, 204u8, 248u8, 11u8, 18u8, 57u8, 4u8, 82u8, 110u8, @@ -7289,17 +7776,17 @@ pub mod api { #[doc = " NOTE: This is only used in the case that this pallet is used to store balances."] pub fn account_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::account::Account, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Balances", "Account", - vec![], + (), [ 213u8, 38u8, 200u8, 69u8, 218u8, 0u8, 112u8, 181u8, 160u8, 23u8, 96u8, 90u8, 3u8, 88u8, 126u8, 22u8, 103u8, 74u8, 64u8, 69u8, 29u8, 247u8, @@ -7333,20 +7820,22 @@ pub mod api { #[doc = " NOTE: This is only used in the case that this pallet is used to store balances."] pub fn account( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::account::Param0, + >, types::account::Account, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Balances", "Account", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 213u8, 38u8, 200u8, 69u8, 218u8, 0u8, 112u8, 181u8, 160u8, 23u8, 96u8, 90u8, 3u8, 88u8, 126u8, 22u8, 103u8, 74u8, 64u8, 69u8, 29u8, 247u8, @@ -7358,17 +7847,17 @@ pub mod api { #[doc = " NOTE: Should only be accessed when setting, changing and freeing a lock."] pub fn locks_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::locks::Locks, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Balances", "Locks", - vec![], + (), [ 10u8, 223u8, 55u8, 0u8, 249u8, 69u8, 168u8, 41u8, 75u8, 35u8, 120u8, 167u8, 18u8, 132u8, 9u8, 20u8, 91u8, 51u8, 27u8, 69u8, 136u8, 187u8, @@ -7380,20 +7869,22 @@ pub mod api { #[doc = " NOTE: Should only be accessed when setting, changing and freeing a lock."] pub fn locks( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::locks::Param0, + >, types::locks::Locks, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Balances", "Locks", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 10u8, 223u8, 55u8, 0u8, 249u8, 69u8, 168u8, 41u8, 75u8, 35u8, 120u8, 167u8, 18u8, 132u8, 9u8, 20u8, 91u8, 51u8, 27u8, 69u8, 136u8, 187u8, @@ -7404,17 +7895,17 @@ pub mod api { #[doc = " Named reserves on some account balances."] pub fn reserves_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::reserves::Reserves, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Balances", "Reserves", - vec![], + (), [ 112u8, 10u8, 241u8, 77u8, 64u8, 187u8, 106u8, 159u8, 13u8, 153u8, 140u8, 178u8, 182u8, 50u8, 1u8, 55u8, 149u8, 92u8, 196u8, 229u8, 170u8, @@ -7425,20 +7916,22 @@ pub mod api { #[doc = " Named reserves on some account balances."] pub fn reserves( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::reserves::Param0, + >, types::reserves::Reserves, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Balances", "Reserves", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 112u8, 10u8, 241u8, 77u8, 64u8, 187u8, 106u8, 159u8, 13u8, 153u8, 140u8, 178u8, 182u8, 50u8, 1u8, 55u8, 149u8, 92u8, 196u8, 229u8, 170u8, @@ -7449,17 +7942,17 @@ pub mod api { #[doc = " Holds on account balances."] pub fn holds_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::holds::Holds, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Balances", "Holds", - vec![], + (), [ 72u8, 161u8, 107u8, 123u8, 240u8, 3u8, 198u8, 75u8, 46u8, 131u8, 122u8, 141u8, 253u8, 141u8, 232u8, 192u8, 146u8, 54u8, 174u8, 162u8, 48u8, @@ -7471,20 +7964,22 @@ pub mod api { #[doc = " Holds on account balances."] pub fn holds( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::holds::Param0, + >, types::holds::Holds, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Balances", "Holds", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 72u8, 161u8, 107u8, 123u8, 240u8, 3u8, 198u8, 75u8, 46u8, 131u8, 122u8, 141u8, 253u8, 141u8, 232u8, 192u8, 146u8, 54u8, 174u8, 162u8, 48u8, @@ -7496,17 +7991,17 @@ pub mod api { #[doc = " Freeze locks on account balances."] pub fn freezes_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::freezes::Freezes, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Balances", "Freezes", - vec![], + (), [ 69u8, 49u8, 165u8, 76u8, 135u8, 142u8, 179u8, 118u8, 50u8, 109u8, 53u8, 112u8, 110u8, 94u8, 30u8, 93u8, 173u8, 38u8, 27u8, 142u8, 19u8, 5u8, @@ -7517,20 +8012,22 @@ pub mod api { #[doc = " Freeze locks on account balances."] pub fn freezes( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::freezes::Param0, + >, types::freezes::Freezes, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Balances", "Freezes", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 69u8, 49u8, 165u8, 76u8, 135u8, 142u8, 179u8, 118u8, 50u8, 109u8, 53u8, 112u8, 110u8, 94u8, 30u8, 93u8, 173u8, 38u8, 27u8, 142u8, 19u8, 5u8, @@ -7554,8 +8051,9 @@ pub mod api { #[doc = " Bottom line: Do yourself a favour and make it at least one!"] pub fn existential_deposit( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u128> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Balances", "ExistentialDeposit", [ @@ -7567,8 +8065,11 @@ pub mod api { } #[doc = " The maximum number of locks that should exist on an account."] #[doc = " Not strictly enforced, but used for weight estimation."] - pub fn max_locks(&self) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + pub fn max_locks( + &self, + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Balances", "MaxLocks", [ @@ -7580,8 +8081,11 @@ pub mod api { ) } #[doc = " The maximum number of named reserves that can exist on an account."] - pub fn max_reserves(&self) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + pub fn max_reserves( + &self, + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Balances", "MaxReserves", [ @@ -7593,8 +8097,11 @@ pub mod api { ) } #[doc = " The maximum number of holds that can exist on an account at any time."] - pub fn max_holds(&self) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + pub fn max_holds( + &self, + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Balances", "MaxHolds", [ @@ -7606,8 +8113,11 @@ pub mod api { ) } #[doc = " The maximum number of individual freeze locks that can exist on an account at any time."] - pub fn max_freezes(&self) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + pub fn max_freezes( + &self, + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Balances", "MaxFreezes", [ @@ -7629,15 +8139,15 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,"] #[doc = "has been paid by `who`."] pub struct TransactionFeePaid { @@ -7647,11 +8157,11 @@ pub mod api { } pub mod transaction_fee_paid { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type ActualFee = ::core::primitive::u128; pub type Tip = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for TransactionFeePaid { + impl ::subxt::ext::subxt_core::events::StaticEvent for TransactionFeePaid { const PALLET: &'static str = "TransactionPayment"; const EVENT: &'static str = "TransactionFeePaid"; } @@ -7674,17 +8184,17 @@ pub mod api { impl StorageApi { pub fn next_fee_multiplier( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::next_fee_multiplier::NextFeeMultiplier, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "TransactionPayment", "NextFeeMultiplier", - vec![], + (), [ 247u8, 39u8, 81u8, 170u8, 225u8, 226u8, 82u8, 147u8, 34u8, 113u8, 147u8, 213u8, 59u8, 80u8, 139u8, 35u8, 36u8, 196u8, 152u8, 19u8, 9u8, @@ -7695,17 +8205,17 @@ pub mod api { } pub fn storage_version( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::storage_version::StorageVersion, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "TransactionPayment", "StorageVersion", - vec![], + (), [ 105u8, 243u8, 158u8, 241u8, 159u8, 231u8, 253u8, 6u8, 4u8, 32u8, 85u8, 178u8, 126u8, 31u8, 203u8, 134u8, 154u8, 38u8, 122u8, 155u8, 150u8, @@ -7720,10 +8230,10 @@ pub mod api { use super::runtime_types; pub struct ConstantsApi; impl ConstantsApi { - #[doc = " A fee multiplier for `Operational` extrinsics to compute \"virtual tip\" to boost their"] + #[doc = " A fee mulitplier for `Operational` extrinsics to compute \"virtual tip\" to boost their"] #[doc = " `priority`"] #[doc = ""] - #[doc = " This value is multiplied by the `final_fee` to obtain a \"virtual tip\" that is later"] + #[doc = " This value is multipled by the `final_fee` to obtain a \"virtual tip\" that is later"] #[doc = " added to a tip component in regular `priority` calculations."] #[doc = " It means that a `Normal` transaction can front-run a similarly-sized `Operational`"] #[doc = " extrinsic (with no tip), by including a tip value greater than the virtual tip."] @@ -7743,8 +8253,9 @@ pub mod api { #[doc = " transactions."] pub fn operational_fee_multiplier( &self, - ) -> ::subxt::constants::Address<::core::primitive::u8> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u8> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "TransactionPayment", "OperationalFeeMultiplier", [ @@ -7767,7 +8278,7 @@ pub mod api { use super::runtime_types; pub mod author { use super::runtime_types; - pub type Author = ::subxt::utils::AccountId32; + pub type Author = ::subxt::ext::subxt_core::utils::AccountId32; } } pub struct StorageApi; @@ -7775,17 +8286,17 @@ pub mod api { #[doc = " Author of current block."] pub fn author( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::author::Author, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Authorship", "Author", - vec![], + (), [ 247u8, 192u8, 118u8, 227u8, 47u8, 20u8, 203u8, 199u8, 216u8, 87u8, 220u8, 50u8, 166u8, 61u8, 168u8, 213u8, 253u8, 62u8, 202u8, 199u8, @@ -7805,15 +8316,15 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "There is an offence reported of the given `kind` happened at the `session_index` and"] #[doc = "(kind-specific) time slot. This event is not deposited for duplicate slashes."] #[doc = "\\[kind, timeslot\\]."] @@ -7824,9 +8335,10 @@ pub mod api { pub mod offence { use super::runtime_types; pub type Kind = [::core::primitive::u8; 16usize]; - pub type Timeslot = ::std::vec::Vec<::core::primitive::u8>; + pub type Timeslot = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } - impl ::subxt::events::StaticEvent for Offence { + impl ::subxt::ext::subxt_core::events::StaticEvent for Offence { const PALLET: &'static str = "Offences"; const EVENT: &'static str = "Offence"; } @@ -7838,14 +8350,16 @@ pub mod api { pub mod reports { use super::runtime_types; pub type Reports = runtime_types::sp_staking::offence::OffenceDetails< - ::subxt::utils::AccountId32, - (::subxt::utils::AccountId32, ()), + ::subxt::ext::subxt_core::utils::AccountId32, + (::subxt::ext::subxt_core::utils::AccountId32, ()), >; - pub type Param0 = ::subxt::utils::H256; + pub type Param0 = ::subxt::ext::subxt_core::utils::H256; } pub mod concurrent_reports_index { use super::runtime_types; - pub type ConcurrentReportsIndex = ::std::vec::Vec<::subxt::utils::H256>; + pub type ConcurrentReportsIndex = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::H256, + >; pub type Param0 = [::core::primitive::u8; 16usize]; pub type Param1 = [::core::primitive::u8]; } @@ -7855,17 +8369,17 @@ pub mod api { #[doc = " The primary structure that holds all offence records keyed by report identifiers."] pub fn reports_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::reports::Reports, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Offences", "Reports", - vec![], + (), [ 255u8, 234u8, 162u8, 48u8, 243u8, 210u8, 198u8, 231u8, 218u8, 142u8, 167u8, 10u8, 232u8, 223u8, 239u8, 55u8, 74u8, 23u8, 14u8, 236u8, 88u8, @@ -7877,20 +8391,22 @@ pub mod api { #[doc = " The primary structure that holds all offence records keyed by report identifiers."] pub fn reports( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::reports::Param0, + >, types::reports::Reports, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Offences", "Reports", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 255u8, 234u8, 162u8, 48u8, 243u8, 210u8, 198u8, 231u8, 218u8, 142u8, 167u8, 10u8, 232u8, 223u8, 239u8, 55u8, 74u8, 23u8, 14u8, 236u8, 88u8, @@ -7902,17 +8418,17 @@ pub mod api { #[doc = " A vector of reports of the same kind that happened at the same time slot."] pub fn concurrent_reports_index_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::concurrent_reports_index::ConcurrentReportsIndex, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Offences", "ConcurrentReportsIndex", - vec![], + (), [ 170u8, 186u8, 72u8, 29u8, 251u8, 38u8, 193u8, 195u8, 109u8, 86u8, 0u8, 241u8, 20u8, 235u8, 108u8, 126u8, 215u8, 82u8, 73u8, 113u8, 199u8, @@ -7924,20 +8440,22 @@ pub mod api { #[doc = " A vector of reports of the same kind that happened at the same time slot."] pub fn concurrent_reports_index_iter1( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::concurrent_reports_index::Param0, + >, types::concurrent_reports_index::ConcurrentReportsIndex, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Offences", "ConcurrentReportsIndex", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 170u8, 186u8, 72u8, 29u8, 251u8, 38u8, 193u8, 195u8, 109u8, 86u8, 0u8, 241u8, 20u8, 235u8, 108u8, 126u8, 215u8, 82u8, 73u8, 113u8, 199u8, @@ -7949,22 +8467,33 @@ pub mod api { #[doc = " A vector of reports of the same kind that happened at the same time slot."] pub fn concurrent_reports_index( &self, - _0: impl ::std::borrow::Borrow, - _1: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::concurrent_reports_index::Param0, + >, + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::concurrent_reports_index::Param1, + >, + ), types::concurrent_reports_index::ConcurrentReportsIndex, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Offences", "ConcurrentReportsIndex", - vec![ - ::subxt::storage::address::make_static_storage_map_key(_0.borrow()), - ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), - ], + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), + ), [ 170u8, 186u8, 72u8, 29u8, 251u8, 38u8, 193u8, 195u8, 109u8, 86u8, 0u8, 241u8, 20u8, 235u8, 108u8, 126u8, 215u8, 82u8, 73u8, 113u8, 199u8, @@ -7994,19 +8523,24 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::report_equivocation`]."] pub struct ReportEquivocation { - pub equivocation_proof: - ::std::boxed::Box, + pub equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box< + report_equivocation::EquivocationProof, + >, pub key_owner_proof: report_equivocation::KeyOwnerProof, } pub mod report_equivocation { @@ -8019,24 +8553,29 @@ pub mod api { >; pub type KeyOwnerProof = runtime_types::sp_session::MembershipProof; } - impl ::subxt::blocks::StaticExtrinsic for ReportEquivocation { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ReportEquivocation { const PALLET: &'static str = "Beefy"; const CALL: &'static str = "report_equivocation"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::report_equivocation_unsigned`]."] pub struct ReportEquivocationUnsigned { - pub equivocation_proof: - ::std::boxed::Box, + pub equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box< + report_equivocation_unsigned::EquivocationProof, + >, pub key_owner_proof: report_equivocation_unsigned::KeyOwnerProof, } pub mod report_equivocation_unsigned { @@ -8049,20 +8588,24 @@ pub mod api { >; pub type KeyOwnerProof = runtime_types::sp_session::MembershipProof; } - impl ::subxt::blocks::StaticExtrinsic for ReportEquivocationUnsigned { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ReportEquivocationUnsigned { const PALLET: &'static str = "Beefy"; const CALL: &'static str = "report_equivocation_unsigned"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_new_genesis`]."] pub struct SetNewGenesis { pub delay_in_blocks: set_new_genesis::DelayInBlocks, @@ -8071,7 +8614,7 @@ pub mod api { use super::runtime_types; pub type DelayInBlocks = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for SetNewGenesis { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetNewGenesis { const PALLET: &'static str = "Beefy"; const CALL: &'static str = "set_new_genesis"; } @@ -8083,12 +8626,15 @@ pub mod api { &self, equivocation_proof: types::report_equivocation::EquivocationProof, key_owner_proof: types::report_equivocation::KeyOwnerProof, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Beefy", "report_equivocation", types::ReportEquivocation { - equivocation_proof: ::std::boxed::Box::new(equivocation_proof), + equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box::new( + equivocation_proof, + ), key_owner_proof, }, [ @@ -8104,12 +8650,15 @@ pub mod api { &self, equivocation_proof: types::report_equivocation_unsigned::EquivocationProof, key_owner_proof: types::report_equivocation_unsigned::KeyOwnerProof, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Beefy", "report_equivocation_unsigned", types::ReportEquivocationUnsigned { - equivocation_proof: ::std::boxed::Box::new(equivocation_proof), + equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box::new( + equivocation_proof, + ), key_owner_proof, }, [ @@ -8124,8 +8673,8 @@ pub mod api { pub fn set_new_genesis( &self, delay_in_blocks: types::set_new_genesis::DelayInBlocks, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Beefy", "set_new_genesis", types::SetNewGenesis { delay_in_blocks }, @@ -8145,7 +8694,7 @@ pub mod api { pub mod authorities { use super::runtime_types; pub type Authorities = - runtime_types::bounded_collections::bounded_vec::BoundedVec< + runtime_types::bounded_collections::bounded_vec::BoundedVec11< runtime_types::sp_consensus_beefy::ecdsa_crypto::Public, >; } @@ -8156,7 +8705,7 @@ pub mod api { pub mod next_authorities { use super::runtime_types; pub type NextAuthorities = - runtime_types::bounded_collections::bounded_vec::BoundedVec< + runtime_types::bounded_collections::bounded_vec::BoundedVec11< runtime_types::sp_consensus_beefy::ecdsa_crypto::Public, >; } @@ -8175,17 +8724,17 @@ pub mod api { #[doc = " The current authorities set"] pub fn authorities( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::authorities::Authorities, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Beefy", "Authorities", - vec![], + (), [ 53u8, 171u8, 94u8, 33u8, 46u8, 83u8, 105u8, 120u8, 123u8, 201u8, 141u8, 71u8, 131u8, 150u8, 51u8, 121u8, 67u8, 45u8, 249u8, 146u8, 85u8, 113u8, @@ -8196,17 +8745,17 @@ pub mod api { #[doc = " The current validator set id"] pub fn validator_set_id( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::validator_set_id::ValidatorSetId, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Beefy", "ValidatorSetId", - vec![], + (), [ 168u8, 84u8, 23u8, 134u8, 153u8, 30u8, 183u8, 176u8, 206u8, 100u8, 109u8, 86u8, 109u8, 126u8, 146u8, 175u8, 173u8, 1u8, 253u8, 42u8, @@ -8218,17 +8767,17 @@ pub mod api { #[doc = " Authorities set scheduled to be used with the next session"] pub fn next_authorities( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::next_authorities::NextAuthorities, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Beefy", "NextAuthorities", - vec![], + (), [ 87u8, 180u8, 0u8, 85u8, 209u8, 13u8, 131u8, 103u8, 8u8, 226u8, 42u8, 72u8, 38u8, 47u8, 190u8, 78u8, 62u8, 4u8, 161u8, 130u8, 87u8, 196u8, @@ -8248,17 +8797,17 @@ pub mod api { #[doc = " TWOX-NOTE: `ValidatorSetId` is not under user control."] pub fn set_id_session_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::set_id_session::SetIdSession, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Beefy", "SetIdSession", - vec![], + (), [ 47u8, 0u8, 239u8, 121u8, 187u8, 213u8, 254u8, 50u8, 238u8, 10u8, 162u8, 65u8, 189u8, 166u8, 37u8, 74u8, 82u8, 81u8, 160u8, 20u8, 180u8, 253u8, @@ -8278,20 +8827,22 @@ pub mod api { #[doc = " TWOX-NOTE: `ValidatorSetId` is not under user control."] pub fn set_id_session( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::set_id_session::Param0, + >, types::set_id_session::SetIdSession, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Beefy", "SetIdSession", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 47u8, 0u8, 239u8, 121u8, 187u8, 213u8, 254u8, 50u8, 238u8, 10u8, 162u8, 65u8, 189u8, 166u8, 37u8, 74u8, 82u8, 81u8, 160u8, 20u8, 180u8, 253u8, @@ -8304,17 +8855,17 @@ pub mod api { #[doc = " restarted from the newly set block number."] pub fn genesis_block( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::genesis_block::GenesisBlock, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Beefy", "GenesisBlock", - vec![], + (), [ 198u8, 155u8, 11u8, 240u8, 189u8, 245u8, 159u8, 127u8, 55u8, 33u8, 48u8, 29u8, 209u8, 119u8, 163u8, 24u8, 28u8, 22u8, 163u8, 163u8, 124u8, @@ -8331,8 +8882,9 @@ pub mod api { #[doc = " The maximum number of authorities that can be added."] pub fn max_authorities( &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Beefy", "MaxAuthorities", [ @@ -8346,8 +8898,9 @@ pub mod api { #[doc = " The maximum number of nominators for each validator."] pub fn max_nominators( &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Beefy", "MaxNominators", [ @@ -8366,8 +8919,9 @@ pub mod api { #[doc = " can be zero."] pub fn max_set_id_session_entries( &self, - ) -> ::subxt::constants::Address<::core::primitive::u64> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u64> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Beefy", "MaxSetIdSessionEntries", [ @@ -8390,7 +8944,7 @@ pub mod api { use super::runtime_types; pub mod root_hash { use super::runtime_types; - pub type RootHash = ::subxt::utils::H256; + pub type RootHash = ::subxt::ext::subxt_core::utils::H256; } pub mod number_of_leaves { use super::runtime_types; @@ -8398,7 +8952,7 @@ pub mod api { } pub mod nodes { use super::runtime_types; - pub type Nodes = ::subxt::utils::H256; + pub type Nodes = ::subxt::ext::subxt_core::utils::H256; pub type Param0 = ::core::primitive::u64; } } @@ -8407,17 +8961,17 @@ pub mod api { #[doc = " Latest MMR Root hash."] pub fn root_hash( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::root_hash::RootHash, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Mmr", "RootHash", - vec![], + (), [ 111u8, 206u8, 173u8, 92u8, 67u8, 49u8, 150u8, 113u8, 90u8, 245u8, 38u8, 254u8, 76u8, 250u8, 167u8, 66u8, 130u8, 129u8, 251u8, 220u8, 172u8, @@ -8428,17 +8982,17 @@ pub mod api { #[doc = " Current size of the MMR (number of leaves)."] pub fn number_of_leaves( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::number_of_leaves::NumberOfLeaves, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Mmr", "NumberOfLeaves", - vec![], + (), [ 123u8, 58u8, 149u8, 174u8, 85u8, 45u8, 20u8, 115u8, 241u8, 0u8, 51u8, 174u8, 234u8, 60u8, 230u8, 59u8, 237u8, 144u8, 170u8, 32u8, 4u8, 0u8, @@ -8452,17 +9006,17 @@ pub mod api { #[doc = " are pruned and only stored in the Offchain DB."] pub fn nodes_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::nodes::Nodes, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Mmr", "Nodes", - vec![], + (), [ 27u8, 84u8, 41u8, 195u8, 146u8, 81u8, 211u8, 189u8, 63u8, 125u8, 173u8, 206u8, 69u8, 198u8, 202u8, 213u8, 89u8, 31u8, 89u8, 177u8, 76u8, 154u8, @@ -8476,20 +9030,22 @@ pub mod api { #[doc = " are pruned and only stored in the Offchain DB."] pub fn nodes( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::nodes::Param0, + >, types::nodes::Nodes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Mmr", "Nodes", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 27u8, 84u8, 41u8, 195u8, 146u8, 81u8, 211u8, 189u8, 63u8, 125u8, 173u8, 206u8, 69u8, 198u8, 202u8, 213u8, 89u8, 31u8, 89u8, 177u8, 76u8, 154u8, @@ -8511,14 +9067,14 @@ pub mod api { use super::runtime_types; pub type BeefyAuthorities = runtime_types::sp_consensus_beefy::mmr::BeefyAuthoritySet< - ::subxt::utils::H256, + ::subxt::ext::subxt_core::utils::H256, >; } pub mod beefy_next_authorities { use super::runtime_types; pub type BeefyNextAuthorities = runtime_types::sp_consensus_beefy::mmr::BeefyAuthoritySet< - ::subxt::utils::H256, + ::subxt::ext::subxt_core::utils::H256, >; } } @@ -8527,17 +9083,17 @@ pub mod api { #[doc = " Details of current BEEFY authority set."] pub fn beefy_authorities( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::beefy_authorities::BeefyAuthorities, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "MmrLeaf", "BeefyAuthorities", - vec![], + (), [ 128u8, 35u8, 176u8, 79u8, 224u8, 58u8, 214u8, 234u8, 231u8, 71u8, 227u8, 153u8, 180u8, 189u8, 66u8, 44u8, 47u8, 174u8, 0u8, 83u8, 121u8, @@ -8551,17 +9107,17 @@ pub mod api { #[doc = " This storage entry is used as cache for calls to `update_beefy_next_authority_set`."] pub fn beefy_next_authorities( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::beefy_next_authorities::BeefyNextAuthorities, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "MmrLeaf", "BeefyNextAuthorities", - vec![], + (), [ 97u8, 71u8, 52u8, 111u8, 120u8, 251u8, 183u8, 155u8, 177u8, 100u8, 236u8, 142u8, 204u8, 117u8, 95u8, 40u8, 201u8, 36u8, 32u8, 82u8, 38u8, @@ -8586,15 +9142,19 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_keys`]."] pub struct SetKeys { pub keys: set_keys::Keys, @@ -8603,25 +9163,30 @@ pub mod api { pub mod set_keys { use super::runtime_types; pub type Keys = runtime_types::rococo_runtime::SessionKeys; - pub type Proof = ::std::vec::Vec<::core::primitive::u8>; + pub type Proof = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } - impl ::subxt::blocks::StaticExtrinsic for SetKeys { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetKeys { const PALLET: &'static str = "Session"; const CALL: &'static str = "set_keys"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::purge_keys`]."] pub struct PurgeKeys; - impl ::subxt::blocks::StaticExtrinsic for PurgeKeys { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for PurgeKeys { const PALLET: &'static str = "Session"; const CALL: &'static str = "purge_keys"; } @@ -8633,8 +9198,8 @@ pub mod api { &self, keys: types::set_keys::Keys, proof: types::set_keys::Proof, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Session", "set_keys", types::SetKeys { keys, proof }, @@ -8646,8 +9211,10 @@ pub mod api { ) } #[doc = "See [`Pallet::purge_keys`]."] - pub fn purge_keys(&self) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + pub fn purge_keys( + &self, + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Session", "purge_keys", types::PurgeKeys {}, @@ -8666,15 +9233,15 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "New session has happened. Note that the argument is the session index, not the"] #[doc = "block number as the type might suggest."] pub struct NewSession { @@ -8684,7 +9251,7 @@ pub mod api { use super::runtime_types; pub type SessionIndex = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for NewSession { + impl ::subxt::ext::subxt_core::events::StaticEvent for NewSession { const PALLET: &'static str = "Session"; const EVENT: &'static str = "NewSession"; } @@ -8695,7 +9262,9 @@ pub mod api { use super::runtime_types; pub mod validators { use super::runtime_types; - pub type Validators = ::std::vec::Vec<::subxt::utils::AccountId32>; + pub type Validators = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >; } pub mod current_index { use super::runtime_types; @@ -8707,23 +9276,24 @@ pub mod api { } pub mod queued_keys { use super::runtime_types; - pub type QueuedKeys = ::std::vec::Vec<( - ::subxt::utils::AccountId32, + pub type QueuedKeys = ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::utils::AccountId32, runtime_types::rococo_runtime::SessionKeys, )>; } pub mod disabled_validators { use super::runtime_types; - pub type DisabledValidators = ::std::vec::Vec<::core::primitive::u32>; + pub type DisabledValidators = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u32>; } pub mod next_keys { use super::runtime_types; pub type NextKeys = runtime_types::rococo_runtime::SessionKeys; - pub type Param0 = ::subxt::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod key_owner { use super::runtime_types; - pub type KeyOwner = ::subxt::utils::AccountId32; + pub type KeyOwner = ::subxt::ext::subxt_core::utils::AccountId32; pub type Param0 = runtime_types::sp_core::crypto::KeyTypeId; pub type Param1 = [::core::primitive::u8]; } @@ -8733,17 +9303,17 @@ pub mod api { #[doc = " The current set of validators."] pub fn validators( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::validators::Validators, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Session", "Validators", - vec![], + (), [ 50u8, 86u8, 154u8, 222u8, 249u8, 209u8, 156u8, 22u8, 155u8, 25u8, 133u8, 194u8, 210u8, 50u8, 38u8, 28u8, 139u8, 201u8, 90u8, 139u8, @@ -8755,17 +9325,17 @@ pub mod api { #[doc = " Current index of the session."] pub fn current_index( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::current_index::CurrentIndex, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Session", "CurrentIndex", - vec![], + (), [ 167u8, 151u8, 125u8, 150u8, 159u8, 21u8, 78u8, 217u8, 237u8, 183u8, 135u8, 65u8, 187u8, 114u8, 188u8, 206u8, 16u8, 32u8, 69u8, 208u8, @@ -8778,17 +9348,17 @@ pub mod api { #[doc = " has changed in the queued validator set."] pub fn queued_changed( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::queued_changed::QueuedChanged, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Session", "QueuedChanged", - vec![], + (), [ 184u8, 137u8, 224u8, 137u8, 31u8, 236u8, 95u8, 164u8, 102u8, 225u8, 198u8, 227u8, 140u8, 37u8, 113u8, 57u8, 59u8, 4u8, 202u8, 102u8, 117u8, @@ -8801,17 +9371,17 @@ pub mod api { #[doc = " will be used to determine the validator's session keys."] pub fn queued_keys( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::queued_keys::QueuedKeys, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Session", "QueuedKeys", - vec![], + (), [ 251u8, 240u8, 64u8, 86u8, 241u8, 74u8, 141u8, 38u8, 46u8, 18u8, 92u8, 101u8, 227u8, 161u8, 58u8, 222u8, 17u8, 29u8, 248u8, 237u8, 74u8, 69u8, @@ -8826,17 +9396,17 @@ pub mod api { #[doc = " a new set of identities."] pub fn disabled_validators( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::disabled_validators::DisabledValidators, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Session", "DisabledValidators", - vec![], + (), [ 213u8, 19u8, 168u8, 234u8, 187u8, 200u8, 180u8, 97u8, 234u8, 189u8, 36u8, 233u8, 158u8, 184u8, 45u8, 35u8, 129u8, 213u8, 133u8, 8u8, 104u8, @@ -8847,17 +9417,17 @@ pub mod api { #[doc = " The next session keys for a validator."] pub fn next_keys_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::next_keys::NextKeys, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Session", "NextKeys", - vec![], + (), [ 87u8, 61u8, 243u8, 159u8, 164u8, 196u8, 130u8, 218u8, 136u8, 189u8, 253u8, 151u8, 230u8, 9u8, 214u8, 58u8, 102u8, 67u8, 61u8, 138u8, 242u8, @@ -8868,20 +9438,22 @@ pub mod api { #[doc = " The next session keys for a validator."] pub fn next_keys( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::next_keys::Param0, + >, types::next_keys::NextKeys, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Session", "NextKeys", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 87u8, 61u8, 243u8, 159u8, 164u8, 196u8, 130u8, 218u8, 136u8, 189u8, 253u8, 151u8, 230u8, 9u8, 214u8, 58u8, 102u8, 67u8, 61u8, 138u8, 242u8, @@ -8892,17 +9464,17 @@ pub mod api { #[doc = " The owner of a key. The key is the `KeyTypeId` + the encoded key."] pub fn key_owner_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::key_owner::KeyOwner, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Session", "KeyOwner", - vec![], + (), [ 217u8, 204u8, 21u8, 114u8, 247u8, 129u8, 32u8, 242u8, 93u8, 91u8, 253u8, 253u8, 248u8, 90u8, 12u8, 202u8, 195u8, 25u8, 18u8, 100u8, @@ -8914,20 +9486,22 @@ pub mod api { #[doc = " The owner of a key. The key is the `KeyTypeId` + the encoded key."] pub fn key_owner_iter1( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::key_owner::Param0, + >, types::key_owner::KeyOwner, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Session", "KeyOwner", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 217u8, 204u8, 21u8, 114u8, 247u8, 129u8, 32u8, 242u8, 93u8, 91u8, 253u8, 253u8, 248u8, 90u8, 12u8, 202u8, 195u8, 25u8, 18u8, 100u8, @@ -8939,22 +9513,33 @@ pub mod api { #[doc = " The owner of a key. The key is the `KeyTypeId` + the encoded key."] pub fn key_owner( &self, - _0: impl ::std::borrow::Borrow, - _1: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::key_owner::Param0, + >, + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::key_owner::Param1, + >, + ), types::key_owner::KeyOwner, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Session", "KeyOwner", - vec![ - ::subxt::storage::address::make_static_storage_map_key(_0.borrow()), - ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), - ], + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), + ), [ 217u8, 204u8, 21u8, 114u8, 247u8, 129u8, 32u8, 242u8, 93u8, 91u8, 253u8, 253u8, 248u8, 90u8, 12u8, 202u8, 195u8, 25u8, 18u8, 100u8, @@ -8980,73 +9565,87 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::report_equivocation`]."] pub struct ReportEquivocation { - pub equivocation_proof: - ::std::boxed::Box, + pub equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box< + report_equivocation::EquivocationProof, + >, pub key_owner_proof: report_equivocation::KeyOwnerProof, } pub mod report_equivocation { use super::runtime_types; pub type EquivocationProof = runtime_types::sp_consensus_grandpa::EquivocationProof< - ::subxt::utils::H256, + ::subxt::ext::subxt_core::utils::H256, ::core::primitive::u32, >; pub type KeyOwnerProof = runtime_types::sp_session::MembershipProof; } - impl ::subxt::blocks::StaticExtrinsic for ReportEquivocation { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ReportEquivocation { const PALLET: &'static str = "Grandpa"; const CALL: &'static str = "report_equivocation"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::report_equivocation_unsigned`]."] pub struct ReportEquivocationUnsigned { - pub equivocation_proof: - ::std::boxed::Box, + pub equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box< + report_equivocation_unsigned::EquivocationProof, + >, pub key_owner_proof: report_equivocation_unsigned::KeyOwnerProof, } pub mod report_equivocation_unsigned { use super::runtime_types; pub type EquivocationProof = runtime_types::sp_consensus_grandpa::EquivocationProof< - ::subxt::utils::H256, + ::subxt::ext::subxt_core::utils::H256, ::core::primitive::u32, >; pub type KeyOwnerProof = runtime_types::sp_session::MembershipProof; } - impl ::subxt::blocks::StaticExtrinsic for ReportEquivocationUnsigned { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ReportEquivocationUnsigned { const PALLET: &'static str = "Grandpa"; const CALL: &'static str = "report_equivocation_unsigned"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::note_stalled`]."] pub struct NoteStalled { pub delay: note_stalled::Delay, @@ -9057,7 +9656,7 @@ pub mod api { pub type Delay = ::core::primitive::u32; pub type BestFinalizedBlockNumber = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for NoteStalled { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for NoteStalled { const PALLET: &'static str = "Grandpa"; const CALL: &'static str = "note_stalled"; } @@ -9069,12 +9668,15 @@ pub mod api { &self, equivocation_proof: types::report_equivocation::EquivocationProof, key_owner_proof: types::report_equivocation::KeyOwnerProof, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Grandpa", "report_equivocation", types::ReportEquivocation { - equivocation_proof: ::std::boxed::Box::new(equivocation_proof), + equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box::new( + equivocation_proof, + ), key_owner_proof, }, [ @@ -9089,12 +9691,15 @@ pub mod api { &self, equivocation_proof: types::report_equivocation_unsigned::EquivocationProof, key_owner_proof: types::report_equivocation_unsigned::KeyOwnerProof, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Grandpa", "report_equivocation_unsigned", types::ReportEquivocationUnsigned { - equivocation_proof: ::std::boxed::Box::new(equivocation_proof), + equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box::new( + equivocation_proof, + ), key_owner_proof, }, [ @@ -9109,8 +9714,8 @@ pub mod api { &self, delay: types::note_stalled::Delay, best_finalized_block_number: types::note_stalled::BestFinalizedBlockNumber, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Grandpa", "note_stalled", types::NoteStalled { @@ -9131,59 +9736,59 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "New authority set has been applied."] pub struct NewAuthorities { pub authority_set: new_authorities::AuthoritySet, } pub mod new_authorities { use super::runtime_types; - pub type AuthoritySet = ::std::vec::Vec<( + pub type AuthoritySet = ::subxt::ext::subxt_core::alloc::vec::Vec<( runtime_types::sp_consensus_grandpa::app::Public, ::core::primitive::u64, )>; } - impl ::subxt::events::StaticEvent for NewAuthorities { + impl ::subxt::ext::subxt_core::events::StaticEvent for NewAuthorities { const PALLET: &'static str = "Grandpa"; const EVENT: &'static str = "NewAuthorities"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Current authority set has been paused."] pub struct Paused; - impl ::subxt::events::StaticEvent for Paused { + impl ::subxt::ext::subxt_core::events::StaticEvent for Paused { const PALLET: &'static str = "Grandpa"; const EVENT: &'static str = "Paused"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Current authority set has been resumed."] pub struct Resumed; - impl ::subxt::events::StaticEvent for Resumed { + impl ::subxt::ext::subxt_core::events::StaticEvent for Resumed { const PALLET: &'static str = "Grandpa"; const EVENT: &'static str = "Resumed"; } @@ -9225,17 +9830,17 @@ pub mod api { #[doc = " State of the current authority set."] pub fn state( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::state::State, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Grandpa", "State", - vec![], + (), [ 73u8, 71u8, 112u8, 83u8, 238u8, 75u8, 44u8, 9u8, 180u8, 33u8, 30u8, 121u8, 98u8, 96u8, 61u8, 133u8, 16u8, 70u8, 30u8, 249u8, 34u8, 148u8, @@ -9246,17 +9851,17 @@ pub mod api { #[doc = " Pending change: (signaled at, scheduled change)."] pub fn pending_change( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::pending_change::PendingChange, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Grandpa", "PendingChange", - vec![], + (), [ 150u8, 194u8, 185u8, 248u8, 239u8, 43u8, 141u8, 253u8, 61u8, 106u8, 74u8, 164u8, 209u8, 204u8, 206u8, 200u8, 32u8, 38u8, 11u8, 78u8, 84u8, @@ -9268,17 +9873,17 @@ pub mod api { #[doc = " next block number where we can force a change."] pub fn next_forced( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::next_forced::NextForced, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Grandpa", "NextForced", - vec![], + (), [ 3u8, 231u8, 56u8, 18u8, 87u8, 112u8, 227u8, 126u8, 180u8, 131u8, 255u8, 141u8, 82u8, 34u8, 61u8, 47u8, 234u8, 37u8, 95u8, 62u8, 33u8, 235u8, @@ -9289,17 +9894,17 @@ pub mod api { #[doc = " `true` if we are currently stalled."] pub fn stalled( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::stalled::Stalled, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Grandpa", "Stalled", - vec![], + (), [ 6u8, 81u8, 205u8, 142u8, 195u8, 48u8, 0u8, 247u8, 108u8, 170u8, 10u8, 249u8, 72u8, 206u8, 32u8, 103u8, 109u8, 57u8, 51u8, 21u8, 144u8, 204u8, @@ -9311,17 +9916,17 @@ pub mod api { #[doc = " in the \"set\" of Grandpa validators from genesis."] pub fn current_set_id( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::current_set_id::CurrentSetId, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Grandpa", "CurrentSetId", - vec![], + (), [ 234u8, 215u8, 218u8, 42u8, 30u8, 76u8, 129u8, 40u8, 125u8, 137u8, 207u8, 47u8, 46u8, 213u8, 159u8, 50u8, 175u8, 81u8, 155u8, 123u8, @@ -9342,17 +9947,17 @@ pub mod api { #[doc = " TWOX-NOTE: `SetId` is not under user control."] pub fn set_id_session_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::set_id_session::SetIdSession, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Grandpa", "SetIdSession", - vec![], + (), [ 47u8, 0u8, 239u8, 121u8, 187u8, 213u8, 254u8, 50u8, 238u8, 10u8, 162u8, 65u8, 189u8, 166u8, 37u8, 74u8, 82u8, 81u8, 160u8, 20u8, 180u8, 253u8, @@ -9372,20 +9977,22 @@ pub mod api { #[doc = " TWOX-NOTE: `SetId` is not under user control."] pub fn set_id_session( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::set_id_session::Param0, + >, types::set_id_session::SetIdSession, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Grandpa", "SetIdSession", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 47u8, 0u8, 239u8, 121u8, 187u8, 213u8, 254u8, 50u8, 238u8, 10u8, 162u8, 65u8, 189u8, 166u8, 37u8, 74u8, 82u8, 81u8, 160u8, 20u8, 180u8, 253u8, @@ -9402,8 +10009,9 @@ pub mod api { #[doc = " Max Authorities in use"] pub fn max_authorities( &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Grandpa", "MaxAuthorities", [ @@ -9417,8 +10025,9 @@ pub mod api { #[doc = " The maximum number of nominators for each validator."] pub fn max_nominators( &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Grandpa", "MaxNominators", [ @@ -9437,8 +10046,9 @@ pub mod api { #[doc = " can be zero."] pub fn max_set_id_session_entries( &self, - ) -> ::subxt::constants::Address<::core::primitive::u64> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u64> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Grandpa", "MaxSetIdSessionEntries", [ @@ -9466,15 +10076,19 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::heartbeat`]."] pub struct Heartbeat { pub heartbeat: heartbeat::Heartbeat, @@ -9487,7 +10101,7 @@ pub mod api { pub type Signature = runtime_types::pallet_im_online::sr25519::app_sr25519::Signature; } - impl ::subxt::blocks::StaticExtrinsic for Heartbeat { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Heartbeat { const PALLET: &'static str = "ImOnline"; const CALL: &'static str = "heartbeat"; } @@ -9499,8 +10113,8 @@ pub mod api { &self, heartbeat: types::heartbeat::Heartbeat, signature: types::heartbeat::Signature, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "ImOnline", "heartbeat", types::Heartbeat { @@ -9521,15 +10135,15 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A new heartbeat was received from `AuthorityId`."] pub struct HeartbeatReceived { pub authority_id: heartbeat_received::AuthorityId, @@ -9539,45 +10153,48 @@ pub mod api { pub type AuthorityId = runtime_types::pallet_im_online::sr25519::app_sr25519::Public; } - impl ::subxt::events::StaticEvent for HeartbeatReceived { + impl ::subxt::ext::subxt_core::events::StaticEvent for HeartbeatReceived { const PALLET: &'static str = "ImOnline"; const EVENT: &'static str = "HeartbeatReceived"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "At the end of the session, no offence was committed."] pub struct AllGood; - impl ::subxt::events::StaticEvent for AllGood { + impl ::subxt::ext::subxt_core::events::StaticEvent for AllGood { const PALLET: &'static str = "ImOnline"; const EVENT: &'static str = "AllGood"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "At the end of the session, at least one validator was found to be offline."] pub struct SomeOffline { pub offline: some_offline::Offline, } pub mod some_offline { use super::runtime_types; - pub type Offline = ::std::vec::Vec<(::subxt::utils::AccountId32, ())>; + pub type Offline = ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::utils::AccountId32, + (), + )>; } - impl ::subxt::events::StaticEvent for SomeOffline { + impl ::subxt::ext::subxt_core::events::StaticEvent for SomeOffline { const PALLET: &'static str = "ImOnline"; const EVENT: &'static str = "SomeOffline"; } @@ -9593,7 +10210,7 @@ pub mod api { pub mod keys { use super::runtime_types; pub type Keys = - runtime_types::bounded_collections::weak_bounded_vec::WeakBoundedVec< + runtime_types::bounded_collections::weak_bounded_vec::WeakBoundedVec5< runtime_types::pallet_im_online::sr25519::app_sr25519::Public, >; } @@ -9607,7 +10224,7 @@ pub mod api { use super::runtime_types; pub type AuthoredBlocks = ::core::primitive::u32; pub type Param0 = ::core::primitive::u32; - pub type Param1 = ::subxt::utils::AccountId32; + pub type Param1 = ::subxt::ext::subxt_core::utils::AccountId32; } } pub struct StorageApi; @@ -9625,17 +10242,17 @@ pub mod api { #[doc = " more accurate then the value we calculate for `HeartbeatAfter`."] pub fn heartbeat_after( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::heartbeat_after::HeartbeatAfter, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ImOnline", "HeartbeatAfter", - vec![], + (), [ 36u8, 179u8, 76u8, 254u8, 3u8, 184u8, 154u8, 142u8, 70u8, 104u8, 44u8, 244u8, 39u8, 97u8, 31u8, 31u8, 93u8, 228u8, 185u8, 224u8, 13u8, 160u8, @@ -9646,17 +10263,17 @@ pub mod api { #[doc = " The current set of keys that may issue a heartbeat."] pub fn keys( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::keys::Keys, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ImOnline", "Keys", - vec![], + (), [ 111u8, 104u8, 188u8, 46u8, 152u8, 140u8, 137u8, 244u8, 52u8, 214u8, 115u8, 156u8, 39u8, 239u8, 15u8, 168u8, 193u8, 125u8, 57u8, 195u8, @@ -9668,17 +10285,17 @@ pub mod api { #[doc = " For each session index, we keep a mapping of `SessionIndex` and `AuthIndex`."] pub fn received_heartbeats_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::received_heartbeats::ReceivedHeartbeats, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ImOnline", "ReceivedHeartbeats", - vec![], + (), [ 30u8, 155u8, 42u8, 200u8, 223u8, 48u8, 127u8, 31u8, 253u8, 195u8, 234u8, 108u8, 64u8, 27u8, 247u8, 17u8, 187u8, 199u8, 41u8, 138u8, 55u8, @@ -9689,20 +10306,22 @@ pub mod api { #[doc = " For each session index, we keep a mapping of `SessionIndex` and `AuthIndex`."] pub fn received_heartbeats_iter1( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::received_heartbeats::Param0, + >, types::received_heartbeats::ReceivedHeartbeats, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ImOnline", "ReceivedHeartbeats", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 30u8, 155u8, 42u8, 200u8, 223u8, 48u8, 127u8, 31u8, 253u8, 195u8, 234u8, 108u8, 64u8, 27u8, 247u8, 17u8, 187u8, 199u8, 41u8, 138u8, 55u8, @@ -9713,22 +10332,33 @@ pub mod api { #[doc = " For each session index, we keep a mapping of `SessionIndex` and `AuthIndex`."] pub fn received_heartbeats( &self, - _0: impl ::std::borrow::Borrow, - _1: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::received_heartbeats::Param0, + >, + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::received_heartbeats::Param1, + >, + ), types::received_heartbeats::ReceivedHeartbeats, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ImOnline", "ReceivedHeartbeats", - vec![ - ::subxt::storage::address::make_static_storage_map_key(_0.borrow()), - ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), - ], + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), + ), [ 30u8, 155u8, 42u8, 200u8, 223u8, 48u8, 127u8, 31u8, 253u8, 195u8, 234u8, 108u8, 64u8, 27u8, 247u8, 17u8, 187u8, 199u8, 41u8, 138u8, 55u8, @@ -9740,17 +10370,17 @@ pub mod api { #[doc = " number of blocks authored by the given authority."] pub fn authored_blocks_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::authored_blocks::AuthoredBlocks, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ImOnline", "AuthoredBlocks", - vec![], + (), [ 123u8, 76u8, 230u8, 113u8, 65u8, 255u8, 99u8, 79u8, 131u8, 139u8, 218u8, 20u8, 174u8, 191u8, 224u8, 67u8, 137u8, 48u8, 146u8, 209u8, @@ -9763,20 +10393,22 @@ pub mod api { #[doc = " number of blocks authored by the given authority."] pub fn authored_blocks_iter1( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::authored_blocks::Param0, + >, types::authored_blocks::AuthoredBlocks, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ImOnline", "AuthoredBlocks", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 123u8, 76u8, 230u8, 113u8, 65u8, 255u8, 99u8, 79u8, 131u8, 139u8, 218u8, 20u8, 174u8, 191u8, 224u8, 67u8, 137u8, 48u8, 146u8, 209u8, @@ -9789,22 +10421,33 @@ pub mod api { #[doc = " number of blocks authored by the given authority."] pub fn authored_blocks( &self, - _0: impl ::std::borrow::Borrow, - _1: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::authored_blocks::Param0, + >, + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::authored_blocks::Param1, + >, + ), types::authored_blocks::AuthoredBlocks, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ImOnline", "AuthoredBlocks", - vec![ - ::subxt::storage::address::make_static_storage_map_key(_0.borrow()), - ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), - ], + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), + ), [ 123u8, 76u8, 230u8, 113u8, 65u8, 255u8, 99u8, 79u8, 131u8, 139u8, 218u8, 20u8, 174u8, 191u8, 224u8, 67u8, 137u8, 48u8, 146u8, 209u8, @@ -9825,8 +10468,9 @@ pub mod api { #[doc = " multiple pallets send unsigned transactions."] pub fn unsigned_priority( &self, - ) -> ::subxt::constants::Address<::core::primitive::u64> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u64> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "ImOnline", "UnsignedPriority", [ @@ -9858,15 +10502,19 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::propose_spend`]."] pub struct ProposeSpend { #[codec(compact)] @@ -9876,23 +10524,29 @@ pub mod api { pub mod propose_spend { use super::runtime_types; pub type Value = ::core::primitive::u128; - pub type Beneficiary = - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Beneficiary = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; } - impl ::subxt::blocks::StaticExtrinsic for ProposeSpend { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ProposeSpend { const PALLET: &'static str = "Treasury"; const CALL: &'static str = "propose_spend"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::reject_proposal`]."] pub struct RejectProposal { #[codec(compact)] @@ -9902,20 +10556,24 @@ pub mod api { use super::runtime_types; pub type ProposalId = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for RejectProposal { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RejectProposal { const PALLET: &'static str = "Treasury"; const CALL: &'static str = "reject_proposal"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::approve_proposal`]."] pub struct ApproveProposal { #[codec(compact)] @@ -9925,20 +10583,24 @@ pub mod api { use super::runtime_types; pub type ProposalId = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for ApproveProposal { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ApproveProposal { const PALLET: &'static str = "Treasury"; const CALL: &'static str = "approve_proposal"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::spend_local`]."] pub struct SpendLocal { #[codec(compact)] @@ -9948,23 +10610,29 @@ pub mod api { pub mod spend_local { use super::runtime_types; pub type Amount = ::core::primitive::u128; - pub type Beneficiary = - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Beneficiary = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; } - impl ::subxt::blocks::StaticExtrinsic for SpendLocal { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SpendLocal { const PALLET: &'static str = "Treasury"; const CALL: &'static str = "spend_local"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::remove_approval`]."] pub struct RemoveApproval { #[codec(compact)] @@ -9974,26 +10642,31 @@ pub mod api { use super::runtime_types; pub type ProposalId = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for RemoveApproval { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RemoveApproval { const PALLET: &'static str = "Treasury"; const CALL: &'static str = "remove_approval"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::spend`]."] pub struct Spend { - pub asset_kind: ::std::boxed::Box, + pub asset_kind: ::subxt::ext::subxt_core::alloc::boxed::Box, #[codec(compact)] pub amount: spend::Amount, - pub beneficiary: ::std::boxed::Box, + pub beneficiary: + ::subxt::ext::subxt_core::alloc::boxed::Box, pub valid_from: spend::ValidFrom, } pub mod spend { @@ -10004,20 +10677,24 @@ pub mod api { pub type Beneficiary = runtime_types::xcm::VersionedMultiLocation; pub type ValidFrom = ::core::option::Option<::core::primitive::u32>; } - impl ::subxt::blocks::StaticExtrinsic for Spend { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Spend { const PALLET: &'static str = "Treasury"; const CALL: &'static str = "spend"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::payout`]."] pub struct Payout { pub index: payout::Index, @@ -10026,20 +10703,24 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for Payout { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Payout { const PALLET: &'static str = "Treasury"; const CALL: &'static str = "payout"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::check_status`]."] pub struct CheckStatus { pub index: check_status::Index, @@ -10048,20 +10729,24 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for CheckStatus { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CheckStatus { const PALLET: &'static str = "Treasury"; const CALL: &'static str = "check_status"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::void_spend`]."] pub struct VoidSpend { pub index: void_spend::Index, @@ -10070,7 +10755,7 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for VoidSpend { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for VoidSpend { const PALLET: &'static str = "Treasury"; const CALL: &'static str = "void_spend"; } @@ -10082,8 +10767,8 @@ pub mod api { &self, value: types::propose_spend::Value, beneficiary: types::propose_spend::Beneficiary, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Treasury", "propose_spend", types::ProposeSpend { value, beneficiary }, @@ -10098,8 +10783,8 @@ pub mod api { pub fn reject_proposal( &self, proposal_id: types::reject_proposal::ProposalId, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Treasury", "reject_proposal", types::RejectProposal { proposal_id }, @@ -10114,8 +10799,8 @@ pub mod api { pub fn approve_proposal( &self, proposal_id: types::approve_proposal::ProposalId, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Treasury", "approve_proposal", types::ApproveProposal { proposal_id }, @@ -10131,8 +10816,8 @@ pub mod api { &self, amount: types::spend_local::Amount, beneficiary: types::spend_local::Beneficiary, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Treasury", "spend_local", types::SpendLocal { @@ -10150,8 +10835,8 @@ pub mod api { pub fn remove_approval( &self, proposal_id: types::remove_approval::ProposalId, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Treasury", "remove_approval", types::RemoveApproval { proposal_id }, @@ -10170,14 +10855,18 @@ pub mod api { amount: types::spend::Amount, beneficiary: types::spend::Beneficiary, valid_from: types::spend::ValidFrom, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Treasury", "spend", types::Spend { - asset_kind: ::std::boxed::Box::new(asset_kind), + asset_kind: ::subxt::ext::subxt_core::alloc::boxed::Box::new( + asset_kind, + ), amount, - beneficiary: ::std::boxed::Box::new(beneficiary), + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box::new( + beneficiary, + ), valid_from, }, [ @@ -10192,8 +10881,8 @@ pub mod api { pub fn payout( &self, index: types::payout::Index, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Treasury", "payout", types::Payout { index }, @@ -10208,8 +10897,8 @@ pub mod api { pub fn check_status( &self, index: types::check_status::Index, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Treasury", "check_status", types::CheckStatus { index }, @@ -10224,8 +10913,8 @@ pub mod api { pub fn void_spend( &self, index: types::void_spend::Index, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Treasury", "void_spend", types::VoidSpend { index }, @@ -10243,15 +10932,15 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "New proposal."] pub struct Proposed { pub proposal_index: proposed::ProposalIndex, @@ -10260,20 +10949,20 @@ pub mod api { use super::runtime_types; pub type ProposalIndex = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for Proposed { + impl ::subxt::ext::subxt_core::events::StaticEvent for Proposed { const PALLET: &'static str = "Treasury"; const EVENT: &'static str = "Proposed"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "We have ended a spend period and will now allocate funds."] pub struct Spending { pub budget_remaining: spending::BudgetRemaining, @@ -10282,20 +10971,20 @@ pub mod api { use super::runtime_types; pub type BudgetRemaining = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Spending { + impl ::subxt::ext::subxt_core::events::StaticEvent for Spending { const PALLET: &'static str = "Treasury"; const EVENT: &'static str = "Spending"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some funds have been allocated."] pub struct Awarded { pub proposal_index: awarded::ProposalIndex, @@ -10306,22 +10995,22 @@ pub mod api { use super::runtime_types; pub type ProposalIndex = ::core::primitive::u32; pub type Award = ::core::primitive::u128; - pub type Account = ::subxt::utils::AccountId32; + pub type Account = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt::events::StaticEvent for Awarded { + impl ::subxt::ext::subxt_core::events::StaticEvent for Awarded { const PALLET: &'static str = "Treasury"; const EVENT: &'static str = "Awarded"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A proposal was rejected; funds were slashed."] pub struct Rejected { pub proposal_index: rejected::ProposalIndex, @@ -10332,20 +11021,20 @@ pub mod api { pub type ProposalIndex = ::core::primitive::u32; pub type Slashed = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Rejected { + impl ::subxt::ext::subxt_core::events::StaticEvent for Rejected { const PALLET: &'static str = "Treasury"; const EVENT: &'static str = "Rejected"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some of our funds have been burnt."] pub struct Burnt { pub burnt_funds: burnt::BurntFunds, @@ -10354,20 +11043,20 @@ pub mod api { use super::runtime_types; pub type BurntFunds = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Burnt { + impl ::subxt::ext::subxt_core::events::StaticEvent for Burnt { const PALLET: &'static str = "Treasury"; const EVENT: &'static str = "Burnt"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Spending has finished; this is the amount that rolls over until next spend."] pub struct Rollover { pub rollover_balance: rollover::RolloverBalance, @@ -10376,20 +11065,20 @@ pub mod api { use super::runtime_types; pub type RolloverBalance = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Rollover { + impl ::subxt::ext::subxt_core::events::StaticEvent for Rollover { const PALLET: &'static str = "Treasury"; const EVENT: &'static str = "Rollover"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some funds have been deposited."] pub struct Deposit { pub value: deposit::Value, @@ -10398,20 +11087,20 @@ pub mod api { use super::runtime_types; pub type Value = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Deposit { + impl ::subxt::ext::subxt_core::events::StaticEvent for Deposit { const PALLET: &'static str = "Treasury"; const EVENT: &'static str = "Deposit"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A new spend proposal has been approved."] pub struct SpendApproved { pub proposal_index: spend_approved::ProposalIndex, @@ -10422,22 +11111,22 @@ pub mod api { use super::runtime_types; pub type ProposalIndex = ::core::primitive::u32; pub type Amount = ::core::primitive::u128; - pub type Beneficiary = ::subxt::utils::AccountId32; + pub type Beneficiary = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt::events::StaticEvent for SpendApproved { + impl ::subxt::ext::subxt_core::events::StaticEvent for SpendApproved { const PALLET: &'static str = "Treasury"; const EVENT: &'static str = "SpendApproved"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The inactive funds of the pallet have been updated."] pub struct UpdatedInactive { pub reactivated: updated_inactive::Reactivated, @@ -10448,20 +11137,20 @@ pub mod api { pub type Reactivated = ::core::primitive::u128; pub type Deactivated = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for UpdatedInactive { + impl ::subxt::ext::subxt_core::events::StaticEvent for UpdatedInactive { const PALLET: &'static str = "Treasury"; const EVENT: &'static str = "UpdatedInactive"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A new asset spend proposal has been approved."] pub struct AssetSpendApproved { pub index: asset_spend_approved::Index, @@ -10481,20 +11170,20 @@ pub mod api { pub type ValidFrom = ::core::primitive::u32; pub type ExpireAt = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for AssetSpendApproved { + impl ::subxt::ext::subxt_core::events::StaticEvent for AssetSpendApproved { const PALLET: &'static str = "Treasury"; const EVENT: &'static str = "AssetSpendApproved"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An approved spend was voided."] pub struct AssetSpendVoided { pub index: asset_spend_voided::Index, @@ -10503,20 +11192,20 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for AssetSpendVoided { + impl ::subxt::ext::subxt_core::events::StaticEvent for AssetSpendVoided { const PALLET: &'static str = "Treasury"; const EVENT: &'static str = "AssetSpendVoided"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A payment happened."] pub struct Paid { pub index: paid::Index, @@ -10527,20 +11216,20 @@ pub mod api { pub type Index = ::core::primitive::u32; pub type PaymentId = ::core::primitive::u64; } - impl ::subxt::events::StaticEvent for Paid { + impl ::subxt::ext::subxt_core::events::StaticEvent for Paid { const PALLET: &'static str = "Treasury"; const EVENT: &'static str = "Paid"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A payment failed and can be retried."] pub struct PaymentFailed { pub index: payment_failed::Index, @@ -10551,20 +11240,20 @@ pub mod api { pub type Index = ::core::primitive::u32; pub type PaymentId = ::core::primitive::u64; } - impl ::subxt::events::StaticEvent for PaymentFailed { + impl ::subxt::ext::subxt_core::events::StaticEvent for PaymentFailed { const PALLET: &'static str = "Treasury"; const EVENT: &'static str = "PaymentFailed"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A spend was processed and removed from the storage. It might have been successfully"] #[doc = "paid or it may have expired."] pub struct SpendProcessed { @@ -10574,7 +11263,7 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for SpendProcessed { + impl ::subxt::ext::subxt_core::events::StaticEvent for SpendProcessed { const PALLET: &'static str = "Treasury"; const EVENT: &'static str = "SpendProcessed"; } @@ -10590,7 +11279,7 @@ pub mod api { pub mod proposals { use super::runtime_types; pub type Proposals = runtime_types::pallet_treasury::Proposal< - ::subxt::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u128, >; pub type Param0 = ::core::primitive::u32; @@ -10602,7 +11291,7 @@ pub mod api { pub mod approvals { use super::runtime_types; pub type Approvals = - runtime_types::bounded_collections::bounded_vec::BoundedVec< + runtime_types::bounded_collections::bounded_vec::BoundedVec12< ::core::primitive::u32, >; } @@ -10627,17 +11316,17 @@ pub mod api { #[doc = " Number of proposals that have been made."] pub fn proposal_count( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::proposal_count::ProposalCount, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Treasury", "ProposalCount", - vec![], + (), [ 91u8, 238u8, 246u8, 106u8, 95u8, 66u8, 83u8, 134u8, 1u8, 225u8, 164u8, 216u8, 113u8, 101u8, 203u8, 200u8, 113u8, 97u8, 246u8, 228u8, 140u8, @@ -10648,17 +11337,17 @@ pub mod api { #[doc = " Proposals that have been made."] pub fn proposals_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::proposals::Proposals, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Treasury", "Proposals", - vec![], + (), [ 207u8, 135u8, 145u8, 146u8, 48u8, 10u8, 252u8, 40u8, 20u8, 115u8, 205u8, 41u8, 173u8, 83u8, 115u8, 46u8, 106u8, 40u8, 130u8, 157u8, @@ -10670,20 +11359,22 @@ pub mod api { #[doc = " Proposals that have been made."] pub fn proposals( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::proposals::Param0, + >, types::proposals::Proposals, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Treasury", "Proposals", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 207u8, 135u8, 145u8, 146u8, 48u8, 10u8, 252u8, 40u8, 20u8, 115u8, 205u8, 41u8, 173u8, 83u8, 115u8, 46u8, 106u8, 40u8, 130u8, 157u8, @@ -10695,17 +11386,17 @@ pub mod api { #[doc = " The amount which has been reported as inactive to Currency."] pub fn deactivated( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::deactivated::Deactivated, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Treasury", "Deactivated", - vec![], + (), [ 120u8, 221u8, 159u8, 56u8, 161u8, 44u8, 54u8, 233u8, 47u8, 114u8, 170u8, 150u8, 52u8, 24u8, 137u8, 212u8, 122u8, 247u8, 40u8, 17u8, @@ -10717,17 +11408,17 @@ pub mod api { #[doc = " Proposal indices that have been approved but not yet awarded."] pub fn approvals( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::approvals::Approvals, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Treasury", "Approvals", - vec![], + (), [ 78u8, 147u8, 186u8, 235u8, 17u8, 40u8, 247u8, 235u8, 67u8, 222u8, 3u8, 14u8, 248u8, 17u8, 67u8, 180u8, 93u8, 161u8, 64u8, 35u8, 119u8, 194u8, @@ -10738,17 +11429,17 @@ pub mod api { #[doc = " The count of spends that have been made."] pub fn spend_count( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::spend_count::SpendCount, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Treasury", "SpendCount", - vec![], + (), [ 220u8, 74u8, 248u8, 52u8, 243u8, 209u8, 42u8, 236u8, 27u8, 98u8, 76u8, 153u8, 129u8, 176u8, 34u8, 177u8, 33u8, 132u8, 21u8, 71u8, 206u8, @@ -10760,17 +11451,17 @@ pub mod api { #[doc = " Spends that have been approved and being processed."] pub fn spends_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::spends::Spends, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Treasury", "Spends", - vec![], + (), [ 231u8, 192u8, 40u8, 149u8, 163u8, 98u8, 111u8, 136u8, 44u8, 162u8, 87u8, 181u8, 233u8, 204u8, 87u8, 111u8, 210u8, 225u8, 235u8, 73u8, @@ -10782,20 +11473,22 @@ pub mod api { #[doc = " Spends that have been approved and being processed."] pub fn spends( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::spends::Param0, + >, types::spends::Spends, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Treasury", "Spends", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 231u8, 192u8, 40u8, 149u8, 163u8, 98u8, 111u8, 136u8, 44u8, 162u8, 87u8, 181u8, 233u8, 204u8, 87u8, 111u8, 210u8, 225u8, 235u8, 73u8, @@ -10814,9 +11507,10 @@ pub mod api { #[doc = " An accepted proposal gets these back. A rejected proposal does not."] pub fn proposal_bond( &self, - ) -> ::subxt::constants::Address - { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address< + runtime_types::sp_arithmetic::per_things::Permill, + > { + ::subxt::ext::subxt_core::constants::Address::new_static( "Treasury", "ProposalBond", [ @@ -10829,8 +11523,9 @@ pub mod api { #[doc = " Minimum amount of funds that should be placed in a deposit for making a proposal."] pub fn proposal_bond_minimum( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u128> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Treasury", "ProposalBondMinimum", [ @@ -10843,9 +11538,10 @@ pub mod api { #[doc = " Maximum amount of funds that should be placed in a deposit for making a proposal."] pub fn proposal_bond_maximum( &self, - ) -> ::subxt::constants::Address<::core::option::Option<::core::primitive::u128>> - { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address< + ::core::option::Option<::core::primitive::u128>, + > { + ::subxt::ext::subxt_core::constants::Address::new_static( "Treasury", "ProposalBondMaximum", [ @@ -10857,8 +11553,11 @@ pub mod api { ) } #[doc = " Period between successive spends."] - pub fn spend_period(&self) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + pub fn spend_period( + &self, + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Treasury", "SpendPeriod", [ @@ -10872,9 +11571,10 @@ pub mod api { #[doc = " Percentage of spare funds (if any) that are burnt per spend period."] pub fn burn( &self, - ) -> ::subxt::constants::Address - { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address< + runtime_types::sp_arithmetic::per_things::Permill, + > { + ::subxt::ext::subxt_core::constants::Address::new_static( "Treasury", "Burn", [ @@ -10887,9 +11587,10 @@ pub mod api { #[doc = " The treasury's pallet id, used for deriving its sovereign account ID."] pub fn pallet_id( &self, - ) -> ::subxt::constants::Address - { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address< + runtime_types::frame_support::PalletId, + > { + ::subxt::ext::subxt_core::constants::Address::new_static( "Treasury", "PalletId", [ @@ -10902,8 +11603,11 @@ pub mod api { #[doc = " The maximum number of approvals that can wait in the spending queue."] #[doc = ""] #[doc = " NOTE: This parameter is also used within the Bounties Pallet extension if enabled."] - pub fn max_approvals(&self) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + pub fn max_approvals( + &self, + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Treasury", "MaxApprovals", [ @@ -10915,8 +11619,11 @@ pub mod api { ) } #[doc = " The period during which an approved treasury spend has to be claimed."] - pub fn payout_period(&self) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + pub fn payout_period( + &self, + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Treasury", "PayoutPeriod", [ @@ -10944,15 +11651,19 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::vote`]."] pub struct Vote { #[codec(compact)] @@ -10966,20 +11677,24 @@ pub mod api { ::core::primitive::u128, >; } - impl ::subxt::blocks::StaticExtrinsic for Vote { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Vote { const PALLET: &'static str = "ConvictionVoting"; const CALL: &'static str = "vote"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::delegate`]."] pub struct Delegate { pub class: delegate::Class, @@ -10990,25 +11705,32 @@ pub mod api { pub mod delegate { use super::runtime_types; pub type Class = ::core::primitive::u16; - pub type To = ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type To = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; pub type Conviction = runtime_types::pallet_conviction_voting::conviction::Conviction; pub type Balance = ::core::primitive::u128; } - impl ::subxt::blocks::StaticExtrinsic for Delegate { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Delegate { const PALLET: &'static str = "ConvictionVoting"; const CALL: &'static str = "delegate"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::undelegate`]."] pub struct Undelegate { pub class: undelegate::Class, @@ -11017,20 +11739,24 @@ pub mod api { use super::runtime_types; pub type Class = ::core::primitive::u16; } - impl ::subxt::blocks::StaticExtrinsic for Undelegate { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Undelegate { const PALLET: &'static str = "ConvictionVoting"; const CALL: &'static str = "undelegate"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::unlock`]."] pub struct Unlock { pub class: unlock::Class, @@ -11039,22 +11765,29 @@ pub mod api { pub mod unlock { use super::runtime_types; pub type Class = ::core::primitive::u16; - pub type Target = ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Target = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; } - impl ::subxt::blocks::StaticExtrinsic for Unlock { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Unlock { const PALLET: &'static str = "ConvictionVoting"; const CALL: &'static str = "unlock"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::remove_vote`]."] pub struct RemoveVote { pub class: remove_vote::Class, @@ -11065,20 +11798,24 @@ pub mod api { pub type Class = ::core::option::Option<::core::primitive::u16>; pub type Index = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for RemoveVote { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RemoveVote { const PALLET: &'static str = "ConvictionVoting"; const CALL: &'static str = "remove_vote"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::remove_other_vote`]."] pub struct RemoveOtherVote { pub target: remove_other_vote::Target, @@ -11087,11 +11824,14 @@ pub mod api { } pub mod remove_other_vote { use super::runtime_types; - pub type Target = ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Target = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; pub type Class = ::core::primitive::u16; pub type Index = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for RemoveOtherVote { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RemoveOtherVote { const PALLET: &'static str = "ConvictionVoting"; const CALL: &'static str = "remove_other_vote"; } @@ -11103,8 +11843,8 @@ pub mod api { &self, poll_index: types::vote::PollIndex, vote: types::vote::Vote, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "ConvictionVoting", "vote", types::Vote { poll_index, vote }, @@ -11123,8 +11863,8 @@ pub mod api { to: types::delegate::To, conviction: types::delegate::Conviction, balance: types::delegate::Balance, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "ConvictionVoting", "delegate", types::Delegate { @@ -11144,8 +11884,8 @@ pub mod api { pub fn undelegate( &self, class: types::undelegate::Class, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "ConvictionVoting", "undelegate", types::Undelegate { class }, @@ -11162,8 +11902,8 @@ pub mod api { &self, class: types::unlock::Class, target: types::unlock::Target, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "ConvictionVoting", "unlock", types::Unlock { class, target }, @@ -11180,8 +11920,8 @@ pub mod api { &self, class: types::remove_vote::Class, index: types::remove_vote::Index, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "ConvictionVoting", "remove_vote", types::RemoveVote { class, index }, @@ -11199,8 +11939,8 @@ pub mod api { target: types::remove_other_vote::Target, class: types::remove_other_vote::Class, index: types::remove_other_vote::Index, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "ConvictionVoting", "remove_other_vote", types::RemoveOtherVote { @@ -11222,43 +11962,43 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An account has delegated their vote to another account. \\[who, target\\]"] pub struct Delegated(pub delegated::Field0, pub delegated::Field1); pub mod delegated { use super::runtime_types; - pub type Field0 = ::subxt::utils::AccountId32; - pub type Field1 = ::subxt::utils::AccountId32; + pub type Field0 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Field1 = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt::events::StaticEvent for Delegated { + impl ::subxt::ext::subxt_core::events::StaticEvent for Delegated { const PALLET: &'static str = "ConvictionVoting"; const EVENT: &'static str = "Delegated"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An \\[account\\] has cancelled a previous delegation operation."] pub struct Undelegated(pub undelegated::Field0); pub mod undelegated { use super::runtime_types; - pub type Field0 = ::subxt::utils::AccountId32; + pub type Field0 = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt::events::StaticEvent for Undelegated { + impl ::subxt::ext::subxt_core::events::StaticEvent for Undelegated { const PALLET: &'static str = "ConvictionVoting"; const EVENT: &'static str = "Undelegated"; } @@ -11271,21 +12011,21 @@ pub mod api { use super::runtime_types; pub type VotingFor = runtime_types::pallet_conviction_voting::vote::Voting< ::core::primitive::u128, - ::subxt::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, ::core::primitive::u32, >; - pub type Param0 = ::subxt::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; pub type Param1 = ::core::primitive::u16; } pub mod class_locks_for { use super::runtime_types; pub type ClassLocksFor = - runtime_types::bounded_collections::bounded_vec::BoundedVec<( + runtime_types::bounded_collections::bounded_vec::BoundedVec14<( ::core::primitive::u16, ::core::primitive::u128, )>; - pub type Param0 = ::subxt::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } } pub struct StorageApi; @@ -11294,17 +12034,17 @@ pub mod api { #[doc = " number of votes that we have recorded."] pub fn voting_for_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::voting_for::VotingFor, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ConvictionVoting", "VotingFor", - vec![], + (), [ 76u8, 63u8, 153u8, 193u8, 39u8, 137u8, 186u8, 29u8, 202u8, 56u8, 169u8, 56u8, 103u8, 138u8, 192u8, 18u8, 179u8, 114u8, 56u8, 121u8, 197u8, @@ -11316,20 +12056,22 @@ pub mod api { #[doc = " number of votes that we have recorded."] pub fn voting_for_iter1( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::voting_for::Param0, + >, types::voting_for::VotingFor, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ConvictionVoting", "VotingFor", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 76u8, 63u8, 153u8, 193u8, 39u8, 137u8, 186u8, 29u8, 202u8, 56u8, 169u8, 56u8, 103u8, 138u8, 192u8, 18u8, 179u8, 114u8, 56u8, 121u8, 197u8, @@ -11341,22 +12083,33 @@ pub mod api { #[doc = " number of votes that we have recorded."] pub fn voting_for( &self, - _0: impl ::std::borrow::Borrow, - _1: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::voting_for::Param0, + >, + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::voting_for::Param1, + >, + ), types::voting_for::VotingFor, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ConvictionVoting", "VotingFor", - vec![ - ::subxt::storage::address::make_static_storage_map_key(_0.borrow()), - ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), - ], + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), + ), [ 76u8, 63u8, 153u8, 193u8, 39u8, 137u8, 186u8, 29u8, 202u8, 56u8, 169u8, 56u8, 103u8, 138u8, 192u8, 18u8, 179u8, 114u8, 56u8, 121u8, 197u8, @@ -11369,17 +12122,17 @@ pub mod api { #[doc = " this list."] pub fn class_locks_for_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::class_locks_for::ClassLocksFor, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ConvictionVoting", "ClassLocksFor", - vec![], + (), [ 74u8, 74u8, 8u8, 82u8, 215u8, 61u8, 13u8, 9u8, 44u8, 222u8, 33u8, 245u8, 195u8, 124u8, 6u8, 174u8, 65u8, 245u8, 71u8, 42u8, 47u8, 46u8, @@ -11392,20 +12145,22 @@ pub mod api { #[doc = " this list."] pub fn class_locks_for( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::class_locks_for::Param0, + >, types::class_locks_for::ClassLocksFor, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ConvictionVoting", "ClassLocksFor", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 74u8, 74u8, 8u8, 82u8, 215u8, 61u8, 13u8, 9u8, 44u8, 222u8, 33u8, 245u8, 195u8, 124u8, 6u8, 174u8, 65u8, 245u8, 71u8, 42u8, 47u8, 46u8, @@ -11423,8 +12178,11 @@ pub mod api { #[doc = ""] #[doc = " Also used to compute weight, an overly large value can lead to extrinsics with large"] #[doc = " weight estimation: see `delegate` for instance."] - pub fn max_votes(&self) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + pub fn max_votes( + &self, + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "ConvictionVoting", "MaxVotes", [ @@ -11441,8 +12199,9 @@ pub mod api { #[doc = " those successful voters are locked into the consequences that their votes entail."] pub fn vote_locking_period( &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "ConvictionVoting", "VoteLockingPeriod", [ @@ -11470,18 +12229,23 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::submit`]."] pub struct Submit { - pub proposal_origin: ::std::boxed::Box, + pub proposal_origin: + ::subxt::ext::subxt_core::alloc::boxed::Box, pub proposal: submit::Proposal, pub enactment_moment: submit::EnactmentMoment, } @@ -11497,20 +12261,24 @@ pub mod api { ::core::primitive::u32, >; } - impl ::subxt::blocks::StaticExtrinsic for Submit { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Submit { const PALLET: &'static str = "Referenda"; const CALL: &'static str = "submit"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::place_decision_deposit`]."] pub struct PlaceDecisionDeposit { pub index: place_decision_deposit::Index, @@ -11519,20 +12287,24 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for PlaceDecisionDeposit { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for PlaceDecisionDeposit { const PALLET: &'static str = "Referenda"; const CALL: &'static str = "place_decision_deposit"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::refund_decision_deposit`]."] pub struct RefundDecisionDeposit { pub index: refund_decision_deposit::Index, @@ -11541,20 +12313,24 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for RefundDecisionDeposit { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RefundDecisionDeposit { const PALLET: &'static str = "Referenda"; const CALL: &'static str = "refund_decision_deposit"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::cancel`]."] pub struct Cancel { pub index: cancel::Index, @@ -11563,20 +12339,24 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for Cancel { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Cancel { const PALLET: &'static str = "Referenda"; const CALL: &'static str = "cancel"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::kill`]."] pub struct Kill { pub index: kill::Index, @@ -11585,20 +12365,24 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for Kill { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Kill { const PALLET: &'static str = "Referenda"; const CALL: &'static str = "kill"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::nudge_referendum`]."] pub struct NudgeReferendum { pub index: nudge_referendum::Index, @@ -11607,20 +12391,24 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for NudgeReferendum { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for NudgeReferendum { const PALLET: &'static str = "Referenda"; const CALL: &'static str = "nudge_referendum"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::one_fewer_deciding`]."] pub struct OneFewerDeciding { pub track: one_fewer_deciding::Track, @@ -11629,20 +12417,24 @@ pub mod api { use super::runtime_types; pub type Track = ::core::primitive::u16; } - impl ::subxt::blocks::StaticExtrinsic for OneFewerDeciding { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for OneFewerDeciding { const PALLET: &'static str = "Referenda"; const CALL: &'static str = "one_fewer_deciding"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::refund_submission_deposit`]."] pub struct RefundSubmissionDeposit { pub index: refund_submission_deposit::Index, @@ -11651,20 +12443,24 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for RefundSubmissionDeposit { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RefundSubmissionDeposit { const PALLET: &'static str = "Referenda"; const CALL: &'static str = "refund_submission_deposit"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_metadata`]."] pub struct SetMetadata { pub index: set_metadata::Index, @@ -11673,9 +12469,10 @@ pub mod api { pub mod set_metadata { use super::runtime_types; pub type Index = ::core::primitive::u32; - pub type MaybeHash = ::core::option::Option<::subxt::utils::H256>; + pub type MaybeHash = + ::core::option::Option<::subxt::ext::subxt_core::utils::H256>; } - impl ::subxt::blocks::StaticExtrinsic for SetMetadata { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetMetadata { const PALLET: &'static str = "Referenda"; const CALL: &'static str = "set_metadata"; } @@ -11688,12 +12485,14 @@ pub mod api { proposal_origin: types::submit::ProposalOrigin, proposal: types::submit::Proposal, enactment_moment: types::submit::EnactmentMoment, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Referenda", "submit", types::Submit { - proposal_origin: ::std::boxed::Box::new(proposal_origin), + proposal_origin: ::subxt::ext::subxt_core::alloc::boxed::Box::new( + proposal_origin, + ), proposal, enactment_moment, }, @@ -11709,8 +12508,9 @@ pub mod api { pub fn place_decision_deposit( &self, index: types::place_decision_deposit::Index, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Referenda", "place_decision_deposit", types::PlaceDecisionDeposit { index }, @@ -11725,8 +12525,9 @@ pub mod api { pub fn refund_decision_deposit( &self, index: types::refund_decision_deposit::Index, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Referenda", "refund_decision_deposit", types::RefundDecisionDeposit { index }, @@ -11741,8 +12542,8 @@ pub mod api { pub fn cancel( &self, index: types::cancel::Index, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Referenda", "cancel", types::Cancel { index }, @@ -11755,8 +12556,11 @@ pub mod api { ) } #[doc = "See [`Pallet::kill`]."] - pub fn kill(&self, index: types::kill::Index) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + pub fn kill( + &self, + index: types::kill::Index, + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Referenda", "kill", types::Kill { index }, @@ -11772,8 +12576,8 @@ pub mod api { pub fn nudge_referendum( &self, index: types::nudge_referendum::Index, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Referenda", "nudge_referendum", types::NudgeReferendum { index }, @@ -11789,8 +12593,9 @@ pub mod api { pub fn one_fewer_deciding( &self, track: types::one_fewer_deciding::Track, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Referenda", "one_fewer_deciding", types::OneFewerDeciding { track }, @@ -11806,8 +12611,9 @@ pub mod api { pub fn refund_submission_deposit( &self, index: types::refund_submission_deposit::Index, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Referenda", "refund_submission_deposit", types::RefundSubmissionDeposit { index }, @@ -11823,8 +12629,8 @@ pub mod api { &self, index: types::set_metadata::Index, maybe_hash: types::set_metadata::MaybeHash, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Referenda", "set_metadata", types::SetMetadata { index, maybe_hash }, @@ -11839,19 +12645,19 @@ pub mod api { } } #[doc = "The `Event` enum of this pallet"] - pub type Event = runtime_types::pallet_referenda::pallet::Event; + pub type Event = runtime_types::pallet_referenda::pallet::Event1; pub mod events { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A referendum has been submitted."] pub struct Submitted { pub index: submitted::Index, @@ -11867,20 +12673,20 @@ pub mod api { runtime_types::sp_runtime::traits::BlakeTwo256, >; } - impl ::subxt::events::StaticEvent for Submitted { + impl ::subxt::ext::subxt_core::events::StaticEvent for Submitted { const PALLET: &'static str = "Referenda"; const EVENT: &'static str = "Submitted"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The decision deposit has been placed."] pub struct DecisionDepositPlaced { pub index: decision_deposit_placed::Index, @@ -11890,23 +12696,23 @@ pub mod api { pub mod decision_deposit_placed { use super::runtime_types; pub type Index = ::core::primitive::u32; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for DecisionDepositPlaced { + impl ::subxt::ext::subxt_core::events::StaticEvent for DecisionDepositPlaced { const PALLET: &'static str = "Referenda"; const EVENT: &'static str = "DecisionDepositPlaced"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The decision deposit has been refunded."] pub struct DecisionDepositRefunded { pub index: decision_deposit_refunded::Index, @@ -11916,47 +12722,47 @@ pub mod api { pub mod decision_deposit_refunded { use super::runtime_types; pub type Index = ::core::primitive::u32; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for DecisionDepositRefunded { + impl ::subxt::ext::subxt_core::events::StaticEvent for DecisionDepositRefunded { const PALLET: &'static str = "Referenda"; const EVENT: &'static str = "DecisionDepositRefunded"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - #[doc = "A deposit has been slashed."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[doc = "A deposit has been slashaed."] pub struct DepositSlashed { pub who: deposit_slashed::Who, pub amount: deposit_slashed::Amount, } pub mod deposit_slashed { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for DepositSlashed { + impl ::subxt::ext::subxt_core::events::StaticEvent for DepositSlashed { const PALLET: &'static str = "Referenda"; const EVENT: &'static str = "DepositSlashed"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A referendum has moved into the deciding phase."] pub struct DecisionStarted { pub index: decision_started::Index, @@ -11975,20 +12781,20 @@ pub mod api { pub type Tally = runtime_types::pallet_conviction_voting::types::Tally<::core::primitive::u128>; } - impl ::subxt::events::StaticEvent for DecisionStarted { + impl ::subxt::ext::subxt_core::events::StaticEvent for DecisionStarted { const PALLET: &'static str = "Referenda"; const EVENT: &'static str = "DecisionStarted"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct ConfirmStarted { pub index: confirm_started::Index, } @@ -11996,20 +12802,20 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for ConfirmStarted { + impl ::subxt::ext::subxt_core::events::StaticEvent for ConfirmStarted { const PALLET: &'static str = "Referenda"; const EVENT: &'static str = "ConfirmStarted"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct ConfirmAborted { pub index: confirm_aborted::Index, } @@ -12017,20 +12823,20 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for ConfirmAborted { + impl ::subxt::ext::subxt_core::events::StaticEvent for ConfirmAborted { const PALLET: &'static str = "Referenda"; const EVENT: &'static str = "ConfirmAborted"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A referendum has ended its confirmation phase and is ready for approval."] pub struct Confirmed { pub index: confirmed::Index, @@ -12042,20 +12848,20 @@ pub mod api { pub type Tally = runtime_types::pallet_conviction_voting::types::Tally<::core::primitive::u128>; } - impl ::subxt::events::StaticEvent for Confirmed { + impl ::subxt::ext::subxt_core::events::StaticEvent for Confirmed { const PALLET: &'static str = "Referenda"; const EVENT: &'static str = "Confirmed"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A referendum has been approved and its proposal has been scheduled."] pub struct Approved { pub index: approved::Index, @@ -12064,20 +12870,20 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for Approved { + impl ::subxt::ext::subxt_core::events::StaticEvent for Approved { const PALLET: &'static str = "Referenda"; const EVENT: &'static str = "Approved"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A proposal has been rejected by referendum."] pub struct Rejected { pub index: rejected::Index, @@ -12089,20 +12895,20 @@ pub mod api { pub type Tally = runtime_types::pallet_conviction_voting::types::Tally<::core::primitive::u128>; } - impl ::subxt::events::StaticEvent for Rejected { + impl ::subxt::ext::subxt_core::events::StaticEvent for Rejected { const PALLET: &'static str = "Referenda"; const EVENT: &'static str = "Rejected"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A referendum has been timed out without being decided."] pub struct TimedOut { pub index: timed_out::Index, @@ -12114,20 +12920,20 @@ pub mod api { pub type Tally = runtime_types::pallet_conviction_voting::types::Tally<::core::primitive::u128>; } - impl ::subxt::events::StaticEvent for TimedOut { + impl ::subxt::ext::subxt_core::events::StaticEvent for TimedOut { const PALLET: &'static str = "Referenda"; const EVENT: &'static str = "TimedOut"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A referendum has been cancelled."] pub struct Cancelled { pub index: cancelled::Index, @@ -12139,20 +12945,20 @@ pub mod api { pub type Tally = runtime_types::pallet_conviction_voting::types::Tally<::core::primitive::u128>; } - impl ::subxt::events::StaticEvent for Cancelled { + impl ::subxt::ext::subxt_core::events::StaticEvent for Cancelled { const PALLET: &'static str = "Referenda"; const EVENT: &'static str = "Cancelled"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A referendum has been killed."] pub struct Killed { pub index: killed::Index, @@ -12164,20 +12970,20 @@ pub mod api { pub type Tally = runtime_types::pallet_conviction_voting::types::Tally<::core::primitive::u128>; } - impl ::subxt::events::StaticEvent for Killed { + impl ::subxt::ext::subxt_core::events::StaticEvent for Killed { const PALLET: &'static str = "Referenda"; const EVENT: &'static str = "Killed"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The submission deposit has been refunded."] pub struct SubmissionDepositRefunded { pub index: submission_deposit_refunded::Index, @@ -12187,23 +12993,23 @@ pub mod api { pub mod submission_deposit_refunded { use super::runtime_types; pub type Index = ::core::primitive::u32; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for SubmissionDepositRefunded { + impl ::subxt::ext::subxt_core::events::StaticEvent for SubmissionDepositRefunded { const PALLET: &'static str = "Referenda"; const EVENT: &'static str = "SubmissionDepositRefunded"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Metadata for a referendum has been set."] pub struct MetadataSet { pub index: metadata_set::Index, @@ -12212,22 +13018,22 @@ pub mod api { pub mod metadata_set { use super::runtime_types; pub type Index = ::core::primitive::u32; - pub type Hash = ::subxt::utils::H256; + pub type Hash = ::subxt::ext::subxt_core::utils::H256; } - impl ::subxt::events::StaticEvent for MetadataSet { + impl ::subxt::ext::subxt_core::events::StaticEvent for MetadataSet { const PALLET: &'static str = "Referenda"; const EVENT: &'static str = "MetadataSet"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Metadata for a referendum has been cleared."] pub struct MetadataCleared { pub index: metadata_cleared::Index, @@ -12236,9 +13042,9 @@ pub mod api { pub mod metadata_cleared { use super::runtime_types; pub type Index = ::core::primitive::u32; - pub type Hash = ::subxt::utils::H256; + pub type Hash = ::subxt::ext::subxt_core::utils::H256; } - impl ::subxt::events::StaticEvent for MetadataCleared { + impl ::subxt::ext::subxt_core::events::StaticEvent for MetadataCleared { const PALLET: &'static str = "Referenda"; const EVENT: &'static str = "MetadataCleared"; } @@ -12254,7 +13060,7 @@ pub mod api { pub mod referendum_info_for { use super::runtime_types; pub type ReferendumInfoFor = - runtime_types::pallet_referenda::types::ReferendumInfo< + runtime_types::pallet_referenda::types::ReferendumInfo1< ::core::primitive::u16, runtime_types::rococo_runtime::OriginCaller, ::core::primitive::u32, @@ -12266,7 +13072,7 @@ pub mod api { runtime_types::pallet_conviction_voting::types::Tally< ::core::primitive::u128, >, - ::subxt::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, (::core::primitive::u32, ::core::primitive::u32), >; pub type Param0 = ::core::primitive::u32; @@ -12274,7 +13080,7 @@ pub mod api { pub mod track_queue { use super::runtime_types; pub type TrackQueue = - runtime_types::bounded_collections::bounded_vec::BoundedVec<( + runtime_types::bounded_collections::bounded_vec::BoundedVec15<( ::core::primitive::u32, ::core::primitive::u128, )>; @@ -12287,7 +13093,7 @@ pub mod api { } pub mod metadata_of { use super::runtime_types; - pub type MetadataOf = ::subxt::utils::H256; + pub type MetadataOf = ::subxt::ext::subxt_core::utils::H256; pub type Param0 = ::core::primitive::u32; } } @@ -12296,17 +13102,17 @@ pub mod api { #[doc = " The next free referendum index, aka the number of referenda started so far."] pub fn referendum_count( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::referendum_count::ReferendumCount, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Referenda", "ReferendumCount", - vec![], + (), [ 64u8, 145u8, 232u8, 153u8, 121u8, 87u8, 128u8, 253u8, 170u8, 192u8, 139u8, 18u8, 0u8, 33u8, 243u8, 11u8, 238u8, 222u8, 244u8, 5u8, 247u8, @@ -12318,17 +13124,17 @@ pub mod api { #[doc = " Information concerning any given referendum."] pub fn referendum_info_for_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::referendum_info_for::ReferendumInfoFor, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Referenda", "ReferendumInfoFor", - vec![], + (), [ 82u8, 199u8, 121u8, 36u8, 81u8, 129u8, 79u8, 226u8, 19u8, 57u8, 26u8, 76u8, 195u8, 60u8, 78u8, 91u8, 198u8, 250u8, 105u8, 111u8, 235u8, 11u8, @@ -12339,20 +13145,22 @@ pub mod api { #[doc = " Information concerning any given referendum."] pub fn referendum_info_for( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::referendum_info_for::Param0, + >, types::referendum_info_for::ReferendumInfoFor, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Referenda", "ReferendumInfoFor", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 82u8, 199u8, 121u8, 36u8, 81u8, 129u8, 79u8, 226u8, 19u8, 57u8, 26u8, 76u8, 195u8, 60u8, 78u8, 91u8, 198u8, 250u8, 105u8, 111u8, 235u8, 11u8, @@ -12366,17 +13174,17 @@ pub mod api { #[doc = " This should be empty if `DecidingCount` is less than `TrackInfo::max_deciding`."] pub fn track_queue_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::track_queue::TrackQueue, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Referenda", "TrackQueue", - vec![], + (), [ 125u8, 59u8, 111u8, 68u8, 27u8, 236u8, 82u8, 55u8, 83u8, 159u8, 105u8, 20u8, 241u8, 118u8, 58u8, 141u8, 103u8, 60u8, 246u8, 49u8, 121u8, @@ -12390,20 +13198,22 @@ pub mod api { #[doc = " This should be empty if `DecidingCount` is less than `TrackInfo::max_deciding`."] pub fn track_queue( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::track_queue::Param0, + >, types::track_queue::TrackQueue, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Referenda", "TrackQueue", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 125u8, 59u8, 111u8, 68u8, 27u8, 236u8, 82u8, 55u8, 83u8, 159u8, 105u8, 20u8, 241u8, 118u8, 58u8, 141u8, 103u8, 60u8, 246u8, 49u8, 121u8, @@ -12414,17 +13224,17 @@ pub mod api { #[doc = " The number of referenda being decided currently."] pub fn deciding_count_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::deciding_count::DecidingCount, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Referenda", "DecidingCount", - vec![], + (), [ 203u8, 89u8, 158u8, 179u8, 194u8, 82u8, 248u8, 162u8, 93u8, 140u8, 146u8, 51u8, 110u8, 232u8, 51u8, 1u8, 128u8, 212u8, 199u8, 14u8, 182u8, @@ -12436,20 +13246,22 @@ pub mod api { #[doc = " The number of referenda being decided currently."] pub fn deciding_count( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::deciding_count::Param0, + >, types::deciding_count::DecidingCount, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Referenda", "DecidingCount", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 203u8, 89u8, 158u8, 179u8, 194u8, 82u8, 248u8, 162u8, 93u8, 140u8, 146u8, 51u8, 110u8, 232u8, 51u8, 1u8, 128u8, 212u8, 199u8, 14u8, 182u8, @@ -12466,17 +13278,17 @@ pub mod api { #[doc = " large preimages."] pub fn metadata_of_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::metadata_of::MetadataOf, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Referenda", "MetadataOf", - vec![], + (), [ 159u8, 250u8, 56u8, 189u8, 247u8, 165u8, 206u8, 166u8, 91u8, 139u8, 124u8, 164u8, 25u8, 246u8, 199u8, 36u8, 159u8, 56u8, 227u8, 136u8, 4u8, @@ -12493,20 +13305,22 @@ pub mod api { #[doc = " large preimages."] pub fn metadata_of( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::metadata_of::Param0, + >, types::metadata_of::MetadataOf, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Referenda", "MetadataOf", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 159u8, 250u8, 56u8, 189u8, 247u8, 165u8, 206u8, 166u8, 91u8, 139u8, 124u8, 164u8, 25u8, 246u8, 199u8, 36u8, 159u8, 56u8, 227u8, 136u8, 4u8, @@ -12524,8 +13338,9 @@ pub mod api { #[doc = " The minimum amount to be used as a deposit for a public referendum proposal."] pub fn submission_deposit( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u128> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Referenda", "SubmissionDeposit", [ @@ -12536,8 +13351,11 @@ pub mod api { ) } #[doc = " Maximum size of the referendum queue for a single track."] - pub fn max_queued(&self) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + pub fn max_queued( + &self, + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Referenda", "MaxQueued", [ @@ -12552,8 +13370,9 @@ pub mod api { #[doc = " Once this passes, then anyone may cancel the referendum."] pub fn undeciding_timeout( &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Referenda", "UndecidingTimeout", [ @@ -12569,8 +13388,9 @@ pub mod api { #[doc = " automatic referendum status changes. Explicit servicing instructions are unaffected."] pub fn alarm_interval( &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Referenda", "AlarmInterval", [ @@ -12584,8 +13404,8 @@ pub mod api { #[doc = " Information concerning the different referendum tracks."] pub fn tracks( &self, - ) -> ::subxt::constants::Address< - ::std::vec::Vec<( + ) -> ::subxt::ext::subxt_core::constants::Address< + ::subxt::ext::subxt_core::alloc::vec::Vec<( ::core::primitive::u16, runtime_types::pallet_referenda::types::TrackInfo< ::core::primitive::u128, @@ -12593,7 +13413,7 @@ pub mod api { >, )>, > { - ::subxt::constants::Address::new_static( + ::subxt::ext::subxt_core::constants::Address::new_static( "Referenda", "Tracks", [ @@ -12621,81 +13441,106 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::add_member`]."] pub struct AddMember { pub who: add_member::Who, } pub mod add_member { use super::runtime_types; - pub type Who = ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Who = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; } - impl ::subxt::blocks::StaticExtrinsic for AddMember { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AddMember { const PALLET: &'static str = "FellowshipCollective"; const CALL: &'static str = "add_member"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::promote_member`]."] pub struct PromoteMember { pub who: promote_member::Who, } pub mod promote_member { use super::runtime_types; - pub type Who = ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Who = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; } - impl ::subxt::blocks::StaticExtrinsic for PromoteMember { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for PromoteMember { const PALLET: &'static str = "FellowshipCollective"; const CALL: &'static str = "promote_member"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::demote_member`]."] pub struct DemoteMember { pub who: demote_member::Who, } pub mod demote_member { use super::runtime_types; - pub type Who = ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Who = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; } - impl ::subxt::blocks::StaticExtrinsic for DemoteMember { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for DemoteMember { const PALLET: &'static str = "FellowshipCollective"; const CALL: &'static str = "demote_member"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::remove_member`]."] pub struct RemoveMember { pub who: remove_member::Who, @@ -12703,23 +13548,30 @@ pub mod api { } pub mod remove_member { use super::runtime_types; - pub type Who = ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Who = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; pub type MinRank = ::core::primitive::u16; } - impl ::subxt::blocks::StaticExtrinsic for RemoveMember { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RemoveMember { const PALLET: &'static str = "FellowshipCollective"; const CALL: &'static str = "remove_member"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::vote`]."] pub struct Vote { pub poll: vote::Poll, @@ -12730,20 +13582,24 @@ pub mod api { pub type Poll = ::core::primitive::u32; pub type Aye = ::core::primitive::bool; } - impl ::subxt::blocks::StaticExtrinsic for Vote { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Vote { const PALLET: &'static str = "FellowshipCollective"; const CALL: &'static str = "vote"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::cleanup_poll`]."] pub struct CleanupPoll { pub poll_index: cleanup_poll::PollIndex, @@ -12754,7 +13610,7 @@ pub mod api { pub type PollIndex = ::core::primitive::u32; pub type Max = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for CleanupPoll { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CleanupPoll { const PALLET: &'static str = "FellowshipCollective"; const CALL: &'static str = "cleanup_poll"; } @@ -12765,8 +13621,8 @@ pub mod api { pub fn add_member( &self, who: types::add_member::Who, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "FellowshipCollective", "add_member", types::AddMember { who }, @@ -12781,8 +13637,8 @@ pub mod api { pub fn promote_member( &self, who: types::promote_member::Who, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "FellowshipCollective", "promote_member", types::PromoteMember { who }, @@ -12798,8 +13654,8 @@ pub mod api { pub fn demote_member( &self, who: types::demote_member::Who, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "FellowshipCollective", "demote_member", types::DemoteMember { who }, @@ -12816,8 +13672,8 @@ pub mod api { &self, who: types::remove_member::Who, min_rank: types::remove_member::MinRank, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "FellowshipCollective", "remove_member", types::RemoveMember { who, min_rank }, @@ -12834,8 +13690,8 @@ pub mod api { &self, poll: types::vote::Poll, aye: types::vote::Aye, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "FellowshipCollective", "vote", types::Vote { poll, aye }, @@ -12851,8 +13707,8 @@ pub mod api { &self, poll_index: types::cleanup_poll::PollIndex, max: types::cleanup_poll::Max, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "FellowshipCollective", "cleanup_poll", types::CleanupPoll { poll_index, max }, @@ -12871,37 +13727,37 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A member `who` has been added."] pub struct MemberAdded { pub who: member_added::Who, } pub mod member_added { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt::events::StaticEvent for MemberAdded { + impl ::subxt::ext::subxt_core::events::StaticEvent for MemberAdded { const PALLET: &'static str = "FellowshipCollective"; const EVENT: &'static str = "MemberAdded"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The member `who`se rank has been changed to the given `rank`."] pub struct RankChanged { pub who: rank_changed::Who, @@ -12909,23 +13765,23 @@ pub mod api { } pub mod rank_changed { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Rank = ::core::primitive::u16; } - impl ::subxt::events::StaticEvent for RankChanged { + impl ::subxt::ext::subxt_core::events::StaticEvent for RankChanged { const PALLET: &'static str = "FellowshipCollective"; const EVENT: &'static str = "RankChanged"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The member `who` of given `rank` has been removed from the collective."] pub struct MemberRemoved { pub who: member_removed::Who, @@ -12933,23 +13789,23 @@ pub mod api { } pub mod member_removed { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Rank = ::core::primitive::u16; } - impl ::subxt::events::StaticEvent for MemberRemoved { + impl ::subxt::ext::subxt_core::events::StaticEvent for MemberRemoved { const PALLET: &'static str = "FellowshipCollective"; const EVENT: &'static str = "MemberRemoved"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The member `who` has voted for the `poll` with the given `vote` leading to an updated"] #[doc = "`tally`."] pub struct Voted { @@ -12960,12 +13816,12 @@ pub mod api { } pub mod voted { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Poll = ::core::primitive::u32; pub type Vote = runtime_types::pallet_ranked_collective::VoteRecord; pub type Tally = runtime_types::pallet_ranked_collective::Tally; } - impl ::subxt::events::StaticEvent for Voted { + impl ::subxt::ext::subxt_core::events::StaticEvent for Voted { const PALLET: &'static str = "FellowshipCollective"; const EVENT: &'static str = "Voted"; } @@ -12982,17 +13838,17 @@ pub mod api { pub mod members { use super::runtime_types; pub type Members = runtime_types::pallet_ranked_collective::MemberRecord; - pub type Param0 = ::subxt::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod id_to_index { use super::runtime_types; pub type IdToIndex = ::core::primitive::u32; pub type Param0 = ::core::primitive::u16; - pub type Param1 = ::subxt::utils::AccountId32; + pub type Param1 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod index_to_id { use super::runtime_types; - pub type IndexToId = ::subxt::utils::AccountId32; + pub type IndexToId = ::subxt::ext::subxt_core::utils::AccountId32; pub type Param0 = ::core::primitive::u16; pub type Param1 = ::core::primitive::u32; } @@ -13000,12 +13856,12 @@ pub mod api { use super::runtime_types; pub type Voting = runtime_types::pallet_ranked_collective::VoteRecord; pub type Param0 = ::core::primitive::u32; - pub type Param1 = ::subxt::utils::AccountId32; + pub type Param1 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod voting_cleanup { use super::runtime_types; pub type VotingCleanup = - runtime_types::bounded_collections::bounded_vec::BoundedVec< + runtime_types::bounded_collections::bounded_vec::BoundedVec5< ::core::primitive::u8, >; pub type Param0 = ::core::primitive::u32; @@ -13017,17 +13873,17 @@ pub mod api { #[doc = " of the vec."] pub fn member_count_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::member_count::MemberCount, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "FellowshipCollective", "MemberCount", - vec![], + (), [ 0u8, 141u8, 66u8, 91u8, 155u8, 74u8, 17u8, 191u8, 143u8, 41u8, 231u8, 56u8, 123u8, 219u8, 145u8, 27u8, 197u8, 62u8, 118u8, 237u8, 30u8, 7u8, @@ -13039,20 +13895,22 @@ pub mod api { #[doc = " of the vec."] pub fn member_count( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::member_count::Param0, + >, types::member_count::MemberCount, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "FellowshipCollective", "MemberCount", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 0u8, 141u8, 66u8, 91u8, 155u8, 74u8, 17u8, 191u8, 143u8, 41u8, 231u8, 56u8, 123u8, 219u8, 145u8, 27u8, 197u8, 62u8, 118u8, 237u8, 30u8, 7u8, @@ -13063,17 +13921,17 @@ pub mod api { #[doc = " The current members of the collective."] pub fn members_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::members::Members, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "FellowshipCollective", "Members", - vec![], + (), [ 101u8, 183u8, 36u8, 241u8, 67u8, 8u8, 252u8, 116u8, 110u8, 153u8, 117u8, 210u8, 128u8, 80u8, 130u8, 163u8, 38u8, 76u8, 230u8, 107u8, @@ -13085,20 +13943,22 @@ pub mod api { #[doc = " The current members of the collective."] pub fn members( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::members::Param0, + >, types::members::Members, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "FellowshipCollective", "Members", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 101u8, 183u8, 36u8, 241u8, 67u8, 8u8, 252u8, 116u8, 110u8, 153u8, 117u8, 210u8, 128u8, 80u8, 130u8, 163u8, 38u8, 76u8, 230u8, 107u8, @@ -13110,17 +13970,17 @@ pub mod api { #[doc = " The index of each ranks's member into the group of members who have at least that rank."] pub fn id_to_index_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::id_to_index::IdToIndex, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "FellowshipCollective", "IdToIndex", - vec![], + (), [ 121u8, 225u8, 69u8, 131u8, 194u8, 3u8, 82u8, 27u8, 129u8, 152u8, 157u8, 45u8, 39u8, 47u8, 166u8, 28u8, 42u8, 92u8, 217u8, 189u8, 160u8, 102u8, @@ -13131,20 +13991,22 @@ pub mod api { #[doc = " The index of each ranks's member into the group of members who have at least that rank."] pub fn id_to_index_iter1( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::id_to_index::Param0, + >, types::id_to_index::IdToIndex, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "FellowshipCollective", "IdToIndex", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 121u8, 225u8, 69u8, 131u8, 194u8, 3u8, 82u8, 27u8, 129u8, 152u8, 157u8, 45u8, 39u8, 47u8, 166u8, 28u8, 42u8, 92u8, 217u8, 189u8, 160u8, 102u8, @@ -13155,22 +14017,33 @@ pub mod api { #[doc = " The index of each ranks's member into the group of members who have at least that rank."] pub fn id_to_index( &self, - _0: impl ::std::borrow::Borrow, - _1: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::id_to_index::Param0, + >, + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::id_to_index::Param1, + >, + ), types::id_to_index::IdToIndex, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "FellowshipCollective", "IdToIndex", - vec![ - ::subxt::storage::address::make_static_storage_map_key(_0.borrow()), - ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), - ], + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), + ), [ 121u8, 225u8, 69u8, 131u8, 194u8, 3u8, 82u8, 27u8, 129u8, 152u8, 157u8, 45u8, 39u8, 47u8, 166u8, 28u8, 42u8, 92u8, 217u8, 189u8, 160u8, 102u8, @@ -13182,17 +14055,17 @@ pub mod api { #[doc = " return `Some`, however a member's index is not guaranteed to remain unchanged over time."] pub fn index_to_id_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::index_to_id::IndexToId, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "FellowshipCollective", "IndexToId", - vec![], + (), [ 110u8, 48u8, 214u8, 224u8, 56u8, 195u8, 186u8, 24u8, 111u8, 37u8, 15u8, 153u8, 245u8, 101u8, 229u8, 149u8, 216u8, 185u8, 7u8, 242u8, 196u8, @@ -13205,20 +14078,22 @@ pub mod api { #[doc = " return `Some`, however a member's index is not guaranteed to remain unchanged over time."] pub fn index_to_id_iter1( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::index_to_id::Param0, + >, types::index_to_id::IndexToId, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "FellowshipCollective", "IndexToId", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 110u8, 48u8, 214u8, 224u8, 56u8, 195u8, 186u8, 24u8, 111u8, 37u8, 15u8, 153u8, 245u8, 101u8, 229u8, 149u8, 216u8, 185u8, 7u8, 242u8, 196u8, @@ -13231,22 +14106,33 @@ pub mod api { #[doc = " return `Some`, however a member's index is not guaranteed to remain unchanged over time."] pub fn index_to_id( &self, - _0: impl ::std::borrow::Borrow, - _1: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::index_to_id::Param0, + >, + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::index_to_id::Param1, + >, + ), types::index_to_id::IndexToId, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "FellowshipCollective", "IndexToId", - vec![ - ::subxt::storage::address::make_static_storage_map_key(_0.borrow()), - ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), - ], + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), + ), [ 110u8, 48u8, 214u8, 224u8, 56u8, 195u8, 186u8, 24u8, 111u8, 37u8, 15u8, 153u8, 245u8, 101u8, 229u8, 149u8, 216u8, 185u8, 7u8, 242u8, 196u8, @@ -13258,17 +14144,17 @@ pub mod api { #[doc = " Votes on a given proposal, if it is ongoing."] pub fn voting_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::voting::Voting, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "FellowshipCollective", "Voting", - vec![], + (), [ 180u8, 146u8, 236u8, 178u8, 30u8, 50u8, 161u8, 50u8, 140u8, 110u8, 220u8, 1u8, 109u8, 209u8, 17u8, 94u8, 234u8, 223u8, 222u8, 177u8, @@ -13280,20 +14166,22 @@ pub mod api { #[doc = " Votes on a given proposal, if it is ongoing."] pub fn voting_iter1( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::voting::Param0, + >, types::voting::Voting, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "FellowshipCollective", "Voting", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 180u8, 146u8, 236u8, 178u8, 30u8, 50u8, 161u8, 50u8, 140u8, 110u8, 220u8, 1u8, 109u8, 209u8, 17u8, 94u8, 234u8, 223u8, 222u8, 177u8, @@ -13305,22 +14193,33 @@ pub mod api { #[doc = " Votes on a given proposal, if it is ongoing."] pub fn voting( &self, - _0: impl ::std::borrow::Borrow, - _1: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::voting::Param0, + >, + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::voting::Param1, + >, + ), types::voting::Voting, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "FellowshipCollective", "Voting", - vec![ - ::subxt::storage::address::make_static_storage_map_key(_0.borrow()), - ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), - ], + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), + ), [ 180u8, 146u8, 236u8, 178u8, 30u8, 50u8, 161u8, 50u8, 140u8, 110u8, 220u8, 1u8, 109u8, 209u8, 17u8, 94u8, 234u8, 223u8, 222u8, 177u8, @@ -13331,17 +14230,17 @@ pub mod api { } pub fn voting_cleanup_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::voting_cleanup::VotingCleanup, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "FellowshipCollective", "VotingCleanup", - vec![], + (), [ 223u8, 130u8, 79u8, 104u8, 94u8, 221u8, 222u8, 72u8, 187u8, 95u8, 231u8, 59u8, 28u8, 119u8, 191u8, 63u8, 40u8, 186u8, 58u8, 254u8, 14u8, @@ -13351,20 +14250,22 @@ pub mod api { } pub fn voting_cleanup( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::voting_cleanup::Param0, + >, types::voting_cleanup::VotingCleanup, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "FellowshipCollective", "VotingCleanup", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 223u8, 130u8, 79u8, 104u8, 94u8, 221u8, 222u8, 72u8, 187u8, 95u8, 231u8, 59u8, 28u8, 119u8, 191u8, 63u8, 40u8, 186u8, 58u8, 254u8, 14u8, @@ -13379,9 +14280,9 @@ pub mod api { use super::root_mod; use super::runtime_types; #[doc = "The `Error` enum of this pallet."] - pub type Error = runtime_types::pallet_referenda::pallet::Error2; + pub type Error = runtime_types::pallet_referenda::pallet::Error; #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] - pub type Call = runtime_types::pallet_referenda::pallet::Call2; + pub type Call = runtime_types::pallet_referenda::pallet::Call; pub mod calls { use super::root_mod; use super::runtime_types; @@ -13389,18 +14290,23 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::submit`]."] pub struct Submit { - pub proposal_origin: ::std::boxed::Box, + pub proposal_origin: + ::subxt::ext::subxt_core::alloc::boxed::Box, pub proposal: submit::Proposal, pub enactment_moment: submit::EnactmentMoment, } @@ -13416,20 +14322,24 @@ pub mod api { ::core::primitive::u32, >; } - impl ::subxt::blocks::StaticExtrinsic for Submit { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Submit { const PALLET: &'static str = "FellowshipReferenda"; const CALL: &'static str = "submit"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::place_decision_deposit`]."] pub struct PlaceDecisionDeposit { pub index: place_decision_deposit::Index, @@ -13438,20 +14348,24 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for PlaceDecisionDeposit { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for PlaceDecisionDeposit { const PALLET: &'static str = "FellowshipReferenda"; const CALL: &'static str = "place_decision_deposit"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::refund_decision_deposit`]."] pub struct RefundDecisionDeposit { pub index: refund_decision_deposit::Index, @@ -13460,20 +14374,24 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for RefundDecisionDeposit { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RefundDecisionDeposit { const PALLET: &'static str = "FellowshipReferenda"; const CALL: &'static str = "refund_decision_deposit"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::cancel`]."] pub struct Cancel { pub index: cancel::Index, @@ -13482,20 +14400,24 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for Cancel { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Cancel { const PALLET: &'static str = "FellowshipReferenda"; const CALL: &'static str = "cancel"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::kill`]."] pub struct Kill { pub index: kill::Index, @@ -13504,20 +14426,24 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for Kill { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Kill { const PALLET: &'static str = "FellowshipReferenda"; const CALL: &'static str = "kill"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::nudge_referendum`]."] pub struct NudgeReferendum { pub index: nudge_referendum::Index, @@ -13526,20 +14452,24 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for NudgeReferendum { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for NudgeReferendum { const PALLET: &'static str = "FellowshipReferenda"; const CALL: &'static str = "nudge_referendum"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::one_fewer_deciding`]."] pub struct OneFewerDeciding { pub track: one_fewer_deciding::Track, @@ -13548,20 +14478,24 @@ pub mod api { use super::runtime_types; pub type Track = ::core::primitive::u16; } - impl ::subxt::blocks::StaticExtrinsic for OneFewerDeciding { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for OneFewerDeciding { const PALLET: &'static str = "FellowshipReferenda"; const CALL: &'static str = "one_fewer_deciding"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::refund_submission_deposit`]."] pub struct RefundSubmissionDeposit { pub index: refund_submission_deposit::Index, @@ -13570,20 +14504,24 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for RefundSubmissionDeposit { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RefundSubmissionDeposit { const PALLET: &'static str = "FellowshipReferenda"; const CALL: &'static str = "refund_submission_deposit"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_metadata`]."] pub struct SetMetadata { pub index: set_metadata::Index, @@ -13592,9 +14530,10 @@ pub mod api { pub mod set_metadata { use super::runtime_types; pub type Index = ::core::primitive::u32; - pub type MaybeHash = ::core::option::Option<::subxt::utils::H256>; + pub type MaybeHash = + ::core::option::Option<::subxt::ext::subxt_core::utils::H256>; } - impl ::subxt::blocks::StaticExtrinsic for SetMetadata { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetMetadata { const PALLET: &'static str = "FellowshipReferenda"; const CALL: &'static str = "set_metadata"; } @@ -13607,12 +14546,14 @@ pub mod api { proposal_origin: types::submit::ProposalOrigin, proposal: types::submit::Proposal, enactment_moment: types::submit::EnactmentMoment, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "FellowshipReferenda", "submit", types::Submit { - proposal_origin: ::std::boxed::Box::new(proposal_origin), + proposal_origin: ::subxt::ext::subxt_core::alloc::boxed::Box::new( + proposal_origin, + ), proposal, enactment_moment, }, @@ -13628,8 +14569,9 @@ pub mod api { pub fn place_decision_deposit( &self, index: types::place_decision_deposit::Index, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "FellowshipReferenda", "place_decision_deposit", types::PlaceDecisionDeposit { index }, @@ -13644,8 +14586,9 @@ pub mod api { pub fn refund_decision_deposit( &self, index: types::refund_decision_deposit::Index, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "FellowshipReferenda", "refund_decision_deposit", types::RefundDecisionDeposit { index }, @@ -13660,8 +14603,8 @@ pub mod api { pub fn cancel( &self, index: types::cancel::Index, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "FellowshipReferenda", "cancel", types::Cancel { index }, @@ -13674,8 +14617,11 @@ pub mod api { ) } #[doc = "See [`Pallet::kill`]."] - pub fn kill(&self, index: types::kill::Index) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + pub fn kill( + &self, + index: types::kill::Index, + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "FellowshipReferenda", "kill", types::Kill { index }, @@ -13691,8 +14637,8 @@ pub mod api { pub fn nudge_referendum( &self, index: types::nudge_referendum::Index, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "FellowshipReferenda", "nudge_referendum", types::NudgeReferendum { index }, @@ -13708,8 +14654,9 @@ pub mod api { pub fn one_fewer_deciding( &self, track: types::one_fewer_deciding::Track, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "FellowshipReferenda", "one_fewer_deciding", types::OneFewerDeciding { track }, @@ -13725,8 +14672,9 @@ pub mod api { pub fn refund_submission_deposit( &self, index: types::refund_submission_deposit::Index, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "FellowshipReferenda", "refund_submission_deposit", types::RefundSubmissionDeposit { index }, @@ -13742,8 +14690,8 @@ pub mod api { &self, index: types::set_metadata::Index, maybe_hash: types::set_metadata::MaybeHash, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "FellowshipReferenda", "set_metadata", types::SetMetadata { index, maybe_hash }, @@ -13762,15 +14710,15 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A referendum has been submitted."] pub struct Submitted { pub index: submitted::Index, @@ -13786,20 +14734,20 @@ pub mod api { runtime_types::sp_runtime::traits::BlakeTwo256, >; } - impl ::subxt::events::StaticEvent for Submitted { + impl ::subxt::ext::subxt_core::events::StaticEvent for Submitted { const PALLET: &'static str = "FellowshipReferenda"; const EVENT: &'static str = "Submitted"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The decision deposit has been placed."] pub struct DecisionDepositPlaced { pub index: decision_deposit_placed::Index, @@ -13809,23 +14757,23 @@ pub mod api { pub mod decision_deposit_placed { use super::runtime_types; pub type Index = ::core::primitive::u32; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for DecisionDepositPlaced { + impl ::subxt::ext::subxt_core::events::StaticEvent for DecisionDepositPlaced { const PALLET: &'static str = "FellowshipReferenda"; const EVENT: &'static str = "DecisionDepositPlaced"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The decision deposit has been refunded."] pub struct DecisionDepositRefunded { pub index: decision_deposit_refunded::Index, @@ -13835,47 +14783,47 @@ pub mod api { pub mod decision_deposit_refunded { use super::runtime_types; pub type Index = ::core::primitive::u32; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for DecisionDepositRefunded { + impl ::subxt::ext::subxt_core::events::StaticEvent for DecisionDepositRefunded { const PALLET: &'static str = "FellowshipReferenda"; const EVENT: &'static str = "DecisionDepositRefunded"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - #[doc = "A deposit has been slashed."] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + #[doc = "A deposit has been slashaed."] pub struct DepositSlashed { pub who: deposit_slashed::Who, pub amount: deposit_slashed::Amount, } pub mod deposit_slashed { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for DepositSlashed { + impl ::subxt::ext::subxt_core::events::StaticEvent for DepositSlashed { const PALLET: &'static str = "FellowshipReferenda"; const EVENT: &'static str = "DepositSlashed"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A referendum has moved into the deciding phase."] pub struct DecisionStarted { pub index: decision_started::Index, @@ -13893,20 +14841,20 @@ pub mod api { >; pub type Tally = runtime_types::pallet_ranked_collective::Tally; } - impl ::subxt::events::StaticEvent for DecisionStarted { + impl ::subxt::ext::subxt_core::events::StaticEvent for DecisionStarted { const PALLET: &'static str = "FellowshipReferenda"; const EVENT: &'static str = "DecisionStarted"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct ConfirmStarted { pub index: confirm_started::Index, } @@ -13914,20 +14862,20 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for ConfirmStarted { + impl ::subxt::ext::subxt_core::events::StaticEvent for ConfirmStarted { const PALLET: &'static str = "FellowshipReferenda"; const EVENT: &'static str = "ConfirmStarted"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct ConfirmAborted { pub index: confirm_aborted::Index, } @@ -13935,20 +14883,20 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for ConfirmAborted { + impl ::subxt::ext::subxt_core::events::StaticEvent for ConfirmAborted { const PALLET: &'static str = "FellowshipReferenda"; const EVENT: &'static str = "ConfirmAborted"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A referendum has ended its confirmation phase and is ready for approval."] pub struct Confirmed { pub index: confirmed::Index, @@ -13959,20 +14907,20 @@ pub mod api { pub type Index = ::core::primitive::u32; pub type Tally = runtime_types::pallet_ranked_collective::Tally; } - impl ::subxt::events::StaticEvent for Confirmed { + impl ::subxt::ext::subxt_core::events::StaticEvent for Confirmed { const PALLET: &'static str = "FellowshipReferenda"; const EVENT: &'static str = "Confirmed"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A referendum has been approved and its proposal has been scheduled."] pub struct Approved { pub index: approved::Index, @@ -13981,20 +14929,20 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for Approved { + impl ::subxt::ext::subxt_core::events::StaticEvent for Approved { const PALLET: &'static str = "FellowshipReferenda"; const EVENT: &'static str = "Approved"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A proposal has been rejected by referendum."] pub struct Rejected { pub index: rejected::Index, @@ -14005,20 +14953,20 @@ pub mod api { pub type Index = ::core::primitive::u32; pub type Tally = runtime_types::pallet_ranked_collective::Tally; } - impl ::subxt::events::StaticEvent for Rejected { + impl ::subxt::ext::subxt_core::events::StaticEvent for Rejected { const PALLET: &'static str = "FellowshipReferenda"; const EVENT: &'static str = "Rejected"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A referendum has been timed out without being decided."] pub struct TimedOut { pub index: timed_out::Index, @@ -14029,20 +14977,20 @@ pub mod api { pub type Index = ::core::primitive::u32; pub type Tally = runtime_types::pallet_ranked_collective::Tally; } - impl ::subxt::events::StaticEvent for TimedOut { + impl ::subxt::ext::subxt_core::events::StaticEvent for TimedOut { const PALLET: &'static str = "FellowshipReferenda"; const EVENT: &'static str = "TimedOut"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A referendum has been cancelled."] pub struct Cancelled { pub index: cancelled::Index, @@ -14053,20 +15001,20 @@ pub mod api { pub type Index = ::core::primitive::u32; pub type Tally = runtime_types::pallet_ranked_collective::Tally; } - impl ::subxt::events::StaticEvent for Cancelled { + impl ::subxt::ext::subxt_core::events::StaticEvent for Cancelled { const PALLET: &'static str = "FellowshipReferenda"; const EVENT: &'static str = "Cancelled"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A referendum has been killed."] pub struct Killed { pub index: killed::Index, @@ -14077,20 +15025,20 @@ pub mod api { pub type Index = ::core::primitive::u32; pub type Tally = runtime_types::pallet_ranked_collective::Tally; } - impl ::subxt::events::StaticEvent for Killed { + impl ::subxt::ext::subxt_core::events::StaticEvent for Killed { const PALLET: &'static str = "FellowshipReferenda"; const EVENT: &'static str = "Killed"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The submission deposit has been refunded."] pub struct SubmissionDepositRefunded { pub index: submission_deposit_refunded::Index, @@ -14100,23 +15048,23 @@ pub mod api { pub mod submission_deposit_refunded { use super::runtime_types; pub type Index = ::core::primitive::u32; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for SubmissionDepositRefunded { + impl ::subxt::ext::subxt_core::events::StaticEvent for SubmissionDepositRefunded { const PALLET: &'static str = "FellowshipReferenda"; const EVENT: &'static str = "SubmissionDepositRefunded"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Metadata for a referendum has been set."] pub struct MetadataSet { pub index: metadata_set::Index, @@ -14125,22 +15073,22 @@ pub mod api { pub mod metadata_set { use super::runtime_types; pub type Index = ::core::primitive::u32; - pub type Hash = ::subxt::utils::H256; + pub type Hash = ::subxt::ext::subxt_core::utils::H256; } - impl ::subxt::events::StaticEvent for MetadataSet { + impl ::subxt::ext::subxt_core::events::StaticEvent for MetadataSet { const PALLET: &'static str = "FellowshipReferenda"; const EVENT: &'static str = "MetadataSet"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Metadata for a referendum has been cleared."] pub struct MetadataCleared { pub index: metadata_cleared::Index, @@ -14149,9 +15097,9 @@ pub mod api { pub mod metadata_cleared { use super::runtime_types; pub type Index = ::core::primitive::u32; - pub type Hash = ::subxt::utils::H256; + pub type Hash = ::subxt::ext::subxt_core::utils::H256; } - impl ::subxt::events::StaticEvent for MetadataCleared { + impl ::subxt::ext::subxt_core::events::StaticEvent for MetadataCleared { const PALLET: &'static str = "FellowshipReferenda"; const EVENT: &'static str = "MetadataCleared"; } @@ -14167,7 +15115,7 @@ pub mod api { pub mod referendum_info_for { use super::runtime_types; pub type ReferendumInfoFor = - runtime_types::pallet_referenda::types::ReferendumInfo< + runtime_types::pallet_referenda::types::ReferendumInfo2< ::core::primitive::u16, runtime_types::rococo_runtime::OriginCaller, ::core::primitive::u32, @@ -14177,7 +15125,7 @@ pub mod api { >, ::core::primitive::u128, runtime_types::pallet_ranked_collective::Tally, - ::subxt::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, (::core::primitive::u32, ::core::primitive::u32), >; pub type Param0 = ::core::primitive::u32; @@ -14185,7 +15133,7 @@ pub mod api { pub mod track_queue { use super::runtime_types; pub type TrackQueue = - runtime_types::bounded_collections::bounded_vec::BoundedVec<( + runtime_types::bounded_collections::bounded_vec::BoundedVec16<( ::core::primitive::u32, ::core::primitive::u32, )>; @@ -14198,7 +15146,7 @@ pub mod api { } pub mod metadata_of { use super::runtime_types; - pub type MetadataOf = ::subxt::utils::H256; + pub type MetadataOf = ::subxt::ext::subxt_core::utils::H256; pub type Param0 = ::core::primitive::u32; } } @@ -14207,17 +15155,17 @@ pub mod api { #[doc = " The next free referendum index, aka the number of referenda started so far."] pub fn referendum_count( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::referendum_count::ReferendumCount, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "FellowshipReferenda", "ReferendumCount", - vec![], + (), [ 64u8, 145u8, 232u8, 153u8, 121u8, 87u8, 128u8, 253u8, 170u8, 192u8, 139u8, 18u8, 0u8, 33u8, 243u8, 11u8, 238u8, 222u8, 244u8, 5u8, 247u8, @@ -14229,17 +15177,17 @@ pub mod api { #[doc = " Information concerning any given referendum."] pub fn referendum_info_for_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::referendum_info_for::ReferendumInfoFor, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "FellowshipReferenda", "ReferendumInfoFor", - vec![], + (), [ 154u8, 115u8, 139u8, 27u8, 56u8, 76u8, 212u8, 73u8, 155u8, 177u8, 26u8, 156u8, 1u8, 163u8, 243u8, 143u8, 10u8, 188u8, 63u8, 63u8, 190u8, 158u8, @@ -14250,20 +15198,22 @@ pub mod api { #[doc = " Information concerning any given referendum."] pub fn referendum_info_for( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::referendum_info_for::Param0, + >, types::referendum_info_for::ReferendumInfoFor, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "FellowshipReferenda", "ReferendumInfoFor", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 154u8, 115u8, 139u8, 27u8, 56u8, 76u8, 212u8, 73u8, 155u8, 177u8, 26u8, 156u8, 1u8, 163u8, 243u8, 143u8, 10u8, 188u8, 63u8, 63u8, 190u8, 158u8, @@ -14277,17 +15227,17 @@ pub mod api { #[doc = " This should be empty if `DecidingCount` is less than `TrackInfo::max_deciding`."] pub fn track_queue_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::track_queue::TrackQueue, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "FellowshipReferenda", "TrackQueue", - vec![], + (), [ 187u8, 113u8, 225u8, 99u8, 159u8, 207u8, 182u8, 41u8, 116u8, 136u8, 119u8, 196u8, 152u8, 50u8, 192u8, 22u8, 171u8, 182u8, 237u8, 228u8, @@ -14302,20 +15252,22 @@ pub mod api { #[doc = " This should be empty if `DecidingCount` is less than `TrackInfo::max_deciding`."] pub fn track_queue( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::track_queue::Param0, + >, types::track_queue::TrackQueue, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "FellowshipReferenda", "TrackQueue", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 187u8, 113u8, 225u8, 99u8, 159u8, 207u8, 182u8, 41u8, 116u8, 136u8, 119u8, 196u8, 152u8, 50u8, 192u8, 22u8, 171u8, 182u8, 237u8, 228u8, @@ -14327,17 +15279,17 @@ pub mod api { #[doc = " The number of referenda being decided currently."] pub fn deciding_count_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::deciding_count::DecidingCount, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "FellowshipReferenda", "DecidingCount", - vec![], + (), [ 203u8, 89u8, 158u8, 179u8, 194u8, 82u8, 248u8, 162u8, 93u8, 140u8, 146u8, 51u8, 110u8, 232u8, 51u8, 1u8, 128u8, 212u8, 199u8, 14u8, 182u8, @@ -14349,20 +15301,22 @@ pub mod api { #[doc = " The number of referenda being decided currently."] pub fn deciding_count( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::deciding_count::Param0, + >, types::deciding_count::DecidingCount, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "FellowshipReferenda", "DecidingCount", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 203u8, 89u8, 158u8, 179u8, 194u8, 82u8, 248u8, 162u8, 93u8, 140u8, 146u8, 51u8, 110u8, 232u8, 51u8, 1u8, 128u8, 212u8, 199u8, 14u8, 182u8, @@ -14379,17 +15333,17 @@ pub mod api { #[doc = " large preimages."] pub fn metadata_of_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::metadata_of::MetadataOf, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "FellowshipReferenda", "MetadataOf", - vec![], + (), [ 159u8, 250u8, 56u8, 189u8, 247u8, 165u8, 206u8, 166u8, 91u8, 139u8, 124u8, 164u8, 25u8, 246u8, 199u8, 36u8, 159u8, 56u8, 227u8, 136u8, 4u8, @@ -14406,20 +15360,22 @@ pub mod api { #[doc = " large preimages."] pub fn metadata_of( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::metadata_of::Param0, + >, types::metadata_of::MetadataOf, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "FellowshipReferenda", "MetadataOf", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 159u8, 250u8, 56u8, 189u8, 247u8, 165u8, 206u8, 166u8, 91u8, 139u8, 124u8, 164u8, 25u8, 246u8, 199u8, 36u8, 159u8, 56u8, 227u8, 136u8, 4u8, @@ -14437,8 +15393,9 @@ pub mod api { #[doc = " The minimum amount to be used as a deposit for a public referendum proposal."] pub fn submission_deposit( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u128> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "FellowshipReferenda", "SubmissionDeposit", [ @@ -14449,8 +15406,11 @@ pub mod api { ) } #[doc = " Maximum size of the referendum queue for a single track."] - pub fn max_queued(&self) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + pub fn max_queued( + &self, + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "FellowshipReferenda", "MaxQueued", [ @@ -14465,8 +15425,9 @@ pub mod api { #[doc = " Once this passes, then anyone may cancel the referendum."] pub fn undeciding_timeout( &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "FellowshipReferenda", "UndecidingTimeout", [ @@ -14482,8 +15443,9 @@ pub mod api { #[doc = " automatic referendum status changes. Explicit servicing instructions are unaffected."] pub fn alarm_interval( &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "FellowshipReferenda", "AlarmInterval", [ @@ -14497,8 +15459,8 @@ pub mod api { #[doc = " Information concerning the different referendum tracks."] pub fn tracks( &self, - ) -> ::subxt::constants::Address< - ::std::vec::Vec<( + ) -> ::subxt::ext::subxt_core::constants::Address< + ::subxt::ext::subxt_core::alloc::vec::Vec<( ::core::primitive::u16, runtime_types::pallet_referenda::types::TrackInfo< ::core::primitive::u128, @@ -14506,7 +15468,7 @@ pub mod api { >, )>, > { - ::subxt::constants::Address::new_static( + ::subxt::ext::subxt_core::constants::Address::new_static( "FellowshipReferenda", "Tracks", [ @@ -14534,59 +15496,71 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::whitelist_call`]."] pub struct WhitelistCall { pub call_hash: whitelist_call::CallHash, } pub mod whitelist_call { use super::runtime_types; - pub type CallHash = ::subxt::utils::H256; + pub type CallHash = ::subxt::ext::subxt_core::utils::H256; } - impl ::subxt::blocks::StaticExtrinsic for WhitelistCall { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for WhitelistCall { const PALLET: &'static str = "Whitelist"; const CALL: &'static str = "whitelist_call"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::remove_whitelisted_call`]."] pub struct RemoveWhitelistedCall { pub call_hash: remove_whitelisted_call::CallHash, } pub mod remove_whitelisted_call { use super::runtime_types; - pub type CallHash = ::subxt::utils::H256; + pub type CallHash = ::subxt::ext::subxt_core::utils::H256; } - impl ::subxt::blocks::StaticExtrinsic for RemoveWhitelistedCall { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RemoveWhitelistedCall { const PALLET: &'static str = "Whitelist"; const CALL: &'static str = "remove_whitelisted_call"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::dispatch_whitelisted_call`]."] pub struct DispatchWhitelistedCall { pub call_hash: dispatch_whitelisted_call::CallHash, @@ -14595,33 +15569,39 @@ pub mod api { } pub mod dispatch_whitelisted_call { use super::runtime_types; - pub type CallHash = ::subxt::utils::H256; + pub type CallHash = ::subxt::ext::subxt_core::utils::H256; pub type CallEncodedLen = ::core::primitive::u32; pub type CallWeightWitness = runtime_types::sp_weights::weight_v2::Weight; } - impl ::subxt::blocks::StaticExtrinsic for DispatchWhitelistedCall { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for DispatchWhitelistedCall { const PALLET: &'static str = "Whitelist"; const CALL: &'static str = "dispatch_whitelisted_call"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::dispatch_whitelisted_call_with_preimage`]."] pub struct DispatchWhitelistedCallWithPreimage { - pub call: ::std::boxed::Box, + pub call: ::subxt::ext::subxt_core::alloc::boxed::Box< + dispatch_whitelisted_call_with_preimage::Call, + >, } pub mod dispatch_whitelisted_call_with_preimage { use super::runtime_types; pub type Call = runtime_types::rococo_runtime::RuntimeCall; } - impl ::subxt::blocks::StaticExtrinsic for DispatchWhitelistedCallWithPreimage { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for DispatchWhitelistedCallWithPreimage { const PALLET: &'static str = "Whitelist"; const CALL: &'static str = "dispatch_whitelisted_call_with_preimage"; } @@ -14632,8 +15612,8 @@ pub mod api { pub fn whitelist_call( &self, call_hash: types::whitelist_call::CallHash, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Whitelist", "whitelist_call", types::WhitelistCall { call_hash }, @@ -14649,8 +15629,9 @@ pub mod api { pub fn remove_whitelisted_call( &self, call_hash: types::remove_whitelisted_call::CallHash, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Whitelist", "remove_whitelisted_call", types::RemoveWhitelistedCall { call_hash }, @@ -14668,8 +15649,9 @@ pub mod api { call_hash: types::dispatch_whitelisted_call::CallHash, call_encoded_len: types::dispatch_whitelisted_call::CallEncodedLen, call_weight_witness: types::dispatch_whitelisted_call::CallWeightWitness, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Whitelist", "dispatch_whitelisted_call", types::DispatchWhitelistedCall { @@ -14689,18 +15671,18 @@ pub mod api { pub fn dispatch_whitelisted_call_with_preimage( &self, call: types::dispatch_whitelisted_call_with_preimage::Call, - ) -> ::subxt::tx::Payload + ) -> ::subxt::ext::subxt_core::tx::Payload { - ::subxt::tx::Payload::new_static( + ::subxt::ext::subxt_core::tx::Payload::new_static( "Whitelist", "dispatch_whitelisted_call_with_preimage", types::DispatchWhitelistedCallWithPreimage { - call: ::std::boxed::Box::new(call), + call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call), }, [ - 149u8, 115u8, 81u8, 76u8, 235u8, 167u8, 31u8, 227u8, 153u8, 46u8, - 233u8, 199u8, 94u8, 30u8, 253u8, 19u8, 189u8, 77u8, 151u8, 249u8, 68u8, - 207u8, 139u8, 67u8, 6u8, 193u8, 131u8, 123u8, 101u8, 100u8, 13u8, + 85u8, 176u8, 96u8, 176u8, 10u8, 112u8, 30u8, 206u8, 107u8, 111u8, + 195u8, 253u8, 48u8, 252u8, 56u8, 75u8, 138u8, 201u8, 222u8, 79u8, + 234u8, 5u8, 81u8, 108u8, 103u8, 189u8, 81u8, 151u8, 57u8, 135u8, 63u8, 222u8, ], ) @@ -14712,64 +15694,64 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct CallWhitelisted { pub call_hash: call_whitelisted::CallHash, } pub mod call_whitelisted { use super::runtime_types; - pub type CallHash = ::subxt::utils::H256; + pub type CallHash = ::subxt::ext::subxt_core::utils::H256; } - impl ::subxt::events::StaticEvent for CallWhitelisted { + impl ::subxt::ext::subxt_core::events::StaticEvent for CallWhitelisted { const PALLET: &'static str = "Whitelist"; const EVENT: &'static str = "CallWhitelisted"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct WhitelistedCallRemoved { pub call_hash: whitelisted_call_removed::CallHash, } pub mod whitelisted_call_removed { use super::runtime_types; - pub type CallHash = ::subxt::utils::H256; + pub type CallHash = ::subxt::ext::subxt_core::utils::H256; } - impl ::subxt::events::StaticEvent for WhitelistedCallRemoved { + impl ::subxt::ext::subxt_core::events::StaticEvent for WhitelistedCallRemoved { const PALLET: &'static str = "Whitelist"; const EVENT: &'static str = "WhitelistedCallRemoved"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct WhitelistedCallDispatched { pub call_hash: whitelisted_call_dispatched::CallHash, pub result: whitelisted_call_dispatched::Result, } pub mod whitelisted_call_dispatched { use super::runtime_types; - pub type CallHash = ::subxt::utils::H256; + pub type CallHash = ::subxt::ext::subxt_core::utils::H256; pub type Result = ::core::result::Result< runtime_types::frame_support::dispatch::PostDispatchInfo, runtime_types::sp_runtime::DispatchErrorWithPostInfo< @@ -14777,7 +15759,7 @@ pub mod api { >, >; } - impl ::subxt::events::StaticEvent for WhitelistedCallDispatched { + impl ::subxt::ext::subxt_core::events::StaticEvent for WhitelistedCallDispatched { const PALLET: &'static str = "Whitelist"; const EVENT: &'static str = "WhitelistedCallDispatched"; } @@ -14789,24 +15771,24 @@ pub mod api { pub mod whitelisted_call { use super::runtime_types; pub type WhitelistedCall = (); - pub type Param0 = ::subxt::utils::H256; + pub type Param0 = ::subxt::ext::subxt_core::utils::H256; } } pub struct StorageApi; impl StorageApi { pub fn whitelisted_call_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::whitelisted_call::WhitelistedCall, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Whitelist", "WhitelistedCall", - vec![], + (), [ 82u8, 208u8, 214u8, 72u8, 225u8, 35u8, 51u8, 212u8, 25u8, 138u8, 30u8, 87u8, 54u8, 232u8, 72u8, 132u8, 4u8, 9u8, 28u8, 143u8, 251u8, 106u8, @@ -14816,20 +15798,22 @@ pub mod api { } pub fn whitelisted_call( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::whitelisted_call::Param0, + >, types::whitelisted_call::WhitelistedCall, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Whitelist", "WhitelistedCall", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 82u8, 208u8, 214u8, 72u8, 225u8, 35u8, 51u8, 212u8, 25u8, 138u8, 30u8, 87u8, 54u8, 232u8, 72u8, 132u8, 4u8, 9u8, 28u8, 143u8, 251u8, 106u8, @@ -14854,15 +15838,19 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::claim`]."] pub struct Claim { pub dest: claim::Dest, @@ -14870,24 +15858,28 @@ pub mod api { } pub mod claim { use super::runtime_types; - pub type Dest = ::subxt::utils::AccountId32; + pub type Dest = ::subxt::ext::subxt_core::utils::AccountId32; pub type EthereumSignature = runtime_types::polkadot_runtime_common::claims::EcdsaSignature; } - impl ::subxt::blocks::StaticExtrinsic for Claim { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Claim { const PALLET: &'static str = "Claims"; const CALL: &'static str = "claim"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::mint_claim`]."] pub struct MintClaim { pub who: mint_claim::Who, @@ -14908,20 +15900,24 @@ pub mod api { runtime_types::polkadot_runtime_common::claims::StatementKind, >; } - impl ::subxt::blocks::StaticExtrinsic for MintClaim { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for MintClaim { const PALLET: &'static str = "Claims"; const CALL: &'static str = "mint_claim"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::claim_attest`]."] pub struct ClaimAttest { pub dest: claim_attest::Dest, @@ -14930,47 +15926,57 @@ pub mod api { } pub mod claim_attest { use super::runtime_types; - pub type Dest = ::subxt::utils::AccountId32; + pub type Dest = ::subxt::ext::subxt_core::utils::AccountId32; pub type EthereumSignature = runtime_types::polkadot_runtime_common::claims::EcdsaSignature; - pub type Statement = ::std::vec::Vec<::core::primitive::u8>; + pub type Statement = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } - impl ::subxt::blocks::StaticExtrinsic for ClaimAttest { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ClaimAttest { const PALLET: &'static str = "Claims"; const CALL: &'static str = "claim_attest"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::attest`]."] pub struct Attest { pub statement: attest::Statement, } pub mod attest { use super::runtime_types; - pub type Statement = ::std::vec::Vec<::core::primitive::u8>; + pub type Statement = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } - impl ::subxt::blocks::StaticExtrinsic for Attest { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Attest { const PALLET: &'static str = "Claims"; const CALL: &'static str = "attest"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::move_claim`]."] pub struct MoveClaim { pub old: move_claim::Old, @@ -14981,9 +15987,10 @@ pub mod api { use super::runtime_types; pub type Old = runtime_types::polkadot_runtime_common::claims::EthereumAddress; pub type New = runtime_types::polkadot_runtime_common::claims::EthereumAddress; - pub type MaybePreclaim = ::core::option::Option<::subxt::utils::AccountId32>; + pub type MaybePreclaim = + ::core::option::Option<::subxt::ext::subxt_core::utils::AccountId32>; } - impl ::subxt::blocks::StaticExtrinsic for MoveClaim { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for MoveClaim { const PALLET: &'static str = "Claims"; const CALL: &'static str = "move_claim"; } @@ -14995,8 +16002,8 @@ pub mod api { &self, dest: types::claim::Dest, ethereum_signature: types::claim::EthereumSignature, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Claims", "claim", types::Claim { @@ -15018,8 +16025,8 @@ pub mod api { value: types::mint_claim::Value, vesting_schedule: types::mint_claim::VestingSchedule, statement: types::mint_claim::Statement, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Claims", "mint_claim", types::MintClaim { @@ -15041,8 +16048,8 @@ pub mod api { dest: types::claim_attest::Dest, ethereum_signature: types::claim_attest::EthereumSignature, statement: types::claim_attest::Statement, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Claims", "claim_attest", types::ClaimAttest { @@ -15061,8 +16068,8 @@ pub mod api { pub fn attest( &self, statement: types::attest::Statement, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Claims", "attest", types::Attest { statement }, @@ -15080,8 +16087,8 @@ pub mod api { old: types::move_claim::Old, new: types::move_claim::New, maybe_preclaim: types::move_claim::MaybePreclaim, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Claims", "move_claim", types::MoveClaim { @@ -15104,15 +16111,15 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Someone claimed some DOTs."] pub struct Claimed { pub who: claimed::Who, @@ -15121,12 +16128,12 @@ pub mod api { } pub mod claimed { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type EthereumAddress = runtime_types::polkadot_runtime_common::claims::EthereumAddress; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Claimed { + impl ::subxt::ext::subxt_core::events::StaticEvent for Claimed { const PALLET: &'static str = "Claims"; const EVENT: &'static str = "Claimed"; } @@ -15166,24 +16173,24 @@ pub mod api { use super::runtime_types; pub type Preclaims = runtime_types::polkadot_runtime_common::claims::EthereumAddress; - pub type Param0 = ::subxt::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } } pub struct StorageApi; impl StorageApi { pub fn claims_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::claims::Claims, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Claims", "Claims", - vec![], + (), [ 148u8, 115u8, 159u8, 169u8, 36u8, 116u8, 15u8, 108u8, 57u8, 195u8, 226u8, 180u8, 187u8, 112u8, 114u8, 63u8, 3u8, 205u8, 113u8, 141u8, @@ -15194,20 +16201,22 @@ pub mod api { } pub fn claims( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::claims::Param0, + >, types::claims::Claims, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Claims", "Claims", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 148u8, 115u8, 159u8, 169u8, 36u8, 116u8, 15u8, 108u8, 57u8, 195u8, 226u8, 180u8, 187u8, 112u8, 114u8, 63u8, 3u8, 205u8, 113u8, 141u8, @@ -15218,17 +16227,17 @@ pub mod api { } pub fn total( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::total::Total, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Claims", "Total", - vec![], + (), [ 188u8, 31u8, 219u8, 189u8, 49u8, 213u8, 203u8, 89u8, 125u8, 58u8, 232u8, 159u8, 131u8, 155u8, 166u8, 113u8, 99u8, 24u8, 40u8, 242u8, @@ -15243,17 +16252,17 @@ pub mod api { #[doc = " The block number is when the vesting should start."] pub fn vesting_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::vesting::Vesting, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Claims", "Vesting", - vec![], + (), [ 206u8, 106u8, 195u8, 101u8, 55u8, 137u8, 50u8, 105u8, 137u8, 87u8, 230u8, 34u8, 255u8, 94u8, 210u8, 186u8, 179u8, 72u8, 24u8, 194u8, @@ -15268,20 +16277,22 @@ pub mod api { #[doc = " The block number is when the vesting should start."] pub fn vesting( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::vesting::Param0, + >, types::vesting::Vesting, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Claims", "Vesting", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 206u8, 106u8, 195u8, 101u8, 55u8, 137u8, 50u8, 105u8, 137u8, 87u8, 230u8, 34u8, 255u8, 94u8, 210u8, 186u8, 179u8, 72u8, 24u8, 194u8, @@ -15293,17 +16304,17 @@ pub mod api { #[doc = " The statement kind that must be signed, if any."] pub fn signing_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::signing::Signing, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Claims", "Signing", - vec![], + (), [ 111u8, 90u8, 178u8, 121u8, 241u8, 28u8, 169u8, 231u8, 61u8, 189u8, 113u8, 207u8, 26u8, 153u8, 189u8, 15u8, 192u8, 25u8, 22u8, 22u8, 124u8, @@ -15314,20 +16325,22 @@ pub mod api { #[doc = " The statement kind that must be signed, if any."] pub fn signing( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::signing::Param0, + >, types::signing::Signing, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Claims", "Signing", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 111u8, 90u8, 178u8, 121u8, 241u8, 28u8, 169u8, 231u8, 61u8, 189u8, 113u8, 207u8, 26u8, 153u8, 189u8, 15u8, 192u8, 25u8, 22u8, 22u8, 124u8, @@ -15338,17 +16351,17 @@ pub mod api { #[doc = " Pre-claimed Ethereum accounts, by the Account ID that they are claimed to."] pub fn preclaims_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::preclaims::Preclaims, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Claims", "Preclaims", - vec![], + (), [ 197u8, 114u8, 147u8, 235u8, 203u8, 255u8, 94u8, 113u8, 151u8, 119u8, 224u8, 147u8, 48u8, 246u8, 124u8, 38u8, 190u8, 237u8, 226u8, 65u8, @@ -15360,20 +16373,22 @@ pub mod api { #[doc = " Pre-claimed Ethereum accounts, by the Account ID that they are claimed to."] pub fn preclaims( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::preclaims::Param0, + >, types::preclaims::Preclaims, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Claims", "Preclaims", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 197u8, 114u8, 147u8, 235u8, 203u8, 255u8, 94u8, 113u8, 151u8, 119u8, 224u8, 147u8, 48u8, 246u8, 124u8, 38u8, 190u8, 237u8, 226u8, 65u8, @@ -15390,9 +16405,10 @@ pub mod api { impl ConstantsApi { pub fn prefix( &self, - ) -> ::subxt::constants::Address<::std::vec::Vec<::core::primitive::u8>> - { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + > { + ::subxt::ext::subxt_core::constants::Address::new_static( "Claims", "Prefix", [ @@ -15420,132 +16436,163 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::batch`]."] pub struct Batch { pub calls: batch::Calls, } pub mod batch { use super::runtime_types; - pub type Calls = ::std::vec::Vec; + pub type Calls = ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::rococo_runtime::RuntimeCall, + >; } - impl ::subxt::blocks::StaticExtrinsic for Batch { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Batch { const PALLET: &'static str = "Utility"; const CALL: &'static str = "batch"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::as_derivative`]."] pub struct AsDerivative { pub index: as_derivative::Index, - pub call: ::std::boxed::Box, + pub call: ::subxt::ext::subxt_core::alloc::boxed::Box, } pub mod as_derivative { use super::runtime_types; pub type Index = ::core::primitive::u16; pub type Call = runtime_types::rococo_runtime::RuntimeCall; } - impl ::subxt::blocks::StaticExtrinsic for AsDerivative { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AsDerivative { const PALLET: &'static str = "Utility"; const CALL: &'static str = "as_derivative"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::batch_all`]."] pub struct BatchAll { pub calls: batch_all::Calls, } pub mod batch_all { use super::runtime_types; - pub type Calls = ::std::vec::Vec; + pub type Calls = ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::rococo_runtime::RuntimeCall, + >; } - impl ::subxt::blocks::StaticExtrinsic for BatchAll { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for BatchAll { const PALLET: &'static str = "Utility"; const CALL: &'static str = "batch_all"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::dispatch_as`]."] pub struct DispatchAs { - pub as_origin: ::std::boxed::Box, - pub call: ::std::boxed::Box, + pub as_origin: + ::subxt::ext::subxt_core::alloc::boxed::Box, + pub call: ::subxt::ext::subxt_core::alloc::boxed::Box, } pub mod dispatch_as { use super::runtime_types; pub type AsOrigin = runtime_types::rococo_runtime::OriginCaller; pub type Call = runtime_types::rococo_runtime::RuntimeCall; } - impl ::subxt::blocks::StaticExtrinsic for DispatchAs { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for DispatchAs { const PALLET: &'static str = "Utility"; const CALL: &'static str = "dispatch_as"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::force_batch`]."] pub struct ForceBatch { pub calls: force_batch::Calls, } pub mod force_batch { use super::runtime_types; - pub type Calls = ::std::vec::Vec; + pub type Calls = ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::rococo_runtime::RuntimeCall, + >; } - impl ::subxt::blocks::StaticExtrinsic for ForceBatch { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceBatch { const PALLET: &'static str = "Utility"; const CALL: &'static str = "force_batch"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::with_weight`]."] pub struct WithWeight { - pub call: ::std::boxed::Box, + pub call: ::subxt::ext::subxt_core::alloc::boxed::Box, pub weight: with_weight::Weight, } pub mod with_weight { @@ -15553,7 +16600,7 @@ pub mod api { pub type Call = runtime_types::rococo_runtime::RuntimeCall; pub type Weight = runtime_types::sp_weights::weight_v2::Weight; } - impl ::subxt::blocks::StaticExtrinsic for WithWeight { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for WithWeight { const PALLET: &'static str = "Utility"; const CALL: &'static str = "with_weight"; } @@ -15564,15 +16611,16 @@ pub mod api { pub fn batch( &self, calls: types::batch::Calls, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Utility", "batch", types::Batch { calls }, [ - 78u8, 111u8, 192u8, 46u8, 34u8, 172u8, 232u8, 158u8, 67u8, 231u8, - 116u8, 182u8, 17u8, 178u8, 31u8, 98u8, 146u8, 71u8, 226u8, 56u8, 105u8, - 184u8, 75u8, 175u8, 78u8, 225u8, 25u8, 5u8, 226u8, 195u8, 199u8, 41u8, + 240u8, 229u8, 246u8, 172u8, 254u8, 190u8, 97u8, 110u8, 105u8, 221u8, + 115u8, 188u8, 52u8, 86u8, 113u8, 118u8, 146u8, 240u8, 235u8, 2u8, + 171u8, 219u8, 18u8, 212u8, 39u8, 217u8, 66u8, 80u8, 55u8, 148u8, 241u8, + 20u8, ], ) } @@ -15581,19 +16629,19 @@ pub mod api { &self, index: types::as_derivative::Index, call: types::as_derivative::Call, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Utility", "as_derivative", types::AsDerivative { index, - call: ::std::boxed::Box::new(call), + call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call), }, [ - 112u8, 49u8, 70u8, 206u8, 54u8, 117u8, 186u8, 83u8, 25u8, 68u8, 8u8, - 255u8, 91u8, 43u8, 254u8, 165u8, 230u8, 24u8, 104u8, 176u8, 236u8, - 166u8, 147u8, 244u8, 103u8, 208u8, 164u8, 26u8, 72u8, 44u8, 143u8, - 209u8, + 98u8, 181u8, 74u8, 231u8, 95u8, 220u8, 13u8, 120u8, 161u8, 144u8, + 254u8, 82u8, 141u8, 143u8, 226u8, 62u8, 106u8, 112u8, 179u8, 127u8, + 54u8, 43u8, 161u8, 255u8, 235u8, 22u8, 192u8, 236u8, 153u8, 67u8, 80u8, + 210u8, ], ) } @@ -15601,16 +16649,15 @@ pub mod api { pub fn batch_all( &self, calls: types::batch_all::Calls, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Utility", "batch_all", types::BatchAll { calls }, [ - 163u8, 4u8, 232u8, 21u8, 56u8, 119u8, 67u8, 62u8, 223u8, 193u8, 23u8, - 181u8, 202u8, 55u8, 186u8, 155u8, 169u8, 187u8, 213u8, 34u8, 153u8, - 255u8, 210u8, 170u8, 187u8, 212u8, 71u8, 92u8, 173u8, 145u8, 91u8, - 218u8, + 61u8, 70u8, 75u8, 34u8, 128u8, 54u8, 146u8, 49u8, 207u8, 184u8, 143u8, + 45u8, 106u8, 74u8, 187u8, 49u8, 236u8, 184u8, 73u8, 134u8, 48u8, 157u8, + 214u8, 229u8, 131u8, 168u8, 86u8, 54u8, 193u8, 141u8, 99u8, 119u8, ], ) } @@ -15619,19 +16666,19 @@ pub mod api { &self, as_origin: types::dispatch_as::AsOrigin, call: types::dispatch_as::Call, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Utility", "dispatch_as", types::DispatchAs { - as_origin: ::std::boxed::Box::new(as_origin), - call: ::std::boxed::Box::new(call), + as_origin: ::subxt::ext::subxt_core::alloc::boxed::Box::new(as_origin), + call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call), }, [ - 91u8, 220u8, 144u8, 201u8, 69u8, 201u8, 58u8, 205u8, 190u8, 98u8, - 138u8, 115u8, 107u8, 54u8, 190u8, 44u8, 9u8, 46u8, 109u8, 80u8, 102u8, - 167u8, 139u8, 162u8, 61u8, 191u8, 159u8, 217u8, 207u8, 236u8, 20u8, - 213u8, + 235u8, 229u8, 32u8, 93u8, 159u8, 163u8, 87u8, 10u8, 109u8, 88u8, 64u8, + 172u8, 102u8, 230u8, 117u8, 68u8, 177u8, 24u8, 48u8, 157u8, 77u8, + 110u8, 40u8, 186u8, 114u8, 14u8, 116u8, 208u8, 246u8, 14u8, 56u8, + 111u8, ], ) } @@ -15639,16 +16686,16 @@ pub mod api { pub fn force_batch( &self, calls: types::force_batch::Calls, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Utility", "force_batch", types::ForceBatch { calls }, [ - 255u8, 125u8, 65u8, 157u8, 224u8, 195u8, 44u8, 249u8, 206u8, 224u8, - 11u8, 66u8, 67u8, 139u8, 24u8, 136u8, 57u8, 79u8, 85u8, 26u8, 51u8, - 170u8, 205u8, 52u8, 181u8, 94u8, 125u8, 250u8, 163u8, 126u8, 140u8, - 43u8, + 214u8, 240u8, 219u8, 153u8, 214u8, 181u8, 142u8, 224u8, 190u8, 86u8, + 225u8, 221u8, 211u8, 162u8, 32u8, 224u8, 8u8, 130u8, 242u8, 167u8, + 190u8, 123u8, 230u8, 44u8, 222u8, 177u8, 73u8, 154u8, 177u8, 226u8, + 112u8, 157u8, ], ) } @@ -15657,19 +16704,19 @@ pub mod api { &self, call: types::with_weight::Call, weight: types::with_weight::Weight, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Utility", "with_weight", types::WithWeight { - call: ::std::boxed::Box::new(call), + call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call), weight, }, [ - 187u8, 254u8, 162u8, 240u8, 54u8, 31u8, 44u8, 138u8, 164u8, 40u8, - 207u8, 170u8, 80u8, 220u8, 64u8, 162u8, 39u8, 87u8, 132u8, 169u8, 14u8, - 193u8, 69u8, 251u8, 171u8, 148u8, 107u8, 163u8, 73u8, 193u8, 46u8, - 26u8, + 73u8, 59u8, 91u8, 218u8, 154u8, 105u8, 247u8, 29u8, 131u8, 199u8, + 149u8, 245u8, 124u8, 16u8, 104u8, 150u8, 160u8, 196u8, 10u8, 26u8, + 205u8, 150u8, 76u8, 102u8, 246u8, 83u8, 131u8, 66u8, 235u8, 215u8, + 203u8, 214u8, ], ) } @@ -15680,15 +16727,15 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Batch of dispatches did not complete fully. Index of first failing dispatch given, as"] #[doc = "well as the error."] pub struct BatchInterrupted { @@ -15700,68 +16747,68 @@ pub mod api { pub type Index = ::core::primitive::u32; pub type Error = runtime_types::sp_runtime::DispatchError; } - impl ::subxt::events::StaticEvent for BatchInterrupted { + impl ::subxt::ext::subxt_core::events::StaticEvent for BatchInterrupted { const PALLET: &'static str = "Utility"; const EVENT: &'static str = "BatchInterrupted"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Batch of dispatches completed fully with no error."] pub struct BatchCompleted; - impl ::subxt::events::StaticEvent for BatchCompleted { + impl ::subxt::ext::subxt_core::events::StaticEvent for BatchCompleted { const PALLET: &'static str = "Utility"; const EVENT: &'static str = "BatchCompleted"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Batch of dispatches completed but has errors."] pub struct BatchCompletedWithErrors; - impl ::subxt::events::StaticEvent for BatchCompletedWithErrors { + impl ::subxt::ext::subxt_core::events::StaticEvent for BatchCompletedWithErrors { const PALLET: &'static str = "Utility"; const EVENT: &'static str = "BatchCompletedWithErrors"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A single item within a Batch of dispatches has completed with no error."] pub struct ItemCompleted; - impl ::subxt::events::StaticEvent for ItemCompleted { + impl ::subxt::ext::subxt_core::events::StaticEvent for ItemCompleted { const PALLET: &'static str = "Utility"; const EVENT: &'static str = "ItemCompleted"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A single item within a Batch of dispatches has completed with error."] pub struct ItemFailed { pub error: item_failed::Error, @@ -15770,20 +16817,20 @@ pub mod api { use super::runtime_types; pub type Error = runtime_types::sp_runtime::DispatchError; } - impl ::subxt::events::StaticEvent for ItemFailed { + impl ::subxt::ext::subxt_core::events::StaticEvent for ItemFailed { const PALLET: &'static str = "Utility"; const EVENT: &'static str = "ItemFailed"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A call was dispatched."] pub struct DispatchedAs { pub result: dispatched_as::Result, @@ -15793,7 +16840,7 @@ pub mod api { pub type Result = ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>; } - impl ::subxt::events::StaticEvent for DispatchedAs { + impl ::subxt::ext::subxt_core::events::StaticEvent for DispatchedAs { const PALLET: &'static str = "Utility"; const EVENT: &'static str = "DispatchedAs"; } @@ -15805,8 +16852,9 @@ pub mod api { #[doc = " The limit on the number of batched calls."] pub fn batched_calls_limit( &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Utility", "batched_calls_limit", [ @@ -15834,101 +16882,123 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::add_registrar`]."] pub struct AddRegistrar { pub account: add_registrar::Account, } pub mod add_registrar { use super::runtime_types; - pub type Account = - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Account = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; } - impl ::subxt::blocks::StaticExtrinsic for AddRegistrar { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AddRegistrar { const PALLET: &'static str = "Identity"; const CALL: &'static str = "add_registrar"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_identity`]."] pub struct SetIdentity { - pub info: ::std::boxed::Box, + pub info: ::subxt::ext::subxt_core::alloc::boxed::Box, } pub mod set_identity { use super::runtime_types; - pub type Info = runtime_types::pallet_identity::legacy::IdentityInfo; + pub type Info = runtime_types::pallet_identity::types::IdentityInfo; } - impl ::subxt::blocks::StaticExtrinsic for SetIdentity { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetIdentity { const PALLET: &'static str = "Identity"; const CALL: &'static str = "set_identity"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_subs`]."] pub struct SetSubs { pub subs: set_subs::Subs, } pub mod set_subs { use super::runtime_types; - pub type Subs = ::std::vec::Vec<( - ::subxt::utils::AccountId32, + pub type Subs = ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::utils::AccountId32, runtime_types::pallet_identity::types::Data, )>; } - impl ::subxt::blocks::StaticExtrinsic for SetSubs { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetSubs { const PALLET: &'static str = "Identity"; const CALL: &'static str = "set_subs"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::clear_identity`]."] pub struct ClearIdentity; - impl ::subxt::blocks::StaticExtrinsic for ClearIdentity { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ClearIdentity { const PALLET: &'static str = "Identity"; const CALL: &'static str = "clear_identity"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::request_judgement`]."] pub struct RequestJudgement { #[codec(compact)] @@ -15941,20 +17011,24 @@ pub mod api { pub type RegIndex = ::core::primitive::u32; pub type MaxFee = ::core::primitive::u128; } - impl ::subxt::blocks::StaticExtrinsic for RequestJudgement { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RequestJudgement { const PALLET: &'static str = "Identity"; const CALL: &'static str = "request_judgement"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::cancel_request`]."] pub struct CancelRequest { pub reg_index: cancel_request::RegIndex, @@ -15963,20 +17037,24 @@ pub mod api { use super::runtime_types; pub type RegIndex = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for CancelRequest { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CancelRequest { const PALLET: &'static str = "Identity"; const CALL: &'static str = "cancel_request"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_fee`]."] pub struct SetFee { #[codec(compact)] @@ -15989,20 +17067,24 @@ pub mod api { pub type Index = ::core::primitive::u32; pub type Fee = ::core::primitive::u128; } - impl ::subxt::blocks::StaticExtrinsic for SetFee { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetFee { const PALLET: &'static str = "Identity"; const CALL: &'static str = "set_fee"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_account_id`]."] pub struct SetAccountId { #[codec(compact)] @@ -16012,22 +17094,29 @@ pub mod api { pub mod set_account_id { use super::runtime_types; pub type Index = ::core::primitive::u32; - pub type New = ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type New = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; } - impl ::subxt::blocks::StaticExtrinsic for SetAccountId { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetAccountId { const PALLET: &'static str = "Identity"; const CALL: &'static str = "set_account_id"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_fields`]."] pub struct SetFields { #[codec(compact)] @@ -16037,22 +17126,28 @@ pub mod api { pub mod set_fields { use super::runtime_types; pub type Index = ::core::primitive::u32; - pub type Fields = ::core::primitive::u64; + pub type Fields = runtime_types::pallet_identity::types::BitFlags< + runtime_types::pallet_identity::types::IdentityField, + >; } - impl ::subxt::blocks::StaticExtrinsic for SetFields { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetFields { const PALLET: &'static str = "Identity"; const CALL: &'static str = "set_fields"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::provide_judgement`]."] pub struct ProvideJudgement { #[codec(compact)] @@ -16064,47 +17159,61 @@ pub mod api { pub mod provide_judgement { use super::runtime_types; pub type RegIndex = ::core::primitive::u32; - pub type Target = ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Target = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; pub type Judgement = runtime_types::pallet_identity::types::Judgement<::core::primitive::u128>; - pub type Identity = ::subxt::utils::H256; + pub type Identity = ::subxt::ext::subxt_core::utils::H256; } - impl ::subxt::blocks::StaticExtrinsic for ProvideJudgement { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ProvideJudgement { const PALLET: &'static str = "Identity"; const CALL: &'static str = "provide_judgement"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::kill_identity`]."] pub struct KillIdentity { pub target: kill_identity::Target, } pub mod kill_identity { use super::runtime_types; - pub type Target = ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Target = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; } - impl ::subxt::blocks::StaticExtrinsic for KillIdentity { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for KillIdentity { const PALLET: &'static str = "Identity"; const CALL: &'static str = "kill_identity"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::add_sub`]."] pub struct AddSub { pub sub: add_sub::Sub, @@ -16112,23 +17221,30 @@ pub mod api { } pub mod add_sub { use super::runtime_types; - pub type Sub = ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Sub = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; pub type Data = runtime_types::pallet_identity::types::Data; } - impl ::subxt::blocks::StaticExtrinsic for AddSub { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AddSub { const PALLET: &'static str = "Identity"; const CALL: &'static str = "add_sub"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::rename_sub`]."] pub struct RenameSub { pub sub: rename_sub::Sub, @@ -16136,48 +17252,62 @@ pub mod api { } pub mod rename_sub { use super::runtime_types; - pub type Sub = ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Sub = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; pub type Data = runtime_types::pallet_identity::types::Data; } - impl ::subxt::blocks::StaticExtrinsic for RenameSub { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RenameSub { const PALLET: &'static str = "Identity"; const CALL: &'static str = "rename_sub"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::remove_sub`]."] pub struct RemoveSub { pub sub: remove_sub::Sub, } pub mod remove_sub { use super::runtime_types; - pub type Sub = ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Sub = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; } - impl ::subxt::blocks::StaticExtrinsic for RemoveSub { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RemoveSub { const PALLET: &'static str = "Identity"; const CALL: &'static str = "remove_sub"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::quit_sub`]."] pub struct QuitSub; - impl ::subxt::blocks::StaticExtrinsic for QuitSub { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for QuitSub { const PALLET: &'static str = "Identity"; const CALL: &'static str = "quit_sub"; } @@ -16188,8 +17318,8 @@ pub mod api { pub fn add_registrar( &self, account: types::add_registrar::Account, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Identity", "add_registrar", types::AddRegistrar { account }, @@ -16204,12 +17334,12 @@ pub mod api { pub fn set_identity( &self, info: types::set_identity::Info, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Identity", "set_identity", types::SetIdentity { - info: ::std::boxed::Box::new(info), + info: ::subxt::ext::subxt_core::alloc::boxed::Box::new(info), }, [ 18u8, 86u8, 67u8, 10u8, 116u8, 254u8, 94u8, 95u8, 166u8, 30u8, 204u8, @@ -16223,8 +17353,8 @@ pub mod api { pub fn set_subs( &self, subs: types::set_subs::Subs, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Identity", "set_subs", types::SetSubs { subs }, @@ -16237,8 +17367,10 @@ pub mod api { ) } #[doc = "See [`Pallet::clear_identity`]."] - pub fn clear_identity(&self) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + pub fn clear_identity( + &self, + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Identity", "clear_identity", types::ClearIdentity {}, @@ -16255,8 +17387,9 @@ pub mod api { &self, reg_index: types::request_judgement::RegIndex, max_fee: types::request_judgement::MaxFee, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Identity", "request_judgement", types::RequestJudgement { reg_index, max_fee }, @@ -16271,8 +17404,8 @@ pub mod api { pub fn cancel_request( &self, reg_index: types::cancel_request::RegIndex, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Identity", "cancel_request", types::CancelRequest { reg_index }, @@ -16289,8 +17422,8 @@ pub mod api { &self, index: types::set_fee::Index, fee: types::set_fee::Fee, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Identity", "set_fee", types::SetFee { index, fee }, @@ -16307,8 +17440,8 @@ pub mod api { &self, index: types::set_account_id::Index, new: types::set_account_id::New, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Identity", "set_account_id", types::SetAccountId { index, new }, @@ -16325,16 +17458,15 @@ pub mod api { &self, index: types::set_fields::Index, fields: types::set_fields::Fields, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Identity", "set_fields", types::SetFields { index, fields }, [ - 75u8, 38u8, 58u8, 93u8, 92u8, 164u8, 146u8, 146u8, 183u8, 245u8, 135u8, - 235u8, 12u8, 148u8, 37u8, 193u8, 58u8, 66u8, 173u8, 223u8, 166u8, - 169u8, 54u8, 159u8, 141u8, 36u8, 25u8, 231u8, 190u8, 211u8, 254u8, - 38u8, + 25u8, 129u8, 119u8, 232u8, 18u8, 32u8, 77u8, 23u8, 185u8, 56u8, 32u8, + 199u8, 74u8, 174u8, 104u8, 203u8, 171u8, 253u8, 19u8, 225u8, 101u8, + 239u8, 14u8, 242u8, 157u8, 51u8, 203u8, 74u8, 1u8, 65u8, 165u8, 205u8, ], ) } @@ -16345,8 +17477,9 @@ pub mod api { target: types::provide_judgement::Target, judgement: types::provide_judgement::Judgement, identity: types::provide_judgement::Identity, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Identity", "provide_judgement", types::ProvideJudgement { @@ -16367,8 +17500,8 @@ pub mod api { pub fn kill_identity( &self, target: types::kill_identity::Target, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Identity", "kill_identity", types::KillIdentity { target }, @@ -16385,8 +17518,8 @@ pub mod api { &self, sub: types::add_sub::Sub, data: types::add_sub::Data, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Identity", "add_sub", types::AddSub { sub, data }, @@ -16402,8 +17535,8 @@ pub mod api { &self, sub: types::rename_sub::Sub, data: types::rename_sub::Data, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Identity", "rename_sub", types::RenameSub { sub, data }, @@ -16419,8 +17552,8 @@ pub mod api { pub fn remove_sub( &self, sub: types::remove_sub::Sub, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Identity", "remove_sub", types::RemoveSub { sub }, @@ -16432,8 +17565,8 @@ pub mod api { ) } #[doc = "See [`Pallet::quit_sub`]."] - pub fn quit_sub(&self) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + pub fn quit_sub(&self) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Identity", "quit_sub", types::QuitSub {}, @@ -16452,37 +17585,37 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A name was set or reset (which will remove all judgements)."] pub struct IdentitySet { pub who: identity_set::Who, } pub mod identity_set { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt::events::StaticEvent for IdentitySet { + impl ::subxt::ext::subxt_core::events::StaticEvent for IdentitySet { const PALLET: &'static str = "Identity"; const EVENT: &'static str = "IdentitySet"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A name was cleared, and the given balance returned."] pub struct IdentityCleared { pub who: identity_cleared::Who, @@ -16490,23 +17623,23 @@ pub mod api { } pub mod identity_cleared { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Deposit = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for IdentityCleared { + impl ::subxt::ext::subxt_core::events::StaticEvent for IdentityCleared { const PALLET: &'static str = "Identity"; const EVENT: &'static str = "IdentityCleared"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A name was removed and the given balance slashed."] pub struct IdentityKilled { pub who: identity_killed::Who, @@ -16514,23 +17647,23 @@ pub mod api { } pub mod identity_killed { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Deposit = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for IdentityKilled { + impl ::subxt::ext::subxt_core::events::StaticEvent for IdentityKilled { const PALLET: &'static str = "Identity"; const EVENT: &'static str = "IdentityKilled"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A judgement was asked from a registrar."] pub struct JudgementRequested { pub who: judgement_requested::Who, @@ -16538,23 +17671,23 @@ pub mod api { } pub mod judgement_requested { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type RegistrarIndex = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for JudgementRequested { + impl ::subxt::ext::subxt_core::events::StaticEvent for JudgementRequested { const PALLET: &'static str = "Identity"; const EVENT: &'static str = "JudgementRequested"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A judgement request was retracted."] pub struct JudgementUnrequested { pub who: judgement_unrequested::Who, @@ -16562,23 +17695,23 @@ pub mod api { } pub mod judgement_unrequested { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type RegistrarIndex = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for JudgementUnrequested { + impl ::subxt::ext::subxt_core::events::StaticEvent for JudgementUnrequested { const PALLET: &'static str = "Identity"; const EVENT: &'static str = "JudgementUnrequested"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A judgement was given by a registrar."] pub struct JudgementGiven { pub target: judgement_given::Target, @@ -16586,23 +17719,23 @@ pub mod api { } pub mod judgement_given { use super::runtime_types; - pub type Target = ::subxt::utils::AccountId32; + pub type Target = ::subxt::ext::subxt_core::utils::AccountId32; pub type RegistrarIndex = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for JudgementGiven { + impl ::subxt::ext::subxt_core::events::StaticEvent for JudgementGiven { const PALLET: &'static str = "Identity"; const EVENT: &'static str = "JudgementGiven"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A registrar was added."] pub struct RegistrarAdded { pub registrar_index: registrar_added::RegistrarIndex, @@ -16611,20 +17744,20 @@ pub mod api { use super::runtime_types; pub type RegistrarIndex = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for RegistrarAdded { + impl ::subxt::ext::subxt_core::events::StaticEvent for RegistrarAdded { const PALLET: &'static str = "Identity"; const EVENT: &'static str = "RegistrarAdded"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A sub-identity was added to an identity and the deposit paid."] pub struct SubIdentityAdded { pub sub: sub_identity_added::Sub, @@ -16633,24 +17766,24 @@ pub mod api { } pub mod sub_identity_added { use super::runtime_types; - pub type Sub = ::subxt::utils::AccountId32; - pub type Main = ::subxt::utils::AccountId32; + pub type Sub = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Main = ::subxt::ext::subxt_core::utils::AccountId32; pub type Deposit = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for SubIdentityAdded { + impl ::subxt::ext::subxt_core::events::StaticEvent for SubIdentityAdded { const PALLET: &'static str = "Identity"; const EVENT: &'static str = "SubIdentityAdded"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A sub-identity was removed from an identity and the deposit freed."] pub struct SubIdentityRemoved { pub sub: sub_identity_removed::Sub, @@ -16659,24 +17792,24 @@ pub mod api { } pub mod sub_identity_removed { use super::runtime_types; - pub type Sub = ::subxt::utils::AccountId32; - pub type Main = ::subxt::utils::AccountId32; + pub type Sub = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Main = ::subxt::ext::subxt_core::utils::AccountId32; pub type Deposit = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for SubIdentityRemoved { + impl ::subxt::ext::subxt_core::events::StaticEvent for SubIdentityRemoved { const PALLET: &'static str = "Identity"; const EVENT: &'static str = "SubIdentityRemoved"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A sub-identity was cleared, and the given deposit repatriated from the"] #[doc = "main identity account to the sub-identity account."] pub struct SubIdentityRevoked { @@ -16686,11 +17819,11 @@ pub mod api { } pub mod sub_identity_revoked { use super::runtime_types; - pub type Sub = ::subxt::utils::AccountId32; - pub type Main = ::subxt::utils::AccountId32; + pub type Sub = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Main = ::subxt::ext::subxt_core::utils::AccountId32; pub type Deposit = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for SubIdentityRevoked { + impl ::subxt::ext::subxt_core::events::StaticEvent for SubIdentityRevoked { const PALLET: &'static str = "Identity"; const EVENT: &'static str = "SubIdentityRevoked"; } @@ -16703,37 +17836,35 @@ pub mod api { use super::runtime_types; pub type IdentityOf = runtime_types::pallet_identity::types::Registration< ::core::primitive::u128, - runtime_types::pallet_identity::legacy::IdentityInfo, >; - pub type Param0 = ::subxt::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod super_of { use super::runtime_types; pub type SuperOf = ( - ::subxt::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, runtime_types::pallet_identity::types::Data, ); - pub type Param0 = ::subxt::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod subs_of { use super::runtime_types; pub type SubsOf = ( ::core::primitive::u128, - runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::subxt::utils::AccountId32, + runtime_types::bounded_collections::bounded_vec::BoundedVec18< + ::subxt::ext::subxt_core::utils::AccountId32, >, ); - pub type Param0 = ::subxt::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod registrars { use super::runtime_types; pub type Registrars = - runtime_types::bounded_collections::bounded_vec::BoundedVec< + runtime_types::bounded_collections::bounded_vec::BoundedVec19< ::core::option::Option< runtime_types::pallet_identity::types::RegistrarInfo< ::core::primitive::u128, - ::subxt::utils::AccountId32, - ::core::primitive::u64, + ::subxt::ext::subxt_core::utils::AccountId32, >, >, >; @@ -16746,17 +17877,17 @@ pub mod api { #[doc = " TWOX-NOTE: OK ― `AccountId` is a secure hash."] pub fn identity_of_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::identity_of::IdentityOf, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Identity", "IdentityOf", - vec![], + (), [ 112u8, 2u8, 209u8, 123u8, 138u8, 171u8, 80u8, 243u8, 226u8, 88u8, 81u8, 49u8, 59u8, 172u8, 88u8, 180u8, 255u8, 119u8, 57u8, 16u8, 169u8, 149u8, @@ -16769,20 +17900,22 @@ pub mod api { #[doc = " TWOX-NOTE: OK ― `AccountId` is a secure hash."] pub fn identity_of( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::identity_of::Param0, + >, types::identity_of::IdentityOf, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Identity", "IdentityOf", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 112u8, 2u8, 209u8, 123u8, 138u8, 171u8, 80u8, 243u8, 226u8, 88u8, 81u8, 49u8, 59u8, 172u8, 88u8, 180u8, 255u8, 119u8, 57u8, 16u8, 169u8, 149u8, @@ -16794,17 +17927,17 @@ pub mod api { #[doc = " context. If the account is not some other account's sub-identity, then just `None`."] pub fn super_of_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::super_of::SuperOf, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Identity", "SuperOf", - vec![], + (), [ 84u8, 72u8, 64u8, 14u8, 56u8, 9u8, 143u8, 100u8, 141u8, 163u8, 36u8, 55u8, 38u8, 254u8, 164u8, 17u8, 3u8, 110u8, 88u8, 175u8, 161u8, 65u8, @@ -16816,20 +17949,22 @@ pub mod api { #[doc = " context. If the account is not some other account's sub-identity, then just `None`."] pub fn super_of( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::super_of::Param0, + >, types::super_of::SuperOf, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Identity", "SuperOf", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 84u8, 72u8, 64u8, 14u8, 56u8, 9u8, 143u8, 100u8, 141u8, 163u8, 36u8, 55u8, 38u8, 254u8, 164u8, 17u8, 3u8, 110u8, 88u8, 175u8, 161u8, 65u8, @@ -16844,17 +17979,17 @@ pub mod api { #[doc = " TWOX-NOTE: OK ― `AccountId` is a secure hash."] pub fn subs_of_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::subs_of::SubsOf, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Identity", "SubsOf", - vec![], + (), [ 164u8, 140u8, 52u8, 123u8, 220u8, 118u8, 147u8, 3u8, 67u8, 22u8, 191u8, 18u8, 186u8, 21u8, 154u8, 8u8, 205u8, 224u8, 163u8, 173u8, 174u8, @@ -16870,20 +18005,22 @@ pub mod api { #[doc = " TWOX-NOTE: OK ― `AccountId` is a secure hash."] pub fn subs_of( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::subs_of::Param0, + >, types::subs_of::SubsOf, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Identity", "SubsOf", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 164u8, 140u8, 52u8, 123u8, 220u8, 118u8, 147u8, 3u8, 67u8, 22u8, 191u8, 18u8, 186u8, 21u8, 154u8, 8u8, 205u8, 224u8, 163u8, 173u8, 174u8, @@ -16898,22 +18035,22 @@ pub mod api { #[doc = " The index into this can be cast to `RegistrarIndex` to get a valid value."] pub fn registrars( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::registrars::Registrars, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Identity", "Registrars", - vec![], + (), [ - 167u8, 99u8, 159u8, 117u8, 103u8, 243u8, 208u8, 113u8, 57u8, 225u8, - 27u8, 25u8, 188u8, 120u8, 15u8, 40u8, 134u8, 169u8, 108u8, 134u8, 83u8, - 184u8, 223u8, 170u8, 194u8, 19u8, 168u8, 43u8, 119u8, 76u8, 94u8, - 154u8, + 207u8, 253u8, 229u8, 237u8, 228u8, 85u8, 173u8, 74u8, 164u8, 67u8, + 144u8, 144u8, 5u8, 242u8, 84u8, 187u8, 110u8, 181u8, 2u8, 162u8, 239u8, + 212u8, 72u8, 233u8, 160u8, 196u8, 121u8, 218u8, 100u8, 0u8, 219u8, + 181u8, ], ) } @@ -16926,8 +18063,9 @@ pub mod api { #[doc = " The amount held on deposit for a registered identity"] pub fn basic_deposit( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u128> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Identity", "BasicDeposit", [ @@ -16937,11 +18075,14 @@ pub mod api { ], ) } - #[doc = " The amount held on deposit per encoded byte for a registered identity."] - pub fn byte_deposit(&self) -> ::subxt::constants::Address<::core::primitive::u128> { - ::subxt::constants::Address::new_static( + #[doc = " The amount held on deposit per additional field for a registered identity."] + pub fn field_deposit( + &self, + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u128> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Identity", - "ByteDeposit", + "FieldDeposit", [ 84u8, 157u8, 140u8, 4u8, 93u8, 57u8, 29u8, 133u8, 105u8, 200u8, 214u8, 27u8, 144u8, 208u8, 218u8, 160u8, 130u8, 109u8, 101u8, 54u8, 210u8, @@ -16954,8 +18095,9 @@ pub mod api { #[doc = " be another trie item whose value is the size of an account ID plus 32 bytes."] pub fn sub_account_deposit( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u128> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Identity", "SubAccountDeposit", [ @@ -16968,8 +18110,9 @@ pub mod api { #[doc = " The maximum number of sub-accounts allowed per identified account."] pub fn max_sub_accounts( &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Identity", "MaxSubAccounts", [ @@ -16980,12 +18123,30 @@ pub mod api { ], ) } + #[doc = " Maximum number of additional fields that may be stored in an ID. Needed to bound the I/O"] + #[doc = " required to access an identity, but can be pretty high."] + pub fn max_additional_fields( + &self, + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( + "Identity", + "MaxAdditionalFields", + [ + 98u8, 252u8, 116u8, 72u8, 26u8, 180u8, 225u8, 83u8, 200u8, 157u8, + 125u8, 151u8, 53u8, 76u8, 168u8, 26u8, 10u8, 9u8, 98u8, 68u8, 9u8, + 178u8, 197u8, 113u8, 31u8, 79u8, 200u8, 90u8, 203u8, 100u8, 41u8, + 145u8, + ], + ) + } #[doc = " Maxmimum number of registrars allowed in the system. Needed to bound the complexity"] #[doc = " of, e.g., updating judgements."] pub fn max_registrars( &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Identity", "MaxRegistrars", [ @@ -17013,15 +18174,19 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::bid`]."] pub struct Bid { pub value: bid::Value, @@ -17030,36 +18195,44 @@ pub mod api { use super::runtime_types; pub type Value = ::core::primitive::u128; } - impl ::subxt::blocks::StaticExtrinsic for Bid { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Bid { const PALLET: &'static str = "Society"; const CALL: &'static str = "bid"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::unbid`]."] pub struct Unbid; - impl ::subxt::blocks::StaticExtrinsic for Unbid { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Unbid { const PALLET: &'static str = "Society"; const CALL: &'static str = "unbid"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::vouch`]."] pub struct Vouch { pub who: vouch::Who, @@ -17068,40 +18241,51 @@ pub mod api { } pub mod vouch { use super::runtime_types; - pub type Who = ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Who = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; pub type Value = ::core::primitive::u128; pub type Tip = ::core::primitive::u128; } - impl ::subxt::blocks::StaticExtrinsic for Vouch { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Vouch { const PALLET: &'static str = "Society"; const CALL: &'static str = "vouch"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::unvouch`]."] pub struct Unvouch; - impl ::subxt::blocks::StaticExtrinsic for Unvouch { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Unvouch { const PALLET: &'static str = "Society"; const CALL: &'static str = "unvouch"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::vote`]."] pub struct Vote { pub candidate: vote::Candidate, @@ -17109,24 +18293,30 @@ pub mod api { } pub mod vote { use super::runtime_types; - pub type Candidate = - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Candidate = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; pub type Approve = ::core::primitive::bool; } - impl ::subxt::blocks::StaticExtrinsic for Vote { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Vote { const PALLET: &'static str = "Society"; const CALL: &'static str = "vote"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::defender_vote`]."] pub struct DefenderVote { pub approve: defender_vote::Approve, @@ -17135,36 +18325,44 @@ pub mod api { use super::runtime_types; pub type Approve = ::core::primitive::bool; } - impl ::subxt::blocks::StaticExtrinsic for DefenderVote { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for DefenderVote { const PALLET: &'static str = "Society"; const CALL: &'static str = "defender_vote"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::payout`]."] pub struct Payout; - impl ::subxt::blocks::StaticExtrinsic for Payout { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Payout { const PALLET: &'static str = "Society"; const CALL: &'static str = "payout"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::waive_repay`]."] pub struct WaiveRepay { pub amount: waive_repay::Amount, @@ -17173,20 +18371,24 @@ pub mod api { use super::runtime_types; pub type Amount = ::core::primitive::u128; } - impl ::subxt::blocks::StaticExtrinsic for WaiveRepay { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for WaiveRepay { const PALLET: &'static str = "Society"; const CALL: &'static str = "waive_repay"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::found_society`]."] pub struct FoundSociety { pub founder: found_society::Founder, @@ -17198,44 +18400,55 @@ pub mod api { } pub mod found_society { use super::runtime_types; - pub type Founder = - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Founder = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; pub type MaxMembers = ::core::primitive::u32; pub type MaxIntake = ::core::primitive::u32; pub type MaxStrikes = ::core::primitive::u32; pub type CandidateDeposit = ::core::primitive::u128; - pub type Rules = ::std::vec::Vec<::core::primitive::u8>; + pub type Rules = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } - impl ::subxt::blocks::StaticExtrinsic for FoundSociety { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for FoundSociety { const PALLET: &'static str = "Society"; const CALL: &'static str = "found_society"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::dissolve`]."] pub struct Dissolve; - impl ::subxt::blocks::StaticExtrinsic for Dissolve { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Dissolve { const PALLET: &'static str = "Society"; const CALL: &'static str = "dissolve"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::judge_suspended_member`]."] pub struct JudgeSuspendedMember { pub who: judge_suspended_member::Who, @@ -17243,23 +18456,30 @@ pub mod api { } pub mod judge_suspended_member { use super::runtime_types; - pub type Who = ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Who = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; pub type Forgive = ::core::primitive::bool; } - impl ::subxt::blocks::StaticExtrinsic for JudgeSuspendedMember { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for JudgeSuspendedMember { const PALLET: &'static str = "Society"; const CALL: &'static str = "judge_suspended_member"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_parameters`]."] pub struct SetParameters { pub max_members: set_parameters::MaxMembers, @@ -17274,134 +18494,162 @@ pub mod api { pub type MaxStrikes = ::core::primitive::u32; pub type CandidateDeposit = ::core::primitive::u128; } - impl ::subxt::blocks::StaticExtrinsic for SetParameters { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetParameters { const PALLET: &'static str = "Society"; const CALL: &'static str = "set_parameters"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::punish_skeptic`]."] pub struct PunishSkeptic; - impl ::subxt::blocks::StaticExtrinsic for PunishSkeptic { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for PunishSkeptic { const PALLET: &'static str = "Society"; const CALL: &'static str = "punish_skeptic"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::claim_membership`]."] pub struct ClaimMembership; - impl ::subxt::blocks::StaticExtrinsic for ClaimMembership { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ClaimMembership { const PALLET: &'static str = "Society"; const CALL: &'static str = "claim_membership"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::bestow_membership`]."] pub struct BestowMembership { pub candidate: bestow_membership::Candidate, } pub mod bestow_membership { use super::runtime_types; - pub type Candidate = ::subxt::utils::AccountId32; + pub type Candidate = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt::blocks::StaticExtrinsic for BestowMembership { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for BestowMembership { const PALLET: &'static str = "Society"; const CALL: &'static str = "bestow_membership"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::kick_candidate`]."] pub struct KickCandidate { pub candidate: kick_candidate::Candidate, } pub mod kick_candidate { use super::runtime_types; - pub type Candidate = ::subxt::utils::AccountId32; + pub type Candidate = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt::blocks::StaticExtrinsic for KickCandidate { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for KickCandidate { const PALLET: &'static str = "Society"; const CALL: &'static str = "kick_candidate"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::resign_candidacy`]."] pub struct ResignCandidacy; - impl ::subxt::blocks::StaticExtrinsic for ResignCandidacy { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ResignCandidacy { const PALLET: &'static str = "Society"; const CALL: &'static str = "resign_candidacy"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::drop_candidate`]."] pub struct DropCandidate { pub candidate: drop_candidate::Candidate, } pub mod drop_candidate { use super::runtime_types; - pub type Candidate = ::subxt::utils::AccountId32; + pub type Candidate = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt::blocks::StaticExtrinsic for DropCandidate { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for DropCandidate { const PALLET: &'static str = "Society"; const CALL: &'static str = "drop_candidate"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::cleanup_candidacy`]."] pub struct CleanupCandidacy { pub candidate: cleanup_candidacy::Candidate, @@ -17409,23 +18657,27 @@ pub mod api { } pub mod cleanup_candidacy { use super::runtime_types; - pub type Candidate = ::subxt::utils::AccountId32; + pub type Candidate = ::subxt::ext::subxt_core::utils::AccountId32; pub type Max = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for CleanupCandidacy { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CleanupCandidacy { const PALLET: &'static str = "Society"; const CALL: &'static str = "cleanup_candidacy"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::cleanup_challenge`]."] pub struct CleanupChallenge { pub challenge_round: cleanup_challenge::ChallengeRound, @@ -17436,7 +18688,7 @@ pub mod api { pub type ChallengeRound = ::core::primitive::u32; pub type Max = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for CleanupChallenge { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CleanupChallenge { const PALLET: &'static str = "Society"; const CALL: &'static str = "cleanup_challenge"; } @@ -17444,8 +18696,11 @@ pub mod api { pub struct TransactionApi; impl TransactionApi { #[doc = "See [`Pallet::bid`]."] - pub fn bid(&self, value: types::bid::Value) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + pub fn bid( + &self, + value: types::bid::Value, + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Society", "bid", types::Bid { value }, @@ -17457,8 +18712,8 @@ pub mod api { ) } #[doc = "See [`Pallet::unbid`]."] - pub fn unbid(&self) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + pub fn unbid(&self) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Society", "unbid", types::Unbid {}, @@ -17476,8 +18731,8 @@ pub mod api { who: types::vouch::Who, value: types::vouch::Value, tip: types::vouch::Tip, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Society", "vouch", types::Vouch { who, value, tip }, @@ -17489,8 +18744,8 @@ pub mod api { ) } #[doc = "See [`Pallet::unvouch`]."] - pub fn unvouch(&self) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + pub fn unvouch(&self) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Society", "unvouch", types::Unvouch {}, @@ -17507,8 +18762,8 @@ pub mod api { &self, candidate: types::vote::Candidate, approve: types::vote::Approve, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Society", "vote", types::Vote { candidate, approve }, @@ -17523,8 +18778,8 @@ pub mod api { pub fn defender_vote( &self, approve: types::defender_vote::Approve, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Society", "defender_vote", types::DefenderVote { approve }, @@ -17537,8 +18792,8 @@ pub mod api { ) } #[doc = "See [`Pallet::payout`]."] - pub fn payout(&self) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + pub fn payout(&self) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Society", "payout", types::Payout {}, @@ -17553,8 +18808,8 @@ pub mod api { pub fn waive_repay( &self, amount: types::waive_repay::Amount, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Society", "waive_repay", types::WaiveRepay { amount }, @@ -17574,8 +18829,8 @@ pub mod api { max_strikes: types::found_society::MaxStrikes, candidate_deposit: types::found_society::CandidateDeposit, rules: types::found_society::Rules, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Society", "found_society", types::FoundSociety { @@ -17595,8 +18850,8 @@ pub mod api { ) } #[doc = "See [`Pallet::dissolve`]."] - pub fn dissolve(&self) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + pub fn dissolve(&self) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Society", "dissolve", types::Dissolve {}, @@ -17613,8 +18868,9 @@ pub mod api { &self, who: types::judge_suspended_member::Who, forgive: types::judge_suspended_member::Forgive, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Society", "judge_suspended_member", types::JudgeSuspendedMember { who, forgive }, @@ -17632,8 +18888,8 @@ pub mod api { max_intake: types::set_parameters::MaxIntake, max_strikes: types::set_parameters::MaxStrikes, candidate_deposit: types::set_parameters::CandidateDeposit, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Society", "set_parameters", types::SetParameters { @@ -17651,8 +18907,10 @@ pub mod api { ) } #[doc = "See [`Pallet::punish_skeptic`]."] - pub fn punish_skeptic(&self) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + pub fn punish_skeptic( + &self, + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Society", "punish_skeptic", types::PunishSkeptic {}, @@ -17665,8 +18923,10 @@ pub mod api { ) } #[doc = "See [`Pallet::claim_membership`]."] - pub fn claim_membership(&self) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + pub fn claim_membership( + &self, + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Society", "claim_membership", types::ClaimMembership {}, @@ -17681,8 +18941,9 @@ pub mod api { pub fn bestow_membership( &self, candidate: types::bestow_membership::Candidate, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Society", "bestow_membership", types::BestowMembership { candidate }, @@ -17697,8 +18958,8 @@ pub mod api { pub fn kick_candidate( &self, candidate: types::kick_candidate::Candidate, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Society", "kick_candidate", types::KickCandidate { candidate }, @@ -17710,8 +18971,10 @@ pub mod api { ) } #[doc = "See [`Pallet::resign_candidacy`]."] - pub fn resign_candidacy(&self) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + pub fn resign_candidacy( + &self, + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Society", "resign_candidacy", types::ResignCandidacy {}, @@ -17727,8 +18990,8 @@ pub mod api { pub fn drop_candidate( &self, candidate: types::drop_candidate::Candidate, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Society", "drop_candidate", types::DropCandidate { candidate }, @@ -17744,8 +19007,9 @@ pub mod api { &self, candidate: types::cleanup_candidacy::Candidate, max: types::cleanup_candidacy::Max, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Society", "cleanup_candidacy", types::CleanupCandidacy { candidate, max }, @@ -17762,8 +19026,9 @@ pub mod api { &self, challenge_round: types::cleanup_challenge::ChallengeRound, max: types::cleanup_challenge::Max, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Society", "cleanup_challenge", types::CleanupChallenge { @@ -17785,37 +19050,37 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The society is founded by the given identity."] pub struct Founded { pub founder: founded::Founder, } pub mod founded { use super::runtime_types; - pub type Founder = ::subxt::utils::AccountId32; + pub type Founder = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt::events::StaticEvent for Founded { + impl ::subxt::ext::subxt_core::events::StaticEvent for Founded { const PALLET: &'static str = "Society"; const EVENT: &'static str = "Founded"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A membership bid just happened. The given account is the candidate's ID and their offer"] #[doc = "is the second."] pub struct Bid { @@ -17824,23 +19089,23 @@ pub mod api { } pub mod bid { use super::runtime_types; - pub type CandidateId = ::subxt::utils::AccountId32; + pub type CandidateId = ::subxt::ext::subxt_core::utils::AccountId32; pub type Offer = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Bid { + impl ::subxt::ext::subxt_core::events::StaticEvent for Bid { const PALLET: &'static str = "Society"; const EVENT: &'static str = "Bid"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A membership bid just happened by vouching. The given account is the candidate's ID and"] #[doc = "their offer is the second. The vouching party is the third."] pub struct Vouch { @@ -17850,90 +19115,90 @@ pub mod api { } pub mod vouch { use super::runtime_types; - pub type CandidateId = ::subxt::utils::AccountId32; + pub type CandidateId = ::subxt::ext::subxt_core::utils::AccountId32; pub type Offer = ::core::primitive::u128; - pub type Vouching = ::subxt::utils::AccountId32; + pub type Vouching = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt::events::StaticEvent for Vouch { + impl ::subxt::ext::subxt_core::events::StaticEvent for Vouch { const PALLET: &'static str = "Society"; const EVENT: &'static str = "Vouch"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A candidate was dropped (due to an excess of bids in the system)."] pub struct AutoUnbid { pub candidate: auto_unbid::Candidate, } pub mod auto_unbid { use super::runtime_types; - pub type Candidate = ::subxt::utils::AccountId32; + pub type Candidate = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt::events::StaticEvent for AutoUnbid { + impl ::subxt::ext::subxt_core::events::StaticEvent for AutoUnbid { const PALLET: &'static str = "Society"; const EVENT: &'static str = "AutoUnbid"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A candidate was dropped (by their request)."] pub struct Unbid { pub candidate: unbid::Candidate, } pub mod unbid { use super::runtime_types; - pub type Candidate = ::subxt::utils::AccountId32; + pub type Candidate = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt::events::StaticEvent for Unbid { + impl ::subxt::ext::subxt_core::events::StaticEvent for Unbid { const PALLET: &'static str = "Society"; const EVENT: &'static str = "Unbid"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A candidate was dropped (by request of who vouched for them)."] pub struct Unvouch { pub candidate: unvouch::Candidate, } pub mod unvouch { use super::runtime_types; - pub type Candidate = ::subxt::utils::AccountId32; + pub type Candidate = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt::events::StaticEvent for Unvouch { + impl ::subxt::ext::subxt_core::events::StaticEvent for Unvouch { const PALLET: &'static str = "Society"; const EVENT: &'static str = "Unvouch"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A group of candidates have been inducted. The batch's primary is the first value, the"] #[doc = "batch in full is the second."] pub struct Inducted { @@ -17942,23 +19207,25 @@ pub mod api { } pub mod inducted { use super::runtime_types; - pub type Primary = ::subxt::utils::AccountId32; - pub type Candidates = ::std::vec::Vec<::subxt::utils::AccountId32>; + pub type Primary = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Candidates = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >; } - impl ::subxt::events::StaticEvent for Inducted { + impl ::subxt::ext::subxt_core::events::StaticEvent for Inducted { const PALLET: &'static str = "Society"; const EVENT: &'static str = "Inducted"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A suspended member has been judged."] pub struct SuspendedMemberJudgement { pub who: suspended_member_judgement::Who, @@ -17966,89 +19233,89 @@ pub mod api { } pub mod suspended_member_judgement { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Judged = ::core::primitive::bool; } - impl ::subxt::events::StaticEvent for SuspendedMemberJudgement { + impl ::subxt::ext::subxt_core::events::StaticEvent for SuspendedMemberJudgement { const PALLET: &'static str = "Society"; const EVENT: &'static str = "SuspendedMemberJudgement"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A candidate has been suspended"] pub struct CandidateSuspended { pub candidate: candidate_suspended::Candidate, } pub mod candidate_suspended { use super::runtime_types; - pub type Candidate = ::subxt::utils::AccountId32; + pub type Candidate = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt::events::StaticEvent for CandidateSuspended { + impl ::subxt::ext::subxt_core::events::StaticEvent for CandidateSuspended { const PALLET: &'static str = "Society"; const EVENT: &'static str = "CandidateSuspended"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A member has been suspended"] pub struct MemberSuspended { pub member: member_suspended::Member, } pub mod member_suspended { use super::runtime_types; - pub type Member = ::subxt::utils::AccountId32; + pub type Member = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt::events::StaticEvent for MemberSuspended { + impl ::subxt::ext::subxt_core::events::StaticEvent for MemberSuspended { const PALLET: &'static str = "Society"; const EVENT: &'static str = "MemberSuspended"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A member has been challenged"] pub struct Challenged { pub member: challenged::Member, } pub mod challenged { use super::runtime_types; - pub type Member = ::subxt::utils::AccountId32; + pub type Member = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt::events::StaticEvent for Challenged { + impl ::subxt::ext::subxt_core::events::StaticEvent for Challenged { const PALLET: &'static str = "Society"; const EVENT: &'static str = "Challenged"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A vote has been placed"] pub struct Vote { pub candidate: vote::Candidate, @@ -18057,24 +19324,24 @@ pub mod api { } pub mod vote { use super::runtime_types; - pub type Candidate = ::subxt::utils::AccountId32; - pub type Voter = ::subxt::utils::AccountId32; + pub type Candidate = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Voter = ::subxt::ext::subxt_core::utils::AccountId32; pub type Vote = ::core::primitive::bool; } - impl ::subxt::events::StaticEvent for Vote { + impl ::subxt::ext::subxt_core::events::StaticEvent for Vote { const PALLET: &'static str = "Society"; const EVENT: &'static str = "Vote"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A vote has been placed for a defending member"] pub struct DefenderVote { pub voter: defender_vote::Voter, @@ -18082,23 +19349,23 @@ pub mod api { } pub mod defender_vote { use super::runtime_types; - pub type Voter = ::subxt::utils::AccountId32; + pub type Voter = ::subxt::ext::subxt_core::utils::AccountId32; pub type Vote = ::core::primitive::bool; } - impl ::subxt::events::StaticEvent for DefenderVote { + impl ::subxt::ext::subxt_core::events::StaticEvent for DefenderVote { const PALLET: &'static str = "Society"; const EVENT: &'static str = "DefenderVote"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A new set of \\[params\\] has been set for the group."] pub struct NewParams { pub params: new_params::Params, @@ -18108,42 +19375,42 @@ pub mod api { pub type Params = runtime_types::pallet_society::GroupParams<::core::primitive::u128>; } - impl ::subxt::events::StaticEvent for NewParams { + impl ::subxt::ext::subxt_core::events::StaticEvent for NewParams { const PALLET: &'static str = "Society"; const EVENT: &'static str = "NewParams"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Society is unfounded."] pub struct Unfounded { pub founder: unfounded::Founder, } pub mod unfounded { use super::runtime_types; - pub type Founder = ::subxt::utils::AccountId32; + pub type Founder = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt::events::StaticEvent for Unfounded { + impl ::subxt::ext::subxt_core::events::StaticEvent for Unfounded { const PALLET: &'static str = "Society"; const EVENT: &'static str = "Unfounded"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some funds were deposited into the society account."] pub struct Deposit { pub value: deposit::Value, @@ -18152,20 +19419,20 @@ pub mod api { use super::runtime_types; pub type Value = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Deposit { + impl ::subxt::ext::subxt_core::events::StaticEvent for Deposit { const PALLET: &'static str = "Society"; const EVENT: &'static str = "Deposit"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A \\[member\\] got elevated to \\[rank\\]."] pub struct Elevated { pub member: elevated::Member, @@ -18173,10 +19440,10 @@ pub mod api { } pub mod elevated { use super::runtime_types; - pub type Member = ::subxt::utils::AccountId32; + pub type Member = ::subxt::ext::subxt_core::utils::AccountId32; pub type Rank = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for Elevated { + impl ::subxt::ext::subxt_core::events::StaticEvent for Elevated { const PALLET: &'static str = "Society"; const EVENT: &'static str = "Elevated"; } @@ -18196,31 +19463,31 @@ pub mod api { } pub mod founder { use super::runtime_types; - pub type Founder = ::subxt::utils::AccountId32; + pub type Founder = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod head { use super::runtime_types; - pub type Head = ::subxt::utils::AccountId32; + pub type Head = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod rules { use super::runtime_types; - pub type Rules = ::subxt::utils::H256; + pub type Rules = ::subxt::ext::subxt_core::utils::H256; } pub mod members { use super::runtime_types; pub type Members = runtime_types::pallet_society::MemberRecord; - pub type Param0 = ::subxt::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod payouts { use super::runtime_types; pub type Payouts = runtime_types::pallet_society::PayoutRecord< ::core::primitive::u128, - runtime_types::bounded_collections::bounded_vec::BoundedVec<( + runtime_types::bounded_collections::bounded_vec::BoundedVec15<( ::core::primitive::u32, ::core::primitive::u128, )>, >; - pub type Param0 = ::subxt::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod member_count { use super::runtime_types; @@ -18228,13 +19495,13 @@ pub mod api { } pub mod member_by_index { use super::runtime_types; - pub type MemberByIndex = ::subxt::utils::AccountId32; + pub type MemberByIndex = ::subxt::ext::subxt_core::utils::AccountId32; pub type Param0 = ::core::primitive::u32; } pub mod suspended_members { use super::runtime_types; pub type SuspendedMembers = runtime_types::pallet_society::MemberRecord; - pub type Param0 = ::subxt::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod round_count { use super::runtime_types; @@ -18242,9 +19509,9 @@ pub mod api { } pub mod bids { use super::runtime_types; - pub type Bids = runtime_types::bounded_collections::bounded_vec::BoundedVec< + pub type Bids = runtime_types::bounded_collections::bounded_vec::BoundedVec20< runtime_types::pallet_society::Bid< - ::subxt::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u128, >, >; @@ -18252,33 +19519,33 @@ pub mod api { pub mod candidates { use super::runtime_types; pub type Candidates = runtime_types::pallet_society::Candidacy< - ::subxt::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u128, >; - pub type Param0 = ::subxt::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod skeptic { use super::runtime_types; - pub type Skeptic = ::subxt::utils::AccountId32; + pub type Skeptic = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod votes { use super::runtime_types; pub type Votes = runtime_types::pallet_society::Vote; - pub type Param0 = ::subxt::utils::AccountId32; - pub type Param1 = ::subxt::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param1 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod vote_clear_cursor { use super::runtime_types; pub type VoteClearCursor = - runtime_types::bounded_collections::bounded_vec::BoundedVec< + runtime_types::bounded_collections::bounded_vec::BoundedVec5< ::core::primitive::u8, >; - pub type Param0 = ::subxt::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod next_head { use super::runtime_types; pub type NextHead = runtime_types::pallet_society::IntakeRecord< - ::subxt::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u128, >; } @@ -18289,8 +19556,8 @@ pub mod api { pub mod defending { use super::runtime_types; pub type Defending = ( - ::subxt::utils::AccountId32, - ::subxt::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, runtime_types::pallet_society::Tally, ); } @@ -18298,7 +19565,7 @@ pub mod api { use super::runtime_types; pub type DefenderVotes = runtime_types::pallet_society::Vote; pub type Param0 = ::core::primitive::u32; - pub type Param1 = ::subxt::utils::AccountId32; + pub type Param1 = ::subxt::ext::subxt_core::utils::AccountId32; } } pub struct StorageApi; @@ -18306,17 +19573,17 @@ pub mod api { #[doc = " The max number of members for the society at one time."] pub fn parameters( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::parameters::Parameters, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Society", "Parameters", - vec![], + (), [ 69u8, 147u8, 95u8, 26u8, 245u8, 207u8, 83u8, 57u8, 229u8, 34u8, 205u8, 202u8, 182u8, 180u8, 219u8, 86u8, 152u8, 140u8, 212u8, 145u8, 7u8, @@ -18328,17 +19595,17 @@ pub mod api { #[doc = " Amount of our account balance that is specifically for the next round's bid(s)."] pub fn pot( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::pot::Pot, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Society", "Pot", - vec![], + (), [ 98u8, 77u8, 215u8, 220u8, 51u8, 87u8, 188u8, 65u8, 72u8, 231u8, 34u8, 161u8, 61u8, 59u8, 66u8, 105u8, 128u8, 23u8, 249u8, 27u8, 10u8, 0u8, @@ -18349,17 +19616,17 @@ pub mod api { #[doc = " The first member."] pub fn founder( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::founder::Founder, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Society", "Founder", - vec![], + (), [ 14u8, 6u8, 181u8, 186u8, 64u8, 213u8, 48u8, 110u8, 242u8, 50u8, 144u8, 77u8, 38u8, 127u8, 161u8, 54u8, 204u8, 119u8, 1u8, 218u8, 12u8, 57u8, @@ -18370,17 +19637,17 @@ pub mod api { #[doc = " The most primary from the most recently approved rank 0 members in the society."] pub fn head( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::head::Head, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Society", "Head", - vec![], + (), [ 95u8, 2u8, 23u8, 237u8, 130u8, 169u8, 84u8, 51u8, 1u8, 178u8, 234u8, 194u8, 139u8, 35u8, 222u8, 150u8, 246u8, 176u8, 97u8, 103u8, 211u8, @@ -18392,17 +19659,17 @@ pub mod api { #[doc = " only by the founder."] pub fn rules( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::rules::Rules, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Society", "Rules", - vec![], + (), [ 119u8, 249u8, 119u8, 89u8, 243u8, 239u8, 149u8, 15u8, 238u8, 40u8, 172u8, 198u8, 24u8, 107u8, 57u8, 39u8, 155u8, 36u8, 13u8, 72u8, 153u8, @@ -18414,17 +19681,17 @@ pub mod api { #[doc = " The current members and their rank. Doesn't include `SuspendedMembers`."] pub fn members_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::members::Members, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Society", "Members", - vec![], + (), [ 207u8, 227u8, 130u8, 247u8, 29u8, 198u8, 129u8, 83u8, 3u8, 6u8, 19u8, 37u8, 163u8, 227u8, 0u8, 94u8, 8u8, 166u8, 111u8, 70u8, 101u8, 65u8, @@ -18435,20 +19702,22 @@ pub mod api { #[doc = " The current members and their rank. Doesn't include `SuspendedMembers`."] pub fn members( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::members::Param0, + >, types::members::Members, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Society", "Members", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 207u8, 227u8, 130u8, 247u8, 29u8, 198u8, 129u8, 83u8, 3u8, 6u8, 19u8, 37u8, 163u8, 227u8, 0u8, 94u8, 8u8, 166u8, 111u8, 70u8, 101u8, 65u8, @@ -18459,17 +19728,17 @@ pub mod api { #[doc = " Information regarding rank-0 payouts, past and future."] pub fn payouts_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::payouts::Payouts, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Society", "Payouts", - vec![], + (), [ 251u8, 249u8, 170u8, 219u8, 131u8, 113u8, 178u8, 165u8, 173u8, 36u8, 175u8, 199u8, 57u8, 188u8, 59u8, 226u8, 4u8, 45u8, 36u8, 173u8, 113u8, @@ -18480,20 +19749,22 @@ pub mod api { #[doc = " Information regarding rank-0 payouts, past and future."] pub fn payouts( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::payouts::Param0, + >, types::payouts::Payouts, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Society", "Payouts", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 251u8, 249u8, 170u8, 219u8, 131u8, 113u8, 178u8, 165u8, 173u8, 36u8, 175u8, 199u8, 57u8, 188u8, 59u8, 226u8, 4u8, 45u8, 36u8, 173u8, 113u8, @@ -18504,17 +19775,17 @@ pub mod api { #[doc = " The number of items in `Members` currently. (Doesn't include `SuspendedMembers`.)"] pub fn member_count( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::member_count::MemberCount, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Society", "MemberCount", - vec![], + (), [ 251u8, 200u8, 97u8, 38u8, 125u8, 162u8, 19u8, 100u8, 249u8, 254u8, 42u8, 93u8, 64u8, 171u8, 2u8, 200u8, 129u8, 228u8, 211u8, 229u8, 152u8, @@ -18527,17 +19798,17 @@ pub mod api { #[doc = " `0..MemberCount` (does not include `MemberCount`)."] pub fn member_by_index_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::member_by_index::MemberByIndex, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Society", "MemberByIndex", - vec![], + (), [ 13u8, 233u8, 212u8, 149u8, 220u8, 158u8, 17u8, 27u8, 201u8, 61u8, 202u8, 248u8, 192u8, 37u8, 199u8, 73u8, 32u8, 140u8, 204u8, 206u8, @@ -18550,20 +19821,22 @@ pub mod api { #[doc = " `0..MemberCount` (does not include `MemberCount`)."] pub fn member_by_index( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::member_by_index::Param0, + >, types::member_by_index::MemberByIndex, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Society", "MemberByIndex", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 13u8, 233u8, 212u8, 149u8, 220u8, 158u8, 17u8, 27u8, 201u8, 61u8, 202u8, 248u8, 192u8, 37u8, 199u8, 73u8, 32u8, 140u8, 204u8, 206u8, @@ -18575,17 +19848,17 @@ pub mod api { #[doc = " The set of suspended members, with their old membership record."] pub fn suspended_members_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::suspended_members::SuspendedMembers, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Society", "SuspendedMembers", - vec![], + (), [ 156u8, 11u8, 75u8, 79u8, 74u8, 79u8, 98u8, 89u8, 63u8, 83u8, 84u8, 249u8, 177u8, 227u8, 113u8, 21u8, 26u8, 165u8, 129u8, 5u8, 129u8, @@ -18597,20 +19870,22 @@ pub mod api { #[doc = " The set of suspended members, with their old membership record."] pub fn suspended_members( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::suspended_members::Param0, + >, types::suspended_members::SuspendedMembers, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Society", "SuspendedMembers", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 156u8, 11u8, 75u8, 79u8, 74u8, 79u8, 98u8, 89u8, 63u8, 83u8, 84u8, 249u8, 177u8, 227u8, 113u8, 21u8, 26u8, 165u8, 129u8, 5u8, 129u8, @@ -18622,17 +19897,17 @@ pub mod api { #[doc = " The number of rounds which have passed."] pub fn round_count( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::round_count::RoundCount, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Society", "RoundCount", - vec![], + (), [ 61u8, 189u8, 115u8, 157u8, 36u8, 97u8, 192u8, 96u8, 138u8, 168u8, 222u8, 58u8, 117u8, 199u8, 176u8, 146u8, 232u8, 167u8, 52u8, 190u8, @@ -18644,17 +19919,17 @@ pub mod api { #[doc = " The current bids, stored ordered by the value of the bid."] pub fn bids( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::bids::Bids, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Society", "Bids", - vec![], + (), [ 220u8, 159u8, 208u8, 176u8, 118u8, 11u8, 21u8, 34u8, 3u8, 101u8, 233u8, 212u8, 149u8, 156u8, 235u8, 135u8, 142u8, 220u8, 76u8, 99u8, 60u8, @@ -18664,17 +19939,17 @@ pub mod api { } pub fn candidates_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::candidates::Candidates, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Society", "Candidates", - vec![], + (), [ 52u8, 250u8, 201u8, 163u8, 0u8, 5u8, 156u8, 84u8, 96u8, 130u8, 228u8, 205u8, 34u8, 75u8, 121u8, 209u8, 82u8, 15u8, 247u8, 21u8, 54u8, 177u8, @@ -18684,20 +19959,22 @@ pub mod api { } pub fn candidates( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::candidates::Param0, + >, types::candidates::Candidates, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Society", "Candidates", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 52u8, 250u8, 201u8, 163u8, 0u8, 5u8, 156u8, 84u8, 96u8, 130u8, 228u8, 205u8, 34u8, 75u8, 121u8, 209u8, 82u8, 15u8, 247u8, 21u8, 54u8, 177u8, @@ -18708,17 +19985,17 @@ pub mod api { #[doc = " The current skeptic."] pub fn skeptic( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::skeptic::Skeptic, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Society", "Skeptic", - vec![], + (), [ 121u8, 103u8, 195u8, 11u8, 87u8, 129u8, 61u8, 69u8, 218u8, 17u8, 101u8, 207u8, 249u8, 207u8, 18u8, 103u8, 253u8, 240u8, 132u8, 46u8, 47u8, @@ -18730,17 +20007,17 @@ pub mod api { #[doc = " Double map from Candidate -> Voter -> (Maybe) Vote."] pub fn votes_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::votes::Votes, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Society", "Votes", - vec![], + (), [ 34u8, 201u8, 151u8, 130u8, 149u8, 159u8, 32u8, 201u8, 127u8, 178u8, 77u8, 214u8, 73u8, 158u8, 11u8, 247u8, 188u8, 156u8, 146u8, 59u8, @@ -18752,20 +20029,22 @@ pub mod api { #[doc = " Double map from Candidate -> Voter -> (Maybe) Vote."] pub fn votes_iter1( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::votes::Param0, + >, types::votes::Votes, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Society", "Votes", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 34u8, 201u8, 151u8, 130u8, 149u8, 159u8, 32u8, 201u8, 127u8, 178u8, 77u8, 214u8, 73u8, 158u8, 11u8, 247u8, 188u8, 156u8, 146u8, 59u8, @@ -18777,22 +20056,33 @@ pub mod api { #[doc = " Double map from Candidate -> Voter -> (Maybe) Vote."] pub fn votes( &self, - _0: impl ::std::borrow::Borrow, - _1: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::votes::Param0, + >, + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::votes::Param1, + >, + ), types::votes::Votes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Society", "Votes", - vec![ - ::subxt::storage::address::make_static_storage_map_key(_0.borrow()), - ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), - ], + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), + ), [ 34u8, 201u8, 151u8, 130u8, 149u8, 159u8, 32u8, 201u8, 127u8, 178u8, 77u8, 214u8, 73u8, 158u8, 11u8, 247u8, 188u8, 156u8, 146u8, 59u8, @@ -18804,17 +20094,17 @@ pub mod api { #[doc = " Clear-cursor for Vote, map from Candidate -> (Maybe) Cursor."] pub fn vote_clear_cursor_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::vote_clear_cursor::VoteClearCursor, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Society", "VoteClearCursor", - vec![], + (), [ 157u8, 200u8, 216u8, 228u8, 235u8, 144u8, 13u8, 111u8, 252u8, 213u8, 209u8, 114u8, 157u8, 159u8, 47u8, 125u8, 45u8, 152u8, 27u8, 145u8, @@ -18826,20 +20116,22 @@ pub mod api { #[doc = " Clear-cursor for Vote, map from Candidate -> (Maybe) Cursor."] pub fn vote_clear_cursor( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::vote_clear_cursor::Param0, + >, types::vote_clear_cursor::VoteClearCursor, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Society", "VoteClearCursor", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 157u8, 200u8, 216u8, 228u8, 235u8, 144u8, 13u8, 111u8, 252u8, 213u8, 209u8, 114u8, 157u8, 159u8, 47u8, 125u8, 45u8, 152u8, 27u8, 145u8, @@ -18853,17 +20145,17 @@ pub mod api { #[doc = " become the new `Head`."] pub fn next_head( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::next_head::NextHead, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Society", "NextHead", - vec![], + (), [ 64u8, 118u8, 253u8, 247u8, 56u8, 39u8, 156u8, 38u8, 150u8, 234u8, 190u8, 11u8, 45u8, 236u8, 15u8, 181u8, 6u8, 165u8, 226u8, 99u8, 46u8, @@ -18874,17 +20166,17 @@ pub mod api { #[doc = " The number of challenge rounds there have been. Used to identify stale DefenderVotes."] pub fn challenge_round_count( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::challenge_round_count::ChallengeRoundCount, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Society", "ChallengeRoundCount", - vec![], + (), [ 111u8, 74u8, 218u8, 126u8, 43u8, 20u8, 75u8, 119u8, 166u8, 4u8, 56u8, 24u8, 206u8, 10u8, 236u8, 17u8, 62u8, 124u8, 129u8, 39u8, 197u8, 157u8, @@ -18895,17 +20187,17 @@ pub mod api { #[doc = " The defending member currently being challenged, along with a running tally of votes."] pub fn defending( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::defending::Defending, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Society", "Defending", - vec![], + (), [ 22u8, 165u8, 42u8, 82u8, 129u8, 214u8, 77u8, 50u8, 110u8, 35u8, 16u8, 44u8, 222u8, 47u8, 238u8, 209u8, 171u8, 254u8, 208u8, 3u8, 2u8, 87u8, @@ -18916,17 +20208,17 @@ pub mod api { #[doc = " Votes for the defender, keyed by challenge round."] pub fn defender_votes_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::defender_votes::DefenderVotes, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Society", "DefenderVotes", - vec![], + (), [ 208u8, 137u8, 138u8, 215u8, 215u8, 207u8, 236u8, 140u8, 175u8, 50u8, 110u8, 228u8, 48u8, 174u8, 16u8, 59u8, 72u8, 108u8, 7u8, 183u8, 119u8, @@ -18938,20 +20230,22 @@ pub mod api { #[doc = " Votes for the defender, keyed by challenge round."] pub fn defender_votes_iter1( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::defender_votes::Param0, + >, types::defender_votes::DefenderVotes, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Society", "DefenderVotes", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 208u8, 137u8, 138u8, 215u8, 215u8, 207u8, 236u8, 140u8, 175u8, 50u8, 110u8, 228u8, 48u8, 174u8, 16u8, 59u8, 72u8, 108u8, 7u8, 183u8, 119u8, @@ -18963,22 +20257,33 @@ pub mod api { #[doc = " Votes for the defender, keyed by challenge round."] pub fn defender_votes( &self, - _0: impl ::std::borrow::Borrow, - _1: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::defender_votes::Param0, + >, + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::defender_votes::Param1, + >, + ), types::defender_votes::DefenderVotes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Society", "DefenderVotes", - vec![ - ::subxt::storage::address::make_static_storage_map_key(_0.borrow()), - ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), - ], + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), + ), [ 208u8, 137u8, 138u8, 215u8, 215u8, 207u8, 236u8, 140u8, 175u8, 50u8, 110u8, 228u8, 48u8, 174u8, 16u8, 59u8, 72u8, 108u8, 7u8, 183u8, 119u8, @@ -18996,9 +20301,10 @@ pub mod api { #[doc = " The societies's pallet id"] pub fn pallet_id( &self, - ) -> ::subxt::constants::Address - { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address< + runtime_types::frame_support::PalletId, + > { + ::subxt::ext::subxt_core::constants::Address::new_static( "Society", "PalletId", [ @@ -19009,8 +20315,11 @@ pub mod api { ) } #[doc = " The maximum number of strikes before a member gets funds slashed."] - pub fn grace_strikes(&self) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + pub fn grace_strikes( + &self, + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Society", "GraceStrikes", [ @@ -19022,8 +20331,11 @@ pub mod api { ) } #[doc = " The amount of incentive paid within each period. Doesn't include VoterTip."] - pub fn period_spend(&self) -> ::subxt::constants::Address<::core::primitive::u128> { - ::subxt::constants::Address::new_static( + pub fn period_spend( + &self, + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u128> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Society", "PeriodSpend", [ @@ -19035,8 +20347,11 @@ pub mod api { } #[doc = " The number of blocks on which new candidates should be voted on. Together with"] #[doc = " `ClaimPeriod`, this sums to the number of blocks between candidate intake periods."] - pub fn voting_period(&self) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + pub fn voting_period( + &self, + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Society", "VotingPeriod", [ @@ -19049,8 +20364,11 @@ pub mod api { } #[doc = " The number of blocks on which new candidates can claim their membership and be the"] #[doc = " named head."] - pub fn claim_period(&self) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + pub fn claim_period( + &self, + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Society", "ClaimPeriod", [ @@ -19064,8 +20382,9 @@ pub mod api { #[doc = " The maximum duration of the payout lock."] pub fn max_lock_duration( &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Society", "MaxLockDuration", [ @@ -19079,8 +20398,9 @@ pub mod api { #[doc = " The number of blocks between membership challenges."] pub fn challenge_period( &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Society", "ChallengePeriod", [ @@ -19092,8 +20412,11 @@ pub mod api { ) } #[doc = " The maximum number of payouts a member may have waiting unclaimed."] - pub fn max_payouts(&self) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + pub fn max_payouts( + &self, + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Society", "MaxPayouts", [ @@ -19105,8 +20428,11 @@ pub mod api { ) } #[doc = " The maximum number of bids at once."] - pub fn max_bids(&self) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + pub fn max_bids( + &self, + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Society", "MaxBids", [ @@ -19134,40 +20460,50 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::as_recovered`]."] pub struct AsRecovered { pub account: as_recovered::Account, - pub call: ::std::boxed::Box, + pub call: ::subxt::ext::subxt_core::alloc::boxed::Box, } pub mod as_recovered { use super::runtime_types; - pub type Account = - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Account = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; pub type Call = runtime_types::rococo_runtime::RuntimeCall; } - impl ::subxt::blocks::StaticExtrinsic for AsRecovered { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AsRecovered { const PALLET: &'static str = "Recovery"; const CALL: &'static str = "as_recovered"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_recovered`]."] pub struct SetRecovered { pub lost: set_recovered::Lost, @@ -19175,24 +20511,33 @@ pub mod api { } pub mod set_recovered { use super::runtime_types; - pub type Lost = ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; - pub type Rescuer = - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Lost = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; + pub type Rescuer = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; } - impl ::subxt::blocks::StaticExtrinsic for SetRecovered { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetRecovered { const PALLET: &'static str = "Recovery"; const CALL: &'static str = "set_recovered"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::create_recovery`]."] pub struct CreateRecovery { pub friends: create_recovery::Friends, @@ -19201,47 +20546,59 @@ pub mod api { } pub mod create_recovery { use super::runtime_types; - pub type Friends = ::std::vec::Vec<::subxt::utils::AccountId32>; + pub type Friends = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >; pub type Threshold = ::core::primitive::u16; pub type DelayPeriod = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for CreateRecovery { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CreateRecovery { const PALLET: &'static str = "Recovery"; const CALL: &'static str = "create_recovery"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::initiate_recovery`]."] pub struct InitiateRecovery { pub account: initiate_recovery::Account, } pub mod initiate_recovery { use super::runtime_types; - pub type Account = - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Account = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; } - impl ::subxt::blocks::StaticExtrinsic for InitiateRecovery { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for InitiateRecovery { const PALLET: &'static str = "Recovery"; const CALL: &'static str = "initiate_recovery"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::vouch_recovery`]."] pub struct VouchRecovery { pub lost: vouch_recovery::Lost, @@ -19249,96 +20606,123 @@ pub mod api { } pub mod vouch_recovery { use super::runtime_types; - pub type Lost = ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; - pub type Rescuer = - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Lost = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; + pub type Rescuer = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; } - impl ::subxt::blocks::StaticExtrinsic for VouchRecovery { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for VouchRecovery { const PALLET: &'static str = "Recovery"; const CALL: &'static str = "vouch_recovery"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::claim_recovery`]."] pub struct ClaimRecovery { pub account: claim_recovery::Account, } pub mod claim_recovery { use super::runtime_types; - pub type Account = - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Account = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; } - impl ::subxt::blocks::StaticExtrinsic for ClaimRecovery { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ClaimRecovery { const PALLET: &'static str = "Recovery"; const CALL: &'static str = "claim_recovery"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::close_recovery`]."] pub struct CloseRecovery { pub rescuer: close_recovery::Rescuer, } pub mod close_recovery { use super::runtime_types; - pub type Rescuer = - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Rescuer = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; } - impl ::subxt::blocks::StaticExtrinsic for CloseRecovery { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CloseRecovery { const PALLET: &'static str = "Recovery"; const CALL: &'static str = "close_recovery"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::remove_recovery`]."] pub struct RemoveRecovery; - impl ::subxt::blocks::StaticExtrinsic for RemoveRecovery { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RemoveRecovery { const PALLET: &'static str = "Recovery"; const CALL: &'static str = "remove_recovery"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::cancel_recovered`]."] pub struct CancelRecovered { pub account: cancel_recovered::Account, } pub mod cancel_recovered { use super::runtime_types; - pub type Account = - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Account = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; } - impl ::subxt::blocks::StaticExtrinsic for CancelRecovered { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CancelRecovered { const PALLET: &'static str = "Recovery"; const CALL: &'static str = "cancel_recovered"; } @@ -19350,19 +20734,19 @@ pub mod api { &self, account: types::as_recovered::Account, call: types::as_recovered::Call, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Recovery", "as_recovered", types::AsRecovered { account, - call: ::std::boxed::Box::new(call), + call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call), }, [ - 226u8, 94u8, 208u8, 74u8, 163u8, 132u8, 180u8, 25u8, 34u8, 222u8, - 242u8, 194u8, 224u8, 188u8, 18u8, 229u8, 55u8, 248u8, 19u8, 244u8, - 182u8, 148u8, 138u8, 228u8, 2u8, 55u8, 50u8, 36u8, 32u8, 115u8, 147u8, - 149u8, + 132u8, 94u8, 18u8, 16u8, 239u8, 67u8, 148u8, 125u8, 211u8, 36u8, 235u8, + 248u8, 182u8, 156u8, 31u8, 86u8, 222u8, 157u8, 184u8, 224u8, 140u8, + 128u8, 168u8, 185u8, 169u8, 179u8, 67u8, 196u8, 157u8, 249u8, 228u8, + 33u8, ], ) } @@ -19371,8 +20755,8 @@ pub mod api { &self, lost: types::set_recovered::Lost, rescuer: types::set_recovered::Rescuer, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Recovery", "set_recovered", types::SetRecovered { lost, rescuer }, @@ -19389,8 +20773,8 @@ pub mod api { friends: types::create_recovery::Friends, threshold: types::create_recovery::Threshold, delay_period: types::create_recovery::DelayPeriod, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Recovery", "create_recovery", types::CreateRecovery { @@ -19409,8 +20793,9 @@ pub mod api { pub fn initiate_recovery( &self, account: types::initiate_recovery::Account, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Recovery", "initiate_recovery", types::InitiateRecovery { account }, @@ -19426,8 +20811,8 @@ pub mod api { &self, lost: types::vouch_recovery::Lost, rescuer: types::vouch_recovery::Rescuer, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Recovery", "vouch_recovery", types::VouchRecovery { lost, rescuer }, @@ -19442,8 +20827,8 @@ pub mod api { pub fn claim_recovery( &self, account: types::claim_recovery::Account, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Recovery", "claim_recovery", types::ClaimRecovery { account }, @@ -19459,8 +20844,8 @@ pub mod api { pub fn close_recovery( &self, rescuer: types::close_recovery::Rescuer, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Recovery", "close_recovery", types::CloseRecovery { rescuer }, @@ -19473,8 +20858,10 @@ pub mod api { ) } #[doc = "See [`Pallet::remove_recovery`]."] - pub fn remove_recovery(&self) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + pub fn remove_recovery( + &self, + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Recovery", "remove_recovery", types::RemoveRecovery {}, @@ -19490,8 +20877,8 @@ pub mod api { pub fn cancel_recovered( &self, account: types::cancel_recovered::Account, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Recovery", "cancel_recovered", types::CancelRecovered { account }, @@ -19510,37 +20897,37 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A recovery process has been set up for an account."] pub struct RecoveryCreated { pub account: recovery_created::Account, } pub mod recovery_created { use super::runtime_types; - pub type Account = ::subxt::utils::AccountId32; + pub type Account = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt::events::StaticEvent for RecoveryCreated { + impl ::subxt::ext::subxt_core::events::StaticEvent for RecoveryCreated { const PALLET: &'static str = "Recovery"; const EVENT: &'static str = "RecoveryCreated"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A recovery process has been initiated for lost account by rescuer account."] pub struct RecoveryInitiated { pub lost_account: recovery_initiated::LostAccount, @@ -19548,23 +20935,23 @@ pub mod api { } pub mod recovery_initiated { use super::runtime_types; - pub type LostAccount = ::subxt::utils::AccountId32; - pub type RescuerAccount = ::subxt::utils::AccountId32; + pub type LostAccount = ::subxt::ext::subxt_core::utils::AccountId32; + pub type RescuerAccount = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt::events::StaticEvent for RecoveryInitiated { + impl ::subxt::ext::subxt_core::events::StaticEvent for RecoveryInitiated { const PALLET: &'static str = "Recovery"; const EVENT: &'static str = "RecoveryInitiated"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A recovery process for lost account by rescuer account has been vouched for by sender."] pub struct RecoveryVouched { pub lost_account: recovery_vouched::LostAccount, @@ -19573,24 +20960,24 @@ pub mod api { } pub mod recovery_vouched { use super::runtime_types; - pub type LostAccount = ::subxt::utils::AccountId32; - pub type RescuerAccount = ::subxt::utils::AccountId32; - pub type Sender = ::subxt::utils::AccountId32; + pub type LostAccount = ::subxt::ext::subxt_core::utils::AccountId32; + pub type RescuerAccount = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Sender = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt::events::StaticEvent for RecoveryVouched { + impl ::subxt::ext::subxt_core::events::StaticEvent for RecoveryVouched { const PALLET: &'static str = "Recovery"; const EVENT: &'static str = "RecoveryVouched"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A recovery process for lost account by rescuer account has been closed."] pub struct RecoveryClosed { pub lost_account: recovery_closed::LostAccount, @@ -19598,23 +20985,23 @@ pub mod api { } pub mod recovery_closed { use super::runtime_types; - pub type LostAccount = ::subxt::utils::AccountId32; - pub type RescuerAccount = ::subxt::utils::AccountId32; + pub type LostAccount = ::subxt::ext::subxt_core::utils::AccountId32; + pub type RescuerAccount = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt::events::StaticEvent for RecoveryClosed { + impl ::subxt::ext::subxt_core::events::StaticEvent for RecoveryClosed { const PALLET: &'static str = "Recovery"; const EVENT: &'static str = "RecoveryClosed"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Lost account has been successfully recovered by rescuer account."] pub struct AccountRecovered { pub lost_account: account_recovered::LostAccount, @@ -19622,32 +21009,32 @@ pub mod api { } pub mod account_recovered { use super::runtime_types; - pub type LostAccount = ::subxt::utils::AccountId32; - pub type RescuerAccount = ::subxt::utils::AccountId32; + pub type LostAccount = ::subxt::ext::subxt_core::utils::AccountId32; + pub type RescuerAccount = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt::events::StaticEvent for AccountRecovered { + impl ::subxt::ext::subxt_core::events::StaticEvent for AccountRecovered { const PALLET: &'static str = "Recovery"; const EVENT: &'static str = "AccountRecovered"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A recovery process has been removed for an account."] pub struct RecoveryRemoved { pub lost_account: recovery_removed::LostAccount, } pub mod recovery_removed { use super::runtime_types; - pub type LostAccount = ::subxt::utils::AccountId32; + pub type LostAccount = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt::events::StaticEvent for RecoveryRemoved { + impl ::subxt::ext::subxt_core::events::StaticEvent for RecoveryRemoved { const PALLET: &'static str = "Recovery"; const EVENT: &'static str = "RecoveryRemoved"; } @@ -19661,28 +21048,28 @@ pub mod api { pub type Recoverable = runtime_types::pallet_recovery::RecoveryConfig< ::core::primitive::u32, ::core::primitive::u128, - runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::subxt::utils::AccountId32, + runtime_types::bounded_collections::bounded_vec::BoundedVec18< + ::subxt::ext::subxt_core::utils::AccountId32, >, >; - pub type Param0 = ::subxt::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod active_recoveries { use super::runtime_types; pub type ActiveRecoveries = runtime_types::pallet_recovery::ActiveRecovery< ::core::primitive::u32, ::core::primitive::u128, - runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::subxt::utils::AccountId32, + runtime_types::bounded_collections::bounded_vec::BoundedVec18< + ::subxt::ext::subxt_core::utils::AccountId32, >, >; - pub type Param0 = ::subxt::utils::AccountId32; - pub type Param1 = ::subxt::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param1 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod proxy { use super::runtime_types; - pub type Proxy = ::subxt::utils::AccountId32; - pub type Param0 = ::subxt::utils::AccountId32; + pub type Proxy = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } } pub struct StorageApi; @@ -19690,17 +21077,17 @@ pub mod api { #[doc = " The set of recoverable accounts and their recovery configuration."] pub fn recoverable_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::recoverable::Recoverable, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Recovery", "Recoverable", - vec![], + (), [ 112u8, 7u8, 56u8, 46u8, 138u8, 197u8, 63u8, 234u8, 140u8, 123u8, 145u8, 106u8, 189u8, 190u8, 247u8, 61u8, 250u8, 67u8, 107u8, 42u8, 170u8, @@ -19711,20 +21098,22 @@ pub mod api { #[doc = " The set of recoverable accounts and their recovery configuration."] pub fn recoverable( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::recoverable::Param0, + >, types::recoverable::Recoverable, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Recovery", "Recoverable", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 112u8, 7u8, 56u8, 46u8, 138u8, 197u8, 63u8, 234u8, 140u8, 123u8, 145u8, 106u8, 189u8, 190u8, 247u8, 61u8, 250u8, 67u8, 107u8, 42u8, 170u8, @@ -19738,17 +21127,17 @@ pub mod api { #[doc = " is the user trying to recover the account."] pub fn active_recoveries_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::active_recoveries::ActiveRecoveries, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Recovery", "ActiveRecoveries", - vec![], + (), [ 104u8, 252u8, 28u8, 142u8, 48u8, 26u8, 91u8, 201u8, 184u8, 163u8, 180u8, 197u8, 189u8, 71u8, 144u8, 88u8, 225u8, 13u8, 183u8, 84u8, @@ -19763,20 +21152,22 @@ pub mod api { #[doc = " is the user trying to recover the account."] pub fn active_recoveries_iter1( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::active_recoveries::Param0, + >, types::active_recoveries::ActiveRecoveries, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Recovery", "ActiveRecoveries", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 104u8, 252u8, 28u8, 142u8, 48u8, 26u8, 91u8, 201u8, 184u8, 163u8, 180u8, 197u8, 189u8, 71u8, 144u8, 88u8, 225u8, 13u8, 183u8, 84u8, @@ -19791,22 +21182,33 @@ pub mod api { #[doc = " is the user trying to recover the account."] pub fn active_recoveries( &self, - _0: impl ::std::borrow::Borrow, - _1: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::active_recoveries::Param0, + >, + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::active_recoveries::Param1, + >, + ), types::active_recoveries::ActiveRecoveries, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Recovery", "ActiveRecoveries", - vec![ - ::subxt::storage::address::make_static_storage_map_key(_0.borrow()), - ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), - ], + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), + ), [ 104u8, 252u8, 28u8, 142u8, 48u8, 26u8, 91u8, 201u8, 184u8, 163u8, 180u8, 197u8, 189u8, 71u8, 144u8, 88u8, 225u8, 13u8, 183u8, 84u8, @@ -19820,17 +21222,17 @@ pub mod api { #[doc = " Map from the user who can access it to the recovered account."] pub fn proxy_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::proxy::Proxy, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Recovery", "Proxy", - vec![], + (), [ 161u8, 242u8, 17u8, 183u8, 161u8, 47u8, 87u8, 110u8, 201u8, 177u8, 199u8, 157u8, 30u8, 131u8, 49u8, 89u8, 182u8, 86u8, 152u8, 19u8, 199u8, @@ -19843,20 +21245,22 @@ pub mod api { #[doc = " Map from the user who can access it to the recovered account."] pub fn proxy( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::proxy::Param0, + >, types::proxy::Proxy, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Recovery", "Proxy", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 161u8, 242u8, 17u8, 183u8, 161u8, 47u8, 87u8, 110u8, 201u8, 177u8, 199u8, 157u8, 30u8, 131u8, 49u8, 89u8, 182u8, 86u8, 152u8, 19u8, 199u8, @@ -19876,8 +21280,9 @@ pub mod api { #[doc = " `2 + sizeof(BlockNumber, Balance)` bytes."] pub fn config_deposit_base( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u128> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Recovery", "ConfigDepositBase", [ @@ -19894,8 +21299,9 @@ pub mod api { #[doc = " value."] pub fn friend_deposit_factor( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u128> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Recovery", "FriendDepositFactor", [ @@ -19911,8 +21317,11 @@ pub mod api { #[doc = " not really make sense to have a limit here greater than u16::MAX."] #[doc = " But also, that is a lot more than you should probably set this value"] #[doc = " to anyway..."] - pub fn max_friends(&self) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + pub fn max_friends( + &self, + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Recovery", "MaxFriends", [ @@ -19932,8 +21341,9 @@ pub mod api { #[doc = " threshold."] pub fn recovery_deposit( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u128> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Recovery", "RecoveryDeposit", [ @@ -19960,53 +21370,68 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::vest`]."] pub struct Vest; - impl ::subxt::blocks::StaticExtrinsic for Vest { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Vest { const PALLET: &'static str = "Vesting"; const CALL: &'static str = "vest"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::vest_other`]."] pub struct VestOther { pub target: vest_other::Target, } pub mod vest_other { use super::runtime_types; - pub type Target = ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Target = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; } - impl ::subxt::blocks::StaticExtrinsic for VestOther { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for VestOther { const PALLET: &'static str = "Vesting"; const CALL: &'static str = "vest_other"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::vested_transfer`]."] pub struct VestedTransfer { pub target: vested_transfer::Target, @@ -20014,26 +21439,33 @@ pub mod api { } pub mod vested_transfer { use super::runtime_types; - pub type Target = ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Target = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; pub type Schedule = runtime_types::pallet_vesting::vesting_info::VestingInfo< ::core::primitive::u128, ::core::primitive::u32, >; } - impl ::subxt::blocks::StaticExtrinsic for VestedTransfer { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for VestedTransfer { const PALLET: &'static str = "Vesting"; const CALL: &'static str = "vested_transfer"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::force_vested_transfer`]."] pub struct ForceVestedTransfer { pub source: force_vested_transfer::Source, @@ -20042,27 +21474,37 @@ pub mod api { } pub mod force_vested_transfer { use super::runtime_types; - pub type Source = ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; - pub type Target = ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Source = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; + pub type Target = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; pub type Schedule = runtime_types::pallet_vesting::vesting_info::VestingInfo< ::core::primitive::u128, ::core::primitive::u32, >; } - impl ::subxt::blocks::StaticExtrinsic for ForceVestedTransfer { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceVestedTransfer { const PALLET: &'static str = "Vesting"; const CALL: &'static str = "force_vested_transfer"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::merge_schedules`]."] pub struct MergeSchedules { pub schedule1_index: merge_schedules::Schedule1Index, @@ -20073,40 +21515,16 @@ pub mod api { pub type Schedule1Index = ::core::primitive::u32; pub type Schedule2Index = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for MergeSchedules { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for MergeSchedules { const PALLET: &'static str = "Vesting"; const CALL: &'static str = "merge_schedules"; } - #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, - Debug, - )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - #[doc = "See [`Pallet::force_remove_vesting_schedule`]."] - pub struct ForceRemoveVestingSchedule { - pub target: force_remove_vesting_schedule::Target, - pub schedule_index: force_remove_vesting_schedule::ScheduleIndex, - } - pub mod force_remove_vesting_schedule { - use super::runtime_types; - pub type Target = ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; - pub type ScheduleIndex = ::core::primitive::u32; - } - impl ::subxt::blocks::StaticExtrinsic for ForceRemoveVestingSchedule { - const PALLET: &'static str = "Vesting"; - const CALL: &'static str = "force_remove_vesting_schedule"; - } } pub struct TransactionApi; impl TransactionApi { #[doc = "See [`Pallet::vest`]."] - pub fn vest(&self) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + pub fn vest(&self) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Vesting", "vest", types::Vest {}, @@ -20122,8 +21540,8 @@ pub mod api { pub fn vest_other( &self, target: types::vest_other::Target, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Vesting", "vest_other", types::VestOther { target }, @@ -20139,8 +21557,8 @@ pub mod api { &self, target: types::vested_transfer::Target, schedule: types::vested_transfer::Schedule, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Vesting", "vested_transfer", types::VestedTransfer { target, schedule }, @@ -20157,8 +21575,9 @@ pub mod api { source: types::force_vested_transfer::Source, target: types::force_vested_transfer::Target, schedule: types::force_vested_transfer::Schedule, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Vesting", "force_vested_transfer", types::ForceVestedTransfer { @@ -20179,8 +21598,8 @@ pub mod api { &self, schedule1_index: types::merge_schedules::Schedule1Index, schedule2_index: types::merge_schedules::Schedule2Index, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Vesting", "merge_schedules", types::MergeSchedules { @@ -20194,26 +21613,6 @@ pub mod api { ], ) } - #[doc = "See [`Pallet::force_remove_vesting_schedule`]."] - pub fn force_remove_vesting_schedule( - &self, - target: types::force_remove_vesting_schedule::Target, - schedule_index: types::force_remove_vesting_schedule::ScheduleIndex, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( - "Vesting", - "force_remove_vesting_schedule", - types::ForceRemoveVestingSchedule { - target, - schedule_index, - }, - [ - 211u8, 253u8, 60u8, 15u8, 20u8, 53u8, 23u8, 13u8, 45u8, 223u8, 136u8, - 183u8, 162u8, 143u8, 196u8, 188u8, 35u8, 64u8, 174u8, 16u8, 47u8, 13u8, - 147u8, 173u8, 120u8, 143u8, 75u8, 89u8, 128u8, 187u8, 9u8, 18u8, - ], - ) - } } } #[doc = "The `Event` enum of this pallet"] @@ -20221,15 +21620,15 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The amount vested has been updated. This could indicate a change in funds available."] #[doc = "The balance given is the amount which is left unvested (and thus locked)."] pub struct VestingUpdated { @@ -20238,32 +21637,32 @@ pub mod api { } pub mod vesting_updated { use super::runtime_types; - pub type Account = ::subxt::utils::AccountId32; + pub type Account = ::subxt::ext::subxt_core::utils::AccountId32; pub type Unvested = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for VestingUpdated { + impl ::subxt::ext::subxt_core::events::StaticEvent for VestingUpdated { const PALLET: &'static str = "Vesting"; const EVENT: &'static str = "VestingUpdated"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An \\[account\\] has become fully vested."] pub struct VestingCompleted { pub account: vesting_completed::Account, } pub mod vesting_completed { use super::runtime_types; - pub type Account = ::subxt::utils::AccountId32; + pub type Account = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt::events::StaticEvent for VestingCompleted { + impl ::subxt::ext::subxt_core::events::StaticEvent for VestingCompleted { const PALLET: &'static str = "Vesting"; const EVENT: &'static str = "VestingCompleted"; } @@ -20274,13 +21673,14 @@ pub mod api { use super::runtime_types; pub mod vesting { use super::runtime_types; - pub type Vesting = runtime_types::bounded_collections::bounded_vec::BoundedVec< - runtime_types::pallet_vesting::vesting_info::VestingInfo< - ::core::primitive::u128, - ::core::primitive::u32, - >, - >; - pub type Param0 = ::subxt::utils::AccountId32; + pub type Vesting = + runtime_types::bounded_collections::bounded_vec::BoundedVec21< + runtime_types::pallet_vesting::vesting_info::VestingInfo< + ::core::primitive::u128, + ::core::primitive::u32, + >, + >; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod storage_version { use super::runtime_types; @@ -20292,17 +21692,17 @@ pub mod api { #[doc = " Information regarding the vesting of a given account."] pub fn vesting_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::vesting::Vesting, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Vesting", "Vesting", - vec![], + (), [ 95u8, 168u8, 217u8, 248u8, 149u8, 86u8, 195u8, 93u8, 73u8, 206u8, 105u8, 165u8, 33u8, 173u8, 232u8, 81u8, 147u8, 254u8, 50u8, 228u8, @@ -20314,20 +21714,22 @@ pub mod api { #[doc = " Information regarding the vesting of a given account."] pub fn vesting( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::vesting::Param0, + >, types::vesting::Vesting, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Vesting", "Vesting", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 95u8, 168u8, 217u8, 248u8, 149u8, 86u8, 195u8, 93u8, 73u8, 206u8, 105u8, 165u8, 33u8, 173u8, 232u8, 81u8, 147u8, 254u8, 50u8, 228u8, @@ -20341,17 +21743,17 @@ pub mod api { #[doc = " New networks start with latest version, as determined by the genesis build."] pub fn storage_version( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::storage_version::StorageVersion, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Vesting", "StorageVersion", - vec![], + (), [ 230u8, 137u8, 180u8, 133u8, 142u8, 124u8, 231u8, 234u8, 223u8, 10u8, 154u8, 98u8, 158u8, 253u8, 228u8, 80u8, 5u8, 9u8, 91u8, 210u8, 252u8, @@ -20368,8 +21770,9 @@ pub mod api { #[doc = " The minimum amount transferred to call `vested_transfer`."] pub fn min_vested_transfer( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u128> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Vesting", "MinVestedTransfer", [ @@ -20381,8 +21784,9 @@ pub mod api { } pub fn max_vesting_schedules( &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Vesting", "MaxVestingSchedules", [ @@ -20410,21 +21814,25 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::schedule`]."] pub struct Schedule { pub when: schedule::When, pub maybe_periodic: schedule::MaybePeriodic, pub priority: schedule::Priority, - pub call: ::std::boxed::Box, + pub call: ::subxt::ext::subxt_core::alloc::boxed::Box, } pub mod schedule { use super::runtime_types; @@ -20434,20 +21842,24 @@ pub mod api { pub type Priority = ::core::primitive::u8; pub type Call = runtime_types::rococo_runtime::RuntimeCall; } - impl ::subxt::blocks::StaticExtrinsic for Schedule { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Schedule { const PALLET: &'static str = "Scheduler"; const CALL: &'static str = "schedule"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::cancel`]."] pub struct Cancel { pub when: cancel::When, @@ -20458,27 +21870,31 @@ pub mod api { pub type When = ::core::primitive::u32; pub type Index = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for Cancel { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Cancel { const PALLET: &'static str = "Scheduler"; const CALL: &'static str = "cancel"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::schedule_named`]."] pub struct ScheduleNamed { pub id: schedule_named::Id, pub when: schedule_named::When, pub maybe_periodic: schedule_named::MaybePeriodic, pub priority: schedule_named::Priority, - pub call: ::std::boxed::Box, + pub call: ::subxt::ext::subxt_core::alloc::boxed::Box, } pub mod schedule_named { use super::runtime_types; @@ -20489,20 +21905,24 @@ pub mod api { pub type Priority = ::core::primitive::u8; pub type Call = runtime_types::rococo_runtime::RuntimeCall; } - impl ::subxt::blocks::StaticExtrinsic for ScheduleNamed { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ScheduleNamed { const PALLET: &'static str = "Scheduler"; const CALL: &'static str = "schedule_named"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::cancel_named`]."] pub struct CancelNamed { pub id: cancel_named::Id, @@ -20511,26 +21931,30 @@ pub mod api { use super::runtime_types; pub type Id = [::core::primitive::u8; 32usize]; } - impl ::subxt::blocks::StaticExtrinsic for CancelNamed { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CancelNamed { const PALLET: &'static str = "Scheduler"; const CALL: &'static str = "cancel_named"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::schedule_after`]."] pub struct ScheduleAfter { pub after: schedule_after::After, pub maybe_periodic: schedule_after::MaybePeriodic, pub priority: schedule_after::Priority, - pub call: ::std::boxed::Box, + pub call: ::subxt::ext::subxt_core::alloc::boxed::Box, } pub mod schedule_after { use super::runtime_types; @@ -20540,27 +21964,32 @@ pub mod api { pub type Priority = ::core::primitive::u8; pub type Call = runtime_types::rococo_runtime::RuntimeCall; } - impl ::subxt::blocks::StaticExtrinsic for ScheduleAfter { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ScheduleAfter { const PALLET: &'static str = "Scheduler"; const CALL: &'static str = "schedule_after"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::schedule_named_after`]."] pub struct ScheduleNamedAfter { pub id: schedule_named_after::Id, pub after: schedule_named_after::After, pub maybe_periodic: schedule_named_after::MaybePeriodic, pub priority: schedule_named_after::Priority, - pub call: ::std::boxed::Box, + pub call: + ::subxt::ext::subxt_core::alloc::boxed::Box, } pub mod schedule_named_after { use super::runtime_types; @@ -20571,7 +22000,7 @@ pub mod api { pub type Priority = ::core::primitive::u8; pub type Call = runtime_types::rococo_runtime::RuntimeCall; } - impl ::subxt::blocks::StaticExtrinsic for ScheduleNamedAfter { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ScheduleNamedAfter { const PALLET: &'static str = "Scheduler"; const CALL: &'static str = "schedule_named_after"; } @@ -20585,20 +22014,21 @@ pub mod api { maybe_periodic: types::schedule::MaybePeriodic, priority: types::schedule::Priority, call: types::schedule::Call, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Scheduler", "schedule", types::Schedule { when, maybe_periodic, priority, - call: ::std::boxed::Box::new(call), + call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call), }, [ - 122u8, 88u8, 251u8, 25u8, 239u8, 91u8, 220u8, 116u8, 155u8, 219u8, - 129u8, 170u8, 81u8, 4u8, 224u8, 195u8, 83u8, 196u8, 48u8, 159u8, 222u8, - 72u8, 2u8, 131u8, 14u8, 204u8, 21u8, 234u8, 2u8, 237u8, 69u8, 28u8, + 252u8, 254u8, 42u8, 224u8, 241u8, 137u8, 180u8, 193u8, 26u8, 146u8, + 35u8, 137u8, 255u8, 216u8, 163u8, 49u8, 213u8, 110u8, 57u8, 170u8, + 216u8, 56u8, 196u8, 95u8, 74u8, 66u8, 15u8, 209u8, 137u8, 34u8, 175u8, + 238u8, ], ) } @@ -20607,8 +22037,8 @@ pub mod api { &self, when: types::cancel::When, index: types::cancel::Index, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Scheduler", "cancel", types::Cancel { when, index }, @@ -20628,8 +22058,8 @@ pub mod api { maybe_periodic: types::schedule_named::MaybePeriodic, priority: types::schedule_named::Priority, call: types::schedule_named::Call, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Scheduler", "schedule_named", types::ScheduleNamed { @@ -20637,12 +22067,13 @@ pub mod api { when, maybe_periodic, priority, - call: ::std::boxed::Box::new(call), + call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call), }, [ - 4u8, 172u8, 69u8, 211u8, 77u8, 162u8, 70u8, 8u8, 60u8, 79u8, 223u8, - 222u8, 210u8, 64u8, 116u8, 53u8, 161u8, 251u8, 28u8, 236u8, 12u8, - 212u8, 174u8, 0u8, 10u8, 78u8, 132u8, 232u8, 163u8, 44u8, 9u8, 200u8, + 45u8, 36u8, 20u8, 248u8, 180u8, 54u8, 108u8, 243u8, 147u8, 74u8, 234u8, + 254u8, 138u8, 186u8, 88u8, 29u8, 195u8, 57u8, 197u8, 231u8, 174u8, + 141u8, 250u8, 76u8, 93u8, 53u8, 34u8, 247u8, 103u8, 138u8, 160u8, + 198u8, ], ) } @@ -20650,8 +22081,8 @@ pub mod api { pub fn cancel_named( &self, id: types::cancel_named::Id, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Scheduler", "cancel_named", types::CancelNamed { id }, @@ -20669,20 +22100,20 @@ pub mod api { maybe_periodic: types::schedule_after::MaybePeriodic, priority: types::schedule_after::Priority, call: types::schedule_after::Call, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Scheduler", "schedule_after", types::ScheduleAfter { after, maybe_periodic, priority, - call: ::std::boxed::Box::new(call), + call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call), }, [ - 218u8, 190u8, 254u8, 33u8, 44u8, 21u8, 3u8, 225u8, 106u8, 85u8, 42u8, - 102u8, 206u8, 52u8, 225u8, 78u8, 220u8, 205u8, 130u8, 191u8, 223u8, - 152u8, 7u8, 46u8, 168u8, 251u8, 167u8, 72u8, 186u8, 102u8, 239u8, 95u8, + 161u8, 65u8, 247u8, 115u8, 13u8, 56u8, 115u8, 110u8, 92u8, 6u8, 119u8, + 247u8, 90u8, 174u8, 97u8, 217u8, 73u8, 49u8, 17u8, 2u8, 117u8, 225u8, + 251u8, 48u8, 148u8, 105u8, 136u8, 83u8, 65u8, 178u8, 65u8, 96u8, ], ) } @@ -20694,8 +22125,9 @@ pub mod api { maybe_periodic: types::schedule_named_after::MaybePeriodic, priority: types::schedule_named_after::Priority, call: types::schedule_named_after::Call, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Scheduler", "schedule_named_after", types::ScheduleNamedAfter { @@ -20703,12 +22135,12 @@ pub mod api { after, maybe_periodic, priority, - call: ::std::boxed::Box::new(call), + call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call), }, [ - 87u8, 222u8, 30u8, 136u8, 12u8, 96u8, 70u8, 211u8, 190u8, 75u8, 247u8, - 231u8, 71u8, 59u8, 62u8, 126u8, 22u8, 4u8, 237u8, 153u8, 26u8, 180u8, - 88u8, 128u8, 69u8, 55u8, 31u8, 201u8, 227u8, 95u8, 38u8, 67u8, + 215u8, 126u8, 151u8, 2u8, 165u8, 35u8, 101u8, 79u8, 101u8, 79u8, 27u8, + 17u8, 244u8, 244u8, 166u8, 173u8, 2u8, 26u8, 222u8, 154u8, 106u8, + 232u8, 202u8, 86u8, 226u8, 222u8, 9u8, 17u8, 221u8, 85u8, 85u8, 140u8, ], ) } @@ -20719,15 +22151,15 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Scheduled some task."] pub struct Scheduled { pub when: scheduled::When, @@ -20738,20 +22170,20 @@ pub mod api { pub type When = ::core::primitive::u32; pub type Index = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for Scheduled { + impl ::subxt::ext::subxt_core::events::StaticEvent for Scheduled { const PALLET: &'static str = "Scheduler"; const EVENT: &'static str = "Scheduled"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Canceled some task."] pub struct Canceled { pub when: canceled::When, @@ -20762,20 +22194,20 @@ pub mod api { pub type When = ::core::primitive::u32; pub type Index = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for Canceled { + impl ::subxt::ext::subxt_core::events::StaticEvent for Canceled { const PALLET: &'static str = "Scheduler"; const EVENT: &'static str = "Canceled"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Dispatched some task."] pub struct Dispatched { pub task: dispatched::Task, @@ -20789,20 +22221,20 @@ pub mod api { pub type Result = ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>; } - impl ::subxt::events::StaticEvent for Dispatched { + impl ::subxt::ext::subxt_core::events::StaticEvent for Dispatched { const PALLET: &'static str = "Scheduler"; const EVENT: &'static str = "Dispatched"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The call for the provided hash was not found so the task has been aborted."] pub struct CallUnavailable { pub task: call_unavailable::Task, @@ -20813,20 +22245,20 @@ pub mod api { pub type Task = (::core::primitive::u32, ::core::primitive::u32); pub type Id = ::core::option::Option<[::core::primitive::u8; 32usize]>; } - impl ::subxt::events::StaticEvent for CallUnavailable { + impl ::subxt::ext::subxt_core::events::StaticEvent for CallUnavailable { const PALLET: &'static str = "Scheduler"; const EVENT: &'static str = "CallUnavailable"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The given task was unable to be renewed since the agenda is full at that block."] pub struct PeriodicFailed { pub task: periodic_failed::Task, @@ -20837,20 +22269,20 @@ pub mod api { pub type Task = (::core::primitive::u32, ::core::primitive::u32); pub type Id = ::core::option::Option<[::core::primitive::u8; 32usize]>; } - impl ::subxt::events::StaticEvent for PeriodicFailed { + impl ::subxt::ext::subxt_core::events::StaticEvent for PeriodicFailed { const PALLET: &'static str = "Scheduler"; const EVENT: &'static str = "PeriodicFailed"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The given task can never be executed since it is overweight."] pub struct PermanentlyOverweight { pub task: permanently_overweight::Task, @@ -20861,7 +22293,7 @@ pub mod api { pub type Task = (::core::primitive::u32, ::core::primitive::u32); pub type Id = ::core::option::Option<[::core::primitive::u8; 32usize]>; } - impl ::subxt::events::StaticEvent for PermanentlyOverweight { + impl ::subxt::ext::subxt_core::events::StaticEvent for PermanentlyOverweight { const PALLET: &'static str = "Scheduler"; const EVENT: &'static str = "PermanentlyOverweight"; } @@ -20876,7 +22308,7 @@ pub mod api { } pub mod agenda { use super::runtime_types; - pub type Agenda = runtime_types::bounded_collections::bounded_vec::BoundedVec< + pub type Agenda = runtime_types::bounded_collections::bounded_vec::BoundedVec22< ::core::option::Option< runtime_types::pallet_scheduler::Scheduled< [::core::primitive::u8; 32usize], @@ -20886,7 +22318,7 @@ pub mod api { >, ::core::primitive::u32, runtime_types::rococo_runtime::OriginCaller, - ::subxt::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >, >, >; @@ -20902,17 +22334,17 @@ pub mod api { impl StorageApi { pub fn incomplete_since( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::incomplete_since::IncompleteSince, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Scheduler", "IncompleteSince", - vec![], + (), [ 250u8, 83u8, 64u8, 167u8, 205u8, 59u8, 225u8, 97u8, 205u8, 12u8, 76u8, 130u8, 197u8, 4u8, 111u8, 208u8, 92u8, 217u8, 145u8, 119u8, 38u8, @@ -20923,17 +22355,17 @@ pub mod api { #[doc = " Items to be executed, indexed by the block number that they should be executed on."] pub fn agenda_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::agenda::Agenda, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Scheduler", "Agenda", - vec![], + (), [ 247u8, 226u8, 115u8, 70u8, 172u8, 69u8, 26u8, 24u8, 46u8, 202u8, 118u8, 250u8, 111u8, 236u8, 77u8, 255u8, 26u8, 125u8, 18u8, 8u8, 24u8, 230u8, @@ -20944,20 +22376,22 @@ pub mod api { #[doc = " Items to be executed, indexed by the block number that they should be executed on."] pub fn agenda( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::agenda::Param0, + >, types::agenda::Agenda, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Scheduler", "Agenda", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 247u8, 226u8, 115u8, 70u8, 172u8, 69u8, 26u8, 24u8, 46u8, 202u8, 118u8, 250u8, 111u8, 236u8, 77u8, 255u8, 26u8, 125u8, 18u8, 8u8, 24u8, 230u8, @@ -20971,17 +22405,17 @@ pub mod api { #[doc = " identities."] pub fn lookup_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::lookup::Lookup, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Scheduler", "Lookup", - vec![], + (), [ 24u8, 87u8, 96u8, 127u8, 136u8, 205u8, 238u8, 174u8, 71u8, 110u8, 65u8, 98u8, 228u8, 167u8, 99u8, 71u8, 171u8, 186u8, 12u8, 218u8, 137u8, 70u8, @@ -20995,20 +22429,22 @@ pub mod api { #[doc = " identities."] pub fn lookup( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::lookup::Param0, + >, types::lookup::Lookup, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Scheduler", "Lookup", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 24u8, 87u8, 96u8, 127u8, 136u8, 205u8, 238u8, 174u8, 71u8, 110u8, 65u8, 98u8, 228u8, 167u8, 99u8, 71u8, 171u8, 186u8, 12u8, 218u8, 137u8, 70u8, @@ -21025,9 +22461,10 @@ pub mod api { #[doc = " The maximum weight that may be scheduled per block for any dispatchables."] pub fn maximum_weight( &self, - ) -> ::subxt::constants::Address - { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address< + runtime_types::sp_weights::weight_v2::Weight, + > { + ::subxt::ext::subxt_core::constants::Address::new_static( "Scheduler", "MaximumWeight", [ @@ -21045,8 +22482,9 @@ pub mod api { #[doc = " higher limit under `runtime-benchmarks` feature."] pub fn max_scheduled_per_block( &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Scheduler", "MaxScheduledPerBlock", [ @@ -21074,42 +22512,53 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::proxy`]."] pub struct Proxy { pub real: proxy::Real, pub force_proxy_type: proxy::ForceProxyType, - pub call: ::std::boxed::Box, + pub call: ::subxt::ext::subxt_core::alloc::boxed::Box, } pub mod proxy { use super::runtime_types; - pub type Real = ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Real = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; pub type ForceProxyType = ::core::option::Option; pub type Call = runtime_types::rococo_runtime::RuntimeCall; } - impl ::subxt::blocks::StaticExtrinsic for Proxy { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Proxy { const PALLET: &'static str = "Proxy"; const CALL: &'static str = "proxy"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::add_proxy`]."] pub struct AddProxy { pub delegate: add_proxy::Delegate, @@ -21118,25 +22567,31 @@ pub mod api { } pub mod add_proxy { use super::runtime_types; - pub type Delegate = - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Delegate = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; pub type ProxyType = runtime_types::rococo_runtime::ProxyType; pub type Delay = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for AddProxy { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AddProxy { const PALLET: &'static str = "Proxy"; const CALL: &'static str = "add_proxy"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::remove_proxy`]."] pub struct RemoveProxy { pub delegate: remove_proxy::Delegate, @@ -21145,41 +22600,51 @@ pub mod api { } pub mod remove_proxy { use super::runtime_types; - pub type Delegate = - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Delegate = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; pub type ProxyType = runtime_types::rococo_runtime::ProxyType; pub type Delay = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for RemoveProxy { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RemoveProxy { const PALLET: &'static str = "Proxy"; const CALL: &'static str = "remove_proxy"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::remove_proxies`]."] pub struct RemoveProxies; - impl ::subxt::blocks::StaticExtrinsic for RemoveProxies { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RemoveProxies { const PALLET: &'static str = "Proxy"; const CALL: &'static str = "remove_proxies"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::create_pure`]."] pub struct CreatePure { pub proxy_type: create_pure::ProxyType, @@ -21192,20 +22657,24 @@ pub mod api { pub type Delay = ::core::primitive::u32; pub type Index = ::core::primitive::u16; } - impl ::subxt::blocks::StaticExtrinsic for CreatePure { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CreatePure { const PALLET: &'static str = "Proxy"; const CALL: &'static str = "create_pure"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::kill_pure`]."] pub struct KillPure { pub spawner: kill_pure::Spawner, @@ -21218,27 +22687,33 @@ pub mod api { } pub mod kill_pure { use super::runtime_types; - pub type Spawner = - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Spawner = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; pub type ProxyType = runtime_types::rococo_runtime::ProxyType; pub type Index = ::core::primitive::u16; pub type Height = ::core::primitive::u32; pub type ExtIndex = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for KillPure { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for KillPure { const PALLET: &'static str = "Proxy"; const CALL: &'static str = "kill_pure"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::announce`]."] pub struct Announce { pub real: announce::Real, @@ -21246,23 +22721,30 @@ pub mod api { } pub mod announce { use super::runtime_types; - pub type Real = ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; - pub type CallHash = ::subxt::utils::H256; + pub type Real = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; + pub type CallHash = ::subxt::ext::subxt_core::utils::H256; } - impl ::subxt::blocks::StaticExtrinsic for Announce { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Announce { const PALLET: &'static str = "Proxy"; const CALL: &'static str = "announce"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::remove_announcement`]."] pub struct RemoveAnnouncement { pub real: remove_announcement::Real, @@ -21270,23 +22752,30 @@ pub mod api { } pub mod remove_announcement { use super::runtime_types; - pub type Real = ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; - pub type CallHash = ::subxt::utils::H256; + pub type Real = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; + pub type CallHash = ::subxt::ext::subxt_core::utils::H256; } - impl ::subxt::blocks::StaticExtrinsic for RemoveAnnouncement { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RemoveAnnouncement { const PALLET: &'static str = "Proxy"; const CALL: &'static str = "remove_announcement"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::reject_announcement`]."] pub struct RejectAnnouncement { pub delegate: reject_announcement::Delegate, @@ -21294,41 +22783,52 @@ pub mod api { } pub mod reject_announcement { use super::runtime_types; - pub type Delegate = - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; - pub type CallHash = ::subxt::utils::H256; + pub type Delegate = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; + pub type CallHash = ::subxt::ext::subxt_core::utils::H256; } - impl ::subxt::blocks::StaticExtrinsic for RejectAnnouncement { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RejectAnnouncement { const PALLET: &'static str = "Proxy"; const CALL: &'static str = "reject_announcement"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::proxy_announced`]."] pub struct ProxyAnnounced { pub delegate: proxy_announced::Delegate, pub real: proxy_announced::Real, pub force_proxy_type: proxy_announced::ForceProxyType, - pub call: ::std::boxed::Box, + pub call: ::subxt::ext::subxt_core::alloc::boxed::Box, } pub mod proxy_announced { use super::runtime_types; - pub type Delegate = - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; - pub type Real = ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Delegate = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; + pub type Real = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; pub type ForceProxyType = ::core::option::Option; pub type Call = runtime_types::rococo_runtime::RuntimeCall; } - impl ::subxt::blocks::StaticExtrinsic for ProxyAnnounced { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ProxyAnnounced { const PALLET: &'static str = "Proxy"; const CALL: &'static str = "proxy_announced"; } @@ -21341,20 +22841,19 @@ pub mod api { real: types::proxy::Real, force_proxy_type: types::proxy::ForceProxyType, call: types::proxy::Call, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Proxy", "proxy", types::Proxy { real, force_proxy_type, - call: ::std::boxed::Box::new(call), + call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call), }, [ - 244u8, 249u8, 206u8, 185u8, 48u8, 156u8, 194u8, 100u8, 198u8, 133u8, - 26u8, 248u8, 122u8, 194u8, 19u8, 42u8, 6u8, 201u8, 112u8, 79u8, 19u8, - 134u8, 145u8, 157u8, 129u8, 237u8, 139u8, 133u8, 227u8, 43u8, 56u8, - 153u8, + 98u8, 141u8, 93u8, 220u8, 59u8, 37u8, 195u8, 192u8, 188u8, 135u8, + 200u8, 219u8, 164u8, 53u8, 109u8, 30u8, 116u8, 248u8, 13u8, 14u8, 99u8, + 128u8, 30u8, 33u8, 242u8, 89u8, 73u8, 25u8, 198u8, 19u8, 252u8, 157u8, ], ) } @@ -21364,8 +22863,8 @@ pub mod api { delegate: types::add_proxy::Delegate, proxy_type: types::add_proxy::ProxyType, delay: types::add_proxy::Delay, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Proxy", "add_proxy", types::AddProxy { @@ -21387,8 +22886,8 @@ pub mod api { delegate: types::remove_proxy::Delegate, proxy_type: types::remove_proxy::ProxyType, delay: types::remove_proxy::Delay, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Proxy", "remove_proxy", types::RemoveProxy { @@ -21404,8 +22903,10 @@ pub mod api { ) } #[doc = "See [`Pallet::remove_proxies`]."] - pub fn remove_proxies(&self) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + pub fn remove_proxies( + &self, + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Proxy", "remove_proxies", types::RemoveProxies {}, @@ -21423,8 +22924,8 @@ pub mod api { proxy_type: types::create_pure::ProxyType, delay: types::create_pure::Delay, index: types::create_pure::Index, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Proxy", "create_pure", types::CreatePure { @@ -21447,8 +22948,8 @@ pub mod api { index: types::kill_pure::Index, height: types::kill_pure::Height, ext_index: types::kill_pure::ExtIndex, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Proxy", "kill_pure", types::KillPure { @@ -21470,8 +22971,8 @@ pub mod api { &self, real: types::announce::Real, call_hash: types::announce::CallHash, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Proxy", "announce", types::Announce { real, call_hash }, @@ -21488,8 +22989,9 @@ pub mod api { &self, real: types::remove_announcement::Real, call_hash: types::remove_announcement::CallHash, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Proxy", "remove_announcement", types::RemoveAnnouncement { real, call_hash }, @@ -21505,8 +23007,9 @@ pub mod api { &self, delegate: types::reject_announcement::Delegate, call_hash: types::reject_announcement::CallHash, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Proxy", "reject_announcement", types::RejectAnnouncement { @@ -21527,20 +23030,20 @@ pub mod api { real: types::proxy_announced::Real, force_proxy_type: types::proxy_announced::ForceProxyType, call: types::proxy_announced::Call, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Proxy", "proxy_announced", types::ProxyAnnounced { delegate, real, force_proxy_type, - call: ::std::boxed::Box::new(call), + call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call), }, [ - 217u8, 199u8, 199u8, 95u8, 222u8, 27u8, 176u8, 48u8, 0u8, 226u8, 245u8, - 221u8, 226u8, 48u8, 29u8, 233u8, 28u8, 187u8, 52u8, 17u8, 172u8, 42u8, - 88u8, 107u8, 61u8, 104u8, 65u8, 42u8, 35u8, 53u8, 80u8, 48u8, + 26u8, 255u8, 179u8, 183u8, 103u8, 89u8, 89u8, 142u8, 60u8, 152u8, 25u8, + 111u8, 125u8, 218u8, 47u8, 141u8, 211u8, 194u8, 193u8, 46u8, 34u8, + 134u8, 79u8, 218u8, 94u8, 45u8, 203u8, 17u8, 82u8, 3u8, 49u8, 217u8, ], ) } @@ -21551,15 +23054,15 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A proxy was executed correctly, with the given."] pub struct ProxyExecuted { pub result: proxy_executed::Result, @@ -21569,20 +23072,20 @@ pub mod api { pub type Result = ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>; } - impl ::subxt::events::StaticEvent for ProxyExecuted { + impl ::subxt::ext::subxt_core::events::StaticEvent for ProxyExecuted { const PALLET: &'static str = "Proxy"; const EVENT: &'static str = "ProxyExecuted"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A pure account has been created by new proxy with given"] #[doc = "disambiguation index and proxy type."] pub struct PureCreated { @@ -21593,25 +23096,25 @@ pub mod api { } pub mod pure_created { use super::runtime_types; - pub type Pure = ::subxt::utils::AccountId32; - pub type Who = ::subxt::utils::AccountId32; + pub type Pure = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type ProxyType = runtime_types::rococo_runtime::ProxyType; pub type DisambiguationIndex = ::core::primitive::u16; } - impl ::subxt::events::StaticEvent for PureCreated { + impl ::subxt::ext::subxt_core::events::StaticEvent for PureCreated { const PALLET: &'static str = "Proxy"; const EVENT: &'static str = "PureCreated"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An announcement was placed to make a call in the future."] pub struct Announced { pub real: announced::Real, @@ -21620,24 +23123,24 @@ pub mod api { } pub mod announced { use super::runtime_types; - pub type Real = ::subxt::utils::AccountId32; - pub type Proxy = ::subxt::utils::AccountId32; - pub type CallHash = ::subxt::utils::H256; + pub type Real = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Proxy = ::subxt::ext::subxt_core::utils::AccountId32; + pub type CallHash = ::subxt::ext::subxt_core::utils::H256; } - impl ::subxt::events::StaticEvent for Announced { + impl ::subxt::ext::subxt_core::events::StaticEvent for Announced { const PALLET: &'static str = "Proxy"; const EVENT: &'static str = "Announced"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A proxy was added."] pub struct ProxyAdded { pub delegator: proxy_added::Delegator, @@ -21647,25 +23150,25 @@ pub mod api { } pub mod proxy_added { use super::runtime_types; - pub type Delegator = ::subxt::utils::AccountId32; - pub type Delegatee = ::subxt::utils::AccountId32; + pub type Delegator = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Delegatee = ::subxt::ext::subxt_core::utils::AccountId32; pub type ProxyType = runtime_types::rococo_runtime::ProxyType; pub type Delay = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for ProxyAdded { + impl ::subxt::ext::subxt_core::events::StaticEvent for ProxyAdded { const PALLET: &'static str = "Proxy"; const EVENT: &'static str = "ProxyAdded"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A proxy was removed."] pub struct ProxyRemoved { pub delegator: proxy_removed::Delegator, @@ -21675,12 +23178,12 @@ pub mod api { } pub mod proxy_removed { use super::runtime_types; - pub type Delegator = ::subxt::utils::AccountId32; - pub type Delegatee = ::subxt::utils::AccountId32; + pub type Delegator = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Delegatee = ::subxt::ext::subxt_core::utils::AccountId32; pub type ProxyType = runtime_types::rococo_runtime::ProxyType; pub type Delay = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for ProxyRemoved { + impl ::subxt::ext::subxt_core::events::StaticEvent for ProxyRemoved { const PALLET: &'static str = "Proxy"; const EVENT: &'static str = "ProxyRemoved"; } @@ -21692,30 +23195,30 @@ pub mod api { pub mod proxies { use super::runtime_types; pub type Proxies = ( - runtime_types::bounded_collections::bounded_vec::BoundedVec< + runtime_types::bounded_collections::bounded_vec::BoundedVec23< runtime_types::pallet_proxy::ProxyDefinition< - ::subxt::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, runtime_types::rococo_runtime::ProxyType, ::core::primitive::u32, >, >, ::core::primitive::u128, ); - pub type Param0 = ::subxt::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod announcements { use super::runtime_types; pub type Announcements = ( - runtime_types::bounded_collections::bounded_vec::BoundedVec< + runtime_types::bounded_collections::bounded_vec::BoundedVec24< runtime_types::pallet_proxy::Announcement< - ::subxt::utils::AccountId32, - ::subxt::utils::H256, + ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::H256, ::core::primitive::u32, >, >, ::core::primitive::u128, ); - pub type Param0 = ::subxt::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } } pub struct StorageApi; @@ -21724,17 +23227,17 @@ pub mod api { #[doc = " which are being delegated to, together with the amount held on deposit."] pub fn proxies_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::proxies::Proxies, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Proxy", "Proxies", - vec![], + (), [ 92u8, 131u8, 10u8, 14u8, 241u8, 148u8, 230u8, 81u8, 54u8, 152u8, 147u8, 180u8, 85u8, 28u8, 87u8, 215u8, 110u8, 13u8, 158u8, 207u8, 77u8, 102u8, @@ -21746,20 +23249,22 @@ pub mod api { #[doc = " which are being delegated to, together with the amount held on deposit."] pub fn proxies( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::proxies::Param0, + >, types::proxies::Proxies, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Proxy", "Proxies", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 92u8, 131u8, 10u8, 14u8, 241u8, 148u8, 230u8, 81u8, 54u8, 152u8, 147u8, 180u8, 85u8, 28u8, 87u8, 215u8, 110u8, 13u8, 158u8, 207u8, 77u8, 102u8, @@ -21770,17 +23275,17 @@ pub mod api { #[doc = " The announcements made by the proxy (key)."] pub fn announcements_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::announcements::Announcements, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Proxy", "Announcements", - vec![], + (), [ 129u8, 228u8, 198u8, 210u8, 90u8, 69u8, 151u8, 198u8, 206u8, 174u8, 148u8, 58u8, 134u8, 14u8, 53u8, 56u8, 234u8, 71u8, 84u8, 247u8, 246u8, @@ -21792,20 +23297,22 @@ pub mod api { #[doc = " The announcements made by the proxy (key)."] pub fn announcements( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::announcements::Param0, + >, types::announcements::Announcements, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Proxy", "Announcements", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 129u8, 228u8, 198u8, 210u8, 90u8, 69u8, 151u8, 198u8, 206u8, 174u8, 148u8, 58u8, 134u8, 14u8, 53u8, 56u8, 234u8, 71u8, 84u8, 247u8, 246u8, @@ -21826,8 +23333,9 @@ pub mod api { #[doc = " `sizeof(Balance)` bytes and whose key size is `sizeof(AccountId)` bytes."] pub fn proxy_deposit_base( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u128> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Proxy", "ProxyDepositBase", [ @@ -21844,8 +23352,9 @@ pub mod api { #[doc = " into account `32 + proxy_type.encode().len()` bytes of data."] pub fn proxy_deposit_factor( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u128> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Proxy", "ProxyDepositFactor", [ @@ -21856,8 +23365,11 @@ pub mod api { ) } #[doc = " The maximum amount of proxies allowed for a single account."] - pub fn max_proxies(&self) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + pub fn max_proxies( + &self, + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Proxy", "MaxProxies", [ @@ -21869,8 +23381,11 @@ pub mod api { ) } #[doc = " The maximum amount of time-delayed announcements that are allowed to be pending."] - pub fn max_pending(&self) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + pub fn max_pending( + &self, + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Proxy", "MaxPending", [ @@ -21887,8 +23402,9 @@ pub mod api { #[doc = " bytes)."] pub fn announcement_deposit_base( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u128> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Proxy", "AnnouncementDepositBase", [ @@ -21904,8 +23420,9 @@ pub mod api { #[doc = " into a pre-existing storage value."] pub fn announcement_deposit_factor( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u128> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Proxy", "AnnouncementDepositFactor", [ @@ -21932,71 +23449,88 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::as_multi_threshold_1`]."] pub struct AsMultiThreshold1 { pub other_signatories: as_multi_threshold1::OtherSignatories, - pub call: ::std::boxed::Box, + pub call: + ::subxt::ext::subxt_core::alloc::boxed::Box, } pub mod as_multi_threshold1 { use super::runtime_types; - pub type OtherSignatories = ::std::vec::Vec<::subxt::utils::AccountId32>; + pub type OtherSignatories = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >; pub type Call = runtime_types::rococo_runtime::RuntimeCall; } - impl ::subxt::blocks::StaticExtrinsic for AsMultiThreshold1 { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AsMultiThreshold1 { const PALLET: &'static str = "Multisig"; const CALL: &'static str = "as_multi_threshold_1"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::as_multi`]."] pub struct AsMulti { pub threshold: as_multi::Threshold, pub other_signatories: as_multi::OtherSignatories, pub maybe_timepoint: as_multi::MaybeTimepoint, - pub call: ::std::boxed::Box, + pub call: ::subxt::ext::subxt_core::alloc::boxed::Box, pub max_weight: as_multi::MaxWeight, } pub mod as_multi { use super::runtime_types; pub type Threshold = ::core::primitive::u16; - pub type OtherSignatories = ::std::vec::Vec<::subxt::utils::AccountId32>; + pub type OtherSignatories = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >; pub type MaybeTimepoint = ::core::option::Option< runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>, >; pub type Call = runtime_types::rococo_runtime::RuntimeCall; pub type MaxWeight = runtime_types::sp_weights::weight_v2::Weight; } - impl ::subxt::blocks::StaticExtrinsic for AsMulti { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AsMulti { const PALLET: &'static str = "Multisig"; const CALL: &'static str = "as_multi"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::approve_as_multi`]."] pub struct ApproveAsMulti { pub threshold: approve_as_multi::Threshold, @@ -22008,27 +23542,33 @@ pub mod api { pub mod approve_as_multi { use super::runtime_types; pub type Threshold = ::core::primitive::u16; - pub type OtherSignatories = ::std::vec::Vec<::subxt::utils::AccountId32>; + pub type OtherSignatories = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >; pub type MaybeTimepoint = ::core::option::Option< runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>, >; pub type CallHash = [::core::primitive::u8; 32usize]; pub type MaxWeight = runtime_types::sp_weights::weight_v2::Weight; } - impl ::subxt::blocks::StaticExtrinsic for ApproveAsMulti { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ApproveAsMulti { const PALLET: &'static str = "Multisig"; const CALL: &'static str = "approve_as_multi"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::cancel_as_multi`]."] pub struct CancelAsMulti { pub threshold: cancel_as_multi::Threshold, @@ -22039,12 +23579,14 @@ pub mod api { pub mod cancel_as_multi { use super::runtime_types; pub type Threshold = ::core::primitive::u16; - pub type OtherSignatories = ::std::vec::Vec<::subxt::utils::AccountId32>; + pub type OtherSignatories = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >; pub type Timepoint = runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>; pub type CallHash = [::core::primitive::u8; 32usize]; } - impl ::subxt::blocks::StaticExtrinsic for CancelAsMulti { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CancelAsMulti { const PALLET: &'static str = "Multisig"; const CALL: &'static str = "cancel_as_multi"; } @@ -22056,19 +23598,20 @@ pub mod api { &self, other_signatories: types::as_multi_threshold1::OtherSignatories, call: types::as_multi_threshold1::Call, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Multisig", "as_multi_threshold_1", types::AsMultiThreshold1 { other_signatories, - call: ::std::boxed::Box::new(call), + call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call), }, [ - 228u8, 69u8, 114u8, 33u8, 253u8, 99u8, 173u8, 184u8, 219u8, 170u8, - 155u8, 9u8, 231u8, 77u8, 180u8, 97u8, 26u8, 0u8, 97u8, 107u8, 112u8, - 223u8, 207u8, 156u8, 86u8, 17u8, 115u8, 211u8, 188u8, 122u8, 51u8, - 55u8, + 193u8, 159u8, 235u8, 139u8, 215u8, 236u8, 234u8, 123u8, 30u8, 127u8, + 92u8, 58u8, 140u8, 165u8, 232u8, 42u8, 90u8, 11u8, 176u8, 101u8, 211u8, + 245u8, 255u8, 57u8, 203u8, 18u8, 250u8, 227u8, 188u8, 229u8, 241u8, + 230u8, ], ) } @@ -22080,22 +23623,22 @@ pub mod api { maybe_timepoint: types::as_multi::MaybeTimepoint, call: types::as_multi::Call, max_weight: types::as_multi::MaxWeight, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Multisig", "as_multi", types::AsMulti { threshold, other_signatories, maybe_timepoint, - call: ::std::boxed::Box::new(call), + call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call), max_weight, }, [ - 110u8, 238u8, 2u8, 11u8, 232u8, 202u8, 100u8, 39u8, 103u8, 211u8, - 204u8, 203u8, 228u8, 31u8, 206u8, 103u8, 97u8, 57u8, 217u8, 24u8, - 229u8, 237u8, 56u8, 84u8, 220u8, 240u8, 169u8, 211u8, 26u8, 98u8, 37u8, - 0u8, + 101u8, 52u8, 26u8, 235u8, 226u8, 182u8, 13u8, 173u8, 150u8, 137u8, + 150u8, 147u8, 155u8, 127u8, 99u8, 254u8, 187u8, 27u8, 109u8, 227u8, + 158u8, 249u8, 19u8, 33u8, 216u8, 156u8, 223u8, 174u8, 89u8, 95u8, 91u8, + 208u8, ], ) } @@ -22107,8 +23650,8 @@ pub mod api { maybe_timepoint: types::approve_as_multi::MaybeTimepoint, call_hash: types::approve_as_multi::CallHash, max_weight: types::approve_as_multi::MaxWeight, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Multisig", "approve_as_multi", types::ApproveAsMulti { @@ -22132,8 +23675,8 @@ pub mod api { other_signatories: types::cancel_as_multi::OtherSignatories, timepoint: types::cancel_as_multi::Timepoint, call_hash: types::cancel_as_multi::CallHash, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Multisig", "cancel_as_multi", types::CancelAsMulti { @@ -22156,15 +23699,15 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A new multisig operation has begun."] pub struct NewMultisig { pub approving: new_multisig::Approving, @@ -22173,24 +23716,24 @@ pub mod api { } pub mod new_multisig { use super::runtime_types; - pub type Approving = ::subxt::utils::AccountId32; - pub type Multisig = ::subxt::utils::AccountId32; + pub type Approving = ::subxt::ext::subxt_core::utils::AccountId32; + pub type Multisig = ::subxt::ext::subxt_core::utils::AccountId32; pub type CallHash = [::core::primitive::u8; 32usize]; } - impl ::subxt::events::StaticEvent for NewMultisig { + impl ::subxt::ext::subxt_core::events::StaticEvent for NewMultisig { const PALLET: &'static str = "Multisig"; const EVENT: &'static str = "NewMultisig"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A multisig operation has been approved by someone."] pub struct MultisigApproval { pub approving: multisig_approval::Approving, @@ -22200,26 +23743,26 @@ pub mod api { } pub mod multisig_approval { use super::runtime_types; - pub type Approving = ::subxt::utils::AccountId32; + pub type Approving = ::subxt::ext::subxt_core::utils::AccountId32; pub type Timepoint = runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>; - pub type Multisig = ::subxt::utils::AccountId32; + pub type Multisig = ::subxt::ext::subxt_core::utils::AccountId32; pub type CallHash = [::core::primitive::u8; 32usize]; } - impl ::subxt::events::StaticEvent for MultisigApproval { + impl ::subxt::ext::subxt_core::events::StaticEvent for MultisigApproval { const PALLET: &'static str = "Multisig"; const EVENT: &'static str = "MultisigApproval"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A multisig operation has been executed."] pub struct MultisigExecuted { pub approving: multisig_executed::Approving, @@ -22230,28 +23773,28 @@ pub mod api { } pub mod multisig_executed { use super::runtime_types; - pub type Approving = ::subxt::utils::AccountId32; + pub type Approving = ::subxt::ext::subxt_core::utils::AccountId32; pub type Timepoint = runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>; - pub type Multisig = ::subxt::utils::AccountId32; + pub type Multisig = ::subxt::ext::subxt_core::utils::AccountId32; pub type CallHash = [::core::primitive::u8; 32usize]; pub type Result = ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>; } - impl ::subxt::events::StaticEvent for MultisigExecuted { + impl ::subxt::ext::subxt_core::events::StaticEvent for MultisigExecuted { const PALLET: &'static str = "Multisig"; const EVENT: &'static str = "MultisigExecuted"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A multisig operation has been cancelled."] pub struct MultisigCancelled { pub cancelling: multisig_cancelled::Cancelling, @@ -22261,13 +23804,13 @@ pub mod api { } pub mod multisig_cancelled { use super::runtime_types; - pub type Cancelling = ::subxt::utils::AccountId32; + pub type Cancelling = ::subxt::ext::subxt_core::utils::AccountId32; pub type Timepoint = runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>; - pub type Multisig = ::subxt::utils::AccountId32; + pub type Multisig = ::subxt::ext::subxt_core::utils::AccountId32; pub type CallHash = [::core::primitive::u8; 32usize]; } - impl ::subxt::events::StaticEvent for MultisigCancelled { + impl ::subxt::ext::subxt_core::events::StaticEvent for MultisigCancelled { const PALLET: &'static str = "Multisig"; const EVENT: &'static str = "MultisigCancelled"; } @@ -22281,9 +23824,9 @@ pub mod api { pub type Multisigs = runtime_types::pallet_multisig::Multisig< ::core::primitive::u32, ::core::primitive::u128, - ::subxt::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >; - pub type Param0 = ::subxt::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; pub type Param1 = [::core::primitive::u8; 32usize]; } } @@ -22292,17 +23835,17 @@ pub mod api { #[doc = " The set of open multisig operations."] pub fn multisigs_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::multisigs::Multisigs, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Multisig", "Multisigs", - vec![], + (), [ 154u8, 109u8, 45u8, 18u8, 155u8, 151u8, 81u8, 28u8, 86u8, 127u8, 189u8, 151u8, 49u8, 61u8, 12u8, 149u8, 84u8, 61u8, 110u8, 197u8, 200u8, 140u8, @@ -22313,20 +23856,22 @@ pub mod api { #[doc = " The set of open multisig operations."] pub fn multisigs_iter1( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::multisigs::Param0, + >, types::multisigs::Multisigs, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Multisig", "Multisigs", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 154u8, 109u8, 45u8, 18u8, 155u8, 151u8, 81u8, 28u8, 86u8, 127u8, 189u8, 151u8, 49u8, 61u8, 12u8, 149u8, 84u8, 61u8, 110u8, 197u8, 200u8, 140u8, @@ -22337,22 +23882,33 @@ pub mod api { #[doc = " The set of open multisig operations."] pub fn multisigs( &self, - _0: impl ::std::borrow::Borrow, - _1: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::multisigs::Param0, + >, + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::multisigs::Param1, + >, + ), types::multisigs::Multisigs, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Multisig", "Multisigs", - vec![ - ::subxt::storage::address::make_static_storage_map_key(_0.borrow()), - ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), - ], + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), + ), [ 154u8, 109u8, 45u8, 18u8, 155u8, 151u8, 81u8, 28u8, 86u8, 127u8, 189u8, 151u8, 49u8, 61u8, 12u8, 149u8, 84u8, 61u8, 110u8, 197u8, 200u8, 140u8, @@ -22372,8 +23928,11 @@ pub mod api { #[doc = " This is held for an additional storage item whose value size is"] #[doc = " `4 + sizeof((BlockNumber, Balance, AccountId))` bytes and whose key size is"] #[doc = " `32 + sizeof(AccountId)` bytes."] - pub fn deposit_base(&self) -> ::subxt::constants::Address<::core::primitive::u128> { - ::subxt::constants::Address::new_static( + pub fn deposit_base( + &self, + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u128> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Multisig", "DepositBase", [ @@ -22388,8 +23947,9 @@ pub mod api { #[doc = " This is held for adding 32 bytes more into a pre-existing storage value."] pub fn deposit_factor( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u128> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Multisig", "DepositFactor", [ @@ -22402,8 +23962,9 @@ pub mod api { #[doc = " The maximum amount of signatories allowed in the multisig."] pub fn max_signatories( &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Multisig", "MaxSignatories", [ @@ -22431,112 +23992,135 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::note_preimage`]."] pub struct NotePreimage { pub bytes: note_preimage::Bytes, } pub mod note_preimage { use super::runtime_types; - pub type Bytes = ::std::vec::Vec<::core::primitive::u8>; + pub type Bytes = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } - impl ::subxt::blocks::StaticExtrinsic for NotePreimage { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for NotePreimage { const PALLET: &'static str = "Preimage"; const CALL: &'static str = "note_preimage"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::unnote_preimage`]."] pub struct UnnotePreimage { pub hash: unnote_preimage::Hash, } pub mod unnote_preimage { use super::runtime_types; - pub type Hash = ::subxt::utils::H256; + pub type Hash = ::subxt::ext::subxt_core::utils::H256; } - impl ::subxt::blocks::StaticExtrinsic for UnnotePreimage { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for UnnotePreimage { const PALLET: &'static str = "Preimage"; const CALL: &'static str = "unnote_preimage"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::request_preimage`]."] pub struct RequestPreimage { pub hash: request_preimage::Hash, } pub mod request_preimage { use super::runtime_types; - pub type Hash = ::subxt::utils::H256; + pub type Hash = ::subxt::ext::subxt_core::utils::H256; } - impl ::subxt::blocks::StaticExtrinsic for RequestPreimage { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RequestPreimage { const PALLET: &'static str = "Preimage"; const CALL: &'static str = "request_preimage"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::unrequest_preimage`]."] pub struct UnrequestPreimage { pub hash: unrequest_preimage::Hash, } pub mod unrequest_preimage { use super::runtime_types; - pub type Hash = ::subxt::utils::H256; + pub type Hash = ::subxt::ext::subxt_core::utils::H256; } - impl ::subxt::blocks::StaticExtrinsic for UnrequestPreimage { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for UnrequestPreimage { const PALLET: &'static str = "Preimage"; const CALL: &'static str = "unrequest_preimage"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::ensure_updated`]."] pub struct EnsureUpdated { pub hashes: ensure_updated::Hashes, } pub mod ensure_updated { use super::runtime_types; - pub type Hashes = ::std::vec::Vec<::subxt::utils::H256>; + pub type Hashes = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::H256, + >; } - impl ::subxt::blocks::StaticExtrinsic for EnsureUpdated { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for EnsureUpdated { const PALLET: &'static str = "Preimage"; const CALL: &'static str = "ensure_updated"; } @@ -22547,8 +24131,8 @@ pub mod api { pub fn note_preimage( &self, bytes: types::note_preimage::Bytes, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Preimage", "note_preimage", types::NotePreimage { bytes }, @@ -22563,8 +24147,8 @@ pub mod api { pub fn unnote_preimage( &self, hash: types::unnote_preimage::Hash, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Preimage", "unnote_preimage", types::UnnotePreimage { hash }, @@ -22580,8 +24164,8 @@ pub mod api { pub fn request_preimage( &self, hash: types::request_preimage::Hash, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Preimage", "request_preimage", types::RequestPreimage { hash }, @@ -22596,8 +24180,9 @@ pub mod api { pub fn unrequest_preimage( &self, hash: types::unrequest_preimage::Hash, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Preimage", "unrequest_preimage", types::UnrequestPreimage { hash }, @@ -22613,8 +24198,8 @@ pub mod api { pub fn ensure_updated( &self, hashes: types::ensure_updated::Hashes, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Preimage", "ensure_updated", types::EnsureUpdated { hashes }, @@ -22633,68 +24218,68 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A preimage has been noted."] pub struct Noted { pub hash: noted::Hash, } pub mod noted { use super::runtime_types; - pub type Hash = ::subxt::utils::H256; + pub type Hash = ::subxt::ext::subxt_core::utils::H256; } - impl ::subxt::events::StaticEvent for Noted { + impl ::subxt::ext::subxt_core::events::StaticEvent for Noted { const PALLET: &'static str = "Preimage"; const EVENT: &'static str = "Noted"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A preimage has been requested."] pub struct Requested { pub hash: requested::Hash, } pub mod requested { use super::runtime_types; - pub type Hash = ::subxt::utils::H256; + pub type Hash = ::subxt::ext::subxt_core::utils::H256; } - impl ::subxt::events::StaticEvent for Requested { + impl ::subxt::ext::subxt_core::events::StaticEvent for Requested { const PALLET: &'static str = "Preimage"; const EVENT: &'static str = "Requested"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A preimage has ben cleared."] pub struct Cleared { pub hash: cleared::Hash, } pub mod cleared { use super::runtime_types; - pub type Hash = ::subxt::utils::H256; + pub type Hash = ::subxt::ext::subxt_core::utils::H256; } - impl ::subxt::events::StaticEvent for Cleared { + impl ::subxt::ext::subxt_core::events::StaticEvent for Cleared { const PALLET: &'static str = "Preimage"; const EVENT: &'static str = "Cleared"; } @@ -22706,26 +24291,26 @@ pub mod api { pub mod status_for { use super::runtime_types; pub type StatusFor = runtime_types::pallet_preimage::OldRequestStatus< - ::subxt::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u128, >; - pub type Param0 = ::subxt::utils::H256; + pub type Param0 = ::subxt::ext::subxt_core::utils::H256; } pub mod request_status_for { use super::runtime_types; pub type RequestStatusFor = runtime_types::pallet_preimage::RequestStatus< - ::subxt::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, runtime_types::frame_support::traits::tokens::fungible::HoldConsideration, >; - pub type Param0 = ::subxt::utils::H256; + pub type Param0 = ::subxt::ext::subxt_core::utils::H256; } pub mod preimage_for { use super::runtime_types; pub type PreimageFor = - runtime_types::bounded_collections::bounded_vec::BoundedVec< + runtime_types::bounded_collections::bounded_vec::BoundedVec5< ::core::primitive::u8, >; - pub type Param0 = ::subxt::utils::H256; + pub type Param0 = ::subxt::ext::subxt_core::utils::H256; pub type Param1 = ::core::primitive::u32; } } @@ -22734,17 +24319,17 @@ pub mod api { #[doc = " The request status of a given hash."] pub fn status_for_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::status_for::StatusFor, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Preimage", "StatusFor", - vec![], + (), [ 187u8, 100u8, 54u8, 112u8, 96u8, 129u8, 36u8, 149u8, 127u8, 226u8, 126u8, 171u8, 72u8, 189u8, 59u8, 126u8, 204u8, 125u8, 67u8, 204u8, @@ -22756,20 +24341,22 @@ pub mod api { #[doc = " The request status of a given hash."] pub fn status_for( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::status_for::Param0, + >, types::status_for::StatusFor, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Preimage", "StatusFor", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 187u8, 100u8, 54u8, 112u8, 96u8, 129u8, 36u8, 149u8, 127u8, 226u8, 126u8, 171u8, 72u8, 189u8, 59u8, 126u8, 204u8, 125u8, 67u8, 204u8, @@ -22781,17 +24368,17 @@ pub mod api { #[doc = " The request status of a given hash."] pub fn request_status_for_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::request_status_for::RequestStatusFor, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Preimage", "RequestStatusFor", - vec![], + (), [ 72u8, 59u8, 254u8, 211u8, 96u8, 223u8, 10u8, 64u8, 6u8, 139u8, 213u8, 85u8, 14u8, 29u8, 166u8, 37u8, 140u8, 124u8, 186u8, 156u8, 172u8, @@ -22802,20 +24389,22 @@ pub mod api { #[doc = " The request status of a given hash."] pub fn request_status_for( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::request_status_for::Param0, + >, types::request_status_for::RequestStatusFor, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Preimage", "RequestStatusFor", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 72u8, 59u8, 254u8, 211u8, 96u8, 223u8, 10u8, 64u8, 6u8, 139u8, 213u8, 85u8, 14u8, 29u8, 166u8, 37u8, 140u8, 124u8, 186u8, 156u8, 172u8, @@ -22825,17 +24414,17 @@ pub mod api { } pub fn preimage_for_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::preimage_for::PreimageFor, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Preimage", "PreimageFor", - vec![], + (), [ 106u8, 5u8, 17u8, 46u8, 6u8, 184u8, 177u8, 113u8, 169u8, 34u8, 119u8, 141u8, 117u8, 40u8, 30u8, 94u8, 187u8, 35u8, 206u8, 216u8, 143u8, @@ -22846,20 +24435,22 @@ pub mod api { } pub fn preimage_for_iter1( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::preimage_for::Param0, + >, types::preimage_for::PreimageFor, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Preimage", "PreimageFor", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 106u8, 5u8, 17u8, 46u8, 6u8, 184u8, 177u8, 113u8, 169u8, 34u8, 119u8, 141u8, 117u8, 40u8, 30u8, 94u8, 187u8, 35u8, 206u8, 216u8, 143u8, @@ -22870,22 +24461,33 @@ pub mod api { } pub fn preimage_for( &self, - _0: impl ::std::borrow::Borrow, - _1: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::preimage_for::Param0, + >, + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::preimage_for::Param1, + >, + ), types::preimage_for::PreimageFor, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Preimage", "PreimageFor", - vec![ - ::subxt::storage::address::make_static_storage_map_key(_0.borrow()), - ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), - ], + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), + ), [ 106u8, 5u8, 17u8, 46u8, 6u8, 184u8, 177u8, 113u8, 169u8, 34u8, 119u8, 141u8, 117u8, 40u8, 30u8, 94u8, 187u8, 35u8, 206u8, 216u8, 143u8, @@ -22911,18 +24513,22 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::create`]."] pub struct Create { - pub asset_kind: ::std::boxed::Box, + pub asset_kind: ::subxt::ext::subxt_core::alloc::boxed::Box, pub rate: create::Rate, } pub mod create { @@ -22931,23 +24537,27 @@ pub mod api { runtime_types::polkadot_runtime_common::impls::VersionedLocatableAsset; pub type Rate = runtime_types::sp_arithmetic::fixed_point::FixedU128; } - impl ::subxt::blocks::StaticExtrinsic for Create { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Create { const PALLET: &'static str = "AssetRate"; const CALL: &'static str = "create"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::update`]."] pub struct Update { - pub asset_kind: ::std::boxed::Box, + pub asset_kind: ::subxt::ext::subxt_core::alloc::boxed::Box, pub rate: update::Rate, } pub mod update { @@ -22956,30 +24566,34 @@ pub mod api { runtime_types::polkadot_runtime_common::impls::VersionedLocatableAsset; pub type Rate = runtime_types::sp_arithmetic::fixed_point::FixedU128; } - impl ::subxt::blocks::StaticExtrinsic for Update { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Update { const PALLET: &'static str = "AssetRate"; const CALL: &'static str = "update"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::remove`]."] pub struct Remove { - pub asset_kind: ::std::boxed::Box, + pub asset_kind: ::subxt::ext::subxt_core::alloc::boxed::Box, } pub mod remove { use super::runtime_types; pub type AssetKind = runtime_types::polkadot_runtime_common::impls::VersionedLocatableAsset; } - impl ::subxt::blocks::StaticExtrinsic for Remove { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Remove { const PALLET: &'static str = "AssetRate"; const CALL: &'static str = "remove"; } @@ -22991,12 +24605,14 @@ pub mod api { &self, asset_kind: types::create::AssetKind, rate: types::create::Rate, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "AssetRate", "create", types::Create { - asset_kind: ::std::boxed::Box::new(asset_kind), + asset_kind: ::subxt::ext::subxt_core::alloc::boxed::Box::new( + asset_kind, + ), rate, }, [ @@ -23012,12 +24628,14 @@ pub mod api { &self, asset_kind: types::update::AssetKind, rate: types::update::Rate, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "AssetRate", "update", types::Update { - asset_kind: ::std::boxed::Box::new(asset_kind), + asset_kind: ::subxt::ext::subxt_core::alloc::boxed::Box::new( + asset_kind, + ), rate, }, [ @@ -23032,12 +24650,14 @@ pub mod api { pub fn remove( &self, asset_kind: types::remove::AssetKind, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "AssetRate", "remove", types::Remove { - asset_kind: ::std::boxed::Box::new(asset_kind), + asset_kind: ::subxt::ext::subxt_core::alloc::boxed::Box::new( + asset_kind, + ), }, [ 229u8, 203u8, 96u8, 158u8, 162u8, 236u8, 80u8, 239u8, 106u8, 193u8, @@ -23054,15 +24674,15 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct AssetRateCreated { pub asset_kind: asset_rate_created::AssetKind, pub rate: asset_rate_created::Rate, @@ -23073,20 +24693,20 @@ pub mod api { runtime_types::polkadot_runtime_common::impls::VersionedLocatableAsset; pub type Rate = runtime_types::sp_arithmetic::fixed_point::FixedU128; } - impl ::subxt::events::StaticEvent for AssetRateCreated { + impl ::subxt::ext::subxt_core::events::StaticEvent for AssetRateCreated { const PALLET: &'static str = "AssetRate"; const EVENT: &'static str = "AssetRateCreated"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct AssetRateRemoved { pub asset_kind: asset_rate_removed::AssetKind, } @@ -23095,20 +24715,20 @@ pub mod api { pub type AssetKind = runtime_types::polkadot_runtime_common::impls::VersionedLocatableAsset; } - impl ::subxt::events::StaticEvent for AssetRateRemoved { + impl ::subxt::ext::subxt_core::events::StaticEvent for AssetRateRemoved { const PALLET: &'static str = "AssetRate"; const EVENT: &'static str = "AssetRateRemoved"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct AssetRateUpdated { pub asset_kind: asset_rate_updated::AssetKind, pub old: asset_rate_updated::Old, @@ -23121,7 +24741,7 @@ pub mod api { pub type Old = runtime_types::sp_arithmetic::fixed_point::FixedU128; pub type New = runtime_types::sp_arithmetic::fixed_point::FixedU128; } - impl ::subxt::events::StaticEvent for AssetRateUpdated { + impl ::subxt::ext::subxt_core::events::StaticEvent for AssetRateUpdated { const PALLET: &'static str = "AssetRate"; const EVENT: &'static str = "AssetRateUpdated"; } @@ -23145,17 +24765,17 @@ pub mod api { #[doc = " E.g. `native_amount = asset_amount * ConversionRateToNative::::get(asset_kind)`"] pub fn conversion_rate_to_native_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::conversion_rate_to_native::ConversionRateToNative, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "AssetRate", "ConversionRateToNative", - vec![], + (), [ 211u8, 210u8, 178u8, 27u8, 157u8, 1u8, 68u8, 252u8, 84u8, 174u8, 141u8, 185u8, 177u8, 39u8, 49u8, 35u8, 65u8, 254u8, 204u8, 246u8, 132u8, 59u8, @@ -23168,20 +24788,22 @@ pub mod api { #[doc = " E.g. `native_amount = asset_amount * ConversionRateToNative::::get(asset_kind)`"] pub fn conversion_rate_to_native( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::conversion_rate_to_native::Param0, + >, types::conversion_rate_to_native::ConversionRateToNative, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "AssetRate", "ConversionRateToNative", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 211u8, 210u8, 178u8, 27u8, 157u8, 1u8, 68u8, 252u8, 84u8, 174u8, 141u8, 185u8, 177u8, 39u8, 49u8, 35u8, 65u8, 254u8, 204u8, 246u8, 132u8, 59u8, @@ -23206,15 +24828,19 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::propose_bounty`]."] pub struct ProposeBounty { #[codec(compact)] @@ -23224,22 +24850,27 @@ pub mod api { pub mod propose_bounty { use super::runtime_types; pub type Value = ::core::primitive::u128; - pub type Description = ::std::vec::Vec<::core::primitive::u8>; + pub type Description = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } - impl ::subxt::blocks::StaticExtrinsic for ProposeBounty { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ProposeBounty { const PALLET: &'static str = "Bounties"; const CALL: &'static str = "propose_bounty"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::approve_bounty`]."] pub struct ApproveBounty { #[codec(compact)] @@ -23249,20 +24880,24 @@ pub mod api { use super::runtime_types; pub type BountyId = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for ApproveBounty { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ApproveBounty { const PALLET: &'static str = "Bounties"; const CALL: &'static str = "approve_bounty"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::propose_curator`]."] pub struct ProposeCurator { #[codec(compact)] @@ -23274,24 +24909,30 @@ pub mod api { pub mod propose_curator { use super::runtime_types; pub type BountyId = ::core::primitive::u32; - pub type Curator = - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Curator = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; pub type Fee = ::core::primitive::u128; } - impl ::subxt::blocks::StaticExtrinsic for ProposeCurator { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ProposeCurator { const PALLET: &'static str = "Bounties"; const CALL: &'static str = "propose_curator"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::unassign_curator`]."] pub struct UnassignCurator { #[codec(compact)] @@ -23301,20 +24942,24 @@ pub mod api { use super::runtime_types; pub type BountyId = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for UnassignCurator { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for UnassignCurator { const PALLET: &'static str = "Bounties"; const CALL: &'static str = "unassign_curator"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::accept_curator`]."] pub struct AcceptCurator { #[codec(compact)] @@ -23324,20 +24969,24 @@ pub mod api { use super::runtime_types; pub type BountyId = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for AcceptCurator { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AcceptCurator { const PALLET: &'static str = "Bounties"; const CALL: &'static str = "accept_curator"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::award_bounty`]."] pub struct AwardBounty { #[codec(compact)] @@ -23347,23 +24996,29 @@ pub mod api { pub mod award_bounty { use super::runtime_types; pub type BountyId = ::core::primitive::u32; - pub type Beneficiary = - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Beneficiary = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; } - impl ::subxt::blocks::StaticExtrinsic for AwardBounty { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AwardBounty { const PALLET: &'static str = "Bounties"; const CALL: &'static str = "award_bounty"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::claim_bounty`]."] pub struct ClaimBounty { #[codec(compact)] @@ -23373,20 +25028,24 @@ pub mod api { use super::runtime_types; pub type BountyId = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for ClaimBounty { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ClaimBounty { const PALLET: &'static str = "Bounties"; const CALL: &'static str = "claim_bounty"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::close_bounty`]."] pub struct CloseBounty { #[codec(compact)] @@ -23396,20 +25055,24 @@ pub mod api { use super::runtime_types; pub type BountyId = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for CloseBounty { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CloseBounty { const PALLET: &'static str = "Bounties"; const CALL: &'static str = "close_bounty"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::extend_bounty_expiry`]."] pub struct ExtendBountyExpiry { #[codec(compact)] @@ -23419,9 +25082,10 @@ pub mod api { pub mod extend_bounty_expiry { use super::runtime_types; pub type BountyId = ::core::primitive::u32; - pub type Remark = ::std::vec::Vec<::core::primitive::u8>; + pub type Remark = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } - impl ::subxt::blocks::StaticExtrinsic for ExtendBountyExpiry { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ExtendBountyExpiry { const PALLET: &'static str = "Bounties"; const CALL: &'static str = "extend_bounty_expiry"; } @@ -23433,8 +25097,8 @@ pub mod api { &self, value: types::propose_bounty::Value, description: types::propose_bounty::Description, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Bounties", "propose_bounty", types::ProposeBounty { value, description }, @@ -23449,8 +25113,8 @@ pub mod api { pub fn approve_bounty( &self, bounty_id: types::approve_bounty::BountyId, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Bounties", "approve_bounty", types::ApproveBounty { bounty_id }, @@ -23468,8 +25132,8 @@ pub mod api { bounty_id: types::propose_curator::BountyId, curator: types::propose_curator::Curator, fee: types::propose_curator::Fee, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Bounties", "propose_curator", types::ProposeCurator { @@ -23488,8 +25152,8 @@ pub mod api { pub fn unassign_curator( &self, bounty_id: types::unassign_curator::BountyId, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Bounties", "unassign_curator", types::UnassignCurator { bounty_id }, @@ -23505,8 +25169,8 @@ pub mod api { pub fn accept_curator( &self, bounty_id: types::accept_curator::BountyId, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Bounties", "accept_curator", types::AcceptCurator { bounty_id }, @@ -23522,8 +25186,8 @@ pub mod api { &self, bounty_id: types::award_bounty::BountyId, beneficiary: types::award_bounty::Beneficiary, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Bounties", "award_bounty", types::AwardBounty { @@ -23541,8 +25205,8 @@ pub mod api { pub fn claim_bounty( &self, bounty_id: types::claim_bounty::BountyId, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Bounties", "claim_bounty", types::ClaimBounty { bounty_id }, @@ -23558,8 +25222,8 @@ pub mod api { pub fn close_bounty( &self, bounty_id: types::close_bounty::BountyId, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Bounties", "close_bounty", types::CloseBounty { bounty_id }, @@ -23576,8 +25240,9 @@ pub mod api { &self, bounty_id: types::extend_bounty_expiry::BountyId, remark: types::extend_bounty_expiry::Remark, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Bounties", "extend_bounty_expiry", types::ExtendBountyExpiry { bounty_id, remark }, @@ -23596,15 +25261,15 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "New bounty proposal."] pub struct BountyProposed { pub index: bounty_proposed::Index, @@ -23613,20 +25278,20 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for BountyProposed { + impl ::subxt::ext::subxt_core::events::StaticEvent for BountyProposed { const PALLET: &'static str = "Bounties"; const EVENT: &'static str = "BountyProposed"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A bounty proposal was rejected; funds were slashed."] pub struct BountyRejected { pub index: bounty_rejected::Index, @@ -23637,20 +25302,20 @@ pub mod api { pub type Index = ::core::primitive::u32; pub type Bond = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for BountyRejected { + impl ::subxt::ext::subxt_core::events::StaticEvent for BountyRejected { const PALLET: &'static str = "Bounties"; const EVENT: &'static str = "BountyRejected"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A bounty proposal is funded and became active."] pub struct BountyBecameActive { pub index: bounty_became_active::Index, @@ -23659,20 +25324,20 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for BountyBecameActive { + impl ::subxt::ext::subxt_core::events::StaticEvent for BountyBecameActive { const PALLET: &'static str = "Bounties"; const EVENT: &'static str = "BountyBecameActive"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A bounty is awarded to a beneficiary."] pub struct BountyAwarded { pub index: bounty_awarded::Index, @@ -23681,22 +25346,22 @@ pub mod api { pub mod bounty_awarded { use super::runtime_types; pub type Index = ::core::primitive::u32; - pub type Beneficiary = ::subxt::utils::AccountId32; + pub type Beneficiary = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt::events::StaticEvent for BountyAwarded { + impl ::subxt::ext::subxt_core::events::StaticEvent for BountyAwarded { const PALLET: &'static str = "Bounties"; const EVENT: &'static str = "BountyAwarded"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A bounty is claimed by beneficiary."] pub struct BountyClaimed { pub index: bounty_claimed::Index, @@ -23707,22 +25372,22 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; pub type Payout = ::core::primitive::u128; - pub type Beneficiary = ::subxt::utils::AccountId32; + pub type Beneficiary = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt::events::StaticEvent for BountyClaimed { + impl ::subxt::ext::subxt_core::events::StaticEvent for BountyClaimed { const PALLET: &'static str = "Bounties"; const EVENT: &'static str = "BountyClaimed"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A bounty is cancelled."] pub struct BountyCanceled { pub index: bounty_canceled::Index, @@ -23731,20 +25396,20 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for BountyCanceled { + impl ::subxt::ext::subxt_core::events::StaticEvent for BountyCanceled { const PALLET: &'static str = "Bounties"; const EVENT: &'static str = "BountyCanceled"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A bounty expiry is extended."] pub struct BountyExtended { pub index: bounty_extended::Index, @@ -23753,20 +25418,20 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for BountyExtended { + impl ::subxt::ext::subxt_core::events::StaticEvent for BountyExtended { const PALLET: &'static str = "Bounties"; const EVENT: &'static str = "BountyExtended"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A bounty is approved."] pub struct BountyApproved { pub index: bounty_approved::Index, @@ -23775,20 +25440,20 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for BountyApproved { + impl ::subxt::ext::subxt_core::events::StaticEvent for BountyApproved { const PALLET: &'static str = "Bounties"; const EVENT: &'static str = "BountyApproved"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A bounty curator is proposed."] pub struct CuratorProposed { pub bounty_id: curator_proposed::BountyId, @@ -23797,22 +25462,22 @@ pub mod api { pub mod curator_proposed { use super::runtime_types; pub type BountyId = ::core::primitive::u32; - pub type Curator = ::subxt::utils::AccountId32; + pub type Curator = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt::events::StaticEvent for CuratorProposed { + impl ::subxt::ext::subxt_core::events::StaticEvent for CuratorProposed { const PALLET: &'static str = "Bounties"; const EVENT: &'static str = "CuratorProposed"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A bounty curator is unassigned."] pub struct CuratorUnassigned { pub bounty_id: curator_unassigned::BountyId, @@ -23821,20 +25486,20 @@ pub mod api { use super::runtime_types; pub type BountyId = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for CuratorUnassigned { + impl ::subxt::ext::subxt_core::events::StaticEvent for CuratorUnassigned { const PALLET: &'static str = "Bounties"; const EVENT: &'static str = "CuratorUnassigned"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A bounty curator is accepted."] pub struct CuratorAccepted { pub bounty_id: curator_accepted::BountyId, @@ -23843,9 +25508,9 @@ pub mod api { pub mod curator_accepted { use super::runtime_types; pub type BountyId = ::core::primitive::u32; - pub type Curator = ::subxt::utils::AccountId32; + pub type Curator = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt::events::StaticEvent for CuratorAccepted { + impl ::subxt::ext::subxt_core::events::StaticEvent for CuratorAccepted { const PALLET: &'static str = "Bounties"; const EVENT: &'static str = "CuratorAccepted"; } @@ -23861,7 +25526,7 @@ pub mod api { pub mod bounties { use super::runtime_types; pub type Bounties = runtime_types::pallet_bounties::Bounty< - ::subxt::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u128, ::core::primitive::u32, >; @@ -23870,7 +25535,7 @@ pub mod api { pub mod bounty_descriptions { use super::runtime_types; pub type BountyDescriptions = - runtime_types::bounded_collections::bounded_vec::BoundedVec< + runtime_types::bounded_collections::bounded_vec::BoundedVec5< ::core::primitive::u8, >; pub type Param0 = ::core::primitive::u32; @@ -23878,7 +25543,7 @@ pub mod api { pub mod bounty_approvals { use super::runtime_types; pub type BountyApprovals = - runtime_types::bounded_collections::bounded_vec::BoundedVec< + runtime_types::bounded_collections::bounded_vec::BoundedVec12< ::core::primitive::u32, >; } @@ -23888,17 +25553,17 @@ pub mod api { #[doc = " Number of bounty proposals that have been made."] pub fn bounty_count( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::bounty_count::BountyCount, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Bounties", "BountyCount", - vec![], + (), [ 120u8, 204u8, 26u8, 150u8, 37u8, 81u8, 43u8, 223u8, 180u8, 252u8, 142u8, 144u8, 109u8, 5u8, 184u8, 72u8, 223u8, 230u8, 66u8, 196u8, 14u8, @@ -23910,17 +25575,17 @@ pub mod api { #[doc = " Bounties that have been made."] pub fn bounties_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::bounties::Bounties, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Bounties", "Bounties", - vec![], + (), [ 183u8, 96u8, 172u8, 86u8, 167u8, 129u8, 51u8, 179u8, 238u8, 155u8, 196u8, 77u8, 158u8, 102u8, 188u8, 19u8, 79u8, 178u8, 145u8, 189u8, @@ -23932,20 +25597,22 @@ pub mod api { #[doc = " Bounties that have been made."] pub fn bounties( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::bounties::Param0, + >, types::bounties::Bounties, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Bounties", "Bounties", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 183u8, 96u8, 172u8, 86u8, 167u8, 129u8, 51u8, 179u8, 238u8, 155u8, 196u8, 77u8, 158u8, 102u8, 188u8, 19u8, 79u8, 178u8, 145u8, 189u8, @@ -23957,17 +25624,17 @@ pub mod api { #[doc = " The description of each bounty."] pub fn bounty_descriptions_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::bounty_descriptions::BountyDescriptions, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Bounties", "BountyDescriptions", - vec![], + (), [ 71u8, 40u8, 133u8, 84u8, 55u8, 207u8, 169u8, 189u8, 160u8, 51u8, 202u8, 144u8, 15u8, 226u8, 97u8, 114u8, 54u8, 247u8, 53u8, 26u8, 36u8, 54u8, @@ -23978,20 +25645,22 @@ pub mod api { #[doc = " The description of each bounty."] pub fn bounty_descriptions( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::bounty_descriptions::Param0, + >, types::bounty_descriptions::BountyDescriptions, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Bounties", "BountyDescriptions", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 71u8, 40u8, 133u8, 84u8, 55u8, 207u8, 169u8, 189u8, 160u8, 51u8, 202u8, 144u8, 15u8, 226u8, 97u8, 114u8, 54u8, 247u8, 53u8, 26u8, 36u8, 54u8, @@ -24002,17 +25671,17 @@ pub mod api { #[doc = " Bounty indices that have been approved but not yet funded."] pub fn bounty_approvals( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::bounty_approvals::BountyApprovals, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Bounties", "BountyApprovals", - vec![], + (), [ 182u8, 228u8, 0u8, 46u8, 176u8, 25u8, 222u8, 180u8, 51u8, 57u8, 14u8, 0u8, 69u8, 160u8, 64u8, 27u8, 88u8, 29u8, 227u8, 146u8, 2u8, 121u8, @@ -24029,8 +25698,9 @@ pub mod api { #[doc = " The amount held on deposit for placing a bounty proposal."] pub fn bounty_deposit_base( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u128> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Bounties", "BountyDepositBase", [ @@ -24043,8 +25713,9 @@ pub mod api { #[doc = " The delay period for which a bounty beneficiary need to wait before claim the payout."] pub fn bounty_deposit_payout_delay( &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Bounties", "BountyDepositPayoutDelay", [ @@ -24058,8 +25729,9 @@ pub mod api { #[doc = " Bounty duration in blocks."] pub fn bounty_update_period( &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Bounties", "BountyUpdatePeriod", [ @@ -24076,9 +25748,10 @@ pub mod api { #[doc = " `CuratorDepositMin`."] pub fn curator_deposit_multiplier( &self, - ) -> ::subxt::constants::Address - { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address< + runtime_types::sp_arithmetic::per_things::Permill, + > { + ::subxt::ext::subxt_core::constants::Address::new_static( "Bounties", "CuratorDepositMultiplier", [ @@ -24091,9 +25764,10 @@ pub mod api { #[doc = " Maximum amount of funds that should be placed in a deposit for making a proposal."] pub fn curator_deposit_max( &self, - ) -> ::subxt::constants::Address<::core::option::Option<::core::primitive::u128>> - { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address< + ::core::option::Option<::core::primitive::u128>, + > { + ::subxt::ext::subxt_core::constants::Address::new_static( "Bounties", "CuratorDepositMax", [ @@ -24107,9 +25781,10 @@ pub mod api { #[doc = " Minimum amount of funds that should be placed in a deposit for making a proposal."] pub fn curator_deposit_min( &self, - ) -> ::subxt::constants::Address<::core::option::Option<::core::primitive::u128>> - { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address< + ::core::option::Option<::core::primitive::u128>, + > { + ::subxt::ext::subxt_core::constants::Address::new_static( "Bounties", "CuratorDepositMin", [ @@ -24123,8 +25798,9 @@ pub mod api { #[doc = " Minimum value for a bounty."] pub fn bounty_value_minimum( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u128> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Bounties", "BountyValueMinimum", [ @@ -24137,8 +25813,9 @@ pub mod api { #[doc = " The amount held on deposit per byte within the tip report reason or bounty description."] pub fn data_deposit_per_byte( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u128> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Bounties", "DataDepositPerByte", [ @@ -24153,8 +25830,9 @@ pub mod api { #[doc = " Benchmarks depend on this value, be sure to update weights file when changing this value"] pub fn maximum_reason_length( &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Bounties", "MaximumReasonLength", [ @@ -24182,15 +25860,19 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::add_child_bounty`]."] pub struct AddChildBounty { #[codec(compact)] @@ -24203,22 +25885,27 @@ pub mod api { use super::runtime_types; pub type ParentBountyId = ::core::primitive::u32; pub type Value = ::core::primitive::u128; - pub type Description = ::std::vec::Vec<::core::primitive::u8>; + pub type Description = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } - impl ::subxt::blocks::StaticExtrinsic for AddChildBounty { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AddChildBounty { const PALLET: &'static str = "ChildBounties"; const CALL: &'static str = "add_child_bounty"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::propose_curator`]."] pub struct ProposeCurator { #[codec(compact)] @@ -24233,24 +25920,30 @@ pub mod api { use super::runtime_types; pub type ParentBountyId = ::core::primitive::u32; pub type ChildBountyId = ::core::primitive::u32; - pub type Curator = - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Curator = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; pub type Fee = ::core::primitive::u128; } - impl ::subxt::blocks::StaticExtrinsic for ProposeCurator { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ProposeCurator { const PALLET: &'static str = "ChildBounties"; const CALL: &'static str = "propose_curator"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::accept_curator`]."] pub struct AcceptCurator { #[codec(compact)] @@ -24263,20 +25956,24 @@ pub mod api { pub type ParentBountyId = ::core::primitive::u32; pub type ChildBountyId = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for AcceptCurator { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AcceptCurator { const PALLET: &'static str = "ChildBounties"; const CALL: &'static str = "accept_curator"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::unassign_curator`]."] pub struct UnassignCurator { #[codec(compact)] @@ -24289,20 +25986,24 @@ pub mod api { pub type ParentBountyId = ::core::primitive::u32; pub type ChildBountyId = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for UnassignCurator { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for UnassignCurator { const PALLET: &'static str = "ChildBounties"; const CALL: &'static str = "unassign_curator"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::award_child_bounty`]."] pub struct AwardChildBounty { #[codec(compact)] @@ -24315,23 +26016,29 @@ pub mod api { use super::runtime_types; pub type ParentBountyId = ::core::primitive::u32; pub type ChildBountyId = ::core::primitive::u32; - pub type Beneficiary = - ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Beneficiary = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; } - impl ::subxt::blocks::StaticExtrinsic for AwardChildBounty { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AwardChildBounty { const PALLET: &'static str = "ChildBounties"; const CALL: &'static str = "award_child_bounty"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::claim_child_bounty`]."] pub struct ClaimChildBounty { #[codec(compact)] @@ -24344,20 +26051,24 @@ pub mod api { pub type ParentBountyId = ::core::primitive::u32; pub type ChildBountyId = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for ClaimChildBounty { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ClaimChildBounty { const PALLET: &'static str = "ChildBounties"; const CALL: &'static str = "claim_child_bounty"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::close_child_bounty`]."] pub struct CloseChildBounty { #[codec(compact)] @@ -24370,7 +26081,7 @@ pub mod api { pub type ParentBountyId = ::core::primitive::u32; pub type ChildBountyId = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for CloseChildBounty { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CloseChildBounty { const PALLET: &'static str = "ChildBounties"; const CALL: &'static str = "close_child_bounty"; } @@ -24383,8 +26094,8 @@ pub mod api { parent_bounty_id: types::add_child_bounty::ParentBountyId, value: types::add_child_bounty::Value, description: types::add_child_bounty::Description, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "ChildBounties", "add_child_bounty", types::AddChildBounty { @@ -24407,8 +26118,8 @@ pub mod api { child_bounty_id: types::propose_curator::ChildBountyId, curator: types::propose_curator::Curator, fee: types::propose_curator::Fee, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "ChildBounties", "propose_curator", types::ProposeCurator { @@ -24429,8 +26140,8 @@ pub mod api { &self, parent_bounty_id: types::accept_curator::ParentBountyId, child_bounty_id: types::accept_curator::ChildBountyId, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "ChildBounties", "accept_curator", types::AcceptCurator { @@ -24450,8 +26161,8 @@ pub mod api { &self, parent_bounty_id: types::unassign_curator::ParentBountyId, child_bounty_id: types::unassign_curator::ChildBountyId, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "ChildBounties", "unassign_curator", types::UnassignCurator { @@ -24472,8 +26183,9 @@ pub mod api { parent_bounty_id: types::award_child_bounty::ParentBountyId, child_bounty_id: types::award_child_bounty::ChildBountyId, beneficiary: types::award_child_bounty::Beneficiary, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "ChildBounties", "award_child_bounty", types::AwardChildBounty { @@ -24493,8 +26205,9 @@ pub mod api { &self, parent_bounty_id: types::claim_child_bounty::ParentBountyId, child_bounty_id: types::claim_child_bounty::ChildBountyId, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "ChildBounties", "claim_child_bounty", types::ClaimChildBounty { @@ -24513,8 +26226,9 @@ pub mod api { &self, parent_bounty_id: types::close_child_bounty::ParentBountyId, child_bounty_id: types::close_child_bounty::ChildBountyId, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "ChildBounties", "close_child_bounty", types::CloseChildBounty { @@ -24535,15 +26249,15 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A child-bounty is added."] pub struct Added { pub index: added::Index, @@ -24554,20 +26268,20 @@ pub mod api { pub type Index = ::core::primitive::u32; pub type ChildIndex = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for Added { + impl ::subxt::ext::subxt_core::events::StaticEvent for Added { const PALLET: &'static str = "ChildBounties"; const EVENT: &'static str = "Added"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A child-bounty is awarded to a beneficiary."] pub struct Awarded { pub index: awarded::Index, @@ -24578,22 +26292,22 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; pub type ChildIndex = ::core::primitive::u32; - pub type Beneficiary = ::subxt::utils::AccountId32; + pub type Beneficiary = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt::events::StaticEvent for Awarded { + impl ::subxt::ext::subxt_core::events::StaticEvent for Awarded { const PALLET: &'static str = "ChildBounties"; const EVENT: &'static str = "Awarded"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A child-bounty is claimed by beneficiary."] pub struct Claimed { pub index: claimed::Index, @@ -24606,22 +26320,22 @@ pub mod api { pub type Index = ::core::primitive::u32; pub type ChildIndex = ::core::primitive::u32; pub type Payout = ::core::primitive::u128; - pub type Beneficiary = ::subxt::utils::AccountId32; + pub type Beneficiary = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt::events::StaticEvent for Claimed { + impl ::subxt::ext::subxt_core::events::StaticEvent for Claimed { const PALLET: &'static str = "ChildBounties"; const EVENT: &'static str = "Claimed"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A child-bounty is cancelled."] pub struct Canceled { pub index: canceled::Index, @@ -24632,7 +26346,7 @@ pub mod api { pub type Index = ::core::primitive::u32; pub type ChildIndex = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for Canceled { + impl ::subxt::ext::subxt_core::events::StaticEvent for Canceled { const PALLET: &'static str = "ChildBounties"; const EVENT: &'static str = "Canceled"; } @@ -24653,7 +26367,7 @@ pub mod api { pub mod child_bounties { use super::runtime_types; pub type ChildBounties = runtime_types::pallet_child_bounties::ChildBounty< - ::subxt::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u128, ::core::primitive::u32, >; @@ -24663,7 +26377,7 @@ pub mod api { pub mod child_bounty_descriptions { use super::runtime_types; pub type ChildBountyDescriptions = - runtime_types::bounded_collections::bounded_vec::BoundedVec< + runtime_types::bounded_collections::bounded_vec::BoundedVec5< ::core::primitive::u8, >; pub type Param0 = ::core::primitive::u32; @@ -24679,17 +26393,17 @@ pub mod api { #[doc = " Number of total child bounties."] pub fn child_bounty_count( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::child_bounty_count::ChildBountyCount, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ChildBounties", "ChildBountyCount", - vec![], + (), [ 206u8, 1u8, 40u8, 132u8, 51u8, 139u8, 234u8, 20u8, 89u8, 86u8, 247u8, 107u8, 169u8, 252u8, 5u8, 180u8, 218u8, 24u8, 232u8, 94u8, 82u8, 135u8, @@ -24701,17 +26415,17 @@ pub mod api { #[doc = " Map of parent bounty index to number of child bounties."] pub fn parent_child_bounties_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::parent_child_bounties::ParentChildBounties, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ChildBounties", "ParentChildBounties", - vec![], + (), [ 52u8, 179u8, 242u8, 212u8, 91u8, 185u8, 176u8, 52u8, 100u8, 200u8, 1u8, 41u8, 184u8, 234u8, 234u8, 8u8, 123u8, 252u8, 131u8, 55u8, 109u8, @@ -24723,20 +26437,22 @@ pub mod api { #[doc = " Map of parent bounty index to number of child bounties."] pub fn parent_child_bounties( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::parent_child_bounties::Param0, + >, types::parent_child_bounties::ParentChildBounties, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ChildBounties", "ParentChildBounties", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 52u8, 179u8, 242u8, 212u8, 91u8, 185u8, 176u8, 52u8, 100u8, 200u8, 1u8, 41u8, 184u8, 234u8, 234u8, 8u8, 123u8, 252u8, 131u8, 55u8, 109u8, @@ -24747,17 +26463,17 @@ pub mod api { #[doc = " Child bounties that have been added."] pub fn child_bounties_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::child_bounties::ChildBounties, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ChildBounties", "ChildBounties", - vec![], + (), [ 165u8, 240u8, 158u8, 204u8, 183u8, 190u8, 129u8, 65u8, 226u8, 8u8, 182u8, 103u8, 46u8, 162u8, 35u8, 155u8, 131u8, 45u8, 163u8, 64u8, @@ -24769,20 +26485,22 @@ pub mod api { #[doc = " Child bounties that have been added."] pub fn child_bounties_iter1( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::child_bounties::Param0, + >, types::child_bounties::ChildBounties, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ChildBounties", "ChildBounties", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 165u8, 240u8, 158u8, 204u8, 183u8, 190u8, 129u8, 65u8, 226u8, 8u8, 182u8, 103u8, 46u8, 162u8, 35u8, 155u8, 131u8, 45u8, 163u8, 64u8, @@ -24794,22 +26512,33 @@ pub mod api { #[doc = " Child bounties that have been added."] pub fn child_bounties( &self, - _0: impl ::std::borrow::Borrow, - _1: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::child_bounties::Param0, + >, + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::child_bounties::Param1, + >, + ), types::child_bounties::ChildBounties, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ChildBounties", "ChildBounties", - vec![ - ::subxt::storage::address::make_static_storage_map_key(_0.borrow()), - ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), - ], + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), + ), [ 165u8, 240u8, 158u8, 204u8, 183u8, 190u8, 129u8, 65u8, 226u8, 8u8, 182u8, 103u8, 46u8, 162u8, 35u8, 155u8, 131u8, 45u8, 163u8, 64u8, @@ -24821,17 +26550,17 @@ pub mod api { #[doc = " The description of each child-bounty."] pub fn child_bounty_descriptions_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::child_bounty_descriptions::ChildBountyDescriptions, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ChildBounties", "ChildBountyDescriptions", - vec![], + (), [ 192u8, 0u8, 220u8, 156u8, 109u8, 65u8, 113u8, 102u8, 119u8, 0u8, 109u8, 141u8, 211u8, 128u8, 237u8, 61u8, 28u8, 56u8, 206u8, 93u8, 183u8, 74u8, @@ -24842,20 +26571,22 @@ pub mod api { #[doc = " The description of each child-bounty."] pub fn child_bounty_descriptions( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::child_bounty_descriptions::Param0, + >, types::child_bounty_descriptions::ChildBountyDescriptions, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ChildBounties", "ChildBountyDescriptions", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 192u8, 0u8, 220u8, 156u8, 109u8, 65u8, 113u8, 102u8, 119u8, 0u8, 109u8, 141u8, 211u8, 128u8, 237u8, 61u8, 28u8, 56u8, 206u8, 93u8, 183u8, 74u8, @@ -24866,17 +26597,17 @@ pub mod api { #[doc = " The cumulative child-bounty curator fee for each parent bounty."] pub fn children_curator_fees_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::children_curator_fees::ChildrenCuratorFees, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ChildBounties", "ChildrenCuratorFees", - vec![], + (), [ 32u8, 16u8, 190u8, 193u8, 6u8, 80u8, 163u8, 16u8, 85u8, 111u8, 39u8, 141u8, 209u8, 70u8, 213u8, 167u8, 22u8, 12u8, 93u8, 17u8, 104u8, 94u8, @@ -24887,20 +26618,22 @@ pub mod api { #[doc = " The cumulative child-bounty curator fee for each parent bounty."] pub fn children_curator_fees( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::children_curator_fees::Param0, + >, types::children_curator_fees::ChildrenCuratorFees, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ChildBounties", "ChildrenCuratorFees", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 32u8, 16u8, 190u8, 193u8, 6u8, 80u8, 163u8, 16u8, 85u8, 111u8, 39u8, 141u8, 209u8, 70u8, 213u8, 167u8, 22u8, 12u8, 93u8, 17u8, 104u8, 94u8, @@ -24917,8 +26650,9 @@ pub mod api { #[doc = " Maximum number of child bounties that can be added to a parent bounty."] pub fn max_active_child_bounty_count( &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "ChildBounties", "MaxActiveChildBountyCount", [ @@ -24932,8 +26666,9 @@ pub mod api { #[doc = " Minimum value for a child-bounty."] pub fn child_bounty_value_minimum( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u128> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "ChildBounties", "ChildBountyValueMinimum", [ @@ -24960,15 +26695,19 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::place_bid`]."] pub struct PlaceBid { #[codec(compact)] @@ -24980,20 +26719,24 @@ pub mod api { pub type Amount = ::core::primitive::u128; pub type Duration = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for PlaceBid { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for PlaceBid { const PALLET: &'static str = "Nis"; const CALL: &'static str = "place_bid"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::retract_bid`]."] pub struct RetractBid { #[codec(compact)] @@ -25005,36 +26748,44 @@ pub mod api { pub type Amount = ::core::primitive::u128; pub type Duration = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for RetractBid { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RetractBid { const PALLET: &'static str = "Nis"; const CALL: &'static str = "retract_bid"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::fund_deficit`]."] pub struct FundDeficit; - impl ::subxt::blocks::StaticExtrinsic for FundDeficit { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for FundDeficit { const PALLET: &'static str = "Nis"; const CALL: &'static str = "fund_deficit"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::thaw_private`]."] pub struct ThawPrivate { #[codec(compact)] @@ -25048,20 +26799,24 @@ pub mod api { runtime_types::sp_arithmetic::per_things::Perquintill, >; } - impl ::subxt::blocks::StaticExtrinsic for ThawPrivate { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ThawPrivate { const PALLET: &'static str = "Nis"; const CALL: &'static str = "thaw_private"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::thaw_communal`]."] pub struct ThawCommunal { #[codec(compact)] @@ -25071,20 +26826,24 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for ThawCommunal { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ThawCommunal { const PALLET: &'static str = "Nis"; const CALL: &'static str = "thaw_communal"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::communify`]."] pub struct Communify { #[codec(compact)] @@ -25094,20 +26853,24 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for Communify { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Communify { const PALLET: &'static str = "Nis"; const CALL: &'static str = "communify"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::privatize`]."] pub struct Privatize { #[codec(compact)] @@ -25117,7 +26880,7 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for Privatize { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Privatize { const PALLET: &'static str = "Nis"; const CALL: &'static str = "privatize"; } @@ -25129,8 +26892,8 @@ pub mod api { &self, amount: types::place_bid::Amount, duration: types::place_bid::Duration, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Nis", "place_bid", types::PlaceBid { amount, duration }, @@ -25147,8 +26910,8 @@ pub mod api { &self, amount: types::retract_bid::Amount, duration: types::retract_bid::Duration, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Nis", "retract_bid", types::RetractBid { amount, duration }, @@ -25160,8 +26923,10 @@ pub mod api { ) } #[doc = "See [`Pallet::fund_deficit`]."] - pub fn fund_deficit(&self) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + pub fn fund_deficit( + &self, + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Nis", "fund_deficit", types::FundDeficit {}, @@ -25178,8 +26943,8 @@ pub mod api { &self, index: types::thaw_private::Index, maybe_proportion: types::thaw_private::MaybeProportion, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Nis", "thaw_private", types::ThawPrivate { @@ -25197,8 +26962,8 @@ pub mod api { pub fn thaw_communal( &self, index: types::thaw_communal::Index, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Nis", "thaw_communal", types::ThawCommunal { index }, @@ -25214,8 +26979,8 @@ pub mod api { pub fn communify( &self, index: types::communify::Index, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Nis", "communify", types::Communify { index }, @@ -25231,8 +26996,8 @@ pub mod api { pub fn privatize( &self, index: types::privatize::Index, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Nis", "privatize", types::Privatize { index }, @@ -25251,15 +27016,15 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A bid was successfully placed."] pub struct BidPlaced { pub who: bid_placed::Who, @@ -25268,24 +27033,24 @@ pub mod api { } pub mod bid_placed { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; pub type Duration = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for BidPlaced { + impl ::subxt::ext::subxt_core::events::StaticEvent for BidPlaced { const PALLET: &'static str = "Nis"; const EVENT: &'static str = "BidPlaced"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A bid was successfully removed (before being accepted)."] pub struct BidRetracted { pub who: bid_retracted::Who, @@ -25294,24 +27059,24 @@ pub mod api { } pub mod bid_retracted { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; pub type Duration = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for BidRetracted { + impl ::subxt::ext::subxt_core::events::StaticEvent for BidRetracted { const PALLET: &'static str = "Nis"; const EVENT: &'static str = "BidRetracted"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A bid was dropped from a queue because of another, more substantial, bid was present."] pub struct BidDropped { pub who: bid_dropped::Who, @@ -25320,24 +27085,24 @@ pub mod api { } pub mod bid_dropped { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; pub type Duration = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for BidDropped { + impl ::subxt::ext::subxt_core::events::StaticEvent for BidDropped { const PALLET: &'static str = "Nis"; const EVENT: &'static str = "BidDropped"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A bid was accepted. The balance may not be released until expiry."] pub struct Issued { pub index: issued::Index, @@ -25350,24 +27115,24 @@ pub mod api { use super::runtime_types; pub type Index = ::core::primitive::u32; pub type Expiry = ::core::primitive::u32; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Proportion = runtime_types::sp_arithmetic::per_things::Perquintill; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Issued { + impl ::subxt::ext::subxt_core::events::StaticEvent for Issued { const PALLET: &'static str = "Nis"; const EVENT: &'static str = "Issued"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An receipt has been (at least partially) thawed."] pub struct Thawed { pub index: thawed::Index, @@ -25379,25 +27144,25 @@ pub mod api { pub mod thawed { use super::runtime_types; pub type Index = ::core::primitive::u32; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Proportion = runtime_types::sp_arithmetic::per_things::Perquintill; pub type Amount = ::core::primitive::u128; pub type Dropped = ::core::primitive::bool; } - impl ::subxt::events::StaticEvent for Thawed { + impl ::subxt::ext::subxt_core::events::StaticEvent for Thawed { const PALLET: &'static str = "Nis"; const EVENT: &'static str = "Thawed"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An automatic funding of the deficit was made."] pub struct Funded { pub deficit: funded::Deficit, @@ -25406,20 +27171,20 @@ pub mod api { use super::runtime_types; pub type Deficit = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Funded { + impl ::subxt::ext::subxt_core::events::StaticEvent for Funded { const PALLET: &'static str = "Nis"; const EVENT: &'static str = "Funded"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A receipt was transfered."] pub struct Transferred { pub from: transferred::From, @@ -25428,11 +27193,11 @@ pub mod api { } pub mod transferred { use super::runtime_types; - pub type From = ::subxt::utils::AccountId32; - pub type To = ::subxt::utils::AccountId32; + pub type From = ::subxt::ext::subxt_core::utils::AccountId32; + pub type To = ::subxt::ext::subxt_core::utils::AccountId32; pub type Index = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for Transferred { + impl ::subxt::ext::subxt_core::events::StaticEvent for Transferred { const PALLET: &'static str = "Nis"; const EVENT: &'static str = "Transferred"; } @@ -25444,17 +27209,17 @@ pub mod api { pub mod queue_totals { use super::runtime_types; pub type QueueTotals = - runtime_types::bounded_collections::bounded_vec::BoundedVec<( + runtime_types::bounded_collections::bounded_vec::BoundedVec15<( ::core::primitive::u32, ::core::primitive::u128, )>; } pub mod queues { use super::runtime_types; - pub type Queues = runtime_types::bounded_collections::bounded_vec::BoundedVec< + pub type Queues = runtime_types::bounded_collections::bounded_vec::BoundedVec25< runtime_types::pallet_nis::pallet::Bid< ::core::primitive::u128, - ::subxt::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, >, >; pub type Param0 = ::core::primitive::u32; @@ -25469,7 +27234,7 @@ pub mod api { pub mod receipts { use super::runtime_types; pub type Receipts = runtime_types::pallet_nis::pallet::ReceiptRecord< - ::subxt::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u32, ::core::primitive::u128, >; @@ -25485,17 +27250,17 @@ pub mod api { #[doc = " whose duration is one `Period` would be storage `0`."] pub fn queue_totals( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::queue_totals::QueueTotals, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Nis", "QueueTotals", - vec![], + (), [ 40u8, 120u8, 43u8, 203u8, 97u8, 129u8, 61u8, 184u8, 137u8, 45u8, 201u8, 90u8, 227u8, 161u8, 52u8, 179u8, 9u8, 74u8, 104u8, 225u8, 209u8, 62u8, @@ -25506,17 +27271,17 @@ pub mod api { #[doc = " The queues of bids. Indexed by duration (in `Period`s)."] pub fn queues_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::queues::Queues, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Nis", "Queues", - vec![], + (), [ 144u8, 181u8, 173u8, 134u8, 6u8, 165u8, 174u8, 91u8, 75u8, 241u8, 142u8, 192u8, 246u8, 71u8, 132u8, 146u8, 181u8, 158u8, 125u8, 34u8, @@ -25528,20 +27293,22 @@ pub mod api { #[doc = " The queues of bids. Indexed by duration (in `Period`s)."] pub fn queues( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::queues::Param0, + >, types::queues::Queues, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Nis", "Queues", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 144u8, 181u8, 173u8, 134u8, 6u8, 165u8, 174u8, 91u8, 75u8, 241u8, 142u8, 192u8, 246u8, 71u8, 132u8, 146u8, 181u8, 158u8, 125u8, 34u8, @@ -25553,17 +27320,17 @@ pub mod api { #[doc = " Summary information over the general state."] pub fn summary( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::summary::Summary, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Nis", "Summary", - vec![], + (), [ 106u8, 21u8, 103u8, 47u8, 211u8, 234u8, 50u8, 222u8, 25u8, 209u8, 67u8, 117u8, 111u8, 6u8, 231u8, 245u8, 109u8, 52u8, 177u8, 20u8, 179u8, @@ -25575,17 +27342,17 @@ pub mod api { #[doc = " The currently outstanding receipts, indexed according to the order of creation."] pub fn receipts_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::receipts::Receipts, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Nis", "Receipts", - vec![], + (), [ 123u8, 179u8, 0u8, 14u8, 5u8, 132u8, 165u8, 192u8, 163u8, 22u8, 174u8, 22u8, 252u8, 44u8, 167u8, 22u8, 116u8, 170u8, 186u8, 118u8, 131u8, 5u8, @@ -25596,20 +27363,22 @@ pub mod api { #[doc = " The currently outstanding receipts, indexed according to the order of creation."] pub fn receipts( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::receipts::Param0, + >, types::receipts::Receipts, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Nis", "Receipts", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 123u8, 179u8, 0u8, 14u8, 5u8, 132u8, 165u8, 192u8, 163u8, 22u8, 174u8, 22u8, 252u8, 44u8, 167u8, 22u8, 116u8, 170u8, 186u8, 118u8, 131u8, 5u8, @@ -25626,9 +27395,10 @@ pub mod api { #[doc = " The treasury's pallet id, used for deriving its sovereign account ID."] pub fn pallet_id( &self, - ) -> ::subxt::constants::Address - { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address< + runtime_types::frame_support::PalletId, + > { + ::subxt::ext::subxt_core::constants::Address::new_static( "Nis", "PalletId", [ @@ -25640,8 +27410,11 @@ pub mod api { } #[doc = " Number of duration queues in total. This sets the maximum duration supported, which is"] #[doc = " this value multiplied by `Period`."] - pub fn queue_count(&self) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + pub fn queue_count( + &self, + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Nis", "QueueCount", [ @@ -25655,8 +27428,11 @@ pub mod api { #[doc = " Maximum number of items that may be in each duration queue."] #[doc = ""] #[doc = " Must be larger than zero."] - pub fn max_queue_len(&self) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + pub fn max_queue_len( + &self, + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Nis", "MaxQueueLen", [ @@ -25672,8 +27448,9 @@ pub mod api { #[doc = " Must be no greater than `MaxQueueLen`."] pub fn fifo_queue_len( &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Nis", "FifoQueueLen", [ @@ -25686,8 +27463,11 @@ pub mod api { } #[doc = " The base period for the duration queues. This is the common multiple across all"] #[doc = " supported freezing durations that can be bid upon."] - pub fn base_period(&self) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + pub fn base_period( + &self, + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Nis", "BasePeriod", [ @@ -25704,8 +27484,11 @@ pub mod api { #[doc = ""] #[doc = " It should be at least big enough to ensure that there is no possible storage spam attack"] #[doc = " or queue-filling attack."] - pub fn min_bid(&self) -> ::subxt::constants::Address<::core::primitive::u128> { - ::subxt::constants::Address::new_static( + pub fn min_bid( + &self, + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u128> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Nis", "MinBid", [ @@ -25719,10 +27502,10 @@ pub mod api { #[doc = " receipt."] pub fn min_receipt( &self, - ) -> ::subxt::constants::Address< + ) -> ::subxt::ext::subxt_core::constants::Address< runtime_types::sp_arithmetic::per_things::Perquintill, > { - ::subxt::constants::Address::new_static( + ::subxt::ext::subxt_core::constants::Address::new_static( "Nis", "MinReceipt", [ @@ -25737,8 +27520,11 @@ pub mod api { #[doc = ""] #[doc = " A larger value results in fewer storage hits each block, but a slower period to get to"] #[doc = " the target."] - pub fn intake_period(&self) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + pub fn intake_period( + &self, + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Nis", "IntakePeriod", [ @@ -25754,9 +27540,10 @@ pub mod api { #[doc = " glut of bids."] pub fn max_intake_weight( &self, - ) -> ::subxt::constants::Address - { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address< + runtime_types::sp_weights::weight_v2::Weight, + > { + ::subxt::ext::subxt_core::constants::Address::new_static( "Nis", "MaxIntakeWeight", [ @@ -25770,11 +27557,11 @@ pub mod api { #[doc = " The maximum proportion which may be thawed and the period over which it is reset."] pub fn thaw_throttle( &self, - ) -> ::subxt::constants::Address<( + ) -> ::subxt::ext::subxt_core::constants::Address<( runtime_types::sp_arithmetic::per_things::Perquintill, ::core::primitive::u32, )> { - ::subxt::constants::Address::new_static( + ::subxt::ext::subxt_core::constants::Address::new_static( "Nis", "ThawThrottle", [ @@ -25792,9 +27579,9 @@ pub mod api { use super::root_mod; use super::runtime_types; #[doc = "The `Error` enum of this pallet."] - pub type Error = runtime_types::pallet_balances::pallet::Error2; + pub type Error = runtime_types::pallet_balances::pallet::Error; #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] - pub type Call = runtime_types::pallet_balances::pallet::Call2; + pub type Call = runtime_types::pallet_balances::pallet::Call; pub mod calls { use super::root_mod; use super::runtime_types; @@ -25802,15 +27589,19 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::transfer_allow_death`]."] pub struct TransferAllowDeath { pub dest: transfer_allow_death::Dest, @@ -25819,23 +27610,30 @@ pub mod api { } pub mod transfer_allow_death { use super::runtime_types; - pub type Dest = ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Dest = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; pub type Value = ::core::primitive::u128; } - impl ::subxt::blocks::StaticExtrinsic for TransferAllowDeath { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for TransferAllowDeath { const PALLET: &'static str = "NisCounterpartBalances"; const CALL: &'static str = "transfer_allow_death"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::force_transfer`]."] pub struct ForceTransfer { pub source: force_transfer::Source, @@ -25845,24 +27643,34 @@ pub mod api { } pub mod force_transfer { use super::runtime_types; - pub type Source = ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; - pub type Dest = ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Source = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; + pub type Dest = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; pub type Value = ::core::primitive::u128; } - impl ::subxt::blocks::StaticExtrinsic for ForceTransfer { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceTransfer { const PALLET: &'static str = "NisCounterpartBalances"; const CALL: &'static str = "force_transfer"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::transfer_keep_alive`]."] pub struct TransferKeepAlive { pub dest: transfer_keep_alive::Dest, @@ -25871,23 +27679,30 @@ pub mod api { } pub mod transfer_keep_alive { use super::runtime_types; - pub type Dest = ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Dest = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; pub type Value = ::core::primitive::u128; } - impl ::subxt::blocks::StaticExtrinsic for TransferKeepAlive { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for TransferKeepAlive { const PALLET: &'static str = "NisCounterpartBalances"; const CALL: &'static str = "transfer_keep_alive"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::transfer_all`]."] pub struct TransferAll { pub dest: transfer_all::Dest, @@ -25895,23 +27710,30 @@ pub mod api { } pub mod transfer_all { use super::runtime_types; - pub type Dest = ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Dest = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; pub type KeepAlive = ::core::primitive::bool; } - impl ::subxt::blocks::StaticExtrinsic for TransferAll { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for TransferAll { const PALLET: &'static str = "NisCounterpartBalances"; const CALL: &'static str = "transfer_all"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::force_unreserve`]."] pub struct ForceUnreserve { pub who: force_unreserve::Who, @@ -25919,45 +27741,58 @@ pub mod api { } pub mod force_unreserve { use super::runtime_types; - pub type Who = ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Who = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; pub type Amount = ::core::primitive::u128; } - impl ::subxt::blocks::StaticExtrinsic for ForceUnreserve { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceUnreserve { const PALLET: &'static str = "NisCounterpartBalances"; const CALL: &'static str = "force_unreserve"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::upgrade_accounts`]."] pub struct UpgradeAccounts { pub who: upgrade_accounts::Who, } pub mod upgrade_accounts { use super::runtime_types; - pub type Who = ::std::vec::Vec<::subxt::utils::AccountId32>; + pub type Who = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >; } - impl ::subxt::blocks::StaticExtrinsic for UpgradeAccounts { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for UpgradeAccounts { const PALLET: &'static str = "NisCounterpartBalances"; const CALL: &'static str = "upgrade_accounts"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::force_set_balance`]."] pub struct ForceSetBalance { pub who: force_set_balance::Who, @@ -25966,10 +27801,13 @@ pub mod api { } pub mod force_set_balance { use super::runtime_types; - pub type Who = ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Who = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; pub type NewFree = ::core::primitive::u128; } - impl ::subxt::blocks::StaticExtrinsic for ForceSetBalance { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceSetBalance { const PALLET: &'static str = "NisCounterpartBalances"; const CALL: &'static str = "force_set_balance"; } @@ -25981,8 +27819,9 @@ pub mod api { &self, dest: types::transfer_allow_death::Dest, value: types::transfer_allow_death::Value, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "NisCounterpartBalances", "transfer_allow_death", types::TransferAllowDeath { dest, value }, @@ -26000,8 +27839,8 @@ pub mod api { source: types::force_transfer::Source, dest: types::force_transfer::Dest, value: types::force_transfer::Value, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "NisCounterpartBalances", "force_transfer", types::ForceTransfer { @@ -26021,8 +27860,9 @@ pub mod api { &self, dest: types::transfer_keep_alive::Dest, value: types::transfer_keep_alive::Value, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "NisCounterpartBalances", "transfer_keep_alive", types::TransferKeepAlive { dest, value }, @@ -26038,8 +27878,8 @@ pub mod api { &self, dest: types::transfer_all::Dest, keep_alive: types::transfer_all::KeepAlive, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "NisCounterpartBalances", "transfer_all", types::TransferAll { dest, keep_alive }, @@ -26055,8 +27895,8 @@ pub mod api { &self, who: types::force_unreserve::Who, amount: types::force_unreserve::Amount, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "NisCounterpartBalances", "force_unreserve", types::ForceUnreserve { who, amount }, @@ -26072,8 +27912,8 @@ pub mod api { pub fn upgrade_accounts( &self, who: types::upgrade_accounts::Who, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "NisCounterpartBalances", "upgrade_accounts", types::UpgradeAccounts { who }, @@ -26089,8 +27929,8 @@ pub mod api { &self, who: types::force_set_balance::Who, new_free: types::force_set_balance::NewFree, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "NisCounterpartBalances", "force_set_balance", types::ForceSetBalance { who, new_free }, @@ -26104,19 +27944,19 @@ pub mod api { } } #[doc = "The `Event` enum of this pallet"] - pub type Event = runtime_types::pallet_balances::pallet::Event2; + pub type Event = runtime_types::pallet_balances::pallet::Event; pub mod events { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An account was created with some free balance."] pub struct Endowed { pub account: endowed::Account, @@ -26124,23 +27964,23 @@ pub mod api { } pub mod endowed { use super::runtime_types; - pub type Account = ::subxt::utils::AccountId32; + pub type Account = ::subxt::ext::subxt_core::utils::AccountId32; pub type FreeBalance = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Endowed { + impl ::subxt::ext::subxt_core::events::StaticEvent for Endowed { const PALLET: &'static str = "NisCounterpartBalances"; const EVENT: &'static str = "Endowed"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An account was removed whose balance was non-zero but below ExistentialDeposit,"] #[doc = "resulting in an outright loss."] pub struct DustLost { @@ -26149,23 +27989,23 @@ pub mod api { } pub mod dust_lost { use super::runtime_types; - pub type Account = ::subxt::utils::AccountId32; + pub type Account = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for DustLost { + impl ::subxt::ext::subxt_core::events::StaticEvent for DustLost { const PALLET: &'static str = "NisCounterpartBalances"; const EVENT: &'static str = "DustLost"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Transfer succeeded."] pub struct Transfer { pub from: transfer::From, @@ -26174,24 +28014,24 @@ pub mod api { } pub mod transfer { use super::runtime_types; - pub type From = ::subxt::utils::AccountId32; - pub type To = ::subxt::utils::AccountId32; + pub type From = ::subxt::ext::subxt_core::utils::AccountId32; + pub type To = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Transfer { + impl ::subxt::ext::subxt_core::events::StaticEvent for Transfer { const PALLET: &'static str = "NisCounterpartBalances"; const EVENT: &'static str = "Transfer"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A balance was set by root."] pub struct BalanceSet { pub who: balance_set::Who, @@ -26199,23 +28039,23 @@ pub mod api { } pub mod balance_set { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Free = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for BalanceSet { + impl ::subxt::ext::subxt_core::events::StaticEvent for BalanceSet { const PALLET: &'static str = "NisCounterpartBalances"; const EVENT: &'static str = "BalanceSet"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some balance was reserved (moved from free to reserved)."] pub struct Reserved { pub who: reserved::Who, @@ -26223,23 +28063,23 @@ pub mod api { } pub mod reserved { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Reserved { + impl ::subxt::ext::subxt_core::events::StaticEvent for Reserved { const PALLET: &'static str = "NisCounterpartBalances"; const EVENT: &'static str = "Reserved"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some balance was unreserved (moved from reserved to free)."] pub struct Unreserved { pub who: unreserved::Who, @@ -26247,23 +28087,23 @@ pub mod api { } pub mod unreserved { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Unreserved { + impl ::subxt::ext::subxt_core::events::StaticEvent for Unreserved { const PALLET: &'static str = "NisCounterpartBalances"; const EVENT: &'static str = "Unreserved"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some balance was moved from the reserve of the first account to the second account."] #[doc = "Final argument indicates the destination balance type."] pub struct ReserveRepatriated { @@ -26274,26 +28114,26 @@ pub mod api { } pub mod reserve_repatriated { use super::runtime_types; - pub type From = ::subxt::utils::AccountId32; - pub type To = ::subxt::utils::AccountId32; + pub type From = ::subxt::ext::subxt_core::utils::AccountId32; + pub type To = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; pub type DestinationStatus = runtime_types::frame_support::traits::tokens::misc::BalanceStatus; } - impl ::subxt::events::StaticEvent for ReserveRepatriated { + impl ::subxt::ext::subxt_core::events::StaticEvent for ReserveRepatriated { const PALLET: &'static str = "NisCounterpartBalances"; const EVENT: &'static str = "ReserveRepatriated"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some amount was deposited (e.g. for transaction fees)."] pub struct Deposit { pub who: deposit::Who, @@ -26301,23 +28141,23 @@ pub mod api { } pub mod deposit { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Deposit { + impl ::subxt::ext::subxt_core::events::StaticEvent for Deposit { const PALLET: &'static str = "NisCounterpartBalances"; const EVENT: &'static str = "Deposit"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some amount was withdrawn from the account (e.g. for transaction fees)."] pub struct Withdraw { pub who: withdraw::Who, @@ -26325,23 +28165,23 @@ pub mod api { } pub mod withdraw { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Withdraw { + impl ::subxt::ext::subxt_core::events::StaticEvent for Withdraw { const PALLET: &'static str = "NisCounterpartBalances"; const EVENT: &'static str = "Withdraw"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some amount was removed from the account (e.g. for misbehavior)."] pub struct Slashed { pub who: slashed::Who, @@ -26349,23 +28189,23 @@ pub mod api { } pub mod slashed { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Slashed { + impl ::subxt::ext::subxt_core::events::StaticEvent for Slashed { const PALLET: &'static str = "NisCounterpartBalances"; const EVENT: &'static str = "Slashed"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some amount was minted into an account."] pub struct Minted { pub who: minted::Who, @@ -26373,23 +28213,23 @@ pub mod api { } pub mod minted { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Minted { + impl ::subxt::ext::subxt_core::events::StaticEvent for Minted { const PALLET: &'static str = "NisCounterpartBalances"; const EVENT: &'static str = "Minted"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some amount was burned from an account."] pub struct Burned { pub who: burned::Who, @@ -26397,23 +28237,23 @@ pub mod api { } pub mod burned { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Burned { + impl ::subxt::ext::subxt_core::events::StaticEvent for Burned { const PALLET: &'static str = "NisCounterpartBalances"; const EVENT: &'static str = "Burned"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some amount was suspended from an account (it can be restored later)."] pub struct Suspended { pub who: suspended::Who, @@ -26421,23 +28261,23 @@ pub mod api { } pub mod suspended { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Suspended { + impl ::subxt::ext::subxt_core::events::StaticEvent for Suspended { const PALLET: &'static str = "NisCounterpartBalances"; const EVENT: &'static str = "Suspended"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some amount was restored into an account."] pub struct Restored { pub who: restored::Who, @@ -26445,45 +28285,45 @@ pub mod api { } pub mod restored { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Restored { + impl ::subxt::ext::subxt_core::events::StaticEvent for Restored { const PALLET: &'static str = "NisCounterpartBalances"; const EVENT: &'static str = "Restored"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An account was upgraded."] pub struct Upgraded { pub who: upgraded::Who, } pub mod upgraded { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt::events::StaticEvent for Upgraded { + impl ::subxt::ext::subxt_core::events::StaticEvent for Upgraded { const PALLET: &'static str = "NisCounterpartBalances"; const EVENT: &'static str = "Upgraded"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Total issuance was increased by `amount`, creating a credit to be balanced."] pub struct Issued { pub amount: issued::Amount, @@ -26492,20 +28332,20 @@ pub mod api { use super::runtime_types; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Issued { + impl ::subxt::ext::subxt_core::events::StaticEvent for Issued { const PALLET: &'static str = "NisCounterpartBalances"; const EVENT: &'static str = "Issued"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Total issuance was decreased by `amount`, creating a debt to be balanced."] pub struct Rescinded { pub amount: rescinded::Amount, @@ -26514,20 +28354,20 @@ pub mod api { use super::runtime_types; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Rescinded { + impl ::subxt::ext::subxt_core::events::StaticEvent for Rescinded { const PALLET: &'static str = "NisCounterpartBalances"; const EVENT: &'static str = "Rescinded"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some balance was locked."] pub struct Locked { pub who: locked::Who, @@ -26535,23 +28375,23 @@ pub mod api { } pub mod locked { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Locked { + impl ::subxt::ext::subxt_core::events::StaticEvent for Locked { const PALLET: &'static str = "NisCounterpartBalances"; const EVENT: &'static str = "Locked"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some balance was unlocked."] pub struct Unlocked { pub who: unlocked::Who, @@ -26559,23 +28399,23 @@ pub mod api { } pub mod unlocked { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Unlocked { + impl ::subxt::ext::subxt_core::events::StaticEvent for Unlocked { const PALLET: &'static str = "NisCounterpartBalances"; const EVENT: &'static str = "Unlocked"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some balance was frozen."] pub struct Frozen { pub who: frozen::Who, @@ -26583,23 +28423,23 @@ pub mod api { } pub mod frozen { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Frozen { + impl ::subxt::ext::subxt_core::events::StaticEvent for Frozen { const PALLET: &'static str = "NisCounterpartBalances"; const EVENT: &'static str = "Frozen"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some balance was thawed."] pub struct Thawed { pub who: thawed::Who, @@ -26607,10 +28447,10 @@ pub mod api { } pub mod thawed { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Thawed { + impl ::subxt::ext::subxt_core::events::StaticEvent for Thawed { const PALLET: &'static str = "NisCounterpartBalances"; const EVENT: &'static str = "Thawed"; } @@ -26631,47 +28471,49 @@ pub mod api { use super::runtime_types; pub type Account = runtime_types::pallet_balances::types::AccountData<::core::primitive::u128>; - pub type Param0 = ::subxt::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod locks { use super::runtime_types; pub type Locks = - runtime_types::bounded_collections::weak_bounded_vec::WeakBoundedVec< + runtime_types::bounded_collections::weak_bounded_vec::WeakBoundedVec3< runtime_types::pallet_balances::types::BalanceLock< ::core::primitive::u128, >, >; - pub type Param0 = ::subxt::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod reserves { use super::runtime_types; - pub type Reserves = runtime_types::bounded_collections::bounded_vec::BoundedVec< - runtime_types::pallet_balances::types::ReserveData< - [::core::primitive::u8; 8usize], - ::core::primitive::u128, - >, - >; - pub type Param0 = ::subxt::utils::AccountId32; + pub type Reserves = + runtime_types::bounded_collections::bounded_vec::BoundedVec8< + runtime_types::pallet_balances::types::ReserveData< + [::core::primitive::u8; 8usize], + ::core::primitive::u128, + >, + >; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod holds { use super::runtime_types; - pub type Holds = runtime_types::bounded_collections::bounded_vec::BoundedVec< + pub type Holds = runtime_types::bounded_collections::bounded_vec::BoundedVec9< runtime_types::pallet_balances::types::IdAmount< runtime_types::rococo_runtime::RuntimeHoldReason, ::core::primitive::u128, >, >; - pub type Param0 = ::subxt::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod freezes { use super::runtime_types; - pub type Freezes = runtime_types::bounded_collections::bounded_vec::BoundedVec< - runtime_types::pallet_balances::types::IdAmount< - (), - ::core::primitive::u128, - >, - >; - pub type Param0 = ::subxt::utils::AccountId32; + pub type Freezes = + runtime_types::bounded_collections::bounded_vec::BoundedVec10< + runtime_types::pallet_balances::types::IdAmount< + (), + ::core::primitive::u128, + >, + >; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } } pub struct StorageApi; @@ -26679,17 +28521,17 @@ pub mod api { #[doc = " The total units issued in the system."] pub fn total_issuance( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::total_issuance::TotalIssuance, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "NisCounterpartBalances", "TotalIssuance", - vec![], + (), [ 116u8, 70u8, 119u8, 194u8, 69u8, 37u8, 116u8, 206u8, 171u8, 70u8, 171u8, 210u8, 226u8, 111u8, 184u8, 204u8, 206u8, 11u8, 68u8, 72u8, @@ -26701,17 +28543,17 @@ pub mod api { #[doc = " The total units of outstanding deactivated balance in the system."] pub fn inactive_issuance( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::inactive_issuance::InactiveIssuance, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "NisCounterpartBalances", "InactiveIssuance", - vec![], + (), [ 212u8, 185u8, 19u8, 50u8, 250u8, 72u8, 173u8, 50u8, 4u8, 104u8, 161u8, 249u8, 77u8, 247u8, 204u8, 248u8, 11u8, 18u8, 57u8, 4u8, 82u8, 110u8, @@ -26745,17 +28587,17 @@ pub mod api { #[doc = " NOTE: This is only used in the case that this pallet is used to store balances."] pub fn account_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::account::Account, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "NisCounterpartBalances", "Account", - vec![], + (), [ 213u8, 38u8, 200u8, 69u8, 218u8, 0u8, 112u8, 181u8, 160u8, 23u8, 96u8, 90u8, 3u8, 88u8, 126u8, 22u8, 103u8, 74u8, 64u8, 69u8, 29u8, 247u8, @@ -26789,20 +28631,22 @@ pub mod api { #[doc = " NOTE: This is only used in the case that this pallet is used to store balances."] pub fn account( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::account::Param0, + >, types::account::Account, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "NisCounterpartBalances", "Account", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 213u8, 38u8, 200u8, 69u8, 218u8, 0u8, 112u8, 181u8, 160u8, 23u8, 96u8, 90u8, 3u8, 88u8, 126u8, 22u8, 103u8, 74u8, 64u8, 69u8, 29u8, 247u8, @@ -26814,17 +28658,17 @@ pub mod api { #[doc = " NOTE: Should only be accessed when setting, changing and freeing a lock."] pub fn locks_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::locks::Locks, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "NisCounterpartBalances", "Locks", - vec![], + (), [ 10u8, 223u8, 55u8, 0u8, 249u8, 69u8, 168u8, 41u8, 75u8, 35u8, 120u8, 167u8, 18u8, 132u8, 9u8, 20u8, 91u8, 51u8, 27u8, 69u8, 136u8, 187u8, @@ -26836,20 +28680,22 @@ pub mod api { #[doc = " NOTE: Should only be accessed when setting, changing and freeing a lock."] pub fn locks( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::locks::Param0, + >, types::locks::Locks, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "NisCounterpartBalances", "Locks", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 10u8, 223u8, 55u8, 0u8, 249u8, 69u8, 168u8, 41u8, 75u8, 35u8, 120u8, 167u8, 18u8, 132u8, 9u8, 20u8, 91u8, 51u8, 27u8, 69u8, 136u8, 187u8, @@ -26860,17 +28706,17 @@ pub mod api { #[doc = " Named reserves on some account balances."] pub fn reserves_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::reserves::Reserves, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "NisCounterpartBalances", "Reserves", - vec![], + (), [ 112u8, 10u8, 241u8, 77u8, 64u8, 187u8, 106u8, 159u8, 13u8, 153u8, 140u8, 178u8, 182u8, 50u8, 1u8, 55u8, 149u8, 92u8, 196u8, 229u8, 170u8, @@ -26881,20 +28727,22 @@ pub mod api { #[doc = " Named reserves on some account balances."] pub fn reserves( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::reserves::Param0, + >, types::reserves::Reserves, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "NisCounterpartBalances", "Reserves", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 112u8, 10u8, 241u8, 77u8, 64u8, 187u8, 106u8, 159u8, 13u8, 153u8, 140u8, 178u8, 182u8, 50u8, 1u8, 55u8, 149u8, 92u8, 196u8, 229u8, 170u8, @@ -26905,17 +28753,17 @@ pub mod api { #[doc = " Holds on account balances."] pub fn holds_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::holds::Holds, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "NisCounterpartBalances", "Holds", - vec![], + (), [ 72u8, 161u8, 107u8, 123u8, 240u8, 3u8, 198u8, 75u8, 46u8, 131u8, 122u8, 141u8, 253u8, 141u8, 232u8, 192u8, 146u8, 54u8, 174u8, 162u8, 48u8, @@ -26927,20 +28775,22 @@ pub mod api { #[doc = " Holds on account balances."] pub fn holds( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::holds::Param0, + >, types::holds::Holds, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "NisCounterpartBalances", "Holds", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 72u8, 161u8, 107u8, 123u8, 240u8, 3u8, 198u8, 75u8, 46u8, 131u8, 122u8, 141u8, 253u8, 141u8, 232u8, 192u8, 146u8, 54u8, 174u8, 162u8, 48u8, @@ -26952,17 +28802,17 @@ pub mod api { #[doc = " Freeze locks on account balances."] pub fn freezes_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::freezes::Freezes, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "NisCounterpartBalances", "Freezes", - vec![], + (), [ 69u8, 49u8, 165u8, 76u8, 135u8, 142u8, 179u8, 118u8, 50u8, 109u8, 53u8, 112u8, 110u8, 94u8, 30u8, 93u8, 173u8, 38u8, 27u8, 142u8, 19u8, 5u8, @@ -26973,20 +28823,22 @@ pub mod api { #[doc = " Freeze locks on account balances."] pub fn freezes( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::freezes::Param0, + >, types::freezes::Freezes, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "NisCounterpartBalances", "Freezes", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 69u8, 49u8, 165u8, 76u8, 135u8, 142u8, 179u8, 118u8, 50u8, 109u8, 53u8, 112u8, 110u8, 94u8, 30u8, 93u8, 173u8, 38u8, 27u8, 142u8, 19u8, 5u8, @@ -27010,8 +28862,9 @@ pub mod api { #[doc = " Bottom line: Do yourself a favour and make it at least one!"] pub fn existential_deposit( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u128> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "NisCounterpartBalances", "ExistentialDeposit", [ @@ -27023,8 +28876,11 @@ pub mod api { } #[doc = " The maximum number of locks that should exist on an account."] #[doc = " Not strictly enforced, but used for weight estimation."] - pub fn max_locks(&self) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + pub fn max_locks( + &self, + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "NisCounterpartBalances", "MaxLocks", [ @@ -27036,8 +28892,11 @@ pub mod api { ) } #[doc = " The maximum number of named reserves that can exist on an account."] - pub fn max_reserves(&self) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + pub fn max_reserves( + &self, + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "NisCounterpartBalances", "MaxReserves", [ @@ -27049,8 +28908,11 @@ pub mod api { ) } #[doc = " The maximum number of holds that can exist on an account at any time."] - pub fn max_holds(&self) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + pub fn max_holds( + &self, + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "NisCounterpartBalances", "MaxHolds", [ @@ -27062,8 +28924,11 @@ pub mod api { ) } #[doc = " The maximum number of individual freeze locks that can exist on an account at any time."] - pub fn max_freezes(&self) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + pub fn max_freezes( + &self, + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "NisCounterpartBalances", "MaxFreezes", [ @@ -27095,15 +28960,19 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_validation_upgrade_cooldown`]."] pub struct SetValidationUpgradeCooldown { pub new: set_validation_upgrade_cooldown::New, @@ -27112,20 +28981,24 @@ pub mod api { use super::runtime_types; pub type New = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for SetValidationUpgradeCooldown { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetValidationUpgradeCooldown { const PALLET: &'static str = "Configuration"; const CALL: &'static str = "set_validation_upgrade_cooldown"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_validation_upgrade_delay`]."] pub struct SetValidationUpgradeDelay { pub new: set_validation_upgrade_delay::New, @@ -27134,20 +29007,24 @@ pub mod api { use super::runtime_types; pub type New = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for SetValidationUpgradeDelay { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetValidationUpgradeDelay { const PALLET: &'static str = "Configuration"; const CALL: &'static str = "set_validation_upgrade_delay"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_code_retention_period`]."] pub struct SetCodeRetentionPeriod { pub new: set_code_retention_period::New, @@ -27156,20 +29033,24 @@ pub mod api { use super::runtime_types; pub type New = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for SetCodeRetentionPeriod { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetCodeRetentionPeriod { const PALLET: &'static str = "Configuration"; const CALL: &'static str = "set_code_retention_period"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_max_code_size`]."] pub struct SetMaxCodeSize { pub new: set_max_code_size::New, @@ -27178,20 +29059,24 @@ pub mod api { use super::runtime_types; pub type New = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for SetMaxCodeSize { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetMaxCodeSize { const PALLET: &'static str = "Configuration"; const CALL: &'static str = "set_max_code_size"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_max_pov_size`]."] pub struct SetMaxPovSize { pub new: set_max_pov_size::New, @@ -27200,20 +29085,24 @@ pub mod api { use super::runtime_types; pub type New = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for SetMaxPovSize { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetMaxPovSize { const PALLET: &'static str = "Configuration"; const CALL: &'static str = "set_max_pov_size"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_max_head_data_size`]."] pub struct SetMaxHeadDataSize { pub new: set_max_head_data_size::New, @@ -27222,20 +29111,24 @@ pub mod api { use super::runtime_types; pub type New = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for SetMaxHeadDataSize { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetMaxHeadDataSize { const PALLET: &'static str = "Configuration"; const CALL: &'static str = "set_max_head_data_size"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_on_demand_cores`]."] pub struct SetOnDemandCores { pub new: set_on_demand_cores::New, @@ -27244,20 +29137,24 @@ pub mod api { use super::runtime_types; pub type New = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for SetOnDemandCores { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetOnDemandCores { const PALLET: &'static str = "Configuration"; const CALL: &'static str = "set_on_demand_cores"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_on_demand_retries`]."] pub struct SetOnDemandRetries { pub new: set_on_demand_retries::New, @@ -27266,20 +29163,24 @@ pub mod api { use super::runtime_types; pub type New = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for SetOnDemandRetries { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetOnDemandRetries { const PALLET: &'static str = "Configuration"; const CALL: &'static str = "set_on_demand_retries"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_group_rotation_frequency`]."] pub struct SetGroupRotationFrequency { pub new: set_group_rotation_frequency::New, @@ -27288,20 +29189,24 @@ pub mod api { use super::runtime_types; pub type New = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for SetGroupRotationFrequency { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetGroupRotationFrequency { const PALLET: &'static str = "Configuration"; const CALL: &'static str = "set_group_rotation_frequency"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_paras_availability_period`]."] pub struct SetParasAvailabilityPeriod { pub new: set_paras_availability_period::New, @@ -27310,20 +29215,24 @@ pub mod api { use super::runtime_types; pub type New = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for SetParasAvailabilityPeriod { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetParasAvailabilityPeriod { const PALLET: &'static str = "Configuration"; const CALL: &'static str = "set_paras_availability_period"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_scheduling_lookahead`]."] pub struct SetSchedulingLookahead { pub new: set_scheduling_lookahead::New, @@ -27332,20 +29241,24 @@ pub mod api { use super::runtime_types; pub type New = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for SetSchedulingLookahead { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetSchedulingLookahead { const PALLET: &'static str = "Configuration"; const CALL: &'static str = "set_scheduling_lookahead"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_max_validators_per_core`]."] pub struct SetMaxValidatorsPerCore { pub new: set_max_validators_per_core::New, @@ -27354,20 +29267,24 @@ pub mod api { use super::runtime_types; pub type New = ::core::option::Option<::core::primitive::u32>; } - impl ::subxt::blocks::StaticExtrinsic for SetMaxValidatorsPerCore { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetMaxValidatorsPerCore { const PALLET: &'static str = "Configuration"; const CALL: &'static str = "set_max_validators_per_core"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_max_validators`]."] pub struct SetMaxValidators { pub new: set_max_validators::New, @@ -27376,20 +29293,24 @@ pub mod api { use super::runtime_types; pub type New = ::core::option::Option<::core::primitive::u32>; } - impl ::subxt::blocks::StaticExtrinsic for SetMaxValidators { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetMaxValidators { const PALLET: &'static str = "Configuration"; const CALL: &'static str = "set_max_validators"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_dispute_period`]."] pub struct SetDisputePeriod { pub new: set_dispute_period::New, @@ -27398,20 +29319,24 @@ pub mod api { use super::runtime_types; pub type New = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for SetDisputePeriod { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetDisputePeriod { const PALLET: &'static str = "Configuration"; const CALL: &'static str = "set_dispute_period"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_dispute_post_conclusion_acceptance_period`]."] pub struct SetDisputePostConclusionAcceptancePeriod { pub new: set_dispute_post_conclusion_acceptance_period::New, @@ -27420,20 +29345,26 @@ pub mod api { use super::runtime_types; pub type New = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for SetDisputePostConclusionAcceptancePeriod { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic + for SetDisputePostConclusionAcceptancePeriod + { const PALLET: &'static str = "Configuration"; const CALL: &'static str = "set_dispute_post_conclusion_acceptance_period"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_no_show_slots`]."] pub struct SetNoShowSlots { pub new: set_no_show_slots::New, @@ -27442,20 +29373,24 @@ pub mod api { use super::runtime_types; pub type New = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for SetNoShowSlots { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetNoShowSlots { const PALLET: &'static str = "Configuration"; const CALL: &'static str = "set_no_show_slots"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_n_delay_tranches`]."] pub struct SetNDelayTranches { pub new: set_n_delay_tranches::New, @@ -27464,20 +29399,24 @@ pub mod api { use super::runtime_types; pub type New = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for SetNDelayTranches { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetNDelayTranches { const PALLET: &'static str = "Configuration"; const CALL: &'static str = "set_n_delay_tranches"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_zeroth_delay_tranche_width`]."] pub struct SetZerothDelayTrancheWidth { pub new: set_zeroth_delay_tranche_width::New, @@ -27486,20 +29425,24 @@ pub mod api { use super::runtime_types; pub type New = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for SetZerothDelayTrancheWidth { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetZerothDelayTrancheWidth { const PALLET: &'static str = "Configuration"; const CALL: &'static str = "set_zeroth_delay_tranche_width"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_needed_approvals`]."] pub struct SetNeededApprovals { pub new: set_needed_approvals::New, @@ -27508,20 +29451,24 @@ pub mod api { use super::runtime_types; pub type New = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for SetNeededApprovals { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetNeededApprovals { const PALLET: &'static str = "Configuration"; const CALL: &'static str = "set_needed_approvals"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_relay_vrf_modulo_samples`]."] pub struct SetRelayVrfModuloSamples { pub new: set_relay_vrf_modulo_samples::New, @@ -27530,20 +29477,24 @@ pub mod api { use super::runtime_types; pub type New = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for SetRelayVrfModuloSamples { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetRelayVrfModuloSamples { const PALLET: &'static str = "Configuration"; const CALL: &'static str = "set_relay_vrf_modulo_samples"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_max_upward_queue_count`]."] pub struct SetMaxUpwardQueueCount { pub new: set_max_upward_queue_count::New, @@ -27552,20 +29503,24 @@ pub mod api { use super::runtime_types; pub type New = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for SetMaxUpwardQueueCount { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetMaxUpwardQueueCount { const PALLET: &'static str = "Configuration"; const CALL: &'static str = "set_max_upward_queue_count"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_max_upward_queue_size`]."] pub struct SetMaxUpwardQueueSize { pub new: set_max_upward_queue_size::New, @@ -27574,20 +29529,24 @@ pub mod api { use super::runtime_types; pub type New = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for SetMaxUpwardQueueSize { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetMaxUpwardQueueSize { const PALLET: &'static str = "Configuration"; const CALL: &'static str = "set_max_upward_queue_size"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_max_downward_message_size`]."] pub struct SetMaxDownwardMessageSize { pub new: set_max_downward_message_size::New, @@ -27596,20 +29555,24 @@ pub mod api { use super::runtime_types; pub type New = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for SetMaxDownwardMessageSize { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetMaxDownwardMessageSize { const PALLET: &'static str = "Configuration"; const CALL: &'static str = "set_max_downward_message_size"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_max_upward_message_size`]."] pub struct SetMaxUpwardMessageSize { pub new: set_max_upward_message_size::New, @@ -27618,20 +29581,24 @@ pub mod api { use super::runtime_types; pub type New = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for SetMaxUpwardMessageSize { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetMaxUpwardMessageSize { const PALLET: &'static str = "Configuration"; const CALL: &'static str = "set_max_upward_message_size"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_max_upward_message_num_per_candidate`]."] pub struct SetMaxUpwardMessageNumPerCandidate { pub new: set_max_upward_message_num_per_candidate::New, @@ -27640,20 +29607,24 @@ pub mod api { use super::runtime_types; pub type New = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for SetMaxUpwardMessageNumPerCandidate { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetMaxUpwardMessageNumPerCandidate { const PALLET: &'static str = "Configuration"; const CALL: &'static str = "set_max_upward_message_num_per_candidate"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_hrmp_open_request_ttl`]."] pub struct SetHrmpOpenRequestTtl { pub new: set_hrmp_open_request_ttl::New, @@ -27662,20 +29633,24 @@ pub mod api { use super::runtime_types; pub type New = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for SetHrmpOpenRequestTtl { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetHrmpOpenRequestTtl { const PALLET: &'static str = "Configuration"; const CALL: &'static str = "set_hrmp_open_request_ttl"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_hrmp_sender_deposit`]."] pub struct SetHrmpSenderDeposit { pub new: set_hrmp_sender_deposit::New, @@ -27684,20 +29659,24 @@ pub mod api { use super::runtime_types; pub type New = ::core::primitive::u128; } - impl ::subxt::blocks::StaticExtrinsic for SetHrmpSenderDeposit { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetHrmpSenderDeposit { const PALLET: &'static str = "Configuration"; const CALL: &'static str = "set_hrmp_sender_deposit"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_hrmp_recipient_deposit`]."] pub struct SetHrmpRecipientDeposit { pub new: set_hrmp_recipient_deposit::New, @@ -27706,20 +29685,24 @@ pub mod api { use super::runtime_types; pub type New = ::core::primitive::u128; } - impl ::subxt::blocks::StaticExtrinsic for SetHrmpRecipientDeposit { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetHrmpRecipientDeposit { const PALLET: &'static str = "Configuration"; const CALL: &'static str = "set_hrmp_recipient_deposit"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_hrmp_channel_max_capacity`]."] pub struct SetHrmpChannelMaxCapacity { pub new: set_hrmp_channel_max_capacity::New, @@ -27728,20 +29711,24 @@ pub mod api { use super::runtime_types; pub type New = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for SetHrmpChannelMaxCapacity { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetHrmpChannelMaxCapacity { const PALLET: &'static str = "Configuration"; const CALL: &'static str = "set_hrmp_channel_max_capacity"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_hrmp_channel_max_total_size`]."] pub struct SetHrmpChannelMaxTotalSize { pub new: set_hrmp_channel_max_total_size::New, @@ -27750,20 +29737,24 @@ pub mod api { use super::runtime_types; pub type New = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for SetHrmpChannelMaxTotalSize { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetHrmpChannelMaxTotalSize { const PALLET: &'static str = "Configuration"; const CALL: &'static str = "set_hrmp_channel_max_total_size"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_hrmp_max_parachain_inbound_channels`]."] pub struct SetHrmpMaxParachainInboundChannels { pub new: set_hrmp_max_parachain_inbound_channels::New, @@ -27772,20 +29763,24 @@ pub mod api { use super::runtime_types; pub type New = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for SetHrmpMaxParachainInboundChannels { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetHrmpMaxParachainInboundChannels { const PALLET: &'static str = "Configuration"; const CALL: &'static str = "set_hrmp_max_parachain_inbound_channels"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_hrmp_channel_max_message_size`]."] pub struct SetHrmpChannelMaxMessageSize { pub new: set_hrmp_channel_max_message_size::New, @@ -27794,20 +29789,24 @@ pub mod api { use super::runtime_types; pub type New = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for SetHrmpChannelMaxMessageSize { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetHrmpChannelMaxMessageSize { const PALLET: &'static str = "Configuration"; const CALL: &'static str = "set_hrmp_channel_max_message_size"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_hrmp_max_parachain_outbound_channels`]."] pub struct SetHrmpMaxParachainOutboundChannels { pub new: set_hrmp_max_parachain_outbound_channels::New, @@ -27816,20 +29815,24 @@ pub mod api { use super::runtime_types; pub type New = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for SetHrmpMaxParachainOutboundChannels { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetHrmpMaxParachainOutboundChannels { const PALLET: &'static str = "Configuration"; const CALL: &'static str = "set_hrmp_max_parachain_outbound_channels"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_hrmp_max_message_num_per_candidate`]."] pub struct SetHrmpMaxMessageNumPerCandidate { pub new: set_hrmp_max_message_num_per_candidate::New, @@ -27838,20 +29841,24 @@ pub mod api { use super::runtime_types; pub type New = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for SetHrmpMaxMessageNumPerCandidate { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetHrmpMaxMessageNumPerCandidate { const PALLET: &'static str = "Configuration"; const CALL: &'static str = "set_hrmp_max_message_num_per_candidate"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_pvf_voting_ttl`]."] pub struct SetPvfVotingTtl { pub new: set_pvf_voting_ttl::New, @@ -27860,20 +29867,24 @@ pub mod api { use super::runtime_types; pub type New = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for SetPvfVotingTtl { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetPvfVotingTtl { const PALLET: &'static str = "Configuration"; const CALL: &'static str = "set_pvf_voting_ttl"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_minimum_validation_upgrade_delay`]."] pub struct SetMinimumValidationUpgradeDelay { pub new: set_minimum_validation_upgrade_delay::New, @@ -27882,20 +29893,24 @@ pub mod api { use super::runtime_types; pub type New = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for SetMinimumValidationUpgradeDelay { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetMinimumValidationUpgradeDelay { const PALLET: &'static str = "Configuration"; const CALL: &'static str = "set_minimum_validation_upgrade_delay"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_bypass_consistency_check`]."] pub struct SetBypassConsistencyCheck { pub new: set_bypass_consistency_check::New, @@ -27904,20 +29919,24 @@ pub mod api { use super::runtime_types; pub type New = ::core::primitive::bool; } - impl ::subxt::blocks::StaticExtrinsic for SetBypassConsistencyCheck { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetBypassConsistencyCheck { const PALLET: &'static str = "Configuration"; const CALL: &'static str = "set_bypass_consistency_check"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_async_backing_params`]."] pub struct SetAsyncBackingParams { pub new: set_async_backing_params::New, @@ -27927,20 +29946,24 @@ pub mod api { pub type New = runtime_types::polkadot_primitives::v6::async_backing::AsyncBackingParams; } - impl ::subxt::blocks::StaticExtrinsic for SetAsyncBackingParams { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetAsyncBackingParams { const PALLET: &'static str = "Configuration"; const CALL: &'static str = "set_async_backing_params"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_executor_params`]."] pub struct SetExecutorParams { pub new: set_executor_params::New, @@ -27950,20 +29973,24 @@ pub mod api { pub type New = runtime_types::polkadot_primitives::v6::executor_params::ExecutorParams; } - impl ::subxt::blocks::StaticExtrinsic for SetExecutorParams { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetExecutorParams { const PALLET: &'static str = "Configuration"; const CALL: &'static str = "set_executor_params"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_on_demand_base_fee`]."] pub struct SetOnDemandBaseFee { pub new: set_on_demand_base_fee::New, @@ -27972,20 +29999,24 @@ pub mod api { use super::runtime_types; pub type New = ::core::primitive::u128; } - impl ::subxt::blocks::StaticExtrinsic for SetOnDemandBaseFee { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetOnDemandBaseFee { const PALLET: &'static str = "Configuration"; const CALL: &'static str = "set_on_demand_base_fee"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_on_demand_fee_variability`]."] pub struct SetOnDemandFeeVariability { pub new: set_on_demand_fee_variability::New, @@ -27994,20 +30025,24 @@ pub mod api { use super::runtime_types; pub type New = runtime_types::sp_arithmetic::per_things::Perbill; } - impl ::subxt::blocks::StaticExtrinsic for SetOnDemandFeeVariability { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetOnDemandFeeVariability { const PALLET: &'static str = "Configuration"; const CALL: &'static str = "set_on_demand_fee_variability"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_on_demand_queue_max_size`]."] pub struct SetOnDemandQueueMaxSize { pub new: set_on_demand_queue_max_size::New, @@ -28016,20 +30051,24 @@ pub mod api { use super::runtime_types; pub type New = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for SetOnDemandQueueMaxSize { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetOnDemandQueueMaxSize { const PALLET: &'static str = "Configuration"; const CALL: &'static str = "set_on_demand_queue_max_size"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_on_demand_target_queue_utilization`]."] pub struct SetOnDemandTargetQueueUtilization { pub new: set_on_demand_target_queue_utilization::New, @@ -28038,20 +30077,24 @@ pub mod api { use super::runtime_types; pub type New = runtime_types::sp_arithmetic::per_things::Perbill; } - impl ::subxt::blocks::StaticExtrinsic for SetOnDemandTargetQueueUtilization { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetOnDemandTargetQueueUtilization { const PALLET: &'static str = "Configuration"; const CALL: &'static str = "set_on_demand_target_queue_utilization"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_on_demand_ttl`]."] pub struct SetOnDemandTtl { pub new: set_on_demand_ttl::New, @@ -28060,20 +30103,24 @@ pub mod api { use super::runtime_types; pub type New = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for SetOnDemandTtl { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetOnDemandTtl { const PALLET: &'static str = "Configuration"; const CALL: &'static str = "set_on_demand_ttl"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_minimum_backing_votes`]."] pub struct SetMinimumBackingVotes { pub new: set_minimum_backing_votes::New, @@ -28082,7 +30129,7 @@ pub mod api { use super::runtime_types; pub type New = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for SetMinimumBackingVotes { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetMinimumBackingVotes { const PALLET: &'static str = "Configuration"; const CALL: &'static str = "set_minimum_backing_votes"; } @@ -28093,8 +30140,9 @@ pub mod api { pub fn set_validation_upgrade_cooldown( &self, new: types::set_validation_upgrade_cooldown::New, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Configuration", "set_validation_upgrade_cooldown", types::SetValidationUpgradeCooldown { new }, @@ -28110,8 +30158,9 @@ pub mod api { pub fn set_validation_upgrade_delay( &self, new: types::set_validation_upgrade_delay::New, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Configuration", "set_validation_upgrade_delay", types::SetValidationUpgradeDelay { new }, @@ -28126,8 +30175,9 @@ pub mod api { pub fn set_code_retention_period( &self, new: types::set_code_retention_period::New, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Configuration", "set_code_retention_period", types::SetCodeRetentionPeriod { new }, @@ -28143,8 +30193,8 @@ pub mod api { pub fn set_max_code_size( &self, new: types::set_max_code_size::New, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Configuration", "set_max_code_size", types::SetMaxCodeSize { new }, @@ -28160,8 +30210,8 @@ pub mod api { pub fn set_max_pov_size( &self, new: types::set_max_pov_size::New, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Configuration", "set_max_pov_size", types::SetMaxPovSize { new }, @@ -28176,8 +30226,9 @@ pub mod api { pub fn set_max_head_data_size( &self, new: types::set_max_head_data_size::New, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Configuration", "set_max_head_data_size", types::SetMaxHeadDataSize { new }, @@ -28193,8 +30244,9 @@ pub mod api { pub fn set_on_demand_cores( &self, new: types::set_on_demand_cores::New, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Configuration", "set_on_demand_cores", types::SetOnDemandCores { new }, @@ -28210,8 +30262,9 @@ pub mod api { pub fn set_on_demand_retries( &self, new: types::set_on_demand_retries::New, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Configuration", "set_on_demand_retries", types::SetOnDemandRetries { new }, @@ -28227,8 +30280,9 @@ pub mod api { pub fn set_group_rotation_frequency( &self, new: types::set_group_rotation_frequency::New, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Configuration", "set_group_rotation_frequency", types::SetGroupRotationFrequency { new }, @@ -28243,8 +30297,9 @@ pub mod api { pub fn set_paras_availability_period( &self, new: types::set_paras_availability_period::New, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Configuration", "set_paras_availability_period", types::SetParasAvailabilityPeriod { new }, @@ -28259,8 +30314,9 @@ pub mod api { pub fn set_scheduling_lookahead( &self, new: types::set_scheduling_lookahead::New, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Configuration", "set_scheduling_lookahead", types::SetSchedulingLookahead { new }, @@ -28276,8 +30332,9 @@ pub mod api { pub fn set_max_validators_per_core( &self, new: types::set_max_validators_per_core::New, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Configuration", "set_max_validators_per_core", types::SetMaxValidatorsPerCore { new }, @@ -28293,8 +30350,9 @@ pub mod api { pub fn set_max_validators( &self, new: types::set_max_validators::New, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Configuration", "set_max_validators", types::SetMaxValidators { new }, @@ -28310,8 +30368,9 @@ pub mod api { pub fn set_dispute_period( &self, new: types::set_dispute_period::New, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Configuration", "set_dispute_period", types::SetDisputePeriod { new }, @@ -28327,9 +30386,10 @@ pub mod api { pub fn set_dispute_post_conclusion_acceptance_period( &self, new: types::set_dispute_post_conclusion_acceptance_period::New, - ) -> ::subxt::tx::Payload - { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload< + types::SetDisputePostConclusionAcceptancePeriod, + > { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Configuration", "set_dispute_post_conclusion_acceptance_period", types::SetDisputePostConclusionAcceptancePeriod { new }, @@ -28345,8 +30405,8 @@ pub mod api { pub fn set_no_show_slots( &self, new: types::set_no_show_slots::New, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Configuration", "set_no_show_slots", types::SetNoShowSlots { new }, @@ -28361,8 +30421,9 @@ pub mod api { pub fn set_n_delay_tranches( &self, new: types::set_n_delay_tranches::New, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Configuration", "set_n_delay_tranches", types::SetNDelayTranches { new }, @@ -28378,8 +30439,9 @@ pub mod api { pub fn set_zeroth_delay_tranche_width( &self, new: types::set_zeroth_delay_tranche_width::New, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Configuration", "set_zeroth_delay_tranche_width", types::SetZerothDelayTrancheWidth { new }, @@ -28394,8 +30456,9 @@ pub mod api { pub fn set_needed_approvals( &self, new: types::set_needed_approvals::New, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Configuration", "set_needed_approvals", types::SetNeededApprovals { new }, @@ -28410,8 +30473,9 @@ pub mod api { pub fn set_relay_vrf_modulo_samples( &self, new: types::set_relay_vrf_modulo_samples::New, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Configuration", "set_relay_vrf_modulo_samples", types::SetRelayVrfModuloSamples { new }, @@ -28427,8 +30491,9 @@ pub mod api { pub fn set_max_upward_queue_count( &self, new: types::set_max_upward_queue_count::New, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Configuration", "set_max_upward_queue_count", types::SetMaxUpwardQueueCount { new }, @@ -28444,8 +30509,9 @@ pub mod api { pub fn set_max_upward_queue_size( &self, new: types::set_max_upward_queue_size::New, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Configuration", "set_max_upward_queue_size", types::SetMaxUpwardQueueSize { new }, @@ -28461,8 +30527,9 @@ pub mod api { pub fn set_max_downward_message_size( &self, new: types::set_max_downward_message_size::New, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Configuration", "set_max_downward_message_size", types::SetMaxDownwardMessageSize { new }, @@ -28477,8 +30544,9 @@ pub mod api { pub fn set_max_upward_message_size( &self, new: types::set_max_upward_message_size::New, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Configuration", "set_max_upward_message_size", types::SetMaxUpwardMessageSize { new }, @@ -28494,9 +30562,9 @@ pub mod api { pub fn set_max_upward_message_num_per_candidate( &self, new: types::set_max_upward_message_num_per_candidate::New, - ) -> ::subxt::tx::Payload + ) -> ::subxt::ext::subxt_core::tx::Payload { - ::subxt::tx::Payload::new_static( + ::subxt::ext::subxt_core::tx::Payload::new_static( "Configuration", "set_max_upward_message_num_per_candidate", types::SetMaxUpwardMessageNumPerCandidate { new }, @@ -28511,8 +30579,9 @@ pub mod api { pub fn set_hrmp_open_request_ttl( &self, new: types::set_hrmp_open_request_ttl::New, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Configuration", "set_hrmp_open_request_ttl", types::SetHrmpOpenRequestTtl { new }, @@ -28527,8 +30596,9 @@ pub mod api { pub fn set_hrmp_sender_deposit( &self, new: types::set_hrmp_sender_deposit::New, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Configuration", "set_hrmp_sender_deposit", types::SetHrmpSenderDeposit { new }, @@ -28543,8 +30613,9 @@ pub mod api { pub fn set_hrmp_recipient_deposit( &self, new: types::set_hrmp_recipient_deposit::New, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Configuration", "set_hrmp_recipient_deposit", types::SetHrmpRecipientDeposit { new }, @@ -28560,8 +30631,9 @@ pub mod api { pub fn set_hrmp_channel_max_capacity( &self, new: types::set_hrmp_channel_max_capacity::New, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Configuration", "set_hrmp_channel_max_capacity", types::SetHrmpChannelMaxCapacity { new }, @@ -28577,8 +30649,9 @@ pub mod api { pub fn set_hrmp_channel_max_total_size( &self, new: types::set_hrmp_channel_max_total_size::New, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Configuration", "set_hrmp_channel_max_total_size", types::SetHrmpChannelMaxTotalSize { new }, @@ -28593,9 +30666,9 @@ pub mod api { pub fn set_hrmp_max_parachain_inbound_channels( &self, new: types::set_hrmp_max_parachain_inbound_channels::New, - ) -> ::subxt::tx::Payload + ) -> ::subxt::ext::subxt_core::tx::Payload { - ::subxt::tx::Payload::new_static( + ::subxt::ext::subxt_core::tx::Payload::new_static( "Configuration", "set_hrmp_max_parachain_inbound_channels", types::SetHrmpMaxParachainInboundChannels { new }, @@ -28610,8 +30683,9 @@ pub mod api { pub fn set_hrmp_channel_max_message_size( &self, new: types::set_hrmp_channel_max_message_size::New, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Configuration", "set_hrmp_channel_max_message_size", types::SetHrmpChannelMaxMessageSize { new }, @@ -28627,9 +30701,9 @@ pub mod api { pub fn set_hrmp_max_parachain_outbound_channels( &self, new: types::set_hrmp_max_parachain_outbound_channels::New, - ) -> ::subxt::tx::Payload + ) -> ::subxt::ext::subxt_core::tx::Payload { - ::subxt::tx::Payload::new_static( + ::subxt::ext::subxt_core::tx::Payload::new_static( "Configuration", "set_hrmp_max_parachain_outbound_channels", types::SetHrmpMaxParachainOutboundChannels { new }, @@ -28644,8 +30718,9 @@ pub mod api { pub fn set_hrmp_max_message_num_per_candidate( &self, new: types::set_hrmp_max_message_num_per_candidate::New, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Configuration", "set_hrmp_max_message_num_per_candidate", types::SetHrmpMaxMessageNumPerCandidate { new }, @@ -28660,8 +30735,8 @@ pub mod api { pub fn set_pvf_voting_ttl( &self, new: types::set_pvf_voting_ttl::New, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Configuration", "set_pvf_voting_ttl", types::SetPvfVotingTtl { new }, @@ -28677,8 +30752,9 @@ pub mod api { pub fn set_minimum_validation_upgrade_delay( &self, new: types::set_minimum_validation_upgrade_delay::New, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Configuration", "set_minimum_validation_upgrade_delay", types::SetMinimumValidationUpgradeDelay { new }, @@ -28694,8 +30770,9 @@ pub mod api { pub fn set_bypass_consistency_check( &self, new: types::set_bypass_consistency_check::New, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Configuration", "set_bypass_consistency_check", types::SetBypassConsistencyCheck { new }, @@ -28711,8 +30788,9 @@ pub mod api { pub fn set_async_backing_params( &self, new: types::set_async_backing_params::New, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Configuration", "set_async_backing_params", types::SetAsyncBackingParams { new }, @@ -28728,8 +30806,9 @@ pub mod api { pub fn set_executor_params( &self, new: types::set_executor_params::New, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Configuration", "set_executor_params", types::SetExecutorParams { new }, @@ -28744,8 +30823,9 @@ pub mod api { pub fn set_on_demand_base_fee( &self, new: types::set_on_demand_base_fee::New, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Configuration", "set_on_demand_base_fee", types::SetOnDemandBaseFee { new }, @@ -28760,8 +30840,9 @@ pub mod api { pub fn set_on_demand_fee_variability( &self, new: types::set_on_demand_fee_variability::New, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Configuration", "set_on_demand_fee_variability", types::SetOnDemandFeeVariability { new }, @@ -28777,8 +30858,9 @@ pub mod api { pub fn set_on_demand_queue_max_size( &self, new: types::set_on_demand_queue_max_size::New, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Configuration", "set_on_demand_queue_max_size", types::SetOnDemandQueueMaxSize { new }, @@ -28793,9 +30875,9 @@ pub mod api { pub fn set_on_demand_target_queue_utilization( &self, new: types::set_on_demand_target_queue_utilization::New, - ) -> ::subxt::tx::Payload + ) -> ::subxt::ext::subxt_core::tx::Payload { - ::subxt::tx::Payload::new_static( + ::subxt::ext::subxt_core::tx::Payload::new_static( "Configuration", "set_on_demand_target_queue_utilization", types::SetOnDemandTargetQueueUtilization { new }, @@ -28811,8 +30893,8 @@ pub mod api { pub fn set_on_demand_ttl( &self, new: types::set_on_demand_ttl::New, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Configuration", "set_on_demand_ttl", types::SetOnDemandTtl { new }, @@ -28828,8 +30910,9 @@ pub mod api { pub fn set_minimum_backing_votes( &self, new: types::set_minimum_backing_votes::New, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Configuration", "set_minimum_backing_votes", types::SetMinimumBackingVotes { new }, @@ -28852,7 +30935,7 @@ pub mod api { } pub mod pending_configs { use super::runtime_types; - pub type PendingConfigs = :: std :: vec :: Vec < (:: core :: primitive :: u32 , runtime_types :: polkadot_runtime_parachains :: configuration :: HostConfiguration < :: core :: primitive :: u32 > ,) > ; + pub type PendingConfigs = :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < (:: core :: primitive :: u32 , runtime_types :: polkadot_runtime_parachains :: configuration :: HostConfiguration < :: core :: primitive :: u32 > ,) > ; } pub mod bypass_consistency_check { use super::runtime_types; @@ -28864,17 +30947,17 @@ pub mod api { #[doc = " The active configuration for the current session."] pub fn active_config( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::active_config::ActiveConfig, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Configuration", "ActiveConfig", - vec![], + (), [ 126u8, 223u8, 107u8, 199u8, 21u8, 114u8, 19u8, 172u8, 27u8, 108u8, 189u8, 165u8, 33u8, 220u8, 57u8, 81u8, 137u8, 242u8, 204u8, 148u8, @@ -28892,17 +30975,17 @@ pub mod api { #[doc = " 2 items: for the next session and for the `scheduled_session`."] pub fn pending_configs( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::pending_configs::PendingConfigs, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Configuration", "PendingConfigs", - vec![], + (), [ 105u8, 89u8, 53u8, 156u8, 60u8, 53u8, 196u8, 187u8, 5u8, 122u8, 186u8, 196u8, 162u8, 133u8, 254u8, 178u8, 130u8, 143u8, 90u8, 23u8, 234u8, @@ -28915,17 +30998,17 @@ pub mod api { #[doc = " is meant to be used only as the last resort."] pub fn bypass_consistency_check( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::bypass_consistency_check::BypassConsistencyCheck, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Configuration", "BypassConsistencyCheck", - vec![], + (), [ 109u8, 201u8, 130u8, 189u8, 167u8, 112u8, 171u8, 180u8, 100u8, 146u8, 23u8, 174u8, 199u8, 230u8, 185u8, 155u8, 178u8, 45u8, 24u8, 66u8, @@ -28962,18 +31045,19 @@ pub mod api { } pub mod active_validator_indices { use super::runtime_types; - pub type ActiveValidatorIndices = - ::std::vec::Vec; + pub type ActiveValidatorIndices = ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::polkadot_primitives::v6::ValidatorIndex, + >; } pub mod active_validator_keys { use super::runtime_types; - pub type ActiveValidatorKeys = ::std::vec::Vec< + pub type ActiveValidatorKeys = ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_primitives::v6::validator_app::Public, >; } pub mod allowed_relay_parents { use super::runtime_types; - pub type AllowedRelayParents = runtime_types :: polkadot_runtime_parachains :: shared :: AllowedRelayParentsTracker < :: subxt :: utils :: H256 , :: core :: primitive :: u32 > ; + pub type AllowedRelayParents = runtime_types :: polkadot_runtime_parachains :: shared :: AllowedRelayParentsTracker < :: subxt :: ext :: subxt_core :: utils :: H256 , :: core :: primitive :: u32 > ; } } pub struct StorageApi; @@ -28981,17 +31065,17 @@ pub mod api { #[doc = " The current session index."] pub fn current_session_index( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::current_session_index::CurrentSessionIndex, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ParasShared", "CurrentSessionIndex", - vec![], + (), [ 250u8, 164u8, 179u8, 84u8, 199u8, 245u8, 116u8, 48u8, 86u8, 127u8, 50u8, 117u8, 236u8, 41u8, 107u8, 238u8, 151u8, 236u8, 68u8, 78u8, @@ -29004,17 +31088,17 @@ pub mod api { #[doc = " Indices are into the broader validator set."] pub fn active_validator_indices( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::active_validator_indices::ActiveValidatorIndices, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ParasShared", "ActiveValidatorIndices", - vec![], + (), [ 80u8, 207u8, 217u8, 195u8, 69u8, 151u8, 27u8, 205u8, 227u8, 89u8, 71u8, 180u8, 91u8, 116u8, 82u8, 193u8, 108u8, 115u8, 40u8, 247u8, 160u8, @@ -29026,17 +31110,17 @@ pub mod api { #[doc = " consensus. This should be the same length as `ActiveValidatorIndices`."] pub fn active_validator_keys( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::active_validator_keys::ActiveValidatorKeys, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ParasShared", "ActiveValidatorKeys", - vec![], + (), [ 155u8, 151u8, 155u8, 8u8, 23u8, 38u8, 91u8, 12u8, 94u8, 69u8, 228u8, 185u8, 14u8, 219u8, 215u8, 98u8, 235u8, 222u8, 157u8, 180u8, 230u8, @@ -29048,17 +31132,17 @@ pub mod api { #[doc = " All allowed relay-parents."] pub fn allowed_relay_parents( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::allowed_relay_parents::AllowedRelayParents, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ParasShared", "AllowedRelayParents", - vec![], + (), [ 12u8, 170u8, 241u8, 120u8, 39u8, 216u8, 90u8, 37u8, 119u8, 212u8, 161u8, 90u8, 233u8, 124u8, 92u8, 43u8, 212u8, 206u8, 153u8, 103u8, @@ -29092,15 +31176,15 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A candidate was backed. `[candidate, head_data]`"] pub struct CandidateBacked( pub candidate_backed::Field0, @@ -29110,27 +31194,28 @@ pub mod api { ); pub mod candidate_backed { use super::runtime_types; - pub type Field0 = - runtime_types::polkadot_primitives::v6::CandidateReceipt<::subxt::utils::H256>; + pub type Field0 = runtime_types::polkadot_primitives::v6::CandidateReceipt< + ::subxt::ext::subxt_core::utils::H256, + >; pub type Field1 = runtime_types::polkadot_parachain_primitives::primitives::HeadData; pub type Field2 = runtime_types::polkadot_primitives::v6::CoreIndex; pub type Field3 = runtime_types::polkadot_primitives::v6::GroupIndex; } - impl ::subxt::events::StaticEvent for CandidateBacked { + impl ::subxt::ext::subxt_core::events::StaticEvent for CandidateBacked { const PALLET: &'static str = "ParaInclusion"; const EVENT: &'static str = "CandidateBacked"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A candidate was included. `[candidate, head_data]`"] pub struct CandidateIncluded( pub candidate_included::Field0, @@ -29140,27 +31225,28 @@ pub mod api { ); pub mod candidate_included { use super::runtime_types; - pub type Field0 = - runtime_types::polkadot_primitives::v6::CandidateReceipt<::subxt::utils::H256>; + pub type Field0 = runtime_types::polkadot_primitives::v6::CandidateReceipt< + ::subxt::ext::subxt_core::utils::H256, + >; pub type Field1 = runtime_types::polkadot_parachain_primitives::primitives::HeadData; pub type Field2 = runtime_types::polkadot_primitives::v6::CoreIndex; pub type Field3 = runtime_types::polkadot_primitives::v6::GroupIndex; } - impl ::subxt::events::StaticEvent for CandidateIncluded { + impl ::subxt::ext::subxt_core::events::StaticEvent for CandidateIncluded { const PALLET: &'static str = "ParaInclusion"; const EVENT: &'static str = "CandidateIncluded"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A candidate timed out. `[candidate, head_data]`"] pub struct CandidateTimedOut( pub candidate_timed_out::Field0, @@ -29169,26 +31255,27 @@ pub mod api { ); pub mod candidate_timed_out { use super::runtime_types; - pub type Field0 = - runtime_types::polkadot_primitives::v6::CandidateReceipt<::subxt::utils::H256>; + pub type Field0 = runtime_types::polkadot_primitives::v6::CandidateReceipt< + ::subxt::ext::subxt_core::utils::H256, + >; pub type Field1 = runtime_types::polkadot_parachain_primitives::primitives::HeadData; pub type Field2 = runtime_types::polkadot_primitives::v6::CoreIndex; } - impl ::subxt::events::StaticEvent for CandidateTimedOut { + impl ::subxt::ext::subxt_core::events::StaticEvent for CandidateTimedOut { const PALLET: &'static str = "ParaInclusion"; const EVENT: &'static str = "CandidateTimedOut"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some upward messages have been received and will be processed."] pub struct UpwardMessagesReceived { pub from: upward_messages_received::From, @@ -29199,7 +31286,7 @@ pub mod api { pub type From = runtime_types::polkadot_parachain_primitives::primitives::Id; pub type Count = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for UpwardMessagesReceived { + impl ::subxt::ext::subxt_core::events::StaticEvent for UpwardMessagesReceived { const PALLET: &'static str = "ParaInclusion"; const EVENT: &'static str = "UpwardMessagesReceived"; } @@ -29215,7 +31302,7 @@ pub mod api { } pub mod pending_availability { use super::runtime_types; - pub type PendingAvailability = runtime_types :: polkadot_runtime_parachains :: inclusion :: CandidatePendingAvailability < :: subxt :: utils :: H256 , :: core :: primitive :: u32 > ; + pub type PendingAvailability = runtime_types :: polkadot_runtime_parachains :: inclusion :: CandidatePendingAvailability < :: subxt :: ext :: subxt_core :: utils :: H256 , :: core :: primitive :: u32 > ; pub type Param0 = runtime_types::polkadot_parachain_primitives::primitives::Id; } pub mod pending_availability_commitments { @@ -29232,17 +31319,17 @@ pub mod api { #[doc = " The latest bitfield for each validator, referred to by their index in the validator set."] pub fn availability_bitfields_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::availability_bitfields::AvailabilityBitfields, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ParaInclusion", "AvailabilityBitfields", - vec![], + (), [ 163u8, 169u8, 217u8, 160u8, 147u8, 165u8, 186u8, 21u8, 171u8, 177u8, 74u8, 69u8, 55u8, 205u8, 46u8, 13u8, 253u8, 83u8, 55u8, 190u8, 22u8, @@ -29253,20 +31340,22 @@ pub mod api { #[doc = " The latest bitfield for each validator, referred to by their index in the validator set."] pub fn availability_bitfields( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::availability_bitfields::Param0, + >, types::availability_bitfields::AvailabilityBitfields, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ParaInclusion", "AvailabilityBitfields", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 163u8, 169u8, 217u8, 160u8, 147u8, 165u8, 186u8, 21u8, 171u8, 177u8, 74u8, 69u8, 55u8, 205u8, 46u8, 13u8, 253u8, 83u8, 55u8, 190u8, 22u8, @@ -29277,17 +31366,17 @@ pub mod api { #[doc = " Candidates pending availability by `ParaId`."] pub fn pending_availability_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::pending_availability::PendingAvailability, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ParaInclusion", "PendingAvailability", - vec![], + (), [ 164u8, 175u8, 34u8, 182u8, 190u8, 147u8, 42u8, 185u8, 162u8, 130u8, 33u8, 159u8, 234u8, 242u8, 90u8, 119u8, 2u8, 195u8, 48u8, 150u8, 135u8, @@ -29298,20 +31387,22 @@ pub mod api { #[doc = " Candidates pending availability by `ParaId`."] pub fn pending_availability( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::pending_availability::Param0, + >, types::pending_availability::PendingAvailability, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ParaInclusion", "PendingAvailability", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 164u8, 175u8, 34u8, 182u8, 190u8, 147u8, 42u8, 185u8, 162u8, 130u8, 33u8, 159u8, 234u8, 242u8, 90u8, 119u8, 2u8, 195u8, 48u8, 150u8, 135u8, @@ -29322,17 +31413,17 @@ pub mod api { #[doc = " The commitments of candidates pending availability, by `ParaId`."] pub fn pending_availability_commitments_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::pending_availability_commitments::PendingAvailabilityCommitments, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ParaInclusion", "PendingAvailabilityCommitments", - vec![], + (), [ 196u8, 210u8, 210u8, 16u8, 246u8, 105u8, 121u8, 178u8, 5u8, 48u8, 40u8, 183u8, 63u8, 147u8, 48u8, 74u8, 20u8, 83u8, 76u8, 84u8, 41u8, 30u8, @@ -29343,20 +31434,22 @@ pub mod api { #[doc = " The commitments of candidates pending availability, by `ParaId`."] pub fn pending_availability_commitments( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::pending_availability_commitments::Param0, + >, types::pending_availability_commitments::PendingAvailabilityCommitments, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ParaInclusion", "PendingAvailabilityCommitments", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 196u8, 210u8, 210u8, 16u8, 246u8, 105u8, 121u8, 178u8, 5u8, 48u8, 40u8, 183u8, 63u8, 147u8, 48u8, 74u8, 20u8, 83u8, 76u8, 84u8, 41u8, 30u8, @@ -29381,15 +31474,19 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::enter`]."] pub struct Enter { pub data: enter::Data, @@ -29400,7 +31497,7 @@ pub mod api { runtime_types::sp_runtime::generic::header::Header<::core::primitive::u32>, >; } - impl ::subxt::blocks::StaticExtrinsic for Enter { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Enter { const PALLET: &'static str = "ParaInherent"; const CALL: &'static str = "enter"; } @@ -29411,8 +31508,8 @@ pub mod api { pub fn enter( &self, data: types::enter::Data, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "ParaInherent", "enter", types::Enter { data }, @@ -29437,7 +31534,7 @@ pub mod api { use super::runtime_types; pub type OnChainVotes = runtime_types::polkadot_primitives::v6::ScrapedOnChainVotes< - ::subxt::utils::H256, + ::subxt::ext::subxt_core::utils::H256, >; } } @@ -29451,17 +31548,17 @@ pub mod api { #[doc = " If this is `None` at the end of the block, we panic and render the block invalid."] pub fn included( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::included::Included, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ParaInherent", "Included", - vec![], + (), [ 108u8, 164u8, 163u8, 34u8, 27u8, 124u8, 202u8, 167u8, 48u8, 130u8, 155u8, 211u8, 148u8, 130u8, 76u8, 16u8, 5u8, 250u8, 211u8, 174u8, 90u8, @@ -29472,17 +31569,17 @@ pub mod api { #[doc = " Scraped on chain data for extracting resolved disputes as well as backing votes."] pub fn on_chain_votes( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::on_chain_votes::OnChainVotes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ParaInherent", "OnChainVotes", - vec![], + (), [ 200u8, 210u8, 42u8, 153u8, 85u8, 71u8, 171u8, 108u8, 148u8, 212u8, 108u8, 61u8, 178u8, 77u8, 129u8, 90u8, 120u8, 218u8, 228u8, 152u8, @@ -29503,13 +31600,15 @@ pub mod api { use super::runtime_types; pub mod validator_groups { use super::runtime_types; - pub type ValidatorGroups = ::std::vec::Vec< - ::std::vec::Vec, + pub type ValidatorGroups = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::polkadot_primitives::v6::ValidatorIndex, + >, >; } pub mod availability_cores { use super::runtime_types; - pub type AvailabilityCores = ::std::vec::Vec< + pub type AvailabilityCores = ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_runtime_parachains::scheduler::pallet::CoreOccupied< ::core::primitive::u32, >, @@ -29521,7 +31620,7 @@ pub mod api { } pub mod claim_queue { use super::runtime_types; - pub type ClaimQueue = :: subxt :: utils :: KeyedVec < runtime_types :: polkadot_primitives :: v6 :: CoreIndex , :: std :: vec :: Vec < :: core :: option :: Option < runtime_types :: polkadot_runtime_parachains :: scheduler :: pallet :: ParasEntry < :: core :: primitive :: u32 > > > > ; + pub type ClaimQueue = :: subxt :: ext :: subxt_core :: utils :: KeyedVec < runtime_types :: polkadot_primitives :: v6 :: CoreIndex , :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < :: core :: option :: Option < runtime_types :: polkadot_runtime_parachains :: scheduler :: pallet :: ParasEntry < :: core :: primitive :: u32 > > > > ; } } pub struct StorageApi; @@ -29535,17 +31634,17 @@ pub mod api { #[doc = " upper bound at 10k."] pub fn validator_groups( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::validator_groups::ValidatorGroups, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ParaScheduler", "ValidatorGroups", - vec![], + (), [ 129u8, 58u8, 65u8, 112u8, 4u8, 172u8, 167u8, 19u8, 96u8, 154u8, 159u8, 83u8, 94u8, 125u8, 60u8, 43u8, 60u8, 70u8, 1u8, 58u8, 222u8, 31u8, @@ -29563,17 +31662,17 @@ pub mod api { #[doc = " * The number of validators divided by `configuration.max_validators_per_core`."] pub fn availability_cores( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::availability_cores::AvailabilityCores, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ParaScheduler", "AvailabilityCores", - vec![], + (), [ 134u8, 59u8, 206u8, 4u8, 69u8, 72u8, 73u8, 25u8, 139u8, 152u8, 202u8, 43u8, 224u8, 77u8, 64u8, 57u8, 218u8, 245u8, 254u8, 222u8, 227u8, 95u8, @@ -29590,17 +31689,17 @@ pub mod api { #[doc = " block following the session change, block number of which we save in this storage value."] pub fn session_start_block( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::session_start_block::SessionStartBlock, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ParaScheduler", "SessionStartBlock", - vec![], + (), [ 185u8, 76u8, 120u8, 75u8, 154u8, 31u8, 33u8, 243u8, 16u8, 77u8, 100u8, 249u8, 21u8, 44u8, 199u8, 195u8, 37u8, 9u8, 218u8, 148u8, 222u8, 90u8, @@ -29615,17 +31714,17 @@ pub mod api { #[doc = " a block. Runtime APIs should be used to determine scheduled cores/ for the upcoming block."] pub fn claim_queue( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::claim_queue::ClaimQueue, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ParaScheduler", "ClaimQueue", - vec![], + (), [ 132u8, 78u8, 109u8, 225u8, 170u8, 78u8, 17u8, 53u8, 56u8, 218u8, 14u8, 17u8, 230u8, 247u8, 11u8, 223u8, 18u8, 98u8, 92u8, 164u8, 223u8, 143u8, @@ -29650,15 +31749,19 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::force_set_current_code`]."] pub struct ForceSetCurrentCode { pub para: force_set_current_code::Para, @@ -29670,20 +31773,24 @@ pub mod api { pub type NewCode = runtime_types::polkadot_parachain_primitives::primitives::ValidationCode; } - impl ::subxt::blocks::StaticExtrinsic for ForceSetCurrentCode { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceSetCurrentCode { const PALLET: &'static str = "Paras"; const CALL: &'static str = "force_set_current_code"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::force_set_current_head`]."] pub struct ForceSetCurrentHead { pub para: force_set_current_head::Para, @@ -29695,20 +31802,24 @@ pub mod api { pub type NewHead = runtime_types::polkadot_parachain_primitives::primitives::HeadData; } - impl ::subxt::blocks::StaticExtrinsic for ForceSetCurrentHead { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceSetCurrentHead { const PALLET: &'static str = "Paras"; const CALL: &'static str = "force_set_current_head"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::force_schedule_code_upgrade`]."] pub struct ForceScheduleCodeUpgrade { pub para: force_schedule_code_upgrade::Para, @@ -29722,20 +31833,24 @@ pub mod api { runtime_types::polkadot_parachain_primitives::primitives::ValidationCode; pub type RelayParentNumber = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for ForceScheduleCodeUpgrade { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceScheduleCodeUpgrade { const PALLET: &'static str = "Paras"; const CALL: &'static str = "force_schedule_code_upgrade"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::force_note_new_head`]."] pub struct ForceNoteNewHead { pub para: force_note_new_head::Para, @@ -29747,20 +31862,24 @@ pub mod api { pub type NewHead = runtime_types::polkadot_parachain_primitives::primitives::HeadData; } - impl ::subxt::blocks::StaticExtrinsic for ForceNoteNewHead { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceNoteNewHead { const PALLET: &'static str = "Paras"; const CALL: &'static str = "force_note_new_head"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::force_queue_action`]."] pub struct ForceQueueAction { pub para: force_queue_action::Para, @@ -29769,20 +31888,24 @@ pub mod api { use super::runtime_types; pub type Para = runtime_types::polkadot_parachain_primitives::primitives::Id; } - impl ::subxt::blocks::StaticExtrinsic for ForceQueueAction { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceQueueAction { const PALLET: &'static str = "Paras"; const CALL: &'static str = "force_queue_action"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::add_trusted_validation_code`]."] pub struct AddTrustedValidationCode { pub validation_code: add_trusted_validation_code::ValidationCode, @@ -29792,20 +31915,24 @@ pub mod api { pub type ValidationCode = runtime_types::polkadot_parachain_primitives::primitives::ValidationCode; } - impl ::subxt::blocks::StaticExtrinsic for AddTrustedValidationCode { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AddTrustedValidationCode { const PALLET: &'static str = "Paras"; const CALL: &'static str = "add_trusted_validation_code"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::poke_unused_validation_code`]."] pub struct PokeUnusedValidationCode { pub validation_code_hash: poke_unused_validation_code::ValidationCodeHash, @@ -29814,20 +31941,24 @@ pub mod api { use super::runtime_types; pub type ValidationCodeHash = runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCodeHash ; } - impl ::subxt::blocks::StaticExtrinsic for PokeUnusedValidationCode { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for PokeUnusedValidationCode { const PALLET: &'static str = "Paras"; const CALL: &'static str = "poke_unused_validation_code"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::include_pvf_check_statement`]."] pub struct IncludePvfCheckStatement { pub stmt: include_pvf_check_statement::Stmt, @@ -29839,20 +31970,24 @@ pub mod api { pub type Signature = runtime_types::polkadot_primitives::v6::validator_app::Signature; } - impl ::subxt::blocks::StaticExtrinsic for IncludePvfCheckStatement { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for IncludePvfCheckStatement { const PALLET: &'static str = "Paras"; const CALL: &'static str = "include_pvf_check_statement"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::force_set_most_recent_context`]."] pub struct ForceSetMostRecentContext { pub para: force_set_most_recent_context::Para, @@ -29863,7 +31998,7 @@ pub mod api { pub type Para = runtime_types::polkadot_parachain_primitives::primitives::Id; pub type Context = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for ForceSetMostRecentContext { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceSetMostRecentContext { const PALLET: &'static str = "Paras"; const CALL: &'static str = "force_set_most_recent_context"; } @@ -29875,8 +32010,9 @@ pub mod api { &self, para: types::force_set_current_code::Para, new_code: types::force_set_current_code::NewCode, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Paras", "force_set_current_code", types::ForceSetCurrentCode { para, new_code }, @@ -29893,8 +32029,9 @@ pub mod api { &self, para: types::force_set_current_head::Para, new_head: types::force_set_current_head::NewHead, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Paras", "force_set_current_head", types::ForceSetCurrentHead { para, new_head }, @@ -29912,8 +32049,9 @@ pub mod api { para: types::force_schedule_code_upgrade::Para, new_code: types::force_schedule_code_upgrade::NewCode, relay_parent_number: types::force_schedule_code_upgrade::RelayParentNumber, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Paras", "force_schedule_code_upgrade", types::ForceScheduleCodeUpgrade { @@ -29934,8 +32072,9 @@ pub mod api { &self, para: types::force_note_new_head::Para, new_head: types::force_note_new_head::NewHead, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Paras", "force_note_new_head", types::ForceNoteNewHead { para, new_head }, @@ -29950,8 +32089,9 @@ pub mod api { pub fn force_queue_action( &self, para: types::force_queue_action::Para, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Paras", "force_queue_action", types::ForceQueueAction { para }, @@ -29967,8 +32107,9 @@ pub mod api { pub fn add_trusted_validation_code( &self, validation_code: types::add_trusted_validation_code::ValidationCode, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Paras", "add_trusted_validation_code", types::AddTrustedValidationCode { validation_code }, @@ -29984,8 +32125,9 @@ pub mod api { pub fn poke_unused_validation_code( &self, validation_code_hash: types::poke_unused_validation_code::ValidationCodeHash, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Paras", "poke_unused_validation_code", types::PokeUnusedValidationCode { @@ -30003,8 +32145,9 @@ pub mod api { &self, stmt: types::include_pvf_check_statement::Stmt, signature: types::include_pvf_check_statement::Signature, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Paras", "include_pvf_check_statement", types::IncludePvfCheckStatement { stmt, signature }, @@ -30021,8 +32164,9 @@ pub mod api { &self, para: types::force_set_most_recent_context::Para, context: types::force_set_most_recent_context::Context, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Paras", "force_set_most_recent_context", types::ForceSetMostRecentContext { para, context }, @@ -30040,95 +32184,95 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Current code has been updated for a Para. `para_id`"] pub struct CurrentCodeUpdated(pub current_code_updated::Field0); pub mod current_code_updated { use super::runtime_types; pub type Field0 = runtime_types::polkadot_parachain_primitives::primitives::Id; } - impl ::subxt::events::StaticEvent for CurrentCodeUpdated { + impl ::subxt::ext::subxt_core::events::StaticEvent for CurrentCodeUpdated { const PALLET: &'static str = "Paras"; const EVENT: &'static str = "CurrentCodeUpdated"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Current head has been updated for a Para. `para_id`"] pub struct CurrentHeadUpdated(pub current_head_updated::Field0); pub mod current_head_updated { use super::runtime_types; pub type Field0 = runtime_types::polkadot_parachain_primitives::primitives::Id; } - impl ::subxt::events::StaticEvent for CurrentHeadUpdated { + impl ::subxt::ext::subxt_core::events::StaticEvent for CurrentHeadUpdated { const PALLET: &'static str = "Paras"; const EVENT: &'static str = "CurrentHeadUpdated"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A code upgrade has been scheduled for a Para. `para_id`"] pub struct CodeUpgradeScheduled(pub code_upgrade_scheduled::Field0); pub mod code_upgrade_scheduled { use super::runtime_types; pub type Field0 = runtime_types::polkadot_parachain_primitives::primitives::Id; } - impl ::subxt::events::StaticEvent for CodeUpgradeScheduled { + impl ::subxt::ext::subxt_core::events::StaticEvent for CodeUpgradeScheduled { const PALLET: &'static str = "Paras"; const EVENT: &'static str = "CodeUpgradeScheduled"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A new head has been noted for a Para. `para_id`"] pub struct NewHeadNoted(pub new_head_noted::Field0); pub mod new_head_noted { use super::runtime_types; pub type Field0 = runtime_types::polkadot_parachain_primitives::primitives::Id; } - impl ::subxt::events::StaticEvent for NewHeadNoted { + impl ::subxt::ext::subxt_core::events::StaticEvent for NewHeadNoted { const PALLET: &'static str = "Paras"; const EVENT: &'static str = "NewHeadNoted"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A para has been queued to execute pending actions. `para_id`"] pub struct ActionQueued(pub action_queued::Field0, pub action_queued::Field1); pub mod action_queued { @@ -30136,20 +32280,20 @@ pub mod api { pub type Field0 = runtime_types::polkadot_parachain_primitives::primitives::Id; pub type Field1 = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for ActionQueued { + impl ::subxt::ext::subxt_core::events::StaticEvent for ActionQueued { const PALLET: &'static str = "Paras"; const EVENT: &'static str = "ActionQueued"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The given para either initiated or subscribed to a PVF check for the given validation"] #[doc = "code. `code_hash` `para_id`"] pub struct PvfCheckStarted( @@ -30162,20 +32306,20 @@ pub mod api { runtime_types::polkadot_parachain_primitives::primitives::ValidationCodeHash; pub type Field1 = runtime_types::polkadot_parachain_primitives::primitives::Id; } - impl ::subxt::events::StaticEvent for PvfCheckStarted { + impl ::subxt::ext::subxt_core::events::StaticEvent for PvfCheckStarted { const PALLET: &'static str = "Paras"; const EVENT: &'static str = "PvfCheckStarted"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The given validation code was accepted by the PVF pre-checking vote."] #[doc = "`code_hash` `para_id`"] pub struct PvfCheckAccepted( @@ -30188,20 +32332,20 @@ pub mod api { runtime_types::polkadot_parachain_primitives::primitives::ValidationCodeHash; pub type Field1 = runtime_types::polkadot_parachain_primitives::primitives::Id; } - impl ::subxt::events::StaticEvent for PvfCheckAccepted { + impl ::subxt::ext::subxt_core::events::StaticEvent for PvfCheckAccepted { const PALLET: &'static str = "Paras"; const EVENT: &'static str = "PvfCheckAccepted"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The given validation code was rejected by the PVF pre-checking vote."] #[doc = "`code_hash` `para_id`"] pub struct PvfCheckRejected( @@ -30214,7 +32358,7 @@ pub mod api { runtime_types::polkadot_parachain_primitives::primitives::ValidationCodeHash; pub type Field1 = runtime_types::polkadot_parachain_primitives::primitives::Id; } - impl ::subxt::events::StaticEvent for PvfCheckRejected { + impl ::subxt::ext::subxt_core::events::StaticEvent for PvfCheckRejected { const PALLET: &'static str = "Paras"; const EVENT: &'static str = "PvfCheckRejected"; } @@ -30233,11 +32377,11 @@ pub mod api { } pub mod pvf_active_vote_list { use super::runtime_types; - pub type PvfActiveVoteList = :: std :: vec :: Vec < runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCodeHash > ; + pub type PvfActiveVoteList = :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCodeHash > ; } pub mod parachains { use super::runtime_types; - pub type Parachains = ::std::vec::Vec< + pub type Parachains = ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_parachain_primitives::primitives::Id, >; } @@ -30279,7 +32423,7 @@ pub mod api { } pub mod past_code_pruning { use super::runtime_types; - pub type PastCodePruning = ::std::vec::Vec<( + pub type PastCodePruning = ::subxt::ext::subxt_core::alloc::vec::Vec<( runtime_types::polkadot_parachain_primitives::primitives::Id, ::core::primitive::u32, )>; @@ -30308,21 +32452,21 @@ pub mod api { } pub mod upgrade_cooldowns { use super::runtime_types; - pub type UpgradeCooldowns = ::std::vec::Vec<( + pub type UpgradeCooldowns = ::subxt::ext::subxt_core::alloc::vec::Vec<( runtime_types::polkadot_parachain_primitives::primitives::Id, ::core::primitive::u32, )>; } pub mod upcoming_upgrades { use super::runtime_types; - pub type UpcomingUpgrades = ::std::vec::Vec<( + pub type UpcomingUpgrades = ::subxt::ext::subxt_core::alloc::vec::Vec<( runtime_types::polkadot_parachain_primitives::primitives::Id, ::core::primitive::u32, )>; } pub mod actions_queue { use super::runtime_types; - pub type ActionsQueue = ::std::vec::Vec< + pub type ActionsQueue = ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_parachain_primitives::primitives::Id, >; pub type Param0 = ::core::primitive::u32; @@ -30353,17 +32497,17 @@ pub mod api { #[doc = " - There are no PVF pre-checking votes that exists in list but not in the set and vice versa."] pub fn pvf_active_vote_map_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::pvf_active_vote_map::PvfActiveVoteMap, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Paras", "PvfActiveVoteMap", - vec![], + (), [ 72u8, 55u8, 139u8, 104u8, 161u8, 63u8, 114u8, 153u8, 16u8, 221u8, 60u8, 88u8, 52u8, 207u8, 123u8, 193u8, 11u8, 30u8, 19u8, 39u8, 231u8, 39u8, @@ -30377,20 +32521,22 @@ pub mod api { #[doc = " - There are no PVF pre-checking votes that exists in list but not in the set and vice versa."] pub fn pvf_active_vote_map( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::pvf_active_vote_map::Param0, + >, types::pvf_active_vote_map::PvfActiveVoteMap, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Paras", "PvfActiveVoteMap", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 72u8, 55u8, 139u8, 104u8, 161u8, 63u8, 114u8, 153u8, 16u8, 221u8, 60u8, 88u8, 52u8, 207u8, 123u8, 193u8, 11u8, 30u8, 19u8, 39u8, 231u8, 39u8, @@ -30401,17 +32547,17 @@ pub mod api { #[doc = " The list of all currently active PVF votes. Auxiliary to `PvfActiveVoteMap`."] pub fn pvf_active_vote_list( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::pvf_active_vote_list::PvfActiveVoteList, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Paras", "PvfActiveVoteList", - vec![], + (), [ 172u8, 215u8, 137u8, 191u8, 52u8, 104u8, 106u8, 118u8, 134u8, 82u8, 137u8, 6u8, 175u8, 158u8, 58u8, 230u8, 231u8, 152u8, 195u8, 17u8, 51u8, @@ -30425,17 +32571,17 @@ pub mod api { #[doc = " Consider using the [`ParachainsCache`] type of modifying."] pub fn parachains( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::parachains::Parachains, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Paras", "Parachains", - vec![], + (), [ 242u8, 228u8, 175u8, 107u8, 242u8, 39u8, 52u8, 181u8, 32u8, 171u8, 21u8, 169u8, 204u8, 19u8, 21u8, 217u8, 121u8, 239u8, 218u8, 252u8, @@ -30447,17 +32593,17 @@ pub mod api { #[doc = " The current lifecycle of a all known Para IDs."] pub fn para_lifecycles_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::para_lifecycles::ParaLifecycles, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Paras", "ParaLifecycles", - vec![], + (), [ 2u8, 203u8, 32u8, 194u8, 76u8, 227u8, 250u8, 9u8, 168u8, 201u8, 171u8, 180u8, 18u8, 169u8, 206u8, 183u8, 48u8, 189u8, 204u8, 192u8, 237u8, @@ -30469,20 +32615,22 @@ pub mod api { #[doc = " The current lifecycle of a all known Para IDs."] pub fn para_lifecycles( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::para_lifecycles::Param0, + >, types::para_lifecycles::ParaLifecycles, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Paras", "ParaLifecycles", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 2u8, 203u8, 32u8, 194u8, 76u8, 227u8, 250u8, 9u8, 168u8, 201u8, 171u8, 180u8, 18u8, 169u8, 206u8, 183u8, 48u8, 189u8, 204u8, 192u8, 237u8, @@ -30494,17 +32642,17 @@ pub mod api { #[doc = " The head-data of every registered para."] pub fn heads_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::heads::Heads, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Paras", "Heads", - vec![], + (), [ 222u8, 116u8, 180u8, 190u8, 172u8, 192u8, 174u8, 132u8, 225u8, 180u8, 119u8, 90u8, 5u8, 39u8, 92u8, 230u8, 116u8, 202u8, 92u8, 99u8, 135u8, @@ -30515,20 +32663,22 @@ pub mod api { #[doc = " The head-data of every registered para."] pub fn heads( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::heads::Param0, + >, types::heads::Heads, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Paras", "Heads", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 222u8, 116u8, 180u8, 190u8, 172u8, 192u8, 174u8, 132u8, 225u8, 180u8, 119u8, 90u8, 5u8, 39u8, 92u8, 230u8, 116u8, 202u8, 92u8, 99u8, 135u8, @@ -30539,17 +32689,17 @@ pub mod api { #[doc = " The context (relay-chain block number) of the most recent parachain head."] pub fn most_recent_context_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::most_recent_context::MostRecentContext, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Paras", "MostRecentContext", - vec![], + (), [ 196u8, 150u8, 125u8, 121u8, 196u8, 182u8, 2u8, 5u8, 244u8, 170u8, 75u8, 57u8, 162u8, 8u8, 104u8, 94u8, 114u8, 32u8, 192u8, 236u8, 120u8, 91u8, @@ -30560,20 +32710,22 @@ pub mod api { #[doc = " The context (relay-chain block number) of the most recent parachain head."] pub fn most_recent_context( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::most_recent_context::Param0, + >, types::most_recent_context::MostRecentContext, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Paras", "MostRecentContext", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 196u8, 150u8, 125u8, 121u8, 196u8, 182u8, 2u8, 5u8, 244u8, 170u8, 75u8, 57u8, 162u8, 8u8, 104u8, 94u8, 114u8, 32u8, 192u8, 236u8, 120u8, 91u8, @@ -30586,17 +32738,17 @@ pub mod api { #[doc = " Corresponding code can be retrieved with [`CodeByHash`]."] pub fn current_code_hash_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::current_code_hash::CurrentCodeHash, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Paras", "CurrentCodeHash", - vec![], + (), [ 251u8, 100u8, 30u8, 46u8, 191u8, 60u8, 45u8, 221u8, 218u8, 20u8, 154u8, 233u8, 211u8, 198u8, 151u8, 195u8, 99u8, 210u8, 126u8, 165u8, 240u8, @@ -30610,20 +32762,22 @@ pub mod api { #[doc = " Corresponding code can be retrieved with [`CodeByHash`]."] pub fn current_code_hash( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::current_code_hash::Param0, + >, types::current_code_hash::CurrentCodeHash, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Paras", "CurrentCodeHash", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 251u8, 100u8, 30u8, 46u8, 191u8, 60u8, 45u8, 221u8, 218u8, 20u8, 154u8, 233u8, 211u8, 198u8, 151u8, 195u8, 99u8, 210u8, 126u8, 165u8, 240u8, @@ -30638,17 +32792,17 @@ pub mod api { #[doc = " Corresponding code can be retrieved with [`CodeByHash`]."] pub fn past_code_hash_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::past_code_hash::PastCodeHash, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Paras", "PastCodeHash", - vec![], + (), [ 73u8, 209u8, 188u8, 36u8, 127u8, 42u8, 171u8, 136u8, 29u8, 126u8, 220u8, 209u8, 230u8, 22u8, 12u8, 63u8, 8u8, 102u8, 45u8, 158u8, 178u8, @@ -30662,20 +32816,22 @@ pub mod api { #[doc = " Corresponding code can be retrieved with [`CodeByHash`]."] pub fn past_code_hash_iter1( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::past_code_hash::Param0, + >, types::past_code_hash::PastCodeHash, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Paras", "PastCodeHash", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 73u8, 209u8, 188u8, 36u8, 127u8, 42u8, 171u8, 136u8, 29u8, 126u8, 220u8, 209u8, 230u8, 22u8, 12u8, 63u8, 8u8, 102u8, 45u8, 158u8, 178u8, @@ -30689,22 +32845,33 @@ pub mod api { #[doc = " Corresponding code can be retrieved with [`CodeByHash`]."] pub fn past_code_hash( &self, - _0: impl ::std::borrow::Borrow, - _1: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::past_code_hash::Param0, + >, + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::past_code_hash::Param1, + >, + ), types::past_code_hash::PastCodeHash, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Paras", "PastCodeHash", - vec![ - ::subxt::storage::address::make_static_storage_map_key(_0.borrow()), - ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), - ], + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), + ), [ 73u8, 209u8, 188u8, 36u8, 127u8, 42u8, 171u8, 136u8, 29u8, 126u8, 220u8, 209u8, 230u8, 22u8, 12u8, 63u8, 8u8, 102u8, 45u8, 158u8, 178u8, @@ -30717,17 +32884,17 @@ pub mod api { #[doc = " to keep it available for approval checkers."] pub fn past_code_meta_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::past_code_meta::PastCodeMeta, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Paras", "PastCodeMeta", - vec![], + (), [ 233u8, 47u8, 137u8, 174u8, 98u8, 64u8, 11u8, 75u8, 93u8, 222u8, 78u8, 58u8, 66u8, 245u8, 151u8, 39u8, 144u8, 36u8, 84u8, 176u8, 239u8, 183u8, @@ -30740,20 +32907,22 @@ pub mod api { #[doc = " to keep it available for approval checkers."] pub fn past_code_meta( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::past_code_meta::Param0, + >, types::past_code_meta::PastCodeMeta, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Paras", "PastCodeMeta", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 233u8, 47u8, 137u8, 174u8, 98u8, 64u8, 11u8, 75u8, 93u8, 222u8, 78u8, 58u8, 66u8, 245u8, 151u8, 39u8, 144u8, 36u8, 84u8, 176u8, 239u8, 183u8, @@ -30769,17 +32938,17 @@ pub mod api { #[doc = " Multiple entries for a single para are permitted. Ordered ascending by block number."] pub fn past_code_pruning( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::past_code_pruning::PastCodePruning, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Paras", "PastCodePruning", - vec![], + (), [ 67u8, 190u8, 51u8, 133u8, 173u8, 24u8, 151u8, 111u8, 108u8, 152u8, 106u8, 18u8, 29u8, 80u8, 104u8, 120u8, 91u8, 138u8, 209u8, 49u8, 255u8, @@ -30792,17 +32961,17 @@ pub mod api { #[doc = " in the context of a relay chain block with a number >= `expected_at`."] pub fn future_code_upgrades_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::future_code_upgrades::FutureCodeUpgrades, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Paras", "FutureCodeUpgrades", - vec![], + (), [ 163u8, 168u8, 23u8, 138u8, 198u8, 70u8, 135u8, 221u8, 167u8, 187u8, 15u8, 144u8, 228u8, 8u8, 138u8, 125u8, 101u8, 154u8, 11u8, 74u8, 173u8, @@ -30815,20 +32984,22 @@ pub mod api { #[doc = " in the context of a relay chain block with a number >= `expected_at`."] pub fn future_code_upgrades( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::future_code_upgrades::Param0, + >, types::future_code_upgrades::FutureCodeUpgrades, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Paras", "FutureCodeUpgrades", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 163u8, 168u8, 23u8, 138u8, 198u8, 70u8, 135u8, 221u8, 167u8, 187u8, 15u8, 144u8, 228u8, 8u8, 138u8, 125u8, 101u8, 154u8, 11u8, 74u8, 173u8, @@ -30841,17 +33012,17 @@ pub mod api { #[doc = " Corresponding code can be retrieved with [`CodeByHash`]."] pub fn future_code_hash_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::future_code_hash::FutureCodeHash, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Paras", "FutureCodeHash", - vec![], + (), [ 62u8, 238u8, 183u8, 12u8, 197u8, 119u8, 163u8, 239u8, 192u8, 228u8, 110u8, 58u8, 128u8, 223u8, 32u8, 137u8, 109u8, 127u8, 41u8, 83u8, 91u8, @@ -30864,20 +33035,22 @@ pub mod api { #[doc = " Corresponding code can be retrieved with [`CodeByHash`]."] pub fn future_code_hash( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::future_code_hash::Param0, + >, types::future_code_hash::FutureCodeHash, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Paras", "FutureCodeHash", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 62u8, 238u8, 183u8, 12u8, 197u8, 119u8, 163u8, 239u8, 192u8, 228u8, 110u8, 58u8, 128u8, 223u8, 32u8, 137u8, 109u8, 127u8, 41u8, 83u8, 91u8, @@ -30897,17 +33070,17 @@ pub mod api { #[doc = " the format will require migration of parachains."] pub fn upgrade_go_ahead_signal_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::upgrade_go_ahead_signal::UpgradeGoAheadSignal, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Paras", "UpgradeGoAheadSignal", - vec![], + (), [ 41u8, 80u8, 120u8, 6u8, 98u8, 85u8, 36u8, 37u8, 170u8, 189u8, 56u8, 127u8, 155u8, 180u8, 112u8, 195u8, 135u8, 214u8, 235u8, 87u8, 197u8, @@ -30928,20 +33101,22 @@ pub mod api { #[doc = " the format will require migration of parachains."] pub fn upgrade_go_ahead_signal( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::upgrade_go_ahead_signal::Param0, + >, types::upgrade_go_ahead_signal::UpgradeGoAheadSignal, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Paras", "UpgradeGoAheadSignal", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 41u8, 80u8, 120u8, 6u8, 98u8, 85u8, 36u8, 37u8, 170u8, 189u8, 56u8, 127u8, 155u8, 180u8, 112u8, 195u8, 135u8, 214u8, 235u8, 87u8, 197u8, @@ -30961,17 +33136,17 @@ pub mod api { #[doc = " the format will require migration of parachains."] pub fn upgrade_restriction_signal_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::upgrade_restriction_signal::UpgradeRestrictionSignal, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Paras", "UpgradeRestrictionSignal", - vec![], + (), [ 158u8, 105u8, 62u8, 252u8, 149u8, 145u8, 34u8, 92u8, 119u8, 204u8, 46u8, 96u8, 117u8, 183u8, 134u8, 20u8, 172u8, 243u8, 145u8, 113u8, @@ -30991,20 +33166,22 @@ pub mod api { #[doc = " the format will require migration of parachains."] pub fn upgrade_restriction_signal( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::upgrade_restriction_signal::Param0, + >, types::upgrade_restriction_signal::UpgradeRestrictionSignal, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Paras", "UpgradeRestrictionSignal", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 158u8, 105u8, 62u8, 252u8, 149u8, 145u8, 34u8, 92u8, 119u8, 204u8, 46u8, 96u8, 117u8, 183u8, 134u8, 20u8, 172u8, 243u8, 145u8, 113u8, @@ -31018,17 +33195,17 @@ pub mod api { #[doc = " Ordered ascending by block number."] pub fn upgrade_cooldowns( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::upgrade_cooldowns::UpgradeCooldowns, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Paras", "UpgradeCooldowns", - vec![], + (), [ 180u8, 197u8, 115u8, 209u8, 126u8, 120u8, 133u8, 54u8, 232u8, 192u8, 47u8, 17u8, 21u8, 8u8, 231u8, 67u8, 1u8, 89u8, 127u8, 38u8, 179u8, @@ -31043,17 +33220,17 @@ pub mod api { #[doc = " Ordered ascending by block number."] pub fn upcoming_upgrades( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::upcoming_upgrades::UpcomingUpgrades, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Paras", "UpcomingUpgrades", - vec![], + (), [ 38u8, 195u8, 15u8, 56u8, 225u8, 199u8, 105u8, 84u8, 128u8, 51u8, 44u8, 248u8, 237u8, 32u8, 36u8, 72u8, 77u8, 137u8, 124u8, 88u8, 242u8, 185u8, @@ -31064,17 +33241,17 @@ pub mod api { #[doc = " The actions to perform during the start of a specific session index."] pub fn actions_queue_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::actions_queue::ActionsQueue, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Paras", "ActionsQueue", - vec![], + (), [ 13u8, 25u8, 129u8, 203u8, 95u8, 206u8, 254u8, 240u8, 170u8, 209u8, 55u8, 117u8, 70u8, 220u8, 139u8, 102u8, 9u8, 229u8, 139u8, 120u8, 67u8, @@ -31085,20 +33262,22 @@ pub mod api { #[doc = " The actions to perform during the start of a specific session index."] pub fn actions_queue( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::actions_queue::Param0, + >, types::actions_queue::ActionsQueue, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Paras", "ActionsQueue", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 13u8, 25u8, 129u8, 203u8, 95u8, 206u8, 254u8, 240u8, 170u8, 209u8, 55u8, 117u8, 70u8, 220u8, 139u8, 102u8, 9u8, 229u8, 139u8, 120u8, 67u8, @@ -31112,17 +33291,17 @@ pub mod api { #[doc = " to empty. Instead, the code will be saved into the storage right away via `CodeByHash`."] pub fn upcoming_paras_genesis_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::upcoming_paras_genesis::UpcomingParasGenesis, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Paras", "UpcomingParasGenesis", - vec![], + (), [ 215u8, 121u8, 106u8, 13u8, 102u8, 47u8, 129u8, 221u8, 153u8, 91u8, 23u8, 94u8, 11u8, 39u8, 19u8, 180u8, 136u8, 136u8, 254u8, 152u8, 250u8, @@ -31137,20 +33316,22 @@ pub mod api { #[doc = " to empty. Instead, the code will be saved into the storage right away via `CodeByHash`."] pub fn upcoming_paras_genesis( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::upcoming_paras_genesis::Param0, + >, types::upcoming_paras_genesis::UpcomingParasGenesis, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Paras", "UpcomingParasGenesis", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 215u8, 121u8, 106u8, 13u8, 102u8, 47u8, 129u8, 221u8, 153u8, 91u8, 23u8, 94u8, 11u8, 39u8, 19u8, 180u8, 136u8, 136u8, 254u8, 152u8, 250u8, @@ -31162,17 +33343,17 @@ pub mod api { #[doc = " The number of reference on the validation code in [`CodeByHash`] storage."] pub fn code_by_hash_refs_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::code_by_hash_refs::CodeByHashRefs, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Paras", "CodeByHashRefs", - vec![], + (), [ 47u8, 50u8, 103u8, 161u8, 130u8, 252u8, 157u8, 35u8, 174u8, 37u8, 102u8, 60u8, 195u8, 30u8, 164u8, 203u8, 67u8, 129u8, 107u8, 181u8, @@ -31184,20 +33365,22 @@ pub mod api { #[doc = " The number of reference on the validation code in [`CodeByHash`] storage."] pub fn code_by_hash_refs( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::code_by_hash_refs::Param0, + >, types::code_by_hash_refs::CodeByHashRefs, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Paras", "CodeByHashRefs", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 47u8, 50u8, 103u8, 161u8, 130u8, 252u8, 157u8, 35u8, 174u8, 37u8, 102u8, 60u8, 195u8, 30u8, 164u8, 203u8, 67u8, 129u8, 107u8, 181u8, @@ -31212,17 +33395,17 @@ pub mod api { #[doc = " [`PastCodeHash`]."] pub fn code_by_hash_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::code_by_hash::CodeByHash, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Paras", "CodeByHash", - vec![], + (), [ 155u8, 102u8, 73u8, 180u8, 127u8, 211u8, 181u8, 44u8, 56u8, 235u8, 49u8, 4u8, 25u8, 213u8, 116u8, 200u8, 232u8, 203u8, 190u8, 90u8, 93u8, @@ -31236,20 +33419,22 @@ pub mod api { #[doc = " [`PastCodeHash`]."] pub fn code_by_hash( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::code_by_hash::Param0, + >, types::code_by_hash::CodeByHash, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Paras", "CodeByHash", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 155u8, 102u8, 73u8, 180u8, 127u8, 211u8, 181u8, 44u8, 56u8, 235u8, 49u8, 4u8, 25u8, 213u8, 116u8, 200u8, 232u8, 203u8, 190u8, 90u8, 93u8, @@ -31265,8 +33450,9 @@ pub mod api { impl ConstantsApi { pub fn unsigned_priority( &self, - ) -> ::subxt::constants::Address<::core::primitive::u64> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u64> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Paras", "UnsignedPriority", [ @@ -31292,15 +33478,19 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::force_approve`]."] pub struct ForceApprove { pub up_to: force_approve::UpTo, @@ -31309,7 +33499,7 @@ pub mod api { use super::runtime_types; pub type UpTo = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for ForceApprove { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceApprove { const PALLET: &'static str = "Initializer"; const CALL: &'static str = "force_approve"; } @@ -31320,8 +33510,8 @@ pub mod api { pub fn force_approve( &self, up_to: types::force_approve::UpTo, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Initializer", "force_approve", types::ForceApprove { up_to }, @@ -31345,7 +33535,7 @@ pub mod api { } pub mod buffered_session_changes { use super::runtime_types; - pub type BufferedSessionChanges = :: std :: vec :: Vec < runtime_types :: polkadot_runtime_parachains :: initializer :: BufferedSessionChange > ; + pub type BufferedSessionChanges = :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < runtime_types :: polkadot_runtime_parachains :: initializer :: BufferedSessionChange > ; } } pub struct StorageApi; @@ -31360,17 +33550,17 @@ pub mod api { #[doc = " for the semantics of this variable."] pub fn has_initialized( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::has_initialized::HasInitialized, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Initializer", "HasInitialized", - vec![], + (), [ 156u8, 208u8, 212u8, 86u8, 105u8, 148u8, 252u8, 11u8, 140u8, 67u8, 231u8, 86u8, 1u8, 147u8, 178u8, 79u8, 27u8, 249u8, 137u8, 103u8, 178u8, @@ -31387,17 +33577,17 @@ pub mod api { #[doc = " upgrade boundaries or if governance intervenes."] pub fn buffered_session_changes( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::buffered_session_changes::BufferedSessionChanges, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Initializer", "BufferedSessionChanges", - vec![], + (), [ 99u8, 153u8, 100u8, 11u8, 28u8, 62u8, 163u8, 239u8, 177u8, 55u8, 151u8, 242u8, 227u8, 59u8, 176u8, 10u8, 227u8, 51u8, 252u8, 191u8, 233u8, @@ -31417,7 +33607,7 @@ pub mod api { use super::runtime_types; pub mod downward_message_queues { use super::runtime_types; - pub type DownwardMessageQueues = ::std::vec::Vec< + pub type DownwardMessageQueues = ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_core_primitives::InboundDownwardMessage< ::core::primitive::u32, >, @@ -31426,7 +33616,7 @@ pub mod api { } pub mod downward_message_queue_heads { use super::runtime_types; - pub type DownwardMessageQueueHeads = ::subxt::utils::H256; + pub type DownwardMessageQueueHeads = ::subxt::ext::subxt_core::utils::H256; pub type Param0 = runtime_types::polkadot_parachain_primitives::primitives::Id; } pub mod delivery_fee_factor { @@ -31441,17 +33631,17 @@ pub mod api { #[doc = " The downward messages addressed for a certain para."] pub fn downward_message_queues_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::downward_message_queues::DownwardMessageQueues, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Dmp", "DownwardMessageQueues", - vec![], + (), [ 38u8, 183u8, 133u8, 200u8, 199u8, 135u8, 68u8, 232u8, 189u8, 168u8, 3u8, 219u8, 201u8, 180u8, 156u8, 79u8, 134u8, 164u8, 94u8, 114u8, @@ -31463,20 +33653,22 @@ pub mod api { #[doc = " The downward messages addressed for a certain para."] pub fn downward_message_queues( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::downward_message_queues::Param0, + >, types::downward_message_queues::DownwardMessageQueues, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Dmp", "DownwardMessageQueues", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 38u8, 183u8, 133u8, 200u8, 199u8, 135u8, 68u8, 232u8, 189u8, 168u8, 3u8, 219u8, 201u8, 180u8, 156u8, 79u8, 134u8, 164u8, 94u8, 114u8, @@ -31494,17 +33686,17 @@ pub mod api { #[doc = " - `H(M)`: is the hash of the message being appended."] pub fn downward_message_queue_heads_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::downward_message_queue_heads::DownwardMessageQueueHeads, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Dmp", "DownwardMessageQueueHeads", - vec![], + (), [ 135u8, 165u8, 240u8, 0u8, 25u8, 110u8, 9u8, 108u8, 251u8, 225u8, 109u8, 184u8, 90u8, 132u8, 9u8, 151u8, 12u8, 118u8, 153u8, 212u8, 140u8, @@ -31521,20 +33713,22 @@ pub mod api { #[doc = " - `H(M)`: is the hash of the message being appended."] pub fn downward_message_queue_heads( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::downward_message_queue_heads::Param0, + >, types::downward_message_queue_heads::DownwardMessageQueueHeads, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Dmp", "DownwardMessageQueueHeads", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 135u8, 165u8, 240u8, 0u8, 25u8, 110u8, 9u8, 108u8, 251u8, 225u8, 109u8, 184u8, 90u8, 132u8, 9u8, 151u8, 12u8, 118u8, 153u8, 212u8, 140u8, @@ -31545,17 +33739,17 @@ pub mod api { #[doc = " The factor to multiply the base delivery fee by."] pub fn delivery_fee_factor_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::delivery_fee_factor::DeliveryFeeFactor, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Dmp", "DeliveryFeeFactor", - vec![], + (), [ 43u8, 5u8, 63u8, 235u8, 115u8, 155u8, 130u8, 27u8, 75u8, 216u8, 177u8, 135u8, 203u8, 147u8, 167u8, 95u8, 208u8, 188u8, 25u8, 14u8, 84u8, 63u8, @@ -31566,20 +33760,22 @@ pub mod api { #[doc = " The factor to multiply the base delivery fee by."] pub fn delivery_fee_factor( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::delivery_fee_factor::Param0, + >, types::delivery_fee_factor::DeliveryFeeFactor, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Dmp", "DeliveryFeeFactor", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 43u8, 5u8, 63u8, 235u8, 115u8, 155u8, 130u8, 27u8, 75u8, 216u8, 177u8, 135u8, 203u8, 147u8, 167u8, 95u8, 208u8, 188u8, 25u8, 14u8, 84u8, 63u8, @@ -31604,15 +33800,19 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::hrmp_init_open_channel`]."] pub struct HrmpInitOpenChannel { pub recipient: hrmp_init_open_channel::Recipient, @@ -31626,20 +33826,24 @@ pub mod api { pub type ProposedMaxCapacity = ::core::primitive::u32; pub type ProposedMaxMessageSize = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for HrmpInitOpenChannel { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for HrmpInitOpenChannel { const PALLET: &'static str = "Hrmp"; const CALL: &'static str = "hrmp_init_open_channel"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::hrmp_accept_open_channel`]."] pub struct HrmpAcceptOpenChannel { pub sender: hrmp_accept_open_channel::Sender, @@ -31648,20 +33852,24 @@ pub mod api { use super::runtime_types; pub type Sender = runtime_types::polkadot_parachain_primitives::primitives::Id; } - impl ::subxt::blocks::StaticExtrinsic for HrmpAcceptOpenChannel { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for HrmpAcceptOpenChannel { const PALLET: &'static str = "Hrmp"; const CALL: &'static str = "hrmp_accept_open_channel"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::hrmp_close_channel`]."] pub struct HrmpCloseChannel { pub channel_id: hrmp_close_channel::ChannelId, @@ -31671,20 +33879,24 @@ pub mod api { pub type ChannelId = runtime_types::polkadot_parachain_primitives::primitives::HrmpChannelId; } - impl ::subxt::blocks::StaticExtrinsic for HrmpCloseChannel { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for HrmpCloseChannel { const PALLET: &'static str = "Hrmp"; const CALL: &'static str = "hrmp_close_channel"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::force_clean_hrmp`]."] pub struct ForceCleanHrmp { pub para: force_clean_hrmp::Para, @@ -31697,20 +33909,24 @@ pub mod api { pub type NumInbound = ::core::primitive::u32; pub type NumOutbound = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for ForceCleanHrmp { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceCleanHrmp { const PALLET: &'static str = "Hrmp"; const CALL: &'static str = "force_clean_hrmp"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::force_process_hrmp_open`]."] pub struct ForceProcessHrmpOpen { pub channels: force_process_hrmp_open::Channels, @@ -31719,20 +33935,24 @@ pub mod api { use super::runtime_types; pub type Channels = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for ForceProcessHrmpOpen { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceProcessHrmpOpen { const PALLET: &'static str = "Hrmp"; const CALL: &'static str = "force_process_hrmp_open"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::force_process_hrmp_close`]."] pub struct ForceProcessHrmpClose { pub channels: force_process_hrmp_close::Channels, @@ -31741,20 +33961,24 @@ pub mod api { use super::runtime_types; pub type Channels = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for ForceProcessHrmpClose { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceProcessHrmpClose { const PALLET: &'static str = "Hrmp"; const CALL: &'static str = "force_process_hrmp_close"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::hrmp_cancel_open_request`]."] pub struct HrmpCancelOpenRequest { pub channel_id: hrmp_cancel_open_request::ChannelId, @@ -31766,20 +33990,24 @@ pub mod api { runtime_types::polkadot_parachain_primitives::primitives::HrmpChannelId; pub type OpenRequests = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for HrmpCancelOpenRequest { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for HrmpCancelOpenRequest { const PALLET: &'static str = "Hrmp"; const CALL: &'static str = "hrmp_cancel_open_request"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::force_open_hrmp_channel`]."] pub struct ForceOpenHrmpChannel { pub sender: force_open_hrmp_channel::Sender, @@ -31795,20 +34023,24 @@ pub mod api { pub type MaxCapacity = ::core::primitive::u32; pub type MaxMessageSize = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for ForceOpenHrmpChannel { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceOpenHrmpChannel { const PALLET: &'static str = "Hrmp"; const CALL: &'static str = "force_open_hrmp_channel"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::establish_system_channel`]."] pub struct EstablishSystemChannel { pub sender: establish_system_channel::Sender, @@ -31820,20 +34052,24 @@ pub mod api { pub type Recipient = runtime_types::polkadot_parachain_primitives::primitives::Id; } - impl ::subxt::blocks::StaticExtrinsic for EstablishSystemChannel { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for EstablishSystemChannel { const PALLET: &'static str = "Hrmp"; const CALL: &'static str = "establish_system_channel"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::poke_channel_deposits`]."] pub struct PokeChannelDeposits { pub sender: poke_channel_deposits::Sender, @@ -31845,7 +34081,7 @@ pub mod api { pub type Recipient = runtime_types::polkadot_parachain_primitives::primitives::Id; } - impl ::subxt::blocks::StaticExtrinsic for PokeChannelDeposits { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for PokeChannelDeposits { const PALLET: &'static str = "Hrmp"; const CALL: &'static str = "poke_channel_deposits"; } @@ -31858,8 +34094,9 @@ pub mod api { recipient: types::hrmp_init_open_channel::Recipient, proposed_max_capacity: types::hrmp_init_open_channel::ProposedMaxCapacity, proposed_max_message_size : types :: hrmp_init_open_channel :: ProposedMaxMessageSize, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Hrmp", "hrmp_init_open_channel", types::HrmpInitOpenChannel { @@ -31879,8 +34116,9 @@ pub mod api { pub fn hrmp_accept_open_channel( &self, sender: types::hrmp_accept_open_channel::Sender, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Hrmp", "hrmp_accept_open_channel", types::HrmpAcceptOpenChannel { sender }, @@ -31895,8 +34133,9 @@ pub mod api { pub fn hrmp_close_channel( &self, channel_id: types::hrmp_close_channel::ChannelId, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Hrmp", "hrmp_close_channel", types::HrmpCloseChannel { channel_id }, @@ -31914,8 +34153,8 @@ pub mod api { para: types::force_clean_hrmp::Para, num_inbound: types::force_clean_hrmp::NumInbound, num_outbound: types::force_clean_hrmp::NumOutbound, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Hrmp", "force_clean_hrmp", types::ForceCleanHrmp { @@ -31934,8 +34173,9 @@ pub mod api { pub fn force_process_hrmp_open( &self, channels: types::force_process_hrmp_open::Channels, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Hrmp", "force_process_hrmp_open", types::ForceProcessHrmpOpen { channels }, @@ -31951,8 +34191,9 @@ pub mod api { pub fn force_process_hrmp_close( &self, channels: types::force_process_hrmp_close::Channels, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Hrmp", "force_process_hrmp_close", types::ForceProcessHrmpClose { channels }, @@ -31969,8 +34210,9 @@ pub mod api { &self, channel_id: types::hrmp_cancel_open_request::ChannelId, open_requests: types::hrmp_cancel_open_request::OpenRequests, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Hrmp", "hrmp_cancel_open_request", types::HrmpCancelOpenRequest { @@ -31991,8 +34233,9 @@ pub mod api { recipient: types::force_open_hrmp_channel::Recipient, max_capacity: types::force_open_hrmp_channel::MaxCapacity, max_message_size: types::force_open_hrmp_channel::MaxMessageSize, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Hrmp", "force_open_hrmp_channel", types::ForceOpenHrmpChannel { @@ -32013,8 +34256,9 @@ pub mod api { &self, sender: types::establish_system_channel::Sender, recipient: types::establish_system_channel::Recipient, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Hrmp", "establish_system_channel", types::EstablishSystemChannel { sender, recipient }, @@ -32030,8 +34274,9 @@ pub mod api { &self, sender: types::poke_channel_deposits::Sender, recipient: types::poke_channel_deposits::Recipient, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Hrmp", "poke_channel_deposits", types::PokeChannelDeposits { sender, recipient }, @@ -32049,15 +34294,15 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Open HRMP channel requested."] pub struct OpenChannelRequested { pub sender: open_channel_requested::Sender, @@ -32072,20 +34317,20 @@ pub mod api { pub type ProposedMaxCapacity = ::core::primitive::u32; pub type ProposedMaxMessageSize = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for OpenChannelRequested { + impl ::subxt::ext::subxt_core::events::StaticEvent for OpenChannelRequested { const PALLET: &'static str = "Hrmp"; const EVENT: &'static str = "OpenChannelRequested"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An HRMP channel request sent by the receiver was canceled by either party."] pub struct OpenChannelCanceled { pub by_parachain: open_channel_canceled::ByParachain, @@ -32097,20 +34342,20 @@ pub mod api { pub type ChannelId = runtime_types::polkadot_parachain_primitives::primitives::HrmpChannelId; } - impl ::subxt::events::StaticEvent for OpenChannelCanceled { + impl ::subxt::ext::subxt_core::events::StaticEvent for OpenChannelCanceled { const PALLET: &'static str = "Hrmp"; const EVENT: &'static str = "OpenChannelCanceled"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Open HRMP channel accepted."] pub struct OpenChannelAccepted { pub sender: open_channel_accepted::Sender, @@ -32121,20 +34366,20 @@ pub mod api { pub type Sender = runtime_types::polkadot_parachain_primitives::primitives::Id; pub type Recipient = runtime_types::polkadot_parachain_primitives::primitives::Id; } - impl ::subxt::events::StaticEvent for OpenChannelAccepted { + impl ::subxt::ext::subxt_core::events::StaticEvent for OpenChannelAccepted { const PALLET: &'static str = "Hrmp"; const EVENT: &'static str = "OpenChannelAccepted"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "HRMP channel closed."] pub struct ChannelClosed { pub by_parachain: channel_closed::ByParachain, @@ -32146,20 +34391,20 @@ pub mod api { pub type ChannelId = runtime_types::polkadot_parachain_primitives::primitives::HrmpChannelId; } - impl ::subxt::events::StaticEvent for ChannelClosed { + impl ::subxt::ext::subxt_core::events::StaticEvent for ChannelClosed { const PALLET: &'static str = "Hrmp"; const EVENT: &'static str = "ChannelClosed"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An HRMP channel was opened via Root origin."] pub struct HrmpChannelForceOpened { pub sender: hrmp_channel_force_opened::Sender, @@ -32174,20 +34419,20 @@ pub mod api { pub type ProposedMaxCapacity = ::core::primitive::u32; pub type ProposedMaxMessageSize = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for HrmpChannelForceOpened { + impl ::subxt::ext::subxt_core::events::StaticEvent for HrmpChannelForceOpened { const PALLET: &'static str = "Hrmp"; const EVENT: &'static str = "HrmpChannelForceOpened"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An HRMP channel was opened between two system chains."] pub struct HrmpSystemChannelOpened { pub sender: hrmp_system_channel_opened::Sender, @@ -32202,20 +34447,20 @@ pub mod api { pub type ProposedMaxCapacity = ::core::primitive::u32; pub type ProposedMaxMessageSize = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for HrmpSystemChannelOpened { + impl ::subxt::ext::subxt_core::events::StaticEvent for HrmpSystemChannelOpened { const PALLET: &'static str = "Hrmp"; const EVENT: &'static str = "HrmpSystemChannelOpened"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An HRMP channel's deposits were updated."] pub struct OpenChannelDepositsUpdated { pub sender: open_channel_deposits_updated::Sender, @@ -32226,7 +34471,7 @@ pub mod api { pub type Sender = runtime_types::polkadot_parachain_primitives::primitives::Id; pub type Recipient = runtime_types::polkadot_parachain_primitives::primitives::Id; } - impl ::subxt::events::StaticEvent for OpenChannelDepositsUpdated { + impl ::subxt::ext::subxt_core::events::StaticEvent for OpenChannelDepositsUpdated { const PALLET: &'static str = "Hrmp"; const EVENT: &'static str = "OpenChannelDepositsUpdated"; } @@ -32244,9 +34489,10 @@ pub mod api { } pub mod hrmp_open_channel_requests_list { use super::runtime_types; - pub type HrmpOpenChannelRequestsList = ::std::vec::Vec< - runtime_types::polkadot_parachain_primitives::primitives::HrmpChannelId, - >; + pub type HrmpOpenChannelRequestsList = + ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::polkadot_parachain_primitives::primitives::HrmpChannelId, + >; } pub mod hrmp_open_channel_request_count { use super::runtime_types; @@ -32266,9 +34512,10 @@ pub mod api { } pub mod hrmp_close_channel_requests_list { use super::runtime_types; - pub type HrmpCloseChannelRequestsList = ::std::vec::Vec< - runtime_types::polkadot_parachain_primitives::primitives::HrmpChannelId, - >; + pub type HrmpCloseChannelRequestsList = + ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::polkadot_parachain_primitives::primitives::HrmpChannelId, + >; } pub mod hrmp_watermarks { use super::runtime_types; @@ -32284,21 +34531,21 @@ pub mod api { } pub mod hrmp_ingress_channels_index { use super::runtime_types; - pub type HrmpIngressChannelsIndex = ::std::vec::Vec< + pub type HrmpIngressChannelsIndex = ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_parachain_primitives::primitives::Id, >; pub type Param0 = runtime_types::polkadot_parachain_primitives::primitives::Id; } pub mod hrmp_egress_channels_index { use super::runtime_types; - pub type HrmpEgressChannelsIndex = ::std::vec::Vec< + pub type HrmpEgressChannelsIndex = ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_parachain_primitives::primitives::Id, >; pub type Param0 = runtime_types::polkadot_parachain_primitives::primitives::Id; } pub mod hrmp_channel_contents { use super::runtime_types; - pub type HrmpChannelContents = ::std::vec::Vec< + pub type HrmpChannelContents = ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_core_primitives::InboundHrmpMessage< ::core::primitive::u32, >, @@ -32308,9 +34555,9 @@ pub mod api { } pub mod hrmp_channel_digests { use super::runtime_types; - pub type HrmpChannelDigests = ::std::vec::Vec<( + pub type HrmpChannelDigests = ::subxt::ext::subxt_core::alloc::vec::Vec<( ::core::primitive::u32, - ::std::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_parachain_primitives::primitives::Id, >, )>; @@ -32327,17 +34574,17 @@ pub mod api { #[doc = " - There are no channels that exists in list but not in the set and vice versa."] pub fn hrmp_open_channel_requests_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::hrmp_open_channel_requests::HrmpOpenChannelRequests, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Hrmp", "HrmpOpenChannelRequests", - vec![], + (), [ 164u8, 97u8, 52u8, 242u8, 255u8, 67u8, 248u8, 170u8, 204u8, 92u8, 81u8, 144u8, 11u8, 63u8, 145u8, 167u8, 8u8, 174u8, 221u8, 147u8, 125u8, @@ -32354,20 +34601,22 @@ pub mod api { #[doc = " - There are no channels that exists in list but not in the set and vice versa."] pub fn hrmp_open_channel_requests( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::hrmp_open_channel_requests::Param0, + >, types::hrmp_open_channel_requests::HrmpOpenChannelRequests, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Hrmp", "HrmpOpenChannelRequests", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 164u8, 97u8, 52u8, 242u8, 255u8, 67u8, 248u8, 170u8, 204u8, 92u8, 81u8, 144u8, 11u8, 63u8, 145u8, 167u8, 8u8, 174u8, 221u8, 147u8, 125u8, @@ -32378,17 +34627,17 @@ pub mod api { } pub fn hrmp_open_channel_requests_list( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::hrmp_open_channel_requests_list::HrmpOpenChannelRequestsList, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Hrmp", "HrmpOpenChannelRequestsList", - vec![], + (), [ 45u8, 190u8, 124u8, 26u8, 37u8, 249u8, 140u8, 254u8, 101u8, 249u8, 27u8, 117u8, 218u8, 3u8, 126u8, 114u8, 143u8, 65u8, 122u8, 246u8, @@ -32402,17 +34651,17 @@ pub mod api { #[doc = " `(X, _)` as the number of `HrmpOpenChannelRequestCount` for `X`."] pub fn hrmp_open_channel_request_count_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::hrmp_open_channel_request_count::HrmpOpenChannelRequestCount, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Hrmp", "HrmpOpenChannelRequestCount", - vec![], + (), [ 136u8, 72u8, 56u8, 31u8, 229u8, 99u8, 241u8, 14u8, 159u8, 243u8, 179u8, 222u8, 252u8, 56u8, 63u8, 24u8, 204u8, 130u8, 47u8, 161u8, 133u8, @@ -32426,20 +34675,22 @@ pub mod api { #[doc = " `(X, _)` as the number of `HrmpOpenChannelRequestCount` for `X`."] pub fn hrmp_open_channel_request_count( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::hrmp_open_channel_request_count::Param0, + >, types::hrmp_open_channel_request_count::HrmpOpenChannelRequestCount, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Hrmp", "HrmpOpenChannelRequestCount", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 136u8, 72u8, 56u8, 31u8, 229u8, 99u8, 241u8, 14u8, 159u8, 243u8, 179u8, 222u8, 252u8, 56u8, 63u8, 24u8, 204u8, 130u8, 47u8, 161u8, 133u8, @@ -32453,17 +34704,17 @@ pub mod api { #[doc = " `confirmed` set to true, as the number of `HrmpAcceptedChannelRequestCount` for `X`."] pub fn hrmp_accepted_channel_request_count_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::hrmp_accepted_channel_request_count::HrmpAcceptedChannelRequestCount, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Hrmp", "HrmpAcceptedChannelRequestCount", - vec![], + (), [ 29u8, 100u8, 52u8, 28u8, 180u8, 84u8, 132u8, 120u8, 117u8, 172u8, 169u8, 40u8, 237u8, 92u8, 89u8, 87u8, 230u8, 148u8, 140u8, 226u8, 60u8, @@ -32477,20 +34728,22 @@ pub mod api { #[doc = " `confirmed` set to true, as the number of `HrmpAcceptedChannelRequestCount` for `X`."] pub fn hrmp_accepted_channel_request_count( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::hrmp_accepted_channel_request_count::Param0, + >, types::hrmp_accepted_channel_request_count::HrmpAcceptedChannelRequestCount, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Hrmp", "HrmpAcceptedChannelRequestCount", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 29u8, 100u8, 52u8, 28u8, 180u8, 84u8, 132u8, 120u8, 117u8, 172u8, 169u8, 40u8, 237u8, 92u8, 89u8, 87u8, 230u8, 148u8, 140u8, 226u8, 60u8, @@ -32508,17 +34761,17 @@ pub mod api { #[doc = " - There are no channels that exists in list but not in the set and vice versa."] pub fn hrmp_close_channel_requests_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::hrmp_close_channel_requests::HrmpCloseChannelRequests, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Hrmp", "HrmpCloseChannelRequests", - vec![], + (), [ 155u8, 13u8, 73u8, 166u8, 58u8, 67u8, 138u8, 58u8, 215u8, 172u8, 241u8, 168u8, 57u8, 4u8, 230u8, 248u8, 31u8, 183u8, 227u8, 224u8, 139u8, @@ -32536,20 +34789,22 @@ pub mod api { #[doc = " - There are no channels that exists in list but not in the set and vice versa."] pub fn hrmp_close_channel_requests( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::hrmp_close_channel_requests::Param0, + >, types::hrmp_close_channel_requests::HrmpCloseChannelRequests, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Hrmp", "HrmpCloseChannelRequests", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 155u8, 13u8, 73u8, 166u8, 58u8, 67u8, 138u8, 58u8, 215u8, 172u8, 241u8, 168u8, 57u8, 4u8, 230u8, 248u8, 31u8, 183u8, 227u8, 224u8, 139u8, @@ -32560,17 +34815,17 @@ pub mod api { } pub fn hrmp_close_channel_requests_list( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::hrmp_close_channel_requests_list::HrmpCloseChannelRequestsList, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Hrmp", "HrmpCloseChannelRequestsList", - vec![], + (), [ 78u8, 194u8, 214u8, 232u8, 91u8, 72u8, 109u8, 113u8, 88u8, 86u8, 136u8, 26u8, 226u8, 30u8, 11u8, 188u8, 57u8, 77u8, 169u8, 64u8, 14u8, 187u8, @@ -32584,17 +34839,17 @@ pub mod api { #[doc = " session."] pub fn hrmp_watermarks_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::hrmp_watermarks::HrmpWatermarks, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Hrmp", "HrmpWatermarks", - vec![], + (), [ 245u8, 104u8, 137u8, 120u8, 131u8, 7u8, 178u8, 85u8, 96u8, 124u8, 241u8, 2u8, 86u8, 63u8, 116u8, 77u8, 217u8, 235u8, 162u8, 38u8, 104u8, @@ -32608,20 +34863,22 @@ pub mod api { #[doc = " session."] pub fn hrmp_watermarks( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::hrmp_watermarks::Param0, + >, types::hrmp_watermarks::HrmpWatermarks, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Hrmp", "HrmpWatermarks", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 245u8, 104u8, 137u8, 120u8, 131u8, 7u8, 178u8, 85u8, 96u8, 124u8, 241u8, 2u8, 86u8, 63u8, 116u8, 77u8, 217u8, 235u8, 162u8, 38u8, 104u8, @@ -32634,17 +34891,17 @@ pub mod api { #[doc = " - each participant in the channel should satisfy `Paras::is_valid_para(P)` within a session."] pub fn hrmp_channels_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::hrmp_channels::HrmpChannels, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Hrmp", "HrmpChannels", - vec![], + (), [ 174u8, 90u8, 72u8, 93u8, 43u8, 140u8, 181u8, 170u8, 138u8, 171u8, 179u8, 156u8, 33u8, 87u8, 63u8, 1u8, 131u8, 59u8, 230u8, 14u8, 40u8, @@ -32658,20 +34915,22 @@ pub mod api { #[doc = " - each participant in the channel should satisfy `Paras::is_valid_para(P)` within a session."] pub fn hrmp_channels( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::hrmp_channels::Param0, + >, types::hrmp_channels::HrmpChannels, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Hrmp", "HrmpChannels", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 174u8, 90u8, 72u8, 93u8, 43u8, 140u8, 181u8, 170u8, 138u8, 171u8, 179u8, 156u8, 33u8, 87u8, 63u8, 1u8, 131u8, 59u8, 230u8, 14u8, 40u8, @@ -32695,17 +34954,17 @@ pub mod api { #[doc = " - the vectors are sorted."] pub fn hrmp_ingress_channels_index_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::hrmp_ingress_channels_index::HrmpIngressChannelsIndex, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Hrmp", "HrmpIngressChannelsIndex", - vec![], + (), [ 125u8, 229u8, 102u8, 230u8, 74u8, 109u8, 173u8, 67u8, 176u8, 169u8, 57u8, 24u8, 75u8, 129u8, 246u8, 198u8, 63u8, 49u8, 56u8, 102u8, 149u8, @@ -32729,20 +34988,22 @@ pub mod api { #[doc = " - the vectors are sorted."] pub fn hrmp_ingress_channels_index( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::hrmp_ingress_channels_index::Param0, + >, types::hrmp_ingress_channels_index::HrmpIngressChannelsIndex, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Hrmp", "HrmpIngressChannelsIndex", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 125u8, 229u8, 102u8, 230u8, 74u8, 109u8, 173u8, 67u8, 176u8, 169u8, 57u8, 24u8, 75u8, 129u8, 246u8, 198u8, 63u8, 49u8, 56u8, 102u8, 149u8, @@ -32753,17 +35014,17 @@ pub mod api { } pub fn hrmp_egress_channels_index_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::hrmp_egress_channels_index::HrmpEgressChannelsIndex, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Hrmp", "HrmpEgressChannelsIndex", - vec![], + (), [ 237u8, 183u8, 188u8, 57u8, 20u8, 238u8, 166u8, 7u8, 94u8, 155u8, 22u8, 9u8, 173u8, 209u8, 210u8, 17u8, 160u8, 79u8, 243u8, 4u8, 245u8, 240u8, @@ -32773,20 +35034,22 @@ pub mod api { } pub fn hrmp_egress_channels_index( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::hrmp_egress_channels_index::Param0, + >, types::hrmp_egress_channels_index::HrmpEgressChannelsIndex, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Hrmp", "HrmpEgressChannelsIndex", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 237u8, 183u8, 188u8, 57u8, 20u8, 238u8, 166u8, 7u8, 94u8, 155u8, 22u8, 9u8, 173u8, 209u8, 210u8, 17u8, 160u8, 79u8, 243u8, 4u8, 245u8, 240u8, @@ -32798,17 +35061,17 @@ pub mod api { #[doc = " Invariant: cannot be non-empty if the corresponding channel in `HrmpChannels` is `None`."] pub fn hrmp_channel_contents_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::hrmp_channel_contents::HrmpChannelContents, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Hrmp", "HrmpChannelContents", - vec![], + (), [ 55u8, 16u8, 135u8, 69u8, 54u8, 180u8, 246u8, 124u8, 104u8, 92u8, 45u8, 18u8, 223u8, 145u8, 43u8, 190u8, 121u8, 59u8, 35u8, 195u8, 234u8, @@ -32821,20 +35084,22 @@ pub mod api { #[doc = " Invariant: cannot be non-empty if the corresponding channel in `HrmpChannels` is `None`."] pub fn hrmp_channel_contents( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::hrmp_channel_contents::Param0, + >, types::hrmp_channel_contents::HrmpChannelContents, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Hrmp", "HrmpChannelContents", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 55u8, 16u8, 135u8, 69u8, 54u8, 180u8, 246u8, 124u8, 104u8, 92u8, 45u8, 18u8, 223u8, 145u8, 43u8, 190u8, 121u8, 59u8, 35u8, 195u8, 234u8, @@ -32851,17 +35116,17 @@ pub mod api { #[doc = " same block number."] pub fn hrmp_channel_digests_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::hrmp_channel_digests::HrmpChannelDigests, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Hrmp", "HrmpChannelDigests", - vec![], + (), [ 90u8, 90u8, 139u8, 78u8, 47u8, 2u8, 104u8, 211u8, 42u8, 246u8, 193u8, 210u8, 142u8, 223u8, 17u8, 136u8, 3u8, 182u8, 25u8, 56u8, 72u8, 72u8, @@ -32877,20 +35142,22 @@ pub mod api { #[doc = " same block number."] pub fn hrmp_channel_digests( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::hrmp_channel_digests::Param0, + >, types::hrmp_channel_digests::HrmpChannelDigests, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Hrmp", "HrmpChannelDigests", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 90u8, 90u8, 139u8, 78u8, 47u8, 2u8, 104u8, 211u8, 42u8, 246u8, 193u8, 210u8, 142u8, 223u8, 17u8, 136u8, 3u8, 182u8, 25u8, 56u8, 72u8, 72u8, @@ -32910,7 +35177,7 @@ pub mod api { use super::runtime_types; pub mod assignment_keys_unsafe { use super::runtime_types; - pub type AssignmentKeysUnsafe = ::std::vec::Vec< + pub type AssignmentKeysUnsafe = ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_primitives::v6::assignment_app::Public, >; } @@ -32925,7 +35192,9 @@ pub mod api { } pub mod account_keys { use super::runtime_types; - pub type AccountKeys = ::std::vec::Vec<::subxt::utils::AccountId32>; + pub type AccountKeys = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >; pub type Param0 = ::core::primitive::u32; } pub mod session_executor_params { @@ -32942,17 +35211,17 @@ pub mod api { #[doc = " When in doubt, use `Sessions` API instead."] pub fn assignment_keys_unsafe( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::assignment_keys_unsafe::AssignmentKeysUnsafe, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ParaSessionInfo", "AssignmentKeysUnsafe", - vec![], + (), [ 51u8, 155u8, 91u8, 101u8, 118u8, 243u8, 134u8, 138u8, 147u8, 59u8, 195u8, 186u8, 54u8, 187u8, 36u8, 14u8, 91u8, 141u8, 60u8, 139u8, 28u8, @@ -32963,17 +35232,17 @@ pub mod api { #[doc = " The earliest session for which previous session info is stored."] pub fn earliest_stored_session( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::earliest_stored_session::EarliestStoredSession, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ParaSessionInfo", "EarliestStoredSession", - vec![], + (), [ 139u8, 176u8, 46u8, 139u8, 217u8, 35u8, 62u8, 91u8, 183u8, 7u8, 114u8, 226u8, 60u8, 237u8, 105u8, 73u8, 20u8, 216u8, 194u8, 205u8, 178u8, @@ -32986,17 +35255,17 @@ pub mod api { #[doc = " Does not have any entries before the session index in the first session change notification."] pub fn sessions_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::sessions::Sessions, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ParaSessionInfo", "Sessions", - vec![], + (), [ 254u8, 40u8, 169u8, 18u8, 252u8, 203u8, 49u8, 182u8, 123u8, 19u8, 241u8, 150u8, 227u8, 153u8, 108u8, 109u8, 66u8, 129u8, 157u8, 27u8, @@ -33010,20 +35279,22 @@ pub mod api { #[doc = " Does not have any entries before the session index in the first session change notification."] pub fn sessions( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::sessions::Param0, + >, types::sessions::Sessions, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ParaSessionInfo", "Sessions", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 254u8, 40u8, 169u8, 18u8, 252u8, 203u8, 49u8, 182u8, 123u8, 19u8, 241u8, 150u8, 227u8, 153u8, 108u8, 109u8, 66u8, 129u8, 157u8, 27u8, @@ -33035,17 +35306,17 @@ pub mod api { #[doc = " The validator account keys of the validators actively participating in parachain consensus."] pub fn account_keys_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::account_keys::AccountKeys, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ParaSessionInfo", "AccountKeys", - vec![], + (), [ 30u8, 98u8, 58u8, 140u8, 96u8, 231u8, 205u8, 111u8, 194u8, 100u8, 185u8, 242u8, 210u8, 143u8, 110u8, 144u8, 170u8, 187u8, 62u8, 196u8, @@ -33057,20 +35328,22 @@ pub mod api { #[doc = " The validator account keys of the validators actively participating in parachain consensus."] pub fn account_keys( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::account_keys::Param0, + >, types::account_keys::AccountKeys, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ParaSessionInfo", "AccountKeys", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 30u8, 98u8, 58u8, 140u8, 96u8, 231u8, 205u8, 111u8, 194u8, 100u8, 185u8, 242u8, 210u8, 143u8, 110u8, 144u8, 170u8, 187u8, 62u8, 196u8, @@ -33082,17 +35355,17 @@ pub mod api { #[doc = " Executor parameter set for a given session index"] pub fn session_executor_params_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::session_executor_params::SessionExecutorParams, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ParaSessionInfo", "SessionExecutorParams", - vec![], + (), [ 102u8, 51u8, 28u8, 199u8, 238u8, 229u8, 99u8, 38u8, 116u8, 154u8, 250u8, 136u8, 240u8, 122u8, 82u8, 13u8, 139u8, 160u8, 149u8, 218u8, @@ -33104,20 +35377,22 @@ pub mod api { #[doc = " Executor parameter set for a given session index"] pub fn session_executor_params( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::session_executor_params::Param0, + >, types::session_executor_params::SessionExecutorParams, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ParaSessionInfo", "SessionExecutorParams", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 102u8, 51u8, 28u8, 199u8, 238u8, 229u8, 99u8, 38u8, 116u8, 154u8, 250u8, 136u8, 240u8, 122u8, 82u8, 13u8, 139u8, 160u8, 149u8, 218u8, @@ -33143,18 +35418,22 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::force_unfreeze`]."] pub struct ForceUnfreeze; - impl ::subxt::blocks::StaticExtrinsic for ForceUnfreeze { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceUnfreeze { const PALLET: &'static str = "ParasDisputes"; const CALL: &'static str = "force_unfreeze"; } @@ -33162,8 +35441,10 @@ pub mod api { pub struct TransactionApi; impl TransactionApi { #[doc = "See [`Pallet::force_unfreeze`]."] - pub fn force_unfreeze(&self) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + pub fn force_unfreeze( + &self, + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "ParasDisputes", "force_unfreeze", types::ForceUnfreeze {}, @@ -33181,15 +35462,15 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A dispute has been initiated. \\[candidate hash, dispute location\\]"] pub struct DisputeInitiated( pub dispute_initiated::Field0, @@ -33201,20 +35482,20 @@ pub mod api { pub type Field1 = runtime_types::polkadot_runtime_parachains::disputes::DisputeLocation; } - impl ::subxt::events::StaticEvent for DisputeInitiated { + impl ::subxt::ext::subxt_core::events::StaticEvent for DisputeInitiated { const PALLET: &'static str = "ParasDisputes"; const EVENT: &'static str = "DisputeInitiated"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A dispute has concluded for or against a candidate."] #[doc = "`\\[para id, candidate hash, dispute result\\]`"] pub struct DisputeConcluded( @@ -33227,20 +35508,20 @@ pub mod api { pub type Field1 = runtime_types::polkadot_runtime_parachains::disputes::DisputeResult; } - impl ::subxt::events::StaticEvent for DisputeConcluded { + impl ::subxt::ext::subxt_core::events::StaticEvent for DisputeConcluded { const PALLET: &'static str = "ParasDisputes"; const EVENT: &'static str = "DisputeConcluded"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A dispute has concluded with supermajority against a candidate."] #[doc = "Block authors should no longer build on top of this head and should"] #[doc = "instead revert the block at the given height. This should be the"] @@ -33250,7 +35531,7 @@ pub mod api { use super::runtime_types; pub type Field0 = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for Revert { + impl ::subxt::ext::subxt_core::events::StaticEvent for Revert { const PALLET: &'static str = "ParasDisputes"; const EVENT: &'static str = "Revert"; } @@ -33273,8 +35554,9 @@ pub mod api { } pub mod backers_on_disputes { use super::runtime_types; - pub type BackersOnDisputes = - ::std::vec::Vec; + pub type BackersOnDisputes = ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::polkadot_primitives::v6::ValidatorIndex, + >; pub type Param0 = ::core::primitive::u32; pub type Param1 = runtime_types::polkadot_core_primitives::CandidateHash; } @@ -33295,17 +35577,17 @@ pub mod api { #[doc = " references sessions."] pub fn last_pruned_session( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::last_pruned_session::LastPrunedSession, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ParasDisputes", "LastPrunedSession", - vec![], + (), [ 98u8, 107u8, 200u8, 158u8, 182u8, 120u8, 24u8, 242u8, 24u8, 163u8, 237u8, 72u8, 153u8, 19u8, 38u8, 85u8, 239u8, 208u8, 194u8, 22u8, 173u8, @@ -33317,17 +35599,17 @@ pub mod api { #[doc = " All ongoing or concluded disputes for the last several sessions."] pub fn disputes_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::disputes::Disputes, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ParasDisputes", "Disputes", - vec![], + (), [ 38u8, 237u8, 141u8, 222u8, 135u8, 82u8, 210u8, 166u8, 192u8, 122u8, 175u8, 96u8, 91u8, 1u8, 225u8, 182u8, 128u8, 4u8, 159u8, 56u8, 180u8, @@ -33339,20 +35621,22 @@ pub mod api { #[doc = " All ongoing or concluded disputes for the last several sessions."] pub fn disputes_iter1( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::disputes::Param0, + >, types::disputes::Disputes, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ParasDisputes", "Disputes", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 38u8, 237u8, 141u8, 222u8, 135u8, 82u8, 210u8, 166u8, 192u8, 122u8, 175u8, 96u8, 91u8, 1u8, 225u8, 182u8, 128u8, 4u8, 159u8, 56u8, 180u8, @@ -33364,22 +35648,33 @@ pub mod api { #[doc = " All ongoing or concluded disputes for the last several sessions."] pub fn disputes( &self, - _0: impl ::std::borrow::Borrow, - _1: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::disputes::Param0, + >, + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::disputes::Param1, + >, + ), types::disputes::Disputes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ParasDisputes", "Disputes", - vec![ - ::subxt::storage::address::make_static_storage_map_key(_0.borrow()), - ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), - ], + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), + ), [ 38u8, 237u8, 141u8, 222u8, 135u8, 82u8, 210u8, 166u8, 192u8, 122u8, 175u8, 96u8, 91u8, 1u8, 225u8, 182u8, 128u8, 4u8, 159u8, 56u8, 180u8, @@ -33392,17 +35687,17 @@ pub mod api { #[doc = " This storage is used for slashing."] pub fn backers_on_disputes_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::backers_on_disputes::BackersOnDisputes, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ParasDisputes", "BackersOnDisputes", - vec![], + (), [ 136u8, 171u8, 20u8, 204u8, 135u8, 153u8, 144u8, 241u8, 46u8, 193u8, 65u8, 22u8, 116u8, 161u8, 144u8, 186u8, 31u8, 194u8, 202u8, 225u8, @@ -33415,20 +35710,22 @@ pub mod api { #[doc = " This storage is used for slashing."] pub fn backers_on_disputes_iter1( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::backers_on_disputes::Param0, + >, types::backers_on_disputes::BackersOnDisputes, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ParasDisputes", "BackersOnDisputes", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 136u8, 171u8, 20u8, 204u8, 135u8, 153u8, 144u8, 241u8, 46u8, 193u8, 65u8, 22u8, 116u8, 161u8, 144u8, 186u8, 31u8, 194u8, 202u8, 225u8, @@ -33441,22 +35738,33 @@ pub mod api { #[doc = " This storage is used for slashing."] pub fn backers_on_disputes( &self, - _0: impl ::std::borrow::Borrow, - _1: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::backers_on_disputes::Param0, + >, + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::backers_on_disputes::Param1, + >, + ), types::backers_on_disputes::BackersOnDisputes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ParasDisputes", "BackersOnDisputes", - vec![ - ::subxt::storage::address::make_static_storage_map_key(_0.borrow()), - ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), - ], + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), + ), [ 136u8, 171u8, 20u8, 204u8, 135u8, 153u8, 144u8, 241u8, 46u8, 193u8, 65u8, 22u8, 116u8, 161u8, 144u8, 186u8, 31u8, 194u8, 202u8, 225u8, @@ -33469,17 +35777,17 @@ pub mod api { #[doc = " should be reverted back to if the candidate is disputed and determined to be invalid."] pub fn included_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::included::Included, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ParasDisputes", "Included", - vec![], + (), [ 47u8, 105u8, 189u8, 233u8, 206u8, 153u8, 162u8, 217u8, 141u8, 118u8, 31u8, 85u8, 87u8, 53u8, 100u8, 187u8, 31u8, 245u8, 50u8, 171u8, 4u8, @@ -33492,20 +35800,22 @@ pub mod api { #[doc = " should be reverted back to if the candidate is disputed and determined to be invalid."] pub fn included_iter1( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::included::Param0, + >, types::included::Included, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ParasDisputes", "Included", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 47u8, 105u8, 189u8, 233u8, 206u8, 153u8, 162u8, 217u8, 141u8, 118u8, 31u8, 85u8, 87u8, 53u8, 100u8, 187u8, 31u8, 245u8, 50u8, 171u8, 4u8, @@ -33518,22 +35828,33 @@ pub mod api { #[doc = " should be reverted back to if the candidate is disputed and determined to be invalid."] pub fn included( &self, - _0: impl ::std::borrow::Borrow, - _1: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::included::Param0, + >, + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::included::Param1, + >, + ), types::included::Included, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ParasDisputes", "Included", - vec![ - ::subxt::storage::address::make_static_storage_map_key(_0.borrow()), - ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), - ], + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), + ), [ 47u8, 105u8, 189u8, 233u8, 206u8, 153u8, 162u8, 217u8, 141u8, 118u8, 31u8, 85u8, 87u8, 53u8, 100u8, 187u8, 31u8, 245u8, 50u8, 171u8, 4u8, @@ -33548,17 +35869,17 @@ pub mod api { #[doc = " It can only be set back to `None` by governance intervention."] pub fn frozen( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::frozen::Frozen, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ParasDisputes", "Frozen", - vec![], + (), [ 245u8, 136u8, 43u8, 156u8, 7u8, 74u8, 31u8, 190u8, 184u8, 119u8, 182u8, 66u8, 18u8, 136u8, 30u8, 248u8, 24u8, 121u8, 26u8, 177u8, 169u8, 208u8, @@ -33585,19 +35906,24 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::report_dispute_lost_unsigned`]."] pub struct ReportDisputeLostUnsigned { - pub dispute_proof: - ::std::boxed::Box, + pub dispute_proof: ::subxt::ext::subxt_core::alloc::boxed::Box< + report_dispute_lost_unsigned::DisputeProof, + >, pub key_owner_proof: report_dispute_lost_unsigned::KeyOwnerProof, } pub mod report_dispute_lost_unsigned { @@ -33606,7 +35932,7 @@ pub mod api { runtime_types::polkadot_primitives::v6::slashing::DisputeProof; pub type KeyOwnerProof = runtime_types::sp_session::MembershipProof; } - impl ::subxt::blocks::StaticExtrinsic for ReportDisputeLostUnsigned { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ReportDisputeLostUnsigned { const PALLET: &'static str = "ParasSlashing"; const CALL: &'static str = "report_dispute_lost_unsigned"; } @@ -33618,12 +35944,15 @@ pub mod api { &self, dispute_proof: types::report_dispute_lost_unsigned::DisputeProof, key_owner_proof: types::report_dispute_lost_unsigned::KeyOwnerProof, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "ParasSlashing", "report_dispute_lost_unsigned", types::ReportDisputeLostUnsigned { - dispute_proof: ::std::boxed::Box::new(dispute_proof), + dispute_proof: ::subxt::ext::subxt_core::alloc::boxed::Box::new( + dispute_proof, + ), key_owner_proof, }, [ @@ -33658,17 +35987,17 @@ pub mod api { #[doc = " Validators pending dispute slashes."] pub fn unapplied_slashes_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::unapplied_slashes::UnappliedSlashes, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ParasSlashing", "UnappliedSlashes", - vec![], + (), [ 114u8, 171u8, 137u8, 142u8, 180u8, 125u8, 226u8, 240u8, 99u8, 181u8, 68u8, 221u8, 91u8, 124u8, 172u8, 93u8, 103u8, 12u8, 95u8, 43u8, 67u8, @@ -33680,20 +36009,22 @@ pub mod api { #[doc = " Validators pending dispute slashes."] pub fn unapplied_slashes_iter1( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::unapplied_slashes::Param0, + >, types::unapplied_slashes::UnappliedSlashes, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ParasSlashing", "UnappliedSlashes", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 114u8, 171u8, 137u8, 142u8, 180u8, 125u8, 226u8, 240u8, 99u8, 181u8, 68u8, 221u8, 91u8, 124u8, 172u8, 93u8, 103u8, 12u8, 95u8, 43u8, 67u8, @@ -33705,22 +36036,33 @@ pub mod api { #[doc = " Validators pending dispute slashes."] pub fn unapplied_slashes( &self, - _0: impl ::std::borrow::Borrow, - _1: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::unapplied_slashes::Param0, + >, + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::unapplied_slashes::Param1, + >, + ), types::unapplied_slashes::UnappliedSlashes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ParasSlashing", "UnappliedSlashes", - vec![ - ::subxt::storage::address::make_static_storage_map_key(_0.borrow()), - ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), - ], + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), + ), [ 114u8, 171u8, 137u8, 142u8, 180u8, 125u8, 226u8, 240u8, 99u8, 181u8, 68u8, 221u8, 91u8, 124u8, 172u8, 93u8, 103u8, 12u8, 95u8, 43u8, 67u8, @@ -33732,17 +36074,17 @@ pub mod api { #[doc = " `ValidatorSetCount` per session."] pub fn validator_set_counts_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::validator_set_counts::ValidatorSetCounts, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ParasSlashing", "ValidatorSetCounts", - vec![], + (), [ 195u8, 220u8, 79u8, 140u8, 114u8, 80u8, 241u8, 103u8, 4u8, 7u8, 53u8, 100u8, 16u8, 78u8, 104u8, 171u8, 134u8, 110u8, 158u8, 191u8, 37u8, @@ -33753,20 +36095,22 @@ pub mod api { #[doc = " `ValidatorSetCount` per session."] pub fn validator_set_counts( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::validator_set_counts::Param0, + >, types::validator_set_counts::ValidatorSetCounts, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ParasSlashing", "ValidatorSetCounts", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 195u8, 220u8, 79u8, 140u8, 114u8, 80u8, 241u8, 103u8, 4u8, 7u8, 53u8, 100u8, 16u8, 78u8, 104u8, 171u8, 134u8, 110u8, 158u8, 191u8, 37u8, @@ -33791,15 +36135,19 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::reap_page`]."] pub struct ReapPage { pub message_origin: reap_page::MessageOrigin, @@ -33810,20 +36158,24 @@ pub mod api { pub type MessageOrigin = runtime_types :: polkadot_runtime_parachains :: inclusion :: AggregateMessageOrigin ; pub type PageIndex = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for ReapPage { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ReapPage { const PALLET: &'static str = "MessageQueue"; const CALL: &'static str = "reap_page"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::execute_overweight`]."] pub struct ExecuteOverweight { pub message_origin: execute_overweight::MessageOrigin, @@ -33838,7 +36190,7 @@ pub mod api { pub type Index = ::core::primitive::u32; pub type WeightLimit = runtime_types::sp_weights::weight_v2::Weight; } - impl ::subxt::blocks::StaticExtrinsic for ExecuteOverweight { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ExecuteOverweight { const PALLET: &'static str = "MessageQueue"; const CALL: &'static str = "execute_overweight"; } @@ -33850,8 +36202,8 @@ pub mod api { &self, message_origin: types::reap_page::MessageOrigin, page_index: types::reap_page::PageIndex, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "MessageQueue", "reap_page", types::ReapPage { @@ -33872,8 +36224,9 @@ pub mod api { page: types::execute_overweight::Page, index: types::execute_overweight::Index, weight_limit: types::execute_overweight::WeightLimit, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "MessageQueue", "execute_overweight", types::ExecuteOverweight { @@ -33897,15 +36250,15 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Message discarded due to an error in the `MessageProcessor` (usually a format error)."] pub struct ProcessingFailed { pub id: processing_failed::Id, @@ -33920,20 +36273,20 @@ pub mod api { pub type Error = runtime_types::frame_support::traits::messages::ProcessMessageError; } - impl ::subxt::events::StaticEvent for ProcessingFailed { + impl ::subxt::ext::subxt_core::events::StaticEvent for ProcessingFailed { const PALLET: &'static str = "MessageQueue"; const EVENT: &'static str = "ProcessingFailed"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Message is processed."] pub struct Processed { pub id: processed::Id, @@ -33949,20 +36302,20 @@ pub mod api { pub type WeightUsed = runtime_types::sp_weights::weight_v2::Weight; pub type Success = ::core::primitive::bool; } - impl ::subxt::events::StaticEvent for Processed { + impl ::subxt::ext::subxt_core::events::StaticEvent for Processed { const PALLET: &'static str = "MessageQueue"; const EVENT: &'static str = "Processed"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Message placed in overweight queue."] pub struct OverweightEnqueued { pub id: overweight_enqueued::Id, @@ -33978,20 +36331,20 @@ pub mod api { pub type PageIndex = ::core::primitive::u32; pub type MessageIndex = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for OverweightEnqueued { + impl ::subxt::ext::subxt_core::events::StaticEvent for OverweightEnqueued { const PALLET: &'static str = "MessageQueue"; const EVENT: &'static str = "OverweightEnqueued"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "This page was reaped."] pub struct PageReaped { pub origin: page_reaped::Origin, @@ -34003,7 +36356,7 @@ pub mod api { runtime_types::polkadot_runtime_parachains::inclusion::AggregateMessageOrigin; pub type Index = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for PageReaped { + impl ::subxt::ext::subxt_core::events::StaticEvent for PageReaped { const PALLET: &'static str = "MessageQueue"; const EVENT: &'static str = "PageReaped"; } @@ -34034,17 +36387,17 @@ pub mod api { #[doc = " The index of the first and last (non-empty) pages."] pub fn book_state_for_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::book_state_for::BookStateFor, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "MessageQueue", "BookStateFor", - vec![], + (), [ 32u8, 61u8, 161u8, 81u8, 134u8, 136u8, 252u8, 113u8, 204u8, 115u8, 206u8, 180u8, 33u8, 185u8, 137u8, 155u8, 178u8, 189u8, 234u8, 201u8, @@ -34056,20 +36409,22 @@ pub mod api { #[doc = " The index of the first and last (non-empty) pages."] pub fn book_state_for( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::book_state_for::Param0, + >, types::book_state_for::BookStateFor, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "MessageQueue", "BookStateFor", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 32u8, 61u8, 161u8, 81u8, 134u8, 136u8, 252u8, 113u8, 204u8, 115u8, 206u8, 180u8, 33u8, 185u8, 137u8, 155u8, 178u8, 189u8, 234u8, 201u8, @@ -34081,17 +36436,17 @@ pub mod api { #[doc = " The origin at which we should begin servicing."] pub fn service_head( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::service_head::ServiceHead, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "MessageQueue", "ServiceHead", - vec![], + (), [ 17u8, 130u8, 229u8, 193u8, 127u8, 237u8, 60u8, 232u8, 99u8, 109u8, 102u8, 228u8, 124u8, 103u8, 24u8, 188u8, 151u8, 121u8, 55u8, 97u8, @@ -34103,17 +36458,17 @@ pub mod api { #[doc = " The map of page indices to pages."] pub fn pages_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::pages::Pages, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "MessageQueue", "Pages", - vec![], + (), [ 56u8, 181u8, 157u8, 16u8, 157u8, 123u8, 106u8, 93u8, 199u8, 208u8, 153u8, 53u8, 168u8, 188u8, 124u8, 77u8, 140u8, 163u8, 113u8, 16u8, @@ -34125,20 +36480,22 @@ pub mod api { #[doc = " The map of page indices to pages."] pub fn pages_iter1( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::pages::Param0, + >, types::pages::Pages, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "MessageQueue", "Pages", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 56u8, 181u8, 157u8, 16u8, 157u8, 123u8, 106u8, 93u8, 199u8, 208u8, 153u8, 53u8, 168u8, 188u8, 124u8, 77u8, 140u8, 163u8, 113u8, 16u8, @@ -34150,22 +36507,33 @@ pub mod api { #[doc = " The map of page indices to pages."] pub fn pages( &self, - _0: impl ::std::borrow::Borrow, - _1: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::pages::Param0, + >, + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::pages::Param1, + >, + ), types::pages::Pages, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "MessageQueue", "Pages", - vec![ - ::subxt::storage::address::make_static_storage_map_key(_0.borrow()), - ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), - ], + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), + ), [ 56u8, 181u8, 157u8, 16u8, 157u8, 123u8, 106u8, 93u8, 199u8, 208u8, 153u8, 53u8, 168u8, 188u8, 124u8, 77u8, 140u8, 163u8, 113u8, 16u8, @@ -34185,8 +36553,11 @@ pub mod api { #[doc = " A good value depends on the expected message sizes, their weights, the weight that is"] #[doc = " available for processing them and the maximal needed message size. The maximal message"] #[doc = " size is slightly lower than this as defined by [`MaxMessageLenOf`]."] - pub fn heap_size(&self) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + pub fn heap_size( + &self, + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "MessageQueue", "HeapSize", [ @@ -34200,8 +36571,11 @@ pub mod api { #[doc = " The maximum number of stale pages (i.e. of overweight messages) allowed before culling"] #[doc = " can happen. Once there are more stale pages than this, then historical pages may be"] #[doc = " dropped, even if they contain unprocessed overweight messages."] - pub fn max_stale(&self) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + pub fn max_stale( + &self, + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "MessageQueue", "MaxStale", [ @@ -34219,10 +36593,10 @@ pub mod api { #[doc = " `ServiceQueues::service_queues` manually."] pub fn service_weight( &self, - ) -> ::subxt::constants::Address< + ) -> ::subxt::ext::subxt_core::constants::Address< ::core::option::Option, > { - ::subxt::constants::Address::new_static( + ::subxt::ext::subxt_core::constants::Address::new_static( "MessageQueue", "ServiceWeight", [ @@ -34263,15 +36637,19 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::place_order_allow_death`]."] pub struct PlaceOrderAllowDeath { pub max_amount: place_order_allow_death::MaxAmount, @@ -34282,20 +36660,24 @@ pub mod api { pub type MaxAmount = ::core::primitive::u128; pub type ParaId = runtime_types::polkadot_parachain_primitives::primitives::Id; } - impl ::subxt::blocks::StaticExtrinsic for PlaceOrderAllowDeath { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for PlaceOrderAllowDeath { const PALLET: &'static str = "OnDemandAssignmentProvider"; const CALL: &'static str = "place_order_allow_death"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::place_order_keep_alive`]."] pub struct PlaceOrderKeepAlive { pub max_amount: place_order_keep_alive::MaxAmount, @@ -34306,7 +36688,7 @@ pub mod api { pub type MaxAmount = ::core::primitive::u128; pub type ParaId = runtime_types::polkadot_parachain_primitives::primitives::Id; } - impl ::subxt::blocks::StaticExtrinsic for PlaceOrderKeepAlive { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for PlaceOrderKeepAlive { const PALLET: &'static str = "OnDemandAssignmentProvider"; const CALL: &'static str = "place_order_keep_alive"; } @@ -34318,8 +36700,9 @@ pub mod api { &self, max_amount: types::place_order_allow_death::MaxAmount, para_id: types::place_order_allow_death::ParaId, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "OnDemandAssignmentProvider", "place_order_allow_death", types::PlaceOrderAllowDeath { @@ -34339,8 +36722,9 @@ pub mod api { &self, max_amount: types::place_order_keep_alive::MaxAmount, para_id: types::place_order_keep_alive::ParaId, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "OnDemandAssignmentProvider", "place_order_keep_alive", types::PlaceOrderKeepAlive { @@ -34362,15 +36746,15 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An order was placed at some spot price amount."] pub struct OnDemandOrderPlaced { pub para_id: on_demand_order_placed::ParaId, @@ -34381,20 +36765,20 @@ pub mod api { pub type ParaId = runtime_types::polkadot_parachain_primitives::primitives::Id; pub type SpotPrice = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for OnDemandOrderPlaced { + impl ::subxt::ext::subxt_core::events::StaticEvent for OnDemandOrderPlaced { const PALLET: &'static str = "OnDemandAssignmentProvider"; const EVENT: &'static str = "OnDemandOrderPlaced"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The value of the spot traffic multiplier changed."] pub struct SpotTrafficSet { pub traffic: spot_traffic_set::Traffic, @@ -34403,7 +36787,7 @@ pub mod api { use super::runtime_types; pub type Traffic = runtime_types::sp_arithmetic::fixed_point::FixedU128; } - impl ::subxt::events::StaticEvent for SpotTrafficSet { + impl ::subxt::ext::subxt_core::events::StaticEvent for SpotTrafficSet { const PALLET: &'static str = "OnDemandAssignmentProvider"; const EVENT: &'static str = "SpotTrafficSet"; } @@ -34418,7 +36802,7 @@ pub mod api { } pub mod on_demand_queue { use super::runtime_types; - pub type OnDemandQueue = ::std::vec::Vec< + pub type OnDemandQueue = ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_runtime_parachains::scheduler::common::Assignment, >; } @@ -34434,17 +36818,17 @@ pub mod api { #[doc = " assigner."] pub fn spot_traffic( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::spot_traffic::SpotTraffic, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "OnDemandAssignmentProvider", "SpotTraffic", - vec![], + (), [ 8u8, 236u8, 233u8, 156u8, 211u8, 45u8, 192u8, 58u8, 108u8, 247u8, 47u8, 97u8, 229u8, 26u8, 188u8, 67u8, 98u8, 43u8, 11u8, 11u8, 1u8, 127u8, @@ -34456,17 +36840,17 @@ pub mod api { #[doc = " queue from the scheduler on session boundaries."] pub fn on_demand_queue( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::on_demand_queue::OnDemandQueue, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "OnDemandAssignmentProvider", "OnDemandQueue", - vec![], + (), [ 241u8, 10u8, 89u8, 240u8, 227u8, 90u8, 218u8, 35u8, 80u8, 244u8, 219u8, 112u8, 177u8, 143u8, 43u8, 228u8, 224u8, 165u8, 217u8, 65u8, 17u8, @@ -34480,17 +36864,17 @@ pub mod api { #[doc = " `ParaId` on two or more `CoreIndex`es."] pub fn para_id_affinity_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::para_id_affinity::ParaIdAffinity, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "OnDemandAssignmentProvider", "ParaIdAffinity", - vec![], + (), [ 145u8, 117u8, 2u8, 170u8, 99u8, 68u8, 166u8, 236u8, 247u8, 80u8, 202u8, 87u8, 116u8, 244u8, 218u8, 172u8, 41u8, 187u8, 170u8, 163u8, 187u8, @@ -34503,20 +36887,18 @@ pub mod api { #[doc = " `ParaId` on two or more `CoreIndex`es."] pub fn para_id_affinity( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::para_id_affinity::ParaIdAffinity, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "OnDemandAssignmentProvider", "ParaIdAffinity", - vec![::subxt::storage::address::make_static_storage_map_key( - _0.borrow(), - )], + (), [ 145u8, 117u8, 2u8, 170u8, 99u8, 68u8, 166u8, 236u8, 247u8, 80u8, 202u8, 87u8, 116u8, 244u8, 218u8, 172u8, 41u8, 187u8, 170u8, 163u8, 187u8, @@ -34533,9 +36915,10 @@ pub mod api { #[doc = " The default value for the spot traffic multiplier."] pub fn traffic_default_value( &self, - ) -> ::subxt::constants::Address - { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address< + runtime_types::sp_arithmetic::fixed_point::FixedU128, + > { + ::subxt::ext::subxt_core::constants::Address::new_static( "OnDemandAssignmentProvider", "TrafficDefaultValue", [ @@ -34567,15 +36950,19 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::register`]."] pub struct Register { pub id: register::Id, @@ -34590,20 +36977,24 @@ pub mod api { pub type ValidationCode = runtime_types::polkadot_parachain_primitives::primitives::ValidationCode; } - impl ::subxt::blocks::StaticExtrinsic for Register { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Register { const PALLET: &'static str = "Registrar"; const CALL: &'static str = "register"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::force_register`]."] pub struct ForceRegister { pub who: force_register::Who, @@ -34614,7 +37005,7 @@ pub mod api { } pub mod force_register { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Deposit = ::core::primitive::u128; pub type Id = runtime_types::polkadot_parachain_primitives::primitives::Id; pub type GenesisHead = @@ -34622,20 +37013,24 @@ pub mod api { pub type ValidationCode = runtime_types::polkadot_parachain_primitives::primitives::ValidationCode; } - impl ::subxt::blocks::StaticExtrinsic for ForceRegister { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceRegister { const PALLET: &'static str = "Registrar"; const CALL: &'static str = "force_register"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::deregister`]."] pub struct Deregister { pub id: deregister::Id, @@ -34644,20 +37039,24 @@ pub mod api { use super::runtime_types; pub type Id = runtime_types::polkadot_parachain_primitives::primitives::Id; } - impl ::subxt::blocks::StaticExtrinsic for Deregister { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Deregister { const PALLET: &'static str = "Registrar"; const CALL: &'static str = "deregister"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::swap`]."] pub struct Swap { pub id: swap::Id, @@ -34668,20 +37067,24 @@ pub mod api { pub type Id = runtime_types::polkadot_parachain_primitives::primitives::Id; pub type Other = runtime_types::polkadot_parachain_primitives::primitives::Id; } - impl ::subxt::blocks::StaticExtrinsic for Swap { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Swap { const PALLET: &'static str = "Registrar"; const CALL: &'static str = "swap"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::remove_lock`]."] pub struct RemoveLock { pub para: remove_lock::Para, @@ -34690,36 +37093,44 @@ pub mod api { use super::runtime_types; pub type Para = runtime_types::polkadot_parachain_primitives::primitives::Id; } - impl ::subxt::blocks::StaticExtrinsic for RemoveLock { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RemoveLock { const PALLET: &'static str = "Registrar"; const CALL: &'static str = "remove_lock"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::reserve`]."] pub struct Reserve; - impl ::subxt::blocks::StaticExtrinsic for Reserve { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Reserve { const PALLET: &'static str = "Registrar"; const CALL: &'static str = "reserve"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::add_lock`]."] pub struct AddLock { pub para: add_lock::Para, @@ -34728,20 +37139,24 @@ pub mod api { use super::runtime_types; pub type Para = runtime_types::polkadot_parachain_primitives::primitives::Id; } - impl ::subxt::blocks::StaticExtrinsic for AddLock { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AddLock { const PALLET: &'static str = "Registrar"; const CALL: &'static str = "add_lock"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::schedule_code_upgrade`]."] pub struct ScheduleCodeUpgrade { pub para: schedule_code_upgrade::Para, @@ -34753,20 +37168,24 @@ pub mod api { pub type NewCode = runtime_types::polkadot_parachain_primitives::primitives::ValidationCode; } - impl ::subxt::blocks::StaticExtrinsic for ScheduleCodeUpgrade { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ScheduleCodeUpgrade { const PALLET: &'static str = "Registrar"; const CALL: &'static str = "schedule_code_upgrade"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_current_head`]."] pub struct SetCurrentHead { pub para: set_current_head::Para, @@ -34778,7 +37197,7 @@ pub mod api { pub type NewHead = runtime_types::polkadot_parachain_primitives::primitives::HeadData; } - impl ::subxt::blocks::StaticExtrinsic for SetCurrentHead { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetCurrentHead { const PALLET: &'static str = "Registrar"; const CALL: &'static str = "set_current_head"; } @@ -34791,8 +37210,8 @@ pub mod api { id: types::register::Id, genesis_head: types::register::GenesisHead, validation_code: types::register::ValidationCode, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Registrar", "register", types::Register { @@ -34815,8 +37234,8 @@ pub mod api { id: types::force_register::Id, genesis_head: types::force_register::GenesisHead, validation_code: types::force_register::ValidationCode, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Registrar", "force_register", types::ForceRegister { @@ -34838,8 +37257,8 @@ pub mod api { pub fn deregister( &self, id: types::deregister::Id, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Registrar", "deregister", types::Deregister { id }, @@ -34855,8 +37274,8 @@ pub mod api { &self, id: types::swap::Id, other: types::swap::Other, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Registrar", "swap", types::Swap { id, other }, @@ -34872,8 +37291,8 @@ pub mod api { pub fn remove_lock( &self, para: types::remove_lock::Para, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Registrar", "remove_lock", types::RemoveLock { para }, @@ -34885,8 +37304,8 @@ pub mod api { ) } #[doc = "See [`Pallet::reserve`]."] - pub fn reserve(&self) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + pub fn reserve(&self) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Registrar", "reserve", types::Reserve {}, @@ -34901,8 +37320,8 @@ pub mod api { pub fn add_lock( &self, para: types::add_lock::Para, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Registrar", "add_lock", types::AddLock { para }, @@ -34918,8 +37337,9 @@ pub mod api { &self, para: types::schedule_code_upgrade::Para, new_code: types::schedule_code_upgrade::NewCode, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Registrar", "schedule_code_upgrade", types::ScheduleCodeUpgrade { para, new_code }, @@ -34936,8 +37356,8 @@ pub mod api { &self, para: types::set_current_head::Para, new_head: types::set_current_head::NewHead, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Registrar", "set_current_head", types::SetCurrentHead { para, new_head }, @@ -34956,15 +37376,15 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct Registered { pub para_id: registered::ParaId, pub manager: registered::Manager, @@ -34972,22 +37392,22 @@ pub mod api { pub mod registered { use super::runtime_types; pub type ParaId = runtime_types::polkadot_parachain_primitives::primitives::Id; - pub type Manager = ::subxt::utils::AccountId32; + pub type Manager = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt::events::StaticEvent for Registered { + impl ::subxt::ext::subxt_core::events::StaticEvent for Registered { const PALLET: &'static str = "Registrar"; const EVENT: &'static str = "Registered"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct Deregistered { pub para_id: deregistered::ParaId, } @@ -34995,20 +37415,20 @@ pub mod api { use super::runtime_types; pub type ParaId = runtime_types::polkadot_parachain_primitives::primitives::Id; } - impl ::subxt::events::StaticEvent for Deregistered { + impl ::subxt::ext::subxt_core::events::StaticEvent for Deregistered { const PALLET: &'static str = "Registrar"; const EVENT: &'static str = "Deregistered"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct Reserved { pub para_id: reserved::ParaId, pub who: reserved::Who, @@ -35016,22 +37436,22 @@ pub mod api { pub mod reserved { use super::runtime_types; pub type ParaId = runtime_types::polkadot_parachain_primitives::primitives::Id; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; } - impl ::subxt::events::StaticEvent for Reserved { + impl ::subxt::ext::subxt_core::events::StaticEvent for Reserved { const PALLET: &'static str = "Registrar"; const EVENT: &'static str = "Reserved"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct Swapped { pub para_id: swapped::ParaId, pub other_id: swapped::OtherId, @@ -35041,7 +37461,7 @@ pub mod api { pub type ParaId = runtime_types::polkadot_parachain_primitives::primitives::Id; pub type OtherId = runtime_types::polkadot_parachain_primitives::primitives::Id; } - impl ::subxt::events::StaticEvent for Swapped { + impl ::subxt::ext::subxt_core::events::StaticEvent for Swapped { const PALLET: &'static str = "Registrar"; const EVENT: &'static str = "Swapped"; } @@ -35060,7 +37480,7 @@ pub mod api { use super::runtime_types; pub type Paras = runtime_types::polkadot_runtime_common::paras_registrar::ParaInfo< - ::subxt::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u128, >; pub type Param0 = runtime_types::polkadot_parachain_primitives::primitives::Id; @@ -35076,17 +37496,17 @@ pub mod api { #[doc = " Pending swap operations."] pub fn pending_swap_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::pending_swap::PendingSwap, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Registrar", "PendingSwap", - vec![], + (), [ 75u8, 6u8, 68u8, 43u8, 108u8, 147u8, 220u8, 90u8, 190u8, 86u8, 209u8, 141u8, 9u8, 254u8, 103u8, 10u8, 94u8, 187u8, 155u8, 249u8, 140u8, @@ -35098,20 +37518,22 @@ pub mod api { #[doc = " Pending swap operations."] pub fn pending_swap( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::pending_swap::Param0, + >, types::pending_swap::PendingSwap, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Registrar", "PendingSwap", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 75u8, 6u8, 68u8, 43u8, 108u8, 147u8, 220u8, 90u8, 190u8, 86u8, 209u8, 141u8, 9u8, 254u8, 103u8, 10u8, 94u8, 187u8, 155u8, 249u8, 140u8, @@ -35126,17 +37548,17 @@ pub mod api { #[doc = " only do so if it isn't yet registered. (After that, it's up to governance to do so.)"] pub fn paras_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::paras::Paras, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Registrar", "Paras", - vec![], + (), [ 125u8, 62u8, 50u8, 209u8, 40u8, 170u8, 61u8, 62u8, 61u8, 246u8, 103u8, 229u8, 213u8, 94u8, 249u8, 49u8, 18u8, 90u8, 138u8, 14u8, 101u8, 133u8, @@ -35150,20 +37572,22 @@ pub mod api { #[doc = " only do so if it isn't yet registered. (After that, it's up to governance to do so.)"] pub fn paras( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::paras::Param0, + >, types::paras::Paras, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Registrar", "Paras", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 125u8, 62u8, 50u8, 209u8, 40u8, 170u8, 61u8, 62u8, 61u8, 246u8, 103u8, 229u8, 213u8, 94u8, 249u8, 49u8, 18u8, 90u8, 138u8, 14u8, 101u8, 133u8, @@ -35174,17 +37598,17 @@ pub mod api { #[doc = " The next free `ParaId`."] pub fn next_free_para_id( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::next_free_para_id::NextFreeParaId, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Registrar", "NextFreeParaId", - vec![], + (), [ 52u8, 14u8, 56u8, 196u8, 79u8, 221u8, 32u8, 14u8, 154u8, 247u8, 94u8, 219u8, 11u8, 11u8, 104u8, 137u8, 167u8, 195u8, 180u8, 101u8, 35u8, @@ -35201,8 +37625,11 @@ pub mod api { impl ConstantsApi { #[doc = " The deposit to be paid to run a on-demand parachain."] #[doc = " This should include the cost for storing the genesis head and validation code."] - pub fn para_deposit(&self) -> ::subxt::constants::Address<::core::primitive::u128> { - ::subxt::constants::Address::new_static( + pub fn para_deposit( + &self, + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u128> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Registrar", "ParaDeposit", [ @@ -35215,8 +37642,9 @@ pub mod api { #[doc = " The deposit to be paid per byte stored on chain."] pub fn data_deposit_per_byte( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u128> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Registrar", "DataDepositPerByte", [ @@ -35243,15 +37671,19 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::force_lease`]."] pub struct ForceLease { pub para: force_lease::Para, @@ -35263,25 +37695,29 @@ pub mod api { pub mod force_lease { use super::runtime_types; pub type Para = runtime_types::polkadot_parachain_primitives::primitives::Id; - pub type Leaser = ::subxt::utils::AccountId32; + pub type Leaser = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; pub type PeriodBegin = ::core::primitive::u32; pub type PeriodCount = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for ForceLease { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceLease { const PALLET: &'static str = "Slots"; const CALL: &'static str = "force_lease"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::clear_all_leases`]."] pub struct ClearAllLeases { pub para: clear_all_leases::Para, @@ -35290,20 +37726,24 @@ pub mod api { use super::runtime_types; pub type Para = runtime_types::polkadot_parachain_primitives::primitives::Id; } - impl ::subxt::blocks::StaticExtrinsic for ClearAllLeases { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ClearAllLeases { const PALLET: &'static str = "Slots"; const CALL: &'static str = "clear_all_leases"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::trigger_onboard`]."] pub struct TriggerOnboard { pub para: trigger_onboard::Para, @@ -35312,7 +37752,7 @@ pub mod api { use super::runtime_types; pub type Para = runtime_types::polkadot_parachain_primitives::primitives::Id; } - impl ::subxt::blocks::StaticExtrinsic for TriggerOnboard { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for TriggerOnboard { const PALLET: &'static str = "Slots"; const CALL: &'static str = "trigger_onboard"; } @@ -35327,8 +37767,8 @@ pub mod api { amount: types::force_lease::Amount, period_begin: types::force_lease::PeriodBegin, period_count: types::force_lease::PeriodCount, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Slots", "force_lease", types::ForceLease { @@ -35350,8 +37790,8 @@ pub mod api { pub fn clear_all_leases( &self, para: types::clear_all_leases::Para, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Slots", "clear_all_leases", types::ClearAllLeases { para }, @@ -35366,8 +37806,8 @@ pub mod api { pub fn trigger_onboard( &self, para: types::trigger_onboard::Para, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Slots", "trigger_onboard", types::TriggerOnboard { para }, @@ -35385,15 +37825,15 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A new `[lease_period]` is beginning."] pub struct NewLeasePeriod { pub lease_period: new_lease_period::LeasePeriod, @@ -35402,20 +37842,20 @@ pub mod api { use super::runtime_types; pub type LeasePeriod = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for NewLeasePeriod { + impl ::subxt::ext::subxt_core::events::StaticEvent for NewLeasePeriod { const PALLET: &'static str = "Slots"; const EVENT: &'static str = "NewLeasePeriod"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A para has won the right to a continuous set of lease periods as a parachain."] #[doc = "First balance is any extra amount reserved on top of the para's existing deposit."] #[doc = "Second balance is the total amount reserved."] @@ -35430,13 +37870,13 @@ pub mod api { pub mod leased { use super::runtime_types; pub type ParaId = runtime_types::polkadot_parachain_primitives::primitives::Id; - pub type Leaser = ::subxt::utils::AccountId32; + pub type Leaser = ::subxt::ext::subxt_core::utils::AccountId32; pub type PeriodBegin = ::core::primitive::u32; pub type PeriodCount = ::core::primitive::u32; pub type ExtraReserved = ::core::primitive::u128; pub type TotalAmount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Leased { + impl ::subxt::ext::subxt_core::events::StaticEvent for Leased { const PALLET: &'static str = "Slots"; const EVENT: &'static str = "Leased"; } @@ -35447,9 +37887,9 @@ pub mod api { use super::runtime_types; pub mod leases { use super::runtime_types; - pub type Leases = ::std::vec::Vec< + pub type Leases = ::subxt::ext::subxt_core::alloc::vec::Vec< ::core::option::Option<( - ::subxt::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u128, )>, >; @@ -35476,17 +37916,17 @@ pub mod api { #[doc = " It is illegal for a `None` value to trail in the list."] pub fn leases_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::leases::Leases, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Slots", "Leases", - vec![], + (), [ 233u8, 226u8, 181u8, 160u8, 216u8, 86u8, 238u8, 229u8, 31u8, 67u8, 200u8, 188u8, 134u8, 22u8, 88u8, 147u8, 204u8, 11u8, 34u8, 244u8, @@ -35513,20 +37953,22 @@ pub mod api { #[doc = " It is illegal for a `None` value to trail in the list."] pub fn leases( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::leases::Param0, + >, types::leases::Leases, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Slots", "Leases", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 233u8, 226u8, 181u8, 160u8, 216u8, 86u8, 238u8, 229u8, 31u8, 67u8, 200u8, 188u8, 134u8, 22u8, 88u8, 147u8, 204u8, 11u8, 34u8, 244u8, @@ -35542,8 +37984,11 @@ pub mod api { pub struct ConstantsApi; impl ConstantsApi { #[doc = " The number of blocks over which a single period lasts."] - pub fn lease_period(&self) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + pub fn lease_period( + &self, + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Slots", "LeasePeriod", [ @@ -35555,8 +38000,11 @@ pub mod api { ) } #[doc = " The number of blocks to offset each lease period by."] - pub fn lease_offset(&self) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + pub fn lease_offset( + &self, + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Slots", "LeaseOffset", [ @@ -35584,15 +38032,19 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::new_auction`]."] pub struct NewAuction { #[codec(compact)] @@ -35605,20 +38057,24 @@ pub mod api { pub type Duration = ::core::primitive::u32; pub type LeasePeriodIndex = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for NewAuction { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for NewAuction { const PALLET: &'static str = "Auctions"; const CALL: &'static str = "new_auction"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::bid`]."] pub struct Bid { #[codec(compact)] @@ -35640,23 +38096,27 @@ pub mod api { pub type LastSlot = ::core::primitive::u32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::blocks::StaticExtrinsic for Bid { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Bid { const PALLET: &'static str = "Auctions"; const CALL: &'static str = "bid"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::cancel_auction`]."] pub struct CancelAuction; - impl ::subxt::blocks::StaticExtrinsic for CancelAuction { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for CancelAuction { const PALLET: &'static str = "Auctions"; const CALL: &'static str = "cancel_auction"; } @@ -35668,8 +38128,8 @@ pub mod api { &self, duration: types::new_auction::Duration, lease_period_index: types::new_auction::LeasePeriodIndex, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Auctions", "new_auction", types::NewAuction { @@ -35692,8 +38152,8 @@ pub mod api { first_slot: types::bid::FirstSlot, last_slot: types::bid::LastSlot, amount: types::bid::Amount, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Auctions", "bid", types::Bid { @@ -35711,8 +38171,10 @@ pub mod api { ) } #[doc = "See [`Pallet::cancel_auction`]."] - pub fn cancel_auction(&self) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + pub fn cancel_auction( + &self, + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Auctions", "cancel_auction", types::CancelAuction {}, @@ -35730,15 +38192,15 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An auction started. Provides its index and the block number where it will begin to"] #[doc = "close and the first lease period of the quadruplet that is auctioned."] pub struct AuctionStarted { @@ -35752,20 +38214,20 @@ pub mod api { pub type LeasePeriod = ::core::primitive::u32; pub type Ending = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for AuctionStarted { + impl ::subxt::ext::subxt_core::events::StaticEvent for AuctionStarted { const PALLET: &'static str = "Auctions"; const EVENT: &'static str = "AuctionStarted"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An auction ended. All funds become unreserved."] pub struct AuctionClosed { pub auction_index: auction_closed::AuctionIndex, @@ -35774,20 +38236,20 @@ pub mod api { use super::runtime_types; pub type AuctionIndex = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for AuctionClosed { + impl ::subxt::ext::subxt_core::events::StaticEvent for AuctionClosed { const PALLET: &'static str = "Auctions"; const EVENT: &'static str = "AuctionClosed"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Funds were reserved for a winning bid. First balance is the extra amount reserved."] #[doc = "Second is the total."] pub struct Reserved { @@ -35797,24 +38259,24 @@ pub mod api { } pub mod reserved { use super::runtime_types; - pub type Bidder = ::subxt::utils::AccountId32; + pub type Bidder = ::subxt::ext::subxt_core::utils::AccountId32; pub type ExtraReserved = ::core::primitive::u128; pub type TotalAmount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Reserved { + impl ::subxt::ext::subxt_core::events::StaticEvent for Reserved { const PALLET: &'static str = "Auctions"; const EVENT: &'static str = "Reserved"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Funds were unreserved since bidder is no longer active. `[bidder, amount]`"] pub struct Unreserved { pub bidder: unreserved::Bidder, @@ -35822,23 +38284,23 @@ pub mod api { } pub mod unreserved { use super::runtime_types; - pub type Bidder = ::subxt::utils::AccountId32; + pub type Bidder = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Unreserved { + impl ::subxt::ext::subxt_core::events::StaticEvent for Unreserved { const PALLET: &'static str = "Auctions"; const EVENT: &'static str = "Unreserved"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Someone attempted to lease the same slot twice for a parachain. The amount is held in"] #[doc = "reserve but no parachain slot has been leased."] pub struct ReserveConfiscated { @@ -35849,23 +38311,23 @@ pub mod api { pub mod reserve_confiscated { use super::runtime_types; pub type ParaId = runtime_types::polkadot_parachain_primitives::primitives::Id; - pub type Leaser = ::subxt::utils::AccountId32; + pub type Leaser = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for ReserveConfiscated { + impl ::subxt::ext::subxt_core::events::StaticEvent for ReserveConfiscated { const PALLET: &'static str = "Auctions"; const EVENT: &'static str = "ReserveConfiscated"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A new bid has been accepted as the current winner."] pub struct BidAccepted { pub bidder: bid_accepted::Bidder, @@ -35876,26 +38338,26 @@ pub mod api { } pub mod bid_accepted { use super::runtime_types; - pub type Bidder = ::subxt::utils::AccountId32; + pub type Bidder = ::subxt::ext::subxt_core::utils::AccountId32; pub type ParaId = runtime_types::polkadot_parachain_primitives::primitives::Id; pub type Amount = ::core::primitive::u128; pub type FirstSlot = ::core::primitive::u32; pub type LastSlot = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for BidAccepted { + impl ::subxt::ext::subxt_core::events::StaticEvent for BidAccepted { const PALLET: &'static str = "Auctions"; const EVENT: &'static str = "BidAccepted"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The winning offset was chosen for an auction. This will map into the `Winning` storage"] #[doc = "map."] pub struct WinningOffset { @@ -35907,7 +38369,7 @@ pub mod api { pub type AuctionIndex = ::core::primitive::u32; pub type BlockNumber = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for WinningOffset { + impl ::subxt::ext::subxt_core::events::StaticEvent for WinningOffset { const PALLET: &'static str = "Auctions"; const EVENT: &'static str = "WinningOffset"; } @@ -35927,13 +38389,13 @@ pub mod api { pub mod reserved_amounts { use super::runtime_types; pub type ReservedAmounts = ::core::primitive::u128; - pub type Param0 = ::subxt::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; pub type Param1 = runtime_types::polkadot_parachain_primitives::primitives::Id; } pub mod winning { use super::runtime_types; pub type Winning = [::core::option::Option<( - ::subxt::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, runtime_types::polkadot_parachain_primitives::primitives::Id, ::core::primitive::u128, )>; 36usize]; @@ -35945,17 +38407,17 @@ pub mod api { #[doc = " Number of auctions started so far."] pub fn auction_counter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::auction_counter::AuctionCounter, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Auctions", "AuctionCounter", - vec![], + (), [ 110u8, 243u8, 85u8, 4u8, 127u8, 111u8, 101u8, 167u8, 72u8, 129u8, 201u8, 250u8, 88u8, 9u8, 79u8, 14u8, 152u8, 132u8, 0u8, 204u8, 112u8, @@ -35970,17 +38432,17 @@ pub mod api { #[doc = " auction will \"begin to end\", i.e. the first block of the Ending Period of the auction."] pub fn auction_info( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::auction_info::AuctionInfo, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Auctions", "AuctionInfo", - vec![], + (), [ 116u8, 81u8, 223u8, 26u8, 151u8, 103u8, 209u8, 182u8, 169u8, 173u8, 220u8, 234u8, 88u8, 191u8, 255u8, 75u8, 148u8, 75u8, 167u8, 37u8, 6u8, @@ -35992,17 +38454,17 @@ pub mod api { #[doc = " (sub-)ranges."] pub fn reserved_amounts_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::reserved_amounts::ReservedAmounts, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Auctions", "ReservedAmounts", - vec![], + (), [ 77u8, 44u8, 116u8, 36u8, 189u8, 213u8, 126u8, 32u8, 42u8, 131u8, 108u8, 41u8, 147u8, 40u8, 247u8, 245u8, 161u8, 42u8, 152u8, 195u8, 28u8, @@ -36015,20 +38477,22 @@ pub mod api { #[doc = " (sub-)ranges."] pub fn reserved_amounts_iter1( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::reserved_amounts::Param0, + >, types::reserved_amounts::ReservedAmounts, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Auctions", "ReservedAmounts", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 77u8, 44u8, 116u8, 36u8, 189u8, 213u8, 126u8, 32u8, 42u8, 131u8, 108u8, 41u8, 147u8, 40u8, 247u8, 245u8, 161u8, 42u8, 152u8, 195u8, 28u8, @@ -36041,22 +38505,33 @@ pub mod api { #[doc = " (sub-)ranges."] pub fn reserved_amounts( &self, - _0: impl ::std::borrow::Borrow, - _1: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::reserved_amounts::Param0, + >, + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::reserved_amounts::Param1, + >, + ), types::reserved_amounts::ReservedAmounts, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Auctions", "ReservedAmounts", - vec![ - ::subxt::storage::address::make_static_storage_map_key(_0.borrow()), - ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), - ], + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), + ), [ 77u8, 44u8, 116u8, 36u8, 189u8, 213u8, 126u8, 32u8, 42u8, 131u8, 108u8, 41u8, 147u8, 40u8, 247u8, 245u8, 161u8, 42u8, 152u8, 195u8, 28u8, @@ -36070,17 +38545,17 @@ pub mod api { #[doc = " first sample of the ending period is 0; the last is `Sample Size - 1`."] pub fn winning_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::winning::Winning, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Auctions", "Winning", - vec![], + (), [ 8u8, 136u8, 174u8, 152u8, 223u8, 1u8, 143u8, 45u8, 213u8, 5u8, 239u8, 163u8, 152u8, 99u8, 197u8, 109u8, 194u8, 140u8, 246u8, 10u8, 40u8, @@ -36093,20 +38568,22 @@ pub mod api { #[doc = " first sample of the ending period is 0; the last is `Sample Size - 1`."] pub fn winning( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::winning::Param0, + >, types::winning::Winning, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Auctions", "Winning", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 8u8, 136u8, 174u8, 152u8, 223u8, 1u8, 143u8, 45u8, 213u8, 5u8, 239u8, 163u8, 152u8, 99u8, 197u8, 109u8, 194u8, 140u8, 246u8, 10u8, 40u8, @@ -36121,8 +38598,11 @@ pub mod api { pub struct ConstantsApi; impl ConstantsApi { #[doc = " The number of blocks over which an auction may be retroactively ended."] - pub fn ending_period(&self) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + pub fn ending_period( + &self, + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Auctions", "EndingPeriod", [ @@ -36136,8 +38616,11 @@ pub mod api { #[doc = " The length of each sample to take during the ending period."] #[doc = ""] #[doc = " `EndingPeriod` / `SampleLength` = Total # of Samples"] - pub fn sample_length(&self) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + pub fn sample_length( + &self, + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Auctions", "SampleLength", [ @@ -36150,8 +38633,9 @@ pub mod api { } pub fn slot_range_count( &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Auctions", "SlotRangeCount", [ @@ -36164,8 +38648,9 @@ pub mod api { } pub fn lease_periods_per_slot( &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Auctions", "LeasePeriodsPerSlot", [ @@ -36193,15 +38678,19 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::create`]."] pub struct Create { #[codec(compact)] @@ -36226,20 +38715,24 @@ pub mod api { pub type Verifier = ::core::option::Option; } - impl ::subxt::blocks::StaticExtrinsic for Create { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Create { const PALLET: &'static str = "Crowdloan"; const CALL: &'static str = "create"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::contribute`]."] pub struct Contribute { #[codec(compact)] @@ -36255,20 +38748,24 @@ pub mod api { pub type Signature = ::core::option::Option; } - impl ::subxt::blocks::StaticExtrinsic for Contribute { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Contribute { const PALLET: &'static str = "Crowdloan"; const CALL: &'static str = "contribute"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::withdraw`]."] pub struct Withdraw { pub who: withdraw::Who, @@ -36277,23 +38774,27 @@ pub mod api { } pub mod withdraw { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Index = runtime_types::polkadot_parachain_primitives::primitives::Id; } - impl ::subxt::blocks::StaticExtrinsic for Withdraw { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Withdraw { const PALLET: &'static str = "Crowdloan"; const CALL: &'static str = "withdraw"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::refund`]."] pub struct Refund { #[codec(compact)] @@ -36303,20 +38804,24 @@ pub mod api { use super::runtime_types; pub type Index = runtime_types::polkadot_parachain_primitives::primitives::Id; } - impl ::subxt::blocks::StaticExtrinsic for Refund { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Refund { const PALLET: &'static str = "Crowdloan"; const CALL: &'static str = "refund"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::dissolve`]."] pub struct Dissolve { #[codec(compact)] @@ -36326,20 +38831,24 @@ pub mod api { use super::runtime_types; pub type Index = runtime_types::polkadot_parachain_primitives::primitives::Id; } - impl ::subxt::blocks::StaticExtrinsic for Dissolve { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Dissolve { const PALLET: &'static str = "Crowdloan"; const CALL: &'static str = "dissolve"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::edit`]."] pub struct Edit { #[codec(compact)] @@ -36364,20 +38873,24 @@ pub mod api { pub type Verifier = ::core::option::Option; } - impl ::subxt::blocks::StaticExtrinsic for Edit { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Edit { const PALLET: &'static str = "Crowdloan"; const CALL: &'static str = "edit"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::add_memo`]."] pub struct AddMemo { pub index: add_memo::Index, @@ -36386,22 +38899,27 @@ pub mod api { pub mod add_memo { use super::runtime_types; pub type Index = runtime_types::polkadot_parachain_primitives::primitives::Id; - pub type Memo = ::std::vec::Vec<::core::primitive::u8>; + pub type Memo = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } - impl ::subxt::blocks::StaticExtrinsic for AddMemo { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AddMemo { const PALLET: &'static str = "Crowdloan"; const CALL: &'static str = "add_memo"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::poke`]."] pub struct Poke { pub index: poke::Index, @@ -36410,20 +38928,24 @@ pub mod api { use super::runtime_types; pub type Index = runtime_types::polkadot_parachain_primitives::primitives::Id; } - impl ::subxt::blocks::StaticExtrinsic for Poke { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Poke { const PALLET: &'static str = "Crowdloan"; const CALL: &'static str = "poke"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::contribute_all`]."] pub struct ContributeAll { #[codec(compact)] @@ -36436,7 +38958,7 @@ pub mod api { pub type Signature = ::core::option::Option; } - impl ::subxt::blocks::StaticExtrinsic for ContributeAll { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ContributeAll { const PALLET: &'static str = "Crowdloan"; const CALL: &'static str = "contribute_all"; } @@ -36452,8 +38974,8 @@ pub mod api { last_period: types::create::LastPeriod, end: types::create::End, verifier: types::create::Verifier, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Crowdloan", "create", types::Create { @@ -36477,8 +38999,8 @@ pub mod api { index: types::contribute::Index, value: types::contribute::Value, signature: types::contribute::Signature, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Crowdloan", "contribute", types::Contribute { @@ -36499,8 +39021,8 @@ pub mod api { &self, who: types::withdraw::Who, index: types::withdraw::Index, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Crowdloan", "withdraw", types::Withdraw { who, index }, @@ -36515,8 +39037,8 @@ pub mod api { pub fn refund( &self, index: types::refund::Index, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Crowdloan", "refund", types::Refund { index }, @@ -36532,8 +39054,8 @@ pub mod api { pub fn dissolve( &self, index: types::dissolve::Index, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Crowdloan", "dissolve", types::Dissolve { index }, @@ -36554,8 +39076,8 @@ pub mod api { last_period: types::edit::LastPeriod, end: types::edit::End, verifier: types::edit::Verifier, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Crowdloan", "edit", types::Edit { @@ -36579,8 +39101,8 @@ pub mod api { &self, index: types::add_memo::Index, memo: types::add_memo::Memo, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Crowdloan", "add_memo", types::AddMemo { index, memo }, @@ -36593,8 +39115,11 @@ pub mod api { ) } #[doc = "See [`Pallet::poke`]."] - pub fn poke(&self, index: types::poke::Index) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + pub fn poke( + &self, + index: types::poke::Index, + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Crowdloan", "poke", types::Poke { index }, @@ -36611,8 +39136,8 @@ pub mod api { &self, index: types::contribute_all::Index, signature: types::contribute_all::Signature, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Crowdloan", "contribute_all", types::ContributeAll { index, signature }, @@ -36630,15 +39155,15 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Create a new crowdloaning campaign."] pub struct Created { pub para_id: created::ParaId, @@ -36647,20 +39172,20 @@ pub mod api { use super::runtime_types; pub type ParaId = runtime_types::polkadot_parachain_primitives::primitives::Id; } - impl ::subxt::events::StaticEvent for Created { + impl ::subxt::ext::subxt_core::events::StaticEvent for Created { const PALLET: &'static str = "Crowdloan"; const EVENT: &'static str = "Created"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Contributed to a crowd sale."] pub struct Contributed { pub who: contributed::Who, @@ -36669,24 +39194,24 @@ pub mod api { } pub mod contributed { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type FundIndex = runtime_types::polkadot_parachain_primitives::primitives::Id; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Contributed { + impl ::subxt::ext::subxt_core::events::StaticEvent for Contributed { const PALLET: &'static str = "Crowdloan"; const EVENT: &'static str = "Contributed"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Withdrew full balance of a contributor."] pub struct Withdrew { pub who: withdrew::Who, @@ -36695,24 +39220,24 @@ pub mod api { } pub mod withdrew { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type FundIndex = runtime_types::polkadot_parachain_primitives::primitives::Id; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Withdrew { + impl ::subxt::ext::subxt_core::events::StaticEvent for Withdrew { const PALLET: &'static str = "Crowdloan"; const EVENT: &'static str = "Withdrew"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The loans in a fund have been partially dissolved, i.e. there are some left"] #[doc = "over child keys that still need to be killed."] pub struct PartiallyRefunded { @@ -36722,20 +39247,20 @@ pub mod api { use super::runtime_types; pub type ParaId = runtime_types::polkadot_parachain_primitives::primitives::Id; } - impl ::subxt::events::StaticEvent for PartiallyRefunded { + impl ::subxt::ext::subxt_core::events::StaticEvent for PartiallyRefunded { const PALLET: &'static str = "Crowdloan"; const EVENT: &'static str = "PartiallyRefunded"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "All loans in a fund have been refunded."] pub struct AllRefunded { pub para_id: all_refunded::ParaId, @@ -36744,20 +39269,20 @@ pub mod api { use super::runtime_types; pub type ParaId = runtime_types::polkadot_parachain_primitives::primitives::Id; } - impl ::subxt::events::StaticEvent for AllRefunded { + impl ::subxt::ext::subxt_core::events::StaticEvent for AllRefunded { const PALLET: &'static str = "Crowdloan"; const EVENT: &'static str = "AllRefunded"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Fund is dissolved."] pub struct Dissolved { pub para_id: dissolved::ParaId, @@ -36766,20 +39291,20 @@ pub mod api { use super::runtime_types; pub type ParaId = runtime_types::polkadot_parachain_primitives::primitives::Id; } - impl ::subxt::events::StaticEvent for Dissolved { + impl ::subxt::ext::subxt_core::events::StaticEvent for Dissolved { const PALLET: &'static str = "Crowdloan"; const EVENT: &'static str = "Dissolved"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The result of trying to submit a new bid to the Slots pallet."] pub struct HandleBidResult { pub para_id: handle_bid_result::ParaId, @@ -36791,20 +39316,20 @@ pub mod api { pub type Result = ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>; } - impl ::subxt::events::StaticEvent for HandleBidResult { + impl ::subxt::ext::subxt_core::events::StaticEvent for HandleBidResult { const PALLET: &'static str = "Crowdloan"; const EVENT: &'static str = "HandleBidResult"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The configuration to a crowdloan has been edited."] pub struct Edited { pub para_id: edited::ParaId, @@ -36813,20 +39338,20 @@ pub mod api { use super::runtime_types; pub type ParaId = runtime_types::polkadot_parachain_primitives::primitives::Id; } - impl ::subxt::events::StaticEvent for Edited { + impl ::subxt::ext::subxt_core::events::StaticEvent for Edited { const PALLET: &'static str = "Crowdloan"; const EVENT: &'static str = "Edited"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A memo has been updated."] pub struct MemoUpdated { pub who: memo_updated::Who, @@ -36835,24 +39360,24 @@ pub mod api { } pub mod memo_updated { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type ParaId = runtime_types::polkadot_parachain_primitives::primitives::Id; - pub type Memo = ::std::vec::Vec<::core::primitive::u8>; + pub type Memo = ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; } - impl ::subxt::events::StaticEvent for MemoUpdated { + impl ::subxt::ext::subxt_core::events::StaticEvent for MemoUpdated { const PALLET: &'static str = "Crowdloan"; const EVENT: &'static str = "MemoUpdated"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A parachain has been moved to `NewRaise`"] pub struct AddedToNewRaise { pub para_id: added_to_new_raise::ParaId, @@ -36861,7 +39386,7 @@ pub mod api { use super::runtime_types; pub type ParaId = runtime_types::polkadot_parachain_primitives::primitives::Id; } - impl ::subxt::events::StaticEvent for AddedToNewRaise { + impl ::subxt::ext::subxt_core::events::StaticEvent for AddedToNewRaise { const PALLET: &'static str = "Crowdloan"; const EVENT: &'static str = "AddedToNewRaise"; } @@ -36873,7 +39398,7 @@ pub mod api { pub mod funds { use super::runtime_types; pub type Funds = runtime_types::polkadot_runtime_common::crowdloan::FundInfo< - ::subxt::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, ::core::primitive::u128, ::core::primitive::u32, ::core::primitive::u32, @@ -36882,7 +39407,7 @@ pub mod api { } pub mod new_raise { use super::runtime_types; - pub type NewRaise = ::std::vec::Vec< + pub type NewRaise = ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_parachain_primitives::primitives::Id, >; } @@ -36900,17 +39425,17 @@ pub mod api { #[doc = " Info on all of the funds."] pub fn funds_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::funds::Funds, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Crowdloan", "Funds", - vec![], + (), [ 191u8, 255u8, 37u8, 49u8, 246u8, 246u8, 168u8, 178u8, 73u8, 238u8, 49u8, 76u8, 66u8, 246u8, 207u8, 12u8, 76u8, 233u8, 31u8, 218u8, 132u8, @@ -36922,20 +39447,22 @@ pub mod api { #[doc = " Info on all of the funds."] pub fn funds( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::funds::Param0, + >, types::funds::Funds, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Crowdloan", "Funds", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 191u8, 255u8, 37u8, 49u8, 246u8, 246u8, 168u8, 178u8, 73u8, 238u8, 49u8, 76u8, 66u8, 246u8, 207u8, 12u8, 76u8, 233u8, 31u8, 218u8, 132u8, @@ -36948,17 +39475,17 @@ pub mod api { #[doc = " in order to determine which funds should submit new or updated bids."] pub fn new_raise( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::new_raise::NewRaise, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Crowdloan", "NewRaise", - vec![], + (), [ 251u8, 31u8, 237u8, 22u8, 90u8, 248u8, 39u8, 66u8, 93u8, 81u8, 209u8, 209u8, 194u8, 42u8, 109u8, 208u8, 56u8, 75u8, 45u8, 247u8, 253u8, @@ -36970,17 +39497,17 @@ pub mod api { #[doc = " The number of auctions that have entered into their ending period so far."] pub fn endings_count( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::endings_count::EndingsCount, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Crowdloan", "EndingsCount", - vec![], + (), [ 106u8, 22u8, 229u8, 157u8, 118u8, 195u8, 11u8, 42u8, 5u8, 50u8, 44u8, 183u8, 72u8, 167u8, 95u8, 243u8, 234u8, 5u8, 200u8, 253u8, 127u8, @@ -36991,17 +39518,17 @@ pub mod api { #[doc = " Tracker for the next available fund index"] pub fn next_fund_index( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::next_fund_index::NextFundIndex, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Crowdloan", "NextFundIndex", - vec![], + (), [ 192u8, 21u8, 229u8, 234u8, 152u8, 224u8, 149u8, 44u8, 41u8, 9u8, 191u8, 128u8, 118u8, 11u8, 117u8, 245u8, 170u8, 116u8, 77u8, 216u8, 175u8, @@ -37020,9 +39547,10 @@ pub mod api { #[doc = " `PalletId(*b\"py/cfund\")`"] pub fn pallet_id( &self, - ) -> ::subxt::constants::Address - { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address< + runtime_types::frame_support::PalletId, + > { + ::subxt::ext::subxt_core::constants::Address::new_static( "Crowdloan", "PalletId", [ @@ -37036,8 +39564,9 @@ pub mod api { #[doc = " at least `ExistentialDeposit`."] pub fn min_contribution( &self, - ) -> ::subxt::constants::Address<::core::primitive::u128> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u128> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Crowdloan", "MinContribution", [ @@ -37050,8 +39579,9 @@ pub mod api { #[doc = " Max number of storage keys to remove per extrinsic call."] pub fn remove_keys_limit( &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "Crowdloan", "RemoveKeysLimit", [ @@ -37079,44 +39609,54 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::send`]."] pub struct Send { - pub dest: ::std::boxed::Box, - pub message: ::std::boxed::Box, + pub dest: ::subxt::ext::subxt_core::alloc::boxed::Box, + pub message: ::subxt::ext::subxt_core::alloc::boxed::Box, } pub mod send { use super::runtime_types; pub type Dest = runtime_types::xcm::VersionedMultiLocation; - pub type Message = runtime_types::xcm::VersionedXcm; + pub type Message = runtime_types::xcm::VersionedXcm1; } - impl ::subxt::blocks::StaticExtrinsic for Send { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Send { const PALLET: &'static str = "XcmPallet"; const CALL: &'static str = "send"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::teleport_assets`]."] pub struct TeleportAssets { - pub dest: ::std::boxed::Box, - pub beneficiary: ::std::boxed::Box, - pub assets: ::std::boxed::Box, + pub dest: ::subxt::ext::subxt_core::alloc::boxed::Box, + pub beneficiary: + ::subxt::ext::subxt_core::alloc::boxed::Box, + pub assets: + ::subxt::ext::subxt_core::alloc::boxed::Box, pub fee_asset_item: teleport_assets::FeeAssetItem, } pub mod teleport_assets { @@ -37126,25 +39666,34 @@ pub mod api { pub type Assets = runtime_types::xcm::VersionedMultiAssets; pub type FeeAssetItem = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for TeleportAssets { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for TeleportAssets { const PALLET: &'static str = "XcmPallet"; const CALL: &'static str = "teleport_assets"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::reserve_transfer_assets`]."] pub struct ReserveTransferAssets { - pub dest: ::std::boxed::Box, - pub beneficiary: ::std::boxed::Box, - pub assets: ::std::boxed::Box, + pub dest: + ::subxt::ext::subxt_core::alloc::boxed::Box, + pub beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + reserve_transfer_assets::Beneficiary, + >, + pub assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + reserve_transfer_assets::Assets, + >, pub fee_asset_item: reserve_transfer_assets::FeeAssetItem, } pub mod reserve_transfer_assets { @@ -37154,23 +39703,27 @@ pub mod api { pub type Assets = runtime_types::xcm::VersionedMultiAssets; pub type FeeAssetItem = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for ReserveTransferAssets { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ReserveTransferAssets { const PALLET: &'static str = "XcmPallet"; const CALL: &'static str = "reserve_transfer_assets"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::execute`]."] pub struct Execute { - pub message: ::std::boxed::Box, + pub message: ::subxt::ext::subxt_core::alloc::boxed::Box, pub max_weight: execute::MaxWeight, } pub mod execute { @@ -37178,23 +39731,28 @@ pub mod api { pub type Message = runtime_types::xcm::VersionedXcm2; pub type MaxWeight = runtime_types::sp_weights::weight_v2::Weight; } - impl ::subxt::blocks::StaticExtrinsic for Execute { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Execute { const PALLET: &'static str = "XcmPallet"; const CALL: &'static str = "execute"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::force_xcm_version`]."] pub struct ForceXcmVersion { - pub location: ::std::boxed::Box, + pub location: + ::subxt::ext::subxt_core::alloc::boxed::Box, pub version: force_xcm_version::Version, } pub mod force_xcm_version { @@ -37203,20 +39761,24 @@ pub mod api { runtime_types::staging_xcm::v3::multilocation::MultiLocation; pub type Version = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for ForceXcmVersion { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceXcmVersion { const PALLET: &'static str = "XcmPallet"; const CALL: &'static str = "force_xcm_version"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::force_default_xcm_version`]."] pub struct ForceDefaultXcmVersion { pub maybe_xcm_version: force_default_xcm_version::MaybeXcmVersion, @@ -37225,70 +39787,91 @@ pub mod api { use super::runtime_types; pub type MaybeXcmVersion = ::core::option::Option<::core::primitive::u32>; } - impl ::subxt::blocks::StaticExtrinsic for ForceDefaultXcmVersion { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceDefaultXcmVersion { const PALLET: &'static str = "XcmPallet"; const CALL: &'static str = "force_default_xcm_version"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::force_subscribe_version_notify`]."] pub struct ForceSubscribeVersionNotify { - pub location: ::std::boxed::Box, + pub location: ::subxt::ext::subxt_core::alloc::boxed::Box< + force_subscribe_version_notify::Location, + >, } pub mod force_subscribe_version_notify { use super::runtime_types; pub type Location = runtime_types::xcm::VersionedMultiLocation; } - impl ::subxt::blocks::StaticExtrinsic for ForceSubscribeVersionNotify { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceSubscribeVersionNotify { const PALLET: &'static str = "XcmPallet"; const CALL: &'static str = "force_subscribe_version_notify"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::force_unsubscribe_version_notify`]."] pub struct ForceUnsubscribeVersionNotify { - pub location: ::std::boxed::Box, + pub location: ::subxt::ext::subxt_core::alloc::boxed::Box< + force_unsubscribe_version_notify::Location, + >, } pub mod force_unsubscribe_version_notify { use super::runtime_types; pub type Location = runtime_types::xcm::VersionedMultiLocation; } - impl ::subxt::blocks::StaticExtrinsic for ForceUnsubscribeVersionNotify { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceUnsubscribeVersionNotify { const PALLET: &'static str = "XcmPallet"; const CALL: &'static str = "force_unsubscribe_version_notify"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::limited_reserve_transfer_assets`]."] pub struct LimitedReserveTransferAssets { - pub dest: ::std::boxed::Box, - pub beneficiary: - ::std::boxed::Box, - pub assets: ::std::boxed::Box, + pub dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + limited_reserve_transfer_assets::Dest, + >, + pub beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + limited_reserve_transfer_assets::Beneficiary, + >, + pub assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + limited_reserve_transfer_assets::Assets, + >, pub fee_asset_item: limited_reserve_transfer_assets::FeeAssetItem, pub weight_limit: limited_reserve_transfer_assets::WeightLimit, } @@ -37300,25 +39883,34 @@ pub mod api { pub type FeeAssetItem = ::core::primitive::u32; pub type WeightLimit = runtime_types::xcm::v3::WeightLimit; } - impl ::subxt::blocks::StaticExtrinsic for LimitedReserveTransferAssets { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for LimitedReserveTransferAssets { const PALLET: &'static str = "XcmPallet"; const CALL: &'static str = "limited_reserve_transfer_assets"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::limited_teleport_assets`]."] pub struct LimitedTeleportAssets { - pub dest: ::std::boxed::Box, - pub beneficiary: ::std::boxed::Box, - pub assets: ::std::boxed::Box, + pub dest: + ::subxt::ext::subxt_core::alloc::boxed::Box, + pub beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + limited_teleport_assets::Beneficiary, + >, + pub assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + limited_teleport_assets::Assets, + >, pub fee_asset_item: limited_teleport_assets::FeeAssetItem, pub weight_limit: limited_teleport_assets::WeightLimit, } @@ -37330,20 +39922,24 @@ pub mod api { pub type FeeAssetItem = ::core::primitive::u32; pub type WeightLimit = runtime_types::xcm::v3::WeightLimit; } - impl ::subxt::blocks::StaticExtrinsic for LimitedTeleportAssets { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for LimitedTeleportAssets { const PALLET: &'static str = "XcmPallet"; const CALL: &'static str = "limited_teleport_assets"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::force_suspension`]."] pub struct ForceSuspension { pub suspended: force_suspension::Suspended, @@ -37352,7 +39948,7 @@ pub mod api { use super::runtime_types; pub type Suspended = ::core::primitive::bool; } - impl ::subxt::blocks::StaticExtrinsic for ForceSuspension { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceSuspension { const PALLET: &'static str = "XcmPallet"; const CALL: &'static str = "force_suspension"; } @@ -37364,13 +39960,13 @@ pub mod api { &self, dest: types::send::Dest, message: types::send::Message, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "XcmPallet", "send", types::Send { - dest: ::std::boxed::Box::new(dest), - message: ::std::boxed::Box::new(message), + dest: ::subxt::ext::subxt_core::alloc::boxed::Box::new(dest), + message: ::subxt::ext::subxt_core::alloc::boxed::Box::new(message), }, [ 147u8, 255u8, 86u8, 82u8, 17u8, 159u8, 225u8, 145u8, 220u8, 89u8, 71u8, @@ -37386,14 +39982,16 @@ pub mod api { beneficiary: types::teleport_assets::Beneficiary, assets: types::teleport_assets::Assets, fee_asset_item: types::teleport_assets::FeeAssetItem, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "XcmPallet", "teleport_assets", types::TeleportAssets { - dest: ::std::boxed::Box::new(dest), - beneficiary: ::std::boxed::Box::new(beneficiary), - assets: ::std::boxed::Box::new(assets), + dest: ::subxt::ext::subxt_core::alloc::boxed::Box::new(dest), + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box::new( + beneficiary, + ), + assets: ::subxt::ext::subxt_core::alloc::boxed::Box::new(assets), fee_asset_item, }, [ @@ -37410,14 +40008,17 @@ pub mod api { beneficiary: types::reserve_transfer_assets::Beneficiary, assets: types::reserve_transfer_assets::Assets, fee_asset_item: types::reserve_transfer_assets::FeeAssetItem, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "XcmPallet", "reserve_transfer_assets", types::ReserveTransferAssets { - dest: ::std::boxed::Box::new(dest), - beneficiary: ::std::boxed::Box::new(beneficiary), - assets: ::std::boxed::Box::new(assets), + dest: ::subxt::ext::subxt_core::alloc::boxed::Box::new(dest), + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box::new( + beneficiary, + ), + assets: ::subxt::ext::subxt_core::alloc::boxed::Box::new(assets), fee_asset_item, }, [ @@ -37432,12 +40033,12 @@ pub mod api { &self, message: types::execute::Message, max_weight: types::execute::MaxWeight, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "XcmPallet", "execute", types::Execute { - message: ::std::boxed::Box::new(message), + message: ::subxt::ext::subxt_core::alloc::boxed::Box::new(message), max_weight, }, [ @@ -37452,12 +40053,12 @@ pub mod api { &self, location: types::force_xcm_version::Location, version: types::force_xcm_version::Version, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "XcmPallet", "force_xcm_version", types::ForceXcmVersion { - location: ::std::boxed::Box::new(location), + location: ::subxt::ext::subxt_core::alloc::boxed::Box::new(location), version, }, [ @@ -37471,8 +40072,9 @@ pub mod api { pub fn force_default_xcm_version( &self, maybe_xcm_version: types::force_default_xcm_version::MaybeXcmVersion, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "XcmPallet", "force_default_xcm_version", types::ForceDefaultXcmVersion { maybe_xcm_version }, @@ -37488,12 +40090,13 @@ pub mod api { pub fn force_subscribe_version_notify( &self, location: types::force_subscribe_version_notify::Location, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "XcmPallet", "force_subscribe_version_notify", types::ForceSubscribeVersionNotify { - location: ::std::boxed::Box::new(location), + location: ::subxt::ext::subxt_core::alloc::boxed::Box::new(location), }, [ 112u8, 254u8, 138u8, 12u8, 203u8, 176u8, 251u8, 167u8, 223u8, 0u8, @@ -37506,12 +40109,13 @@ pub mod api { pub fn force_unsubscribe_version_notify( &self, location: types::force_unsubscribe_version_notify::Location, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "XcmPallet", "force_unsubscribe_version_notify", types::ForceUnsubscribeVersionNotify { - location: ::std::boxed::Box::new(location), + location: ::subxt::ext::subxt_core::alloc::boxed::Box::new(location), }, [ 205u8, 143u8, 230u8, 143u8, 166u8, 184u8, 53u8, 252u8, 118u8, 184u8, @@ -37529,14 +40133,17 @@ pub mod api { assets: types::limited_reserve_transfer_assets::Assets, fee_asset_item: types::limited_reserve_transfer_assets::FeeAssetItem, weight_limit: types::limited_reserve_transfer_assets::WeightLimit, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "XcmPallet", "limited_reserve_transfer_assets", types::LimitedReserveTransferAssets { - dest: ::std::boxed::Box::new(dest), - beneficiary: ::std::boxed::Box::new(beneficiary), - assets: ::std::boxed::Box::new(assets), + dest: ::subxt::ext::subxt_core::alloc::boxed::Box::new(dest), + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box::new( + beneficiary, + ), + assets: ::subxt::ext::subxt_core::alloc::boxed::Box::new(assets), fee_asset_item, weight_limit, }, @@ -37556,14 +40163,17 @@ pub mod api { assets: types::limited_teleport_assets::Assets, fee_asset_item: types::limited_teleport_assets::FeeAssetItem, weight_limit: types::limited_teleport_assets::WeightLimit, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "XcmPallet", "limited_teleport_assets", types::LimitedTeleportAssets { - dest: ::std::boxed::Box::new(dest), - beneficiary: ::std::boxed::Box::new(beneficiary), - assets: ::std::boxed::Box::new(assets), + dest: ::subxt::ext::subxt_core::alloc::boxed::Box::new(dest), + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box::new( + beneficiary, + ), + assets: ::subxt::ext::subxt_core::alloc::boxed::Box::new(assets), fee_asset_item, weight_limit, }, @@ -37579,8 +40189,8 @@ pub mod api { pub fn force_suspension( &self, suspended: types::force_suspension::Suspended, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "XcmPallet", "force_suspension", types::ForceSuspension { suspended }, @@ -37598,15 +40208,15 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Execution of an XCM message was attempted."] pub struct Attempted { pub outcome: attempted::Outcome, @@ -37615,20 +40225,20 @@ pub mod api { use super::runtime_types; pub type Outcome = runtime_types::xcm::v3::traits::Outcome; } - impl ::subxt::events::StaticEvent for Attempted { + impl ::subxt::ext::subxt_core::events::StaticEvent for Attempted { const PALLET: &'static str = "XcmPallet"; const EVENT: &'static str = "Attempted"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A XCM message was sent."] pub struct Sent { pub origin: sent::Origin, @@ -37640,23 +40250,23 @@ pub mod api { use super::runtime_types; pub type Origin = runtime_types::staging_xcm::v3::multilocation::MultiLocation; pub type Destination = runtime_types::staging_xcm::v3::multilocation::MultiLocation; - pub type Message = runtime_types::xcm::v3::Xcm; + pub type Message = runtime_types::xcm::v3::Xcm1; pub type MessageId = [::core::primitive::u8; 32usize]; } - impl ::subxt::events::StaticEvent for Sent { + impl ::subxt::ext::subxt_core::events::StaticEvent for Sent { const PALLET: &'static str = "XcmPallet"; const EVENT: &'static str = "Sent"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Query response received which does not match a registered query. This may be because a"] #[doc = "matching query was never registered, it may be because it is a duplicate response, or"] #[doc = "because the query timed out."] @@ -37669,20 +40279,20 @@ pub mod api { pub type Origin = runtime_types::staging_xcm::v3::multilocation::MultiLocation; pub type QueryId = ::core::primitive::u64; } - impl ::subxt::events::StaticEvent for UnexpectedResponse { + impl ::subxt::ext::subxt_core::events::StaticEvent for UnexpectedResponse { const PALLET: &'static str = "XcmPallet"; const EVENT: &'static str = "UnexpectedResponse"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Query response has been received and is ready for taking with `take_response`. There is"] #[doc = "no registered notification call."] pub struct ResponseReady { @@ -37694,20 +40304,20 @@ pub mod api { pub type QueryId = ::core::primitive::u64; pub type Response = runtime_types::xcm::v3::Response; } - impl ::subxt::events::StaticEvent for ResponseReady { + impl ::subxt::ext::subxt_core::events::StaticEvent for ResponseReady { const PALLET: &'static str = "XcmPallet"; const EVENT: &'static str = "ResponseReady"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Query response has been received and query is removed. The registered notification has"] #[doc = "been dispatched and executed successfully."] pub struct Notified { @@ -37721,20 +40331,20 @@ pub mod api { pub type PalletIndex = ::core::primitive::u8; pub type CallIndex = ::core::primitive::u8; } - impl ::subxt::events::StaticEvent for Notified { + impl ::subxt::ext::subxt_core::events::StaticEvent for Notified { const PALLET: &'static str = "XcmPallet"; const EVENT: &'static str = "Notified"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Query response has been received and query is removed. The registered notification"] #[doc = "could not be dispatched because the dispatch weight is greater than the maximum weight"] #[doc = "originally budgeted by this runtime for the query result."] @@ -37753,20 +40363,20 @@ pub mod api { pub type ActualWeight = runtime_types::sp_weights::weight_v2::Weight; pub type MaxBudgetedWeight = runtime_types::sp_weights::weight_v2::Weight; } - impl ::subxt::events::StaticEvent for NotifyOverweight { + impl ::subxt::ext::subxt_core::events::StaticEvent for NotifyOverweight { const PALLET: &'static str = "XcmPallet"; const EVENT: &'static str = "NotifyOverweight"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Query response has been received and query is removed. There was a general error with"] #[doc = "dispatching the notification call."] pub struct NotifyDispatchError { @@ -37780,20 +40390,20 @@ pub mod api { pub type PalletIndex = ::core::primitive::u8; pub type CallIndex = ::core::primitive::u8; } - impl ::subxt::events::StaticEvent for NotifyDispatchError { + impl ::subxt::ext::subxt_core::events::StaticEvent for NotifyDispatchError { const PALLET: &'static str = "XcmPallet"; const EVENT: &'static str = "NotifyDispatchError"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Query response has been received and query is removed. The dispatch was unable to be"] #[doc = "decoded into a `Call`; this might be due to dispatch function having a signature which"] #[doc = "is not `(origin, QueryId, Response)`."] @@ -37808,20 +40418,20 @@ pub mod api { pub type PalletIndex = ::core::primitive::u8; pub type CallIndex = ::core::primitive::u8; } - impl ::subxt::events::StaticEvent for NotifyDecodeFailed { + impl ::subxt::ext::subxt_core::events::StaticEvent for NotifyDecodeFailed { const PALLET: &'static str = "XcmPallet"; const EVENT: &'static str = "NotifyDecodeFailed"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Expected query response has been received but the origin location of the response does"] #[doc = "not match that expected. The query remains registered for a later, valid, response to"] #[doc = "be received and acted upon."] @@ -37838,20 +40448,20 @@ pub mod api { runtime_types::staging_xcm::v3::multilocation::MultiLocation, >; } - impl ::subxt::events::StaticEvent for InvalidResponder { + impl ::subxt::ext::subxt_core::events::StaticEvent for InvalidResponder { const PALLET: &'static str = "XcmPallet"; const EVENT: &'static str = "InvalidResponder"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Expected query response has been received but the expected origin location placed in"] #[doc = "storage by this runtime previously cannot be decoded. The query remains registered."] #[doc = ""] @@ -37868,20 +40478,20 @@ pub mod api { pub type Origin = runtime_types::staging_xcm::v3::multilocation::MultiLocation; pub type QueryId = ::core::primitive::u64; } - impl ::subxt::events::StaticEvent for InvalidResponderVersion { + impl ::subxt::ext::subxt_core::events::StaticEvent for InvalidResponderVersion { const PALLET: &'static str = "XcmPallet"; const EVENT: &'static str = "InvalidResponderVersion"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Received query response has been read and removed."] pub struct ResponseTaken { pub query_id: response_taken::QueryId, @@ -37890,20 +40500,20 @@ pub mod api { use super::runtime_types; pub type QueryId = ::core::primitive::u64; } - impl ::subxt::events::StaticEvent for ResponseTaken { + impl ::subxt::ext::subxt_core::events::StaticEvent for ResponseTaken { const PALLET: &'static str = "XcmPallet"; const EVENT: &'static str = "ResponseTaken"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some assets have been placed in an asset trap."] pub struct AssetsTrapped { pub hash: assets_trapped::Hash, @@ -37912,24 +40522,24 @@ pub mod api { } pub mod assets_trapped { use super::runtime_types; - pub type Hash = ::subxt::utils::H256; + pub type Hash = ::subxt::ext::subxt_core::utils::H256; pub type Origin = runtime_types::staging_xcm::v3::multilocation::MultiLocation; pub type Assets = runtime_types::xcm::VersionedMultiAssets; } - impl ::subxt::events::StaticEvent for AssetsTrapped { + impl ::subxt::ext::subxt_core::events::StaticEvent for AssetsTrapped { const PALLET: &'static str = "XcmPallet"; const EVENT: &'static str = "AssetsTrapped"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "An XCM version change notification message has been attempted to be sent."] #[doc = ""] #[doc = "The cost of sending it (borne by the chain) is included."] @@ -37946,20 +40556,20 @@ pub mod api { pub type Cost = runtime_types::xcm::v3::multiasset::MultiAssets; pub type MessageId = [::core::primitive::u8; 32usize]; } - impl ::subxt::events::StaticEvent for VersionChangeNotified { + impl ::subxt::ext::subxt_core::events::StaticEvent for VersionChangeNotified { const PALLET: &'static str = "XcmPallet"; const EVENT: &'static str = "VersionChangeNotified"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The supported version of a location has been changed. This might be through an"] #[doc = "automatic notification or a manual intervention."] pub struct SupportedVersionChanged { @@ -37971,20 +40581,20 @@ pub mod api { pub type Location = runtime_types::staging_xcm::v3::multilocation::MultiLocation; pub type Version = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for SupportedVersionChanged { + impl ::subxt::ext::subxt_core::events::StaticEvent for SupportedVersionChanged { const PALLET: &'static str = "XcmPallet"; const EVENT: &'static str = "SupportedVersionChanged"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A given location which had a version change subscription was dropped owing to an error"] #[doc = "sending the notification to it."] pub struct NotifyTargetSendFail { @@ -37998,20 +40608,20 @@ pub mod api { pub type QueryId = ::core::primitive::u64; pub type Error = runtime_types::xcm::v3::traits::Error; } - impl ::subxt::events::StaticEvent for NotifyTargetSendFail { + impl ::subxt::ext::subxt_core::events::StaticEvent for NotifyTargetSendFail { const PALLET: &'static str = "XcmPallet"; const EVENT: &'static str = "NotifyTargetSendFail"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A given location which had a version change subscription was dropped owing to an error"] #[doc = "migrating the location to our new XCM format."] pub struct NotifyTargetMigrationFail { @@ -38023,20 +40633,20 @@ pub mod api { pub type Location = runtime_types::xcm::VersionedMultiLocation; pub type QueryId = ::core::primitive::u64; } - impl ::subxt::events::StaticEvent for NotifyTargetMigrationFail { + impl ::subxt::ext::subxt_core::events::StaticEvent for NotifyTargetMigrationFail { const PALLET: &'static str = "XcmPallet"; const EVENT: &'static str = "NotifyTargetMigrationFail"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Expected query response has been received but the expected querier location placed in"] #[doc = "storage by this runtime previously cannot be decoded. The query remains registered."] #[doc = ""] @@ -38053,20 +40663,20 @@ pub mod api { pub type Origin = runtime_types::staging_xcm::v3::multilocation::MultiLocation; pub type QueryId = ::core::primitive::u64; } - impl ::subxt::events::StaticEvent for InvalidQuerierVersion { + impl ::subxt::ext::subxt_core::events::StaticEvent for InvalidQuerierVersion { const PALLET: &'static str = "XcmPallet"; const EVENT: &'static str = "InvalidQuerierVersion"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Expected query response has been received but the querier location of the response does"] #[doc = "not match the expected. The query remains registered for a later, valid, response to"] #[doc = "be received and acted upon."] @@ -38086,20 +40696,20 @@ pub mod api { runtime_types::staging_xcm::v3::multilocation::MultiLocation, >; } - impl ::subxt::events::StaticEvent for InvalidQuerier { + impl ::subxt::ext::subxt_core::events::StaticEvent for InvalidQuerier { const PALLET: &'static str = "XcmPallet"; const EVENT: &'static str = "InvalidQuerier"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A remote has requested XCM version change notification from us and we have honored it."] #[doc = "A version information message is sent to them and its cost is included."] pub struct VersionNotifyStarted { @@ -38113,20 +40723,20 @@ pub mod api { pub type Cost = runtime_types::xcm::v3::multiasset::MultiAssets; pub type MessageId = [::core::primitive::u8; 32usize]; } - impl ::subxt::events::StaticEvent for VersionNotifyStarted { + impl ::subxt::ext::subxt_core::events::StaticEvent for VersionNotifyStarted { const PALLET: &'static str = "XcmPallet"; const EVENT: &'static str = "VersionNotifyStarted"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "We have requested that a remote chain send us XCM version change notifications."] pub struct VersionNotifyRequested { pub destination: version_notify_requested::Destination, @@ -38139,20 +40749,20 @@ pub mod api { pub type Cost = runtime_types::xcm::v3::multiasset::MultiAssets; pub type MessageId = [::core::primitive::u8; 32usize]; } - impl ::subxt::events::StaticEvent for VersionNotifyRequested { + impl ::subxt::ext::subxt_core::events::StaticEvent for VersionNotifyRequested { const PALLET: &'static str = "XcmPallet"; const EVENT: &'static str = "VersionNotifyRequested"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "We have requested that a remote chain stops sending us XCM version change"] #[doc = "notifications."] pub struct VersionNotifyUnrequested { @@ -38166,20 +40776,20 @@ pub mod api { pub type Cost = runtime_types::xcm::v3::multiasset::MultiAssets; pub type MessageId = [::core::primitive::u8; 32usize]; } - impl ::subxt::events::StaticEvent for VersionNotifyUnrequested { + impl ::subxt::ext::subxt_core::events::StaticEvent for VersionNotifyUnrequested { const PALLET: &'static str = "XcmPallet"; const EVENT: &'static str = "VersionNotifyUnrequested"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Fees were paid from a location for an operation (often for using `SendXcm`)."] pub struct FeesPaid { pub paying: fees_paid::Paying, @@ -38190,20 +40800,20 @@ pub mod api { pub type Paying = runtime_types::staging_xcm::v3::multilocation::MultiLocation; pub type Fees = runtime_types::xcm::v3::multiasset::MultiAssets; } - impl ::subxt::events::StaticEvent for FeesPaid { + impl ::subxt::ext::subxt_core::events::StaticEvent for FeesPaid { const PALLET: &'static str = "XcmPallet"; const EVENT: &'static str = "FeesPaid"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some assets have been claimed from an asset trap"] pub struct AssetsClaimed { pub hash: assets_claimed::Hash, @@ -38212,11 +40822,11 @@ pub mod api { } pub mod assets_claimed { use super::runtime_types; - pub type Hash = ::subxt::utils::H256; + pub type Hash = ::subxt::ext::subxt_core::utils::H256; pub type Origin = runtime_types::staging_xcm::v3::multilocation::MultiLocation; pub type Assets = runtime_types::xcm::VersionedMultiAssets; } - impl ::subxt::events::StaticEvent for AssetsClaimed { + impl ::subxt::ext::subxt_core::events::StaticEvent for AssetsClaimed { const PALLET: &'static str = "XcmPallet"; const EVENT: &'static str = "AssetsClaimed"; } @@ -38238,7 +40848,7 @@ pub mod api { pub mod asset_traps { use super::runtime_types; pub type AssetTraps = ::core::primitive::u32; - pub type Param0 = ::subxt::utils::H256; + pub type Param0 = ::subxt::ext::subxt_core::utils::H256; } pub mod safe_xcm_version { use super::runtime_types; @@ -38269,7 +40879,7 @@ pub mod api { pub mod version_discovery_queue { use super::runtime_types; pub type VersionDiscoveryQueue = - runtime_types::bounded_collections::bounded_vec::BoundedVec<( + runtime_types::bounded_collections::bounded_vec::BoundedVec26<( runtime_types::xcm::VersionedMultiLocation, ::core::primitive::u32, )>; @@ -38284,17 +40894,17 @@ pub mod api { pub type RemoteLockedFungibles = runtime_types::pallet_xcm::pallet::RemoteLockedFungibleRecord<()>; pub type Param0 = ::core::primitive::u32; - pub type Param1 = ::subxt::utils::AccountId32; + pub type Param1 = ::subxt::ext::subxt_core::utils::AccountId32; pub type Param2 = runtime_types::xcm::VersionedAssetId; } pub mod locked_fungibles { use super::runtime_types; pub type LockedFungibles = - runtime_types::bounded_collections::bounded_vec::BoundedVec<( + runtime_types::bounded_collections::bounded_vec::BoundedVec28<( ::core::primitive::u128, runtime_types::xcm::VersionedMultiLocation, )>; - pub type Param0 = ::subxt::utils::AccountId32; + pub type Param0 = ::subxt::ext::subxt_core::utils::AccountId32; } pub mod xcm_execution_suspended { use super::runtime_types; @@ -38306,17 +40916,17 @@ pub mod api { #[doc = " The latest available query index."] pub fn query_counter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::query_counter::QueryCounter, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "XcmPallet", "QueryCounter", - vec![], + (), [ 216u8, 73u8, 160u8, 232u8, 60u8, 245u8, 218u8, 219u8, 152u8, 68u8, 146u8, 219u8, 255u8, 7u8, 86u8, 112u8, 83u8, 49u8, 94u8, 173u8, 64u8, @@ -38328,17 +40938,17 @@ pub mod api { #[doc = " The ongoing queries."] pub fn queries_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::queries::Queries, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "XcmPallet", "Queries", - vec![], + (), [ 119u8, 5u8, 12u8, 91u8, 117u8, 240u8, 52u8, 192u8, 135u8, 139u8, 220u8, 78u8, 207u8, 199u8, 71u8, 163u8, 100u8, 17u8, 6u8, 65u8, 200u8, 245u8, @@ -38349,20 +40959,22 @@ pub mod api { #[doc = " The ongoing queries."] pub fn queries( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::queries::Param0, + >, types::queries::Queries, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "XcmPallet", "Queries", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 119u8, 5u8, 12u8, 91u8, 117u8, 240u8, 52u8, 192u8, 135u8, 139u8, 220u8, 78u8, 207u8, 199u8, 71u8, 163u8, 100u8, 17u8, 6u8, 65u8, 200u8, 245u8, @@ -38376,17 +40988,17 @@ pub mod api { #[doc = " times this pair has been trapped (usually just 1 if it exists at all)."] pub fn asset_traps_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::asset_traps::AssetTraps, (), - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "XcmPallet", "AssetTraps", - vec![], + (), [ 148u8, 41u8, 254u8, 134u8, 61u8, 172u8, 126u8, 146u8, 78u8, 178u8, 50u8, 77u8, 226u8, 8u8, 200u8, 78u8, 77u8, 91u8, 26u8, 133u8, 104u8, @@ -38400,20 +41012,22 @@ pub mod api { #[doc = " times this pair has been trapped (usually just 1 if it exists at all)."] pub fn asset_traps( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::asset_traps::Param0, + >, types::asset_traps::AssetTraps, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "XcmPallet", "AssetTraps", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 148u8, 41u8, 254u8, 134u8, 61u8, 172u8, 126u8, 146u8, 78u8, 178u8, 50u8, 77u8, 226u8, 8u8, 200u8, 78u8, 77u8, 91u8, 26u8, 133u8, 104u8, @@ -38425,17 +41039,17 @@ pub mod api { #[doc = " then the destinations whose XCM version is unknown are considered unreachable."] pub fn safe_xcm_version( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::safe_xcm_version::SafeXcmVersion, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "XcmPallet", "SafeXcmVersion", - vec![], + (), [ 187u8, 8u8, 74u8, 126u8, 80u8, 215u8, 177u8, 60u8, 223u8, 123u8, 196u8, 155u8, 166u8, 66u8, 25u8, 164u8, 191u8, 66u8, 116u8, 131u8, 116u8, @@ -38447,17 +41061,17 @@ pub mod api { #[doc = " The Latest versions that we know various locations support."] pub fn supported_version_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::supported_version::SupportedVersion, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "XcmPallet", "SupportedVersion", - vec![], + (), [ 144u8, 22u8, 91u8, 30u8, 139u8, 164u8, 95u8, 149u8, 97u8, 247u8, 12u8, 212u8, 96u8, 16u8, 134u8, 236u8, 74u8, 57u8, 244u8, 169u8, 68u8, 63u8, @@ -38468,20 +41082,22 @@ pub mod api { #[doc = " The Latest versions that we know various locations support."] pub fn supported_version_iter1( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::supported_version::Param0, + >, types::supported_version::SupportedVersion, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "XcmPallet", "SupportedVersion", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 144u8, 22u8, 91u8, 30u8, 139u8, 164u8, 95u8, 149u8, 97u8, 247u8, 12u8, 212u8, 96u8, 16u8, 134u8, 236u8, 74u8, 57u8, 244u8, 169u8, 68u8, 63u8, @@ -38492,22 +41108,33 @@ pub mod api { #[doc = " The Latest versions that we know various locations support."] pub fn supported_version( &self, - _0: impl ::std::borrow::Borrow, - _1: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::supported_version::Param0, + >, + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::supported_version::Param1, + >, + ), types::supported_version::SupportedVersion, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "XcmPallet", "SupportedVersion", - vec![ - ::subxt::storage::address::make_static_storage_map_key(_0.borrow()), - ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), - ], + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), + ), [ 144u8, 22u8, 91u8, 30u8, 139u8, 164u8, 95u8, 149u8, 97u8, 247u8, 12u8, 212u8, 96u8, 16u8, 134u8, 236u8, 74u8, 57u8, 244u8, 169u8, 68u8, 63u8, @@ -38518,17 +41145,17 @@ pub mod api { #[doc = " All locations that we have requested version notifications from."] pub fn version_notifiers_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::version_notifiers::VersionNotifiers, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "XcmPallet", "VersionNotifiers", - vec![], + (), [ 49u8, 190u8, 73u8, 67u8, 91u8, 69u8, 121u8, 206u8, 25u8, 82u8, 29u8, 170u8, 157u8, 201u8, 168u8, 93u8, 181u8, 55u8, 226u8, 142u8, 136u8, @@ -38539,20 +41166,22 @@ pub mod api { #[doc = " All locations that we have requested version notifications from."] pub fn version_notifiers_iter1( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::version_notifiers::Param0, + >, types::version_notifiers::VersionNotifiers, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "XcmPallet", "VersionNotifiers", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 49u8, 190u8, 73u8, 67u8, 91u8, 69u8, 121u8, 206u8, 25u8, 82u8, 29u8, 170u8, 157u8, 201u8, 168u8, 93u8, 181u8, 55u8, 226u8, 142u8, 136u8, @@ -38563,22 +41192,33 @@ pub mod api { #[doc = " All locations that we have requested version notifications from."] pub fn version_notifiers( &self, - _0: impl ::std::borrow::Borrow, - _1: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::version_notifiers::Param0, + >, + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::version_notifiers::Param1, + >, + ), types::version_notifiers::VersionNotifiers, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "XcmPallet", "VersionNotifiers", - vec![ - ::subxt::storage::address::make_static_storage_map_key(_0.borrow()), - ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), - ], + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), + ), [ 49u8, 190u8, 73u8, 67u8, 91u8, 69u8, 121u8, 206u8, 25u8, 82u8, 29u8, 170u8, 157u8, 201u8, 168u8, 93u8, 181u8, 55u8, 226u8, 142u8, 136u8, @@ -38590,17 +41230,17 @@ pub mod api { #[doc = " of our versions we informed them of."] pub fn version_notify_targets_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::version_notify_targets::VersionNotifyTargets, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "XcmPallet", "VersionNotifyTargets", - vec![], + (), [ 1u8, 195u8, 40u8, 83u8, 216u8, 175u8, 241u8, 95u8, 42u8, 7u8, 85u8, 253u8, 223u8, 241u8, 195u8, 41u8, 41u8, 21u8, 17u8, 171u8, 216u8, @@ -38613,20 +41253,22 @@ pub mod api { #[doc = " of our versions we informed them of."] pub fn version_notify_targets_iter1( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::version_notify_targets::Param0, + >, types::version_notify_targets::VersionNotifyTargets, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "XcmPallet", "VersionNotifyTargets", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 1u8, 195u8, 40u8, 83u8, 216u8, 175u8, 241u8, 95u8, 42u8, 7u8, 85u8, 253u8, 223u8, 241u8, 195u8, 41u8, 41u8, 21u8, 17u8, 171u8, 216u8, @@ -38639,22 +41281,33 @@ pub mod api { #[doc = " of our versions we informed them of."] pub fn version_notify_targets( &self, - _0: impl ::std::borrow::Borrow, - _1: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::version_notify_targets::Param0, + >, + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::version_notify_targets::Param1, + >, + ), types::version_notify_targets::VersionNotifyTargets, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "XcmPallet", "VersionNotifyTargets", - vec![ - ::subxt::storage::address::make_static_storage_map_key(_0.borrow()), - ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), - ], + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), + ), [ 1u8, 195u8, 40u8, 83u8, 216u8, 175u8, 241u8, 95u8, 42u8, 7u8, 85u8, 253u8, 223u8, 241u8, 195u8, 41u8, 41u8, 21u8, 17u8, 171u8, 216u8, @@ -38668,17 +41321,17 @@ pub mod api { #[doc = " which is used as a prioritization."] pub fn version_discovery_queue( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::version_discovery_queue::VersionDiscoveryQueue, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "XcmPallet", "VersionDiscoveryQueue", - vec![], + (), [ 110u8, 87u8, 102u8, 193u8, 125u8, 129u8, 0u8, 221u8, 218u8, 229u8, 101u8, 94u8, 74u8, 229u8, 246u8, 180u8, 113u8, 11u8, 15u8, 159u8, 98u8, @@ -38689,17 +41342,17 @@ pub mod api { #[doc = " The current migration's stage, if any."] pub fn current_migration( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::current_migration::CurrentMigration, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "XcmPallet", "CurrentMigration", - vec![], + (), [ 74u8, 138u8, 181u8, 162u8, 59u8, 251u8, 37u8, 28u8, 232u8, 51u8, 30u8, 152u8, 252u8, 133u8, 95u8, 195u8, 47u8, 127u8, 21u8, 44u8, 62u8, 143u8, @@ -38710,17 +41363,17 @@ pub mod api { #[doc = " Fungible assets which we know are locked on a remote chain."] pub fn remote_locked_fungibles_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::remote_locked_fungibles::RemoteLockedFungibles, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "XcmPallet", "RemoteLockedFungibles", - vec![], + (), [ 74u8, 249u8, 83u8, 245u8, 44u8, 230u8, 152u8, 82u8, 4u8, 163u8, 230u8, 121u8, 87u8, 143u8, 184u8, 12u8, 117u8, 112u8, 131u8, 160u8, 232u8, @@ -38731,20 +41384,22 @@ pub mod api { #[doc = " Fungible assets which we know are locked on a remote chain."] pub fn remote_locked_fungibles_iter1( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::remote_locked_fungibles::Param0, + >, types::remote_locked_fungibles::RemoteLockedFungibles, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "XcmPallet", "RemoteLockedFungibles", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 74u8, 249u8, 83u8, 245u8, 44u8, 230u8, 152u8, 82u8, 4u8, 163u8, 230u8, 121u8, 87u8, 143u8, 184u8, 12u8, 117u8, 112u8, 131u8, 160u8, 232u8, @@ -38755,22 +41410,33 @@ pub mod api { #[doc = " Fungible assets which we know are locked on a remote chain."] pub fn remote_locked_fungibles_iter2( &self, - _0: impl ::std::borrow::Borrow, - _1: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::remote_locked_fungibles::Param0, + >, + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::remote_locked_fungibles::Param1, + >, + ), types::remote_locked_fungibles::RemoteLockedFungibles, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "XcmPallet", "RemoteLockedFungibles", - vec![ - ::subxt::storage::address::make_static_storage_map_key(_0.borrow()), - ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), - ], + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), + ), [ 74u8, 249u8, 83u8, 245u8, 44u8, 230u8, 152u8, 82u8, 4u8, 163u8, 230u8, 121u8, 87u8, 143u8, 184u8, 12u8, 117u8, 112u8, 131u8, 160u8, 232u8, @@ -38781,24 +41447,40 @@ pub mod api { #[doc = " Fungible assets which we know are locked on a remote chain."] pub fn remote_locked_fungibles( &self, - _0: impl ::std::borrow::Borrow, - _1: impl ::std::borrow::Borrow, - _2: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + _1: impl ::core::borrow::Borrow, + _2: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::remote_locked_fungibles::Param0, + >, + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::remote_locked_fungibles::Param1, + >, + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::remote_locked_fungibles::Param2, + >, + ), types::remote_locked_fungibles::RemoteLockedFungibles, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "XcmPallet", "RemoteLockedFungibles", - vec![ - ::subxt::storage::address::make_static_storage_map_key(_0.borrow()), - ::subxt::storage::address::make_static_storage_map_key(_1.borrow()), - ::subxt::storage::address::make_static_storage_map_key(_2.borrow()), - ], + ( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _0.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _1.borrow(), + ), + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( + _2.borrow(), + ), + ), [ 74u8, 249u8, 83u8, 245u8, 44u8, 230u8, 152u8, 82u8, 4u8, 163u8, 230u8, 121u8, 87u8, 143u8, 184u8, 12u8, 117u8, 112u8, 131u8, 160u8, 232u8, @@ -38809,17 +41491,17 @@ pub mod api { #[doc = " Fungible assets which we know are locked on this chain."] pub fn locked_fungibles_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::locked_fungibles::LockedFungibles, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "XcmPallet", "LockedFungibles", - vec![], + (), [ 110u8, 220u8, 127u8, 176u8, 219u8, 23u8, 132u8, 36u8, 224u8, 187u8, 25u8, 103u8, 126u8, 99u8, 34u8, 105u8, 57u8, 182u8, 162u8, 69u8, 24u8, @@ -38831,20 +41513,22 @@ pub mod api { #[doc = " Fungible assets which we know are locked on this chain."] pub fn locked_fungibles( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::locked_fungibles::Param0, + >, types::locked_fungibles::LockedFungibles, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "XcmPallet", "LockedFungibles", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 110u8, 220u8, 127u8, 176u8, 219u8, 23u8, 132u8, 36u8, 224u8, 187u8, 25u8, 103u8, 126u8, 99u8, 34u8, 105u8, 57u8, 182u8, 162u8, 69u8, 24u8, @@ -38856,17 +41540,17 @@ pub mod api { #[doc = " Global suspension state of the XCM executor."] pub fn xcm_execution_suspended( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::xcm_execution_suspended::XcmExecutionSuspended, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "XcmPallet", "XcmExecutionSuspended", - vec![], + (), [ 182u8, 54u8, 69u8, 68u8, 78u8, 76u8, 103u8, 79u8, 47u8, 136u8, 99u8, 104u8, 128u8, 129u8, 249u8, 54u8, 214u8, 136u8, 97u8, 48u8, 178u8, @@ -38891,15 +41575,19 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::sudo_schedule_para_initialize`]."] pub struct SudoScheduleParaInitialize { pub id: sudo_schedule_para_initialize::Id, @@ -38911,20 +41599,24 @@ pub mod api { pub type Genesis = runtime_types::polkadot_runtime_parachains::paras::ParaGenesisArgs; } - impl ::subxt::blocks::StaticExtrinsic for SudoScheduleParaInitialize { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SudoScheduleParaInitialize { const PALLET: &'static str = "ParasSudoWrapper"; const CALL: &'static str = "sudo_schedule_para_initialize"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::sudo_schedule_para_cleanup`]."] pub struct SudoScheduleParaCleanup { pub id: sudo_schedule_para_cleanup::Id, @@ -38933,20 +41625,24 @@ pub mod api { use super::runtime_types; pub type Id = runtime_types::polkadot_parachain_primitives::primitives::Id; } - impl ::subxt::blocks::StaticExtrinsic for SudoScheduleParaCleanup { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SudoScheduleParaCleanup { const PALLET: &'static str = "ParasSudoWrapper"; const CALL: &'static str = "sudo_schedule_para_cleanup"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::sudo_schedule_parathread_upgrade`]."] pub struct SudoScheduleParathreadUpgrade { pub id: sudo_schedule_parathread_upgrade::Id, @@ -38955,20 +41651,24 @@ pub mod api { use super::runtime_types; pub type Id = runtime_types::polkadot_parachain_primitives::primitives::Id; } - impl ::subxt::blocks::StaticExtrinsic for SudoScheduleParathreadUpgrade { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SudoScheduleParathreadUpgrade { const PALLET: &'static str = "ParasSudoWrapper"; const CALL: &'static str = "sudo_schedule_parathread_upgrade"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::sudo_schedule_parachain_downgrade`]."] pub struct SudoScheduleParachainDowngrade { pub id: sudo_schedule_parachain_downgrade::Id, @@ -38977,44 +41677,53 @@ pub mod api { use super::runtime_types; pub type Id = runtime_types::polkadot_parachain_primitives::primitives::Id; } - impl ::subxt::blocks::StaticExtrinsic for SudoScheduleParachainDowngrade { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SudoScheduleParachainDowngrade { const PALLET: &'static str = "ParasSudoWrapper"; const CALL: &'static str = "sudo_schedule_parachain_downgrade"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::sudo_queue_downward_xcm`]."] pub struct SudoQueueDownwardXcm { pub id: sudo_queue_downward_xcm::Id, - pub xcm: ::std::boxed::Box, + pub xcm: + ::subxt::ext::subxt_core::alloc::boxed::Box, } pub mod sudo_queue_downward_xcm { use super::runtime_types; pub type Id = runtime_types::polkadot_parachain_primitives::primitives::Id; - pub type Xcm = runtime_types::xcm::VersionedXcm; + pub type Xcm = runtime_types::xcm::VersionedXcm1; } - impl ::subxt::blocks::StaticExtrinsic for SudoQueueDownwardXcm { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SudoQueueDownwardXcm { const PALLET: &'static str = "ParasSudoWrapper"; const CALL: &'static str = "sudo_queue_downward_xcm"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::sudo_establish_hrmp_channel`]."] pub struct SudoEstablishHrmpChannel { pub sender: sudo_establish_hrmp_channel::Sender, @@ -39030,7 +41739,7 @@ pub mod api { pub type MaxCapacity = ::core::primitive::u32; pub type MaxMessageSize = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for SudoEstablishHrmpChannel { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SudoEstablishHrmpChannel { const PALLET: &'static str = "ParasSudoWrapper"; const CALL: &'static str = "sudo_establish_hrmp_channel"; } @@ -39042,8 +41751,9 @@ pub mod api { &self, id: types::sudo_schedule_para_initialize::Id, genesis: types::sudo_schedule_para_initialize::Genesis, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "ParasSudoWrapper", "sudo_schedule_para_initialize", types::SudoScheduleParaInitialize { id, genesis }, @@ -39058,8 +41768,9 @@ pub mod api { pub fn sudo_schedule_para_cleanup( &self, id: types::sudo_schedule_para_cleanup::Id, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "ParasSudoWrapper", "sudo_schedule_para_cleanup", types::SudoScheduleParaCleanup { id }, @@ -39074,8 +41785,9 @@ pub mod api { pub fn sudo_schedule_parathread_upgrade( &self, id: types::sudo_schedule_parathread_upgrade::Id, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "ParasSudoWrapper", "sudo_schedule_parathread_upgrade", types::SudoScheduleParathreadUpgrade { id }, @@ -39091,8 +41803,9 @@ pub mod api { pub fn sudo_schedule_parachain_downgrade( &self, id: types::sudo_schedule_parachain_downgrade::Id, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "ParasSudoWrapper", "sudo_schedule_parachain_downgrade", types::SudoScheduleParachainDowngrade { id }, @@ -39109,13 +41822,14 @@ pub mod api { &self, id: types::sudo_queue_downward_xcm::Id, xcm: types::sudo_queue_downward_xcm::Xcm, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "ParasSudoWrapper", "sudo_queue_downward_xcm", types::SudoQueueDownwardXcm { id, - xcm: ::std::boxed::Box::new(xcm), + xcm: ::subxt::ext::subxt_core::alloc::boxed::Box::new(xcm), }, [ 144u8, 179u8, 113u8, 39u8, 46u8, 58u8, 218u8, 220u8, 98u8, 232u8, @@ -39132,8 +41846,9 @@ pub mod api { recipient: types::sudo_establish_hrmp_channel::Recipient, max_capacity: types::sudo_establish_hrmp_channel::MaxCapacity, max_message_size: types::sudo_establish_hrmp_channel::MaxMessageSize, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "ParasSudoWrapper", "sudo_establish_hrmp_channel", types::SudoEstablishHrmpChannel { @@ -39166,15 +41881,19 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::assign_perm_parachain_slot`]."] pub struct AssignPermParachainSlot { pub id: assign_perm_parachain_slot::Id, @@ -39183,20 +41902,24 @@ pub mod api { use super::runtime_types; pub type Id = runtime_types::polkadot_parachain_primitives::primitives::Id; } - impl ::subxt::blocks::StaticExtrinsic for AssignPermParachainSlot { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AssignPermParachainSlot { const PALLET: &'static str = "AssignedSlots"; const CALL: &'static str = "assign_perm_parachain_slot"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::assign_temp_parachain_slot`]."] pub struct AssignTempParachainSlot { pub id: assign_temp_parachain_slot::Id, @@ -39207,20 +41930,24 @@ pub mod api { pub type Id = runtime_types::polkadot_parachain_primitives::primitives::Id; pub type LeasePeriodStart = runtime_types :: polkadot_runtime_common :: assigned_slots :: SlotLeasePeriodStart ; } - impl ::subxt::blocks::StaticExtrinsic for AssignTempParachainSlot { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for AssignTempParachainSlot { const PALLET: &'static str = "AssignedSlots"; const CALL: &'static str = "assign_temp_parachain_slot"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::unassign_parachain_slot`]."] pub struct UnassignParachainSlot { pub id: unassign_parachain_slot::Id, @@ -39229,20 +41956,24 @@ pub mod api { use super::runtime_types; pub type Id = runtime_types::polkadot_parachain_primitives::primitives::Id; } - impl ::subxt::blocks::StaticExtrinsic for UnassignParachainSlot { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for UnassignParachainSlot { const PALLET: &'static str = "AssignedSlots"; const CALL: &'static str = "unassign_parachain_slot"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_max_permanent_slots`]."] pub struct SetMaxPermanentSlots { pub slots: set_max_permanent_slots::Slots, @@ -39251,20 +41982,24 @@ pub mod api { use super::runtime_types; pub type Slots = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for SetMaxPermanentSlots { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetMaxPermanentSlots { const PALLET: &'static str = "AssignedSlots"; const CALL: &'static str = "set_max_permanent_slots"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_max_temporary_slots`]."] pub struct SetMaxTemporarySlots { pub slots: set_max_temporary_slots::Slots, @@ -39273,7 +42008,7 @@ pub mod api { use super::runtime_types; pub type Slots = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for SetMaxTemporarySlots { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetMaxTemporarySlots { const PALLET: &'static str = "AssignedSlots"; const CALL: &'static str = "set_max_temporary_slots"; } @@ -39284,8 +42019,9 @@ pub mod api { pub fn assign_perm_parachain_slot( &self, id: types::assign_perm_parachain_slot::Id, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "AssignedSlots", "assign_perm_parachain_slot", types::AssignPermParachainSlot { id }, @@ -39301,8 +42037,9 @@ pub mod api { &self, id: types::assign_temp_parachain_slot::Id, lease_period_start: types::assign_temp_parachain_slot::LeasePeriodStart, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "AssignedSlots", "assign_temp_parachain_slot", types::AssignTempParachainSlot { @@ -39321,8 +42058,9 @@ pub mod api { pub fn unassign_parachain_slot( &self, id: types::unassign_parachain_slot::Id, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "AssignedSlots", "unassign_parachain_slot", types::UnassignParachainSlot { id }, @@ -39338,8 +42076,9 @@ pub mod api { pub fn set_max_permanent_slots( &self, slots: types::set_max_permanent_slots::Slots, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "AssignedSlots", "set_max_permanent_slots", types::SetMaxPermanentSlots { slots }, @@ -39354,8 +42093,9 @@ pub mod api { pub fn set_max_temporary_slots( &self, slots: types::set_max_temporary_slots::Slots, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "AssignedSlots", "set_max_temporary_slots", types::SetMaxTemporarySlots { slots }, @@ -39374,55 +42114,55 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A parachain was assigned a permanent parachain slot"] pub struct PermanentSlotAssigned(pub permanent_slot_assigned::Field0); pub mod permanent_slot_assigned { use super::runtime_types; pub type Field0 = runtime_types::polkadot_parachain_primitives::primitives::Id; } - impl ::subxt::events::StaticEvent for PermanentSlotAssigned { + impl ::subxt::ext::subxt_core::events::StaticEvent for PermanentSlotAssigned { const PALLET: &'static str = "AssignedSlots"; const EVENT: &'static str = "PermanentSlotAssigned"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A parachain was assigned a temporary parachain slot"] pub struct TemporarySlotAssigned(pub temporary_slot_assigned::Field0); pub mod temporary_slot_assigned { use super::runtime_types; pub type Field0 = runtime_types::polkadot_parachain_primitives::primitives::Id; } - impl ::subxt::events::StaticEvent for TemporarySlotAssigned { + impl ::subxt::ext::subxt_core::events::StaticEvent for TemporarySlotAssigned { const PALLET: &'static str = "AssignedSlots"; const EVENT: &'static str = "TemporarySlotAssigned"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The maximum number of permanent slots has been changed"] pub struct MaxPermanentSlotsChanged { pub slots: max_permanent_slots_changed::Slots, @@ -39431,20 +42171,20 @@ pub mod api { use super::runtime_types; pub type Slots = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for MaxPermanentSlotsChanged { + impl ::subxt::ext::subxt_core::events::StaticEvent for MaxPermanentSlotsChanged { const PALLET: &'static str = "AssignedSlots"; const EVENT: &'static str = "MaxPermanentSlotsChanged"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The maximum number of temporary slots has been changed"] pub struct MaxTemporarySlotsChanged { pub slots: max_temporary_slots_changed::Slots, @@ -39453,7 +42193,7 @@ pub mod api { use super::runtime_types; pub type Slots = ::core::primitive::u32; } - impl ::subxt::events::StaticEvent for MaxTemporarySlotsChanged { + impl ::subxt::ext::subxt_core::events::StaticEvent for MaxTemporarySlotsChanged { const PALLET: &'static str = "AssignedSlots"; const EVENT: &'static str = "MaxTemporarySlotsChanged"; } @@ -39473,7 +42213,7 @@ pub mod api { } pub mod temporary_slots { use super::runtime_types; - pub type TemporarySlots = runtime_types :: polkadot_runtime_common :: assigned_slots :: ParachainTemporarySlot < :: subxt :: utils :: AccountId32 , :: core :: primitive :: u32 > ; + pub type TemporarySlots = runtime_types :: polkadot_runtime_common :: assigned_slots :: ParachainTemporarySlot < :: subxt :: ext :: subxt_core :: utils :: AccountId32 , :: core :: primitive :: u32 > ; pub type Param0 = runtime_types::polkadot_parachain_primitives::primitives::Id; } pub mod temporary_slot_count { @@ -39498,17 +42238,17 @@ pub mod api { #[doc = " Assigned permanent slots, with their start lease period, and duration."] pub fn permanent_slots_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::permanent_slots::PermanentSlots, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "AssignedSlots", "PermanentSlots", - vec![], + (), [ 133u8, 179u8, 221u8, 222u8, 50u8, 75u8, 158u8, 137u8, 167u8, 190u8, 19u8, 237u8, 201u8, 44u8, 86u8, 64u8, 57u8, 61u8, 96u8, 112u8, 218u8, @@ -39520,20 +42260,22 @@ pub mod api { #[doc = " Assigned permanent slots, with their start lease period, and duration."] pub fn permanent_slots( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::permanent_slots::Param0, + >, types::permanent_slots::PermanentSlots, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "AssignedSlots", "PermanentSlots", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 133u8, 179u8, 221u8, 222u8, 50u8, 75u8, 158u8, 137u8, 167u8, 190u8, 19u8, 237u8, 201u8, 44u8, 86u8, 64u8, 57u8, 61u8, 96u8, 112u8, 218u8, @@ -39545,17 +42287,17 @@ pub mod api { #[doc = " Number of assigned (and active) permanent slots."] pub fn permanent_slot_count( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::permanent_slot_count::PermanentSlotCount, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "AssignedSlots", "PermanentSlotCount", - vec![], + (), [ 57u8, 211u8, 19u8, 233u8, 105u8, 201u8, 166u8, 99u8, 53u8, 217u8, 23u8, 64u8, 216u8, 129u8, 21u8, 36u8, 234u8, 24u8, 57u8, 99u8, 13u8, 205u8, @@ -39566,17 +42308,17 @@ pub mod api { #[doc = " Assigned temporary slots."] pub fn temporary_slots_iter( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::temporary_slots::TemporarySlots, (), (), - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "AssignedSlots", "TemporarySlots", - vec![], + (), [ 184u8, 245u8, 181u8, 90u8, 169u8, 232u8, 108u8, 3u8, 153u8, 4u8, 176u8, 170u8, 230u8, 163u8, 236u8, 111u8, 196u8, 218u8, 154u8, 125u8, 102u8, @@ -39588,20 +42330,22 @@ pub mod api { #[doc = " Assigned temporary slots."] pub fn temporary_slots( &self, - _0: impl ::std::borrow::Borrow, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + _0: impl ::core::borrow::Borrow, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + ::subxt::ext::subxt_core::storage::address::StaticStorageKey< + types::temporary_slots::Param0, + >, types::temporary_slots::TemporarySlots, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "AssignedSlots", "TemporarySlots", - vec![::subxt::storage::address::make_static_storage_map_key( + ::subxt::ext::subxt_core::storage::address::StaticStorageKey::new( _0.borrow(), - )], + ), [ 184u8, 245u8, 181u8, 90u8, 169u8, 232u8, 108u8, 3u8, 153u8, 4u8, 176u8, 170u8, 230u8, 163u8, 236u8, 111u8, 196u8, 218u8, 154u8, 125u8, 102u8, @@ -39613,17 +42357,17 @@ pub mod api { #[doc = " Number of assigned temporary slots."] pub fn temporary_slot_count( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::temporary_slot_count::TemporarySlotCount, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "AssignedSlots", "TemporarySlotCount", - vec![], + (), [ 218u8, 236u8, 69u8, 75u8, 224u8, 60u8, 9u8, 197u8, 217u8, 4u8, 210u8, 55u8, 125u8, 106u8, 239u8, 208u8, 115u8, 105u8, 94u8, 223u8, 219u8, @@ -39634,17 +42378,17 @@ pub mod api { #[doc = " Number of active temporary slots in current slot lease period."] pub fn active_temporary_slot_count( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::active_temporary_slot_count::ActiveTemporarySlotCount, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "AssignedSlots", "ActiveTemporarySlotCount", - vec![], + (), [ 153u8, 99u8, 232u8, 164u8, 137u8, 10u8, 232u8, 172u8, 78u8, 4u8, 69u8, 178u8, 245u8, 220u8, 56u8, 251u8, 60u8, 238u8, 127u8, 246u8, 60u8, @@ -39656,17 +42400,17 @@ pub mod api { #[doc = " The max number of temporary slots that can be assigned."] pub fn max_temporary_slots( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::max_temporary_slots::MaxTemporarySlots, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "AssignedSlots", "MaxTemporarySlots", - vec![], + (), [ 129u8, 130u8, 136u8, 77u8, 149u8, 130u8, 130u8, 195u8, 150u8, 114u8, 199u8, 133u8, 86u8, 252u8, 149u8, 149u8, 131u8, 248u8, 70u8, 39u8, @@ -39678,17 +42422,17 @@ pub mod api { #[doc = " The max number of permanent slots that can be assigned."] pub fn max_permanent_slots( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::max_permanent_slots::MaxPermanentSlots, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "AssignedSlots", "MaxPermanentSlots", - vec![], + (), [ 20u8, 72u8, 203u8, 62u8, 120u8, 21u8, 97u8, 9u8, 138u8, 135u8, 67u8, 152u8, 131u8, 197u8, 59u8, 80u8, 226u8, 148u8, 159u8, 122u8, 34u8, @@ -39706,8 +42450,9 @@ pub mod api { #[doc = " The number of lease periods a permanent parachain slot lasts."] pub fn permanent_slot_lease_period_length( &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "AssignedSlots", "PermanentSlotLeasePeriodLength", [ @@ -39721,8 +42466,9 @@ pub mod api { #[doc = " The number of lease periods a temporary parachain slot lasts."] pub fn temporary_slot_lease_period_length( &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "AssignedSlots", "TemporarySlotLeasePeriodLength", [ @@ -39736,8 +42482,9 @@ pub mod api { #[doc = " The max number of temporary slots to be scheduled per lease periods."] pub fn max_temporary_slot_per_lease_period( &self, - ) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "AssignedSlots", "MaxTemporarySlotPerLeasePeriod", [ @@ -39763,46 +42510,58 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::register_validators`]."] pub struct RegisterValidators { pub validators: register_validators::Validators, } pub mod register_validators { use super::runtime_types; - pub type Validators = ::std::vec::Vec<::subxt::utils::AccountId32>; + pub type Validators = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >; } - impl ::subxt::blocks::StaticExtrinsic for RegisterValidators { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for RegisterValidators { const PALLET: &'static str = "ValidatorManager"; const CALL: &'static str = "register_validators"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::deregister_validators`]."] pub struct DeregisterValidators { pub validators: deregister_validators::Validators, } pub mod deregister_validators { use super::runtime_types; - pub type Validators = ::std::vec::Vec<::subxt::utils::AccountId32>; + pub type Validators = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >; } - impl ::subxt::blocks::StaticExtrinsic for DeregisterValidators { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for DeregisterValidators { const PALLET: &'static str = "ValidatorManager"; const CALL: &'static str = "deregister_validators"; } @@ -39813,8 +42572,9 @@ pub mod api { pub fn register_validators( &self, validators: types::register_validators::Validators, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "ValidatorManager", "register_validators", types::RegisterValidators { validators }, @@ -39830,8 +42590,9 @@ pub mod api { pub fn deregister_validators( &self, validators: types::deregister_validators::Validators, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "ValidatorManager", "deregister_validators", types::DeregisterValidators { validators }, @@ -39850,42 +42611,46 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "New validators were added to the set."] pub struct ValidatorsRegistered(pub validators_registered::Field0); pub mod validators_registered { use super::runtime_types; - pub type Field0 = ::std::vec::Vec<::subxt::utils::AccountId32>; + pub type Field0 = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >; } - impl ::subxt::events::StaticEvent for ValidatorsRegistered { + impl ::subxt::ext::subxt_core::events::StaticEvent for ValidatorsRegistered { const PALLET: &'static str = "ValidatorManager"; const EVENT: &'static str = "ValidatorsRegistered"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Validators were removed from the set."] pub struct ValidatorsDeregistered(pub validators_deregistered::Field0); pub mod validators_deregistered { use super::runtime_types; - pub type Field0 = ::std::vec::Vec<::subxt::utils::AccountId32>; + pub type Field0 = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >; } - impl ::subxt::events::StaticEvent for ValidatorsDeregistered { + impl ::subxt::ext::subxt_core::events::StaticEvent for ValidatorsDeregistered { const PALLET: &'static str = "ValidatorManager"; const EVENT: &'static str = "ValidatorsDeregistered"; } @@ -39896,11 +42661,15 @@ pub mod api { use super::runtime_types; pub mod validators_to_retire { use super::runtime_types; - pub type ValidatorsToRetire = ::std::vec::Vec<::subxt::utils::AccountId32>; + pub type ValidatorsToRetire = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >; } pub mod validators_to_add { use super::runtime_types; - pub type ValidatorsToAdd = ::std::vec::Vec<::subxt::utils::AccountId32>; + pub type ValidatorsToAdd = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >; } } pub struct StorageApi; @@ -39908,17 +42677,17 @@ pub mod api { #[doc = " Validators that should be retired, because their Parachain was deregistered."] pub fn validators_to_retire( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::validators_to_retire::ValidatorsToRetire, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ValidatorManager", "ValidatorsToRetire", - vec![], + (), [ 137u8, 92u8, 99u8, 157u8, 254u8, 166u8, 190u8, 64u8, 111u8, 212u8, 37u8, 90u8, 164u8, 0u8, 31u8, 15u8, 83u8, 21u8, 225u8, 7u8, 57u8, @@ -39929,17 +42698,17 @@ pub mod api { #[doc = " Validators that should be added."] pub fn validators_to_add( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::validators_to_add::ValidatorsToAdd, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "ValidatorManager", "ValidatorsToAdd", - vec![], + (), [ 168u8, 209u8, 123u8, 225u8, 168u8, 62u8, 18u8, 174u8, 164u8, 161u8, 228u8, 179u8, 251u8, 112u8, 210u8, 173u8, 24u8, 177u8, 111u8, 129u8, @@ -39965,15 +42734,19 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::control_auto_migration`]."] pub struct ControlAutoMigration { pub maybe_config: control_auto_migration::MaybeConfig, @@ -39984,20 +42757,24 @@ pub mod api { runtime_types::pallet_state_trie_migration::pallet::MigrationLimits, >; } - impl ::subxt::blocks::StaticExtrinsic for ControlAutoMigration { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ControlAutoMigration { const PALLET: &'static str = "StateTrieMigration"; const CALL: &'static str = "control_auto_migration"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::continue_migrate`]."] pub struct ContinueMigrate { pub limits: continue_migrate::Limits, @@ -40012,20 +42789,24 @@ pub mod api { pub type WitnessTask = runtime_types::pallet_state_trie_migration::pallet::MigrationTask; } - impl ::subxt::blocks::StaticExtrinsic for ContinueMigrate { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ContinueMigrate { const PALLET: &'static str = "StateTrieMigration"; const CALL: &'static str = "continue_migrate"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::migrate_custom_top`]."] pub struct MigrateCustomTop { pub keys: migrate_custom_top::Keys, @@ -40033,23 +42814,29 @@ pub mod api { } pub mod migrate_custom_top { use super::runtime_types; - pub type Keys = ::std::vec::Vec<::std::vec::Vec<::core::primitive::u8>>; + pub type Keys = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >; pub type WitnessSize = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for MigrateCustomTop { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for MigrateCustomTop { const PALLET: &'static str = "StateTrieMigration"; const CALL: &'static str = "migrate_custom_top"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::migrate_custom_child`]."] pub struct MigrateCustomChild { pub root: migrate_custom_child::Root, @@ -40058,24 +42845,31 @@ pub mod api { } pub mod migrate_custom_child { use super::runtime_types; - pub type Root = ::std::vec::Vec<::core::primitive::u8>; - pub type ChildKeys = ::std::vec::Vec<::std::vec::Vec<::core::primitive::u8>>; + pub type Root = + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>; + pub type ChildKeys = ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >; pub type TotalSize = ::core::primitive::u32; } - impl ::subxt::blocks::StaticExtrinsic for MigrateCustomChild { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for MigrateCustomChild { const PALLET: &'static str = "StateTrieMigration"; const CALL: &'static str = "migrate_custom_child"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_signed_max_limits`]."] pub struct SetSignedMaxLimits { pub limits: set_signed_max_limits::Limits, @@ -40085,20 +42879,24 @@ pub mod api { pub type Limits = runtime_types::pallet_state_trie_migration::pallet::MigrationLimits; } - impl ::subxt::blocks::StaticExtrinsic for SetSignedMaxLimits { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetSignedMaxLimits { const PALLET: &'static str = "StateTrieMigration"; const CALL: &'static str = "set_signed_max_limits"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::force_set_progress`]."] pub struct ForceSetProgress { pub progress_top: force_set_progress::ProgressTop, @@ -40111,7 +42909,7 @@ pub mod api { pub type ProgressChild = runtime_types::pallet_state_trie_migration::pallet::Progress; } - impl ::subxt::blocks::StaticExtrinsic for ForceSetProgress { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for ForceSetProgress { const PALLET: &'static str = "StateTrieMigration"; const CALL: &'static str = "force_set_progress"; } @@ -40122,8 +42920,9 @@ pub mod api { pub fn control_auto_migration( &self, maybe_config: types::control_auto_migration::MaybeConfig, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "StateTrieMigration", "control_auto_migration", types::ControlAutoMigration { maybe_config }, @@ -40140,8 +42939,8 @@ pub mod api { limits: types::continue_migrate::Limits, real_size_upper: types::continue_migrate::RealSizeUpper, witness_task: types::continue_migrate::WitnessTask, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "StateTrieMigration", "continue_migrate", types::ContinueMigrate { @@ -40162,8 +42961,9 @@ pub mod api { &self, keys: types::migrate_custom_top::Keys, witness_size: types::migrate_custom_top::WitnessSize, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "StateTrieMigration", "migrate_custom_top", types::MigrateCustomTop { keys, witness_size }, @@ -40180,8 +42980,9 @@ pub mod api { root: types::migrate_custom_child::Root, child_keys: types::migrate_custom_child::ChildKeys, total_size: types::migrate_custom_child::TotalSize, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "StateTrieMigration", "migrate_custom_child", types::MigrateCustomChild { @@ -40200,8 +43001,9 @@ pub mod api { pub fn set_signed_max_limits( &self, limits: types::set_signed_max_limits::Limits, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "StateTrieMigration", "set_signed_max_limits", types::SetSignedMaxLimits { limits }, @@ -40217,8 +43019,9 @@ pub mod api { &self, progress_top: types::force_set_progress::ProgressTop, progress_child: types::force_set_progress::ProgressChild, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "StateTrieMigration", "force_set_progress", types::ForceSetProgress { @@ -40240,15 +43043,15 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Given number of `(top, child)` keys were migrated respectively, with the given"] #[doc = "`compute`."] pub struct Migrated { @@ -40263,20 +43066,20 @@ pub mod api { pub type Compute = runtime_types::pallet_state_trie_migration::pallet::MigrationCompute; } - impl ::subxt::events::StaticEvent for Migrated { + impl ::subxt::ext::subxt_core::events::StaticEvent for Migrated { const PALLET: &'static str = "StateTrieMigration"; const EVENT: &'static str = "Migrated"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Some account got slashed by the given amount."] pub struct Slashed { pub who: slashed::Who, @@ -40284,39 +43087,39 @@ pub mod api { } pub mod slashed { use super::runtime_types; - pub type Who = ::subxt::utils::AccountId32; + pub type Who = ::subxt::ext::subxt_core::utils::AccountId32; pub type Amount = ::core::primitive::u128; } - impl ::subxt::events::StaticEvent for Slashed { + impl ::subxt::ext::subxt_core::events::StaticEvent for Slashed { const PALLET: &'static str = "StateTrieMigration"; const EVENT: &'static str = "Slashed"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The auto migration task finished."] pub struct AutoMigrationFinished; - impl ::subxt::events::StaticEvent for AutoMigrationFinished { + impl ::subxt::ext::subxt_core::events::StaticEvent for AutoMigrationFinished { const PALLET: &'static str = "StateTrieMigration"; const EVENT: &'static str = "AutoMigrationFinished"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "Migration got halted due to an error or miss-configuration."] pub struct Halted { pub error: halted::Error, @@ -40325,7 +43128,7 @@ pub mod api { use super::runtime_types; pub type Error = runtime_types::pallet_state_trie_migration::pallet::Error; } - impl ::subxt::events::StaticEvent for Halted { + impl ::subxt::ext::subxt_core::events::StaticEvent for Halted { const PALLET: &'static str = "StateTrieMigration"; const EVENT: &'static str = "Halted"; } @@ -40359,17 +43162,17 @@ pub mod api { #[doc = " forward by any of the means provided by this pallet."] pub fn migration_process( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::migration_process::MigrationProcess, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "StateTrieMigration", "MigrationProcess", - vec![], + (), [ 119u8, 172u8, 143u8, 118u8, 90u8, 3u8, 154u8, 185u8, 165u8, 165u8, 249u8, 230u8, 77u8, 14u8, 221u8, 146u8, 75u8, 243u8, 69u8, 209u8, 79u8, @@ -40382,17 +43185,17 @@ pub mod api { #[doc = " If set to None, then no automatic migration happens."] pub fn auto_limits( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::auto_limits::AutoLimits, - ::subxt::storage::address::Yes, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "StateTrieMigration", "AutoLimits", - vec![], + (), [ 225u8, 29u8, 94u8, 66u8, 169u8, 230u8, 106u8, 20u8, 238u8, 81u8, 238u8, 183u8, 185u8, 74u8, 94u8, 58u8, 107u8, 174u8, 228u8, 10u8, 156u8, @@ -40405,17 +43208,17 @@ pub mod api { #[doc = " If not set, no signed submission is allowed."] pub fn signed_migration_max_limits( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::signed_migration_max_limits::SignedMigrationMaxLimits, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "StateTrieMigration", "SignedMigrationMaxLimits", - vec![], + (), [ 121u8, 97u8, 145u8, 237u8, 10u8, 145u8, 206u8, 119u8, 15u8, 12u8, 200u8, 24u8, 231u8, 140u8, 248u8, 227u8, 202u8, 78u8, 93u8, 134u8, @@ -40451,8 +43254,11 @@ pub mod api { #[doc = ""] #[doc = " For more info see"] #[doc = " "] - pub fn max_key_len(&self) -> ::subxt::constants::Address<::core::primitive::u32> { - ::subxt::constants::Address::new_static( + pub fn max_key_len( + &self, + ) -> ::subxt::ext::subxt_core::constants::Address<::core::primitive::u32> + { + ::subxt::ext::subxt_core::constants::Address::new_static( "StateTrieMigration", "MaxKeyLen", [ @@ -40466,120 +43272,6 @@ pub mod api { } } } - pub mod root_testing { - use super::root_mod; - use super::runtime_types; - #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] - pub type Call = runtime_types::pallet_root_testing::pallet::Call; - pub mod calls { - use super::root_mod; - use super::runtime_types; - type DispatchError = runtime_types::sp_runtime::DispatchError; - pub mod types { - use super::runtime_types; - #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, - Debug, - )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - #[doc = "See `Pallet::fill_block`."] - pub struct FillBlock { - pub ratio: fill_block::Ratio, - } - pub mod fill_block { - use super::runtime_types; - pub type Ratio = runtime_types::sp_arithmetic::per_things::Perbill; - } - impl ::subxt::blocks::StaticExtrinsic for FillBlock { - const PALLET: &'static str = "RootTesting"; - const CALL: &'static str = "fill_block"; - } - #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, - Debug, - )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - #[doc = "See `Pallet::trigger_defensive`."] - pub struct TriggerDefensive; - impl ::subxt::blocks::StaticExtrinsic for TriggerDefensive { - const PALLET: &'static str = "RootTesting"; - const CALL: &'static str = "trigger_defensive"; - } - } - pub struct TransactionApi; - impl TransactionApi { - #[doc = "See `Pallet::fill_block`."] - pub fn fill_block( - &self, - ratio: types::fill_block::Ratio, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( - "RootTesting", - "fill_block", - types::FillBlock { ratio }, - [ - 164u8, 37u8, 43u8, 91u8, 125u8, 34u8, 208u8, 126u8, 67u8, 94u8, 184u8, - 240u8, 68u8, 208u8, 41u8, 206u8, 172u8, 95u8, 111u8, 115u8, 9u8, 250u8, - 163u8, 66u8, 240u8, 0u8, 237u8, 140u8, 87u8, 57u8, 162u8, 117u8, - ], - ) - } - #[doc = "See `Pallet::trigger_defensive`."] - pub fn trigger_defensive(&self) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( - "RootTesting", - "trigger_defensive", - types::TriggerDefensive {}, - [ - 170u8, 234u8, 12u8, 158u8, 10u8, 171u8, 161u8, 144u8, 101u8, 67u8, - 150u8, 128u8, 105u8, 234u8, 223u8, 60u8, 241u8, 245u8, 112u8, 21u8, - 80u8, 216u8, 72u8, 147u8, 22u8, 125u8, 19u8, 200u8, 171u8, 153u8, 88u8, - 194u8, - ], - ) - } - } - } - #[doc = "The `Event` enum of this pallet"] - pub type Event = runtime_types::pallet_root_testing::pallet::Event; - pub mod events { - use super::runtime_types; - #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, - Debug, - )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - #[doc = "Event dispatched when the trigger_defensive extrinsic is called."] - pub struct DefensiveTestCall; - impl ::subxt::events::StaticEvent for DefensiveTestCall { - const PALLET: &'static str = "RootTesting"; - const EVENT: &'static str = "DefensiveTestCall"; - } - } - pub mod storage { - use super::runtime_types; - pub mod types { - use super::runtime_types; - } - pub struct StorageApi; - impl StorageApi {} - } - } pub mod sudo { use super::root_mod; use super::runtime_types; @@ -40594,40 +43286,49 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::sudo`]."] pub struct Sudo { - pub call: ::std::boxed::Box, + pub call: ::subxt::ext::subxt_core::alloc::boxed::Box, } pub mod sudo { use super::runtime_types; pub type Call = runtime_types::rococo_runtime::RuntimeCall; } - impl ::subxt::blocks::StaticExtrinsic for Sudo { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for Sudo { const PALLET: &'static str = "Sudo"; const CALL: &'static str = "sudo"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::sudo_unchecked_weight`]."] pub struct SudoUncheckedWeight { - pub call: ::std::boxed::Box, + pub call: + ::subxt::ext::subxt_core::alloc::boxed::Box, pub weight: sudo_unchecked_weight::Weight, } pub mod sudo_unchecked_weight { @@ -40635,53 +43336,67 @@ pub mod api { pub type Call = runtime_types::rococo_runtime::RuntimeCall; pub type Weight = runtime_types::sp_weights::weight_v2::Weight; } - impl ::subxt::blocks::StaticExtrinsic for SudoUncheckedWeight { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SudoUncheckedWeight { const PALLET: &'static str = "Sudo"; const CALL: &'static str = "sudo_unchecked_weight"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::set_key`]."] pub struct SetKey { pub new: set_key::New, } pub mod set_key { use super::runtime_types; - pub type New = ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type New = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; } - impl ::subxt::blocks::StaticExtrinsic for SetKey { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SetKey { const PALLET: &'static str = "Sudo"; const CALL: &'static str = "set_key"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "See [`Pallet::sudo_as`]."] pub struct SudoAs { pub who: sudo_as::Who, - pub call: ::std::boxed::Box, + pub call: ::subxt::ext::subxt_core::alloc::boxed::Box, } pub mod sudo_as { use super::runtime_types; - pub type Who = ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>; + pub type Who = ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >; pub type Call = runtime_types::rococo_runtime::RuntimeCall; } - impl ::subxt::blocks::StaticExtrinsic for SudoAs { + impl ::subxt::ext::subxt_core::blocks::StaticExtrinsic for SudoAs { const PALLET: &'static str = "Sudo"; const CALL: &'static str = "sudo_as"; } @@ -40689,18 +43404,20 @@ pub mod api { pub struct TransactionApi; impl TransactionApi { #[doc = "See [`Pallet::sudo`]."] - pub fn sudo(&self, call: types::sudo::Call) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + pub fn sudo( + &self, + call: types::sudo::Call, + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Sudo", "sudo", types::Sudo { - call: ::std::boxed::Box::new(call), + call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call), }, [ - 230u8, 66u8, 61u8, 240u8, 132u8, 75u8, 17u8, 14u8, 12u8, 233u8, 24u8, - 192u8, 91u8, 200u8, 209u8, 133u8, 251u8, 154u8, 221u8, 95u8, 165u8, - 112u8, 49u8, 192u8, 126u8, 134u8, 46u8, 221u8, 150u8, 120u8, 178u8, - 103u8, + 56u8, 148u8, 134u8, 0u8, 111u8, 126u8, 24u8, 154u8, 223u8, 48u8, 246u8, + 206u8, 238u8, 120u8, 128u8, 149u8, 172u8, 101u8, 130u8, 156u8, 150u8, + 30u8, 8u8, 160u8, 241u8, 58u8, 220u8, 53u8, 75u8, 115u8, 77u8, 222u8, ], ) } @@ -40709,19 +43426,20 @@ pub mod api { &self, call: types::sudo_unchecked_weight::Call, weight: types::sudo_unchecked_weight::Weight, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload + { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Sudo", "sudo_unchecked_weight", types::SudoUncheckedWeight { - call: ::std::boxed::Box::new(call), + call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call), weight, }, [ - 39u8, 207u8, 214u8, 172u8, 135u8, 112u8, 167u8, 27u8, 210u8, 182u8, - 160u8, 163u8, 128u8, 207u8, 98u8, 136u8, 35u8, 14u8, 163u8, 243u8, - 224u8, 232u8, 254u8, 35u8, 244u8, 13u8, 212u8, 137u8, 99u8, 158u8, - 249u8, 164u8, + 125u8, 67u8, 243u8, 4u8, 12u8, 40u8, 182u8, 28u8, 143u8, 31u8, 201u8, + 50u8, 55u8, 136u8, 117u8, 189u8, 112u8, 186u8, 22u8, 25u8, 127u8, + 223u8, 255u8, 50u8, 111u8, 207u8, 85u8, 125u8, 59u8, 179u8, 239u8, + 212u8, ], ) } @@ -40729,8 +43447,8 @@ pub mod api { pub fn set_key( &self, new: types::set_key::New, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Sudo", "set_key", types::SetKey { new }, @@ -40746,18 +43464,19 @@ pub mod api { &self, who: types::sudo_as::Who, call: types::sudo_as::Call, - ) -> ::subxt::tx::Payload { - ::subxt::tx::Payload::new_static( + ) -> ::subxt::ext::subxt_core::tx::Payload { + ::subxt::ext::subxt_core::tx::Payload::new_static( "Sudo", "sudo_as", types::SudoAs { who, - call: ::std::boxed::Box::new(call), + call: ::subxt::ext::subxt_core::alloc::boxed::Box::new(call), }, [ - 97u8, 37u8, 226u8, 52u8, 181u8, 51u8, 13u8, 232u8, 250u8, 246u8, 195u8, - 219u8, 186u8, 236u8, 187u8, 3u8, 246u8, 172u8, 203u8, 35u8, 30u8, - 227u8, 242u8, 134u8, 51u8, 90u8, 105u8, 119u8, 1u8, 65u8, 79u8, 36u8, + 149u8, 84u8, 143u8, 109u8, 44u8, 175u8, 20u8, 56u8, 122u8, 248u8, + 185u8, 163u8, 218u8, 12u8, 170u8, 231u8, 118u8, 189u8, 252u8, 27u8, + 35u8, 172u8, 2u8, 108u8, 63u8, 210u8, 245u8, 96u8, 162u8, 100u8, 15u8, + 39u8, ], ) } @@ -40768,15 +43487,15 @@ pub mod api { pub mod events { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A sudo call just took place."] pub struct Sudid { pub sudo_result: sudid::SudoResult, @@ -40786,42 +43505,43 @@ pub mod api { pub type SudoResult = ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>; } - impl ::subxt::events::StaticEvent for Sudid { + impl ::subxt::ext::subxt_core::events::StaticEvent for Sudid { const PALLET: &'static str = "Sudo"; const EVENT: &'static str = "Sudid"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "The sudo key has been updated."] pub struct KeyChanged { pub old_sudoer: key_changed::OldSudoer, } pub mod key_changed { use super::runtime_types; - pub type OldSudoer = ::core::option::Option<::subxt::utils::AccountId32>; + pub type OldSudoer = + ::core::option::Option<::subxt::ext::subxt_core::utils::AccountId32>; } - impl ::subxt::events::StaticEvent for KeyChanged { + impl ::subxt::ext::subxt_core::events::StaticEvent for KeyChanged { const PALLET: &'static str = "Sudo"; const EVENT: &'static str = "KeyChanged"; } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] #[doc = "A [sudo_as](Pallet::sudo_as) call just took place."] pub struct SudoAsDone { pub sudo_result: sudo_as_done::SudoResult, @@ -40831,7 +43551,7 @@ pub mod api { pub type SudoResult = ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>; } - impl ::subxt::events::StaticEvent for SudoAsDone { + impl ::subxt::ext::subxt_core::events::StaticEvent for SudoAsDone { const PALLET: &'static str = "Sudo"; const EVENT: &'static str = "SudoAsDone"; } @@ -40842,7 +43562,7 @@ pub mod api { use super::runtime_types; pub mod key { use super::runtime_types; - pub type Key = ::subxt::utils::AccountId32; + pub type Key = ::subxt::ext::subxt_core::utils::AccountId32; } } pub struct StorageApi; @@ -40850,17 +43570,17 @@ pub mod api { #[doc = " The `AccountId` of the sudo key."] pub fn key( &self, - ) -> ::subxt::storage::address::Address< - ::subxt::storage::address::StaticStorageMapKey, + ) -> ::subxt::ext::subxt_core::storage::address::Address< + (), types::key::Key, - ::subxt::storage::address::Yes, + ::subxt::ext::subxt_core::utils::Yes, (), (), > { - ::subxt::storage::address::Address::new_static( + ::subxt::ext::subxt_core::storage::address::Address::new_static( "Sudo", "Key", - vec![], + (), [ 72u8, 14u8, 225u8, 162u8, 205u8, 247u8, 227u8, 105u8, 116u8, 57u8, 4u8, 31u8, 84u8, 137u8, 227u8, 228u8, 133u8, 245u8, 206u8, 227u8, 117u8, @@ -40878,74 +43598,563 @@ pub mod api { pub mod bounded_vec { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - pub struct BoundedVec<_0>(pub ::std::vec::Vec<_0>); + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct BoundedVec1<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Debug, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct BoundedVec10<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Debug, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct BoundedVec11<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Debug, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct BoundedVec12<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Debug, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct BoundedVec13<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Debug, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct BoundedVec14<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Debug, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct BoundedVec15<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Debug, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct BoundedVec16<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Debug, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct BoundedVec17<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Debug, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct BoundedVec18<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Debug, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct BoundedVec19<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Debug, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct BoundedVec2<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Debug, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct BoundedVec20<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Debug, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct BoundedVec21<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Debug, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct BoundedVec22<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Debug, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct BoundedVec23<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Debug, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct BoundedVec24<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Debug, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct BoundedVec25<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Debug, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct BoundedVec26<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Debug, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct BoundedVec27<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Debug, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct BoundedVec28<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Debug, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct BoundedVec3<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Debug, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct BoundedVec4<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Debug, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct BoundedVec5<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Debug, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct BoundedVec6<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Debug, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct BoundedVec7<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Debug, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct BoundedVec8<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Debug, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct BoundedVec9<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); } pub mod weak_bounded_vec { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - pub struct WeakBoundedVec<_0>(pub ::std::vec::Vec<_0>); + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct WeakBoundedVec1<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Debug, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct WeakBoundedVec2<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Debug, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct WeakBoundedVec3<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Debug, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct WeakBoundedVec4<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Debug, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct WeakBoundedVec5<_0>(pub ::subxt::ext::subxt_core::alloc::vec::Vec<_0>); } } pub mod finality_grandpa { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - pub struct Equivocation<_0, _1, _2> { + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + pub struct Equivocation1<_0, _1, _2> { pub round_number: ::core::primitive::u64, pub identity: _0, pub first: (_1, _2), pub second: (_1, _2), } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + pub struct Equivocation2<_0, _1, _2> { + pub round_number: ::core::primitive::u64, + pub identity: _0, + pub first: (_1, _2), + pub second: (_1, _2), + } + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Debug, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct Precommit<_0, _1> { pub target_hash: _0, pub target_number: _1, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct Prevote<_0, _1> { pub target_hash: _0, pub target_number: _1, @@ -40956,15 +44165,19 @@ pub mod api { pub mod dispatch { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum DispatchClass { #[codec(index = 0)] Normal, @@ -40974,30 +44187,38 @@ pub mod api { Mandatory, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct DispatchInfo { pub weight: runtime_types::sp_weights::weight_v2::Weight, pub class: runtime_types::frame_support::dispatch::DispatchClass, pub pays_fee: runtime_types::frame_support::dispatch::Pays, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum Pays { #[codec(index = 0)] Yes, @@ -41005,45 +44226,57 @@ pub mod api { No, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct PerDispatchClass<_0> { pub normal: _0, pub operational: _0, pub mandatory: _0, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct PostDispatchInfo { pub actual_weight: ::core::option::Option, pub pays_fee: runtime_types::frame_support::dispatch::Pays, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum RawOrigin<_0> { #[codec(index = 0)] Root, @@ -41058,15 +44291,19 @@ pub mod api { pub mod messages { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum ProcessMessageError { #[codec(index = 0)] BadFormat, @@ -41083,29 +44320,33 @@ pub mod api { pub mod preimages { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum Bounded<_0, _1> { #[codec(index = 0)] Legacy { - hash: ::subxt::utils::H256, + hash: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 1)] Inline( - runtime_types::bounded_collections::bounded_vec::BoundedVec< + runtime_types::bounded_collections::bounded_vec::BoundedVec5< ::core::primitive::u8, >, ), #[codec(index = 2)] Lookup { - hash: ::subxt::utils::H256, + hash: ::subxt::ext::subxt_core::utils::H256, len: ::core::primitive::u32, }, __Ignore(::core::marker::PhantomData<(_0, _1)>), @@ -41114,15 +44355,19 @@ pub mod api { pub mod schedule { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum DispatchTime<_0> { #[codec(index = 0)] At(_0), @@ -41135,30 +44380,38 @@ pub mod api { pub mod fungible { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: CompactAs, - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct HoldConsideration(pub ::core::primitive::u128); } pub mod misc { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum BalanceStatus { #[codec(index = 0)] Free, @@ -41169,15 +44422,15 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct PalletId(pub [::core::primitive::u8; 8usize]); } pub mod frame_system { @@ -41187,129 +44440,165 @@ pub mod api { pub mod check_genesis { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct CheckGenesis; } pub mod check_mortality { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct CheckMortality(pub runtime_types::sp_runtime::generic::era::Era); } pub mod check_non_zero_sender { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct CheckNonZeroSender; } pub mod check_nonce { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct CheckNonce(#[codec(compact)] pub ::core::primitive::u32); } pub mod check_spec_version { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct CheckSpecVersion; } pub mod check_tx_version { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct CheckTxVersion; } pub mod check_weight { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct CheckWeight; } } pub mod limits { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct BlockLength { pub max: runtime_types::frame_support::dispatch::PerDispatchClass< ::core::primitive::u32, >, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct BlockWeights { pub base_block: runtime_types::sp_weights::weight_v2::Weight, pub max_block: runtime_types::sp_weights::weight_v2::Weight, @@ -41318,15 +44607,19 @@ pub mod api { >, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct WeightsPerClass { pub base_extrinsic: runtime_types::sp_weights::weight_v2::Weight, pub max_extrinsic: @@ -41340,21 +44633,25 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] #[doc = "See [`Pallet::remark`]."] remark { - remark: ::std::vec::Vec<::core::primitive::u8>, + remark: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, #[codec(index = 1)] #[doc = "See [`Pallet::set_heap_pages`]."] @@ -41362,48 +44659,54 @@ pub mod api { #[codec(index = 2)] #[doc = "See [`Pallet::set_code`]."] set_code { - code: ::std::vec::Vec<::core::primitive::u8>, + code: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, #[codec(index = 3)] #[doc = "See [`Pallet::set_code_without_checks`]."] set_code_without_checks { - code: ::std::vec::Vec<::core::primitive::u8>, + code: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, #[codec(index = 4)] #[doc = "See [`Pallet::set_storage`]."] set_storage { - items: ::std::vec::Vec<( - ::std::vec::Vec<::core::primitive::u8>, - ::std::vec::Vec<::core::primitive::u8>, + items: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, )>, }, #[codec(index = 5)] #[doc = "See [`Pallet::kill_storage`]."] kill_storage { - keys: ::std::vec::Vec<::std::vec::Vec<::core::primitive::u8>>, + keys: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >, }, #[codec(index = 6)] #[doc = "See [`Pallet::kill_prefix`]."] kill_prefix { - prefix: ::std::vec::Vec<::core::primitive::u8>, + prefix: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, subkeys: ::core::primitive::u32, }, #[codec(index = 7)] #[doc = "See [`Pallet::remark_with_event`]."] remark_with_event { - remark: ::std::vec::Vec<::core::primitive::u8>, + remark: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Error for the System pallet"] pub enum Error { #[codec(index = 0)] @@ -41430,15 +44733,19 @@ pub mod api { CallFiltered, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Event for the System pallet."] pub enum Event { #[codec(index = 0)] @@ -41458,31 +44765,31 @@ pub mod api { #[codec(index = 3)] #[doc = "A new account was created."] NewAccount { - account: ::subxt::utils::AccountId32, + account: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 4)] #[doc = "An account was reaped."] KilledAccount { - account: ::subxt::utils::AccountId32, + account: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 5)] #[doc = "On on-chain remark happened."] Remarked { - sender: ::subxt::utils::AccountId32, - hash: ::subxt::utils::H256, + sender: ::subxt::ext::subxt_core::utils::AccountId32, + hash: ::subxt::ext::subxt_core::utils::H256, }, } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct AccountInfo<_0, _1> { pub nonce: _0, pub consumers: ::core::primitive::u32, @@ -41491,45 +44798,45 @@ pub mod api { pub data: _1, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct EventRecord<_0, _1> { pub phase: runtime_types::frame_system::Phase, pub event: _0, - pub topics: ::std::vec::Vec<_1>, + pub topics: ::subxt::ext::subxt_core::alloc::vec::Vec<_1>, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct LastRuntimeUpgradeInfo { #[codec(compact)] pub spec_version: ::core::primitive::u32, - pub spec_name: ::std::string::String, + pub spec_name: ::subxt::ext::subxt_core::alloc::string::String, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum Phase { #[codec(index = 0)] ApplyExtrinsic(::core::primitive::u32), @@ -41544,21 +44851,25 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] #[doc = "See [`Pallet::create`]."] create { - asset_kind: ::std::boxed::Box< + asset_kind: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::polkadot_runtime_common::impls::VersionedLocatableAsset, >, rate: runtime_types::sp_arithmetic::fixed_point::FixedU128, @@ -41566,7 +44877,7 @@ pub mod api { #[codec(index = 1)] #[doc = "See [`Pallet::update`]."] update { - asset_kind: ::std::boxed::Box< + asset_kind: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::polkadot_runtime_common::impls::VersionedLocatableAsset, >, rate: runtime_types::sp_arithmetic::fixed_point::FixedU128, @@ -41574,21 +44885,25 @@ pub mod api { #[codec(index = 2)] #[doc = "See [`Pallet::remove`]."] remove { - asset_kind: ::std::boxed::Box< + asset_kind: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::polkadot_runtime_common::impls::VersionedLocatableAsset, >, }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -41599,15 +44914,19 @@ pub mod api { AlreadyExists, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] @@ -41636,21 +44955,25 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] #[doc = "See [`Pallet::report_equivocation`]."] report_equivocation { - equivocation_proof: ::std::boxed::Box< + equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::sp_consensus_slots::EquivocationProof< runtime_types::sp_runtime::generic::header::Header< ::core::primitive::u32, @@ -41663,7 +44986,7 @@ pub mod api { #[codec(index = 1)] #[doc = "See [`Pallet::report_equivocation_unsigned`]."] report_equivocation_unsigned { - equivocation_proof: ::std::boxed::Box< + equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::sp_consensus_slots::EquivocationProof< runtime_types::sp_runtime::generic::header::Header< ::core::primitive::u32, @@ -41680,15 +45003,19 @@ pub mod api { }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -41711,133 +45038,105 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] #[doc = "See [`Pallet::transfer_allow_death`]."] transfer_allow_death { - dest: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + dest: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, #[codec(compact)] value: ::core::primitive::u128, }, #[codec(index = 2)] #[doc = "See [`Pallet::force_transfer`]."] force_transfer { - source: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, - dest: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + source: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, + dest: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, #[codec(compact)] value: ::core::primitive::u128, }, #[codec(index = 3)] #[doc = "See [`Pallet::transfer_keep_alive`]."] transfer_keep_alive { - dest: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + dest: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, #[codec(compact)] value: ::core::primitive::u128, }, #[codec(index = 4)] #[doc = "See [`Pallet::transfer_all`]."] transfer_all { - dest: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + dest: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, keep_alive: ::core::primitive::bool, }, #[codec(index = 5)] #[doc = "See [`Pallet::force_unreserve`]."] force_unreserve { - who: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + who: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, amount: ::core::primitive::u128, }, #[codec(index = 6)] #[doc = "See [`Pallet::upgrade_accounts`]."] upgrade_accounts { - who: ::std::vec::Vec<::subxt::utils::AccountId32>, + who: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >, }, #[codec(index = 8)] #[doc = "See [`Pallet::force_set_balance`]."] force_set_balance { - who: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + who: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, #[codec(compact)] new_free: ::core::primitive::u128, }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] - pub enum Call2 { - #[codec(index = 0)] - #[doc = "See [`Pallet::transfer_allow_death`]."] - transfer_allow_death { - dest: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, - #[codec(compact)] - value: ::core::primitive::u128, - }, - #[codec(index = 2)] - #[doc = "See [`Pallet::force_transfer`]."] - force_transfer { - source: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, - dest: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, - #[codec(compact)] - value: ::core::primitive::u128, - }, - #[codec(index = 3)] - #[doc = "See [`Pallet::transfer_keep_alive`]."] - transfer_keep_alive { - dest: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, - #[codec(compact)] - value: ::core::primitive::u128, - }, - #[codec(index = 4)] - #[doc = "See [`Pallet::transfer_all`]."] - transfer_all { - dest: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, - keep_alive: ::core::primitive::bool, - }, - #[codec(index = 5)] - #[doc = "See [`Pallet::force_unreserve`]."] - force_unreserve { - who: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, - amount: ::core::primitive::u128, - }, - #[codec(index = 6)] - #[doc = "See [`Pallet::upgrade_accounts`]."] - upgrade_accounts { - who: ::std::vec::Vec<::subxt::utils::AccountId32>, - }, - #[codec(index = 8)] - #[doc = "See [`Pallet::force_set_balance`]."] - force_set_balance { - who: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, - #[codec(compact)] - new_free: ::core::primitive::u128, - }, - } - #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, - Debug, + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -41872,104 +45171,65 @@ pub mod api { TooManyFreezes, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - #[doc = "The `Error` enum of this pallet."] - pub enum Error2 { - #[codec(index = 0)] - #[doc = "Vesting balance too high to send value."] - VestingBalance, - #[codec(index = 1)] - #[doc = "Account liquidity restrictions prevent withdrawal."] - LiquidityRestrictions, - #[codec(index = 2)] - #[doc = "Balance too low to send value."] - InsufficientBalance, - #[codec(index = 3)] - #[doc = "Value too low to create account due to existential deposit."] - ExistentialDeposit, - #[codec(index = 4)] - #[doc = "Transfer/payment would kill account."] - Expendability, - #[codec(index = 5)] - #[doc = "A vesting schedule already exists for this account."] - ExistingVestingSchedule, - #[codec(index = 6)] - #[doc = "Beneficiary account must pre-exist."] - DeadAccount, - #[codec(index = 7)] - #[doc = "Number of named reserves exceed `MaxReserves`."] - TooManyReserves, - #[codec(index = 8)] - #[doc = "Number of holds exceed `MaxHolds`."] - TooManyHolds, - #[codec(index = 9)] - #[doc = "Number of freezes exceed `MaxFreezes`."] - TooManyFreezes, - } - #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, - Debug, + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] #[doc = "An account was created with some free balance."] Endowed { - account: ::subxt::utils::AccountId32, + account: ::subxt::ext::subxt_core::utils::AccountId32, free_balance: ::core::primitive::u128, }, #[codec(index = 1)] #[doc = "An account was removed whose balance was non-zero but below ExistentialDeposit,"] #[doc = "resulting in an outright loss."] DustLost { - account: ::subxt::utils::AccountId32, + account: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 2)] #[doc = "Transfer succeeded."] Transfer { - from: ::subxt::utils::AccountId32, - to: ::subxt::utils::AccountId32, + from: ::subxt::ext::subxt_core::utils::AccountId32, + to: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 3)] #[doc = "A balance was set by root."] BalanceSet { - who: ::subxt::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, free: ::core::primitive::u128, }, #[codec(index = 4)] #[doc = "Some balance was reserved (moved from free to reserved)."] Reserved { - who: ::subxt::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 5)] #[doc = "Some balance was unreserved (moved from reserved to free)."] Unreserved { - who: ::subxt::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 6)] #[doc = "Some balance was moved from the reserve of the first account to the second account."] #[doc = "Final argument indicates the destination balance type."] ReserveRepatriated { - from: ::subxt::utils::AccountId32, - to: ::subxt::utils::AccountId32, + from: ::subxt::ext::subxt_core::utils::AccountId32, + to: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, destination_status: runtime_types::frame_support::traits::tokens::misc::BalanceStatus, @@ -41977,48 +45237,50 @@ pub mod api { #[codec(index = 7)] #[doc = "Some amount was deposited (e.g. for transaction fees)."] Deposit { - who: ::subxt::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 8)] #[doc = "Some amount was withdrawn from the account (e.g. for transaction fees)."] Withdraw { - who: ::subxt::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 9)] #[doc = "Some amount was removed from the account (e.g. for misbehavior)."] Slashed { - who: ::subxt::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 10)] #[doc = "Some amount was minted into an account."] Minted { - who: ::subxt::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 11)] #[doc = "Some amount was burned from an account."] Burned { - who: ::subxt::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 12)] #[doc = "Some amount was suspended from an account (it can be restored later)."] Suspended { - who: ::subxt::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 13)] #[doc = "Some amount was restored into an account."] Restored { - who: ::subxt::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 14)] #[doc = "An account was upgraded."] - Upgraded { who: ::subxt::utils::AccountId32 }, + Upgraded { + who: ::subxt::ext::subxt_core::utils::AccountId32, + }, #[codec(index = 15)] #[doc = "Total issuance was increased by `amount`, creating a credit to be balanced."] Issued { amount: ::core::primitive::u128 }, @@ -42028,161 +45290,25 @@ pub mod api { #[codec(index = 17)] #[doc = "Some balance was locked."] Locked { - who: ::subxt::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 18)] #[doc = "Some balance was unlocked."] Unlocked { - who: ::subxt::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 19)] #[doc = "Some balance was frozen."] Frozen { - who: ::subxt::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 20)] #[doc = "Some balance was thawed."] Thawed { - who: ::subxt::utils::AccountId32, - amount: ::core::primitive::u128, - }, - } - #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, - Debug, - )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - #[doc = "The `Event` enum of this pallet"] - pub enum Event2 { - #[codec(index = 0)] - #[doc = "An account was created with some free balance."] - Endowed { - account: ::subxt::utils::AccountId32, - free_balance: ::core::primitive::u128, - }, - #[codec(index = 1)] - #[doc = "An account was removed whose balance was non-zero but below ExistentialDeposit,"] - #[doc = "resulting in an outright loss."] - DustLost { - account: ::subxt::utils::AccountId32, - amount: ::core::primitive::u128, - }, - #[codec(index = 2)] - #[doc = "Transfer succeeded."] - Transfer { - from: ::subxt::utils::AccountId32, - to: ::subxt::utils::AccountId32, - amount: ::core::primitive::u128, - }, - #[codec(index = 3)] - #[doc = "A balance was set by root."] - BalanceSet { - who: ::subxt::utils::AccountId32, - free: ::core::primitive::u128, - }, - #[codec(index = 4)] - #[doc = "Some balance was reserved (moved from free to reserved)."] - Reserved { - who: ::subxt::utils::AccountId32, - amount: ::core::primitive::u128, - }, - #[codec(index = 5)] - #[doc = "Some balance was unreserved (moved from reserved to free)."] - Unreserved { - who: ::subxt::utils::AccountId32, - amount: ::core::primitive::u128, - }, - #[codec(index = 6)] - #[doc = "Some balance was moved from the reserve of the first account to the second account."] - #[doc = "Final argument indicates the destination balance type."] - ReserveRepatriated { - from: ::subxt::utils::AccountId32, - to: ::subxt::utils::AccountId32, - amount: ::core::primitive::u128, - destination_status: - runtime_types::frame_support::traits::tokens::misc::BalanceStatus, - }, - #[codec(index = 7)] - #[doc = "Some amount was deposited (e.g. for transaction fees)."] - Deposit { - who: ::subxt::utils::AccountId32, - amount: ::core::primitive::u128, - }, - #[codec(index = 8)] - #[doc = "Some amount was withdrawn from the account (e.g. for transaction fees)."] - Withdraw { - who: ::subxt::utils::AccountId32, - amount: ::core::primitive::u128, - }, - #[codec(index = 9)] - #[doc = "Some amount was removed from the account (e.g. for misbehavior)."] - Slashed { - who: ::subxt::utils::AccountId32, - amount: ::core::primitive::u128, - }, - #[codec(index = 10)] - #[doc = "Some amount was minted into an account."] - Minted { - who: ::subxt::utils::AccountId32, - amount: ::core::primitive::u128, - }, - #[codec(index = 11)] - #[doc = "Some amount was burned from an account."] - Burned { - who: ::subxt::utils::AccountId32, - amount: ::core::primitive::u128, - }, - #[codec(index = 12)] - #[doc = "Some amount was suspended from an account (it can be restored later)."] - Suspended { - who: ::subxt::utils::AccountId32, - amount: ::core::primitive::u128, - }, - #[codec(index = 13)] - #[doc = "Some amount was restored into an account."] - Restored { - who: ::subxt::utils::AccountId32, - amount: ::core::primitive::u128, - }, - #[codec(index = 14)] - #[doc = "An account was upgraded."] - Upgraded { who: ::subxt::utils::AccountId32 }, - #[codec(index = 15)] - #[doc = "Total issuance was increased by `amount`, creating a credit to be balanced."] - Issued { amount: ::core::primitive::u128 }, - #[codec(index = 16)] - #[doc = "Total issuance was decreased by `amount`, creating a debt to be balanced."] - Rescinded { amount: ::core::primitive::u128 }, - #[codec(index = 17)] - #[doc = "Some balance was locked."] - Locked { - who: ::subxt::utils::AccountId32, - amount: ::core::primitive::u128, - }, - #[codec(index = 18)] - #[doc = "Some balance was unlocked."] - Unlocked { - who: ::subxt::utils::AccountId32, - amount: ::core::primitive::u128, - }, - #[codec(index = 19)] - #[doc = "Some balance was frozen."] - Frozen { - who: ::subxt::utils::AccountId32, - amount: ::core::primitive::u128, - }, - #[codec(index = 20)] - #[doc = "Some balance was thawed."] - Thawed { - who: ::subxt::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, } @@ -42190,15 +45316,19 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct AccountData<_0> { pub free: _0, pub reserved: _0, @@ -42206,56 +45336,72 @@ pub mod api { pub flags: runtime_types::pallet_balances::types::ExtraFlags, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct BalanceLock<_0> { pub id: [::core::primitive::u8; 8usize], pub amount: _0, pub reasons: runtime_types::pallet_balances::types::Reasons, } #[derive( - :: subxt :: ext :: codec :: CompactAs, - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct ExtraFlags(pub ::core::primitive::u128); #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct IdAmount<_0, _1> { pub id: _0, pub amount: _1, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum Reasons { #[codec(index = 0)] Fee, @@ -42265,15 +45411,19 @@ pub mod api { All, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct ReserveData<_0, _1> { pub id: _0, pub amount: _1, @@ -42285,21 +45435,25 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] #[doc = "See [`Pallet::report_equivocation`]."] report_equivocation { - equivocation_proof: ::std::boxed::Box< + equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::sp_consensus_beefy::EquivocationProof< ::core::primitive::u32, runtime_types::sp_consensus_beefy::ecdsa_crypto::Public, @@ -42311,7 +45465,7 @@ pub mod api { #[codec(index = 1)] #[doc = "See [`Pallet::report_equivocation_unsigned`]."] report_equivocation_unsigned { - equivocation_proof: ::std::boxed::Box< + equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::sp_consensus_beefy::EquivocationProof< ::core::primitive::u32, runtime_types::sp_consensus_beefy::ecdsa_crypto::Public, @@ -42327,15 +45481,19 @@ pub mod api { }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -42358,15 +45516,19 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -42374,7 +45536,8 @@ pub mod api { propose_bounty { #[codec(compact)] value: ::core::primitive::u128, - description: ::std::vec::Vec<::core::primitive::u8>, + description: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, #[codec(index = 1)] #[doc = "See [`Pallet::approve_bounty`]."] @@ -42387,7 +45550,10 @@ pub mod api { propose_curator { #[codec(compact)] bounty_id: ::core::primitive::u32, - curator: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + curator: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, #[codec(compact)] fee: ::core::primitive::u128, }, @@ -42408,7 +45574,10 @@ pub mod api { award_bounty { #[codec(compact)] bounty_id: ::core::primitive::u32, - beneficiary: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + beneficiary: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, }, #[codec(index = 6)] #[doc = "See [`Pallet::claim_bounty`]."] @@ -42427,19 +45596,23 @@ pub mod api { extend_bounty_expiry { #[codec(compact)] bounty_id: ::core::primitive::u32, - remark: ::std::vec::Vec<::core::primitive::u8>, + remark: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -42478,15 +45651,19 @@ pub mod api { TooManyQueued, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] @@ -42505,14 +45682,14 @@ pub mod api { #[doc = "A bounty is awarded to a beneficiary."] BountyAwarded { index: ::core::primitive::u32, - beneficiary: ::subxt::utils::AccountId32, + beneficiary: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 4)] #[doc = "A bounty is claimed by beneficiary."] BountyClaimed { index: ::core::primitive::u32, payout: ::core::primitive::u128, - beneficiary: ::subxt::utils::AccountId32, + beneficiary: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 5)] #[doc = "A bounty is cancelled."] @@ -42527,7 +45704,7 @@ pub mod api { #[doc = "A bounty curator is proposed."] CuratorProposed { bounty_id: ::core::primitive::u32, - curator: ::subxt::utils::AccountId32, + curator: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 9)] #[doc = "A bounty curator is unassigned."] @@ -42536,20 +45713,20 @@ pub mod api { #[doc = "A bounty curator is accepted."] CuratorAccepted { bounty_id: ::core::primitive::u32, - curator: ::subxt::utils::AccountId32, + curator: ::subxt::ext::subxt_core::utils::AccountId32, }, } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct Bounty<_0, _1, _2> { pub proposer: _0, pub value: _1, @@ -42559,15 +45736,15 @@ pub mod api { pub status: runtime_types::pallet_bounties::BountyStatus<_0, _2>, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum BountyStatus<_0, _1> { #[codec(index = 0)] Proposed, @@ -42592,15 +45769,19 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -42610,7 +45791,8 @@ pub mod api { parent_bounty_id: ::core::primitive::u32, #[codec(compact)] value: ::core::primitive::u128, - description: ::std::vec::Vec<::core::primitive::u8>, + description: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, #[codec(index = 1)] #[doc = "See [`Pallet::propose_curator`]."] @@ -42619,7 +45801,10 @@ pub mod api { parent_bounty_id: ::core::primitive::u32, #[codec(compact)] child_bounty_id: ::core::primitive::u32, - curator: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + curator: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, #[codec(compact)] fee: ::core::primitive::u128, }, @@ -42646,7 +45831,10 @@ pub mod api { parent_bounty_id: ::core::primitive::u32, #[codec(compact)] child_bounty_id: ::core::primitive::u32, - beneficiary: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + beneficiary: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, }, #[codec(index = 5)] #[doc = "See [`Pallet::claim_child_bounty`]."] @@ -42666,15 +45854,19 @@ pub mod api { }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -42688,15 +45880,19 @@ pub mod api { TooManyChildBounties, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] @@ -42710,7 +45906,7 @@ pub mod api { Awarded { index: ::core::primitive::u32, child_index: ::core::primitive::u32, - beneficiary: ::subxt::utils::AccountId32, + beneficiary: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 2)] #[doc = "A child-bounty is claimed by beneficiary."] @@ -42718,7 +45914,7 @@ pub mod api { index: ::core::primitive::u32, child_index: ::core::primitive::u32, payout: ::core::primitive::u128, - beneficiary: ::subxt::utils::AccountId32, + beneficiary: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 3)] #[doc = "A child-bounty is cancelled."] @@ -42729,15 +45925,15 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct ChildBounty<_0, _1, _2> { pub parent_bounty: ::core::primitive::u32, pub value: _1, @@ -42746,15 +45942,15 @@ pub mod api { pub status: runtime_types::pallet_child_bounties::ChildBountyStatus<_0, _2>, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum ChildBountyStatus<_0, _1> { #[codec(index = 0)] Added, @@ -42775,15 +45971,19 @@ pub mod api { pub mod conviction { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum Conviction { #[codec(index = 0)] None, @@ -42804,15 +46004,19 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -42828,7 +46032,10 @@ pub mod api { #[doc = "See [`Pallet::delegate`]."] delegate { class: ::core::primitive::u16, - to: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + to: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, conviction: runtime_types::pallet_conviction_voting::conviction::Conviction, balance: ::core::primitive::u128, }, @@ -42839,7 +46046,10 @@ pub mod api { #[doc = "See [`Pallet::unlock`]."] unlock { class: ::core::primitive::u16, - target: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + target: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, }, #[codec(index = 4)] #[doc = "See [`Pallet::remove_vote`]."] @@ -42850,21 +46060,28 @@ pub mod api { #[codec(index = 5)] #[doc = "See [`Pallet::remove_other_vote`]."] remove_other_vote { - target: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + target: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, class: ::core::primitive::u16, index: ::core::primitive::u32, }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -42906,51 +46123,66 @@ pub mod api { BadClass, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] #[doc = "An account has delegated their vote to another account. \\[who, target\\]"] - Delegated(::subxt::utils::AccountId32, ::subxt::utils::AccountId32), + Delegated( + ::subxt::ext::subxt_core::utils::AccountId32, + ::subxt::ext::subxt_core::utils::AccountId32, + ), #[codec(index = 1)] #[doc = "An \\[account\\] has cancelled a previous delegation operation."] - Undelegated(::subxt::utils::AccountId32), + Undelegated(::subxt::ext::subxt_core::utils::AccountId32), } } pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Delegations<_0> { pub votes: _0, pub capital: _0, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Tally<_0> { pub ayes: _0, pub nays: _0, @@ -42960,15 +46192,19 @@ pub mod api { pub mod vote { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum AccountVote<_0> { #[codec(index = 0)] Standard { @@ -42981,17 +46217,21 @@ pub mod api { SplitAbstain { aye: _0, nay: _0, abstain: _0 }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Casting<_0, _1, _2> { - pub votes: runtime_types::bounded_collections::bounded_vec::BoundedVec<( + pub votes: runtime_types::bounded_collections::bounded_vec::BoundedVec13<( _1, runtime_types::pallet_conviction_voting::vote::AccountVote<_0>, )>, @@ -43002,15 +46242,19 @@ pub mod api { pub __ignore: ::core::marker::PhantomData<_2>, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Delegating<_0, _1, _2> { pub balance: _0, pub target: _1, @@ -43020,38 +46264,50 @@ pub mod api { pub prior: runtime_types::pallet_conviction_voting::vote::PriorLock<_2, _0>, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct PriorLock<_0, _1>(pub _0, pub _1); #[derive( - :: subxt :: ext :: codec :: CompactAs, - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Vote(pub ::core::primitive::u8); #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum Voting<_0, _1, _2, _3> { #[codec(index = 0)] Casting(runtime_types::pallet_conviction_voting::vote::Casting<_0, _2, _2>), @@ -43068,23 +46324,27 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] #[doc = "See [`Pallet::report_equivocation`]."] report_equivocation { - equivocation_proof: ::std::boxed::Box< + equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::sp_consensus_grandpa::EquivocationProof< - ::subxt::utils::H256, + ::subxt::ext::subxt_core::utils::H256, ::core::primitive::u32, >, >, @@ -43093,9 +46353,9 @@ pub mod api { #[codec(index = 1)] #[doc = "See [`Pallet::report_equivocation_unsigned`]."] report_equivocation_unsigned { - equivocation_proof: ::std::boxed::Box< + equivocation_proof: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::sp_consensus_grandpa::EquivocationProof< - ::subxt::utils::H256, + ::subxt::ext::subxt_core::utils::H256, ::core::primitive::u32, >, >, @@ -43109,15 +46369,19 @@ pub mod api { }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -43145,21 +46409,25 @@ pub mod api { DuplicateOffenceReport, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] #[doc = "New authority set has been applied."] NewAuthorities { - authority_set: ::std::vec::Vec<( + authority_set: ::subxt::ext::subxt_core::alloc::vec::Vec<( runtime_types::sp_consensus_grandpa::app::Public, ::core::primitive::u64, )>, @@ -43173,35 +46441,35 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct StoredPendingChange<_0> { pub scheduled_at: _0, pub delay: _0, pub next_authorities: - runtime_types::bounded_collections::weak_bounded_vec::WeakBoundedVec<( + runtime_types::bounded_collections::weak_bounded_vec::WeakBoundedVec4<( runtime_types::sp_consensus_grandpa::app::Public, ::core::primitive::u64, )>, pub forced: ::core::option::Option<_0>, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum StoredState<_0> { #[codec(index = 0)] Live, @@ -43215,63 +46483,44 @@ pub mod api { } pub mod pallet_identity { use super::runtime_types; - pub mod legacy { - use super::runtime_types; - #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, - Debug, - )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - pub struct IdentityInfo { - pub additional: runtime_types::bounded_collections::bounded_vec::BoundedVec<( - runtime_types::pallet_identity::types::Data, - runtime_types::pallet_identity::types::Data, - )>, - pub display: runtime_types::pallet_identity::types::Data, - pub legal: runtime_types::pallet_identity::types::Data, - pub web: runtime_types::pallet_identity::types::Data, - pub riot: runtime_types::pallet_identity::types::Data, - pub email: runtime_types::pallet_identity::types::Data, - pub pgp_fingerprint: ::core::option::Option<[::core::primitive::u8; 20usize]>, - pub image: runtime_types::pallet_identity::types::Data, - pub twitter: runtime_types::pallet_identity::types::Data, - } - } pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Identity pallet declaration."] pub enum Call { #[codec(index = 0)] #[doc = "See [`Pallet::add_registrar`]."] add_registrar { - account: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + account: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, }, #[codec(index = 1)] #[doc = "See [`Pallet::set_identity`]."] set_identity { - info: - ::std::boxed::Box, + info: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::pallet_identity::types::IdentityInfo, + >, }, #[codec(index = 2)] #[doc = "See [`Pallet::set_subs`]."] set_subs { - subs: ::std::vec::Vec<( - ::subxt::utils::AccountId32, + subs: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::utils::AccountId32, runtime_types::pallet_identity::types::Data, )>, }, @@ -43302,62 +46551,86 @@ pub mod api { set_account_id { #[codec(compact)] index: ::core::primitive::u32, - new: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + new: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, }, #[codec(index = 8)] #[doc = "See [`Pallet::set_fields`]."] set_fields { #[codec(compact)] index: ::core::primitive::u32, - fields: ::core::primitive::u64, + fields: runtime_types::pallet_identity::types::BitFlags< + runtime_types::pallet_identity::types::IdentityField, + >, }, #[codec(index = 9)] #[doc = "See [`Pallet::provide_judgement`]."] provide_judgement { #[codec(compact)] reg_index: ::core::primitive::u32, - target: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + target: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, judgement: runtime_types::pallet_identity::types::Judgement< ::core::primitive::u128, >, - identity: ::subxt::utils::H256, + identity: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 10)] #[doc = "See [`Pallet::kill_identity`]."] kill_identity { - target: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + target: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, }, #[codec(index = 11)] #[doc = "See [`Pallet::add_sub`]."] add_sub { - sub: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + sub: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, data: runtime_types::pallet_identity::types::Data, }, #[codec(index = 12)] #[doc = "See [`Pallet::rename_sub`]."] rename_sub { - sub: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + sub: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, data: runtime_types::pallet_identity::types::Data, }, #[codec(index = 13)] #[doc = "See [`Pallet::remove_sub`]."] remove_sub { - sub: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + sub: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, }, #[codec(index = 14)] #[doc = "See [`Pallet::quit_sub`]."] quit_sub, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -43394,67 +46667,76 @@ pub mod api { #[doc = "The target is invalid."] InvalidTarget, #[codec(index = 11)] + #[doc = "Too many additional fields."] + TooManyFields, + #[codec(index = 12)] #[doc = "Maximum amount of registrars reached. Cannot add any more."] TooManyRegistrars, - #[codec(index = 12)] + #[codec(index = 13)] #[doc = "Account ID is already named."] AlreadyClaimed, - #[codec(index = 13)] + #[codec(index = 14)] #[doc = "Sender is not a sub-account."] NotSub, - #[codec(index = 14)] + #[codec(index = 15)] #[doc = "Sub-account isn't owned by sender."] NotOwned, - #[codec(index = 15)] + #[codec(index = 16)] #[doc = "The provided judgement was for a different identity."] JudgementForDifferentIdentity, - #[codec(index = 16)] + #[codec(index = 17)] #[doc = "Error that occurs when there is an issue paying for judgement."] JudgementPaymentFailed, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] #[doc = "A name was set or reset (which will remove all judgements)."] - IdentitySet { who: ::subxt::utils::AccountId32 }, + IdentitySet { + who: ::subxt::ext::subxt_core::utils::AccountId32, + }, #[codec(index = 1)] #[doc = "A name was cleared, and the given balance returned."] IdentityCleared { - who: ::subxt::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, deposit: ::core::primitive::u128, }, #[codec(index = 2)] #[doc = "A name was removed and the given balance slashed."] IdentityKilled { - who: ::subxt::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, deposit: ::core::primitive::u128, }, #[codec(index = 3)] #[doc = "A judgement was asked from a registrar."] JudgementRequested { - who: ::subxt::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, registrar_index: ::core::primitive::u32, }, #[codec(index = 4)] #[doc = "A judgement request was retracted."] JudgementUnrequested { - who: ::subxt::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, registrar_index: ::core::primitive::u32, }, #[codec(index = 5)] #[doc = "A judgement was given by a registrar."] JudgementGiven { - target: ::subxt::utils::AccountId32, + target: ::subxt::ext::subxt_core::utils::AccountId32, registrar_index: ::core::primitive::u32, }, #[codec(index = 6)] @@ -43465,23 +46747,23 @@ pub mod api { #[codec(index = 7)] #[doc = "A sub-identity was added to an identity and the deposit paid."] SubIdentityAdded { - sub: ::subxt::utils::AccountId32, - main: ::subxt::utils::AccountId32, + sub: ::subxt::ext::subxt_core::utils::AccountId32, + main: ::subxt::ext::subxt_core::utils::AccountId32, deposit: ::core::primitive::u128, }, #[codec(index = 8)] #[doc = "A sub-identity was removed from an identity and the deposit freed."] SubIdentityRemoved { - sub: ::subxt::utils::AccountId32, - main: ::subxt::utils::AccountId32, + sub: ::subxt::ext::subxt_core::utils::AccountId32, + main: ::subxt::ext::subxt_core::utils::AccountId32, deposit: ::core::primitive::u128, }, #[codec(index = 9)] #[doc = "A sub-identity was cleared, and the given deposit repatriated from the"] #[doc = "main identity account to the sub-identity account."] SubIdentityRevoked { - sub: ::subxt::utils::AccountId32, - main: ::subxt::utils::AccountId32, + sub: ::subxt::ext::subxt_core::utils::AccountId32, + main: ::subxt::ext::subxt_core::utils::AccountId32, deposit: ::core::primitive::u128, }, } @@ -43489,15 +46771,38 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct BitFlags<_0>( + pub ::core::primitive::u64, + #[codec(skip)] pub ::core::marker::PhantomData<_0>, + ); + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Debug, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum Data { #[codec(index = 0)] None, @@ -43577,15 +46882,79 @@ pub mod api { ShaThree256([::core::primitive::u8; 32usize]), } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub enum IdentityField { + #[codec(index = 1)] + Display, + #[codec(index = 2)] + Legal, + #[codec(index = 4)] + Web, + #[codec(index = 8)] + Riot, + #[codec(index = 16)] + Email, + #[codec(index = 32)] + PgpFingerprint, + #[codec(index = 64)] + Image, + #[codec(index = 128)] + Twitter, + } + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Debug, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct IdentityInfo { + pub additional: runtime_types::bounded_collections::bounded_vec::BoundedVec1<( + runtime_types::pallet_identity::types::Data, + runtime_types::pallet_identity::types::Data, + )>, + pub display: runtime_types::pallet_identity::types::Data, + pub legal: runtime_types::pallet_identity::types::Data, + pub web: runtime_types::pallet_identity::types::Data, + pub riot: runtime_types::pallet_identity::types::Data, + pub email: runtime_types::pallet_identity::types::Data, + pub pgp_fingerprint: ::core::option::Option<[::core::primitive::u8; 20usize]>, + pub image: runtime_types::pallet_identity::types::Data, + pub twitter: runtime_types::pallet_identity::types::Data, + } + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Debug, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum Judgement<_0> { #[codec(index = 0)] Unknown, @@ -43603,37 +46972,48 @@ pub mod api { Erroneous, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - pub struct RegistrarInfo<_0, _1, _2> { + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct RegistrarInfo<_0, _1> { pub account: _1, pub fee: _0, - pub fields: _2, + pub fields: runtime_types::pallet_identity::types::BitFlags< + runtime_types::pallet_identity::types::IdentityField, + >, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - pub struct Registration<_0, _2> { - pub judgements: runtime_types::bounded_collections::bounded_vec::BoundedVec<( - ::core::primitive::u32, - runtime_types::pallet_identity::types::Judgement<_0>, - )>, + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct Registration<_0> { + pub judgements: + runtime_types::bounded_collections::bounded_vec::BoundedVec17<( + ::core::primitive::u32, + runtime_types::pallet_identity::types::Judgement<_0>, + )>, pub deposit: _0, - pub info: _2, + pub info: runtime_types::pallet_identity::types::IdentityInfo, } } } @@ -43642,15 +47022,19 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -43662,15 +47046,19 @@ pub mod api { }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -43681,15 +47069,19 @@ pub mod api { DuplicatedHeartbeat, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] @@ -43703,7 +47095,10 @@ pub mod api { #[codec(index = 2)] #[doc = "At the end of the session, at least one validator was found to be offline."] SomeOffline { - offline: ::std::vec::Vec<(::subxt::utils::AccountId32, ())>, + offline: ::subxt::ext::subxt_core::alloc::vec::Vec<( + ::subxt::ext::subxt_core::utils::AccountId32, + (), + )>, }, } } @@ -43712,39 +47107,47 @@ pub mod api { pub mod app_sr25519 { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Public(pub runtime_types::sp_core::sr25519::Public); #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Signature(pub runtime_types::sp_core::sr25519::Signature); } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct Heartbeat<_0> { pub block_number: _0, pub session_index: ::core::primitive::u32, @@ -43757,15 +47160,19 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -43774,7 +47181,10 @@ pub mod api { #[codec(index = 1)] #[doc = "See [`Pallet::transfer`]."] transfer { - new: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + new: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, index: ::core::primitive::u32, }, #[codec(index = 2)] @@ -43783,7 +47193,10 @@ pub mod api { #[codec(index = 3)] #[doc = "See [`Pallet::force_transfer`]."] force_transfer { - new: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + new: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, index: ::core::primitive::u32, freeze: ::core::primitive::bool, }, @@ -43792,15 +47205,19 @@ pub mod api { freeze { index: ::core::primitive::u32 }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -43820,21 +47237,25 @@ pub mod api { Permanent, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] #[doc = "A account index was assigned."] IndexAssigned { - who: ::subxt::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, index: ::core::primitive::u32, }, #[codec(index = 1)] @@ -43844,7 +47265,7 @@ pub mod api { #[doc = "A account index has been frozen to its current account ID."] IndexFrozen { index: ::core::primitive::u32, - who: ::subxt::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, }, } } @@ -43854,28 +47275,36 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { # [codec (index = 0)] # [doc = "See [`Pallet::reap_page`]."] reap_page { message_origin : runtime_types :: polkadot_runtime_parachains :: inclusion :: AggregateMessageOrigin , page_index : :: core :: primitive :: u32 , } , # [codec (index = 1)] # [doc = "See [`Pallet::execute_overweight`]."] execute_overweight { message_origin : runtime_types :: polkadot_runtime_parachains :: inclusion :: AggregateMessageOrigin , page : :: core :: primitive :: u32 , index : :: core :: primitive :: u32 , weight_limit : runtime_types :: sp_weights :: weight_v2 :: Weight , } , } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -43910,29 +47339,33 @@ pub mod api { QueuePaused, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { # [codec (index = 0)] # [doc = "Message discarded due to an error in the `MessageProcessor` (usually a format error)."] ProcessingFailed { id : [:: core :: primitive :: u8 ; 32usize] , origin : runtime_types :: polkadot_runtime_parachains :: inclusion :: AggregateMessageOrigin , error : runtime_types :: frame_support :: traits :: messages :: ProcessMessageError , } , # [codec (index = 1)] # [doc = "Message is processed."] Processed { id : [:: core :: primitive :: u8 ; 32usize] , origin : runtime_types :: polkadot_runtime_parachains :: inclusion :: AggregateMessageOrigin , weight_used : runtime_types :: sp_weights :: weight_v2 :: Weight , success : :: core :: primitive :: bool , } , # [codec (index = 2)] # [doc = "Message placed in overweight queue."] OverweightEnqueued { id : [:: core :: primitive :: u8 ; 32usize] , origin : runtime_types :: polkadot_runtime_parachains :: inclusion :: AggregateMessageOrigin , page_index : :: core :: primitive :: u32 , message_index : :: core :: primitive :: u32 , } , # [codec (index = 3)] # [doc = "This page was reaped."] PageReaped { origin : runtime_types :: polkadot_runtime_parachains :: inclusion :: AggregateMessageOrigin , index : :: core :: primitive :: u32 , } , } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct BookState<_0> { pub begin: ::core::primitive::u32, pub end: ::core::primitive::u32, @@ -43943,36 +47376,36 @@ pub mod api { pub size: ::core::primitive::u64, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct Neighbours<_0> { pub prev: _0, pub next: _0, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct Page<_0> { pub remaining: _0, pub remaining_size: _0, pub first_index: _0, pub first: _0, pub last: _0, - pub heap: runtime_types::bounded_collections::bounded_vec::BoundedVec< + pub heap: runtime_types::bounded_collections::bounded_vec::BoundedVec5< ::core::primitive::u8, >, } @@ -43982,39 +47415,53 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] #[doc = "See [`Pallet::as_multi_threshold_1`]."] as_multi_threshold_1 { - other_signatories: ::std::vec::Vec<::subxt::utils::AccountId32>, - call: ::std::boxed::Box, + other_signatories: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::rococo_runtime::RuntimeCall, + >, }, #[codec(index = 1)] #[doc = "See [`Pallet::as_multi`]."] as_multi { threshold: ::core::primitive::u16, - other_signatories: ::std::vec::Vec<::subxt::utils::AccountId32>, + other_signatories: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >, maybe_timepoint: ::core::option::Option< runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>, >, - call: ::std::boxed::Box, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::rococo_runtime::RuntimeCall, + >, max_weight: runtime_types::sp_weights::weight_v2::Weight, }, #[codec(index = 2)] #[doc = "See [`Pallet::approve_as_multi`]."] approve_as_multi { threshold: ::core::primitive::u16, - other_signatories: ::std::vec::Vec<::subxt::utils::AccountId32>, + other_signatories: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >, maybe_timepoint: ::core::option::Option< runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>, >, @@ -44025,22 +47472,28 @@ pub mod api { #[doc = "See [`Pallet::cancel_as_multi`]."] cancel_as_multi { threshold: ::core::primitive::u16, - other_signatories: ::std::vec::Vec<::subxt::utils::AccountId32>, + other_signatories: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >, timepoint: runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>, call_hash: [::core::primitive::u8; 32usize], }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -44087,40 +47540,44 @@ pub mod api { AlreadyStored, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] #[doc = "A new multisig operation has begun."] NewMultisig { - approving: ::subxt::utils::AccountId32, - multisig: ::subxt::utils::AccountId32, + approving: ::subxt::ext::subxt_core::utils::AccountId32, + multisig: ::subxt::ext::subxt_core::utils::AccountId32, call_hash: [::core::primitive::u8; 32usize], }, #[codec(index = 1)] #[doc = "A multisig operation has been approved by someone."] MultisigApproval { - approving: ::subxt::utils::AccountId32, + approving: ::subxt::ext::subxt_core::utils::AccountId32, timepoint: runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>, - multisig: ::subxt::utils::AccountId32, + multisig: ::subxt::ext::subxt_core::utils::AccountId32, call_hash: [::core::primitive::u8; 32usize], }, #[codec(index = 2)] #[doc = "A multisig operation has been executed."] MultisigExecuted { - approving: ::subxt::utils::AccountId32, + approving: ::subxt::ext::subxt_core::utils::AccountId32, timepoint: runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>, - multisig: ::subxt::utils::AccountId32, + multisig: ::subxt::ext::subxt_core::utils::AccountId32, call_hash: [::core::primitive::u8; 32usize], result: ::core::result::Result<(), runtime_types::sp_runtime::DispatchError>, @@ -44128,40 +47585,40 @@ pub mod api { #[codec(index = 3)] #[doc = "A multisig operation has been cancelled."] MultisigCancelled { - cancelling: ::subxt::utils::AccountId32, + cancelling: ::subxt::ext::subxt_core::utils::AccountId32, timepoint: runtime_types::pallet_multisig::Timepoint<::core::primitive::u32>, - multisig: ::subxt::utils::AccountId32, + multisig: ::subxt::ext::subxt_core::utils::AccountId32, call_hash: [::core::primitive::u8; 32usize], }, } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct Multisig<_0, _1, _2> { pub when: runtime_types::pallet_multisig::Timepoint<_0>, pub deposit: _1, pub depositor: _2, - pub approvals: runtime_types::bounded_collections::bounded_vec::BoundedVec<_2>, + pub approvals: runtime_types::bounded_collections::bounded_vec::BoundedVec18<_2>, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct Timepoint<_0> { pub height: _0, pub index: ::core::primitive::u32, @@ -44172,29 +47629,37 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Bid<_0, _1> { pub amount: _0, pub who: _1, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -44243,15 +47708,19 @@ pub mod api { }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -44302,35 +47771,39 @@ pub mod api { AlreadyPrivate, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] #[doc = "A bid was successfully placed."] BidPlaced { - who: ::subxt::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, duration: ::core::primitive::u32, }, #[codec(index = 1)] #[doc = "A bid was successfully removed (before being accepted)."] BidRetracted { - who: ::subxt::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, duration: ::core::primitive::u32, }, #[codec(index = 2)] #[doc = "A bid was dropped from a queue because of another, more substantial, bid was present."] BidDropped { - who: ::subxt::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, duration: ::core::primitive::u32, }, @@ -44339,7 +47812,7 @@ pub mod api { Issued { index: ::core::primitive::u32, expiry: ::core::primitive::u32, - who: ::subxt::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, proportion: runtime_types::sp_arithmetic::per_things::Perquintill, amount: ::core::primitive::u128, }, @@ -44347,7 +47820,7 @@ pub mod api { #[doc = "An receipt has been (at least partially) thawed."] Thawed { index: ::core::primitive::u32, - who: ::subxt::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, proportion: runtime_types::sp_arithmetic::per_things::Perquintill, amount: ::core::primitive::u128, dropped: ::core::primitive::bool, @@ -44358,50 +47831,62 @@ pub mod api { #[codec(index = 6)] #[doc = "A receipt was transfered."] Transferred { - from: ::subxt::utils::AccountId32, - to: ::subxt::utils::AccountId32, + from: ::subxt::ext::subxt_core::utils::AccountId32, + to: ::subxt::ext::subxt_core::utils::AccountId32, index: ::core::primitive::u32, }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum HoldReason { #[codec(index = 0)] NftReceipt, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct ReceiptRecord<_0, _1, _2> { pub proportion: runtime_types::sp_arithmetic::per_things::Perquintill, pub owner: ::core::option::Option<(_0, _2)>, pub expiry: _1, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct SummaryRecord<_0, _1> { pub proportion_owed: runtime_types::sp_arithmetic::per_things::Perquintill, pub index: ::core::primitive::u32, @@ -44416,15 +47901,19 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Events type."] pub enum Event { #[codec(index = 0)] @@ -44433,7 +47922,7 @@ pub mod api { #[doc = "\\[kind, timeslot\\]."] Offence { kind: [::core::primitive::u8; 16usize], - timeslot: ::std::vec::Vec<::core::primitive::u8>, + timeslot: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, } } @@ -44443,47 +47932,63 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] #[doc = "See [`Pallet::note_preimage`]."] note_preimage { - bytes: ::std::vec::Vec<::core::primitive::u8>, + bytes: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, #[codec(index = 1)] #[doc = "See [`Pallet::unnote_preimage`]."] - unnote_preimage { hash: ::subxt::utils::H256 }, + unnote_preimage { + hash: ::subxt::ext::subxt_core::utils::H256, + }, #[codec(index = 2)] #[doc = "See [`Pallet::request_preimage`]."] - request_preimage { hash: ::subxt::utils::H256 }, + request_preimage { + hash: ::subxt::ext::subxt_core::utils::H256, + }, #[codec(index = 3)] #[doc = "See [`Pallet::unrequest_preimage`]."] - unrequest_preimage { hash: ::subxt::utils::H256 }, + unrequest_preimage { + hash: ::subxt::ext::subxt_core::utils::H256, + }, #[codec(index = 4)] #[doc = "See [`Pallet::ensure_updated`]."] ensure_updated { - hashes: ::std::vec::Vec<::subxt::utils::H256>, + hashes: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::H256, + >, }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -44512,52 +48017,66 @@ pub mod api { TooFew, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] #[doc = "A preimage has been noted."] - Noted { hash: ::subxt::utils::H256 }, + Noted { + hash: ::subxt::ext::subxt_core::utils::H256, + }, #[codec(index = 1)] #[doc = "A preimage has been requested."] - Requested { hash: ::subxt::utils::H256 }, + Requested { + hash: ::subxt::ext::subxt_core::utils::H256, + }, #[codec(index = 2)] #[doc = "A preimage has ben cleared."] - Cleared { hash: ::subxt::utils::H256 }, + Cleared { + hash: ::subxt::ext::subxt_core::utils::H256, + }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum HoldReason { #[codec(index = 0)] Preimage, } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum OldRequestStatus<_0, _1> { #[codec(index = 0)] Unrequested { @@ -44572,15 +48091,15 @@ pub mod api { }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum RequestStatus<_0, _1> { #[codec(index = 0)] Unrequested { @@ -44600,36 +48119,51 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] #[doc = "See [`Pallet::proxy`]."] proxy { - real: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + real: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, force_proxy_type: ::core::option::Option, - call: ::std::boxed::Box, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::rococo_runtime::RuntimeCall, + >, }, #[codec(index = 1)] #[doc = "See [`Pallet::add_proxy`]."] add_proxy { - delegate: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + delegate: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, proxy_type: runtime_types::rococo_runtime::ProxyType, delay: ::core::primitive::u32, }, #[codec(index = 2)] #[doc = "See [`Pallet::remove_proxy`]."] remove_proxy { - delegate: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + delegate: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, proxy_type: runtime_types::rococo_runtime::ProxyType, delay: ::core::primitive::u32, }, @@ -44646,7 +48180,10 @@ pub mod api { #[codec(index = 5)] #[doc = "See [`Pallet::kill_pure`]."] kill_pure { - spawner: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + spawner: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, proxy_type: runtime_types::rococo_runtime::ProxyType, index: ::core::primitive::u16, #[codec(compact)] @@ -44657,41 +48194,62 @@ pub mod api { #[codec(index = 6)] #[doc = "See [`Pallet::announce`]."] announce { - real: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, - call_hash: ::subxt::utils::H256, + real: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, + call_hash: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 7)] #[doc = "See [`Pallet::remove_announcement`]."] remove_announcement { - real: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, - call_hash: ::subxt::utils::H256, + real: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, + call_hash: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 8)] #[doc = "See [`Pallet::reject_announcement`]."] reject_announcement { - delegate: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, - call_hash: ::subxt::utils::H256, + delegate: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, + call_hash: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 9)] #[doc = "See [`Pallet::proxy_announced`]."] proxy_announced { - delegate: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, - real: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + delegate: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, + real: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, force_proxy_type: ::core::option::Option, - call: ::std::boxed::Box, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::rococo_runtime::RuntimeCall, + >, }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -44720,15 +48278,19 @@ pub mod api { NoSelfProxy, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] @@ -44741,61 +48303,61 @@ pub mod api { #[doc = "A pure account has been created by new proxy with given"] #[doc = "disambiguation index and proxy type."] PureCreated { - pure: ::subxt::utils::AccountId32, - who: ::subxt::utils::AccountId32, + pure: ::subxt::ext::subxt_core::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, proxy_type: runtime_types::rococo_runtime::ProxyType, disambiguation_index: ::core::primitive::u16, }, #[codec(index = 2)] #[doc = "An announcement was placed to make a call in the future."] Announced { - real: ::subxt::utils::AccountId32, - proxy: ::subxt::utils::AccountId32, - call_hash: ::subxt::utils::H256, + real: ::subxt::ext::subxt_core::utils::AccountId32, + proxy: ::subxt::ext::subxt_core::utils::AccountId32, + call_hash: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 3)] #[doc = "A proxy was added."] ProxyAdded { - delegator: ::subxt::utils::AccountId32, - delegatee: ::subxt::utils::AccountId32, + delegator: ::subxt::ext::subxt_core::utils::AccountId32, + delegatee: ::subxt::ext::subxt_core::utils::AccountId32, proxy_type: runtime_types::rococo_runtime::ProxyType, delay: ::core::primitive::u32, }, #[codec(index = 4)] #[doc = "A proxy was removed."] ProxyRemoved { - delegator: ::subxt::utils::AccountId32, - delegatee: ::subxt::utils::AccountId32, + delegator: ::subxt::ext::subxt_core::utils::AccountId32, + delegatee: ::subxt::ext::subxt_core::utils::AccountId32, proxy_type: runtime_types::rococo_runtime::ProxyType, delay: ::core::primitive::u32, }, } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct Announcement<_0, _1, _2> { pub real: _0, pub call_hash: _1, pub height: _2, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct ProxyDefinition<_0, _1, _2> { pub delegate: _0, pub proxy_type: _1, @@ -44807,36 +48369,52 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] #[doc = "See [`Pallet::add_member`]."] add_member { - who: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + who: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, }, #[codec(index = 1)] #[doc = "See [`Pallet::promote_member`]."] promote_member { - who: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + who: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, }, #[codec(index = 2)] #[doc = "See [`Pallet::demote_member`]."] demote_member { - who: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + who: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, }, #[codec(index = 3)] #[doc = "See [`Pallet::remove_member`]."] remove_member { - who: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + who: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, min_rank: ::core::primitive::u16, }, #[codec(index = 4)] @@ -44853,15 +48431,19 @@ pub mod api { }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -44893,37 +48475,43 @@ pub mod api { NoPermission, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] #[doc = "A member `who` has been added."] - MemberAdded { who: ::subxt::utils::AccountId32 }, + MemberAdded { + who: ::subxt::ext::subxt_core::utils::AccountId32, + }, #[codec(index = 1)] #[doc = "The member `who`se rank has been changed to the given `rank`."] RankChanged { - who: ::subxt::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, rank: ::core::primitive::u16, }, #[codec(index = 2)] #[doc = "The member `who` of given `rank` has been removed from the collective."] MemberRemoved { - who: ::subxt::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, rank: ::core::primitive::u16, }, #[codec(index = 3)] #[doc = "The member `who` has voted for the `poll` with the given `vote` leading to an updated"] #[doc = "`tally`."] Voted { - who: ::subxt::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, poll: ::core::primitive::u32, vote: runtime_types::pallet_ranked_collective::VoteRecord, tally: runtime_types::pallet_ranked_collective::Tally, @@ -44931,44 +48519,44 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: CompactAs, - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct MemberRecord { pub rank: ::core::primitive::u16, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct Tally { pub bare_ayes: ::core::primitive::u32, pub ayes: ::core::primitive::u32, pub nays: ::core::primitive::u32, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum VoteRecord { #[codec(index = 0)] Aye(::core::primitive::u32), @@ -44981,56 +48569,88 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] #[doc = "See [`Pallet::as_recovered`]."] as_recovered { - account: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, - call: ::std::boxed::Box, + account: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::rococo_runtime::RuntimeCall, + >, }, #[codec(index = 1)] #[doc = "See [`Pallet::set_recovered`]."] set_recovered { - lost: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, - rescuer: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + lost: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, + rescuer: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, }, #[codec(index = 2)] #[doc = "See [`Pallet::create_recovery`]."] create_recovery { - friends: ::std::vec::Vec<::subxt::utils::AccountId32>, + friends: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >, threshold: ::core::primitive::u16, delay_period: ::core::primitive::u32, }, #[codec(index = 3)] #[doc = "See [`Pallet::initiate_recovery`]."] initiate_recovery { - account: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + account: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, }, #[codec(index = 4)] #[doc = "See [`Pallet::vouch_recovery`]."] vouch_recovery { - lost: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, - rescuer: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + lost: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, + rescuer: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, }, #[codec(index = 5)] #[doc = "See [`Pallet::claim_recovery`]."] claim_recovery { - account: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + account: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, }, #[codec(index = 6)] #[doc = "See [`Pallet::close_recovery`]."] close_recovery { - rescuer: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + rescuer: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, }, #[codec(index = 7)] #[doc = "See [`Pallet::remove_recovery`]."] @@ -45038,19 +48658,26 @@ pub mod api { #[codec(index = 8)] #[doc = "See [`Pallet::cancel_recovered`]."] cancel_recovered { - account: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + account: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -45103,79 +48730,83 @@ pub mod api { BadState, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Events type."] pub enum Event { #[codec(index = 0)] #[doc = "A recovery process has been set up for an account."] RecoveryCreated { - account: ::subxt::utils::AccountId32, + account: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 1)] #[doc = "A recovery process has been initiated for lost account by rescuer account."] RecoveryInitiated { - lost_account: ::subxt::utils::AccountId32, - rescuer_account: ::subxt::utils::AccountId32, + lost_account: ::subxt::ext::subxt_core::utils::AccountId32, + rescuer_account: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 2)] #[doc = "A recovery process for lost account by rescuer account has been vouched for by sender."] RecoveryVouched { - lost_account: ::subxt::utils::AccountId32, - rescuer_account: ::subxt::utils::AccountId32, - sender: ::subxt::utils::AccountId32, + lost_account: ::subxt::ext::subxt_core::utils::AccountId32, + rescuer_account: ::subxt::ext::subxt_core::utils::AccountId32, + sender: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 3)] #[doc = "A recovery process for lost account by rescuer account has been closed."] RecoveryClosed { - lost_account: ::subxt::utils::AccountId32, - rescuer_account: ::subxt::utils::AccountId32, + lost_account: ::subxt::ext::subxt_core::utils::AccountId32, + rescuer_account: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 4)] #[doc = "Lost account has been successfully recovered by rescuer account."] AccountRecovered { - lost_account: ::subxt::utils::AccountId32, - rescuer_account: ::subxt::utils::AccountId32, + lost_account: ::subxt::ext::subxt_core::utils::AccountId32, + rescuer_account: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 5)] #[doc = "A recovery process has been removed for an account."] RecoveryRemoved { - lost_account: ::subxt::utils::AccountId32, + lost_account: ::subxt::ext::subxt_core::utils::AccountId32, }, } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct ActiveRecovery<_0, _1, _2> { pub created: _0, pub deposit: _1, pub friends: _2, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct RecoveryConfig<_0, _1, _2> { pub delay_period: _0, pub deposit: _1, @@ -45188,22 +48819,27 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] #[doc = "See [`Pallet::submit`]."] submit { - proposal_origin: - ::std::boxed::Box, + proposal_origin: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::rococo_runtime::OriginCaller, + >, proposal: runtime_types::frame_support::traits::preimages::Bounded< runtime_types::rococo_runtime::RuntimeCall, runtime_types::sp_runtime::traits::BlakeTwo256, @@ -45238,73 +48874,23 @@ pub mod api { #[doc = "See [`Pallet::set_metadata`]."] set_metadata { index: ::core::primitive::u32, - maybe_hash: ::core::option::Option<::subxt::utils::H256>, + maybe_hash: ::core::option::Option<::subxt::ext::subxt_core::utils::H256>, }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] - pub enum Call2 { - #[codec(index = 0)] - #[doc = "See [`Pallet::submit`]."] - submit { - proposal_origin: - ::std::boxed::Box, - proposal: runtime_types::frame_support::traits::preimages::Bounded< - runtime_types::rococo_runtime::RuntimeCall, - runtime_types::sp_runtime::traits::BlakeTwo256, - >, - enactment_moment: - runtime_types::frame_support::traits::schedule::DispatchTime< - ::core::primitive::u32, - >, - }, - #[codec(index = 1)] - #[doc = "See [`Pallet::place_decision_deposit`]."] - place_decision_deposit { index: ::core::primitive::u32 }, - #[codec(index = 2)] - #[doc = "See [`Pallet::refund_decision_deposit`]."] - refund_decision_deposit { index: ::core::primitive::u32 }, - #[codec(index = 3)] - #[doc = "See [`Pallet::cancel`]."] - cancel { index: ::core::primitive::u32 }, - #[codec(index = 4)] - #[doc = "See [`Pallet::kill`]."] - kill { index: ::core::primitive::u32 }, - #[codec(index = 5)] - #[doc = "See [`Pallet::nudge_referendum`]."] - nudge_referendum { index: ::core::primitive::u32 }, - #[codec(index = 6)] - #[doc = "See [`Pallet::one_fewer_deciding`]."] - one_fewer_deciding { track: ::core::primitive::u16 }, - #[codec(index = 7)] - #[doc = "See [`Pallet::refund_submission_deposit`]."] - refund_submission_deposit { index: ::core::primitive::u32 }, - #[codec(index = 8)] - #[doc = "See [`Pallet::set_metadata`]."] - set_metadata { - index: ::core::primitive::u32, - maybe_hash: ::core::option::Option<::subxt::utils::H256>, - }, - } - #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, - Debug, + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -45348,69 +48934,21 @@ pub mod api { PreimageNotExist, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - #[doc = "The `Error` enum of this pallet."] - pub enum Error2 { - #[codec(index = 0)] - #[doc = "Referendum is not ongoing."] - NotOngoing, - #[codec(index = 1)] - #[doc = "Referendum's decision deposit is already paid."] - HasDeposit, - #[codec(index = 2)] - #[doc = "The track identifier given was invalid."] - BadTrack, - #[codec(index = 3)] - #[doc = "There are already a full complement of referenda in progress for this track."] - Full, - #[codec(index = 4)] - #[doc = "The queue of the track is empty."] - QueueEmpty, - #[codec(index = 5)] - #[doc = "The referendum index provided is invalid in this context."] - BadReferendum, - #[codec(index = 6)] - #[doc = "There was nothing to do in the advancement."] - NothingToDo, - #[codec(index = 7)] - #[doc = "No track exists for the proposal origin."] - NoTrack, - #[codec(index = 8)] - #[doc = "Any deposit cannot be refunded until after the decision is over."] - Unfinished, - #[codec(index = 9)] - #[doc = "The deposit refunder is not the depositor."] - NoPermission, - #[codec(index = 10)] - #[doc = "The deposit cannot be refunded since none was made."] - NoDeposit, - #[codec(index = 11)] - #[doc = "The referendum status is invalid for this operation."] - BadStatus, - #[codec(index = 12)] - #[doc = "The preimage does not exist."] - PreimageNotExist, - } - #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, - Debug, + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] #[doc = "The `Event` enum of this pallet"] - pub enum Event { + pub enum Event1 { #[codec(index = 0)] #[doc = "A referendum has been submitted."] Submitted { @@ -45425,20 +48963,20 @@ pub mod api { #[doc = "The decision deposit has been placed."] DecisionDepositPlaced { index: ::core::primitive::u32, - who: ::subxt::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 2)] #[doc = "The decision deposit has been refunded."] DecisionDepositRefunded { index: ::core::primitive::u32, - who: ::subxt::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 3)] - #[doc = "A deposit has been slashed."] + #[doc = "A deposit has been slashaed."] DepositSlashed { - who: ::subxt::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 4)] @@ -45505,32 +49043,36 @@ pub mod api { #[doc = "The submission deposit has been refunded."] SubmissionDepositRefunded { index: ::core::primitive::u32, - who: ::subxt::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 14)] #[doc = "Metadata for a referendum has been set."] MetadataSet { index: ::core::primitive::u32, - hash: ::subxt::utils::H256, + hash: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 15)] #[doc = "Metadata for a referendum has been cleared."] MetadataCleared { index: ::core::primitive::u32, - hash: ::subxt::utils::H256, + hash: ::subxt::ext::subxt_core::utils::H256, }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event2 { #[codec(index = 0)] @@ -45547,20 +49089,20 @@ pub mod api { #[doc = "The decision deposit has been placed."] DecisionDepositPlaced { index: ::core::primitive::u32, - who: ::subxt::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 2)] #[doc = "The decision deposit has been refunded."] DecisionDepositRefunded { index: ::core::primitive::u32, - who: ::subxt::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 3)] - #[doc = "A deposit has been slashed."] + #[doc = "A deposit has been slashaed."] DepositSlashed { - who: ::subxt::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 4)] @@ -45615,35 +49157,39 @@ pub mod api { #[doc = "The submission deposit has been refunded."] SubmissionDepositRefunded { index: ::core::primitive::u32, - who: ::subxt::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 14)] #[doc = "Metadata for a referendum has been set."] MetadataSet { index: ::core::primitive::u32, - hash: ::subxt::utils::H256, + hash: ::subxt::ext::subxt_core::utils::H256, }, #[codec(index = 15)] #[doc = "Metadata for a referendum has been cleared."] MetadataCleared { index: ::core::primitive::u32, - hash: ::subxt::utils::H256, + hash: ::subxt::ext::subxt_core::utils::H256, }, } } pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum Curve { #[codec(index = 0)] LinearDecreasing { @@ -45666,44 +49212,56 @@ pub mod api { }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct DecidingStatus<_0> { pub since: _0, pub confirming: ::core::option::Option<_0>, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Deposit<_0, _1> { pub who: _0, pub amount: _1, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - pub enum ReferendumInfo<_0, _1, _2, _3, _4, _5, _6, _7> { + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub enum ReferendumInfo1<_0, _1, _2, _3, _4, _5, _6, _7> { #[codec(index = 0)] Ongoing( runtime_types::pallet_referenda::types::ReferendumStatus< @@ -45761,15 +49319,90 @@ pub mod api { Killed(_2), } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub enum ReferendumInfo2<_0, _1, _2, _3, _4, _5, _6, _7> { + #[codec(index = 0)] + Ongoing( + runtime_types::pallet_referenda::types::ReferendumStatus< + _0, + _1, + _2, + _3, + _4, + _5, + _6, + _7, + >, + ), + #[codec(index = 1)] + Approved( + _2, + ::core::option::Option< + runtime_types::pallet_referenda::types::Deposit<_6, _4>, + >, + ::core::option::Option< + runtime_types::pallet_referenda::types::Deposit<_6, _4>, + >, + ), + #[codec(index = 2)] + Rejected( + _2, + ::core::option::Option< + runtime_types::pallet_referenda::types::Deposit<_6, _4>, + >, + ::core::option::Option< + runtime_types::pallet_referenda::types::Deposit<_6, _4>, + >, + ), + #[codec(index = 3)] + Cancelled( + _2, + ::core::option::Option< + runtime_types::pallet_referenda::types::Deposit<_6, _4>, + >, + ::core::option::Option< + runtime_types::pallet_referenda::types::Deposit<_6, _4>, + >, + ), + #[codec(index = 4)] + TimedOut( + _2, + ::core::option::Option< + runtime_types::pallet_referenda::types::Deposit<_6, _4>, + >, + ::core::option::Option< + runtime_types::pallet_referenda::types::Deposit<_6, _4>, + >, + ), + #[codec(index = 5)] + Killed(_2), + } + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Debug, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct ReferendumStatus<_0, _1, _2, _3, _4, _5, _6, _7> { pub track: _0, pub origin: _1, @@ -45788,17 +49421,21 @@ pub mod api { pub alarm: ::core::option::Option<(_2, _7)>, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct TrackInfo<_0, _1> { - pub name: ::std::string::String, + pub name: ::subxt::ext::subxt_core::alloc::string::String, pub max_deciding: ::core::primitive::u32, pub decision_deposit: _0, pub prepare_period: _1, @@ -45810,63 +49447,24 @@ pub mod api { } } } - pub mod pallet_root_testing { - use super::runtime_types; - pub mod pallet { - use super::runtime_types; - #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, - Debug, - )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] - pub enum Call { - #[codec(index = 0)] - #[doc = "See `Pallet::fill_block`."] - fill_block { - ratio: runtime_types::sp_arithmetic::per_things::Perbill, - }, - #[codec(index = 1)] - #[doc = "See `Pallet::trigger_defensive`."] - trigger_defensive, - } - #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, - Debug, - )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - #[doc = "The `Event` enum of this pallet"] - pub enum Event { - #[codec(index = 0)] - #[doc = "Event dispatched when the trigger_defensive extrinsic is called."] - DefensiveTestCall, - } - } - } pub mod pallet_scheduler { use super::runtime_types; pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -45878,7 +49476,9 @@ pub mod api { ::core::primitive::u32, )>, priority: ::core::primitive::u8, - call: ::std::boxed::Box, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::rococo_runtime::RuntimeCall, + >, }, #[codec(index = 1)] #[doc = "See [`Pallet::cancel`]."] @@ -45896,7 +49496,9 @@ pub mod api { ::core::primitive::u32, )>, priority: ::core::primitive::u8, - call: ::std::boxed::Box, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::rococo_runtime::RuntimeCall, + >, }, #[codec(index = 3)] #[doc = "See [`Pallet::cancel_named`]."] @@ -45912,7 +49514,9 @@ pub mod api { ::core::primitive::u32, )>, priority: ::core::primitive::u8, - call: ::std::boxed::Box, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::rococo_runtime::RuntimeCall, + >, }, #[codec(index = 5)] #[doc = "See [`Pallet::schedule_named_after`]."] @@ -45924,19 +49528,25 @@ pub mod api { ::core::primitive::u32, )>, priority: ::core::primitive::u8, - call: ::std::boxed::Box, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::rococo_runtime::RuntimeCall, + >, }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -45956,15 +49566,19 @@ pub mod api { Named, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Events type."] pub enum Event { #[codec(index = 0)] @@ -46008,15 +49622,15 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct Scheduled<_0, _1, _2, _3, _4> { pub maybe_id: ::core::option::Option<_0>, pub priority: ::core::primitive::u8, @@ -46032,37 +49646,45 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] #[doc = "See [`Pallet::set_keys`]."] set_keys { keys: runtime_types::rococo_runtime::SessionKeys, - proof: ::std::vec::Vec<::core::primitive::u8>, + proof: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, #[codec(index = 1)] #[doc = "See [`Pallet::purge_keys`]."] purge_keys, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Error for the session pallet."] pub enum Error { #[codec(index = 0)] @@ -46082,15 +49704,19 @@ pub mod api { NoAccount, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] @@ -46107,15 +49733,19 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -46127,7 +49757,10 @@ pub mod api { #[codec(index = 2)] #[doc = "See [`Pallet::vouch`]."] vouch { - who: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + who: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, value: ::core::primitive::u128, tip: ::core::primitive::u128, }, @@ -46137,7 +49770,10 @@ pub mod api { #[codec(index = 4)] #[doc = "See [`Pallet::vote`]."] vote { - candidate: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + candidate: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, approve: ::core::primitive::bool, }, #[codec(index = 5)] @@ -46152,12 +49788,15 @@ pub mod api { #[codec(index = 8)] #[doc = "See [`Pallet::found_society`]."] found_society { - founder: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + founder: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, max_members: ::core::primitive::u32, max_intake: ::core::primitive::u32, max_strikes: ::core::primitive::u32, candidate_deposit: ::core::primitive::u128, - rules: ::std::vec::Vec<::core::primitive::u8>, + rules: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, #[codec(index = 9)] #[doc = "See [`Pallet::dissolve`]."] @@ -46165,7 +49804,10 @@ pub mod api { #[codec(index = 10)] #[doc = "See [`Pallet::judge_suspended_member`]."] judge_suspended_member { - who: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + who: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, forgive: ::core::primitive::bool, }, #[codec(index = 11)] @@ -46185,12 +49827,12 @@ pub mod api { #[codec(index = 14)] #[doc = "See [`Pallet::bestow_membership`]."] bestow_membership { - candidate: ::subxt::utils::AccountId32, + candidate: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 15)] #[doc = "See [`Pallet::kick_candidate`]."] kick_candidate { - candidate: ::subxt::utils::AccountId32, + candidate: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 16)] #[doc = "See [`Pallet::resign_candidacy`]."] @@ -46198,12 +49840,12 @@ pub mod api { #[codec(index = 17)] #[doc = "See [`Pallet::drop_candidate`]."] drop_candidate { - candidate: ::subxt::utils::AccountId32, + candidate: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 18)] #[doc = "See [`Pallet::cleanup_candidacy`]."] cleanup_candidacy { - candidate: ::subxt::utils::AccountId32, + candidate: ::subxt::ext::subxt_core::utils::AccountId32, max: ::core::primitive::u32, }, #[codec(index = 19)] @@ -46214,15 +49856,19 @@ pub mod api { }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -46323,87 +49969,97 @@ pub mod api { NoVotes, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] #[doc = "The society is founded by the given identity."] Founded { - founder: ::subxt::utils::AccountId32, + founder: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 1)] #[doc = "A membership bid just happened. The given account is the candidate's ID and their offer"] #[doc = "is the second."] Bid { - candidate_id: ::subxt::utils::AccountId32, + candidate_id: ::subxt::ext::subxt_core::utils::AccountId32, offer: ::core::primitive::u128, }, #[codec(index = 2)] #[doc = "A membership bid just happened by vouching. The given account is the candidate's ID and"] #[doc = "their offer is the second. The vouching party is the third."] Vouch { - candidate_id: ::subxt::utils::AccountId32, + candidate_id: ::subxt::ext::subxt_core::utils::AccountId32, offer: ::core::primitive::u128, - vouching: ::subxt::utils::AccountId32, + vouching: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 3)] #[doc = "A candidate was dropped (due to an excess of bids in the system)."] AutoUnbid { - candidate: ::subxt::utils::AccountId32, + candidate: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 4)] #[doc = "A candidate was dropped (by their request)."] Unbid { - candidate: ::subxt::utils::AccountId32, + candidate: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 5)] #[doc = "A candidate was dropped (by request of who vouched for them)."] Unvouch { - candidate: ::subxt::utils::AccountId32, + candidate: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 6)] #[doc = "A group of candidates have been inducted. The batch's primary is the first value, the"] #[doc = "batch in full is the second."] Inducted { - primary: ::subxt::utils::AccountId32, - candidates: ::std::vec::Vec<::subxt::utils::AccountId32>, + primary: ::subxt::ext::subxt_core::utils::AccountId32, + candidates: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >, }, #[codec(index = 7)] #[doc = "A suspended member has been judged."] SuspendedMemberJudgement { - who: ::subxt::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, judged: ::core::primitive::bool, }, #[codec(index = 8)] #[doc = "A candidate has been suspended"] CandidateSuspended { - candidate: ::subxt::utils::AccountId32, + candidate: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 9)] #[doc = "A member has been suspended"] - MemberSuspended { member: ::subxt::utils::AccountId32 }, + MemberSuspended { + member: ::subxt::ext::subxt_core::utils::AccountId32, + }, #[codec(index = 10)] #[doc = "A member has been challenged"] - Challenged { member: ::subxt::utils::AccountId32 }, + Challenged { + member: ::subxt::ext::subxt_core::utils::AccountId32, + }, #[codec(index = 11)] #[doc = "A vote has been placed"] Vote { - candidate: ::subxt::utils::AccountId32, - voter: ::subxt::utils::AccountId32, + candidate: ::subxt::ext::subxt_core::utils::AccountId32, + voter: ::subxt::ext::subxt_core::utils::AccountId32, vote: ::core::primitive::bool, }, #[codec(index = 12)] #[doc = "A vote has been placed for a defending member"] DefenderVote { - voter: ::subxt::utils::AccountId32, + voter: ::subxt::ext::subxt_core::utils::AccountId32, vote: ::core::primitive::bool, }, #[codec(index = 13)] @@ -46414,7 +50070,7 @@ pub mod api { #[codec(index = 14)] #[doc = "Society is unfounded."] Unfounded { - founder: ::subxt::utils::AccountId32, + founder: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 15)] #[doc = "Some funds were deposited into the society account."] @@ -46422,36 +50078,36 @@ pub mod api { #[codec(index = 16)] #[doc = "A \\[member\\] got elevated to \\[rank\\]."] Elevated { - member: ::subxt::utils::AccountId32, + member: ::subxt::ext::subxt_core::utils::AccountId32, rank: ::core::primitive::u32, }, } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct Bid<_0, _1> { pub who: _0, pub kind: runtime_types::pallet_society::BidKind<_0, _1>, pub value: _1, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum BidKind<_0, _1> { #[codec(index = 0)] Deposit(_1), @@ -46459,15 +50115,15 @@ pub mod api { Vouch(_0, _1), } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct Candidacy<_0, _1> { pub round: ::core::primitive::u32, pub kind: runtime_types::pallet_society::BidKind<_0, _1>, @@ -46476,15 +50132,15 @@ pub mod api { pub skeptic_struck: ::core::primitive::bool, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct GroupParams<_0> { pub max_members: ::core::primitive::u32, pub max_intake: ::core::primitive::u32, @@ -46492,30 +50148,30 @@ pub mod api { pub candidate_deposit: _0, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct IntakeRecord<_0, _1> { pub who: _0, pub bid: _1, pub round: ::core::primitive::u32, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct MemberRecord { pub rank: ::core::primitive::u32, pub strikes: ::core::primitive::u32, @@ -46523,57 +50179,57 @@ pub mod api { pub index: ::core::primitive::u32, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct PayoutRecord<_0, _1> { pub paid: _0, pub payouts: _1, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct Tally { pub approvals: ::core::primitive::u32, pub rejections: ::core::primitive::u32, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct Vote { pub approve: ::core::primitive::bool, pub weight: ::core::primitive::u32, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum VouchingStatus { #[codec(index = 0)] Vouching, @@ -46586,15 +50242,19 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -46615,14 +50275,18 @@ pub mod api { #[codec(index = 2)] #[doc = "See [`Pallet::migrate_custom_top`]."] migrate_custom_top { - keys: ::std::vec::Vec<::std::vec::Vec<::core::primitive::u8>>, + keys: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >, witness_size: ::core::primitive::u32, }, #[codec(index = 3)] #[doc = "See [`Pallet::migrate_custom_child`]."] migrate_custom_child { - root: ::std::vec::Vec<::core::primitive::u8>, - child_keys: ::std::vec::Vec<::std::vec::Vec<::core::primitive::u8>>, + root: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + child_keys: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >, total_size: ::core::primitive::u32, }, #[codec(index = 4)] @@ -46639,15 +50303,19 @@ pub mod api { }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -46676,15 +50344,19 @@ pub mod api { BadChildRoot, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Inner events of this pallet."] pub enum Event { #[codec(index = 0)] @@ -46699,7 +50371,7 @@ pub mod api { #[codec(index = 1)] #[doc = "Some account got slashed by the given amount."] Slashed { - who: ::subxt::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 2)] @@ -46712,15 +50384,19 @@ pub mod api { }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum MigrationCompute { #[codec(index = 0)] Signed, @@ -46728,29 +50404,37 @@ pub mod api { Auto, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct MigrationLimits { pub size: ::core::primitive::u32, pub item: ::core::primitive::u32, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct MigrationTask { pub progress_top: runtime_types::pallet_state_trie_migration::pallet::Progress, pub progress_child: @@ -46760,21 +50444,25 @@ pub mod api { pub child_items: ::core::primitive::u32, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum Progress { #[codec(index = 0)] ToStart, #[codec(index = 1)] LastKey( - runtime_types::bounded_collections::bounded_vec::BoundedVec< + runtime_types::bounded_collections::bounded_vec::BoundedVec5< ::core::primitive::u8, >, ), @@ -46788,50 +50476,70 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] #[doc = "See [`Pallet::sudo`]."] sudo { - call: ::std::boxed::Box, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::rococo_runtime::RuntimeCall, + >, }, #[codec(index = 1)] #[doc = "See [`Pallet::sudo_unchecked_weight`]."] sudo_unchecked_weight { - call: ::std::boxed::Box, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::rococo_runtime::RuntimeCall, + >, weight: runtime_types::sp_weights::weight_v2::Weight, }, #[codec(index = 2)] #[doc = "See [`Pallet::set_key`]."] set_key { - new: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + new: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, }, #[codec(index = 3)] #[doc = "See [`Pallet::sudo_as`]."] sudo_as { - who: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, - call: ::std::boxed::Box, + who: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::rococo_runtime::RuntimeCall, + >, }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Error for the Sudo pallet"] pub enum Error { #[codec(index = 0)] @@ -46839,15 +50547,19 @@ pub mod api { RequireSudo, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] @@ -46859,7 +50571,8 @@ pub mod api { #[codec(index = 1)] #[doc = "The sudo key has been updated."] KeyChanged { - old_sudoer: ::core::option::Option<::subxt::utils::AccountId32>, + old_sudoer: + ::core::option::Option<::subxt::ext::subxt_core::utils::AccountId32>, }, #[codec(index = 2)] #[doc = "A [sudo_as](Pallet::sudo_as) call just took place."] @@ -46875,15 +50588,19 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -46900,22 +50617,26 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] #[doc = "A transaction fee `actual_fee`, of which `tip` was added to the minimum inclusion fee,"] #[doc = "has been paid by `who`."] TransactionFeePaid { - who: ::subxt::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, actual_fee: ::core::primitive::u128, tip: ::core::primitive::u128, }, @@ -46924,15 +50645,19 @@ pub mod api { pub mod types { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct FeeDetails<_0> { pub inclusion_fee: ::core::option::Option< runtime_types::pallet_transaction_payment::types::InclusionFee<_0>, @@ -46940,30 +50665,38 @@ pub mod api { pub tip: _0, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct InclusionFee<_0> { pub base_fee: _0, pub len_fee: _0, pub adjusted_weight_fee: _0, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct RuntimeDispatchInfo<_0, _1> { pub weight: _1, pub class: runtime_types::frame_support::dispatch::DispatchClass, @@ -46971,26 +50704,26 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct ChargeTransactionPayment(#[codec(compact)] pub ::core::primitive::u128); #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum Releases { #[codec(index = 0)] V1Ancient, @@ -47003,15 +50736,19 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -47019,7 +50756,10 @@ pub mod api { propose_spend { #[codec(compact)] value: ::core::primitive::u128, - beneficiary: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + beneficiary: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, }, #[codec(index = 1)] #[doc = "See [`Pallet::reject_proposal`]."] @@ -47038,7 +50778,10 @@ pub mod api { spend_local { #[codec(compact)] amount: ::core::primitive::u128, - beneficiary: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + beneficiary: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, }, #[codec(index = 4)] #[doc = "See [`Pallet::remove_approval`]."] @@ -47049,12 +50792,14 @@ pub mod api { #[codec(index = 5)] #[doc = "See [`Pallet::spend`]."] spend { - asset_kind: ::std::boxed::Box< + asset_kind: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::polkadot_runtime_common::impls::VersionedLocatableAsset, >, #[codec(compact)] amount: ::core::primitive::u128, - beneficiary: ::std::boxed::Box, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedMultiLocation, + >, valid_from: ::core::option::Option<::core::primitive::u32>, }, #[codec(index = 6)] @@ -47068,15 +50813,19 @@ pub mod api { void_spend { index: ::core::primitive::u32 }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Error for the treasury pallet."] pub enum Error { #[codec(index = 0)] @@ -47118,15 +50867,19 @@ pub mod api { Inconclusive, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] @@ -47144,7 +50897,7 @@ pub mod api { Awarded { proposal_index: ::core::primitive::u32, award: ::core::primitive::u128, - account: ::subxt::utils::AccountId32, + account: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 3)] #[doc = "A proposal was rejected; funds were slashed."] @@ -47170,7 +50923,7 @@ pub mod api { SpendApproved { proposal_index: ::core::primitive::u32, amount: ::core::primitive::u128, - beneficiary: ::subxt::utils::AccountId32, + beneficiary: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 8)] #[doc = "The inactive funds of the pallet have been updated."] @@ -47211,15 +50964,15 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum PaymentState<_0> { #[codec(index = 0)] Pending, @@ -47229,15 +50982,15 @@ pub mod api { Failed, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct Proposal<_0, _1> { pub proposer: _0, pub value: _1, @@ -47245,15 +50998,15 @@ pub mod api { pub bond: _1, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct SpendStatus<_0, _1, _2, _3, _4> { pub asset_kind: _0, pub amount: _1, @@ -47268,61 +51021,83 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] #[doc = "See [`Pallet::batch`]."] batch { - calls: ::std::vec::Vec, + calls: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::rococo_runtime::RuntimeCall, + >, }, #[codec(index = 1)] #[doc = "See [`Pallet::as_derivative`]."] as_derivative { index: ::core::primitive::u16, - call: ::std::boxed::Box, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::rococo_runtime::RuntimeCall, + >, }, #[codec(index = 2)] #[doc = "See [`Pallet::batch_all`]."] batch_all { - calls: ::std::vec::Vec, + calls: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::rococo_runtime::RuntimeCall, + >, }, #[codec(index = 3)] #[doc = "See [`Pallet::dispatch_as`]."] dispatch_as { - as_origin: ::std::boxed::Box, - call: ::std::boxed::Box, + as_origin: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::rococo_runtime::OriginCaller, + >, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::rococo_runtime::RuntimeCall, + >, }, #[codec(index = 4)] #[doc = "See [`Pallet::force_batch`]."] force_batch { - calls: ::std::vec::Vec, + calls: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::rococo_runtime::RuntimeCall, + >, }, #[codec(index = 5)] #[doc = "See [`Pallet::with_weight`]."] with_weight { - call: ::std::boxed::Box, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::rococo_runtime::RuntimeCall, + >, weight: runtime_types::sp_weights::weight_v2::Weight, }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -47330,15 +51105,19 @@ pub mod api { TooManyCalls, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] @@ -47376,15 +51155,19 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -47393,12 +51176,18 @@ pub mod api { #[codec(index = 1)] #[doc = "See [`Pallet::vest_other`]."] vest_other { - target: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + target: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, }, #[codec(index = 2)] #[doc = "See [`Pallet::vested_transfer`]."] vested_transfer { - target: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + target: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, schedule: runtime_types::pallet_vesting::vesting_info::VestingInfo< ::core::primitive::u128, ::core::primitive::u32, @@ -47407,8 +51196,14 @@ pub mod api { #[codec(index = 3)] #[doc = "See [`Pallet::force_vested_transfer`]."] force_vested_transfer { - source: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, - target: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, + source: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, + target: ::subxt::ext::subxt_core::utils::MultiAddress< + ::subxt::ext::subxt_core::utils::AccountId32, + (), + >, schedule: runtime_types::pallet_vesting::vesting_info::VestingInfo< ::core::primitive::u128, ::core::primitive::u32, @@ -47420,23 +51215,21 @@ pub mod api { schedule1_index: ::core::primitive::u32, schedule2_index: ::core::primitive::u32, }, - #[codec(index = 5)] - #[doc = "See [`Pallet::force_remove_vesting_schedule`]."] - force_remove_vesting_schedule { - target: ::subxt::utils::MultiAddress<::subxt::utils::AccountId32, ()>, - schedule_index: ::core::primitive::u32, - }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Error for the vesting pallet."] pub enum Error { #[codec(index = 0)] @@ -47457,43 +51250,51 @@ pub mod api { InvalidScheduleParams, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] #[doc = "The amount vested has been updated. This could indicate a change in funds available."] #[doc = "The balance given is the amount which is left unvested (and thus locked)."] VestingUpdated { - account: ::subxt::utils::AccountId32, + account: ::subxt::ext::subxt_core::utils::AccountId32, unvested: ::core::primitive::u128, }, #[codec(index = 1)] #[doc = "An \\[account\\] has become fully vested."] VestingCompleted { - account: ::subxt::utils::AccountId32, + account: ::subxt::ext::subxt_core::utils::AccountId32, }, } } pub mod vesting_info { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct VestingInfo<_0, _1> { pub locked: _0, pub per_block: _0, @@ -47501,15 +51302,15 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum Releases { #[codec(index = 0)] V0, @@ -47522,46 +51323,60 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] #[doc = "See [`Pallet::whitelist_call`]."] - whitelist_call { call_hash: ::subxt::utils::H256 }, + whitelist_call { + call_hash: ::subxt::ext::subxt_core::utils::H256, + }, #[codec(index = 1)] #[doc = "See [`Pallet::remove_whitelisted_call`]."] - remove_whitelisted_call { call_hash: ::subxt::utils::H256 }, + remove_whitelisted_call { + call_hash: ::subxt::ext::subxt_core::utils::H256, + }, #[codec(index = 2)] #[doc = "See [`Pallet::dispatch_whitelisted_call`]."] dispatch_whitelisted_call { - call_hash: ::subxt::utils::H256, + call_hash: ::subxt::ext::subxt_core::utils::H256, call_encoded_len: ::core::primitive::u32, call_weight_witness: runtime_types::sp_weights::weight_v2::Weight, }, #[codec(index = 3)] #[doc = "See [`Pallet::dispatch_whitelisted_call_with_preimage`]."] dispatch_whitelisted_call_with_preimage { - call: ::std::boxed::Box, + call: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::rococo_runtime::RuntimeCall, + >, }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -47581,24 +51396,32 @@ pub mod api { CallAlreadyWhitelisted, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] - CallWhitelisted { call_hash: ::subxt::utils::H256 }, + CallWhitelisted { + call_hash: ::subxt::ext::subxt_core::utils::H256, + }, #[codec(index = 1)] - WhitelistedCallRemoved { call_hash: ::subxt::utils::H256 }, + WhitelistedCallRemoved { + call_hash: ::subxt::ext::subxt_core::utils::H256, + }, #[codec(index = 2)] WhitelistedCallDispatched { - call_hash: ::subxt::utils::H256, + call_hash: ::subxt::ext::subxt_core::utils::H256, result: ::core::result::Result< runtime_types::frame_support::dispatch::PostDispatchInfo, runtime_types::sp_runtime::DispatchErrorWithPostInfo< @@ -47614,49 +51437,71 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] #[doc = "See [`Pallet::send`]."] send { - dest: ::std::boxed::Box, - message: ::std::boxed::Box, + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedMultiLocation, + >, + message: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedXcm1, + >, }, #[codec(index = 1)] #[doc = "See [`Pallet::teleport_assets`]."] teleport_assets { - dest: ::std::boxed::Box, - beneficiary: ::std::boxed::Box, - assets: ::std::boxed::Box, + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedMultiLocation, + >, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedMultiLocation, + >, + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedMultiAssets, + >, fee_asset_item: ::core::primitive::u32, }, #[codec(index = 2)] #[doc = "See [`Pallet::reserve_transfer_assets`]."] reserve_transfer_assets { - dest: ::std::boxed::Box, - beneficiary: ::std::boxed::Box, - assets: ::std::boxed::Box, + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedMultiLocation, + >, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedMultiLocation, + >, + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedMultiAssets, + >, fee_asset_item: ::core::primitive::u32, }, #[codec(index = 3)] #[doc = "See [`Pallet::execute`]."] execute { - message: ::std::boxed::Box, + message: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedXcm2, + >, max_weight: runtime_types::sp_weights::weight_v2::Weight, }, #[codec(index = 4)] #[doc = "See [`Pallet::force_xcm_version`]."] force_xcm_version { - location: ::std::boxed::Box< + location: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::staging_xcm::v3::multilocation::MultiLocation, >, version: ::core::primitive::u32, @@ -47669,28 +51514,44 @@ pub mod api { #[codec(index = 6)] #[doc = "See [`Pallet::force_subscribe_version_notify`]."] force_subscribe_version_notify { - location: ::std::boxed::Box, + location: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedMultiLocation, + >, }, #[codec(index = 7)] #[doc = "See [`Pallet::force_unsubscribe_version_notify`]."] force_unsubscribe_version_notify { - location: ::std::boxed::Box, + location: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedMultiLocation, + >, }, #[codec(index = 8)] #[doc = "See [`Pallet::limited_reserve_transfer_assets`]."] limited_reserve_transfer_assets { - dest: ::std::boxed::Box, - beneficiary: ::std::boxed::Box, - assets: ::std::boxed::Box, + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedMultiLocation, + >, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedMultiLocation, + >, + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedMultiAssets, + >, fee_asset_item: ::core::primitive::u32, weight_limit: runtime_types::xcm::v3::WeightLimit, }, #[codec(index = 9)] #[doc = "See [`Pallet::limited_teleport_assets`]."] limited_teleport_assets { - dest: ::std::boxed::Box, - beneficiary: ::std::boxed::Box, - assets: ::std::boxed::Box, + dest: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedMultiLocation, + >, + beneficiary: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedMultiLocation, + >, + assets: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedMultiAssets, + >, fee_asset_item: ::core::primitive::u32, weight_limit: runtime_types::xcm::v3::WeightLimit, }, @@ -47699,15 +51560,19 @@ pub mod api { force_suspension { suspended: ::core::primitive::bool }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -47775,15 +51640,19 @@ pub mod api { InUse, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] @@ -47796,7 +51665,7 @@ pub mod api { Sent { origin: runtime_types::staging_xcm::v3::multilocation::MultiLocation, destination: runtime_types::staging_xcm::v3::multilocation::MultiLocation, - message: runtime_types::xcm::v3::Xcm, + message: runtime_types::xcm::v3::Xcm1, message_id: [::core::primitive::u8; 32usize], }, #[codec(index = 2)] @@ -47879,7 +51748,7 @@ pub mod api { #[codec(index = 11)] #[doc = "Some assets have been placed in an asset trap."] AssetsTrapped { - hash: ::subxt::utils::H256, + hash: ::subxt::ext::subxt_core::utils::H256, origin: runtime_types::staging_xcm::v3::multilocation::MultiLocation, assets: runtime_types::xcm::VersionedMultiAssets, }, @@ -47972,21 +51841,25 @@ pub mod api { #[codec(index = 22)] #[doc = "Some assets have been claimed from an asset trap"] AssetsClaimed { - hash: ::subxt::utils::H256, + hash: ::subxt::ext::subxt_core::utils::H256, origin: runtime_types::staging_xcm::v3::multilocation::MultiLocation, assets: runtime_types::xcm::VersionedMultiAssets, }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum Origin { #[codec(index = 0)] Xcm(runtime_types::staging_xcm::v3::multilocation::MultiLocation), @@ -47994,15 +51867,19 @@ pub mod api { Response(runtime_types::staging_xcm::v3::multilocation::MultiLocation), } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum QueryStatus<_0> { #[codec(index = 0)] Pending { @@ -48025,34 +51902,42 @@ pub mod api { }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct RemoteLockedFungibleRecord<_0> { pub amount: ::core::primitive::u128, pub owner: runtime_types::xcm::VersionedMultiLocation, pub locker: runtime_types::xcm::VersionedMultiLocation, - pub consumers: runtime_types::bounded_collections::bounded_vec::BoundedVec<( + pub consumers: runtime_types::bounded_collections::bounded_vec::BoundedVec27<( _0, ::core::primitive::u128, )>, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum VersionMigrationStage { #[codec(index = 0)] MigrateSupportedVersion, @@ -48060,7 +51945,9 @@ pub mod api { MigrateVersionNotifiers, #[codec(index = 2)] NotifyCurrentTargets( - ::core::option::Option<::std::vec::Vec<::core::primitive::u8>>, + ::core::option::Option< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >, ), #[codec(index = 3)] MigrateAndNotifyOldTargets, @@ -48070,57 +51957,57 @@ pub mod api { pub mod polkadot_core_primitives { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - pub struct CandidateHash(pub ::subxt::utils::H256); + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + pub struct CandidateHash(pub ::subxt::ext::subxt_core::utils::H256); #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct InboundDownwardMessage<_0> { pub sent_at: _0, - pub msg: ::std::vec::Vec<::core::primitive::u8>, + pub msg: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct InboundHrmpMessage<_0> { pub sent_at: _0, - pub data: ::std::vec::Vec<::core::primitive::u8>, + pub data: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct OutboundHrmpMessage<_0> { pub recipient: _0, - pub data: ::std::vec::Vec<::core::primitive::u8>, + pub data: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, } } pub mod polkadot_parachain_primitives { @@ -48128,64 +52015,88 @@ pub mod api { pub mod primitives { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - pub struct HeadData(pub ::std::vec::Vec<::core::primitive::u8>); + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct HeadData( + pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ); #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct HrmpChannelId { pub sender: runtime_types::polkadot_parachain_primitives::primitives::Id, pub recipient: runtime_types::polkadot_parachain_primitives::primitives::Id, } #[derive( - :: subxt :: ext :: codec :: CompactAs, - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Id(pub ::core::primitive::u32); #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - pub struct ValidationCode(pub ::std::vec::Vec<::core::primitive::u8>); + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct ValidationCode( + pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ); #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - pub struct ValidationCodeHash(pub ::subxt::utils::H256); + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct ValidationCodeHash(pub ::subxt::ext::subxt_core::utils::H256); } } pub mod polkadot_primitives { @@ -48195,54 +52106,70 @@ pub mod api { pub mod assignment_app { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Public(pub runtime_types::sp_core::sr25519::Public); } pub mod async_backing { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct AsyncBackingParams { pub max_candidate_depth: ::core::primitive::u32, pub allowed_ancestry_len: ::core::primitive::u32, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - pub struct BackingState < _0 , _1 > { pub constraints : runtime_types :: polkadot_primitives :: v6 :: async_backing :: Constraints < _1 > , pub pending_availability : :: std :: vec :: Vec < runtime_types :: polkadot_primitives :: v6 :: async_backing :: CandidatePendingAvailability < _0 , _1 > > , } + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct BackingState < _0 , _1 > { pub constraints : runtime_types :: polkadot_primitives :: v6 :: async_backing :: Constraints < _1 > , pub pending_availability : :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < runtime_types :: polkadot_primitives :: v6 :: async_backing :: CandidatePendingAvailability < _0 , _1 > > , } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct CandidatePendingAvailability<_0, _1> { pub candidate_hash: runtime_types::polkadot_core_primitives::CandidateHash, pub descriptor: @@ -48253,39 +52180,51 @@ pub mod api { pub max_pov_size: ::core::primitive::u32, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - pub struct Constraints < _0 > { pub min_relay_parent_number : _0 , pub max_pov_size : :: core :: primitive :: u32 , pub max_code_size : :: core :: primitive :: u32 , pub ump_remaining : :: core :: primitive :: u32 , pub ump_remaining_bytes : :: core :: primitive :: u32 , pub max_ump_num_per_candidate : :: core :: primitive :: u32 , pub dmp_remaining_messages : :: std :: vec :: Vec < _0 > , pub hrmp_inbound : runtime_types :: polkadot_primitives :: v6 :: async_backing :: InboundHrmpLimitations < _0 > , pub hrmp_channels_out : :: std :: vec :: Vec < (runtime_types :: polkadot_parachain_primitives :: primitives :: Id , runtime_types :: polkadot_primitives :: v6 :: async_backing :: OutboundHrmpChannelLimitations ,) > , pub max_hrmp_num_per_candidate : :: core :: primitive :: u32 , pub required_parent : runtime_types :: polkadot_parachain_primitives :: primitives :: HeadData , pub validation_code_hash : runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCodeHash , pub upgrade_restriction : :: core :: option :: Option < runtime_types :: polkadot_primitives :: v6 :: UpgradeRestriction > , pub future_validation_code : :: core :: option :: Option < (_0 , runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCodeHash ,) > , } + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct Constraints < _0 > { pub min_relay_parent_number : _0 , pub max_pov_size : :: core :: primitive :: u32 , pub max_code_size : :: core :: primitive :: u32 , pub ump_remaining : :: core :: primitive :: u32 , pub ump_remaining_bytes : :: core :: primitive :: u32 , pub max_ump_num_per_candidate : :: core :: primitive :: u32 , pub dmp_remaining_messages : :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < _0 > , pub hrmp_inbound : runtime_types :: polkadot_primitives :: v6 :: async_backing :: InboundHrmpLimitations < _0 > , pub hrmp_channels_out : :: subxt :: ext :: subxt_core :: alloc :: vec :: Vec < (runtime_types :: polkadot_parachain_primitives :: primitives :: Id , runtime_types :: polkadot_primitives :: v6 :: async_backing :: OutboundHrmpChannelLimitations ,) > , pub max_hrmp_num_per_candidate : :: core :: primitive :: u32 , pub required_parent : runtime_types :: polkadot_parachain_primitives :: primitives :: HeadData , pub validation_code_hash : runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCodeHash , pub upgrade_restriction : :: core :: option :: Option < runtime_types :: polkadot_primitives :: v6 :: UpgradeRestriction > , pub future_validation_code : :: core :: option :: Option < (_0 , runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCodeHash ,) > , } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct InboundHrmpLimitations<_0> { - pub valid_watermarks: ::std::vec::Vec<_0>, + pub valid_watermarks: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct OutboundHrmpChannelLimitations { pub bytes_remaining: ::core::primitive::u32, pub messages_remaining: ::core::primitive::u32, @@ -48294,40 +52233,52 @@ pub mod api { pub mod collator_app { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Public(pub runtime_types::sp_core::sr25519::Public); #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Signature(pub runtime_types::sp_core::sr25519::Signature); } pub mod executor_params { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum ExecutorParam { #[codec(index = 1)] MaxMemoryPages(::core::primitive::u32), @@ -48351,17 +52302,21 @@ pub mod api { WasmExtBulkMemory, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct ExecutorParams( - pub ::std::vec::Vec< + pub ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_primitives::v6::executor_params::ExecutorParam, >, ); @@ -48369,15 +52324,19 @@ pub mod api { pub mod signed { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct UncheckedSigned<_0, _1> { pub payload: _0, pub validator_index: runtime_types::polkadot_primitives::v6::ValidatorIndex, @@ -48390,15 +52349,19 @@ pub mod api { pub mod slashing { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct DisputeProof { pub time_slot: runtime_types::polkadot_primitives::v6::slashing::DisputesTimeSlot, @@ -48409,42 +52372,56 @@ pub mod api { runtime_types::polkadot_primitives::v6::validator_app::Public, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct DisputesTimeSlot { pub session_index: ::core::primitive::u32, pub candidate_hash: runtime_types::polkadot_core_primitives::CandidateHash, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - pub struct OpaqueKeyOwnershipProof(pub ::std::vec::Vec<::core::primitive::u8>); + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct OpaqueKeyOwnershipProof( + pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ); #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct PendingSlashes { - pub keys: ::subxt::utils::KeyedVec< + pub keys: ::subxt::ext::subxt_core::utils::KeyedVec< runtime_types::polkadot_primitives::v6::ValidatorIndex, runtime_types::polkadot_primitives::v6::validator_app::Public, >, @@ -48452,15 +52429,19 @@ pub mod api { runtime_types::polkadot_primitives::v6::slashing::SlashingOffenceKind, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum SlashingOffenceKind { #[codec(index = 0)] ForInvalid, @@ -48471,82 +52452,102 @@ pub mod api { pub mod validator_app { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Public(pub runtime_types::sp_core::sr25519::Public); #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Signature(pub runtime_types::sp_core::sr25519::Signature); } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct AvailabilityBitfield( - pub ::subxt::utils::bits::DecodedBits< + pub ::subxt::ext::subxt_core::utils::bits::DecodedBits< ::core::primitive::u8, - ::subxt::utils::bits::Lsb0, + ::subxt::ext::subxt_core::utils::bits::Lsb0, >, ); #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct BackedCandidate<_0> { pub candidate: runtime_types::polkadot_primitives::v6::CommittedCandidateReceipt<_0>, - pub validity_votes: ::std::vec::Vec< + pub validity_votes: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_primitives::v6::ValidityAttestation, >, - pub validator_indices: ::subxt::utils::bits::DecodedBits< + pub validator_indices: ::subxt::ext::subxt_core::utils::bits::DecodedBits< ::core::primitive::u8, - ::subxt::utils::bits::Lsb0, + ::subxt::ext::subxt_core::utils::bits::Lsb0, >, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct CandidateCommitments<_0> { pub upward_messages: - runtime_types::bounded_collections::bounded_vec::BoundedVec< - ::std::vec::Vec<::core::primitive::u8>, + runtime_types::bounded_collections::bounded_vec::BoundedVec2< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, >, pub horizontal_messages: - runtime_types::bounded_collections::bounded_vec::BoundedVec< + runtime_types::bounded_collections::bounded_vec::BoundedVec3< runtime_types::polkadot_core_primitives::OutboundHrmpMessage< runtime_types::polkadot_parachain_primitives::primitives::Id, >, @@ -48560,26 +52561,34 @@ pub mod api { pub hrmp_watermark: _0, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - pub struct CandidateDescriptor < _0 > { pub para_id : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , pub relay_parent : _0 , pub collator : runtime_types :: polkadot_primitives :: v6 :: collator_app :: Public , pub persisted_validation_data_hash : :: subxt :: utils :: H256 , pub pov_hash : :: subxt :: utils :: H256 , pub erasure_root : :: subxt :: utils :: H256 , pub signature : runtime_types :: polkadot_primitives :: v6 :: collator_app :: Signature , pub para_head : :: subxt :: utils :: H256 , pub validation_code_hash : runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCodeHash , } + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct CandidateDescriptor < _0 > { pub para_id : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , pub relay_parent : _0 , pub collator : runtime_types :: polkadot_primitives :: v6 :: collator_app :: Public , pub persisted_validation_data_hash : :: subxt :: ext :: subxt_core :: utils :: H256 , pub pov_hash : :: subxt :: ext :: subxt_core :: utils :: H256 , pub erasure_root : :: subxt :: ext :: subxt_core :: utils :: H256 , pub signature : runtime_types :: polkadot_primitives :: v6 :: collator_app :: Signature , pub para_head : :: subxt :: ext :: subxt_core :: utils :: H256 , pub validation_code_hash : runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCodeHash , } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum CandidateEvent<_0> { #[codec(index = 0)] CandidateBacked( @@ -48603,29 +52612,37 @@ pub mod api { ), } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct CandidateReceipt<_0> { pub descriptor: runtime_types::polkadot_primitives::v6::CandidateDescriptor<_0>, - pub commitments_hash: ::subxt::utils::H256, + pub commitments_hash: ::subxt::ext::subxt_core::utils::H256, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct CommittedCandidateReceipt<_0> { pub descriptor: runtime_types::polkadot_primitives::v6::CandidateDescriptor<_0>, pub commitments: runtime_types::polkadot_primitives::v6::CandidateCommitments< @@ -48633,27 +52650,35 @@ pub mod api { >, } #[derive( - :: subxt :: ext :: codec :: CompactAs, - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct CoreIndex(pub ::core::primitive::u32); #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum CoreState<_0, _1> { #[codec(index = 0)] Occupied(runtime_types::polkadot_primitives::v6::OccupiedCore<_0, _1>), @@ -48663,37 +52688,45 @@ pub mod api { Free, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct DisputeState<_0> { - pub validators_for: ::subxt::utils::bits::DecodedBits< + pub validators_for: ::subxt::ext::subxt_core::utils::bits::DecodedBits< ::core::primitive::u8, - ::subxt::utils::bits::Lsb0, + ::subxt::ext::subxt_core::utils::bits::Lsb0, >, - pub validators_against: ::subxt::utils::bits::DecodedBits< + pub validators_against: ::subxt::ext::subxt_core::utils::bits::DecodedBits< ::core::primitive::u8, - ::subxt::utils::bits::Lsb0, + ::subxt::ext::subxt_core::utils::bits::Lsb0, >, pub start: _0, pub concluded_at: ::core::option::Option<_0>, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum DisputeStatement { #[codec(index = 0)] Valid(runtime_types::polkadot_primitives::v6::ValidDisputeStatementKind), @@ -48701,116 +52734,162 @@ pub mod api { Invalid(runtime_types::polkadot_primitives::v6::InvalidDisputeStatementKind), } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct DisputeStatementSet { pub candidate_hash: runtime_types::polkadot_core_primitives::CandidateHash, pub session: ::core::primitive::u32, - pub statements: ::std::vec::Vec<( + pub statements: ::subxt::ext::subxt_core::alloc::vec::Vec<( runtime_types::polkadot_primitives::v6::DisputeStatement, runtime_types::polkadot_primitives::v6::ValidatorIndex, runtime_types::polkadot_primitives::v6::validator_app::Signature, )>, } #[derive( - :: subxt :: ext :: codec :: CompactAs, - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct GroupIndex(pub ::core::primitive::u32); #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct GroupRotationInfo<_0> { pub session_start_block: _0, pub group_rotation_frequency: _0, pub now: _0, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - pub struct IndexedVec<_0, _1>( - pub ::std::vec::Vec<_1>, + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct IndexedVec1<_0, _1>( + pub ::subxt::ext::subxt_core::alloc::vec::Vec<_1>, #[codec(skip)] pub ::core::marker::PhantomData<_0>, ); #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct IndexedVec2<_0, _1>( + pub ::subxt::ext::subxt_core::alloc::vec::Vec<_1>, + #[codec(skip)] pub ::core::marker::PhantomData<_0>, + ); + #[derive( + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, + Debug, + )] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct InherentData<_0> { - pub bitfields: ::std::vec::Vec< + pub bitfields: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_primitives::v6::signed::UncheckedSigned< runtime_types::polkadot_primitives::v6::AvailabilityBitfield, runtime_types::polkadot_primitives::v6::AvailabilityBitfield, >, >, - pub backed_candidates: ::std::vec::Vec< + pub backed_candidates: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_primitives::v6::BackedCandidate< - ::subxt::utils::H256, + ::subxt::ext::subxt_core::utils::H256, >, >, - pub disputes: ::std::vec::Vec< + pub disputes: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_primitives::v6::DisputeStatementSet, >, pub parent_header: _0, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum InvalidDisputeStatementKind { #[codec(index = 0)] Explicit, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct OccupiedCore<_0, _1> { pub next_up_on_available: ::core::option::Option< runtime_types::polkadot_primitives::v6::ScheduledCore, @@ -48820,9 +52899,9 @@ pub mod api { pub next_up_on_time_out: ::core::option::Option< runtime_types::polkadot_primitives::v6::ScheduledCore, >, - pub availability: ::subxt::utils::bits::DecodedBits< + pub availability: ::subxt::ext::subxt_core::utils::bits::DecodedBits< ::core::primitive::u8, - ::subxt::utils::bits::Lsb0, + ::subxt::ext::subxt_core::utils::bits::Lsb0, >, pub group_responsible: runtime_types::polkadot_primitives::v6::GroupIndex, pub candidate_hash: runtime_types::polkadot_core_primitives::CandidateHash, @@ -48830,15 +52909,19 @@ pub mod api { runtime_types::polkadot_primitives::v6::CandidateDescriptor<_0>, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum OccupiedCoreAssumption { #[codec(index = 0)] Included, @@ -48848,15 +52931,19 @@ pub mod api { Free, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct PersistedValidationData<_0, _1> { pub parent_head: runtime_types::polkadot_parachain_primitives::primitives::HeadData, @@ -48865,26 +52952,34 @@ pub mod api { pub max_pov_size: ::core::primitive::u32, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct PvfCheckStatement { pub accept : :: core :: primitive :: bool , pub subject : runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCodeHash , pub session_index : :: core :: primitive :: u32 , pub validator_index : runtime_types :: polkadot_primitives :: v6 :: ValidatorIndex , } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum PvfExecTimeoutKind { #[codec(index = 0)] Backing, @@ -48892,15 +52987,19 @@ pub mod api { Approval, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum PvfPrepTimeoutKind { #[codec(index = 0)] Precheck, @@ -48908,15 +53007,19 @@ pub mod api { Lenient, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct ScheduledCore { pub para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, pub collator: ::core::option::Option< @@ -48924,55 +53027,68 @@ pub mod api { >, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct ScrapedOnChainVotes<_0> { pub session: ::core::primitive::u32, - pub backing_validators_per_candidate: ::std::vec::Vec<( - runtime_types::polkadot_primitives::v6::CandidateReceipt<_0>, - ::std::vec::Vec<( - runtime_types::polkadot_primitives::v6::ValidatorIndex, - runtime_types::polkadot_primitives::v6::ValidityAttestation, + pub backing_validators_per_candidate: + ::subxt::ext::subxt_core::alloc::vec::Vec<( + runtime_types::polkadot_primitives::v6::CandidateReceipt<_0>, + ::subxt::ext::subxt_core::alloc::vec::Vec<( + runtime_types::polkadot_primitives::v6::ValidatorIndex, + runtime_types::polkadot_primitives::v6::ValidityAttestation, + )>, )>, - )>, - pub disputes: ::std::vec::Vec< + pub disputes: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_primitives::v6::DisputeStatementSet, >, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct SessionInfo { - pub active_validator_indices: - ::std::vec::Vec, + pub active_validator_indices: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::polkadot_primitives::v6::ValidatorIndex, + >, pub random_seed: [::core::primitive::u8; 32usize], pub dispute_period: ::core::primitive::u32, - pub validators: runtime_types::polkadot_primitives::v6::IndexedVec< + pub validators: runtime_types::polkadot_primitives::v6::IndexedVec1< runtime_types::polkadot_primitives::v6::ValidatorIndex, runtime_types::polkadot_primitives::v6::validator_app::Public, >, - pub discovery_keys: - ::std::vec::Vec, - pub assignment_keys: ::std::vec::Vec< + pub discovery_keys: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::sp_authority_discovery::app::Public, + >, + pub assignment_keys: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_primitives::v6::assignment_app::Public, >, - pub validator_groups: runtime_types::polkadot_primitives::v6::IndexedVec< + pub validator_groups: runtime_types::polkadot_primitives::v6::IndexedVec2< runtime_types::polkadot_primitives::v6::GroupIndex, - ::std::vec::Vec, + ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::polkadot_primitives::v6::ValidatorIndex, + >, >, pub n_cores: ::core::primitive::u32, pub zeroth_delay_tranche_width: ::core::primitive::u32, @@ -48982,15 +53098,19 @@ pub mod api { pub needed_approvals: ::core::primitive::u32, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum UpgradeGoAhead { #[codec(index = 0)] Abort, @@ -48998,61 +53118,77 @@ pub mod api { GoAhead, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum UpgradeRestriction { #[codec(index = 0)] Present, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum ValidDisputeStatementKind { #[codec(index = 0)] Explicit, #[codec(index = 1)] - BackingSeconded(::subxt::utils::H256), + BackingSeconded(::subxt::ext::subxt_core::utils::H256), #[codec(index = 2)] - BackingValid(::subxt::utils::H256), + BackingValid(::subxt::ext::subxt_core::utils::H256), #[codec(index = 3)] ApprovalChecking, } #[derive( - :: subxt :: ext :: codec :: CompactAs, - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct ValidatorIndex(pub ::core::primitive::u32); #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum ValidityAttestation { #[codec(index = 1)] Implicit(runtime_types::polkadot_primitives::v6::validator_app::Signature), @@ -49068,28 +53204,36 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { # [codec (index = 0)] # [doc = "See [`Pallet::assign_perm_parachain_slot`]."] assign_perm_parachain_slot { id : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , } , # [codec (index = 1)] # [doc = "See [`Pallet::assign_temp_parachain_slot`]."] assign_temp_parachain_slot { id : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , lease_period_start : runtime_types :: polkadot_runtime_common :: assigned_slots :: SlotLeasePeriodStart , } , # [codec (index = 2)] # [doc = "See [`Pallet::unassign_parachain_slot`]."] unassign_parachain_slot { id : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , } , # [codec (index = 3)] # [doc = "See [`Pallet::set_max_permanent_slots`]."] set_max_permanent_slots { slots : :: core :: primitive :: u32 , } , # [codec (index = 4)] # [doc = "See [`Pallet::set_max_temporary_slots`]."] set_max_temporary_slots { slots : :: core :: primitive :: u32 , } , } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -49121,15 +53265,19 @@ pub mod api { MaxTemporarySlotsExceeded, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] @@ -49151,15 +53299,19 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct ParachainTemporarySlot<_0, _1> { pub manager: _0, pub period_begin: _1, @@ -49168,15 +53320,19 @@ pub mod api { pub lease_count: ::core::primitive::u32, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum SlotLeasePeriodStart { #[codec(index = 0)] Current, @@ -49189,15 +53345,19 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -49227,15 +53387,19 @@ pub mod api { cancel_auction, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -49261,15 +53425,19 @@ pub mod api { AlreadyLeasedOut, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] @@ -49289,14 +53457,14 @@ pub mod api { #[doc = "Funds were reserved for a winning bid. First balance is the extra amount reserved."] #[doc = "Second is the total."] Reserved { - bidder: ::subxt::utils::AccountId32, + bidder: ::subxt::ext::subxt_core::utils::AccountId32, extra_reserved: ::core::primitive::u128, total_amount: ::core::primitive::u128, }, #[codec(index = 3)] #[doc = "Funds were unreserved since bidder is no longer active. `[bidder, amount]`"] Unreserved { - bidder: ::subxt::utils::AccountId32, + bidder: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 4)] @@ -49304,13 +53472,13 @@ pub mod api { #[doc = "reserve but no parachain slot has been leased."] ReserveConfiscated { para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, - leaser: ::subxt::utils::AccountId32, + leaser: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, }, #[codec(index = 5)] #[doc = "A new bid has been accepted as the current winner."] BidAccepted { - bidder: ::subxt::utils::AccountId32, + bidder: ::subxt::ext::subxt_core::utils::AccountId32, para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, amount: ::core::primitive::u128, first_slot: ::core::primitive::u32, @@ -49331,21 +53499,25 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] #[doc = "See [`Pallet::claim`]."] claim { - dest: ::subxt::utils::AccountId32, + dest: ::subxt::ext::subxt_core::utils::AccountId32, ethereum_signature: runtime_types::polkadot_runtime_common::claims::EcdsaSignature, }, @@ -49366,34 +53538,42 @@ pub mod api { #[codec(index = 2)] #[doc = "See [`Pallet::claim_attest`]."] claim_attest { - dest: ::subxt::utils::AccountId32, + dest: ::subxt::ext::subxt_core::utils::AccountId32, ethereum_signature: runtime_types::polkadot_runtime_common::claims::EcdsaSignature, - statement: ::std::vec::Vec<::core::primitive::u8>, + statement: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, #[codec(index = 3)] #[doc = "See [`Pallet::attest`]."] attest { - statement: ::std::vec::Vec<::core::primitive::u8>, + statement: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, #[codec(index = 4)] #[doc = "See [`Pallet::move_claim`]."] move_claim { old: runtime_types::polkadot_runtime_common::claims::EthereumAddress, new: runtime_types::polkadot_runtime_common::claims::EthereumAddress, - maybe_preclaim: ::core::option::Option<::subxt::utils::AccountId32>, + maybe_preclaim: ::core::option::Option< + ::subxt::ext::subxt_core::utils::AccountId32, + >, }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -49417,21 +53597,25 @@ pub mod api { VestedBalanceExists, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] #[doc = "Someone claimed some DOTs."] Claimed { - who: ::subxt::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, ethereum_address: runtime_types::polkadot_runtime_common::claims::EthereumAddress, amount: ::core::primitive::u128, @@ -49439,37 +53623,49 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct EcdsaSignature(pub [::core::primitive::u8; 65usize]); #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct EthereumAddress(pub [::core::primitive::u8; 20usize]); #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum StatementKind { #[codec(index = 0)] Regular, @@ -49482,15 +53678,19 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -49522,7 +53722,7 @@ pub mod api { #[codec(index = 2)] #[doc = "See [`Pallet::withdraw`]."] withdraw { - who: ::subxt::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, #[codec(compact)] index: runtime_types::polkadot_parachain_primitives::primitives::Id, }, @@ -49558,7 +53758,7 @@ pub mod api { #[doc = "See [`Pallet::add_memo`]."] add_memo { index: runtime_types::polkadot_parachain_primitives::primitives::Id, - memo: ::std::vec::Vec<::core::primitive::u8>, + memo: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, #[codec(index = 7)] #[doc = "See [`Pallet::poke`]."] @@ -49575,15 +53775,19 @@ pub mod api { }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -49658,15 +53862,19 @@ pub mod api { NoLeasePeriod, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] @@ -49677,7 +53885,7 @@ pub mod api { #[codec(index = 1)] #[doc = "Contributed to a crowd sale."] Contributed { - who: ::subxt::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, fund_index: runtime_types::polkadot_parachain_primitives::primitives::Id, amount: ::core::primitive::u128, @@ -49685,7 +53893,7 @@ pub mod api { #[codec(index = 2)] #[doc = "Withdrew full balance of a contributor."] Withdrew { - who: ::subxt::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, fund_index: runtime_types::polkadot_parachain_primitives::primitives::Id, amount: ::core::primitive::u128, @@ -49723,9 +53931,9 @@ pub mod api { #[codec(index = 8)] #[doc = "A memo has been updated."] MemoUpdated { - who: ::subxt::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, - memo: ::std::vec::Vec<::core::primitive::u8>, + memo: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, }, #[codec(index = 9)] #[doc = "A parachain has been moved to `NewRaise`"] @@ -49735,15 +53943,19 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct FundInfo<_0, _1, _2, _3> { pub depositor: _0, pub verifier: ::core::option::Option, @@ -49758,15 +53970,19 @@ pub mod api { pub fund_index: ::core::primitive::u32, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum LastContribution<_0> { #[codec(index = 0)] Never, @@ -49779,15 +53995,19 @@ pub mod api { pub mod impls { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum VersionedLocatableAsset { #[codec(index = 3)] V3 { @@ -49801,28 +54021,36 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { - # [codec (index = 0)] # [doc = "See [`Pallet::register`]."] register { id : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , genesis_head : runtime_types :: polkadot_parachain_primitives :: primitives :: HeadData , validation_code : runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCode , } , # [codec (index = 1)] # [doc = "See [`Pallet::force_register`]."] force_register { who : :: subxt :: utils :: AccountId32 , deposit : :: core :: primitive :: u128 , id : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , genesis_head : runtime_types :: polkadot_parachain_primitives :: primitives :: HeadData , validation_code : runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCode , } , # [codec (index = 2)] # [doc = "See [`Pallet::deregister`]."] deregister { id : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , } , # [codec (index = 3)] # [doc = "See [`Pallet::swap`]."] swap { id : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , other : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , } , # [codec (index = 4)] # [doc = "See [`Pallet::remove_lock`]."] remove_lock { para : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , } , # [codec (index = 5)] # [doc = "See [`Pallet::reserve`]."] reserve , # [codec (index = 6)] # [doc = "See [`Pallet::add_lock`]."] add_lock { para : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , } , # [codec (index = 7)] # [doc = "See [`Pallet::schedule_code_upgrade`]."] schedule_code_upgrade { para : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , new_code : runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCode , } , # [codec (index = 8)] # [doc = "See [`Pallet::set_current_head`]."] set_current_head { para : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , new_head : runtime_types :: polkadot_parachain_primitives :: primitives :: HeadData , } , } + # [codec (index = 0)] # [doc = "See [`Pallet::register`]."] register { id : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , genesis_head : runtime_types :: polkadot_parachain_primitives :: primitives :: HeadData , validation_code : runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCode , } , # [codec (index = 1)] # [doc = "See [`Pallet::force_register`]."] force_register { who : :: subxt :: ext :: subxt_core :: utils :: AccountId32 , deposit : :: core :: primitive :: u128 , id : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , genesis_head : runtime_types :: polkadot_parachain_primitives :: primitives :: HeadData , validation_code : runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCode , } , # [codec (index = 2)] # [doc = "See [`Pallet::deregister`]."] deregister { id : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , } , # [codec (index = 3)] # [doc = "See [`Pallet::swap`]."] swap { id : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , other : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , } , # [codec (index = 4)] # [doc = "See [`Pallet::remove_lock`]."] remove_lock { para : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , } , # [codec (index = 5)] # [doc = "See [`Pallet::reserve`]."] reserve , # [codec (index = 6)] # [doc = "See [`Pallet::add_lock`]."] add_lock { para : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , } , # [codec (index = 7)] # [doc = "See [`Pallet::schedule_code_upgrade`]."] schedule_code_upgrade { para : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , new_code : runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCode , } , # [codec (index = 8)] # [doc = "See [`Pallet::set_current_head`]."] set_current_head { para : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , new_head : runtime_types :: polkadot_parachain_primitives :: primitives :: HeadData , } , } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -49871,21 +54099,25 @@ pub mod api { CannotSwap, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] Registered { para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, - manager: ::subxt::utils::AccountId32, + manager: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 1)] Deregistered { @@ -49894,7 +54126,7 @@ pub mod api { #[codec(index = 2)] Reserved { para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, - who: ::subxt::utils::AccountId32, + who: ::subxt::ext::subxt_core::utils::AccountId32, }, #[codec(index = 3)] Swapped { @@ -49904,15 +54136,19 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct ParaInfo<_0, _1> { pub manager: _0, pub deposit: _1, @@ -49924,15 +54160,19 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -49961,7 +54201,9 @@ pub mod api { #[doc = "See [`Pallet::sudo_queue_downward_xcm`]."] sudo_queue_downward_xcm { id: runtime_types::polkadot_parachain_primitives::primitives::Id, - xcm: ::std::boxed::Box, + xcm: ::subxt::ext::subxt_core::alloc::boxed::Box< + runtime_types::xcm::VersionedXcm1, + >, }, #[codec(index = 5)] #[doc = "See [`Pallet::sudo_establish_hrmp_channel`]."] @@ -49973,15 +54215,19 @@ pub mod api { }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -50017,22 +54263,26 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] #[doc = "See [`Pallet::force_lease`]."] force_lease { para: runtime_types::polkadot_parachain_primitives::primitives::Id, - leaser: ::subxt::utils::AccountId32, + leaser: ::subxt::ext::subxt_core::utils::AccountId32, amount: ::core::primitive::u128, period_begin: ::core::primitive::u32, period_count: ::core::primitive::u32, @@ -50049,15 +54299,19 @@ pub mod api { }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -50068,15 +54322,19 @@ pub mod api { LeaseError, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] @@ -50090,7 +54348,7 @@ pub mod api { #[doc = "Second balance is the total amount reserved."] Leased { para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, - leaser: ::subxt::utils::AccountId32, + leaser: ::subxt::ext::subxt_core::utils::AccountId32, period_begin: ::core::primitive::u32, period_count: ::core::primitive::u32, extra_reserved: ::core::primitive::u128, @@ -50107,15 +54365,19 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -50132,15 +54394,19 @@ pub mod api { }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -50160,15 +54426,19 @@ pub mod api { NoOnDemandCores, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] @@ -50185,15 +54455,19 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct CoreAffinityCount { pub core_idx: runtime_types::polkadot_primitives::v6::CoreIndex, pub count: ::core::primitive::u32, @@ -50204,28 +54478,36 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { # [codec (index = 0)] # [doc = "See [`Pallet::set_validation_upgrade_cooldown`]."] set_validation_upgrade_cooldown { new : :: core :: primitive :: u32 , } , # [codec (index = 1)] # [doc = "See [`Pallet::set_validation_upgrade_delay`]."] set_validation_upgrade_delay { new : :: core :: primitive :: u32 , } , # [codec (index = 2)] # [doc = "See [`Pallet::set_code_retention_period`]."] set_code_retention_period { new : :: core :: primitive :: u32 , } , # [codec (index = 3)] # [doc = "See [`Pallet::set_max_code_size`]."] set_max_code_size { new : :: core :: primitive :: u32 , } , # [codec (index = 4)] # [doc = "See [`Pallet::set_max_pov_size`]."] set_max_pov_size { new : :: core :: primitive :: u32 , } , # [codec (index = 5)] # [doc = "See [`Pallet::set_max_head_data_size`]."] set_max_head_data_size { new : :: core :: primitive :: u32 , } , # [codec (index = 6)] # [doc = "See [`Pallet::set_on_demand_cores`]."] set_on_demand_cores { new : :: core :: primitive :: u32 , } , # [codec (index = 7)] # [doc = "See [`Pallet::set_on_demand_retries`]."] set_on_demand_retries { new : :: core :: primitive :: u32 , } , # [codec (index = 8)] # [doc = "See [`Pallet::set_group_rotation_frequency`]."] set_group_rotation_frequency { new : :: core :: primitive :: u32 , } , # [codec (index = 9)] # [doc = "See [`Pallet::set_paras_availability_period`]."] set_paras_availability_period { new : :: core :: primitive :: u32 , } , # [codec (index = 11)] # [doc = "See [`Pallet::set_scheduling_lookahead`]."] set_scheduling_lookahead { new : :: core :: primitive :: u32 , } , # [codec (index = 12)] # [doc = "See [`Pallet::set_max_validators_per_core`]."] set_max_validators_per_core { new : :: core :: option :: Option < :: core :: primitive :: u32 > , } , # [codec (index = 13)] # [doc = "See [`Pallet::set_max_validators`]."] set_max_validators { new : :: core :: option :: Option < :: core :: primitive :: u32 > , } , # [codec (index = 14)] # [doc = "See [`Pallet::set_dispute_period`]."] set_dispute_period { new : :: core :: primitive :: u32 , } , # [codec (index = 15)] # [doc = "See [`Pallet::set_dispute_post_conclusion_acceptance_period`]."] set_dispute_post_conclusion_acceptance_period { new : :: core :: primitive :: u32 , } , # [codec (index = 18)] # [doc = "See [`Pallet::set_no_show_slots`]."] set_no_show_slots { new : :: core :: primitive :: u32 , } , # [codec (index = 19)] # [doc = "See [`Pallet::set_n_delay_tranches`]."] set_n_delay_tranches { new : :: core :: primitive :: u32 , } , # [codec (index = 20)] # [doc = "See [`Pallet::set_zeroth_delay_tranche_width`]."] set_zeroth_delay_tranche_width { new : :: core :: primitive :: u32 , } , # [codec (index = 21)] # [doc = "See [`Pallet::set_needed_approvals`]."] set_needed_approvals { new : :: core :: primitive :: u32 , } , # [codec (index = 22)] # [doc = "See [`Pallet::set_relay_vrf_modulo_samples`]."] set_relay_vrf_modulo_samples { new : :: core :: primitive :: u32 , } , # [codec (index = 23)] # [doc = "See [`Pallet::set_max_upward_queue_count`]."] set_max_upward_queue_count { new : :: core :: primitive :: u32 , } , # [codec (index = 24)] # [doc = "See [`Pallet::set_max_upward_queue_size`]."] set_max_upward_queue_size { new : :: core :: primitive :: u32 , } , # [codec (index = 25)] # [doc = "See [`Pallet::set_max_downward_message_size`]."] set_max_downward_message_size { new : :: core :: primitive :: u32 , } , # [codec (index = 27)] # [doc = "See [`Pallet::set_max_upward_message_size`]."] set_max_upward_message_size { new : :: core :: primitive :: u32 , } , # [codec (index = 28)] # [doc = "See [`Pallet::set_max_upward_message_num_per_candidate`]."] set_max_upward_message_num_per_candidate { new : :: core :: primitive :: u32 , } , # [codec (index = 29)] # [doc = "See [`Pallet::set_hrmp_open_request_ttl`]."] set_hrmp_open_request_ttl { new : :: core :: primitive :: u32 , } , # [codec (index = 30)] # [doc = "See [`Pallet::set_hrmp_sender_deposit`]."] set_hrmp_sender_deposit { new : :: core :: primitive :: u128 , } , # [codec (index = 31)] # [doc = "See [`Pallet::set_hrmp_recipient_deposit`]."] set_hrmp_recipient_deposit { new : :: core :: primitive :: u128 , } , # [codec (index = 32)] # [doc = "See [`Pallet::set_hrmp_channel_max_capacity`]."] set_hrmp_channel_max_capacity { new : :: core :: primitive :: u32 , } , # [codec (index = 33)] # [doc = "See [`Pallet::set_hrmp_channel_max_total_size`]."] set_hrmp_channel_max_total_size { new : :: core :: primitive :: u32 , } , # [codec (index = 34)] # [doc = "See [`Pallet::set_hrmp_max_parachain_inbound_channels`]."] set_hrmp_max_parachain_inbound_channels { new : :: core :: primitive :: u32 , } , # [codec (index = 36)] # [doc = "See [`Pallet::set_hrmp_channel_max_message_size`]."] set_hrmp_channel_max_message_size { new : :: core :: primitive :: u32 , } , # [codec (index = 37)] # [doc = "See [`Pallet::set_hrmp_max_parachain_outbound_channels`]."] set_hrmp_max_parachain_outbound_channels { new : :: core :: primitive :: u32 , } , # [codec (index = 39)] # [doc = "See [`Pallet::set_hrmp_max_message_num_per_candidate`]."] set_hrmp_max_message_num_per_candidate { new : :: core :: primitive :: u32 , } , # [codec (index = 42)] # [doc = "See [`Pallet::set_pvf_voting_ttl`]."] set_pvf_voting_ttl { new : :: core :: primitive :: u32 , } , # [codec (index = 43)] # [doc = "See [`Pallet::set_minimum_validation_upgrade_delay`]."] set_minimum_validation_upgrade_delay { new : :: core :: primitive :: u32 , } , # [codec (index = 44)] # [doc = "See [`Pallet::set_bypass_consistency_check`]."] set_bypass_consistency_check { new : :: core :: primitive :: bool , } , # [codec (index = 45)] # [doc = "See [`Pallet::set_async_backing_params`]."] set_async_backing_params { new : runtime_types :: polkadot_primitives :: v6 :: async_backing :: AsyncBackingParams , } , # [codec (index = 46)] # [doc = "See [`Pallet::set_executor_params`]."] set_executor_params { new : runtime_types :: polkadot_primitives :: v6 :: executor_params :: ExecutorParams , } , # [codec (index = 47)] # [doc = "See [`Pallet::set_on_demand_base_fee`]."] set_on_demand_base_fee { new : :: core :: primitive :: u128 , } , # [codec (index = 48)] # [doc = "See [`Pallet::set_on_demand_fee_variability`]."] set_on_demand_fee_variability { new : runtime_types :: sp_arithmetic :: per_things :: Perbill , } , # [codec (index = 49)] # [doc = "See [`Pallet::set_on_demand_queue_max_size`]."] set_on_demand_queue_max_size { new : :: core :: primitive :: u32 , } , # [codec (index = 50)] # [doc = "See [`Pallet::set_on_demand_target_queue_utilization`]."] set_on_demand_target_queue_utilization { new : runtime_types :: sp_arithmetic :: per_things :: Perbill , } , # [codec (index = 51)] # [doc = "See [`Pallet::set_on_demand_ttl`]."] set_on_demand_ttl { new : :: core :: primitive :: u32 , } , # [codec (index = 52)] # [doc = "See [`Pallet::set_minimum_backing_votes`]."] set_minimum_backing_votes { new : :: core :: primitive :: u32 , } , } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -50234,15 +54516,19 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct HostConfiguration<_0> { pub max_code_size: ::core::primitive::u32, pub max_head_data_size: ::core::primitive::u32, @@ -50298,15 +54584,19 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -50314,15 +54604,19 @@ pub mod api { force_unfreeze, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -50354,15 +54648,19 @@ pub mod api { UnconfirmedDispute, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] @@ -50391,36 +54689,44 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] #[doc = "See [`Pallet::report_dispute_lost_unsigned`]."] report_dispute_lost_unsigned { - dispute_proof: ::std::boxed::Box< + dispute_proof: ::subxt::ext::subxt_core::alloc::boxed::Box< runtime_types::polkadot_primitives::v6::slashing::DisputeProof, >, key_owner_proof: runtime_types::sp_session::MembershipProof, }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -50446,15 +54752,19 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum DisputeLocation { #[codec(index = 0)] Local, @@ -50462,15 +54772,19 @@ pub mod api { Remote, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum DisputeResult { #[codec(index = 0)] Valid, @@ -50483,28 +54797,36 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { # [codec (index = 0)] # [doc = "See [`Pallet::hrmp_init_open_channel`]."] hrmp_init_open_channel { recipient : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , proposed_max_capacity : :: core :: primitive :: u32 , proposed_max_message_size : :: core :: primitive :: u32 , } , # [codec (index = 1)] # [doc = "See [`Pallet::hrmp_accept_open_channel`]."] hrmp_accept_open_channel { sender : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , } , # [codec (index = 2)] # [doc = "See [`Pallet::hrmp_close_channel`]."] hrmp_close_channel { channel_id : runtime_types :: polkadot_parachain_primitives :: primitives :: HrmpChannelId , } , # [codec (index = 3)] # [doc = "See [`Pallet::force_clean_hrmp`]."] force_clean_hrmp { para : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , num_inbound : :: core :: primitive :: u32 , num_outbound : :: core :: primitive :: u32 , } , # [codec (index = 4)] # [doc = "See [`Pallet::force_process_hrmp_open`]."] force_process_hrmp_open { channels : :: core :: primitive :: u32 , } , # [codec (index = 5)] # [doc = "See [`Pallet::force_process_hrmp_close`]."] force_process_hrmp_close { channels : :: core :: primitive :: u32 , } , # [codec (index = 6)] # [doc = "See [`Pallet::hrmp_cancel_open_request`]."] hrmp_cancel_open_request { channel_id : runtime_types :: polkadot_parachain_primitives :: primitives :: HrmpChannelId , open_requests : :: core :: primitive :: u32 , } , # [codec (index = 7)] # [doc = "See [`Pallet::force_open_hrmp_channel`]."] force_open_hrmp_channel { sender : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , recipient : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , max_capacity : :: core :: primitive :: u32 , max_message_size : :: core :: primitive :: u32 , } , # [codec (index = 8)] # [doc = "See [`Pallet::establish_system_channel`]."] establish_system_channel { sender : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , recipient : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , } , # [codec (index = 9)] # [doc = "See [`Pallet::poke_channel_deposits`]."] poke_channel_deposits { sender : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , recipient : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , } , } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -50569,49 +54891,61 @@ pub mod api { ChannelCreationNotAuthorized, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { # [codec (index = 0)] # [doc = "Open HRMP channel requested."] OpenChannelRequested { sender : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , recipient : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , proposed_max_capacity : :: core :: primitive :: u32 , proposed_max_message_size : :: core :: primitive :: u32 , } , # [codec (index = 1)] # [doc = "An HRMP channel request sent by the receiver was canceled by either party."] OpenChannelCanceled { by_parachain : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , channel_id : runtime_types :: polkadot_parachain_primitives :: primitives :: HrmpChannelId , } , # [codec (index = 2)] # [doc = "Open HRMP channel accepted."] OpenChannelAccepted { sender : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , recipient : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , } , # [codec (index = 3)] # [doc = "HRMP channel closed."] ChannelClosed { by_parachain : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , channel_id : runtime_types :: polkadot_parachain_primitives :: primitives :: HrmpChannelId , } , # [codec (index = 4)] # [doc = "An HRMP channel was opened via Root origin."] HrmpChannelForceOpened { sender : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , recipient : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , proposed_max_capacity : :: core :: primitive :: u32 , proposed_max_message_size : :: core :: primitive :: u32 , } , # [codec (index = 5)] # [doc = "An HRMP channel was opened between two system chains."] HrmpSystemChannelOpened { sender : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , recipient : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , proposed_max_capacity : :: core :: primitive :: u32 , proposed_max_message_size : :: core :: primitive :: u32 , } , # [codec (index = 6)] # [doc = "An HRMP channel's deposits were updated."] OpenChannelDepositsUpdated { sender : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , recipient : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , } , } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct HrmpChannel { pub max_capacity: ::core::primitive::u32, pub max_total_size: ::core::primitive::u32, pub max_message_size: ::core::primitive::u32, pub msg_count: ::core::primitive::u32, pub total_size: ::core::primitive::u32, - pub mqc_head: ::core::option::Option<::subxt::utils::H256>, + pub mqc_head: ::core::option::Option<::subxt::ext::subxt_core::utils::H256>, pub sender_deposit: ::core::primitive::u128, pub recipient_deposit: ::core::primitive::u128, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct HrmpOpenChannelRequest { pub confirmed: ::core::primitive::bool, pub _age: ::core::primitive::u32, @@ -50626,27 +54960,35 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call {} #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -50743,22 +55085,26 @@ pub mod api { BitfieldReferencesFreedCore, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] #[doc = "A candidate was backed. `[candidate, head_data]`"] CandidateBacked( runtime_types::polkadot_primitives::v6::CandidateReceipt< - ::subxt::utils::H256, + ::subxt::ext::subxt_core::utils::H256, >, runtime_types::polkadot_parachain_primitives::primitives::HeadData, runtime_types::polkadot_primitives::v6::CoreIndex, @@ -50768,7 +55114,7 @@ pub mod api { #[doc = "A candidate was included. `[candidate, head_data]`"] CandidateIncluded( runtime_types::polkadot_primitives::v6::CandidateReceipt< - ::subxt::utils::H256, + ::subxt::ext::subxt_core::utils::H256, >, runtime_types::polkadot_parachain_primitives::primitives::HeadData, runtime_types::polkadot_primitives::v6::CoreIndex, @@ -50778,7 +55124,7 @@ pub mod api { #[doc = "A candidate timed out. `[candidate, head_data]`"] CandidateTimedOut( runtime_types::polkadot_primitives::v6::CandidateReceipt< - ::subxt::utils::H256, + ::subxt::ext::subxt_core::utils::H256, >, runtime_types::polkadot_parachain_primitives::primitives::HeadData, runtime_types::polkadot_primitives::v6::CoreIndex, @@ -50792,69 +55138,85 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum AggregateMessageOrigin { #[codec(index = 0)] Ump(runtime_types::polkadot_runtime_parachains::inclusion::UmpQueueId), } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct AvailabilityBitfieldRecord<_0> { pub bitfield: runtime_types::polkadot_primitives::v6::AvailabilityBitfield, pub submitted_at: _0, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct CandidatePendingAvailability<_0, _1> { pub core: runtime_types::polkadot_primitives::v6::CoreIndex, pub hash: runtime_types::polkadot_core_primitives::CandidateHash, pub descriptor: runtime_types::polkadot_primitives::v6::CandidateDescriptor<_0>, - pub availability_votes: ::subxt::utils::bits::DecodedBits< + pub availability_votes: ::subxt::ext::subxt_core::utils::bits::DecodedBits< ::core::primitive::u8, - ::subxt::utils::bits::Lsb0, + ::subxt::ext::subxt_core::utils::bits::Lsb0, >, - pub backers: ::subxt::utils::bits::DecodedBits< + pub backers: ::subxt::ext::subxt_core::utils::bits::DecodedBits< ::core::primitive::u8, - ::subxt::utils::bits::Lsb0, + ::subxt::ext::subxt_core::utils::bits::Lsb0, >, pub relay_parent_number: _1, pub backed_in_number: _1, pub backing_group: runtime_types::polkadot_primitives::v6::GroupIndex, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum UmpQueueId { #[codec(index = 0)] Para(runtime_types::polkadot_parachain_primitives::primitives::Id), @@ -50865,15 +55227,19 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -50882,20 +55248,24 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct BufferedSessionChange { - pub validators: ::std::vec::Vec< + pub validators: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_primitives::v6::validator_app::Public, >, - pub queued: ::std::vec::Vec< + pub queued: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_primitives::v6::validator_app::Public, >, pub session_index: ::core::primitive::u32, @@ -50906,15 +55276,19 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum Origin { #[codec(index = 0)] Parachain(runtime_types::polkadot_parachain_primitives::primitives::Id), @@ -50926,28 +55300,36 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { # [codec (index = 0)] # [doc = "See [`Pallet::force_set_current_code`]."] force_set_current_code { para : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , new_code : runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCode , } , # [codec (index = 1)] # [doc = "See [`Pallet::force_set_current_head`]."] force_set_current_head { para : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , new_head : runtime_types :: polkadot_parachain_primitives :: primitives :: HeadData , } , # [codec (index = 2)] # [doc = "See [`Pallet::force_schedule_code_upgrade`]."] force_schedule_code_upgrade { para : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , new_code : runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCode , relay_parent_number : :: core :: primitive :: u32 , } , # [codec (index = 3)] # [doc = "See [`Pallet::force_note_new_head`]."] force_note_new_head { para : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , new_head : runtime_types :: polkadot_parachain_primitives :: primitives :: HeadData , } , # [codec (index = 4)] # [doc = "See [`Pallet::force_queue_action`]."] force_queue_action { para : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , } , # [codec (index = 5)] # [doc = "See [`Pallet::add_trusted_validation_code`]."] add_trusted_validation_code { validation_code : runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCode , } , # [codec (index = 6)] # [doc = "See [`Pallet::poke_unused_validation_code`]."] poke_unused_validation_code { validation_code_hash : runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCodeHash , } , # [codec (index = 7)] # [doc = "See [`Pallet::include_pvf_check_statement`]."] include_pvf_check_statement { stmt : runtime_types :: polkadot_primitives :: v6 :: PvfCheckStatement , signature : runtime_types :: polkadot_primitives :: v6 :: validator_app :: Signature , } , # [codec (index = 8)] # [doc = "See [`Pallet::force_set_most_recent_context`]."] force_set_most_recent_context { para : runtime_types :: polkadot_parachain_primitives :: primitives :: Id , context : :: core :: primitive :: u32 , } , } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -50988,29 +55370,37 @@ pub mod api { CannotUpgradeCode, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { # [codec (index = 0)] # [doc = "Current code has been updated for a Para. `para_id`"] CurrentCodeUpdated (runtime_types :: polkadot_parachain_primitives :: primitives :: Id ,) , # [codec (index = 1)] # [doc = "Current head has been updated for a Para. `para_id`"] CurrentHeadUpdated (runtime_types :: polkadot_parachain_primitives :: primitives :: Id ,) , # [codec (index = 2)] # [doc = "A code upgrade has been scheduled for a Para. `para_id`"] CodeUpgradeScheduled (runtime_types :: polkadot_parachain_primitives :: primitives :: Id ,) , # [codec (index = 3)] # [doc = "A new head has been noted for a Para. `para_id`"] NewHeadNoted (runtime_types :: polkadot_parachain_primitives :: primitives :: Id ,) , # [codec (index = 4)] # [doc = "A para has been queued to execute pending actions. `para_id`"] ActionQueued (runtime_types :: polkadot_parachain_primitives :: primitives :: Id , :: core :: primitive :: u32 ,) , # [codec (index = 5)] # [doc = "The given para either initiated or subscribed to a PVF check for the given validation"] # [doc = "code. `code_hash` `para_id`"] PvfCheckStarted (runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCodeHash , runtime_types :: polkadot_parachain_primitives :: primitives :: Id ,) , # [codec (index = 6)] # [doc = "The given validation code was accepted by the PVF pre-checking vote."] # [doc = "`code_hash` `para_id`"] PvfCheckAccepted (runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCodeHash , runtime_types :: polkadot_parachain_primitives :: primitives :: Id ,) , # [codec (index = 7)] # [doc = "The given validation code was rejected by the PVF pre-checking vote."] # [doc = "`code_hash` `para_id`"] PvfCheckRejected (runtime_types :: polkadot_parachain_primitives :: primitives :: ValidationCodeHash , runtime_types :: polkadot_parachain_primitives :: primitives :: Id ,) , } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct ParaGenesisArgs { pub genesis_head: runtime_types::polkadot_parachain_primitives::primitives::HeadData, @@ -51019,15 +55409,19 @@ pub mod api { pub para_kind: ::core::primitive::bool, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum ParaLifecycle { #[codec(index = 0)] Onboarding, @@ -51045,56 +55439,68 @@ pub mod api { OffboardingParachain, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct ParaPastCodeMeta<_0> { - pub upgrade_times: ::std::vec::Vec< + pub upgrade_times: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_runtime_parachains::paras::ReplacementTimes<_0>, >, pub last_pruned: ::core::option::Option<_0>, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct PvfCheckActiveVoteState<_0> { - pub votes_accept: ::subxt::utils::bits::DecodedBits< + pub votes_accept: ::subxt::ext::subxt_core::utils::bits::DecodedBits< ::core::primitive::u8, - ::subxt::utils::bits::Lsb0, + ::subxt::ext::subxt_core::utils::bits::Lsb0, >, - pub votes_reject: ::subxt::utils::bits::DecodedBits< + pub votes_reject: ::subxt::ext::subxt_core::utils::bits::DecodedBits< ::core::primitive::u8, - ::subxt::utils::bits::Lsb0, + ::subxt::ext::subxt_core::utils::bits::Lsb0, >, pub age: ::core::primitive::u32, pub created_at: _0, - pub causes: ::std::vec::Vec< + pub causes: ::subxt::ext::subxt_core::alloc::vec::Vec< runtime_types::polkadot_runtime_parachains::paras::PvfCheckCause<_0>, >, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum PvfCheckCause<_0> { #[codec(index = 0)] Onboarding(runtime_types::polkadot_parachain_primitives::primitives::Id), @@ -51106,29 +55512,37 @@ pub mod api { }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct ReplacementTimes<_0> { pub expected_at: _0, pub activated_at: _0, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum SetGoAhead { #[codec(index = 0)] Yes, @@ -51141,15 +55555,19 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] @@ -51163,15 +55581,19 @@ pub mod api { }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Error` enum of this pallet."] pub enum Error { #[codec(index = 0)] @@ -51201,15 +55623,19 @@ pub mod api { pub mod common { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Assignment { pub para_id: runtime_types::polkadot_parachain_primitives::primitives::Id, } @@ -51217,27 +55643,35 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum CoreOccupied<_0> { # [codec (index = 0)] Free , # [codec (index = 1)] Paras (runtime_types :: polkadot_runtime_parachains :: scheduler :: pallet :: ParasEntry < _0 > ,) , } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct ParasEntry < _0 > { pub assignment : runtime_types :: polkadot_runtime_parachains :: scheduler :: common :: Assignment , pub availability_timeouts : :: core :: primitive :: u32 , pub ttl : _0 , } } } @@ -51246,30 +55680,38 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call {} } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct AllowedRelayParentsTracker<_0, _1> { - pub buffer: ::std::vec::Vec<(_0, _0)>, + pub buffer: ::subxt::ext::subxt_core::alloc::vec::Vec<(_0, _0)>, pub latest_number: _1, } } @@ -51283,15 +55725,19 @@ pub mod api { pub mod pallet_custom_origins { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum Origin { #[codec(index = 0)] StakingAdmin, @@ -51356,71 +55802,91 @@ pub mod api { pub mod pallet { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "Contains a variant per dispatchable extrinsic that this pallet has."] pub enum Call { #[codec(index = 0)] #[doc = "See [`Pallet::register_validators`]."] register_validators { - validators: ::std::vec::Vec<::subxt::utils::AccountId32>, + validators: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >, }, #[codec(index = 1)] #[doc = "See [`Pallet::deregister_validators`]."] deregister_validators { - validators: ::std::vec::Vec<::subxt::utils::AccountId32>, + validators: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >, }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] #[doc = "The `Event` enum of this pallet"] pub enum Event { #[codec(index = 0)] #[doc = "New validators were added to the set."] - ValidatorsRegistered(::std::vec::Vec<::subxt::utils::AccountId32>), + ValidatorsRegistered( + ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >, + ), #[codec(index = 1)] #[doc = "Validators were removed from the set."] - ValidatorsDeregistered(::std::vec::Vec<::subxt::utils::AccountId32>), + ValidatorsDeregistered( + ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::utils::AccountId32, + >, + ), } } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum OriginCaller { - # [codec (index = 0)] system (runtime_types :: frame_support :: dispatch :: RawOrigin < :: subxt :: utils :: AccountId32 > ,) , # [codec (index = 43)] Origins (runtime_types :: rococo_runtime :: governance :: origins :: pallet_custom_origins :: Origin ,) , # [codec (index = 50)] ParachainsOrigin (runtime_types :: polkadot_runtime_parachains :: origin :: pallet :: Origin ,) , # [codec (index = 99)] XcmPallet (runtime_types :: pallet_xcm :: pallet :: Origin ,) , # [codec (index = 4)] Void (runtime_types :: sp_core :: Void ,) , } + # [codec (index = 0)] system (runtime_types :: frame_support :: dispatch :: RawOrigin < :: subxt :: ext :: subxt_core :: utils :: AccountId32 > ,) , # [codec (index = 43)] Origins (runtime_types :: rococo_runtime :: governance :: origins :: pallet_custom_origins :: Origin ,) , # [codec (index = 50)] ParachainsOrigin (runtime_types :: polkadot_runtime_parachains :: origin :: pallet :: Origin ,) , # [codec (index = 99)] XcmPallet (runtime_types :: pallet_xcm :: pallet :: Origin ,) , # [codec (index = 4)] Void (runtime_types :: sp_core :: Void ,) , } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum ProxyType { #[codec(index = 0)] Any, @@ -51440,26 +55906,26 @@ pub mod api { OnDemandOrdering, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct Runtime; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum RuntimeCall { #[codec(index = 0)] System(runtime_types::frame_system::pallet::Call), @@ -51488,7 +55954,7 @@ pub mod api { #[codec(index = 22)] FellowshipCollective(runtime_types::pallet_ranked_collective::pallet::Call), #[codec(index = 23)] - FellowshipReferenda(runtime_types::pallet_referenda::pallet::Call2), + FellowshipReferenda(runtime_types::pallet_referenda::pallet::Call), #[codec(index = 44)] Whitelist(runtime_types::pallet_whitelist::pallet::Call), #[codec(index = 19)] @@ -51520,7 +55986,7 @@ pub mod api { #[codec(index = 38)] Nis(runtime_types::pallet_nis::pallet::Call), #[codec(index = 45)] - NisCounterpartBalances(runtime_types::pallet_balances::pallet::Call2), + NisCounterpartBalances(runtime_types::pallet_balances::pallet::Call), #[codec(index = 51)] Configuration( runtime_types::polkadot_runtime_parachains::configuration::pallet::Call, @@ -51571,21 +56037,19 @@ pub mod api { ValidatorManager(runtime_types::rococo_runtime::validator_manager::pallet::Call), #[codec(index = 254)] StateTrieMigration(runtime_types::pallet_state_trie_migration::pallet::Call), - #[codec(index = 249)] - RootTesting(runtime_types::pallet_root_testing::pallet::Call), #[codec(index = 255)] Sudo(runtime_types::pallet_sudo::pallet::Call), } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum RuntimeError { #[codec(index = 0)] System(runtime_types::frame_system::pallet::Error), @@ -51612,7 +56076,7 @@ pub mod api { #[codec(index = 22)] FellowshipCollective(runtime_types::pallet_ranked_collective::pallet::Error), #[codec(index = 23)] - FellowshipReferenda(runtime_types::pallet_referenda::pallet::Error2), + FellowshipReferenda(runtime_types::pallet_referenda::pallet::Error), #[codec(index = 44)] Whitelist(runtime_types::pallet_whitelist::pallet::Error), #[codec(index = 19)] @@ -51644,7 +56108,7 @@ pub mod api { #[codec(index = 38)] Nis(runtime_types::pallet_nis::pallet::Error), #[codec(index = 45)] - NisCounterpartBalances(runtime_types::pallet_balances::pallet::Error2), + NisCounterpartBalances(runtime_types::pallet_balances::pallet::Error), #[codec(index = 51)] Configuration( runtime_types::polkadot_runtime_parachains::configuration::pallet::Error, @@ -51695,15 +56159,15 @@ pub mod api { Sudo(runtime_types::pallet_sudo::pallet::Error), } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum RuntimeEvent { #[codec(index = 0)] System(runtime_types::frame_system::pallet::Event), @@ -51726,7 +56190,7 @@ pub mod api { #[codec(index = 20)] ConvictionVoting(runtime_types::pallet_conviction_voting::pallet::Event), #[codec(index = 21)] - Referenda(runtime_types::pallet_referenda::pallet::Event), + Referenda(runtime_types::pallet_referenda::pallet::Event1), #[codec(index = 22)] FellowshipCollective(runtime_types::pallet_ranked_collective::pallet::Event), #[codec(index = 23)] @@ -51762,7 +56226,7 @@ pub mod api { #[codec(index = 38)] Nis(runtime_types::pallet_nis::pallet::Event), #[codec(index = 45)] - NisCounterpartBalances(runtime_types::pallet_balances::pallet::Event2), + NisCounterpartBalances(runtime_types::pallet_balances::pallet::Event), #[codec(index = 53)] ParaInclusion(runtime_types::polkadot_runtime_parachains::inclusion::pallet::Event), #[codec(index = 56)] @@ -51795,21 +56259,19 @@ pub mod api { ValidatorManager(runtime_types::rococo_runtime::validator_manager::pallet::Event), #[codec(index = 254)] StateTrieMigration(runtime_types::pallet_state_trie_migration::pallet::Event), - #[codec(index = 249)] - RootTesting(runtime_types::pallet_root_testing::pallet::Event), #[codec(index = 255)] Sudo(runtime_types::pallet_sudo::pallet::Event), } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum RuntimeHoldReason { #[codec(index = 32)] Preimage(runtime_types::pallet_preimage::pallet::HoldReason), @@ -51817,15 +56279,15 @@ pub mod api { Nis(runtime_types::pallet_nis::pallet::HoldReason), } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct SessionKeys { pub grandpa: runtime_types::sp_consensus_grandpa::app::Public, pub babe: runtime_types::sp_consensus_babe::app::Public, @@ -51841,78 +56303,98 @@ pub mod api { pub mod fixed_point { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct FixedI64(pub ::core::primitive::i64); #[derive( - :: subxt :: ext :: codec :: CompactAs, - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct FixedU128(pub ::core::primitive::u128); } pub mod per_things { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: CompactAs, - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Perbill(pub ::core::primitive::u32); #[derive( - :: subxt :: ext :: codec :: CompactAs, - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Permill(pub ::core::primitive::u32); #[derive( - :: subxt :: ext :: codec :: CompactAs, - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Perquintill(pub ::core::primitive::u64); } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum ArithmeticError { #[codec(index = 0)] Underflow, @@ -51927,15 +56409,19 @@ pub mod api { pub mod app { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Public(pub runtime_types::sp_core::sr25519::Public); } } @@ -51944,29 +56430,37 @@ pub mod api { pub mod app { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Public(pub runtime_types::sp_core::sr25519::Public); } pub mod digests { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum NextConfigDescriptor { #[codec(index = 1)] V1 { @@ -51975,15 +56469,19 @@ pub mod api { }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum PreDigest { #[codec(index = 1)] Primary(runtime_types::sp_consensus_babe::digests::PrimaryPreDigest), @@ -51995,44 +56493,56 @@ pub mod api { SecondaryVRF(runtime_types::sp_consensus_babe::digests::SecondaryVRFPreDigest), } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct PrimaryPreDigest { pub authority_index: ::core::primitive::u32, pub slot: runtime_types::sp_consensus_slots::Slot, pub vrf_signature: runtime_types::sp_core::sr25519::vrf::VrfSignature, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct SecondaryPlainPreDigest { pub authority_index: ::core::primitive::u32, pub slot: runtime_types::sp_consensus_slots::Slot, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct SecondaryVRFPreDigest { pub authority_index: ::core::primitive::u32, pub slot: runtime_types::sp_consensus_slots::Slot, @@ -52040,15 +56550,15 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum AllowedSlots { #[codec(index = 0)] PrimarySlots, @@ -52058,20 +56568,20 @@ pub mod api { PrimaryAndSecondaryVRFSlots, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct BabeConfiguration { pub slot_duration: ::core::primitive::u64, pub epoch_length: ::core::primitive::u64, pub c: (::core::primitive::u64, ::core::primitive::u64), - pub authorities: ::std::vec::Vec<( + pub authorities: ::subxt::ext::subxt_core::alloc::vec::Vec<( runtime_types::sp_consensus_babe::app::Public, ::core::primitive::u64, )>, @@ -52079,34 +56589,34 @@ pub mod api { pub allowed_slots: runtime_types::sp_consensus_babe::AllowedSlots, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct BabeEpochConfiguration { pub c: (::core::primitive::u64, ::core::primitive::u64), pub allowed_slots: runtime_types::sp_consensus_babe::AllowedSlots, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct Epoch { pub epoch_index: ::core::primitive::u64, pub start_slot: runtime_types::sp_consensus_slots::Slot, pub duration: ::core::primitive::u64, - pub authorities: ::std::vec::Vec<( + pub authorities: ::subxt::ext::subxt_core::alloc::vec::Vec<( runtime_types::sp_consensus_babe::app::Public, ::core::primitive::u64, )>, @@ -52114,31 +56624,37 @@ pub mod api { pub config: runtime_types::sp_consensus_babe::BabeEpochConfiguration, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - pub struct OpaqueKeyOwnershipProof(pub ::std::vec::Vec<::core::primitive::u8>); + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + pub struct OpaqueKeyOwnershipProof( + pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ); } pub mod sp_consensus_beefy { use super::runtime_types; pub mod commitment { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Commitment<_0> { pub payload: runtime_types::sp_consensus_beefy::payload::Payload, pub block_number: _0, @@ -52148,40 +56664,52 @@ pub mod api { pub mod ecdsa_crypto { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Public(pub runtime_types::sp_core::ecdsa::Public); #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Signature(pub runtime_types::sp_core::ecdsa::Signature); } pub mod mmr { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct BeefyAuthoritySet<_0> { pub id: ::core::primitive::u64, pub len: ::core::primitive::u32, @@ -52191,71 +56719,77 @@ pub mod api { pub mod payload { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Payload( - pub ::std::vec::Vec<( + pub ::subxt::ext::subxt_core::alloc::vec::Vec<( [::core::primitive::u8; 2usize], - ::std::vec::Vec<::core::primitive::u8>, + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, )>, ); } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct EquivocationProof<_0, _1, _2> { pub first: runtime_types::sp_consensus_beefy::VoteMessage<_0, _1, _2>, pub second: runtime_types::sp_consensus_beefy::VoteMessage<_0, _1, _2>, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - pub struct OpaqueKeyOwnershipProof(pub ::std::vec::Vec<::core::primitive::u8>); + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + pub struct OpaqueKeyOwnershipProof( + pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ); #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct ValidatorSet<_0> { - pub validators: ::std::vec::Vec<_0>, + pub validators: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, pub id: ::core::primitive::u64, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct VoteMessage<_0, _1, _2> { pub commitment: runtime_types::sp_consensus_beefy::commitment::Commitment<_0>, pub id: _1, @@ -52267,42 +56801,50 @@ pub mod api { pub mod app { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Public(pub runtime_types::sp_core::ed25519::Public); #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Signature(pub runtime_types::sp_core::ed25519::Signature); } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum Equivocation<_0, _1> { #[codec(index = 0)] Prevote( - runtime_types::finality_grandpa::Equivocation< + runtime_types::finality_grandpa::Equivocation1< runtime_types::sp_consensus_grandpa::app::Public, runtime_types::finality_grandpa::Prevote<_0, _1>, runtime_types::sp_consensus_grandpa::app::Signature, @@ -52310,7 +56852,7 @@ pub mod api { ), #[codec(index = 1)] Precommit( - runtime_types::finality_grandpa::Equivocation< + runtime_types::finality_grandpa::Equivocation2< runtime_types::sp_consensus_grandpa::app::Public, runtime_types::finality_grandpa::Precommit<_0, _1>, runtime_types::sp_consensus_grandpa::app::Signature, @@ -52318,43 +56860,45 @@ pub mod api { ), } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct EquivocationProof<_0, _1> { pub set_id: ::core::primitive::u64, pub equivocation: runtime_types::sp_consensus_grandpa::Equivocation<_0, _1>, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - pub struct OpaqueKeyOwnershipProof(pub ::std::vec::Vec<::core::primitive::u8>); + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + pub struct OpaqueKeyOwnershipProof( + pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ); } pub mod sp_consensus_slots { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct EquivocationProof<_0, _1> { pub offender: _1, pub slot: runtime_types::sp_consensus_slots::Slot, @@ -52362,16 +56906,16 @@ pub mod api { pub second_header: _0, } #[derive( - :: subxt :: ext :: codec :: CompactAs, - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: CompactAs, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct Slot(pub ::core::primitive::u64); } pub mod sp_core { @@ -52379,65 +56923,85 @@ pub mod api { pub mod crypto { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct KeyTypeId(pub [::core::primitive::u8; 4usize]); } pub mod ecdsa { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Public(pub [::core::primitive::u8; 33usize]); #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Signature(pub [::core::primitive::u8; 65usize]); } pub mod ed25519 { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Public(pub [::core::primitive::u8; 32usize]); #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Signature(pub [::core::primitive::u8; 64usize]); } pub mod sr25519 { @@ -52445,123 +57009,139 @@ pub mod api { pub mod vrf { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct VrfSignature { pub output: [::core::primitive::u8; 32usize], pub proof: [::core::primitive::u8; 64usize], } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Public(pub [::core::primitive::u8; 32usize]); #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Signature(pub [::core::primitive::u8; 64usize]); } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - pub struct OpaqueMetadata(pub ::std::vec::Vec<::core::primitive::u8>); + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + pub struct OpaqueMetadata( + pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ); #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum Void {} } pub mod sp_inherents { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct CheckInherentsResult { pub okay: ::core::primitive::bool, pub fatal_error: ::core::primitive::bool, pub errors: runtime_types::sp_inherents::InherentData, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct InherentData { - pub data: ::subxt::utils::KeyedVec< + pub data: ::subxt::ext::subxt_core::utils::KeyedVec< [::core::primitive::u8; 8usize], - ::std::vec::Vec<::core::primitive::u8>, + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, >, } } pub mod sp_mmr_primitives { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - pub struct EncodableOpaqueLeaf(pub ::std::vec::Vec<::core::primitive::u8>); + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + pub struct EncodableOpaqueLeaf( + pub ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + ); #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum Error { #[codec(index = 0)] InvalidNumericOp, @@ -52585,19 +57165,19 @@ pub mod api { InvalidBestKnownBlock, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct Proof<_0> { - pub leaf_indices: ::std::vec::Vec<::core::primitive::u64>, + pub leaf_indices: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u64>, pub leaf_count: ::core::primitive::u64, - pub items: ::std::vec::Vec<_0>, + pub items: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, } } pub mod sp_runtime { @@ -52607,64 +57187,77 @@ pub mod api { pub mod block { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Block<_0, _1> { pub header: _0, - pub extrinsics: ::std::vec::Vec<_1>, + pub extrinsics: ::subxt::ext::subxt_core::alloc::vec::Vec<_1>, } } pub mod digest { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Digest { - pub logs: - ::std::vec::Vec, + pub logs: ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::sp_runtime::generic::digest::DigestItem, + >, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum DigestItem { #[codec(index = 6)] PreRuntime( [::core::primitive::u8; 4usize], - ::std::vec::Vec<::core::primitive::u8>, + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, ), #[codec(index = 4)] Consensus( [::core::primitive::u8; 4usize], - ::std::vec::Vec<::core::primitive::u8>, + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, ), #[codec(index = 5)] Seal( [::core::primitive::u8; 4usize], - ::std::vec::Vec<::core::primitive::u8>, + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, ), #[codec(index = 0)] - Other(::std::vec::Vec<::core::primitive::u8>), + Other(::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>), #[codec(index = 8)] RuntimeEnvironmentUpdated, } @@ -52672,15 +57265,19 @@ pub mod api { pub mod era { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum Era { #[codec(index = 0)] Immortal, @@ -53199,21 +57796,25 @@ pub mod api { pub mod header { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Header<_0> { - pub parent_hash: ::subxt::utils::H256, + pub parent_hash: ::subxt::ext::subxt_core::utils::H256, #[codec(compact)] pub number: _0, - pub state_root: ::subxt::utils::H256, - pub extrinsics_root: ::subxt::utils::H256, + pub state_root: ::subxt::ext::subxt_core::utils::H256, + pub extrinsics_root: ::subxt::ext::subxt_core::utils::H256, pub digest: runtime_types::sp_runtime::generic::digest::Digest, } } @@ -53221,29 +57822,37 @@ pub mod api { pub mod traits { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct BlakeTwo256; } pub mod transaction_validity { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum InvalidTransaction { #[codec(index = 0)] Call, @@ -53269,15 +57878,19 @@ pub mod api { BadSigner, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum TransactionSource { #[codec(index = 0)] InBlock, @@ -53287,15 +57900,19 @@ pub mod api { External, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum TransactionValidityError { #[codec(index = 0)] Invalid(runtime_types::sp_runtime::transaction_validity::InvalidTransaction), @@ -53303,15 +57920,19 @@ pub mod api { Unknown(runtime_types::sp_runtime::transaction_validity::UnknownTransaction), } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum UnknownTransaction { #[codec(index = 0)] CannotLookup, @@ -53321,33 +57942,41 @@ pub mod api { Custom(::core::primitive::u8), } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct ValidTransaction { pub priority: ::core::primitive::u64, - pub requires: ::std::vec::Vec<::std::vec::Vec<::core::primitive::u8>>, - pub provides: ::std::vec::Vec<::std::vec::Vec<::core::primitive::u8>>, + pub requires: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >, + pub provides: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >, pub longevity: ::core::primitive::u64, pub propagate: ::core::primitive::bool, } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum DispatchError { #[codec(index = 0)] Other, @@ -53379,43 +58008,43 @@ pub mod api { RootNotAllowed, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct DispatchErrorWithPostInfo<_0> { pub post_info: _0, pub error: runtime_types::sp_runtime::DispatchError, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct ModuleError { pub index: ::core::primitive::u8, pub error: [::core::primitive::u8; 4usize], } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum MultiSignature { #[codec(index = 0)] Ed25519(runtime_types::sp_core::ed25519::Signature), @@ -53425,15 +58054,15 @@ pub mod api { Ecdsa(runtime_types::sp_core::ecdsa::Signature), } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum MultiSigner { #[codec(index = 0)] Ed25519(runtime_types::sp_core::ed25519::Public), @@ -53443,15 +58072,15 @@ pub mod api { Ecdsa(runtime_types::sp_core::ecdsa::Public), } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum TokenError { #[codec(index = 0)] FundsUnavailable, @@ -53475,15 +58104,15 @@ pub mod api { Blocked, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum TransactionalError { #[codec(index = 0)] LimitReached, @@ -53494,18 +58123,20 @@ pub mod api { pub mod sp_session { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct MembershipProof { pub session: ::core::primitive::u32, - pub trie_nodes: ::std::vec::Vec<::std::vec::Vec<::core::primitive::u8>>, + pub trie_nodes: ::subxt::ext::subxt_core::alloc::vec::Vec< + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + >, pub validator_count: ::core::primitive::u32, } } @@ -53514,41 +58145,47 @@ pub mod api { pub mod offence { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct OffenceDetails<_0, _1> { pub offender: _1, - pub reporters: ::std::vec::Vec<_0>, + pub reporters: ::subxt::ext::subxt_core::alloc::vec::Vec<_0>, } } } pub mod sp_version { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct RuntimeVersion { - pub spec_name: ::std::string::String, - pub impl_name: ::std::string::String, + pub spec_name: ::subxt::ext::subxt_core::alloc::string::String, + pub impl_name: ::subxt::ext::subxt_core::alloc::string::String, pub authoring_version: ::core::primitive::u32, pub spec_version: ::core::primitive::u32, pub impl_version: ::core::primitive::u32, - pub apis: - ::std::vec::Vec<([::core::primitive::u8; 8usize], ::core::primitive::u32)>, + pub apis: ::subxt::ext::subxt_core::alloc::vec::Vec<( + [::core::primitive::u8; 8usize], + ::core::primitive::u32, + )>, pub transaction_version: ::core::primitive::u32, pub state_version: ::core::primitive::u8, } @@ -53558,15 +58195,19 @@ pub mod api { pub mod weight_v2 { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct Weight { #[codec(compact)] pub ref_time: ::core::primitive::u64, @@ -53575,15 +58216,15 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub struct RuntimeDbWeight { pub read: ::core::primitive::u64, pub write: ::core::primitive::u64, @@ -53596,15 +58237,19 @@ pub mod api { pub mod multilocation { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct MultiLocation { pub parents: ::core::primitive::u8, pub interior: runtime_types::xcm::v3::junctions::Junctions, @@ -53617,30 +58262,21 @@ pub mod api { pub mod double_encoded { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct DoubleEncoded { - pub encoded: ::std::vec::Vec<::core::primitive::u8>, - } - #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, - Debug, - )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - pub struct DoubleEncoded2 { - pub encoded: ::std::vec::Vec<::core::primitive::u8>, + pub encoded: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, } } pub mod v2 { @@ -53648,15 +58284,19 @@ pub mod api { pub mod junction { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum Junction { #[codec(index = 0)] Parachain(#[codec(compact)] ::core::primitive::u32), @@ -53682,7 +58322,7 @@ pub mod api { GeneralIndex(#[codec(compact)] ::core::primitive::u128), #[codec(index = 6)] GeneralKey( - runtime_types::bounded_collections::weak_bounded_vec::WeakBoundedVec< + runtime_types::bounded_collections::weak_bounded_vec::WeakBoundedVec1< ::core::primitive::u8, >, ), @@ -53698,31 +58338,39 @@ pub mod api { pub mod multiasset { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum AssetId { #[codec(index = 0)] Concrete(runtime_types::xcm::v2::multilocation::MultiLocation), #[codec(index = 1)] - Abstract(::std::vec::Vec<::core::primitive::u8>), + Abstract(::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>), } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum AssetInstance { #[codec(index = 0)] Undefined, @@ -53737,18 +58385,22 @@ pub mod api { #[codec(index = 5)] Array32([::core::primitive::u8; 32usize]), #[codec(index = 6)] - Blob(::std::vec::Vec<::core::primitive::u8>), + Blob(::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>), } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum Fungibility { #[codec(index = 0)] Fungible(#[codec(compact)] ::core::primitive::u128), @@ -53756,29 +58408,37 @@ pub mod api { NonFungible(runtime_types::xcm::v2::multiasset::AssetInstance), } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct MultiAsset { pub id: runtime_types::xcm::v2::multiasset::AssetId, pub fun: runtime_types::xcm::v2::multiasset::Fungibility, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum MultiAssetFilter { #[codec(index = 0)] Definite(runtime_types::xcm::v2::multiasset::MultiAssets), @@ -53786,28 +58446,38 @@ pub mod api { Wild(runtime_types::xcm::v2::multiasset::WildMultiAsset), } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct MultiAssets( - pub ::std::vec::Vec, + pub ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::xcm::v2::multiasset::MultiAsset, + >, ); #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum WildFungibility { #[codec(index = 0)] Fungible, @@ -53815,15 +58485,19 @@ pub mod api { NonFungible, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum WildMultiAsset { #[codec(index = 0)] All, @@ -53837,15 +58511,19 @@ pub mod api { pub mod multilocation { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum Junctions { #[codec(index = 0)] Here, @@ -53909,15 +58587,19 @@ pub mod api { ), } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct MultiLocation { pub parents: ::core::primitive::u8, pub interior: runtime_types::xcm::v2::multilocation::Junctions, @@ -53926,15 +58608,19 @@ pub mod api { pub mod traits { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum Error { #[codec(index = 0)] Overflow, @@ -53991,21 +58677,25 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum BodyId { #[codec(index = 0)] Unit, #[codec(index = 1)] Named( - runtime_types::bounded_collections::weak_bounded_vec::WeakBoundedVec< + runtime_types::bounded_collections::weak_bounded_vec::WeakBoundedVec1< ::core::primitive::u8, >, ), @@ -54027,15 +58717,19 @@ pub mod api { Treasury, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum BodyPart { #[codec(index = 0)] Voice, @@ -54067,16 +58761,20 @@ pub mod api { }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - pub enum Instruction { + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub enum Instruction1 { #[codec(index = 0)] WithdrawAsset(runtime_types::xcm::v2::multiasset::MultiAssets), #[codec(index = 1)] @@ -54100,7 +58798,7 @@ pub mod api { TransferReserveAsset { assets: runtime_types::xcm::v2::multiasset::MultiAssets, dest: runtime_types::xcm::v2::multilocation::MultiLocation, - xcm: runtime_types::xcm::v2::Xcm, + xcm: runtime_types::xcm::v2::Xcm1, }, #[codec(index = 6)] Transact { @@ -54157,7 +58855,7 @@ pub mod api { #[codec(compact)] max_assets: ::core::primitive::u32, dest: runtime_types::xcm::v2::multilocation::MultiLocation, - xcm: runtime_types::xcm::v2::Xcm, + xcm: runtime_types::xcm::v2::Xcm1, }, #[codec(index = 15)] ExchangeAsset { @@ -54168,13 +58866,13 @@ pub mod api { InitiateReserveWithdraw { assets: runtime_types::xcm::v2::multiasset::MultiAssetFilter, reserve: runtime_types::xcm::v2::multilocation::MultiLocation, - xcm: runtime_types::xcm::v2::Xcm, + xcm: runtime_types::xcm::v2::Xcm1, }, #[codec(index = 17)] InitiateTeleport { assets: runtime_types::xcm::v2::multiasset::MultiAssetFilter, dest: runtime_types::xcm::v2::multilocation::MultiLocation, - xcm: runtime_types::xcm::v2::Xcm, + xcm: runtime_types::xcm::v2::Xcm1, }, #[codec(index = 18)] QueryHolding { @@ -54193,9 +58891,9 @@ pub mod api { #[codec(index = 20)] RefundSurplus, #[codec(index = 21)] - SetErrorHandler(runtime_types::xcm::v2::Xcm), + SetErrorHandler(runtime_types::xcm::v2::Xcm1), #[codec(index = 22)] - SetAppendix(runtime_types::xcm::v2::Xcm), + SetAppendix(runtime_types::xcm::v2::Xcm1), #[codec(index = 23)] ClearError, #[codec(index = 24)] @@ -54216,15 +58914,19 @@ pub mod api { UnsubscribeVersion, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum Instruction2 { #[codec(index = 0)] WithdrawAsset(runtime_types::xcm::v2::multiasset::MultiAssets), @@ -54249,14 +58951,14 @@ pub mod api { TransferReserveAsset { assets: runtime_types::xcm::v2::multiasset::MultiAssets, dest: runtime_types::xcm::v2::multilocation::MultiLocation, - xcm: runtime_types::xcm::v2::Xcm, + xcm: runtime_types::xcm::v2::Xcm1, }, #[codec(index = 6)] Transact { origin_type: runtime_types::xcm::v2::OriginKind, #[codec(compact)] require_weight_at_most: ::core::primitive::u64, - call: runtime_types::xcm::double_encoded::DoubleEncoded2, + call: runtime_types::xcm::double_encoded::DoubleEncoded, }, #[codec(index = 7)] HrmpNewChannelOpenRequest { @@ -54306,7 +59008,7 @@ pub mod api { #[codec(compact)] max_assets: ::core::primitive::u32, dest: runtime_types::xcm::v2::multilocation::MultiLocation, - xcm: runtime_types::xcm::v2::Xcm, + xcm: runtime_types::xcm::v2::Xcm1, }, #[codec(index = 15)] ExchangeAsset { @@ -54317,13 +59019,13 @@ pub mod api { InitiateReserveWithdraw { assets: runtime_types::xcm::v2::multiasset::MultiAssetFilter, reserve: runtime_types::xcm::v2::multilocation::MultiLocation, - xcm: runtime_types::xcm::v2::Xcm, + xcm: runtime_types::xcm::v2::Xcm1, }, #[codec(index = 17)] InitiateTeleport { assets: runtime_types::xcm::v2::multiasset::MultiAssetFilter, dest: runtime_types::xcm::v2::multilocation::MultiLocation, - xcm: runtime_types::xcm::v2::Xcm, + xcm: runtime_types::xcm::v2::Xcm1, }, #[codec(index = 18)] QueryHolding { @@ -54365,21 +59067,25 @@ pub mod api { UnsubscribeVersion, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum NetworkId { #[codec(index = 0)] Any, #[codec(index = 1)] Named( - runtime_types::bounded_collections::weak_bounded_vec::WeakBoundedVec< + runtime_types::bounded_collections::weak_bounded_vec::WeakBoundedVec1< ::core::primitive::u8, >, ), @@ -54389,15 +59095,19 @@ pub mod api { Kusama, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum OriginKind { #[codec(index = 0)] Native, @@ -54409,15 +59119,19 @@ pub mod api { Xcm, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum Response { #[codec(index = 0)] Null, @@ -54434,15 +59148,19 @@ pub mod api { Version(::core::primitive::u32), } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum WeightLimit { #[codec(index = 0)] Unlimited, @@ -54450,42 +59168,62 @@ pub mod api { Limited(#[codec(compact)] ::core::primitive::u64), } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - pub struct Xcm(pub ::std::vec::Vec); + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct Xcm1( + pub ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::xcm::v2::Instruction1, + >, + ); #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - pub struct Xcm2(pub ::std::vec::Vec); + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct Xcm2( + pub ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::xcm::v2::Instruction2, + >, + ); } pub mod v3 { use super::runtime_types; pub mod junction { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum BodyId { #[codec(index = 0)] Unit, @@ -54509,15 +59247,19 @@ pub mod api { Treasury, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum BodyPart { #[codec(index = 0)] Voice, @@ -54549,15 +59291,19 @@ pub mod api { }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum Junction { #[codec(index = 0)] Parachain(#[codec(compact)] ::core::primitive::u32), @@ -54600,15 +59346,19 @@ pub mod api { GlobalConsensus(runtime_types::xcm::v3::junction::NetworkId), } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum NetworkId { #[codec(index = 0)] ByGenesis([::core::primitive::u8; 32usize]), @@ -54641,15 +59391,19 @@ pub mod api { pub mod junctions { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum Junctions { #[codec(index = 0)] Here, @@ -54716,15 +59470,19 @@ pub mod api { pub mod multiasset { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum AssetId { #[codec(index = 0)] Concrete(runtime_types::staging_xcm::v3::multilocation::MultiLocation), @@ -54732,15 +59490,19 @@ pub mod api { Abstract([::core::primitive::u8; 32usize]), } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum AssetInstance { #[codec(index = 0)] Undefined, @@ -54756,15 +59518,19 @@ pub mod api { Array32([::core::primitive::u8; 32usize]), } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum Fungibility { #[codec(index = 0)] Fungible(#[codec(compact)] ::core::primitive::u128), @@ -54772,29 +59538,37 @@ pub mod api { NonFungible(runtime_types::xcm::v3::multiasset::AssetInstance), } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct MultiAsset { pub id: runtime_types::xcm::v3::multiasset::AssetId, pub fun: runtime_types::xcm::v3::multiasset::Fungibility, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum MultiAssetFilter { #[codec(index = 0)] Definite(runtime_types::xcm::v3::multiasset::MultiAssets), @@ -54802,28 +59576,38 @@ pub mod api { Wild(runtime_types::xcm::v3::multiasset::WildMultiAsset), } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct MultiAssets( - pub ::std::vec::Vec, + pub ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::xcm::v3::multiasset::MultiAsset, + >, ); #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum WildFungibility { #[codec(index = 0)] Fungible, @@ -54831,15 +59615,19 @@ pub mod api { NonFungible, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum WildMultiAsset { #[codec(index = 0)] All, @@ -54862,15 +59650,19 @@ pub mod api { pub mod traits { use super::runtime_types; #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum Error { #[codec(index = 0)] Overflow, @@ -54954,15 +59746,19 @@ pub mod api { ExceedsStackLimit, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum Outcome { #[codec(index = 0)] Complete(runtime_types::sp_weights::weight_v2::Weight), @@ -54976,16 +59772,20 @@ pub mod api { } } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - pub enum Instruction { + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub enum Instruction1 { #[codec(index = 0)] WithdrawAsset(runtime_types::xcm::v3::multiasset::MultiAssets), #[codec(index = 1)] @@ -55011,7 +59811,7 @@ pub mod api { TransferReserveAsset { assets: runtime_types::xcm::v3::multiasset::MultiAssets, dest: runtime_types::staging_xcm::v3::multilocation::MultiLocation, - xcm: runtime_types::xcm::v3::Xcm, + xcm: runtime_types::xcm::v3::Xcm1, }, #[codec(index = 6)] Transact { @@ -55057,7 +59857,7 @@ pub mod api { DepositReserveAsset { assets: runtime_types::xcm::v3::multiasset::MultiAssetFilter, dest: runtime_types::staging_xcm::v3::multilocation::MultiLocation, - xcm: runtime_types::xcm::v3::Xcm, + xcm: runtime_types::xcm::v3::Xcm1, }, #[codec(index = 15)] ExchangeAsset { @@ -55069,13 +59869,13 @@ pub mod api { InitiateReserveWithdraw { assets: runtime_types::xcm::v3::multiasset::MultiAssetFilter, reserve: runtime_types::staging_xcm::v3::multilocation::MultiLocation, - xcm: runtime_types::xcm::v3::Xcm, + xcm: runtime_types::xcm::v3::Xcm1, }, #[codec(index = 17)] InitiateTeleport { assets: runtime_types::xcm::v3::multiasset::MultiAssetFilter, dest: runtime_types::staging_xcm::v3::multilocation::MultiLocation, - xcm: runtime_types::xcm::v3::Xcm, + xcm: runtime_types::xcm::v3::Xcm1, }, #[codec(index = 18)] ReportHolding { @@ -55090,9 +59890,9 @@ pub mod api { #[codec(index = 20)] RefundSurplus, #[codec(index = 21)] - SetErrorHandler(runtime_types::xcm::v3::Xcm), + SetErrorHandler(runtime_types::xcm::v3::Xcm1), #[codec(index = 22)] - SetAppendix(runtime_types::xcm::v3::Xcm), + SetAppendix(runtime_types::xcm::v3::Xcm1), #[codec(index = 23)] ClearError, #[codec(index = 24)] @@ -55131,15 +59931,17 @@ pub mod api { ExpectTransactStatus(runtime_types::xcm::v3::MaybeErrorCode), #[codec(index = 33)] QueryPallet { - module_name: ::std::vec::Vec<::core::primitive::u8>, + module_name: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, response_info: runtime_types::xcm::v3::QueryResponseInfo, }, #[codec(index = 34)] ExpectPallet { #[codec(compact)] index: ::core::primitive::u32, - name: ::std::vec::Vec<::core::primitive::u8>, - module_name: ::std::vec::Vec<::core::primitive::u8>, + name: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + module_name: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, #[codec(compact)] crate_major: ::core::primitive::u32, #[codec(compact)] @@ -55155,7 +59957,7 @@ pub mod api { ExportMessage { network: runtime_types::xcm::v3::junction::NetworkId, destination: runtime_types::xcm::v3::junctions::Junctions, - xcm: runtime_types::xcm::v3::Xcm, + xcm: runtime_types::xcm::v3::Xcm1, }, #[codec(index = 39)] LockAsset { @@ -55196,15 +59998,19 @@ pub mod api { }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum Instruction2 { #[codec(index = 0)] WithdrawAsset(runtime_types::xcm::v3::multiasset::MultiAssets), @@ -55231,13 +60037,13 @@ pub mod api { TransferReserveAsset { assets: runtime_types::xcm::v3::multiasset::MultiAssets, dest: runtime_types::staging_xcm::v3::multilocation::MultiLocation, - xcm: runtime_types::xcm::v3::Xcm, + xcm: runtime_types::xcm::v3::Xcm1, }, #[codec(index = 6)] Transact { origin_kind: runtime_types::xcm::v2::OriginKind, require_weight_at_most: runtime_types::sp_weights::weight_v2::Weight, - call: runtime_types::xcm::double_encoded::DoubleEncoded2, + call: runtime_types::xcm::double_encoded::DoubleEncoded, }, #[codec(index = 7)] HrmpNewChannelOpenRequest { @@ -55277,7 +60083,7 @@ pub mod api { DepositReserveAsset { assets: runtime_types::xcm::v3::multiasset::MultiAssetFilter, dest: runtime_types::staging_xcm::v3::multilocation::MultiLocation, - xcm: runtime_types::xcm::v3::Xcm, + xcm: runtime_types::xcm::v3::Xcm1, }, #[codec(index = 15)] ExchangeAsset { @@ -55289,13 +60095,13 @@ pub mod api { InitiateReserveWithdraw { assets: runtime_types::xcm::v3::multiasset::MultiAssetFilter, reserve: runtime_types::staging_xcm::v3::multilocation::MultiLocation, - xcm: runtime_types::xcm::v3::Xcm, + xcm: runtime_types::xcm::v3::Xcm1, }, #[codec(index = 17)] InitiateTeleport { assets: runtime_types::xcm::v3::multiasset::MultiAssetFilter, dest: runtime_types::staging_xcm::v3::multilocation::MultiLocation, - xcm: runtime_types::xcm::v3::Xcm, + xcm: runtime_types::xcm::v3::Xcm1, }, #[codec(index = 18)] ReportHolding { @@ -55351,15 +60157,17 @@ pub mod api { ExpectTransactStatus(runtime_types::xcm::v3::MaybeErrorCode), #[codec(index = 33)] QueryPallet { - module_name: ::std::vec::Vec<::core::primitive::u8>, + module_name: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, response_info: runtime_types::xcm::v3::QueryResponseInfo, }, #[codec(index = 34)] ExpectPallet { #[codec(compact)] index: ::core::primitive::u32, - name: ::std::vec::Vec<::core::primitive::u8>, - module_name: ::std::vec::Vec<::core::primitive::u8>, + name: ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, + module_name: + ::subxt::ext::subxt_core::alloc::vec::Vec<::core::primitive::u8>, #[codec(compact)] crate_major: ::core::primitive::u32, #[codec(compact)] @@ -55375,7 +60183,7 @@ pub mod api { ExportMessage { network: runtime_types::xcm::v3::junction::NetworkId, destination: runtime_types::xcm::v3::junctions::Junctions, - xcm: runtime_types::xcm::v3::Xcm, + xcm: runtime_types::xcm::v3::Xcm1, }, #[codec(index = 39)] LockAsset { @@ -55416,48 +60224,56 @@ pub mod api { }, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum MaybeErrorCode { #[codec(index = 0)] Success, #[codec(index = 1)] Error( - runtime_types::bounded_collections::bounded_vec::BoundedVec< + runtime_types::bounded_collections::bounded_vec::BoundedVec5< ::core::primitive::u8, >, ), #[codec(index = 2)] TruncatedError( - runtime_types::bounded_collections::bounded_vec::BoundedVec< + runtime_types::bounded_collections::bounded_vec::BoundedVec5< ::core::primitive::u8, >, ), } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct PalletInfo { #[codec(compact)] pub index: ::core::primitive::u32, - pub name: runtime_types::bounded_collections::bounded_vec::BoundedVec< + pub name: runtime_types::bounded_collections::bounded_vec::BoundedVec5< ::core::primitive::u8, >, - pub module_name: runtime_types::bounded_collections::bounded_vec::BoundedVec< + pub module_name: runtime_types::bounded_collections::bounded_vec::BoundedVec5< ::core::primitive::u8, >, #[codec(compact)] @@ -55468,15 +60284,19 @@ pub mod api { pub patch: ::core::primitive::u32, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub struct QueryResponseInfo { pub destination: runtime_types::staging_xcm::v3::multilocation::MultiLocation, #[codec(compact)] @@ -55484,15 +60304,19 @@ pub mod api { pub max_weight: runtime_types::sp_weights::weight_v2::Weight, } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum Response { #[codec(index = 0)] Null, @@ -55509,7 +60333,7 @@ pub mod api { Version(::core::primitive::u32), #[codec(index = 4)] PalletsInfo( - runtime_types::bounded_collections::bounded_vec::BoundedVec< + runtime_types::bounded_collections::bounded_vec::BoundedVec4< runtime_types::xcm::v3::PalletInfo, >, ), @@ -55517,15 +60341,19 @@ pub mod api { DispatchResult(runtime_types::xcm::v3::MaybeErrorCode), } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] pub enum WeightLimit { #[codec(index = 0)] Unlimited, @@ -55533,52 +60361,68 @@ pub mod api { Limited(runtime_types::sp_weights::weight_v2::Weight), } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - pub struct Xcm(pub ::std::vec::Vec); + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct Xcm1( + pub ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::xcm::v3::Instruction1, + >, + ); #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - pub struct Xcm2(pub ::std::vec::Vec); + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode" + )] + #[encode_as_type( + crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" + )] + pub struct Xcm2( + pub ::subxt::ext::subxt_core::alloc::vec::Vec< + runtime_types::xcm::v3::Instruction2, + >, + ); } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum VersionedAssetId { #[codec(index = 3)] V3(runtime_types::xcm::v3::multiasset::AssetId), } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum VersionedMultiAssets { #[codec(index = 1)] V2(runtime_types::xcm::v2::multiasset::MultiAssets), @@ -55586,15 +60430,15 @@ pub mod api { V3(runtime_types::xcm::v3::multiasset::MultiAssets), } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum VersionedMultiLocation { #[codec(index = 1)] V2(runtime_types::xcm::v2::multilocation::MultiLocation), @@ -55602,15 +60446,15 @@ pub mod api { V3(runtime_types::staging_xcm::v3::multilocation::MultiLocation), } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum VersionedResponse { #[codec(index = 2)] V2(runtime_types::xcm::v2::Response), @@ -55618,31 +60462,31 @@ pub mod api { V3(runtime_types::xcm::v3::Response), } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] - pub enum VersionedXcm { + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] + pub enum VersionedXcm1 { #[codec(index = 2)] - V2(runtime_types::xcm::v2::Xcm), + V2(runtime_types::xcm::v2::Xcm1), #[codec(index = 3)] - V3(runtime_types::xcm::v3::Xcm), + V3(runtime_types::xcm::v3::Xcm1), } #[derive( - :: subxt :: ext :: codec :: Decode, - :: subxt :: ext :: codec :: Encode, - :: subxt :: ext :: scale_decode :: DecodeAsType, - :: subxt :: ext :: scale_encode :: EncodeAsType, + :: subxt :: ext :: subxt_core :: ext :: codec :: Decode, + :: subxt :: ext :: subxt_core :: ext :: codec :: Encode, + :: subxt :: ext :: subxt_core :: ext :: scale_decode :: DecodeAsType, + :: subxt :: ext :: subxt_core :: ext :: scale_encode :: EncodeAsType, Debug, )] - # [codec (crate = :: subxt :: ext :: codec)] - #[decode_as_type(crate_path = ":: subxt :: ext :: scale_decode")] - #[encode_as_type(crate_path = ":: subxt :: ext :: scale_encode")] + # [codec (crate = :: subxt :: ext :: subxt_core :: ext :: codec)] + #[decode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_decode")] + #[encode_as_type(crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode")] pub enum VersionedXcm2 { #[codec(index = 2)] V2(runtime_types::xcm::v2::Xcm2), diff --git a/testing/integration-tests/src/full_client/frame/contracts.rs b/testing/integration-tests/src/full_client/frame/contracts.rs index 080c456ebb..a91732ead4 100644 --- a/testing/integration-tests/src/full_client/frame/contracts.rs +++ b/testing/integration-tests/src/full_client/frame/contracts.rs @@ -102,7 +102,6 @@ impl ContractsTestContext { .find_first::()? .ok_or_else(|| Error::Other("Failed to find a ExtrinsicSuccess event".into()))?; - tracing::info!(" Block hash: {:?}", events.block_hash()); tracing::info!(" Code hash: {:?}", code_stored.code_hash); tracing::info!(" Contract address: {:?}", instantiated.contract); Ok((code_stored.code_hash, instantiated.contract)) diff --git a/testing/integration-tests/src/full_client/mod.rs b/testing/integration-tests/src/full_client/mod.rs index 5b496ccea3..f5e0a72510 100644 --- a/testing/integration-tests/src/full_client/mod.rs +++ b/testing/integration-tests/src/full_client/mod.rs @@ -2,15 +2,10 @@ // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. -#[cfg(test)] mod blocks; -#[cfg(test)] mod client; -#[cfg(test)] +mod codegen; mod frame; -#[cfg(test)] mod metadata; -#[cfg(test)] mod runtime_api; -#[cfg(test)] mod storage; diff --git a/testing/integration-tests/src/full_client/storage/mod.rs b/testing/integration-tests/src/full_client/storage/mod.rs index e1cec5f939..1d7dcd50d4 100644 --- a/testing/integration-tests/src/full_client/storage/mod.rs +++ b/testing/integration-tests/src/full_client/storage/mod.rs @@ -56,10 +56,6 @@ async fn storage_map_lookup() -> Result<(), subxt::Error> { Ok(()) } -// This fails until the fix in https://github.com/paritytech/subxt/pull/458 is introduced. -// Here we create a key that looks a bit like a StorageNMap key, but should in fact be -// treated as a StorageKey (ie we should hash both values together with one hasher, rather -// than hash both values separately, or ignore the second value). #[tokio::test] async fn storage_n_mapish_key_is_properly_created() -> Result<(), subxt::Error> { use codec::Encode; @@ -73,18 +69,21 @@ async fn storage_n_mapish_key_is_properly_created() -> Result<(), subxt::Error> .session() .key_owner(KeyTypeId([1, 2, 3, 4]), [5u8, 6, 7, 8]); let actual_key_bytes = api.storage().address_bytes(&actual_key)?; - // Let's manually hash to what we assume it should be and compare: let expected_key_bytes = { // Hash the prefix to the storage entry: let mut bytes = sp_core::twox_128("Session".as_bytes()).to_vec(); bytes.extend(&sp_core::twox_128("KeyOwner".as_bytes())[..]); - // twox64_concat a *tuple* of the args expected: - let suffix = (KeyTypeId([1, 2, 3, 4]), vec![5u8, 6, 7, 8]).encode(); - bytes.extend(sp_core::twox_64(&suffix)); - bytes.extend(&suffix); + // Both keys, use twox64_concat hashers: + let key1 = KeyTypeId([1, 2, 3, 4]).encode(); + let key2 = vec![5u8, 6, 7, 8].encode(); + bytes.extend(sp_core::twox_64(&key1)); + bytes.extend(&key1); + bytes.extend(sp_core::twox_64(&key2)); + bytes.extend(&key2); bytes }; + dbg!(&expected_key_bytes); assert_eq!(actual_key_bytes, expected_key_bytes); Ok(()) @@ -167,9 +166,9 @@ async fn storage_partial_lookup() -> Result<(), subxt::Error> { let addr_bytes = api.storage().address_bytes(&addr)?; let mut results = api.storage().at_latest().await?.iter(addr).await?; let mut approvals = Vec::new(); - while let Some(Ok((key, value))) = results.next().await { - assert!(key.starts_with(&addr_bytes)); - approvals.push(value); + while let Some(Ok(kv)) = results.next().await { + assert!(kv.key_bytes.starts_with(&addr_bytes)); + approvals.push(kv.value); } assert_eq!(approvals.len(), assets.len()); let mut amounts = approvals.iter().map(|a| a.amount).collect::>(); @@ -188,9 +187,10 @@ async fn storage_partial_lookup() -> Result<(), subxt::Error> { let mut results = api.storage().at_latest().await?.iter(addr).await?; let mut approvals = Vec::new(); - while let Some(Ok((key, value))) = results.next().await { - assert!(key.starts_with(&addr_bytes)); - approvals.push(value); + while let Some(Ok(kv)) = results.next().await { + assert!(kv.key_bytes.starts_with(&addr_bytes)); + assert!(kv.keys.decoded().is_ok()); + approvals.push(kv.value); } assert_eq!(approvals.len(), 1); assert_eq!(approvals[0].amount, amount); diff --git a/testing/integration-tests/src/light_client/mod.rs b/testing/integration-tests/src/light_client/mod.rs index 844bab96d6..523e9d00ea 100644 --- a/testing/integration-tests/src/light_client/mod.rs +++ b/testing/integration-tests/src/light_client/mod.rs @@ -29,13 +29,10 @@ use crate::utils::node_runtime; use codec::Compact; -use subxt::{ - client::{LightClient, LightClientBuilder, OnlineClientT}, - config::PolkadotConfig, -}; +use subxt::{client::OnlineClient, config::PolkadotConfig, lightclient::LightClient}; use subxt_metadata::Metadata; -type Client = LightClient; +type Client = OnlineClient; // Check that we can subscribe to non-finalized blocks. async fn non_finalized_headers_subscription(api: &Client) -> Result<(), subxt::Error> { @@ -167,11 +164,13 @@ async fn dynamic_events(api: &Client) -> Result<(), subxt::Error> { #[tokio::test] async fn light_client_testing() -> Result<(), subxt::Error> { tracing_subscriber::fmt::init(); - let now = std::time::Instant::now(); - let api: LightClient = LightClientBuilder::new() - .build_from_url("wss://rpc.polkadot.io:443") - .await?; + + let chainspec = subxt::utils::fetch_chainspec_from_rpc_node("wss://rpc.polkadot.io:443") + .await + .unwrap(); + let (_lc, rpc) = LightClient::relay_chain(chainspec.get())?; + let api = Client::from_rpc_client(rpc).await?; println!("Light client initialization took {:?}\n", now.elapsed()); diff --git a/testing/integration-tests/src/utils/node_proc.rs b/testing/integration-tests/src/utils/node_proc.rs index 1b812fff46..860937a6d7 100644 --- a/testing/integration-tests/src/utils/node_proc.rs +++ b/testing/integration-tests/src/utils/node_proc.rs @@ -11,9 +11,6 @@ use subxt::{ Config, OnlineClient, }; -#[cfg(feature = "unstable-light-client")] -use subxt::client::{LightClient, LightClientBuilder}; - /// Spawn a local substrate node for testing subxt. pub struct TestNodeProcess { // Keep a handle to the node; once it's dropped the node is killed. @@ -24,12 +21,7 @@ pub struct TestNodeProcess { legacy_client: RefCell>>, rpc_client: rpc::RpcClient, - - #[cfg(not(feature = "unstable-light-client"))] client: OnlineClient, - - #[cfg(feature = "unstable-light-client")] - client: LightClient, } impl TestNodeProcess @@ -92,16 +84,9 @@ where /// will use the legacy backend by default or the unstable backend if the /// "unstable-backend-client" feature is enabled, so that we can run each /// test against both. - #[cfg(not(feature = "unstable-light-client"))] pub fn client(&self) -> OnlineClient { self.client.clone() } - - /// Returns the subxt client connected to the running node. - #[cfg(feature = "unstable-light-client")] - pub fn client(&self) -> LightClient { - self.client.clone() - } } /// Construct a test node process. @@ -201,7 +186,7 @@ async fn build_rpc_client(ws_url: &str) -> Result { async fn build_legacy_client( rpc_client: rpc::RpcClient, ) -> Result, String> { - let backend = legacy::LegacyBackend::new(rpc_client); + let backend = legacy::LegacyBackend::builder().build(rpc_client); let client = OnlineClient::from_backend(Arc::new(backend)) .await .map_err(|e| format!("Cannot construct OnlineClient from backend: {e}"))?; @@ -235,28 +220,41 @@ async fn build_unstable_client( } #[cfg(feature = "unstable-light-client")] -async fn build_light_client(proc: &SubstrateNode) -> Result, String> { +async fn build_light_client(proc: &SubstrateNode) -> Result, String> { + use subxt::lightclient::{ChainConfig, LightClient}; + // RPC endpoint. let ws_url = format!("ws://127.0.0.1:{}", proc.ws_port()); - // Step 1. Wait for a few blocks to be produced using the subxt client. + // Wait for a few blocks to be produced using the subxt client. let client = OnlineClient::::from_url(ws_url.clone()) .await .map_err(|err| format!("Failed to connect to node rpc at {ws_url}: {err}"))?; - super::wait_for_blocks(&client).await; - // Step 2. Construct the light client. - // P2p bootnode. + // Now, configure a light client; fetch the chain spec and modify the bootnodes. let bootnode = format!( "/ip4/127.0.0.1/tcp/{}/p2p/{}", proc.p2p_port(), proc.p2p_address() ); - LightClientBuilder::new() - .bootnodes([bootnode.as_str()]) - .build_from_url(ws_url.as_str()) + let chain_spec = subxt::utils::fetch_chainspec_from_rpc_node(ws_url.as_str()) .await - .map_err(|e| format!("Failed to construct light client {}", e.to_string())) + .map_err(|e| format!("Failed to obtain chain spec from local machine: {e}"))?; + + let chain_config = ChainConfig::chain_spec(chain_spec.get()) + .set_bootnodes([bootnode.as_str()]) + .map_err(|e| format!("Light client: cannot update boot nodes: {e}"))?; + + // Instantiate the light client. + let (_lightclient, rpc) = LightClient::relay_chain(chain_config) + .map_err(|e| format!("Light client: cannot add relay chain: {e}"))?; + + // Instantiate subxt client from this. + let api = OnlineClient::from_rpc_client(rpc) + .await + .map_err(|e| format!("Failed to build OnlineClient from light client RPC: {e}"))?; + + Ok(api) } diff --git a/testing/no-std-tests/.gitignore b/testing/no-std-tests/.gitignore new file mode 100644 index 0000000000..c41cc9e35e --- /dev/null +++ b/testing/no-std-tests/.gitignore @@ -0,0 +1 @@ +/target \ No newline at end of file diff --git a/testing/no-std-tests/Cargo.lock b/testing/no-std-tests/Cargo.lock new file mode 100644 index 0000000000..108c640517 --- /dev/null +++ b/testing/no-std-tests/Cargo.lock @@ -0,0 +1,2344 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 3 + +[[package]] +name = "addr2line" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb" +dependencies = [ + "gimli", +] + +[[package]] +name = "adler" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" + +[[package]] +name = "ahash" +version = "0.8.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" +dependencies = [ + "cfg-if", + "once_cell", + "version_check", + "zerocopy", +] + +[[package]] +name = "allocator-api2" +version = "0.2.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0942ffc6dcaadf03badf6e6a2d0228460359d5e34b57ccdc720b7382dfbd5ec5" + +[[package]] +name = "anyhow" +version = "1.0.81" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0952808a6c2afd1aa8947271f3a60f1a6763c7b912d210184c5149b5cf147247" + +[[package]] +name = "arrayref" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6b4930d2cb77ce62f89ee5d5289b4ac049559b1c45539271f5ed4fdc7db34545" + +[[package]] +name = "arrayvec" +version = "0.7.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711" + +[[package]] +name = "async-lock" +version = "3.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d034b430882f8381900d3fe6f0aaa3ad94f2cb4ac519b429692a1bc2dda4ae7b" +dependencies = [ + "event-listener", + "event-listener-strategy", + "pin-project-lite", +] + +[[package]] +name = "async-trait" +version = "0.1.78" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "461abc97219de0eaaf81fe3ef974a540158f3d079c2ab200f891f1a2ef201e85" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.53", +] + +[[package]] +name = "autocfg" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" + +[[package]] +name = "backtrace" +version = "0.3.70" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "95d8e92cac0961e91dbd517496b00f7e9b92363dbe6d42c3198268323798860c" +dependencies = [ + "addr2line", + "cc", + "cfg-if", + "libc", + "miniz_oxide", + "object", + "rustc-demangle", +] + +[[package]] +name = "base58" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6107fe1be6682a68940da878d9e9f5e90ca5745b3dec9fd1bb393c8777d4f581" + +[[package]] +name = "base64" +version = "0.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8" + +[[package]] +name = "base64" +version = "0.21.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" + +[[package]] +name = "beef" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3a8241f3ebb85c056b509d4327ad0358fbbba6ffb340bf388f26350aeda225b1" +dependencies = [ + "serde", +] + +[[package]] +name = "bip39" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93f2635620bf0b9d4576eb7bb9a38a55df78bd1205d26fa994b25911a69f212f" +dependencies = [ + "bitcoin_hashes", +] + +[[package]] +name = "bitcoin_hashes" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90064b8dee6815a6470d60bad07bbbaee885c0e12d04177138fa3291a01b7bc4" + +[[package]] +name = "bitflags" +version = "1.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" + +[[package]] +name = "bitvec" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c" +dependencies = [ + "funty", + "radium", + "tap", + "wyz", +] + +[[package]] +name = "blake2" +version = "0.10.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "46502ad458c9a52b69d4d4d32775c788b7a1b85e8bc9d482d92250fc0e3f8efe" +dependencies = [ + "digest 0.10.7", +] + +[[package]] +name = "blake2b_simd" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "23285ad32269793932e830392f2fe2f83e26488fd3ec778883a93c8323735780" +dependencies = [ + "arrayref", + "arrayvec", + "constant_time_eq", +] + +[[package]] +name = "block-buffer" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4" +dependencies = [ + "generic-array", +] + +[[package]] +name = "block-buffer" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" +dependencies = [ + "generic-array", +] + +[[package]] +name = "byte-slice-cast" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3ac9f8b63eca6fd385229b3675f6cc0dc5c8a5c8a54a59d4f52ffd670d87b0c" + +[[package]] +name = "byteorder" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" + +[[package]] +name = "bytes" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223" + +[[package]] +name = "cc" +version = "1.0.90" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8cd6604a82acf3039f1144f54b8eb34e91ffba622051189e71b781822d5ee1f5" + +[[package]] +name = "cfg-if" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" + +[[package]] +name = "concurrent-queue" +version = "2.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d16048cd947b08fa32c24458a22f5dc5e835264f689f4f5653210c69fd107363" +dependencies = [ + "crossbeam-utils", +] + +[[package]] +name = "constant_time_eq" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f7144d30dcf0fafbce74250a3963025d8d52177934239851c917d29f1df280c2" + +[[package]] +name = "convert_case" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e" + +[[package]] +name = "core-foundation" +version = "0.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91e195e091a93c46f7102ec7818a2aa394e1e1771c3ab4825963fa03e45afb8f" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "core-foundation-sys" +version = "0.8.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f" + +[[package]] +name = "cpufeatures" +version = "0.2.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53fe5e26ff1b7aef8bca9c6080520cfb8d9333c7568e1829cef191a9723e5504" +dependencies = [ + "libc", +] + +[[package]] +name = "crossbeam-utils" +version = "0.8.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "248e3bacc7dc6baa3b21e405ee045c3047101a49145e7e9eca583ab4c2ca5345" + +[[package]] +name = "crunchy" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" + +[[package]] +name = "crypto-common" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" +dependencies = [ + "generic-array", + "typenum", +] + +[[package]] +name = "curve25519-dalek" +version = "4.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0a677b8922c94e01bdbb12126b0bc852f00447528dee1782229af9c720c3f348" +dependencies = [ + "cfg-if", + "cpufeatures", + "curve25519-dalek-derive", + "digest 0.10.7", + "fiat-crypto", + "platforms", + "rustc_version", + "subtle", + "zeroize", +] + +[[package]] +name = "curve25519-dalek-derive" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.53", +] + +[[package]] +name = "darling" +version = "0.14.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b750cb3417fd1b327431a470f388520309479ab0bf5e323505daf0290cd3850" +dependencies = [ + "darling_core 0.14.4", + "darling_macro 0.14.4", +] + +[[package]] +name = "darling" +version = "0.20.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "54e36fcd13ed84ffdfda6f5be89b31287cbb80c439841fe69e04841435464391" +dependencies = [ + "darling_core 0.20.8", + "darling_macro 0.20.8", +] + +[[package]] +name = "darling_core" +version = "0.14.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "109c1ca6e6b7f82cc233a97004ea8ed7ca123a9af07a8230878fcfda9b158bf0" +dependencies = [ + "fnv", + "ident_case", + "proc-macro2", + "quote", + "strsim", + "syn 1.0.109", +] + +[[package]] +name = "darling_core" +version = "0.20.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c2cf1c23a687a1feeb728783b993c4e1ad83d99f351801977dd809b48d0a70f" +dependencies = [ + "fnv", + "ident_case", + "proc-macro2", + "quote", + "strsim", + "syn 2.0.53", +] + +[[package]] +name = "darling_macro" +version = "0.14.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4aab4dbc9f7611d8b55048a3a16d2d010c2c8334e46304b40ac1cc14bf3b48e" +dependencies = [ + "darling_core 0.14.4", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "darling_macro" +version = "0.20.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a668eda54683121533a393014d8692171709ff57a7d61f187b6e782719f8933f" +dependencies = [ + "darling_core 0.20.8", + "quote", + "syn 2.0.53", +] + +[[package]] +name = "derivative" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "derive_more" +version = "0.99.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321" +dependencies = [ + "convert_case", + "proc-macro2", + "quote", + "rustc_version", + "syn 1.0.109", +] + +[[package]] +name = "digest" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066" +dependencies = [ + "generic-array", +] + +[[package]] +name = "digest" +version = "0.10.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" +dependencies = [ + "block-buffer 0.10.4", + "crypto-common", + "subtle", +] + +[[package]] +name = "either" +version = "1.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11157ac094ffbdde99aa67b23417ebdd801842852b500e395a45a9c0aac03e4a" + +[[package]] +name = "equivalent" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" + +[[package]] +name = "event-listener" +version = "4.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67b215c49b2b248c855fb73579eb1f4f26c38ffdc12973e20e07b91d78d5646e" +dependencies = [ + "concurrent-queue", + "parking", + "pin-project-lite", +] + +[[package]] +name = "event-listener-strategy" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "958e4d70b6d5e81971bebec42271ec641e7ff4e170a6fa605f2b8a8b65cb97d3" +dependencies = [ + "event-listener", + "pin-project-lite", +] + +[[package]] +name = "fiat-crypto" +version = "0.2.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c007b1ae3abe1cb6f85a16305acd418b7ca6343b953633fee2b76d8f108b830f" + +[[package]] +name = "fixed-hash" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "835c052cb0c08c1acf6ffd71c022172e18723949c8282f2b9f27efbc51e64534" +dependencies = [ + "static_assertions", +] + +[[package]] +name = "fnv" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" + +[[package]] +name = "form_urlencoded" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" +dependencies = [ + "percent-encoding", +] + +[[package]] +name = "frame-metadata" +version = "15.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "878babb0b136e731cc77ec2fd883ff02745ff21e6fb662729953d44923df009c" +dependencies = [ + "cfg-if", + "parity-scale-codec", + "scale-info", +] + +[[package]] +name = "frame-metadata" +version = "16.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87cf1549fba25a6fcac22785b61698317d958e96cac72a59102ea45b9ae64692" +dependencies = [ + "cfg-if", + "parity-scale-codec", + "scale-info", +] + +[[package]] +name = "funty" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" + +[[package]] +name = "futures" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "645c6916888f6cb6350d2550b80fb63e734897a8498abe35cfb732b6487804b0" +dependencies = [ + "futures-channel", + "futures-core", + "futures-io", + "futures-sink", + "futures-task", + "futures-util", +] + +[[package]] +name = "futures-channel" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78" +dependencies = [ + "futures-core", + "futures-sink", +] + +[[package]] +name = "futures-core" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d" + +[[package]] +name = "futures-io" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1" + +[[package]] +name = "futures-sink" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9fb8e00e87438d937621c1c6269e53f536c14d3fbd6a042bb24879e57d474fb5" + +[[package]] +name = "futures-task" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004" + +[[package]] +name = "futures-timer" +version = "3.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f288b0a4f20f9a56b5d1da57e2227c661b7b16168e2f72365f57b63326e29b24" + +[[package]] +name = "futures-util" +version = "0.3.30" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48" +dependencies = [ + "futures-channel", + "futures-core", + "futures-io", + "futures-sink", + "futures-task", + "memchr", + "pin-project-lite", + "pin-utils", + "slab", +] + +[[package]] +name = "generic-array" +version = "0.14.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" +dependencies = [ + "typenum", + "version_check", +] + +[[package]] +name = "getrandom" +version = "0.2.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "190092ea657667030ac6a35e305e62fc4dd69fd98ac98631e5d3a2b1575a12b5" +dependencies = [ + "cfg-if", + "libc", + "wasi", +] + +[[package]] +name = "getrandom_or_panic" +version = "0.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ea1015b5a70616b688dc230cfe50c8af89d972cb132d5a622814d29773b10b9" +dependencies = [ + "rand_core", +] + +[[package]] +name = "gimli" +version = "0.28.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" + +[[package]] +name = "h2" +version = "0.3.25" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4fbd2820c5e49886948654ab546d0688ff24530286bdcf8fca3cefb16d4618eb" +dependencies = [ + "bytes", + "fnv", + "futures-core", + "futures-sink", + "futures-util", + "http", + "indexmap", + "slab", + "tokio", + "tokio-util", + "tracing", +] + +[[package]] +name = "hashbrown" +version = "0.14.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" +dependencies = [ + "ahash", + "allocator-api2", +] + +[[package]] +name = "heck" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" + +[[package]] +name = "hermit-abi" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" + +[[package]] +name = "hex" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" + +[[package]] +name = "hmac" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" +dependencies = [ + "digest 0.10.7", +] + +[[package]] +name = "http" +version = "0.2.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "601cbb57e577e2f5ef5be8e7b83f0f63994f25aa94d673e54a92d5c516d101f1" +dependencies = [ + "bytes", + "fnv", + "itoa", +] + +[[package]] +name = "http-body" +version = "0.4.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" +dependencies = [ + "bytes", + "http", + "pin-project-lite", +] + +[[package]] +name = "httparse" +version = "1.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904" + +[[package]] +name = "httpdate" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" + +[[package]] +name = "hyper" +version = "0.14.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bf96e135eb83a2a8ddf766e426a841d8ddd7449d5f00d34ea02b41d2f19eef80" +dependencies = [ + "bytes", + "futures-channel", + "futures-core", + "futures-util", + "h2", + "http", + "http-body", + "httparse", + "httpdate", + "itoa", + "pin-project-lite", + "socket2", + "tokio", + "tower-service", + "tracing", + "want", +] + +[[package]] +name = "hyper-rustls" +version = "0.24.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec3efd23720e2049821a693cbc7e65ea87c72f1c58ff2f9522ff332b1491e590" +dependencies = [ + "futures-util", + "http", + "hyper", + "log", + "rustls 0.21.10", + "rustls-native-certs 0.6.3", + "tokio", + "tokio-rustls 0.24.1", +] + +[[package]] +name = "ident_case" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" + +[[package]] +name = "idna" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6" +dependencies = [ + "unicode-bidi", + "unicode-normalization", +] + +[[package]] +name = "impl-codec" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba6a270039626615617f3f36d15fc827041df3b78c439da2cadfa47455a77f2f" +dependencies = [ + "parity-scale-codec", +] + +[[package]] +name = "impl-serde" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebc88fc67028ae3db0c853baa36269d398d5f45b6982f95549ff5def78c935cd" +dependencies = [ + "serde", +] + +[[package]] +name = "impl-trait-for-tuples" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "11d7a9f6330b71fea57921c9b61c47ee6e84f72d394754eff6163ae67e7395eb" +dependencies = [ + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "indexmap" +version = "2.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7b0b929d511467233429c45a44ac1dcaa21ba0f5ba11e4879e6ed28ddb4f9df4" +dependencies = [ + "equivalent", + "hashbrown", +] + +[[package]] +name = "itoa" +version = "1.0.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c" + +[[package]] +name = "jsonrpsee" +version = "0.22.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3cdbb7cb6f3ba28f5b212dd250ab4483105efc3e381f5c8bb90340f14f0a2cc3" +dependencies = [ + "jsonrpsee-client-transport", + "jsonrpsee-core", + "jsonrpsee-http-client", + "jsonrpsee-types", +] + +[[package]] +name = "jsonrpsee-client-transport" +version = "0.22.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ab2e14e727d2faf388c99d9ca5210566ed3b044f07d92c29c3611718d178380" +dependencies = [ + "futures-util", + "http", + "jsonrpsee-core", + "pin-project", + "rustls-native-certs 0.7.0", + "rustls-pki-types", + "soketto", + "thiserror", + "tokio", + "tokio-rustls 0.25.0", + "tokio-util", + "tracing", + "url", +] + +[[package]] +name = "jsonrpsee-core" +version = "0.22.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "71962a1c49af43adf81d337e4ebc93f3c915faf6eccaa14d74e255107dfd7723" +dependencies = [ + "anyhow", + "async-lock", + "async-trait", + "beef", + "futures-timer", + "futures-util", + "hyper", + "jsonrpsee-types", + "pin-project", + "rustc-hash", + "serde", + "serde_json", + "thiserror", + "tokio", + "tokio-stream", + "tracing", +] + +[[package]] +name = "jsonrpsee-http-client" +version = "0.22.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8c13987da51270bda2c1c9b40c19be0fe9b225c7a0553963d8f17e683a50ce84" +dependencies = [ + "async-trait", + "hyper", + "hyper-rustls", + "jsonrpsee-core", + "jsonrpsee-types", + "serde", + "serde_json", + "thiserror", + "tokio", + "tower", + "tracing", + "url", +] + +[[package]] +name = "jsonrpsee-types" +version = "0.22.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e53c72de6cd2ad6ac1aa6e848206ef8b736f92ed02354959130373dfa5b3cbd" +dependencies = [ + "anyhow", + "beef", + "serde", + "serde_json", + "thiserror", +] + +[[package]] +name = "keccak" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ecc2af9a1119c51f12a14607e783cb977bde58bc069ff0c3da1095e635d70654" +dependencies = [ + "cpufeatures", +] + +[[package]] +name = "libc" +version = "0.2.153" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" + +[[package]] +name = "libc_alloc" +version = "1.0.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7581282928bc99698341d1de7590964c28db747c164eaac9409432a3eaed098a" + +[[package]] +name = "log" +version = "0.4.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" + +[[package]] +name = "memchr" +version = "2.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149" + +[[package]] +name = "merlin" +version = "3.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "58c38e2799fc0978b65dfff8023ec7843e2330bb462f19198840b34b6582397d" +dependencies = [ + "byteorder", + "keccak", + "rand_core", + "zeroize", +] + +[[package]] +name = "miniz_oxide" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9d811f3e15f28568be3407c8e7fdb6514c1cda3cb30683f15b6a1a1dc4ea14a7" +dependencies = [ + "adler", +] + +[[package]] +name = "mio" +version = "0.8.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a4a650543ca06a924e8b371db273b2756685faae30f8487da1b56505a8f78b0c" +dependencies = [ + "libc", + "wasi", + "windows-sys 0.48.0", +] + +[[package]] +name = "num_cpus" +version = "1.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" +dependencies = [ + "hermit-abi", + "libc", +] + +[[package]] +name = "object" +version = "0.32.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" +dependencies = [ + "memchr", +] + +[[package]] +name = "once_cell" +version = "1.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" + +[[package]] +name = "opaque-debug" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" + +[[package]] +name = "openssl-probe" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" + +[[package]] +name = "parity-scale-codec" +version = "3.6.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "881331e34fa842a2fb61cc2db9643a8fedc615e47cfcc52597d1af0db9a7e8fe" +dependencies = [ + "arrayvec", + "bitvec", + "byte-slice-cast", + "impl-trait-for-tuples", + "parity-scale-codec-derive", + "serde", +] + +[[package]] +name = "parity-scale-codec-derive" +version = "3.6.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be30eaf4b0a9fba5336683b38de57bb86d179a35862ba6bfcf57625d006bde5b" +dependencies = [ + "proc-macro-crate 2.0.2", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "parking" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bb813b8af86854136c6922af0598d719255ecb2179515e6e7730d468f05c9cae" + +[[package]] +name = "pbkdf2" +version = "0.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2" +dependencies = [ + "digest 0.10.7", +] + +[[package]] +name = "percent-encoding" +version = "2.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" + +[[package]] +name = "pin-project" +version = "1.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6bf43b791c5b9e34c3d182969b4abb522f9343702850a2e57f460d00d09b4b3" +dependencies = [ + "pin-project-internal", +] + +[[package]] +name = "pin-project-internal" +version = "1.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.53", +] + +[[package]] +name = "pin-project-lite" +version = "0.2.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58" + +[[package]] +name = "pin-utils" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" + +[[package]] +name = "platforms" +version = "3.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "626dec3cac7cc0e1577a2ec3fc496277ec2baa084bebad95bb6fdbfae235f84c" + +[[package]] +name = "ppv-lite86" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" + +[[package]] +name = "primitive-types" +version = "0.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b34d9fd68ae0b74a41b21c03c2f62847aa0ffea044eee893b4c140b37e244e2" +dependencies = [ + "fixed-hash", + "impl-codec", + "impl-serde", + "scale-info", + "uint", +] + +[[package]] +name = "proc-macro-crate" +version = "1.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919" +dependencies = [ + "once_cell", + "toml_edit 0.19.15", +] + +[[package]] +name = "proc-macro-crate" +version = "2.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b00f26d3400549137f92511a46ac1cd8ce37cb5598a96d382381458b992a5d24" +dependencies = [ + "toml_datetime", + "toml_edit 0.20.2", +] + +[[package]] +name = "proc-macro-error" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c" +dependencies = [ + "proc-macro-error-attr", + "proc-macro2", + "quote", + "syn 1.0.109", + "version_check", +] + +[[package]] +name = "proc-macro-error-attr" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869" +dependencies = [ + "proc-macro2", + "quote", + "version_check", +] + +[[package]] +name = "proc-macro2" +version = "1.0.79" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e835ff2298f5721608eb1a980ecaee1aef2c132bf95ecc026a11b7bf3c01c02e" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "quote" +version = "1.0.35" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "radium" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" + +[[package]] +name = "rand" +version = "0.8.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" +dependencies = [ + "libc", + "rand_chacha", + "rand_core", +] + +[[package]] +name = "rand_chacha" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" +dependencies = [ + "ppv-lite86", + "rand_core", +] + +[[package]] +name = "rand_core" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" +dependencies = [ + "getrandom", +] + +[[package]] +name = "regex" +version = "1.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b62dbe01f0b06f9d8dc7d49e05a0785f153b00b2c227856282f671e0318c9b15" +dependencies = [ + "regex-automata", + "regex-syntax", +] + +[[package]] +name = "regex-automata" +version = "0.4.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "86b83b8b9847f9bf95ef68afb0b8e6cdb80f498442f5179a29fad448fcc1eaea" +dependencies = [ + "regex-syntax", +] + +[[package]] +name = "regex-syntax" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" + +[[package]] +name = "ring" +version = "0.17.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d" +dependencies = [ + "cc", + "cfg-if", + "getrandom", + "libc", + "spin", + "untrusted", + "windows-sys 0.52.0", +] + +[[package]] +name = "rustc-demangle" +version = "0.1.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" + +[[package]] +name = "rustc-hash" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2" + +[[package]] +name = "rustc_version" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" +dependencies = [ + "semver", +] + +[[package]] +name = "rustls" +version = "0.21.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f9d5a6813c0759e4609cd494e8e725babae6a2ca7b62a5536a13daaec6fcb7ba" +dependencies = [ + "log", + "ring", + "rustls-webpki 0.101.7", + "sct", +] + +[[package]] +name = "rustls" +version = "0.22.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e87c9956bd9807afa1f77e0f7594af32566e830e088a5576d27c5b6f30f49d41" +dependencies = [ + "log", + "ring", + "rustls-pki-types", + "rustls-webpki 0.102.2", + "subtle", + "zeroize", +] + +[[package]] +name = "rustls-native-certs" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a9aace74cb666635c918e9c12bc0d348266037aa8eb599b5cba565709a8dff00" +dependencies = [ + "openssl-probe", + "rustls-pemfile 1.0.4", + "schannel", + "security-framework", +] + +[[package]] +name = "rustls-native-certs" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f1fb85efa936c42c6d5fc28d2629bb51e4b2f4b8a5211e297d599cc5a093792" +dependencies = [ + "openssl-probe", + "rustls-pemfile 2.1.1", + "rustls-pki-types", + "schannel", + "security-framework", +] + +[[package]] +name = "rustls-pemfile" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c" +dependencies = [ + "base64 0.21.7", +] + +[[package]] +name = "rustls-pemfile" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f48172685e6ff52a556baa527774f61fcaa884f59daf3375c62a3f1cd2549dab" +dependencies = [ + "base64 0.21.7", + "rustls-pki-types", +] + +[[package]] +name = "rustls-pki-types" +version = "1.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ede67b28608b4c60685c7d54122d4400d90f62b40caee7700e700380a390fa8" + +[[package]] +name = "rustls-webpki" +version = "0.101.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8b6275d1ee7a1cd780b64aca7726599a1dbc893b1e64144529e55c3c2f745765" +dependencies = [ + "ring", + "untrusted", +] + +[[package]] +name = "rustls-webpki" +version = "0.102.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "faaa0a62740bedb9b2ef5afa303da42764c012f743917351dc9a237ea1663610" +dependencies = [ + "ring", + "rustls-pki-types", + "untrusted", +] + +[[package]] +name = "ryu" +version = "1.0.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e86697c916019a8588c99b5fac3cead74ec0b4b819707a682fd4d23fa0ce1ba1" + +[[package]] +name = "scale-bits" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "662d10dcd57b1c2a3c41c9cf68f71fb09747ada1ea932ad961aca7e2ca28315f" +dependencies = [ + "parity-scale-codec", + "scale-info", + "scale-type-resolver", + "serde", +] + +[[package]] +name = "scale-decode" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "afc79ba56a1c742f5aeeed1f1801f3edf51f7e818f0a54582cac6f131364ea7b" +dependencies = [ + "derive_more", + "parity-scale-codec", + "primitive-types", + "scale-bits", + "scale-decode-derive", + "scale-type-resolver", + "smallvec", +] + +[[package]] +name = "scale-decode-derive" +version = "0.11.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5398fdb3c7bea3cb419bac4983aadacae93fe1a7b5f693f4ebd98c3821aad7a5" +dependencies = [ + "darling 0.14.4", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "scale-encode" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "628800925a33794fb5387781b883b5e14d130fece9af5a63613867b8de07c5c7" +dependencies = [ + "derive_more", + "parity-scale-codec", + "primitive-types", + "scale-bits", + "scale-encode-derive", + "scale-type-resolver", + "smallvec", +] + +[[package]] +name = "scale-encode-derive" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a304e1af7cdfbe7a24e08b012721456cc8cecdedadc14b3d10513eada63233c" +dependencies = [ + "darling 0.14.4", + "proc-macro-crate 1.3.1", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "scale-info" +version = "2.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ef2175c2907e7c8bc0a9c3f86aeb5ec1f3b275300ad58a44d0c3ae379a5e52e" +dependencies = [ + "bitvec", + "cfg-if", + "derive_more", + "parity-scale-codec", + "scale-info-derive", + "serde", +] + +[[package]] +name = "scale-info-derive" +version = "2.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "634d9b8eb8fd61c5cdd3390d9b2132300a7e7618955b98b8416f118c1b4e144f" +dependencies = [ + "proc-macro-crate 1.3.1", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "scale-type-resolver" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "10b800069bfd43374e0f96f653e0d46882a2cb16d6d961ac43bea80f26c76843" +dependencies = [ + "scale-info", + "smallvec", +] + +[[package]] +name = "scale-typegen" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5959feb200786ea66e6357d4da008486ef46e7c5a49af0f2fc4c6ce92a3f420e" +dependencies = [ + "proc-macro2", + "quote", + "scale-info", + "smallvec", + "syn 2.0.53", + "thiserror", +] + +[[package]] +name = "scale-value" +version = "0.14.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c07ccfee963104335c971aaf8b7b0e749be8569116322df23f1f75c4ca9e4a28" +dependencies = [ + "derive_more", + "either", + "frame-metadata 15.1.0", + "parity-scale-codec", + "scale-bits", + "scale-decode", + "scale-encode", + "scale-info", + "scale-type-resolver", +] + +[[package]] +name = "schannel" +version = "0.1.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fbc91545643bcf3a0bbb6569265615222618bdf33ce4ffbbd13c4bbd4c093534" +dependencies = [ + "windows-sys 0.52.0", +] + +[[package]] +name = "schnorrkel" +version = "0.11.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8de18f6d8ba0aad7045f5feae07ec29899c1112584a38509a84ad7b04451eaa0" +dependencies = [ + "arrayref", + "arrayvec", + "curve25519-dalek", + "getrandom_or_panic", + "merlin", + "rand_core", + "sha2", + "subtle", + "zeroize", +] + +[[package]] +name = "sct" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414" +dependencies = [ + "ring", + "untrusted", +] + +[[package]] +name = "secrecy" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9bd1c54ea06cfd2f6b63219704de0b9b4f72dcc2b8fdef820be6cd799780e91e" +dependencies = [ + "zeroize", +] + +[[package]] +name = "security-framework" +version = "2.9.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05b64fb303737d99b81884b2c63433e9ae28abebe5eb5045dcdd175dc2ecf4de" +dependencies = [ + "bitflags", + "core-foundation", + "core-foundation-sys", + "libc", + "security-framework-sys", +] + +[[package]] +name = "security-framework-sys" +version = "2.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e932934257d3b408ed8f30db49d85ea163bfe74961f017f405b025af298f0c7a" +dependencies = [ + "core-foundation-sys", + "libc", +] + +[[package]] +name = "semver" +version = "1.0.22" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92d43fe69e652f3df9bdc2b85b2854a0825b86e4fb76bc44d945137d053639ca" + +[[package]] +name = "serde" +version = "1.0.197" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3fb1c873e1b9b056a4dc4c0c198b24c3ffa059243875552b2bd0933b1aee4ce2" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.197" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7eb0b34b42edc17f6b7cac84a52a1c5f0e1bb2227e997ca9011ea3dd34e8610b" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.53", +] + +[[package]] +name = "serde_json" +version = "1.0.114" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c5f09b1bd632ef549eaa9f60a1f8de742bdbc698e6cee2095fc84dde5f549ae0" +dependencies = [ + "itoa", + "ryu", + "serde", +] + +[[package]] +name = "sha-1" +version = "0.9.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "99cd6713db3cf16b6c84e06321e049a9b9f699826e16096d23bbcc44d15d51a6" +dependencies = [ + "block-buffer 0.9.0", + "cfg-if", + "cpufeatures", + "digest 0.9.0", + "opaque-debug", +] + +[[package]] +name = "sha2" +version = "0.10.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" +dependencies = [ + "cfg-if", + "cpufeatures", + "digest 0.10.7", +] + +[[package]] +name = "sha3" +version = "0.10.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "75872d278a8f37ef87fa0ddbda7802605cb18344497949862c0d4dcb291eba60" +dependencies = [ + "digest 0.10.7", + "keccak", +] + +[[package]] +name = "slab" +version = "0.4.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" +dependencies = [ + "autocfg", +] + +[[package]] +name = "smallvec" +version = "1.13.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" + +[[package]] +name = "socket2" +version = "0.5.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05ffd9c0a93b7543e062e759284fcf5f5e3b098501104bfbdde4d404db792871" +dependencies = [ + "libc", + "windows-sys 0.52.0", +] + +[[package]] +name = "soketto" +version = "0.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41d1c5305e39e09653383c2c7244f2f78b3bcae37cf50c64cb4789c9f5096ec2" +dependencies = [ + "base64 0.13.1", + "bytes", + "futures", + "httparse", + "log", + "rand", + "sha-1", +] + +[[package]] +name = "sp-crypto-hashing" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bc9927a7f81334ed5b8a98a4a978c81324d12bd9713ec76b5c68fd410174c5eb" +dependencies = [ + "blake2b_simd", + "byteorder", + "digest 0.10.7", + "sha2", + "sha3", + "twox-hash", +] + +[[package]] +name = "spin" +version = "0.9.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67" + +[[package]] +name = "static_assertions" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" + +[[package]] +name = "strsim" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" + +[[package]] +name = "subtle" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc" + +[[package]] +name = "subxt-codegen" +version = "0.35.0" +dependencies = [ + "frame-metadata 16.0.0", + "heck", + "hex", + "jsonrpsee", + "parity-scale-codec", + "proc-macro2", + "quote", + "scale-info", + "scale-typegen", + "subxt-metadata", + "syn 2.0.53", + "thiserror", + "tokio", +] + +[[package]] +name = "subxt-core" +version = "0.35.0" +dependencies = [ + "base58", + "blake2", + "derivative", + "derive_more", + "frame-metadata 16.0.0", + "hashbrown", + "hex", + "impl-serde", + "parity-scale-codec", + "primitive-types", + "scale-bits", + "scale-decode", + "scale-encode", + "scale-info", + "scale-value", + "serde", + "serde_json", + "sp-crypto-hashing", + "subxt-metadata", + "tracing", +] + +[[package]] +name = "subxt-core-no-std-tests" +version = "0.0.0" +dependencies = [ + "libc_alloc", + "parity-scale-codec", + "subxt-core", + "subxt-macro", + "subxt-metadata", + "subxt-signer", +] + +[[package]] +name = "subxt-macro" +version = "0.35.0" +dependencies = [ + "darling 0.20.8", + "parity-scale-codec", + "proc-macro-error", + "quote", + "scale-typegen", + "subxt-codegen", + "syn 2.0.53", +] + +[[package]] +name = "subxt-metadata" +version = "0.35.0" +dependencies = [ + "derive_more", + "frame-metadata 16.0.0", + "hashbrown", + "parity-scale-codec", + "scale-info", + "sp-crypto-hashing", +] + +[[package]] +name = "subxt-signer" +version = "0.35.0" +dependencies = [ + "bip39", + "cfg-if", + "derive_more", + "hex", + "hmac", + "parity-scale-codec", + "pbkdf2", + "regex", + "schnorrkel", + "secrecy", + "sha2", + "sp-crypto-hashing", + "subxt-core", + "zeroize", +] + +[[package]] +name = "syn" +version = "1.0.109" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "syn" +version = "2.0.53" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7383cd0e49fff4b6b90ca5670bfd3e9d6a733b3f90c686605aa7eec8c4996032" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "tap" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" + +[[package]] +name = "thiserror" +version = "1.0.58" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "03468839009160513471e86a034bb2c5c0e4baae3b43f79ffc55c4a5427b3297" +dependencies = [ + "thiserror-impl", +] + +[[package]] +name = "thiserror-impl" +version = "1.0.58" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c61f3ba182994efc43764a46c018c347bc492c79f024e705f46567b418f6d4f7" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.53", +] + +[[package]] +name = "tinyvec" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" +dependencies = [ + "tinyvec_macros", +] + +[[package]] +name = "tinyvec_macros" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" + +[[package]] +name = "tokio" +version = "1.36.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61285f6515fa018fb2d1e46eb21223fff441ee8db5d0f1435e8ab4f5cdb80931" +dependencies = [ + "backtrace", + "bytes", + "libc", + "mio", + "num_cpus", + "pin-project-lite", + "socket2", + "tokio-macros", + "windows-sys 0.48.0", +] + +[[package]] +name = "tokio-macros" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.53", +] + +[[package]] +name = "tokio-rustls" +version = "0.24.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081" +dependencies = [ + "rustls 0.21.10", + "tokio", +] + +[[package]] +name = "tokio-rustls" +version = "0.25.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "775e0c0f0adb3a2f22a00c4745d728b479985fc15ee7ca6a2608388c5569860f" +dependencies = [ + "rustls 0.22.2", + "rustls-pki-types", + "tokio", +] + +[[package]] +name = "tokio-stream" +version = "0.1.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "267ac89e0bec6e691e5813911606935d77c476ff49024f98abcea3e7b15e37af" +dependencies = [ + "futures-core", + "pin-project-lite", + "tokio", +] + +[[package]] +name = "tokio-util" +version = "0.7.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5419f34732d9eb6ee4c3578b7989078579b7f039cbbb9ca2c4da015749371e15" +dependencies = [ + "bytes", + "futures-core", + "futures-io", + "futures-sink", + "pin-project-lite", + "tokio", + "tracing", +] + +[[package]] +name = "toml_datetime" +version = "0.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7cda73e2f1397b1262d6dfdcef8aafae14d1de7748d66822d3bfeeb6d03e5e4b" + +[[package]] +name = "toml_edit" +version = "0.19.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" +dependencies = [ + "indexmap", + "toml_datetime", + "winnow", +] + +[[package]] +name = "toml_edit" +version = "0.20.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "396e4d48bbb2b7554c944bde63101b5ae446cff6ec4a24227428f15eb72ef338" +dependencies = [ + "indexmap", + "toml_datetime", + "winnow", +] + +[[package]] +name = "tower" +version = "0.4.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c" +dependencies = [ + "futures-core", + "futures-util", + "pin-project", + "pin-project-lite", + "tower-layer", + "tower-service", + "tracing", +] + +[[package]] +name = "tower-layer" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c20c8dbed6283a09604c3e69b4b7eeb54e298b8a600d4d5ecb5ad39de609f1d0" + +[[package]] +name = "tower-service" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52" + +[[package]] +name = "tracing" +version = "0.1.40" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" +dependencies = [ + "log", + "pin-project-lite", + "tracing-attributes", + "tracing-core", +] + +[[package]] +name = "tracing-attributes" +version = "0.1.27" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.53", +] + +[[package]] +name = "tracing-core" +version = "0.1.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54" +dependencies = [ + "once_cell", +] + +[[package]] +name = "try-lock" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" + +[[package]] +name = "twox-hash" +version = "1.6.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97fee6b57c6a41524a810daee9286c02d7752c4253064d0b05472833a438f675" +dependencies = [ + "cfg-if", + "digest 0.10.7", + "static_assertions", +] + +[[package]] +name = "typenum" +version = "1.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" + +[[package]] +name = "uint" +version = "0.9.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "76f64bba2c53b04fcab63c01a7d7427eadc821e3bc48c34dc9ba29c501164b52" +dependencies = [ + "byteorder", + "crunchy", + "hex", + "static_assertions", +] + +[[package]] +name = "unicode-bidi" +version = "0.3.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75" + +[[package]] +name = "unicode-ident" +version = "1.0.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" + +[[package]] +name = "unicode-normalization" +version = "0.1.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a56d1686db2308d901306f92a263857ef59ea39678a5458e7cb17f01415101f5" +dependencies = [ + "tinyvec", +] + +[[package]] +name = "untrusted" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" + +[[package]] +name = "url" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "31e6302e3bb753d46e83516cae55ae196fc0c309407cf11ab35cc51a4c2a4633" +dependencies = [ + "form_urlencoded", + "idna", + "percent-encoding", +] + +[[package]] +name = "version_check" +version = "0.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" + +[[package]] +name = "want" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e" +dependencies = [ + "try-lock", +] + +[[package]] +name = "wasi" +version = "0.11.0+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" + +[[package]] +name = "windows-sys" +version = "0.48.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" +dependencies = [ + "windows-targets 0.48.5", +] + +[[package]] +name = "windows-sys" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" +dependencies = [ + "windows-targets 0.52.4", +] + +[[package]] +name = "windows-targets" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" +dependencies = [ + "windows_aarch64_gnullvm 0.48.5", + "windows_aarch64_msvc 0.48.5", + "windows_i686_gnu 0.48.5", + "windows_i686_msvc 0.48.5", + "windows_x86_64_gnu 0.48.5", + "windows_x86_64_gnullvm 0.48.5", + "windows_x86_64_msvc 0.48.5", +] + +[[package]] +name = "windows-targets" +version = "0.52.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7dd37b7e5ab9018759f893a1952c9420d060016fc19a472b4bb20d1bdd694d1b" +dependencies = [ + "windows_aarch64_gnullvm 0.52.4", + "windows_aarch64_msvc 0.52.4", + "windows_i686_gnu 0.52.4", + "windows_i686_msvc 0.52.4", + "windows_x86_64_gnu 0.52.4", + "windows_x86_64_gnullvm 0.52.4", + "windows_x86_64_msvc 0.52.4", +] + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" + +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.52.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bcf46cf4c365c6f2d1cc93ce535f2c8b244591df96ceee75d8e83deb70a9cac9" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" + +[[package]] +name = "windows_aarch64_msvc" +version = "0.52.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da9f259dd3bcf6990b55bffd094c4f7235817ba4ceebde8e6d11cd0c5633b675" + +[[package]] +name = "windows_i686_gnu" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" + +[[package]] +name = "windows_i686_gnu" +version = "0.52.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b474d8268f99e0995f25b9f095bc7434632601028cf86590aea5c8a5cb7801d3" + +[[package]] +name = "windows_i686_msvc" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" + +[[package]] +name = "windows_i686_msvc" +version = "0.52.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1515e9a29e5bed743cb4415a9ecf5dfca648ce85ee42e15873c3cd8610ff8e02" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" + +[[package]] +name = "windows_x86_64_gnu" +version = "0.52.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5eee091590e89cc02ad514ffe3ead9eb6b660aedca2183455434b93546371a03" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" + +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.52.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "77ca79f2451b49fa9e2af39f0747fe999fcda4f5e241b2898624dca97a1f2177" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.48.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" + +[[package]] +name = "windows_x86_64_msvc" +version = "0.52.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "32b752e52a2da0ddfbdbcc6fceadfeede4c939ed16d13e648833a61dfb611ed8" + +[[package]] +name = "winnow" +version = "0.5.40" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f593a95398737aeed53e489c785df13f3618e41dbcd6718c6addbf1395aa6876" +dependencies = [ + "memchr", +] + +[[package]] +name = "wyz" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed" +dependencies = [ + "tap", +] + +[[package]] +name = "zerocopy" +version = "0.7.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "74d4d3961e53fa4c9a25a8637fc2bfaf2595b3d3ae34875568a5cf64787716be" +dependencies = [ + "zerocopy-derive", +] + +[[package]] +name = "zerocopy-derive" +version = "0.7.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.53", +] + +[[package]] +name = "zeroize" +version = "1.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d" +dependencies = [ + "zeroize_derive", +] + +[[package]] +name = "zeroize_derive" +version = "1.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.53", +] diff --git a/testing/no-std-tests/Cargo.toml b/testing/no-std-tests/Cargo.toml new file mode 100644 index 0000000000..a4c2e7f130 --- /dev/null +++ b/testing/no-std-tests/Cargo.toml @@ -0,0 +1,24 @@ +[package] +name = "subxt-core-no-std-tests" +edition = "2021" +publish = false +version = "0.0.0" +resolver = "2" + +[dependencies] +subxt-metadata = { path = "../../metadata", default-features = false } +subxt-core = { path = "../../core", default-features = false } +subxt-signer = { path = "../../signer", default-features = false, features = ["subxt", "sr25519"] } +subxt-macro = { path = "../../macro" } +codec = { package = "parity-scale-codec", version = "3.6.9", default-features = false, features = ["derive"] } +libc_alloc = { version = "1.0.6" } + +[profile.dev] +panic = "abort" + +[profile.release] +panic = "abort" + +# this shouldn't be needed, it's in workspace.exclude, but still +# I get the complaint unless I add it... +[workspace] diff --git a/testing/no-std-tests/README.md b/testing/no-std-tests/README.md new file mode 100644 index 0000000000..2b662bb455 --- /dev/null +++ b/testing/no-std-tests/README.md @@ -0,0 +1,7 @@ +# No-Std Testing Crate + +To test the no-std compatibility of various subxt-* crates, please run: + +```bash +cargo build --target thumbv7em-none-eabi +``` \ No newline at end of file diff --git a/testing/no-std-tests/rust-toolchain b/testing/no-std-tests/rust-toolchain new file mode 100644 index 0000000000..07ade694b1 --- /dev/null +++ b/testing/no-std-tests/rust-toolchain @@ -0,0 +1 @@ +nightly \ No newline at end of file diff --git a/testing/no-std-tests/src/main.rs b/testing/no-std-tests/src/main.rs new file mode 100644 index 0000000000..292b1b9576 --- /dev/null +++ b/testing/no-std-tests/src/main.rs @@ -0,0 +1,70 @@ +// Copyright 2019-2023 Parity Technologies (UK) Ltd. +// This file is dual-licensed as Apache-2.0 or GPL-3.0. +// see LICENSE for license details. + +#![allow(internal_features)] +#![feature(lang_items, start)] +#![feature(alloc_error_handler)] +#![no_std] + +#[start] +fn start(_argc: isize, _argv: *const *const u8) -> isize { + compile_test(); + 0 +} + +#[lang = "eh_personality"] +#[no_mangle] +pub extern "C" fn rust_eh_personality() {} + +#[panic_handler] +fn panic(_info: &core::panic::PanicInfo) -> ! { + loop {} +} + +use libc_alloc::LibcAlloc; + +#[global_allocator] +static ALLOCATOR: LibcAlloc = LibcAlloc; + +////////////////////////////////////////////////////////////////////////////// + +extern crate alloc; + +/// Including code here makes sure it is not pruned. +/// We want all code included to compile fine for the `thumbv7em-none-eabi` target. +fn compile_test() { + // Subxt Metadata compiles: + use codec::Decode; + let bytes: alloc::vec::Vec = alloc::vec![0, 1, 2, 3, 4]; + subxt_metadata::Metadata::decode(&mut &bytes[..]).expect_err("invalid byte sequence"); + + const METADATA: &[u8] = include_bytes!("../../../artifacts/polkadot_metadata_small.scale"); + subxt_metadata::Metadata::decode(&mut &METADATA[..]).expect("should be valid metadata"); + + // Subxt Signer compiles: + use subxt_signer::sr25519; + let keypair = sr25519::dev::alice(); + let message = b"Hello!"; + let _signature = keypair.sign(message); + let _public_key = keypair.public_key(); + + // Note: `ecdsa` is not compiling for the `thumbv7em-none-eabi` target. + // + // use subxt_signer::ecdsa; + // let keypair = ecdsa::dev::alice(); + // let message = b"Hello!"; + // let _signature = keypair.sign(message); + // let _public_key = keypair.public_key(); + // + + // Subxt Core compiles: + let _era = subxt_core::utils::Era::Immortal; + +} + +#[subxt_macro::subxt( + runtime_metadata_path = "../../artifacts/polkadot_metadata_full.scale", + crate="::subxt_core" +)] +pub mod polkadot{} \ No newline at end of file diff --git a/testing/substrate-runner/src/lib.rs b/testing/substrate-runner/src/lib.rs index 2b0434872a..15d390b793 100644 --- a/testing/substrate-runner/src/lib.rs +++ b/testing/substrate-runner/src/lib.rs @@ -21,7 +21,7 @@ pub struct SubstrateNodeBuilder { impl Default for SubstrateNodeBuilder { fn default() -> Self { - Self::new() + SubstrateNodeBuilder::new() } } @@ -29,11 +29,23 @@ impl SubstrateNodeBuilder { /// Configure a new Substrate node. pub fn new() -> Self { SubstrateNodeBuilder { - binary_paths: vec!["substrate-node".into(), "substrate".into()], + binary_paths: vec![], custom_flags: Default::default(), } } + /// Provide "substrate-node" and "substrate" as binary paths + pub fn substrate(&mut self) -> &mut Self { + self.binary_paths = vec!["substrate-node".into(), "substrate".into()]; + self + } + + /// Provide "polkadot" as binary path. + pub fn polkadot(&mut self) -> &mut Self { + self.binary_paths = vec!["polkadot".into()]; + self + } + /// Set the path to the `substrate` binary; defaults to "substrate-node" /// or "substrate". pub fn binary_paths(&mut self, paths: Paths) -> &mut Self diff --git a/testing/ui-tests/src/correct/custom_values.rs b/testing/ui-tests/src/correct/custom_values.rs index ae7a70323a..65487f7ee9 100644 --- a/testing/ui-tests/src/correct/custom_values.rs +++ b/testing/ui-tests/src/correct/custom_values.rs @@ -35,10 +35,8 @@ fn construct_offline_client() -> OfflineClient { let bytes = hex::decode(h).unwrap(); H256::from_slice(&bytes) }; - let runtime_version = subxt::backend::RuntimeVersion { - spec_version: 9370, - transaction_version: 20, - }; + let runtime_version = subxt::client::RuntimeVersion::new(9370, 20); + let metadata = { let bytes = std::fs::read("../../../../artifacts/metadata_with_custom_values.scale").unwrap(); Metadata::decode(&mut &*bytes).unwrap() diff --git a/testing/ui-tests/src/lib.rs b/testing/ui-tests/src/lib.rs index 06522ff9b0..9e2619f18f 100644 --- a/testing/ui-tests/src/lib.rs +++ b/testing/ui-tests/src/lib.rs @@ -84,7 +84,7 @@ fn ui_tests() { } // Validation should succeed when metadata we codegen from is stripped and - // client metadata is full: + // client state is full: { let mut metadata = MetadataTestRunner::load_metadata(); metadata.retain( diff --git a/testing/wasm-lightclient-tests/Cargo.lock b/testing/wasm-lightclient-tests/Cargo.lock index 49094a0384..58b700e67e 100644 --- a/testing/wasm-lightclient-tests/Cargo.lock +++ b/testing/wasm-lightclient-tests/Cargo.lock @@ -455,12 +455,12 @@ dependencies = [ [[package]] name = "darling" -version = "0.20.3" +version = "0.20.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0209d94da627ab5605dcccf08bb18afa5009cfbef48d8a8b7d7bdbc79be25c5e" +checksum = "54e36fcd13ed84ffdfda6f5be89b31287cbb80c439841fe69e04841435464391" dependencies = [ - "darling_core 0.20.3", - "darling_macro 0.20.3", + "darling_core 0.20.8", + "darling_macro 0.20.8", ] [[package]] @@ -479,9 +479,9 @@ dependencies = [ [[package]] name = "darling_core" -version = "0.20.3" +version = "0.20.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "177e3443818124b357d8e76f53be906d60937f0d3a90773a664fa63fa253e621" +checksum = "9c2cf1c23a687a1feeb728783b993c4e1ad83d99f351801977dd809b48d0a70f" dependencies = [ "fnv", "ident_case", @@ -504,11 +504,11 @@ dependencies = [ [[package]] name = "darling_macro" -version = "0.20.3" +version = "0.20.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "836a9bbc7ad63342d6d6e7b815ccab164bc77a2d95d84bc3117a8c0d5c98e2d5" +checksum = "a668eda54683121533a393014d8692171709ff57a7d61f187b6e782719f8933f" dependencies = [ - "darling_core 0.20.3", + "darling_core 0.20.8", "quote", "syn 2.0.48", ] @@ -589,9 +589,9 @@ dependencies = [ [[package]] name = "either" -version = "1.9.0" +version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" +checksum = "11157ac094ffbdde99aa67b23417ebdd801842852b500e395a45a9c0aac03e4a" [[package]] name = "equivalent" @@ -1114,18 +1114,18 @@ checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c" [[package]] name = "js-sys" -version = "0.3.67" +version = "0.3.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a1d36f1235bc969acba30b7f5990b864423a6068a10f7c90ae8f0112e3a59d1" +checksum = "29c15563dc2726973df627357ce0c9ddddbea194836909d655df6a75d2cf296d" dependencies = [ "wasm-bindgen", ] [[package]] name = "jsonrpsee" -version = "0.21.0" +version = "0.22.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9579d0ca9fb30da026bac2f0f7d9576ec93489aeb7cd4971dd5b4617d82c79b2" +checksum = "87f3ae45a64cfc0882934f963be9431b2a165d667f53140358181f262aca0702" dependencies = [ "jsonrpsee-client-transport", "jsonrpsee-core", @@ -1135,9 +1135,9 @@ dependencies = [ [[package]] name = "jsonrpsee-client-transport" -version = "0.21.0" +version = "0.22.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f9f9ed46590a8d5681975f126e22531698211b926129a40a2db47cbca429220" +checksum = "455fc882e56f58228df2aee36b88a1340eafd707c76af2fa68cf94b37d461131" dependencies = [ "futures-channel", "futures-util", @@ -1158,9 +1158,9 @@ dependencies = [ [[package]] name = "jsonrpsee-core" -version = "0.21.0" +version = "0.22.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "776d009e2f591b78c038e0d053a796f94575d66ca4e77dd84bfc5e81419e436c" +checksum = "b75568f4f9696e3a47426e1985b548e1a9fcb13372a5e320372acaf04aca30d1" dependencies = [ "anyhow", "async-lock", @@ -1183,9 +1183,9 @@ dependencies = [ [[package]] name = "jsonrpsee-http-client" -version = "0.21.0" +version = "0.22.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78b7de9f3219d95985eb77fd03194d7c1b56c19bce1abfcc9d07462574b15572" +checksum = "9e7a95e346f55df84fb167b7e06470e196e7d5b9488a21d69c5d9732043ba7ba" dependencies = [ "async-trait", "hyper", @@ -1203,9 +1203,9 @@ dependencies = [ [[package]] name = "jsonrpsee-types" -version = "0.21.0" +version = "0.22.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3266dfb045c9174b24c77c2dfe0084914bb23a6b2597d70c9dc6018392e1cd1b" +checksum = "3467fd35feeee179f71ab294516bdf3a81139e7aeebdd860e46897c12e1a3368" dependencies = [ "anyhow", "beef", @@ -1504,18 +1504,18 @@ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" [[package]] name = "pin-project" -version = "1.1.3" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fda4ed1c6c173e3fc7a83629421152e01d7b1f9b7f65fb301e490e8cfc656422" +checksum = "b6bf43b791c5b9e34c3d182969b4abb522f9343702850a2e57f460d00d09b4b3" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "1.1.3" +version = "1.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4359fd9c9171ec6e8c62926d6faaf553a8dc3f64e1507e76da7911b4f6a04405" +checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965" dependencies = [ "proc-macro2", "quote", @@ -1616,9 +1616,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.76" +version = "1.0.79" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95fc56cda0b5c3325f5fbbd7ff9fda9e02bb00bb3dac51252d2f1bfa1cb8cc8c" +checksum = "e835ff2298f5721608eb1a980ecaee1aef2c132bf95ecc026a11b7bf3c01c02e" dependencies = [ "unicode-ident", ] @@ -2036,9 +2036,9 @@ checksum = "cd0b0ec5f1c1ca621c432a25813d8d60c88abe6d3e08a3eb9cf37d97a0fe3d73" [[package]] name = "serde" -version = "1.0.195" +version = "1.0.197" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63261df402c67811e9ac6def069e4786148c4563f4b50fd4bf30aa370d626b02" +checksum = "3fb1c873e1b9b056a4dc4c0c198b24c3ffa059243875552b2bd0933b1aee4ce2" dependencies = [ "serde_derive", ] @@ -2054,9 +2054,9 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.195" +version = "1.0.197" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46fe8f8603d81ba86327b23a2e9cdf49e1255fb94a4c5f297f6ee0547178ea2c" +checksum = "7eb0b34b42edc17f6b7cac84a52a1c5f0e1bb2227e997ca9011ea3dd34e8610b" dependencies = [ "proc-macro2", "quote", @@ -2065,9 +2065,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.111" +version = "1.0.114" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "176e46fa42316f18edd598015a5166857fc835ec732f5215eac6b7bdbf0a84f4" +checksum = "c5f09b1bd632ef549eaa9f60a1f8de742bdbc698e6cee2095fc84dde5f549ae0" dependencies = [ "itoa", "ryu", @@ -2272,10 +2272,10 @@ dependencies = [ ] [[package]] -name = "sp-core-hashing" -version = "13.0.0" +name = "sp-crypto-hashing" +version = "15.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb8524f01591ee58b46cd83c9dbc0fcffd2fd730dabec4f59326cd58a00f17e2" +checksum = "1e0f4990add7b2cefdeca883c0efa99bb4d912cb2196120e1500c0cc099553b0" dependencies = [ "blake2b_simd", "byteorder", @@ -2311,7 +2311,7 @@ checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc" [[package]] name = "subxt" -version = "0.33.0" +version = "0.35.0" dependencies = [ "async-trait", "base58", @@ -2334,19 +2334,18 @@ dependencies = [ "scale-value", "serde", "serde_json", - "sp-core-hashing", + "sp-crypto-hashing", "subxt-lightclient", "subxt-macro", "subxt-metadata", "thiserror", - "tokio-stream", "tracing", "url", ] [[package]] name = "subxt-codegen" -version = "0.33.0" +version = "0.35.0" dependencies = [ "frame-metadata 16.0.0", "getrandom", @@ -2366,7 +2365,7 @@ dependencies = [ [[package]] name = "subxt-lightclient" -version = "0.33.0" +version = "0.35.0" dependencies = [ "futures", "futures-timer", @@ -2391,24 +2390,27 @@ dependencies = [ [[package]] name = "subxt-macro" -version = "0.33.0" +version = "0.35.0" dependencies = [ - "darling 0.20.3", + "darling 0.20.8", "parity-scale-codec", "proc-macro-error", + "quote", + "scale-typegen", "subxt-codegen", "syn 2.0.48", ] [[package]] name = "subxt-metadata" -version = "0.33.0" +version = "0.35.0" dependencies = [ + "derive_more", "frame-metadata 16.0.0", + "hashbrown", "parity-scale-codec", "scale-info", - "sp-core-hashing", - "thiserror", + "sp-crypto-hashing", ] [[package]] @@ -2441,18 +2443,18 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" [[package]] name = "thiserror" -version = "1.0.56" +version = "1.0.58" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d54378c645627613241d077a3a79db965db602882668f9136ac42af9ecb730ad" +checksum = "03468839009160513471e86a034bb2c5c0e4baae3b43f79ffc55c4a5427b3297" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.56" +version = "1.0.58" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fa0faa943b50f3db30a20aa7e265dbc66076993efed8463e8de414e5d06d3471" +checksum = "c61f3ba182994efc43764a46c018c347bc492c79f024e705f46567b418f6d4f7" dependencies = [ "proc-macro2", "quote", @@ -2486,9 +2488,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.35.1" +version = "1.36.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c89b4efa943be685f629b149f53829423f8f5531ea21249408e8e2f8671ec104" +checksum = "61285f6515fa018fb2d1e46eb21223fff441ee8db5d0f1435e8ab4f5cdb80931" dependencies = [ "backtrace", "bytes", @@ -2774,9 +2776,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasm-bindgen" -version = "0.2.90" +version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1223296a201415c7fad14792dbefaace9bd52b62d33453ade1c5b5f07555406" +checksum = "4be2531df63900aeb2bca0daaaddec08491ee64ceecbee5076636a3b026795a8" dependencies = [ "cfg-if", "wasm-bindgen-macro", @@ -2784,9 +2786,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.90" +version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fcdc935b63408d58a32f8cc9738a0bffd8f05cc7c002086c6ef20b7312ad9dcd" +checksum = "614d787b966d3989fa7bb98a654e369c762374fd3213d212cfc0251257e747da" dependencies = [ "bumpalo", "log", @@ -2811,9 +2813,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro" -version = "0.2.90" +version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e4c238561b2d428924c49815533a8b9121c664599558a5d9ec51f8a1740a999" +checksum = "a1f8823de937b71b9460c0c34e25f3da88250760bec0ebac694b49997550d726" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -2821,9 +2823,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.90" +version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bae1abb6806dc1ad9e560ed242107c0f6c84335f1749dd4e8ddb012ebd5e25a7" +checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7" dependencies = [ "proc-macro2", "quote", @@ -2834,9 +2836,9 @@ dependencies = [ [[package]] name = "wasm-bindgen-shared" -version = "0.2.90" +version = "0.2.92" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d91413b1c31d7539ba5ef2451af3f0b833a005eb27a631cec32bc0635a8602b" +checksum = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96" [[package]] name = "wasm-bindgen-test" diff --git a/testing/wasm-lightclient-tests/tests/wasm.rs b/testing/wasm-lightclient-tests/tests/wasm.rs index 92ef3543bb..845ae94e82 100644 --- a/testing/wasm-lightclient-tests/tests/wasm.rs +++ b/testing/wasm-lightclient-tests/tests/wasm.rs @@ -1,10 +1,7 @@ #![cfg(target_arch = "wasm32")] use futures_util::StreamExt; -use subxt::{ - client::{LightClient, LightClientBuilder}, - config::PolkadotConfig, -}; +use subxt::{client::OnlineClient, config::PolkadotConfig, lightclient::LightClient}; use wasm_bindgen_test::*; wasm_bindgen_test::wasm_bindgen_test_configure!(run_in_browser); @@ -49,15 +46,25 @@ async fn light_client_works() { /// We connect to an RPC node because the light client can struggle to sync in /// time to a new local node for some reason. Because this can be brittle (eg RPC nodes can /// go down or have network issues), we try a few RPC nodes until we find one that works. -async fn connect_to_rpc_node() -> LightClient { +async fn connect_to_rpc_node() -> OnlineClient { let rpc_node_urls = [ "wss://rpc.polkadot.io", "wss://1rpc.io/dot", "wss://polkadot-public-rpc.blockops.network/ws", ]; + async fn do_connect( + url: &str, + ) -> Result, Box> + { + let chainspec = subxt::utils::fetch_chainspec_from_rpc_node(url).await?; + let (_lc, rpc) = LightClient::relay_chain(chainspec.get())?; + let api = OnlineClient::from_rpc_client(rpc).await?; + Ok(api) + } + for url in rpc_node_urls { - let res = LightClientBuilder::new().build_from_url(url).await; + let res = do_connect(url).await; match res { Ok(api) => return api, diff --git a/testing/wasm-rpc-tests/Cargo.lock b/testing/wasm-rpc-tests/Cargo.lock index 8df1704f97..e2d2a7225a 100644 --- a/testing/wasm-rpc-tests/Cargo.lock +++ b/testing/wasm-rpc-tests/Cargo.lock @@ -2294,7 +2294,7 @@ dependencies = [ ] [[package]] -name = "sp-core-hashing" +name = "sp-crypto-hashing" version = "13.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cb8524f01591ee58b46cd83c9dbc0fcffd2fd730dabec4f59326cd58a00f17e2" @@ -2362,7 +2362,7 @@ dependencies = [ "scale-value", "serde", "serde_json", - "sp-core-hashing", + "sp-crypto-hashing", "subxt-lightclient", "subxt-macro", "subxt-metadata", @@ -2434,7 +2434,7 @@ dependencies = [ "frame-metadata 16.0.0", "parity-scale-codec", "scale-info", - "sp-core-hashing", + "sp-crypto-hashing", "thiserror", ]